﻿/* Pediatric Journal of Bakırkoy - Journal of Bakırköy - Theme #A07ED7 */
:root {
  --primary: #7B5CB0;
  --primary-dark: #5E3F93;
  --primary-light: #9B7BCC;
  --text: #333;
  --text-muted: #666;
  --bg: #fff;
  --border: #e0e0e0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, 'Times New Roman', serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-bottom: 3px solid var(--primary);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(123, 92, 176, 0.1);
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1 1 auto;
  min-width: 0;
}
.site-logo img {
  height: 80px;
  width: auto;
}
.site-branding {
  max-width: 430px;
}
.site-branding h1 {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.3rem);
  line-height: 1.15;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
  flex: 0 0 auto;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.main-nav a:hover {
  background: rgba(123, 92, 176, 0.08);
  border-color: var(--primary-light);
  text-decoration: none;
}
.main-nav a:hover::after {
  width: 60%;
}
.main-nav a.active {
  background: rgba(123, 92, 176, 0.15);
  border-color: var(--primary);
  font-weight: 700;
}
.main-nav a.active::after {
  width: 60%;
}

/* Header Search Container */
.header-search-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(123, 92, 176, 0.15);
}

.header-issn {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.header-issn span {
  white-space: nowrap;
  padding: 4px 10px;
  background: rgba(123, 92, 176, 0.05);
  border-radius: 4px;
}

/* Search Form */
.search-form {
  flex: 0 1 280px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid var(--primary-light);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(123, 92, 176, 0.08);
}

.search-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(123, 92, 176, 0.15);
}

.search-input {
  flex: 1;
  border: none;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  outline: none;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.search-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: var(--primary-dark);
  transform: scale(1.1);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(123, 92, 176, 0.2);
}

.nav-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 92, 176, 0.3);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
  }
  .main-nav ul.open {
    display: flex;
  }
  .header-search-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .search-form {
    flex: 1 1 100%;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-issn {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 10px;
  }
}

/* Main content */
.main-content {
  padding: 30px 0 40px;
}

/* Hero Slider - Yedikule tarzı */
.hero-slider {
  position: relative;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(160, 126, 215, 0.3);
  min-height: 160px;
}

.slider-inner {
  overflow: hidden;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.hero-slider .slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(160, 126, 215, 0.75), rgba(160, 126, 215, 0.45));
}

.hero-slider .slide-1 {
  background-image: url('../slider-pediatric-1.jpg');
}

.hero-slider .slide-2 {
  background-image: url('../slider-pediatric-2.jpg');
}

.hero-slider .slide-3 {
  background-image: url('../slider-pediatric-3.jpg');
}

.slide-link {
  position: relative;
  display: block;
  padding: 32px 50px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  transition: background 0.2s;
}

.slide-link:hover {
  color: #fff;
  text-decoration: none;
}

.slide-label {
  display: block;
}

/* Slider butonları */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.slider-btn:hover {
  background: var(--primary-dark);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(160, 126, 215, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slider-dots button:hover {
  background: rgba(160, 126, 215, 0.7);
}

.slider-dots button.active {
  background: var(--primary);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 100px;
  }
  .slide-link {
    padding: 22px 45px 22px 45px;
    font-size: 1rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
}

/* Volume / Issue banner (yedek - slider kullanılıyorsa gizlenebilir) */
.volume-banner {
  display: none;
}
.volume-banner a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Section titles (Review, Original Article, Case Report) */
.section-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.article-item {
  margin-bottom: 20px;
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  border-left: 3px solid var(--primary);
}
.article-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.article-item .authors {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.article-item .full-text {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
}
.article-item .full-text:hover {
  background: var(--primary-dark);
  color: #fff !important;
  text-decoration: none;
}

.article-item .article-category {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

/* Two columns: content + sidebar */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}
@media (max-width: 900px) {
  .content-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Search */
.search-box {
  margin-bottom: 25px;
}
.search-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--primary);
}
.search-box input[type="search"] {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
}
.search-box button {
  margin-top: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.search-box button:hover {
  background: var(--primary-dark);
}

/* Sidebar */
.sidebar {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  height: fit-content;
}
.cover-image {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.cover-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cover-image .cover-caption {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cover-image .cover-fulltext-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.cover-image .cover-fulltext-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.sidebar h3 {
  margin: 0 0 15px;
  font-size: 1.1rem;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar ul li {
  margin-bottom: 8px;
}

/* Article tools */
.article-tools h4 {
  margin: 20px 0 12px;
  font-size: 1rem;
  color: var(--primary);
}
.article-tools ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-tools li {
  margin-bottom: 10px;
}
.article-tools a {
  display: block;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
}
.article-tools a:hover {
  background: var(--primary-dark);
  color: #fff !important;
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 2px solid var(--primary);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Page title (inner pages) */
.page-title {
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.page-content {
  max-width: 800px;
}
.page-content p {
  margin: 0 0 1em;
}

/* Contact page */
.contact-page {
  max-width: none;
}

.contact-page .contact-info-list {
  display: grid;
  gap: 12px;
}

.contact-page .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-page .contact-panel {
  display: grid;
  gap: 16px;
}

.contact-page .contact-form-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
}

.contact-page .contact-section-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.contact-page .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fafafa;
}

.contact-page .contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.contact-page .contact-text {
  margin: 0;
}

.contact-page .contact-text a {
  word-break: break-word;
}

.contact-page .contact-form {
  display: grid;
  gap: 14px;
}

.contact-page .contact-form-field {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.contact-page .contact-form-field span {
  color: var(--text);
}

.contact-page .contact-form-field input,
.contact-page .contact-form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-page .contact-form-field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-page .contact-form-field input:focus,
.contact-page .contact-form-field textarea:focus {
  outline: 2px solid rgba(123, 92, 176, 0.2);
  border-color: var(--primary);
}

.contact-page .contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 150px;
  padding: 11px 18px;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-page .contact-form-submit:hover {
  background: var(--primary-dark);
}

.contact-page .contact-form-message {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.contact-page .contact-form-message.is-success {
  background: #edf8ef;
  border-color: #9ed0a6;
  color: #215a2b;
}

.contact-page .contact-form-message.is-error {
  background: #fff1f1;
  border-color: #e0a4a4;
  color: #8a1f1f;
}

@media (max-width: 900px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Editorial page */
.editorial-page .editorial-section-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 0 0 1.25em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--border);
}

.editorial-page .editorial-role {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.5em 0 0.5em;
  font-weight: 600;
}

.editorial-page .editorial-name {
  margin: 0 0 0.25em;
  font-size: 1.05rem;
}

.editorial-page .member-name {
  font-weight: 700;
}

.editorial-page .editorial-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.editorial-page .editorial-members .member {
  break-inside: avoid;
}

.editorial-page .editorial-list {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.editorial-page .editorial-list li {
  margin-bottom: 0.35em;
}

@media (max-width: 768px) {
  .editorial-page .editorial-members {
    grid-template-columns: 1fr;
  }
}

/* Contents Section */
.contents-section {
  margin: 0 0 40px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(160, 126, 215, 0.08), rgba(155, 123, 204, 0.05));
  border-radius: 8px;
  border: 1px solid rgba(160, 126, 215, 0.2);
}

.contents-section h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.contents-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 15px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 6px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.content-item:hover {
  background: #f5f2f9;
  box-shadow: 0 2px 8px rgba(160, 126, 215, 0.15);
  transform: translateX(4px);
}

.pdf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.view-pdf {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  width: fit-content;
  margin-left: auto;
  line-height: 1;
}

.view-pdf span {
  display: inline-flex;
  align-items: center;
}

.article-info h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.article-info .authors {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.article-info .category {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff;
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .content-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .pdf-icon {
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }
  .article-info h3 {
    font-size: 1rem;
  }
  .view-pdf {
    font-size: 0.85rem;
  }
}

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  animation: slideIn 0.3s ease;
}

.modal-content-pdf {
  max-width: 980px;
  width: 95%;
  max-height: 92vh;
}

.pdf-frame-wrap {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #f2f2f2;
}

.pdf-frame {
  width: 100%;
  height: 70vh;
  border: 0;
  display: block;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 12px;
  font-weight: 600;
}

.modal-authors {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.modal-category {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff;
  background: var(--primary);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.modal-description {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .modal-content-pdf {
    width: 96%;
    padding: 18px;
  }

  .pdf-frame {
    height: 62vh;
  }
}

.modal-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.modal-btn-primary {
  background: var(--primary);
  color: #fff;
}

.modal-btn-primary:hover {
  background: var(--primary-dark);
}

.modal-btn-secondary {
  background: var(--border);
  color: var(--text);
}

.modal-btn-secondary:hover {
  background: #d0d0d0;
}

/* Archive Section */
.archive-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.archive-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.archive-description {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Archive List */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archive-item {
  border: 2px solid rgba(123, 92, 176, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.archive-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(123, 92, 176, 0.1);
}

/* Archive Header Button */
.archive-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(123, 92, 176, 0.05) 0%, rgba(123, 92, 176, 0.02) 100%);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
  text-align: left;
  gap: 15px;
}

.archive-header:hover {
  background: linear-gradient(135deg, rgba(123, 92, 176, 0.1) 0%, rgba(123, 92, 176, 0.05) 100%);
}

.archive-header[aria-expanded="true"] {
  background: linear-gradient(135deg, rgba(123, 92, 176, 0.15) 0%, rgba(123, 92, 176, 0.08) 100%);
  border-bottom: 2px solid var(--primary-light);
}

.archive-title {
  flex: 1;
  font-size: 1.08rem;
  font-weight: 700;
}

.archive-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.archive-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.archive-header[aria-expanded="true"] .archive-toggle {
  background: var(--primary-dark);
  transform: rotate(180deg);
}

/* Archive Content */
.archive-content {
  padding: 0;
  background: #fff;
  max-height: 0;
  overflow: hidden;
  animation: slideDown 0.3s ease forwards;
}

.archive-content[hidden] {
  display: none;
  max-height: 0;
}

@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 2000px;
    opacity: 1;
  }
}

/* Archive Articles List */
.archive-articles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(123, 92, 176, 0.1);
}

.archive-article {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(123, 92, 176, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.archive-article:last-child {
  border-bottom: none;
}

.archive-article:hover {
  background: rgba(123, 92, 176, 0.04);
  padding-left: 24px;
}

.article-header {
  margin-bottom: 8px;
}

.archive-article h4 {
  margin: 0 0 6px 0;
  font-size: 1.02rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.archive-article:hover h4 {
  color: var(--primary-dark);
}

.article-authors {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
}

.article-category {
  display: inline-block;
  font-size: 0.82rem;
  padding: 4px 10px;
  background: rgba(123, 92, 176, 0.1);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  margin-top: 8px;
}

.view-pdf-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.archive-article:hover .view-pdf-link {
  border-bottom-color: var(--primary);
}

/* Archive Placeholder */
.archive-placeholder {
  padding: 40px 20px;
  text-align: center;
  background: rgba(123, 92, 176, 0.03);
  border-top: 1px solid rgba(123, 92, 176, 0.1);
}

.archive-placeholder p {
  color: var(--text-muted);
  font-size: 1.01rem;
  margin: 0;
}

/* Mobile Archive */
@media (max-width: 768px) {
  .archive-section h2 {
    font-size: 1.6rem;
  }

  .archive-header {
    padding: 14px 16px;
    gap: 10px;
  }

  .archive-title {
    font-size: 1rem;
  }

  .archive-meta {
    font-size: 0.88rem;
  }

  .archive-article {
    padding: 14px 16px;
  }

  .archive-article:hover {
    padding-left: 18px;
  }
}

