/* ============================================================
   POLICY LAB — SHARED STYLESHEET
   IPS, Universiti Brunei Darussalam
   ============================================================ */
:root {
  --navy: #1a2a4a;
  --gold: #c9a84c;
  --gold-light: #e8c876;
  --cream: #f8f5ef;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--navy);
  background: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 42, 74, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand-text { display: flex; flex-direction: column; }

.nav-brand-text .brand-main {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.nav-brand-text .brand-sub {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links li { position: relative; }

.nav-links a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active-page { color: var(--gold); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.3);
  border-top: 2px solid var(--gold);
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}

.nav-links li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown a {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 0.5rem 0 1rem;
}

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.65rem 2rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.section-hero {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.section-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

.breadcrumb {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   JOURNAL INNER TABS
   ============================================================ */
.journal-tab-bar {
  background: var(--navy);
  display: flex;
  border-bottom: 2px solid var(--gold);
  margin-top: 70px;
  position: sticky;
  top: 70px;
  z-index: 100;
  overflow-x: auto;
}

.journal-tab-bar a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 1rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  display: block;
}

.journal-tab-bar a:hover { color: var(--gold); }
.journal-tab-bar a.active { color: var(--gold); border-bottom-color: var(--gold); background: rgba(201,168,76,0.08); }

.journal-tab-bar .tab-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0.5rem 0;
  align-self: stretch;
}

/* ============================================================
   CONTENT WRAPPERS
   ============================================================ */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.page-content-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

/* ============================================================
   TYPOGRAPHY & UTILITIES
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.8rem;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
}

.btn-primary:hover { background: var(--gold-light); }

/* ============================================================
   HOME PAGE — HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 70px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active { opacity: 1; }

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,42,74,0.7) 0%, rgba(26,42,74,0.2) 60%, transparent 100%);
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  max-width: 600px;
}

.slide-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.slide-title {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.slide-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

.slider-controls {
  position: absolute;
  bottom: 6%;
  left: 8%;
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.4);
}

.dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 4px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.slider-btn:hover { background: rgba(201,168,76,0.3); }
.slider-btn.prev { left: 2%; }
.slider-btn.next { right: 2%; }

/* ============================================================
   HOME PAGE — WELCOME
   ============================================================ */
.welcome {
  background: var(--cream);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}

.welcome-inner { max-width: 800px; margin: 0 auto; }

.welcome-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.welcome h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--navy);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.welcome-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}

.welcome p {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.welcome-caption {
  display: inline-block;
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo-placeholder {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-label {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: start;
}

.about-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.about-intro p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-card {
  background: var(--navy);
  color: white;
  padding: 2.5rem;
  border-left: 4px solid var(--gold);
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.about-card p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-size: 0.95rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.specialty-card {
  background: var(--cream);
  padding: 2rem;
  border-top: 3px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26,42,74,0.12);
}

.specialty-icon { font-size: 2rem; margin-bottom: 1rem; }

.specialty-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.specialty-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

.about-asean {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1e38 100%);
  padding: 3.5rem;
  border-left: 5px solid var(--gold);
  margin-bottom: 3rem;
}

.about-asean h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-asean p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-size: 1rem;
  margin-top: 1rem;
}

/* ============================================================
   TRAINING PAGE
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: 0 10px 40px rgba(26,42,74,0.1); transform: translateY(-4px); }

.service-level {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

.policy-lab-section {
  background: var(--cream);
  padding: 4rem;
  border-left: 5px solid var(--gold);
  margin-bottom: 4rem;
}

.policy-lab-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.policy-lab-section p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.news-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.news-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.news-article img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.news-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
}

.news-article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-article p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.news-date { color: var(--gray); font-size: 0.8rem; margin-bottom: 0.5rem; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 2px solid var(--border);
}

/* ============================================================
   JOURNAL PAGES
   ============================================================ */
.journal-hero-card {
  background: var(--navy);
  padding: 3rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  border-bottom: 4px solid var(--gold);
}

.journal-cover { flex-shrink: 0; width: 160px; }
.journal-cover img { width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }

.journal-hero-text h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.journal-hero-text .issn {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.journal-hero-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pub-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.pub-type-card {
  background: var(--cream);
  padding: 1.5rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--navy), var(--gold)) 1;
  transition: transform 0.2s;
}

.pub-type-card:hover { transform: translateY(-3px); }

.pub-type-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pub-type-card p {
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pub-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pub-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.pub-badge.words { background: var(--navy); color: var(--gold); }
.pub-badge.review { background: rgba(201,168,76,0.2); color: var(--navy); }

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.board-card {
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.board-card .role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.board-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
}

.review-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.review-step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--cream);
  position: relative;
}

.review-step::after {
  content: '→';
  position: absolute;
  right: -0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.2rem;
  z-index: 1;
}

.review-step:last-child::after { display: none; }

.step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.review-step h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.review-step p { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }

.indexation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.index-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  background: white;
}

.target-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.target-badge.early { background: #d1fae5; color: #065f46; }
.target-badge.mid { background: #dbeafe; color: #1e3a8a; }
.target-badge.priority { background: var(--navy); color: var(--gold); }

.index-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.index-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

.submit-steps {
  background: var(--navy);
  padding: 3rem;
  margin-bottom: 4rem;
}

.submit-steps h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.submit-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.submit-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.submit-step-text h4 { color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.submit-step-text p { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.6; }

/* JIG specific */
.jig-content {
  background: var(--cream);
  padding: 3rem;
  border-left: 5px solid var(--gold);
  margin-bottom: 3rem;
}

.jig-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.jig-content .issn-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.jig-content p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.articles-list { margin-bottom: 4rem; }

.article-item {
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.article-item:hover {
  border-left-color: var(--gold);
  box-shadow: 0 4px 20px rgba(26,42,74,0.08);
}

.article-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.article-item .article-meta { font-size: 0.8rem; color: var(--gray); }

.article-item .article-type {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  margin-right: 0.5rem;
}

/* ============================================================
   VOLUMES & ONLINE FIRST
   ============================================================ */
.online-first-banner {
  background: linear-gradient(135deg, var(--navy), #0f1e38);
  border-left: 5px solid var(--gold);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.online-first-banner h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.online-first-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.7;
}

.online-first-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.of-article {
  background: white;
  border: 1px solid var(--border);
  padding: 1.8rem 2rem;
  margin-bottom: 1.2rem;
  border-left: 4px solid #10b981;
  transition: box-shadow 0.2s;
}

.of-article:hover { box-shadow: 0 6px 24px rgba(26,42,74,0.09); }

.of-article h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.of-article .of-meta { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.6rem; }

.of-article .of-abstract {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.volumes-intro {
  background: var(--cream);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  margin-bottom: 2.5rem;
}

.volumes-intro h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.volumes-intro p { color: #4b5563; font-size: 0.9rem; line-height: 1.7; }

.volume-section { margin-bottom: 0.5rem; }

.volume-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.volume-header:hover { background: #243558; }

.volume-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.volume-header .vol-meta { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.06em; }
.volume-header .toggle-icon { color: var(--gold); font-size: 1.2rem; transition: transform 0.3s; }
.volume-header.open .toggle-icon { transform: rotate(180deg); }

.volume-articles { border: 1px solid var(--border); border-top: none; display: none; }
.volume-articles.open { display: block; }

.vol-article {
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.vol-article:last-child { border-bottom: none; }
.vol-article:hover { background: var(--cream); }

.vol-article h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.vol-article-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }

.vol-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.vol-badge.type { background: var(--navy); color: var(--gold); }
.vol-badge.pages { background: var(--cream); color: var(--navy); border: 1px solid var(--border); }
.vol-badge.doi { background: rgba(201,168,76,0.15); color: #92400e; }

.vol-article .authors { font-size: 0.83rem; color: var(--gray); margin-bottom: 0.3rem; }
.vol-article .abstract-preview { font-size: 0.82rem; color: #4b5563; line-height: 1.6; margin-top: 0.4rem; }

/* ============================================================
   PDF MANAGEMENT
   ============================================================ */
.pdf-upload-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  padding: 1rem 1.5rem;
  border: 1px dashed var(--gold);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pdf-upload-bar p { font-size: 0.85rem; color: var(--gray); }

.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.4rem;
  border: none;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  transition: background 0.2s;
}

.btn-upload:hover { background: #243558; }

.pdf-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray);
  border: 2px dashed var(--border);
  background: var(--cream);
  margin-bottom: 2rem;
}

.pdf-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.pdf-empty p { font-size: 0.95rem; }

.pdf-entry {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.2rem;
  transition: box-shadow 0.2s;
}

.pdf-entry:hover { box-shadow: 0 4px 20px rgba(26,42,74,0.08); }

.pdf-entry-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.pdf-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.pdf-entry-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }

.pdf-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border: none;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  border-radius: 2px;
  transition: opacity 0.15s;
}

.pdf-btn:hover { opacity: 0.8; }
.pdf-btn-view { background: var(--navy); color: var(--gold); }
.pdf-btn-dl { background: #059669; color: white; }
.pdf-btn-del { background: #dc2626; color: white; }

.pdf-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.pdf-authors { font-size: 0.82rem; color: var(--gray); margin-bottom: 0.5rem; }

.pdf-abstract {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
  margin-top: 0.5rem;
}

.pdf-file-info {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Upload Modal */
#upload-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#upload-modal.open { display: flex; }

.modal-box {
  background: white;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 4px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.modal-header {
  background: var(--navy);
  padding: 1.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

.modal-header h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.1rem;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close:hover { color: white; }
.modal-body { padding: 1.8rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group label span.req { color: #dc2626; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.file-upload-zone {
  border: 2px dashed var(--border);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--cream);
}

.file-upload-zone:hover { border-color: var(--gold); background: #fdf9f0; }
.file-upload-zone input[type=file] { display: none; }
.file-upload-zone .upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.file-upload-zone p { font-size: 0.85rem; color: var(--gray); }
.file-upload-zone strong { color: var(--navy); }

#modal-filename {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.4rem;
  display: block;
}

#modal-preview {
  width: 100%;
  height: 200px;
  border: 1px solid var(--border);
  margin-top: 0.75rem;
  display: none;
}

#modal-error { color: #dc2626; font-size: 0.82rem; margin-top: 0.5rem; min-height: 1.2em; }

.modal-footer {
  padding: 1rem 1.8rem 1.8rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
}

.btn-cancel {
  background: none;
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--gray);
  transition: border-color 0.2s;
}

.btn-cancel:hover { border-color: var(--navy); color: var(--navy); }

.btn-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.8rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--gold-light); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.contact-info a { color: var(--gold); text-decoration: none; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }

.contact-map {
  background: var(--cream);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px solid var(--border);
}

.contact-map .map-pin { font-size: 3rem; margin-bottom: 1rem; }

.contact-map h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-map p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 2rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}

footer p { font-size: 0.85rem; margin-bottom: 0.4rem; }
footer a { color: var(--gold); text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .specialties-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .news-article { grid-template-columns: 1fr; }
  .pub-types-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .review-steps { grid-template-columns: 1fr 1fr; }
  .indexation-grid { grid-template-columns: 1fr 1fr; }
  .journal-hero-card { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .specialties-grid, .pub-types-grid, .board-grid, .review-steps, .indexation-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .page-content { padding: 2rem 1rem 3rem; }
  .journal-tab-bar { flex-wrap: nowrap; overflow-x: auto; }
}
