/* ============================================================================
   UJHSE — Utkarsh Journal of Health Sciences and Environment
   Utkarsh Research Network branded Professional Journal Stylesheet
   Font: Inter
   Palette: Deep navy (#1a2332), Crimson (#c0392b), White, Warm grays
   ============================================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.65;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: #1a2332; text-decoration: none; transition: color .2s ease; }
a:hover { color: #c0392b; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: .4px;
    border-radius: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    text-align: center;
}

.btn--sm { padding: 8px 20px; font-size: .85rem; }

.btn--primary {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}
.btn--primary:hover {
    background: #a93226;
    border-color: #a93226;
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: #c0392b;
    border-color: #c0392b;
}
.btn--ghost:hover {
    background: #c0392b;
    color: #fff;
}

.btn--white {
    background: #fff;
    color: #1a2332;
    border-color: #fff;
}
.btn--white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn--outline-dark {
    background: transparent;
    color: #1a2332;
    border-color: #1a2332;
}
.btn--outline-dark:hover {
    background: #1a2332;
    color: #fff;
}

/* ==========================================================================
   UTILITY BAR (Lancet-inspired top strip)
   ========================================================================== */
.util-bar {
    background: #1a2332;
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    letter-spacing: .3px;
}

.util-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
}

.util-bar__left strong { color: #fff; font-weight: 600; }

.util-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.util-bar__right a {
    color: rgba(255,255,255,.75);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.util-bar__right a:hover { color: #fff; }
.util-bar__right svg { opacity: .75; }

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 18px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.site-header__brand:hover { color: inherit; }

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #c0392b;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.65rem;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: -1px;
}

.site-header__title {
    font-size: 1.75rem;
    letter-spacing: -.5px;
    color: #1a2332;
    margin: 0;
    line-height: 1;
}

.site-header__full {
    font-size: .82rem;
    color: #666;
    margin: 3px 0 0;
    font-weight: 400;
    letter-spacing: .2px;
}

.site-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 3px;
}

.meta-badge--green {
    background: #27ae60;
    color: #fff;
}

.meta-badge--outline {
    background: transparent;
    color: #555;
    border: 1.5px solid #bbb;
}

.site-header__issn {
    font-size: .78rem;
    color: #999;
    font-family: 'JetBrains Mono', monospace;
    margin-left: 4px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #1a2332;
    border-radius: 2px;
    transition: .3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ==========================================================================
   PRIMARY NAVIGATION (BMJ-inspired horizontal bar)
   ========================================================================== */
.primary-nav {
    background: #1a2332;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.primary-nav__list {
    display: flex;
    align-items: stretch;
}

.primary-nav__item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,.85);
    padding: 13px 18px;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.primary-nav__item > a:hover,
.primary-nav__item.active > a {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.primary-nav__item > a svg { opacity: .6; margin-left: 2px; }

/* Submit CTA in nav */
.primary-nav__item--cta { margin-left: auto; }
.primary-nav__item--cta > a {
    background: #c0392b;
    color: #fff !important;
}
.primary-nav__item--cta > a:hover {
    background: #d4a017;
}

/* Sub-nav dropdown */
.has-sub { position: relative; }

.sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    border-top: 3px solid #c0392b;
    z-index: 200;
}

.has-sub:hover .sub-nav { display: block; }

.sub-nav li a {
    display: block;
    color: #333;
    padding: 10px 20px;
    font-size: .85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid #f5f5f5;
}
.sub-nav li a:hover { background: #fef5f4; color: #c0392b; }

/* ==========================================================================
   HERO / FEATURED EDITORIAL (Lancet-inspired)
   ========================================================================== */
.hero-editorial {
    background: linear-gradient(135deg, #1a2332 0%, #243447 50%, #1a2332 100%);
    padding: 56px 0;
    color: #fff;
}

.hero-editorial__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero-editorial__label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4a017;
    background: rgba(231,76,60,.12);
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.hero-editorial__title {
    font-size: 1.65rem;
    line-height: 1.35;
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
}

.hero-editorial__title a { color: #fff; }
.hero-editorial__title a:hover { color: #f1c40f; }

.hero-editorial__authors {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    font-style: italic;
    margin-bottom: 14px;
}

.hero-editorial__excerpt {
    font-size: .95rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-editorial__actions {
    display: flex;
    gap: 10px;
}

/* Side cards in hero */
.hero-editorial__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    border-radius: 6px;
    padding: 24px;
}

.side-card--dark {
    background: #1a2332 !important;
    border: 1px solid #2c3e50 !important;
    border-radius: 10px !important;
    padding: 1.25rem !important;
}

.side-card__title {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}

.side-card--dark p {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 16px;
    line-height: 1.6;
}

.side-card--stats {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.stat-row:last-child { border-bottom: none; }

.stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
}

/* ==========================================================================
   CURRENT ISSUE SECTION (main + sidebar layout)
   ========================================================================== */
.issue-section {
    padding: 60px 0 70px;
    background: #fafafa;
}

.issue-section__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* Section header */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 14px;
    border-bottom: 3px solid #1a2332;
}

.section-header__title {
    font-size: 1.5rem;
    color: #1a2332;
    margin: 0;
}

.section-header__title--center { text-align: center; display: block; }

.section-header__meta {
    font-size: .88rem;
    color: #888;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

/* Article group */
.article-group { margin-bottom: 36px; }

.article-group__title {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #c0392b;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #e0e0e0;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

/* Article Card */
.article-card {
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
    transition: background .15s ease;
}

.article-card:last-child { border-bottom: none; }

.article-card:hover {
    background: #fff;
    padding-left: 20px;
    margin-left: -20px;
    padding-right: 20px;
    margin-right: -20px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.article-card__type {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #888;
    margin-bottom: 6px;
}

.article-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.article-card__title a {
    color: #1a2332;
    transition: color .15s;
}
.article-card__title a:hover { color: #c0392b; }

.article-card__authors {
    font-size: .88rem;
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
}

.article-card__snippet {
    font-size: .88rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #999;
}

.article-card__doi {
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem;
    color: #aaa;
}

.article-card__pages { color: #aaa; }

.article-card__links {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

/* Pill links (PDF / XML / HTML) */
.pill-link {
    display: inline-block;
    padding: 3px 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all .15s ease;
}

.pill-link--pdf {
    background: #c0392b;
    color: #fff;
}
.pill-link--pdf:hover { background: #a93226; color: #fff; }

.pill-link--xml {
    background: #2980b9;
    color: #fff;
}
.pill-link--xml:hover { background: #2471a3; color: #fff; }

.pill-link--html {
    background: #27ae60;
    color: #fff;
}
.pill-link--html:hover { background: #229954; color: #fff; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.issue-section__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 80px;
}

.sidebar-block {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-block__title {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #1a2332;
    padding: 14px 20px;
    margin: 0;
    background: #f7f8f9;
    border-bottom: 1px solid #e8e8e8;
    font-family: 'Inter', sans-serif;
}

/* Highlight block (APC) */
.sidebar-block--highlight {
    border-color: #c0392b;
    border-top: 3px solid #c0392b;
}

.sidebar-block--highlight .sidebar-block__title {
    background: #fef5f4;
    color: #c0392b;
}

/* Metrics */
.metric-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #f2f2f2;
}
.metric-item:last-child { border-bottom: none; }

.metric-item__value {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2332;
}

.metric-item__label {
    font-size: .82rem;
    color: #888;
    text-align: right;
}

/* Announcements */
.sidebar-announcement {
    padding: 14px 20px;
    border-bottom: 1px solid #f2f2f2;
}
.sidebar-announcement:last-child { border-bottom: none; }

.sidebar-announcement__date {
    display: block;
    font-size: .72rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
}

.sidebar-announcement__link {
    font-size: .88rem;
    font-weight: 600;
    color: #1a2332;
    line-height: 1.4;
}
.sidebar-announcement__link:hover { color: #c0392b; }

/* APC display */
.apc-display { padding: 16px 20px; }

.apc-display__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8e8e6;
    font-size: .92rem;
}
.apc-display__row:last-of-type { border-bottom: none; }
.apc-display__row span { color: #666; }
.apc-display__row strong {
    font-family: 'Inter', sans-serif;
    color: #c0392b;
    font-size: 1.05rem;
}

.apc-display__note {
    font-size: .78rem;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

/* Indexing list */
.indexing-list {
    padding: 10px 20px 16px;
}

.indexing-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .88rem;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.indexing-list li:last-child { border-bottom: none; }

.tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 3px;
}

.tag--pending {
    background: #fef9e7;
    color: #b7950b;
    border: 1px solid #f9e79f;
}

/* Subject tags */
.subject-tags {
    padding: 12px 20px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.subject-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: .76rem;
    font-weight: 600;
    color: #555;
    background: #f2f3f5;
    border-radius: 3px;
    transition: all .15s;
}
.subject-tag:hover { background: #1a2332; color: #fff; }

/* Info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr { border-bottom: 1px solid #f2f2f2; }
.info-table tr:last-child { border-bottom: none; }

.info-table td {
    padding: 10px 20px;
    font-size: .85rem;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: #888;
    width: 40%;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.info-table td:last-child { color: #333; }

/* ==========================================================================
   PAGE CONTENT LAYOUT (inner pages — policies, guidelines, etc.)
   ========================================================================== */
.page-content {
    padding: 48px 0 70px;
    background: #fafafa;
}

.page-content__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.page-heading {
    font-size: 1.75rem;
    color: #1a2332;
    margin-bottom: 8px;
    padding-bottom: 14px;
    border-bottom: 3px solid #1a2332;
}

.page-content__intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.7;
    font-style: italic;
}

.page-content__section {
    margin-bottom: 36px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 28px 32px;
}

.page-content__section h2 {
    font-size: 1.2rem;
    color: #1a2332;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
}

.page-content__section h3 {
    font-size: 1.05rem;
    color: #c0392b;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-content__section h4 {
    font-size: .95rem;
    color: #333;
    margin-top: 16px;
    margin-bottom: 8px;
}

.page-content__section p {
    font-size: .92rem;
    color: #444;
    line-height: 1.75;
}

.page-content__section ul,
.page-content__section ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-content__section ul { list-style: disc; }
.page-content__section ol { list-style: decimal; }

.page-content__section li {
    font-size: .9rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 4px;
}

.page-content__section a {
    color: #c0392b;
    text-decoration: underline;
    text-decoration-color: rgba(192,57,43,.3);
    text-underline-offset: 2px;
}
.page-content__section a:hover {
    color: #a93226;
    text-decoration-color: #a93226;
}

/* Highlight box inside page content */
.page-content__highlight {
    background: #fef5f4;
    border: 1px solid #f5c6c0;
    border-left: 4px solid #c0392b;
    padding: 20px 24px;
    border-radius: 4px;
    margin: 20px 0;
}

.page-content__highlight p {
    color: #555;
    margin-bottom: 8px;
}

.page-content__highlight strong { color: #c0392b; }

/* Info table inside page content */
.page-content__section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.page-content__section table th {
    background: #f7f8f9;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
    padding: 10px 16px;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.page-content__section table td {
    padding: 10px 16px;
    font-size: .88rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.page-content__section table tr:last-child td { border-bottom: none; }

/* Checklist style */
.checklist {
    list-style: none !important;
    padding-left: 0 !important;
}

.checklist li {
    position: relative;
    padding-left: 28px !important;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: 700;
    font-size: 1rem;
}

/* Step indicators */
.step-list {
    counter-reset: step;
    list-style: none !important;
    padding-left: 0 !important;
}

.step-list li {
    counter-increment: step;
    position: relative;
    padding-left: 44px !important;
    margin-bottom: 16px !important;
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: #1a2332;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Archive card */
.archive-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .2s ease;
    margin-bottom: 16px;
}

.archive-card:hover {
    border-color: #c0392b;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.archive-card__info h3 {
    font-size: 1.1rem;
    color: #1a2332;
    margin-bottom: 4px;
}

.archive-card__info p {
    font-size: .85rem;
    color: #888;
    margin: 0;
}

.archive-card__badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #c0392b;
    color: #fff;
    border-radius: 3px;
}

/* Board member card (editorial board) */
.board-placeholder {
    background: #fff;
    border: 1px dashed #d0d0d0;
    border-radius: 6px;
    padding: 32px;
    text-align: center;
    color: #999;
    font-size: .92rem;
}

/* Editorial Board Cards */
.eb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
}

.eb-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 24px;
    transition: box-shadow .2s;
}

.eb-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.eb-card--chief {
    border-left: 4px solid #c0392b;
    background: #fdfaf9;
    margin-bottom: 8px;
}

.eb-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.eb-card__initials {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1a2332;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .5px;
}

.eb-card--chief .eb-card__initials {
    background: #c0392b;
    width: 58px;
    height: 58px;
    font-size: .9rem;
}

.eb-card__info {
    flex: 1;
    min-width: 0;
}

.eb-card__name {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 2px;
    line-height: 1.3;
}

.eb-card--chief .eb-card__name {
    font-size: 1.15rem;
    color: #c0392b;
}

.eb-card__degrees {
    font-size: .82rem;
    color: #777;
    margin: 0 0 4px;
}

.eb-card__role {
    font-size: .82rem;
    color: #c0392b;
    font-weight: 600;
    margin: 0;
}

.eb-card__body {
    padding-top: 4px;
}

.eb-card__details {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.eb-card__details td {
    padding: 4px 8px 4px 0;
    vertical-align: top;
    border: none;
    color: #444;
}

.eb-card__details td:first-child {
    width: 120px;
    white-space: nowrap;
    color: #666;
}

.eb-card__details a {
    color: #c0392b;
    text-decoration: none;
}

.eb-card__details a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .eb-card__header { flex-direction: column; align-items: center; text-align: center; }
    .eb-card__details td:first-child { width: auto; white-space: normal; display: block; font-weight: 600; padding-bottom: 0; }
    .eb-card__details td { display: block; padding: 2px 0; }
    .eb-card__details tr { display: block; margin-bottom: 8px; }
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.contact-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px 24px;
}

.contact-card h4 {
    font-size: .92rem;
    color: #1a2332;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: .85rem;
    color: #666;
    margin-bottom: 4px;
}

.contact-card a {
    color: #c0392b;
    font-weight: 600;
}

/* Responsive for page content */
@media (max-width: 1024px) {
    .page-content__grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .page-content__section { padding: 20px; }
    .page-heading { font-size: 1.4rem; }
}

/* ==========================================================================
   SCOPE BAND (PLOS-inspired)
   ========================================================================== */
.scope-band {
    padding: 70px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.scope-band__intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.75;
}

.scope-band__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.scope-column {
    text-align: center;
    padding: 36px 28px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all .25s ease;
}
.scope-column:hover {
    border-color: #c0392b;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
    transform: translateY(-3px);
}

.scope-column__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fef5f4;
    color: #c0392b;
    margin-bottom: 18px;
}

.scope-column h3 {
    font-size: 1.15rem;
    color: #1a2332;
    margin-bottom: 12px;
}

.scope-column p {
    font-size: .88rem;
    color: #666;
    line-height: 1.7;
}

/* ==========================================================================
   GUIDELINES CTA (BMJ-inspired three-column)
   ========================================================================== */
.guidelines-cta {
    padding: 56px 0;
    background: #f7f8f9;
    border-top: 1px solid #eee;
}

.guidelines-cta__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.guidelines-cta__col {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 32px 28px;
    text-align: center;
    transition: all .25s ease;
}

.guidelines-cta__col:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    transform: translateY(-2px);
}

.guidelines-cta__col h3 {
    font-size: 1.1rem;
    color: #1a2332;
    margin-bottom: 12px;
}

.guidelines-cta__col p {
    font-size: .88rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER (Lancet/BMJ-inspired — structured, authoritative)
   ========================================================================== */
.site-footer {
    background: #1a2332;
    color: rgba(255,255,255,.7);
    padding: 56px 0 0;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-footer__col h4 {
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.4);
    margin-bottom: 18px;
}

.site-footer__col ul li { margin-bottom: 8px; }
.site-footer__col ul li a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    transition: color .15s;
}
.site-footer__col ul li a:hover { color: #fff; }

.site-footer__col p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
}
.site-footer__col p a { color: rgba(255,255,255,.7); }
.site-footer__col p a:hover { color: #fff; }

/* Footer brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #c0392b;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    border-radius: 5px;
    flex-shrink: 0;
}

.footer-brand__name {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #fff;
    display: block;
    line-height: 1;
}

.footer-brand__full {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    display: block;
    margin-top: 2px;
}

.site-footer__col--brand > p {
    font-size: .84rem;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    margin-top: 0;
}

/* Footer bottom bar */
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}

.site-footer__bottom-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-footer__bottom .sep {
    margin: 0 4px;
    opacity: .3;
}

.site-footer__bottom-right a {
    color: rgba(255,255,255,.4);
}
.site-footer__bottom-right a:hover { color: rgba(255,255,255,.7); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablets & smaller desktops */
@media (max-width: 1024px) {
    .mobile-toggle { display: flex; }

    .primary-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: #1a2332;
        z-index: 9999;
        transition: left .3s ease;
        overflow-y: auto;
        box-shadow: none;
    }
    .primary-nav.open { left: 0; box-shadow: 4px 0 24px rgba(0,0,0,.3); }

    .primary-nav__list {
        flex-direction: column;
        padding-top: 60px;
    }

    .primary-nav__item > a {
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .primary-nav__item--cta { margin-left: 0; }
    .primary-nav__item--cta > a { margin: 12px 24px; border-radius: 4px; justify-content: center; }

    .sub-nav {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0,0,0,.15);
        display: none;
    }
    .has-sub.sub-open .sub-nav { display: block; }
    .sub-nav li a { padding-left: 40px; color: rgba(255,255,255,.65); }
    .sub-nav li a:hover { background: rgba(255,255,255,.05); color: #fff; }

    .hero-editorial__grid { grid-template-columns: 1fr; }
    .issue-section__grid { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: repeat(2, 1fr); }

    .site-header__meta { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
    .util-bar__inner { flex-direction: column; gap: 4px; text-align: center; }
    .util-bar__right { gap: 14px; }

    .site-header__inner { flex-wrap: wrap; }
    .logo-mark { width: 44px; height: 44px; font-size: 1.3rem; }
    .site-header__title { font-size: 1.35rem; }
    .site-header__full { font-size: .75rem; }

    .hero-editorial { padding: 36px 0; }
    .hero-editorial__title { font-size: 1.3rem; }
    .hero-editorial__excerpt { font-size: .88rem; }

    .scope-band__grid { grid-template-columns: 1fr; }
    .guidelines-cta__inner { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr; }

    .site-footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .article-card__footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .article-card__links { margin-left: 0; }

    .section-header { flex-direction: column; gap: 4px; }
}

/* Small phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-editorial__title { font-size: 1.15rem; }
    .hero-editorial__actions { flex-direction: column; }
    .hero-editorial__actions .btn { width: 100%; }
    .side-card { padding: 18px; }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .util-bar, .primary-nav, .hero-editorial, .guidelines-cta, .site-footer, .mobile-toggle,
    .pill-link, .btn, .sidebar-block--highlight { display: none !important; }

    body { font-size: 12pt; color: #000; }
    .site-header { border-bottom: 2px solid #000; }
    .site-header__title, .article-card__title a { color: #000 !important; }
    .logo-mark { background: #000; }
    .issue-section__grid { grid-template-columns: 1fr; }
    .article-card { page-break-inside: avoid; }
}
