/* ================================================= */
/* JOSEP - AUTHORS PAGE LAYOUT */
/* Sadece authors sayfasındaki mevcut düzen için */
/* ================================================= */

.page.page_static .pkp_structure_content,
.page.page_static .page-content,
.page.page_static .container {
  max-width: 1920px !important;
  width: 100% !important;
}

.page.page_static .pkp_structure_content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px !important;
  gap: 24px !important;
  align-items: start !important;
}

.page.page_static .pkp_structure_main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.page.page_static .pkp_structure_sidebar {
  width: 260px !important;
  max-width: 260px !important;
  min-width: 260px !important;
}

/* ================================================= */
/* AUTHOR GUIDELINES */
/* ================================================= */

.author-guidelines {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 0 24px 0 !important;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  line-height: 1.75;
  box-sizing: border-box;
}

.author-guidelines *,
.author-guidelines *::before,
.author-guidelines *::after {
  box-sizing: border-box;
}

.author-guidelines-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: none !important;
}

.author-guidelines-sidebar {
  position: sticky;
  top: 120px;
  background: #f7f9fc;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.author-guidelines-sidebar h2 {
  font-size: 18px;
  margin: 0 0 12px 0;
  color: #12385b;
}

.author-guidelines-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.author-guidelines-sidebar li {
  margin: 8px 0;
}

.author-guidelines-sidebar a {
  text-decoration: none;
  font-size: 14px;
  color: #1f4e79;
}

.author-guidelines-sidebar a:hover {
  text-decoration: underline;
}

.author-guidelines-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.author-guidelines-main h1,
.author-guidelines-main p,
.author-guidelines-main .lead,
.author-guidelines-main .section-card,
.author-guidelines-main .footer-box {
  max-width: none !important;
}

.author-guidelines-main h1 {
  font-size: 2.2rem;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid #12385b;
  color: #12385b;
  line-height: 1.25;
}

.author-guidelines-main .lead {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
  border: 1px solid #dbe6f1;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(18, 56, 91, 0.05);
  margin-bottom: 24px;
  width: 100% !important;
}

.section-card {
  background: #ffffff;
  padding: 28px;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  width: 100% !important;
  max-width: none !important;
}

.section-title {
  font-size: 22px;
  margin-bottom: 14px;
  border-bottom: 2px solid #204a75;
  padding-bottom: 6px;
  color: #12385b;
}

.note {
  background: #eef4fb;
  border-left: 4px solid #2f6fad;
  padding: 14px;
  border-radius: 6px;
  margin: 18px 0;
}

.warning {
  background: #fff6e6;
  border-left: 4px solid #e0a400;
  padding: 14px;
  border-radius: 6px;
  margin: 18px 0;
}

.tip {
  background: #eefaf3;
  border-left: 4px solid #33a06f;
  padding: 14px;
  border-radius: 6px;
  margin: 18px 0;
}

.checklist {
  padding-left: 18px;
}

.checklist li {
  margin-bottom: 6px;
}

.section-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.section-card th,
.section-card td {
  border: 1px solid #e2e6ea;
  padding: 10px;
  text-align: left;
}

.section-card th {
  background: #f3f6fb;
}

.back-top {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  text-decoration: none;
  color: #1f4e79;
}

.back-top:hover {
  text-decoration: underline;
}

.section-card details {
  margin-bottom: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 12px 16px;
  background: #fafbfd;
}

.section-card summary {
  font-weight: 600;
  cursor: pointer;
}

.section-card details[open] summary {
  margin-bottom: 8px;
}

.footer-box {
  background: #ffffff;
  padding: 28px;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  width: 100% !important;
  max-width: none !important;
}

/* ================================================= */
/* RIGHT SIDEBAR BOX */
/* ================================================= */

.journal-sidebar {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}

.journal-info-box {
  background: #ffffff;
  border: 1px solid #e3e6eb;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.journal-info-box h3 {
  margin: 0 0 18px 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #123b7a;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9dee7;
}

.journal-info-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journal-info-links li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eef1f5;
}

.journal-info-links li:last-child {
  border-bottom: none;
}

.journal-info-links a {
  display: block;
  padding: 13px 0;
  color: #1f2d3d;
  font-size: 16px;
  line-height: 1.45;
  text-decoration: none;
  transition: all 0.25s ease;
}

.journal-info-links a:hover {
  color: #0c4da2;
  padding-left: 6px;
}

/* ================================================= */
/* ABOUT THE JOURNAL - SADECE BU BLOKTA ÇALIŞIR */
/* ================================================= */

.josep-about-journal {
  width: 100%;
  max-width: 1100px;
  margin: 0;
  padding: 10px 0 30px 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  line-height: 1.75;
  box-sizing: border-box;
}

.josep-about-journal *,
.josep-about-journal *::before,
.josep-about-journal *::after {
  box-sizing: border-box;
}

.josep-about-intro {
  margin-bottom: 28px;
}

.josep-about-intro h2 {
  font-size: 2rem;
  margin: 0 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #12385b;
  color: #12385b;
  line-height: 1.25;
}

.josep-about-intro p {
  margin: 0 0 16px 0;
  font-size: 16px;
}

.josep-metrics-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 18px;
  background: #eaf1f8;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 28px 0 8px 0;
}

.josep-metric-item {
  text-align: center;
}

.josep-metric-item span {
  display: block;
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 10px;
  line-height: 1.4;
}

.josep-metric-item strong {
  display: block;
  font-size: 28px;
  color: #0d4ea6;
  font-weight: 700;
  line-height: 1.2;
}

.josep-metric-note {
  margin: 0 0 28px 0;
  font-size: 15px;
  color: #374151;
}

.josep-editorial-metrics-box {
  border: 1px solid #202020;
  background: #ffffff;
  margin-bottom: 30px;
}

.josep-editorial-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #f2f2f2;
  padding: 14px 16px;
  border-top: 1px solid #d6d6d6;
}

.josep-editorial-row:first-child {
  border-top: none;
}

.josep-editorial-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.josep-editorial-value {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.josep-editorial-metrics-box p {
  margin: 0;
  padding: 12px 16px 20px 16px;
  font-size: 15px;
  color: #374151;
  background: #fff;
}

.josep-impact-metrics {
  margin-bottom: 30px;
}

.josep-impact-metrics h3 {
  margin: 0 0 14px 0;
  font-size: 28px;
  color: #12385b;
  line-height: 1.3;
}

.josep-impact-metrics > p {
  margin: 0 0 18px 0;
  font-size: 16px;
}

.josep-impact-metrics details {
  border: 1px solid #d6dce5;
  border-left: 4px solid #123a8f;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.josep-impact-metrics summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  font-size: 17px;
  font-weight: 700;
  color: #123a8f;
  position: relative;
}

.josep-impact-metrics summary::-webkit-details-marker {
  display: none;
}

.josep-impact-metrics summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: #123a8f;
}

.josep-impact-metrics details[open] summary::after {
  content: "−";
}

.josep-accordion-content {
  padding: 0 18px 18px 18px;
  font-size: 15px;
  color: #374151;
}

.josep-source-note {
  margin-top: 12px;
  font-size: 14px;
  color: #4b5563;
}

.josep-sponsor-box {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-left: 4px solid #123a8f;
  border-radius: 10px;
  padding: 20px;
}

.josep-sponsor-box h3 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: #12385b;
}

.josep-sponsor-box p {
  margin: 0 0 12px 0;
  font-size: 16px;
}

.josep-sponsor-box p:last-child {
  margin-bottom: 0;
}

.josep-sponsor-box a {
  color: #0d4ea6;
  font-weight: 700;
  text-decoration: none;
}

.josep-sponsor-box a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width: 1200px) {
  .author-guidelines-layout {
    grid-template-columns: 1fr;
  }

  .author-guidelines-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 1100px) {
  .josep-metrics-bar {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 1000px) {
  .page.page_static .pkp_structure_content {
    display: block !important;
  }

  .page.page_static .pkp_structure_sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

@media (max-width: 700px) {
  .josep-about-intro h2 {
    font-size: 1.7rem;
  }

  .josep-metrics-bar {
    grid-template-columns: 1fr;
  }

  .josep-metric-item strong {
    font-size: 24px;
  }

  .josep-editorial-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .josep-editorial-value {
    margin-top: 4px;
  }

  .josep-impact-metrics h3,
  .josep-sponsor-box h3 {
    font-size: 22px;
  }

  .journal-sidebar {
    max-width: 100%;
    margin-top: 24px;
  }
}