/* =====================================================================
   JNMCN – Journal of Narowal Medical College, Narowal
   Public website stylesheet
   ===================================================================== */

:root {
  --navy: #0b3d5c;
  --navy-dark: #072a40;
  --teal: #0f8b8d;
  --teal-dark: #0b6f71;
  --teal-light: #e6f4f4;
  --gold: #d4a63a;
  --gold-dark: #b98c25;
  --red: #c0392b;
  --text: #1f2a37;
  --muted: #5b6b7c;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 10px rgba(11, 61, 92, .07);
  --shadow-lg: 0 14px 40px rgba(11, 61, 92, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.3; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; border: 2px solid transparent;
  font: 600 15px/1.2 var(--font); cursor: pointer; text-align: center;
  transition: all .2s ease; white-space: nowrap;
}
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #1d1606; }
.btn-gold:hover { background: var(--gold-dark); color: #1d1606; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #a93226; color: #fff; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #c9d8e4; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar a { color: #c9d8e4; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--gold); margin-right: 4px; }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); min-width: 0; }
.brand:hover { color: var(--navy); }
.brand-logo { width: 74px; height: 74px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-short { font-family: var(--serif); font-weight: 900; font-size: 26px; letter-spacing: 1px; line-height: 1.1; color: var(--navy); }
.brand-full { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.header-search { display: flex; flex: 0 1 340px; border: 1px solid var(--border); border-radius: 30px; overflow: hidden; background: var(--bg-alt); }
.header-search input { flex: 1; border: 0; background: transparent; padding: 10px 16px; font: 14px var(--font); min-width: 0; }
.header-search input:focus { outline: none; }
.header-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }
.header-search button { border: 0; background: var(--teal); color: #fff; padding: 0 16px; cursor: pointer; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { background: var(--navy); }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav > .container > ul > li { position: relative; }
.main-nav > .container > ul > li > a {
  display: block; padding: 14px 16px; color: #e3edf5; font-weight: 500; font-size: 15px;
  border-bottom: 3px solid transparent;
}
.main-nav > .container > ul > li > a:hover,
.main-nav > .container > ul > li > a.active { color: #fff; background: rgba(255,255,255,.07); border-bottom-color: var(--gold); }
.main-nav .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; display: block;
  box-shadow: var(--shadow-lg); border-radius: 0 0 8px 8px; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 50;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.main-nav .dropdown a { display: block; padding: 9px 18px; color: var(--text); font-size: 14px; }
.main-nav .dropdown a:hover { background: var(--teal-light); color: var(--teal-dark); }
.nav-cta { background: var(--gold); color: #1d1606; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 6px; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-dark); color: #1d1606; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(15,139,141,.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(212,166,58,.18), transparent 40%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #0d5570 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M26 18h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.hero-kicker i { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); font-weight: 900; margin-bottom: 12px; }
.hero-tagline { color: var(--gold); font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.hero-desc { color: #d3e1ec; font-size: 16.5px; max-width: 620px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: #d3e1ec; }
.hero-badges i { color: var(--gold); margin-right: 6px; }
.hero-issue { display: flex; justify-content: center; }
.hero-issue-card { position: relative; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(6px); width: 100%; max-width: 330px; transform: rotate(1.5deg); transition: transform .3s; }
.hero-issue-card:hover { transform: rotate(0) translateY(-4px); }
.hero-issue-card .issue-cover { box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ribbon { position: absolute; top: 14px; right: -8px; background: var(--gold); color: #1d1606; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 4px 0 0 4px; z-index: 2; text-transform: uppercase; letter-spacing: .5px; }
.hero-issue-info { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; text-align: center; }
.hero-issue-info strong { font-family: var(--serif); font-size: 18px; }
.hero-issue-info span { color: #c9d8e4; font-size: 14px; }
.hero-issue-info a { color: var(--gold); font-weight: 600; margin-top: 6px; font-size: 14px; }

/* Compact hero (home page) */
.hero-compact .hero-inner { grid-template-columns: 1fr auto; gap: 30px; padding-top: 30px; padding-bottom: 30px; }
.hero-compact h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin-bottom: 10px; }
.hero-compact .hero-badges { margin-bottom: 18px; }
.hero-compact .hero-buttons { margin: 0; gap: 10px; }
.hero-issue-mini { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 14px 20px 14px 14px; color: #fff; transition: background .2s; }
.hero-issue-mini:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-issue-mini .issue-cover { width: 118px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.cover-xs.issue-cover-generated { font-size: 6px; padding: 8px 4px; }
.cover-xs .cov-name, .cover-xs .cov-period { display: none; }
.hero-issue-mini .hero-issue-info { margin: 0; text-align: left; gap: 1px; }
.hero-issue-mini small { text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; color: var(--gold); }
.hero-issue-mini strong { font-family: var(--serif); font-size: 17px; }
.hero-issue-mini span { color: #c9d8e4; font-size: 14px; }
.hero-issue-mini em { font-style: normal; color: var(--gold); font-weight: 600; font-size: 13.5px; margin-top: 4px; }

/* Photo banner (home page) */
.hero-photo { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, #0d5570 100%); }
.hero-photo::before { content: ""; position: absolute; inset: 0; opacity: .06; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M26 18h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.hero-photo-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; animation: heroZoom 18s ease-out both; }
.hero-photo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,42,64,.55) 0%, rgba(7,42,64,.1) 35%, rgba(7,42,64,0) 60%), linear-gradient(0deg, rgba(7,42,64,.45) 0%, rgba(7,42,64,0) 40%); }
.hero-photo-media::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--gold); transform: skewX(-8deg); transform-origin: top; z-index: 1; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-photo-inner { position: relative; z-index: 1; min-height: 460px; display: flex; align-items: center; padding-top: 50px; padding-bottom: 50px; }
.hero-photo-text { max-width: 560px; }
.hero-photo h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; margin: 0 0 10px; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-photo .hero-tagline { margin-bottom: 16px; }
.hero-photo .hero-badges { margin-bottom: 24px; }
.hero-photo .hero-buttons { margin: 0; gap: 12px; }
.hero-photo-issue { position: absolute; right: 20px; bottom: 28px; background: rgba(7,42,64,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.25); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hero-photo-issue:hover { background: rgba(7,42,64,.7); }

/* ---------- Issue cover ---------- */
.issue-cover { display: block; width: 100%; aspect-ratio: 720 / 1018; object-fit: cover; border-radius: 8px; background: #0b2e6b; }
img.issue-cover { border-radius: 4px 8px 8px 4px; }
.issue-cover-generated {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 20px 16px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal) 0%, var(--navy) 60%, var(--navy-dark) 100%);
}
.issue-cover-generated::after { content: ""; position: absolute; width: 180%; height: 60%; bottom: -30%; left: -40%; background: rgba(255,255,255,.06); transform: rotate(-12deg); }
.cov-short { font-family: var(--serif); font-weight: 900; font-size: 2.2em; letter-spacing: 2px; line-height: 1; }
.cov-name { font-size: .72em; opacity: .85; margin-top: 8px; line-height: 1.35; max-width: 90%; }
.cov-line { width: 40%; height: 2px; background: var(--gold); margin: 14px 0; }
.cov-vol { font-family: var(--serif); font-size: 1.15em; font-weight: 700; }
.cov-issue { font-size: 1em; color: var(--gold); font-weight: 600; }
.cov-period { font-size: .75em; opacity: .85; margin-top: 6px; }
.cover-sm.issue-cover-generated { font-size: 12px; padding: 14px 10px; }

/* ---------- Announcement ---------- */
.announcement { background: #fff8e6; border-bottom: 1px solid #f3e2b5; }
.announcement-inner { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.announcement-label { background: var(--gold); color: #1d1606; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.announcement p { margin: 0; flex: 1; min-width: 220px; color: #5c4710; font-weight: 500; }
.announcement a { font-weight: 600; color: var(--gold-dark); white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.eyebrow { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: 1.5px; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.link-more { font-weight: 600; font-size: 15px; white-space: nowrap; }
.link-more i { transition: transform .2s; }
.link-more:hover i { transform: translateX(4px); }

/* Features */
.features { padding: 50px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: .25s; }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.feature-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Home grid */
.home-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.home-side { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Article list items ---------- */
.article-item { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; transition: box-shadow .2s; }
.article-item:hover { box-shadow: var(--shadow-lg); }
.article-item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.badge-type { background: var(--teal-light); color: var(--teal-dark); }
.badge-current { background: #fff3d1; color: #8a6510; }
.badge-archive { background: #e8eef5; color: var(--navy); }
.meta-chip { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
a.meta-chip:hover { color: var(--teal); }
.article-title { font-size: 18.5px; margin: 0 0 8px; line-height: 1.45; }
.article-title a { color: var(--navy); }
.article-title a:hover { color: var(--teal); }
.article-authors { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.article-authors i { color: var(--teal); margin-right: 4px; }
.article-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px dashed var(--border); padding-top: 12px; }
.action-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font); }
.action-link:hover { color: var(--navy); }
.action-pdf { color: var(--red); }
.abstract-panel { margin-top: 14px; background: var(--bg-alt); border-radius: 8px; padding: 16px 18px; font-size: 15px; }
.abstract-panel .rich-text p:last-child { margin-bottom: 0; }
.abstract-keywords { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.article-group { margin-bottom: 34px; }
.group-title { font-size: 20px; display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--border); margin-bottom: 18px; position: relative; }
.group-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--gold); }
.group-title span { font-family: var(--font); font-size: 12px; background: var(--navy); color: #fff; border-radius: 20px; padding: 2px 9px; }

/* ---------- Latest research (home page) ---------- */
.latest-research { padding-top: 50px; }
.lr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.lr-head h2 { margin: 0 0 -2px; padding-bottom: 12px; border-bottom: 3px solid var(--gold); font-size: clamp(20px, 2.3vw, 26px); text-transform: uppercase; letter-spacing: .5px; }
.lr-head h2 span { color: var(--teal); font-weight: 400; text-transform: none; letter-spacing: 0; }
.lr-head .link-more { padding-bottom: 12px; }
.lr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.lr-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lr-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 18px 20px 16px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.lr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lr-card-featured { background: linear-gradient(180deg, #fff8e6 0%, #fffdf8 100%); border-color: #f1e0b0; border-left-color: var(--gold); }
.lr-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.lr-type { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--teal-dark); }
.lr-type::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.lr-type.t-editorial, .lr-type.t-guest-editorial { color: #b7791f; }
.lr-type.t-case-report { color: #7c3aed; }
.lr-type.t-review-article, .lr-type.t-systematic-review { color: #2563eb; }
.lr-type.t-letter-to-the-editor, .lr-type.t-letters-to-editor, .lr-type.t-letter-to-editor { color: #be185d; }
.lr-type.t-short-communication, .lr-type.t-medical-education, .lr-type.t-medical-humanities { color: #c2410c; }
.lr-pages { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.lr-title { font-size: 17px; line-height: 1.45; font-weight: 700; margin: 0 0 8px; }
.lr-title a { color: var(--navy); background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s, color .2s; }
.lr-title a:hover { color: var(--teal-dark); background-size: 100% 1px; }
.lr-excerpt { display: none; font-size: 14.5px; color: #4a5a6a; margin: 0 0 10px; line-height: 1.6; }
.lr-cards.is-list { grid-template-columns: 1fr; }
.lr-cards.is-list .lr-excerpt { display: block; }
.lr-cards.is-list .lr-title { font-size: 19px; }
.lr-authors { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.lr-authors i { color: var(--teal); font-size: 12px; margin-right: 3px; }
.lr-links { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--border); padding-top: 12px; }
.lr-card-featured .lr-links { border-top-color: #ecd9a6; }
.lr-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 20px; border: 1px solid var(--teal); color: var(--teal-dark); background: #fff; transition: .2s; }
.lr-links a:hover { background: var(--teal); color: #fff; }
.lr-links a.lr-pdf { border-color: #e6b3ad; color: var(--red); }
.lr-links a.lr-pdf:hover { background: var(--red); border-color: var(--red); color: #fff; }
.lr-links a.lr-doi { margin-right: auto; border-color: var(--border); color: var(--muted); }
.lr-links a.lr-doi:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.lr-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 140px; }
.lr-issue-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px 22px; box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.lr-issue-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.lr-issue-ribbon { position: relative; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #1d1606; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.lr-issue-cover { position: relative; display: block; width: 200px; margin: 0 auto 14px; }
.lr-issue-cover .issue-cover { box-shadow: 0 14px 30px rgba(11,61,92,.3); font-size: 11px; transition: transform .25s; }
.lr-issue-cover:hover .issue-cover { transform: translateY(-4px) rotate(-1deg); }
.lr-issue-card h3 { font-size: 19px; margin: 0 0 2px; }
.lr-issue-period { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.lr-issue-stats { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; border-top: 1px solid var(--border); }
.lr-issue-stats li { display: flex; justify-content: space-between; padding: 8px 2px; border-bottom: 1px solid var(--border); font-size: 14px; }
.lr-issue-stats strong { background: var(--teal-light); color: var(--teal-dark); min-width: 28px; text-align: center; border-radius: 12px; font-size: 12.5px; padding: 1px 8px; }
.lr-issue-btns { display: flex; flex-direction: column; gap: 8px; }
.lr-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; background: linear-gradient(135deg, var(--navy), var(--teal-dark)); color: #fff; border-radius: var(--radius-lg); padding: 18px 20px; }
.lr-submit > i { font-size: 24px; color: var(--gold); }
.lr-submit .btn { flex: 1 0 100%; }
.lr-submit div { flex: 1 1 180px; display: flex; flex-direction: column; font-size: 13.5px; color: #d6e6ef; line-height: 1.45; }
.lr-submit strong { color: #fff; font-size: 15px; }
.lr-submit a:not(.btn) { color: var(--gold); }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* Side cards */
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h3 i { color: var(--teal); }
.side-card p { font-size: 14.5px; color: var(--muted); }
.side-issue { text-align: center; }
.side-issue .issue-cover { max-width: 190px; margin: 0 auto 12px; box-shadow: var(--shadow-lg); }
.side-issue-title { font-weight: 600; color: var(--navy) !important; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--border); }
.side-links li:last-child { border: 0; }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 10px 2px; color: var(--text); font-size: 14.5px; }
.side-links a i { color: var(--teal); width: 18px; text-align: center; }
.side-links a:hover { color: var(--teal); padding-left: 6px; }
.side-submit { background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; text-align: center; border: 0; }
.side-submit > i { font-size: 30px; color: var(--gold); margin-bottom: 8px; }
.side-submit h3 { color: #fff; justify-content: center; }
.side-submit p { color: #d6e6ef; }
.most-read { margin: 0; padding-left: 20px; }
.most-read li { margin-bottom: 12px; font-size: 14.5px; }
.most-read li::marker { color: var(--teal); font-weight: 700; }
.most-read a { color: var(--navy); font-weight: 600; display: block; line-height: 1.4; }
.most-read a:hover { color: var(--teal); }
.most-read span { font-size: 13px; color: var(--muted); }

/* Stats */
.stats-band { background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 100%); color: #fff; padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 40px; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 15px; color: #d6e6ef; }

/* Info cards */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; color: var(--text); transition: .25s; position: relative; overflow: hidden; }
.info-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: .3s; }
.info-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--text); }
.info-card:hover::before { transform: scaleX(1); }
.info-card > i { font-size: 30px; color: var(--teal); margin-bottom: 16px; }
.info-card h3 { font-size: 18px; }
.info-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.info-card span { color: var(--teal); font-weight: 600; font-size: 14px; }

/* Issue cards */
.issue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.issue-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; color: var(--text); transition: .25s; display: flex; flex-direction: column; }
.issue-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--text); }
.issue-card-body { display: flex; flex-direction: column; padding-top: 12px; }
.issue-card-body strong { color: var(--navy); font-family: var(--serif); }
.issue-card-body span { font-size: 14px; color: var(--muted); }
.issue-card-body small { font-size: 13px; color: var(--teal); font-weight: 600; margin-top: 4px; }

/* CTA */
.cta-band { background: var(--navy-dark); color: #fff; padding: 54px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #c9d8e4; margin: 0; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--teal-dark)); color: #fff; padding: 40px 0 44px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 6px; }
.page-hero p { color: #c9d8e4; margin: 0; font-size: 17px; }
.page-hero-article { padding: 18px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #a9c0d1; align-items: center; }
.breadcrumb a { color: #d6e6ef; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--gold); }

/* ---------- Layout with sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 140px; }
.content-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 40px; box-shadow: var(--shadow); }
.last-updated { margin-top: 30px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* Rich text (CMS content, abstracts, full text) */
.rich-text { overflow-wrap: break-word; }
.rich-text h2 { font-size: 22px; margin-top: 1.6em; padding-bottom: 8px; border-bottom: 2px solid var(--teal-light); }
.rich-text h2:first-child { margin-top: 0; }
.rich-text h3 { font-size: 18px; margin-top: 1.4em; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin: 0 0 1em; }
.rich-text li { margin-bottom: 6px; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 15px; }
.rich-text th, .rich-text td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.rich-text th { background: var(--navy); color: #fff; font-weight: 600; }
.rich-text tbody tr:nth-child(even) { background: var(--bg-alt); }
.rich-text img { border-radius: 8px; }
.rich-text blockquote { border-left: 4px solid var(--teal); margin: 1em 0; padding: 10px 18px; background: var(--bg-alt); color: var(--muted); }

/* Editorial board cards (used in CMS content) */
.board-photo { margin: 0 0 26px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-dark); }
.board-photo img { display: block; width: 100%; height: auto; border-radius: 0 !important; }
.board-photo figcaption { padding: 12px 18px; color: #d6e6ef; font-size: 14px; text-align: center; background: linear-gradient(90deg, var(--navy-dark), var(--navy)); }
.board-note { background: #fff8e6; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; color: #5c4710; }
.board-card-lead { border-top-color: var(--gold) !important; background: linear-gradient(180deg, #fff8e6, #fff 60%) !important; }
.board-card-lead .board-role { color: #a5761d; }
.rich-text ul.board-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rich-text ul.board-list li { margin: 0; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: 8px; padding: 12px 14px; font-weight: 600; color: var(--navy); transition: .2s; }
.rich-text ul.board-list li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rich-text ul.board-list li::before { content: "\f007"; font-family: "Font Awesome 6 Free"; font-weight: 900; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--teal-light); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.board-grid-sm { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important; gap: 14px; }
.board-card-photo { display: flex; flex-direction: column; align-items: center; padding: 22px 16px 18px !important; transition: transform .2s, box-shadow .2s; }
.board-card-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rich-text img.board-avatar, img.board-avatar { width: 112px; height: 112px; border-radius: 50% !important; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--teal), 0 8px 18px rgba(11,61,92,.18); margin: 0 auto 14px; display: block; background: var(--teal-light); }
.board-card-lead img.board-avatar { box-shadow: 0 0 0 3px var(--gold), 0 8px 18px rgba(11,61,92,.18); width: 128px; height: 128px; }
.board-grid-sm img.board-avatar { width: 96px; height: 96px; }
.board-grid-sm .board-role { font-size: 11px; }
.board-grid-sm .board-name { font-size: 15.5px; }

.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-bottom: 30px; }
.board-card { border: 1px solid var(--border); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 20px; text-align: center; background: linear-gradient(180deg, var(--teal-light), #fff 60%); }
.board-role { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.board-name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 17px; }
.board-inst { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Issue page ---------- */
.issue-header { display: grid; grid-template-columns: 220px 1fr; gap: 36px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); margin-bottom: 40px; align-items: start; }
.issue-header-cover .issue-cover { box-shadow: var(--shadow-lg); font-size: 14px; }
.issue-header-info h2 { font-size: clamp(24px, 3vw, 32px); margin: 12px 0; }
.issue-facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 15px; }
.issue-facts i { color: var(--teal); margin-right: 6px; }
.issue-desc { color: var(--text); margin-bottom: 18px; }
.issue-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Archive */
.archive-current { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fffaf0; border: 1px solid #f3e2b5; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 30px; }
.archive-current > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.archive-current strong { color: var(--navy); font-family: var(--serif); }
.volume-jump { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; font-size: 14px; }
.volume-jump span { font-weight: 600; color: var(--muted); }
.volume-jump a { background: var(--bg-alt); border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px; color: var(--navy); }
.volume-jump a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.volume-block { margin-bottom: 46px; scroll-margin-top: 150px; }
.volume-head { border-bottom: 2px solid var(--border); margin-bottom: 22px; padding-bottom: 10px; }
.volume-head h2 { font-size: 24px; margin: 0; }
.volume-head h2 i { color: var(--teal); font-size: 20px; }
.volume-head h2 span { color: var(--muted); font-weight: 400; font-size: 18px; }
.volume-head p { color: var(--muted); margin: 6px 0 0; }

/* ---------- Single article ---------- */
.section-article { padding-top: 36px; }
.article-full-title { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 18px; line-height: 1.35; }
.author-line { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.author-line sup { color: var(--teal); font-weight: 700; font-size: 11px; margin-left: 1px; }
.affiliations { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.affiliations li { margin-bottom: 3px; }
.affiliations sup { color: var(--teal); font-weight: 700; }
.corresponding { display: flex; gap: 12px; background: var(--teal-light); border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.corresponding i { color: var(--teal); font-size: 18px; margin-top: 3px; }
.corresponding span { display: block; }
.article-dates { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; border-top: 1px solid var(--border); font-size: 14.5px; }
.article-dates span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }
.article-head-actions { margin-top: 16px; }
.article-section { margin-top: 32px; }
.article-section > h2 { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--teal-light); position: relative; }
.article-section > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--teal); }
.abstract-box { background: var(--bg-alt); border-radius: 8px; padding: 20px 22px; text-align: justify; }
.abstract-box p:last-child { margin-bottom: 0; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.keyword-tags a { background: #fff; border: 1px solid var(--teal); color: var(--teal-dark); padding: 5px 14px; border-radius: 20px; font-size: 14px; }
.keyword-tags a:hover { background: var(--teal); color: #fff; }
.full-text { text-align: justify; }
.citation-box { display: flex; gap: 16px; align-items: flex-start; background: #fffaf0; border: 1px solid #f3e2b5; border-radius: 8px; padding: 16px 18px; }
.citation-box p { margin: 0; flex: 1; font-size: 15px; }
.license-note { margin-top: 30px; font-size: 13.5px; color: var(--muted); background: var(--bg-alt); border-radius: 8px; padding: 12px 16px; }
.license-note i { color: var(--navy); font-size: 16px; margin-right: 4px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.article-nav a { border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--navy); }
.article-nav a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.article-nav .next { text-align: right; grid-column: 2; }
.article-nav small { color: var(--teal); font-weight: 600; }
.article-nav span { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.article-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; text-align: center; }
.side-actions .article-stats:first-child { margin-top: 0; }
.article-stats div { background: var(--bg-alt); border-radius: 8px; padding: 12px; }
.article-stats strong { display: block; font-size: 22px; color: var(--navy); font-family: var(--serif); }
.article-stats span { font-size: 13px; color: var(--muted); }
.share-links { display: flex; gap: 8px; flex-wrap: wrap; }
.share-links a, .share-links button { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--navy); border: 0; cursor: pointer; font-size: 16px; }
.share-links a:hover, .share-links button:hover { background: var(--teal); color: #fff; }

/* ---------- Search ---------- */
.search-big { display: flex; gap: 10px; margin-bottom: 30px; }
.search-big input { flex: 1; padding: 13px 18px; border: 1px solid var(--border); border-radius: 8px; font: 16px var(--font); min-width: 0; }
.search-big input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); padding: 0 10px; color: var(--navy); }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.pagination .dots { border: 0; }

/* Empty state */
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state i { font-size: 40px; color: #b6c4d2; margin-bottom: 10px; }
.empty-state.big { padding: 70px 20px; }
.empty-state h2 { font-size: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-card > i { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.contact-form-card h2 { font-size: 24px; margin-bottom: 4px; }
.map-wrap { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Forms */
.form { margin-top: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-end { align-items: end; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.form input[type=text], .form input[type=email], .form input[type=number], .form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #cfd8e3; border-radius: 8px; font: 15px var(--font); background: #fff; color: var(--text);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }
.req { color: var(--red); }
.hp-field { position: absolute; left: -9999px; }

/* Alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 8px; margin-bottom: 14px; font-size: 15px; }
.alert i { margin-top: 3px; }
.alert span { flex: 1; }
.alert-close { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b7c9d8; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b7c9d8; }
.site-footer a:hover { color: var(--gold); }
.brand-footer { margin-bottom: 16px; }
.brand-footer .brand-short { color: #fff; }
.brand-footer .brand-full { color: #b7c9d8; }
.brand-footer .brand-logo { background: #fff; border-radius: 50%; padding: 3px; width: 56px; height: 56px; }
.footer-meta li { margin-bottom: 4px; }
.footer-meta strong { color: #e3edf5; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--gold); margin-top: 4px; width: 16px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-license { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13px; }
.footer-license i { color: var(--gold); margin-right: 4px; }
.footer-bottom { background: #051f30; padding: 16px 0; font-size: 13.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > .container > ul > li > a { padding: 14px 11px; font-size: 14.5px; }
  .feature-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .home-grid { grid-template-columns: 1fr 320px; }
}
@media (max-width: 960px) {
  .header-search { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav .container { flex-direction: column; align-items: stretch; padding-bottom: 14px; }
  .main-nav ul { flex-direction: column; }
  .main-nav > .container > ul > li > a { border-bottom: 1px solid rgba(255,255,255,.08); border-left: 3px solid transparent; }
  .main-nav > .container > ul > li > a.active { border-bottom-color: rgba(255,255,255,.08); border-left-color: var(--gold); }
  .main-nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.05); border-radius: 0; }
  .main-nav .dropdown a { color: #d6e6ef; padding-left: 32px; }
  .main-nav .dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .mobile-search { display: flex !important; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 56px; }
  .hero-issue-card { max-width: 280px; }
  .hero-compact .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 26px; }
  .hero-issue-mini { align-self: flex-start; }
  .hero-photo-media { position: relative; width: 100%; height: 240px; clip-path: none; }
  .hero-photo-media::before { display: none; }
  .hero-photo-media::after { background: linear-gradient(0deg, rgba(7,42,64,.9) 0%, rgba(7,42,64,0) 55%); }
  .hero-photo .hero-photo-inner { min-height: 0; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 26px; padding-bottom: 32px; }
  .hero-photo-issue { position: static; }
  .home-grid, .layout-sidebar, .contact-grid { grid-template-columns: 1fr; }
  .lr-layout { grid-template-columns: 1fr; }
  .lr-side { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .about-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none; }
  .topbar-inner { justify-content: center; padding: 6px 16px; }
  .topbar-left { display: none; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-short { font-size: 21px; }
  .brand-full { font-size: 12px; }
  .section { padding: 44px 0; }
  .feature-grid, .info-grid { grid-template-columns: 1fr; }
  .lr-cards { grid-template-columns: 1fr; }
  .lr-side { grid-template-columns: 1fr; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .issue-header { grid-template-columns: 1fr; padding: 22px; }
  .issue-header-cover { max-width: 200px; }
  .content-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { grid-column: 1; }
  .citation-box { flex-direction: column; }
  .search-big { flex-direction: column; }
  .article-item { padding: 16px; }
  .board-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .board-grid-sm img.board-avatar { width: 80px; height: 80px; }
  .rich-text table { display: block; overflow-x: auto; width: auto; max-width: 100%; }
  .hero-buttons .btn { flex: 1; }
  .hero-photo-media { height: 200px; }
  .hero-photo .hero-kicker { display: none; }
}

/* Mobile search inside the menu */
.mobile-search { display: none; margin: 12px 0 4px; border-radius: 8px; overflow: hidden; }
.mobile-search input { flex: 1; border: 0; padding: 11px 14px; font: 15px var(--font); min-width: 0; }
.mobile-search button { border: 0; background: var(--gold); padding: 0 16px; cursor: pointer; }

@media print {
  .topbar, .site-header, .site-footer, .sidebar, .back-to-top, .article-nav, .page-hero, .copy-btn { display: none !important; }
  .layout-sidebar { display: block; }
  .content-card { border: 0; box-shadow: none; padding: 0; }
  body { font-size: 12pt; }
}