
:root {
    --navy: #152b46;
    --navy-light: #233e5d;
    --accent: #547ba5;
    --text: #263445;
    --muted: #718096;
    --border: #e2e8f0;
    --surface: #ffffff;
    --background: #f4f6f9;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

a {
    color: var(--accent);
    text-decoration: none;
}

    a:hover {
        color: var(--navy);
    }

.publication {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-name {
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 1.4px;
    font-size: 13px;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 12px;
}

.header-label,
.eyebrow,
.metadata-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
    font-size: 12px;
    color: var(--muted);
}

    .breadcrumbs a {
        color: var(--muted);
    }

.article-heading {
    padding: 36px 0 30px;
}

.article-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #568a76;
}

.label-divider {
    color: #cbd5e1;
}

.article-heading h1 {
    max-width: 1050px;
    margin: 20px 0 26px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid #d6e0ec;
    border-radius: 50%;
    background: #eaf0f7;
    color: var(--navy);
    font-weight: 700;
}

.author-name {
    font-weight: 700;
    color: var(--navy);
}

.author-affiliation,
.orcid {
    font-size: 12px;
    color: var(--muted);
}

.orcid {
    display: inline-block;
    margin-top: 3px;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 8px 0 34px;
}

.metadata-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}

    .metadata-card strong {
        color: var(--navy);
        font-size: 15px;
    }

    .metadata-card > span:last-child {
        color: var(--muted);
        font-size: 11px;
    }

.article-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 26px;
}

.article-sidebar,
.article-main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.panel,
.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.panel {
    padding: 22px;
}

.content-card {
    padding: 30px;
    scroll-margin-top: 20px;
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

    .panel-heading h2,
    .section-heading h2 {
        margin: 0;
        color: var(--navy);
        font-family: Georgia, "Times New Roman", serif;
        font-weight: 500;
    }

    .panel-heading h2 {
        font-size: 19px;
    }

.section-number {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.muted,
.editorial-note {
    color: var(--muted);
    font-size: 12px;
}

.sidebar-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--border);
}

    .sidebar-stat strong {
        color: var(--navy);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 28px;
        font-weight: 500;
    }

    .sidebar-stat span {
        color: var(--muted);
        font-size: 12px;
    }

.contents-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
}

    .contents-link:last-child {
        border-bottom: 0;
    }

    .contents-link:hover {
        color: var(--accent);
        padding-left: 4px;
    }

.citation-mini p {
    font-size: 12px;
}

.citation-mini > a {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

    .section-heading h2 {
        margin-top: 5px;
        font-size: 27px;
    }

    .section-heading .muted {
        margin-bottom: 0;
    }

.heading-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: #edf2f8;
    border-radius: 7px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.abstract-text {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.9;
}

.editorial-note {
    margin: 18px 0 0;
    font-style: italic;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .keyword-list span {
        padding: 7px 12px;
        border: 1px solid #dce5ef;
        border-radius: 5px;
        background: #f7f9fc;
        color: var(--navy-light);
        font-size: 11px;
    }

.research-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

.research-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #edf2f8;
    border-radius: 7px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.research-item h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 14px;
}

.research-item p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.pdf-card {
    padding: 0;
    overflow: hidden;
}

    .pdf-card > .section-heading {
        padding: 30px 30px 20px;
        margin: 0;
    }

.open-pdf {
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
}

    .open-pdf:hover {
        background: #f3f6fa;
    }

.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 30px;
    background: #f7f9fc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pdf-file {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: #a53a3a;
    font-size: 10px;
    font-weight: 800;
}

.pdf-file strong,
.pdf-file span {
    display: block;
}

.pdf-file strong {
    color: var(--navy);
    font-size: 12px;
}

.pdf-file div span {
    color: var(--muted);
    font-size: 11px;
}

.pdf-status {
    color: #477b67;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pdf-viewer {
    display: block;
    width: 100%;
    height: 850px;
    border: 0;
    background: #e9edf2;
}

.pdf-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 30px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

    .pdf-footer a {
        font-weight: 700;
    }

.citation-box {
    padding: 20px;
    border-left: 3px solid var(--accent);
    background: #f7f9fc;
    color: #475569;
    font-size: 13px;
    line-height: 1.9;
}

.copy-button {
    margin-top: 16px;
    padding: 10px 16px;
    border: 1px solid #cfdae7;
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

    .copy-button:hover {
        background: #f3f6fa;
    }

.publication-footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

    .publication-footer p,
    .publication-footer > span {
        color: var(--muted);
        font-size: 12px;
    }

@media (max-width: 1000px) {
    .publication {
        padding: 0 24px;
    }

    .metadata-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 16px;
    }

    .panel {
        padding: 17px;
    }

    .content-card {
        padding: 22px;
    }
}

@media (max-width: 700px) {
    .publication {
        padding: 0 15px;
    }

    .publication-header {
        align-items: flex-start;
    }

    .header-label {
        display: none;
    }

    .breadcrumbs {
        gap: 7px;
        font-size: 11px;
    }

    .article-heading {
        padding-top: 22px;
    }

        .article-heading h1 {
            font-size: 30px;
        }

    .metadata-grid {
        gap: 9px;
    }

    .metadata-card {
        padding: 13px;
    }

        .metadata-card strong {
            font-size: 13px;
        }

    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .citation-mini {
        grid-column: 1 / -1;
    }

    .pdf-viewer {
        height: 650px;
    }

    .pdf-card > .section-heading,
    .pdf-toolbar,
    .pdf-footer {
        padding-left: 17px;
        padding-right: 17px;
    }
}

@media (max-width: 430px) {
    .article-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .citation-mini {
        grid-column: auto;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .pdf-status {
        display: none;
    }

    .pdf-viewer {
        height: 520px;
    }
}
