:root {
    --ink: #17202a;
    --muted: #5d6775;
    --line: #d9e0e7;
    --paper: #ffffff;
    --soft: #f4f7fa;
    --brand: #02b056;
    --brand-dark: #007a3d;
    --accent: #b33b32;
    --gold: #c59a35;
    --shadow: 0 18px 45px rgba(23, 32, 42, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

body {
    margin: 0;
    background: var(--soft);
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-footer,
.home-shell,
.page-shell,
.issue-page,
.article-page {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
}

.site-header .container-xl {
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
}

.site-header .navbar {
    min-height: 76px;
    padding-bottom: 0;
    padding-top: 0;
}

.brand {
    align-items: center;
    color: var(--ink);
    display: flex;
    gap: 12px;
    min-width: 0;
}

.brand img {
    height: 50px;
    width: auto;
}

.navbar-brand.brand {
    margin-right: 16px;
    padding: 0;
}

.brand span {
    display: grid;
    gap: 1px;
}

.brand strong {
    font-size: 0.94rem;
    line-height: 1.2;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-header .nav-link,
.site-header .dropdown-item {
    border-radius: 6px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 11px;
}

.site-header .nav-link.active,
.site-header .nav-link:hover,
.site-header .dropdown-item.active,
.site-header .dropdown-item:active,
.site-header .dropdown-item:hover {
    background: #e7f7ef;
    color: var(--brand-dark);
    text-decoration: none;
}

.site-header .dropdown-menu {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-width: 240px;
    padding: 8px;
}

.site-header .navbar-toggler {
    border-color: var(--line);
    border-radius: 6px;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(2, 176, 86, 0.18);
}

.journal-hero {
    background:
        linear-gradient(90deg, rgba(0, 90, 45, 0.94), rgba(2, 176, 86, 0.72)),
        var(--hero-image) center right / cover;
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 300px;
    margin-top: 28px;
    min-height: 360px;
    padding: 42px;
}

.hero-copy {
    align-self: center;
    max-width: 720px;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.journal-hero h1,
.page-heading h1,
.article-hero h1,
.issue-hero h1 {
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.journal-hero h1 {
    font-size: clamp(2.1rem, 4vw, 4rem);
    max-width: 760px;
}

.journal-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 690px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.button,
.icon-link {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--brand-dark);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
}

.button.primary,
.icon-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.journal-hero .button {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.journal-hero .button.primary {
    background: #fff;
    border-color: #fff;
    color: var(--brand-dark);
}

.issue-panel {
    align-self: end;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    display: grid;
    gap: 8px;
    padding: 22px;
}

.issue-panel span,
.issue-panel a,
.article-hero aside span,
.article-row small,
.issue-card small {
    color: var(--muted);
    font-size: 0.84rem;
}

.issue-panel strong {
    font-size: 1.2rem;
}

.metrics-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 34px;
}

.metrics-grid div {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 2px;
    padding: 22px;
}

.metrics-grid strong {
    color: var(--brand);
    font-size: 1.8rem;
}

.metrics-grid span {
    color: var(--muted);
}

.content-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 330px;
    margin-bottom: 42px;
}

.indexing-band {
    margin: 0 0 46px;
}

.indexing-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.indexing-card {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    min-height: 96px;
    padding: 18px;
}

.indexing-card:hover {
    border-color: #b7dec9;
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.08);
    text-decoration: none;
}

.indexing-card img {
    flex: 0 0 auto;
    max-height: 54px;
    max-width: 150px;
    object-fit: contain;
}

.indexing-card span {
    display: grid;
    gap: 4px;
}

.indexing-card strong {
    color: var(--ink);
}

.indexing-card small {
    color: var(--muted);
    line-height: 1.35;
}

.section-heading {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.section-heading h2 {
    font-size: 1.2rem;
    margin: 0;
}

.section-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.section-button {
    background: var(--paper);
    border-color: var(--brand);
    color: var(--accent);
    min-width: 160px;
}

.section-button:hover {
    background: #e7f7ef;
    color: var(--brand-dark);
    text-decoration: none;
}

.article-list,
.side-column,
.issue-grid {
    display: grid;
    gap: 12px;
}

.article-group {
    display: grid;
    gap: 10px;
}

.group-heading {
    align-items: center;
    color: var(--brand-dark);
    display: flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 10px;
    margin: 8px 0 0;
    text-transform: uppercase;
}

.group-heading::after {
    background: var(--line);
    content: "";
    flex: 1;
    height: 1px;
}

.article-row,
.info-card,
.issue-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(23, 32, 42, 0.03);
}

.article-row {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px;
}

.article-row h2,
.article-row h3 {
    font-size: 1.02rem;
    line-height: 1.35;
    margin: 0 0 5px;
}

.article-row p {
    color: var(--muted);
    margin: 0 0 3px;
}

.info-card {
    padding: 18px;
}

.info-card h2 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.info-card p {
    color: var(--muted);
    margin: 0 0 10px;
}

.page-shell,
.issue-page,
.article-page {
    padding-bottom: 46px;
    padding-top: 34px;
}

.page-shell.narrow {
    max-width: 920px;
}

.page-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 250px minmax(0, 1fr);
}

.page-nav {
    align-self: start;
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid;
    gap: 4px;
    padding: 10px;
    position: sticky;
    top: 100px;
}

.page-nav a {
    border-radius: 6px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 12px;
}

.page-nav a.is-active,
.page-nav a:hover {
    background: #e7f7ef;
    color: var(--brand-dark);
    text-decoration: none;
}

.page-heading {
    margin-bottom: 22px;
}

.page-heading h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.page-heading p {
    color: var(--muted);
    max-width: 780px;
}

.issue-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.issue-card {
    display: grid;
    gap: 14px;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 142px;
    padding: 14px;
}

.issue-card img,
.issue-hero img {
    background: #e9eef3;
    border: 1px solid var(--line);
    height: 110px;
    object-fit: cover;
    width: 76px;
}

.issue-card h2 {
    font-size: 1.02rem;
    line-height: 1.3;
    margin: 0 0 6px;
}

.issue-card p {
    color: var(--muted);
    margin: 0 0 8px;
}

.article-hero,
.issue-hero {
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 240px;
    margin-bottom: 22px;
    padding: 28px;
}

.issue-hero {
    grid-template-columns: auto minmax(0, 1fr);
}

.article-hero h1,
.issue-hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.authors {
    color: var(--muted);
    font-size: 1.05rem;
}

.article-doi {
    color: var(--ink);
    font-size: 0.96rem;
    font-weight: 700;
    margin: 12px 0 0;
    overflow-wrap: anywhere;
}

.article-doi a,
.article-hero aside a:not(.button) {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-hero aside {
    align-self: start;
    border-left: 1px solid var(--line);
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.article-hero aside strong {
    font-size: 1.4rem;
}

.article-body,
.prose {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 28px;
}

.announcement-list {
    display: grid;
    gap: 14px;
}

.announcement-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
}

.announcement-card.has-image {
    grid-template-columns: 150px minmax(0, 1fr);
}

.announcement-card img,
.content-image {
    border: 1px solid var(--line);
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.announcement-card img {
    aspect-ratio: 4 / 3;
    width: 150px;
}

.announcement-card-body {
    min-width: 0;
}

.announcement-card time {
    color: var(--muted);
    display: block;
    font-size: 0.84rem;
    margin-bottom: 6px;
}

.announcement-card h2 {
    font-size: 1.12rem;
    line-height: 1.35;
    margin: 0 0 8px;
}

.announcement-card p {
    color: var(--muted);
    margin: 0 0 10px;
}

.text-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.abstract h2 {
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.abstract p,
.prose p,
.issue-description p {
    margin-top: 0;
}

.keyword-list {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
}

.keyword-list span {
    background: #eaf8f1;
    border: 1px solid #c8ead8;
    border-radius: 999px;
    color: var(--brand-dark);
    font-size: 0.86rem;
    padding: 5px 10px;
}

.notice {
    background: #fff5df;
    border-left: 4px solid var(--gold);
    color: #5c4616;
    margin: 0;
    padding: 10px 12px;
}

.site-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 96px;
}

.site-footer div {
    display: grid;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 880px) {
    .site-footer,
    .article-hero,
    .issue-hero,
    .content-grid,
    .journal-hero {
        grid-template-columns: 1fr;
    }

    .site-footer {
        align-items: flex-start;
        display: grid;
        padding-bottom: 16px;
        padding-top: 16px;
    }

    .site-header .dropdown-menu {
        box-shadow: none;
        min-width: 0;
    }

    .journal-hero {
        padding: 30px 22px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-hero aside {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 18px;
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .contact-grid,
    .announcement-card.has-image {
        grid-template-columns: 1fr;
    }

    .page-nav {
        position: static;
    }
}

@media (max-width: 560px) {
    .site-footer,
    .home-shell,
    .page-shell,
    .issue-page,
    .article-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header .container-xl {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        height: 42px;
    }

    .metrics-grid,
    .article-row,
    .issue-card {
        grid-template-columns: 1fr;
    }

    .issue-card img {
        height: auto;
        max-height: 160px;
        width: 110px;
    }
}
