/* Homepage section order */
body.page_index {
    display: flex;
    flex-direction: column;
}

body.page_index > header.main-header {
    order: 1;
}

body.page_index > aside {
    display: contents;
}

body.page_index > aside .additional-home-content {
    display: contents;
}

/* 1. Intro */
body.page_index > aside .stel-home-intro-section {
    order: 2;
}

/* 2. Announcements */
body.page_index > main#immersion_content_main {
    order: 3;
    width: 100%;
}

/* 3. Calls for Papers */
body.page_index > aside .stel-cfp-section {
    order: 4;
}

/* 4. Previous Special Issues */
body.page_index > aside .stel-issues-grid-section {
    order: 5;
}

body.page_index > footer.main-footer {
    order: 6;
}

body.page_index > #loginModal {
    order: 7;
}

/* Width wrapper */
.stel-page-width {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    .stel-page-width {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .stel-page-width {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .stel-page-width {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .stel-page-width {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .stel-page-width {
        max-width: 1320px;
    }
}

/* Intro + LinkedIn section */
.stel-home-intro-section {
    width: 100%;
    padding: 2.5rem 0 2rem;
}

.stel-intro-with-sidebar {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.stel-intro-main {
    flex: 1 1 auto;
    min-width: 0;
}

.stel-intro-main p {
    font: inherit;
    color: inherit;
    line-height: inherit;
    margin: 0 0 1em 0;
}

/* Ensure consistent body text across sections */
.stel-cfp-content p,
.stel-issues-grid-section p {
    font: inherit;
    color: inherit;
    line-height: inherit;
    margin: 0 0 1em 0;
}

.stel-intro-sidebar {
    flex: 0 0 320px;
    max-width: 320px;
    width: 100%;
    padding-top: 0.5rem;
}

.stel-intro-sidebar iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: 0;
}

.stel-intro-with-sidebar {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.stel-intro-main {
    padding-top: 2rem;
}

/* Announcements */
.announcements.section_dark {
    margin: 0;
}


/* Hide the Current Issue block on the journal landing page only */
body.page_index main#immersion_content_main > section.issue {
    display: none !important;
}

/* Shared heading styling */
.stel-issues-grid-section .stel-special-issues-heading,
.stel-cfp-section .stel-special-issues-heading {
    font-family: 'Spectral', serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    margin: 3.5rem 0 1.5rem 0 !important;
    color: #000 !important;
}

/* Calls for papers */
.stel-cfp-section {
    width: 100%;
    padding: 3rem 0;
    background: #ffffff;
}

.stel-cfp-panel {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.stel-cfp-image {
    flex: 0 0 300px;
    max-width: 300px;
    width: 100%;
}

.stel-cfp-image img {
    display: block;
    width: 100%;
    height: auto;
}

.stel-cfp-content {
    flex: 1 1 auto;
    min-width: 0;
}

.stel-cfp-title {
    font-family: 'Spectral', serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.75rem 0;
}

.stel-cfp-editors {
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.stel-cfp-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.65rem 1.2rem;
    background: #1F5F73;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.stel-cfp-button:hover {
    background: #174c5c;
}

/* Special issues */
.stel-issues-grid-section {
    width: 100%;
    padding: 3rem 0;
    margin-top: 2.5rem;
    background: #f7f9fa;
}

.stel-issues-grid-intro {
    margin-bottom: 2rem;
}

/* Grid */
.stel-issues-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stel-issue-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #d7e0e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none !important;
}

.stel-issue-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.stel-issue-card-title {
    padding: 1rem;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .stel-intro-with-sidebar {
        display: block;
    }

    .stel-intro-sidebar {
        margin-top: 1.5rem;
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .stel-cfp-panel {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .stel-issues-grid {
        grid-template-columns: 1fr;
    }
}

/* Article pages */
/*
 * All rules in this section are restricted to article pages. The existing
 * homepage layout and styling above remain unchanged.
 */

/* General article-page canvas */
body.page_article main#immersion_content_main {
    max-width: 1320px;
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
    background: #ffffff !important;
    color: #000000 !important;
}

body.page_article main#immersion_content_main > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 4rem;
    row-gap: 0;
    align-items: start;
    margin-right: 0;
    margin-left: 0;
}

/*
 * Let the principal article elements participate directly in the page grid.
 * This makes it possible to place the cover, PDF link and publication details
 * together in the right-hand column without editing an OJS template.
 */
body.page_article .article-page,
body.page_article .article-sidebar {
    display: contents;
}

/* Main-column placement */
body.page_article .article-page__header,
body.page_article .article-page > h3.label,
body.page_article .article-page > h3.label + p,
body.page_article .article-page > ol.references {
    grid-column: 1;
}

body.page_article .article-page__header {
    grid-row: 1 / span 4;
    padding: 0;
    margin: 0 0 2.75rem;
    background: transparent !important;
    color: #000000 !important;
}

/* Sidebar placement */
body.page_article .article-sidebar > figure {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 1.5rem;
}

body.page_article .article-page__galleys {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 1.5rem;
}

body.page_article .article-page > .article-page__meta {
    grid-column: 2;
    grid-row: 3;
    margin: 0 0 1.75rem;
}

body.page_article .article-sidebar > .article-side__title {
    grid-column: 2;
    grid-row: 4;
}

body.page_article .article-sidebar > .article-side__title + ul {
    grid-column: 2;
    grid-row: 5;
}

body.page_article .article-page > h3.label:first-of-type {
    grid-row: 5;
    transform: translateY(-10rem);
    margin-bottom: -10rem;
    position: relative;
    z-index: 2;
}

body.page_article .article-page > h3.label:first-of-type + p {
    grid-row: 5;
    padding-top: 5.1rem;
    transform: translateY(-10rem);
    margin-bottom: -10rem;
    position: relative;
    z-index: 1;
}

/* References follow the abstract in the main reading column. */
body.page_article .article-page > h3.label:nth-of-type(2) {
    grid-row: 6;
}

body.page_article .article-page > ol.references {
    grid-row: 7;
}

/* Cover image */
body.page_article .article-sidebar figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid #ead0d2;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Article hierarchy */
body.page_article .article-page,
body.page_article .article-page h1,
body.page_article .article-page h2,
body.page_article .article-page h3,
body.page_article .article-page h4,
body.page_article .article-page p,
body.page_article .article-page li,
body.page_article .article-page dt,
body.page_article .article-page dd,
body.page_article .article-page .article-page__meta,
body.page_article .article-page .label,
body.page_article .article-sidebar,
body.page_article .article-sidebar h2,
body.page_article .article-sidebar li {
    color: #000000 !important;
}

body.page_article .article-page__header > p.article-page__meta:first-of-type {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.page_article .article-page__header > p.article-page__meta:nth-of-type(2) {
    max-width: 760px;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
}

body.page_article .article-page__title {
    max-width: 900px;
    margin: 0 0 1.6rem;
    font-family: 'Spectral', serif;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #000000 !important;
}

/* Authors and affiliations */
body.page_article .authors-string {
    margin: 0;
    padding: 0;
}

body.page_article .authors-string__item {
    font-size: 1.08rem;
    font-weight: 600;
}

body.page_article .article-details__author.hidden {
    display: block !important;
}

body.page_article .article-details__author {
    margin-top: 0.55rem;
    font-size: 0.94rem;
    line-height: 1.5;
}

body.page_article .article-details__author-orcid {
    margin-top: 0.25rem;
}

body.page_article .author-symbol {
    display: none !important;
}

/* Ordinary links are black; the PDF control remains white. */
body.page_article .article-page a,
body.page_article .article-sidebar a {
    color: #000000 !important;
    text-decoration-color: rgba(0, 0, 0, 0.4);
    text-underline-offset: 0.15em;
}

body.page_article .article-page a:hover,
body.page_article .article-page a:focus,
body.page_article .article-sidebar a:hover,
body.page_article .article-sidebar a:focus {
    color: #000000 !important;
    text-decoration-color: #000000;
}

/* PDF control */
body.page_article .article-page__galleys .list-galleys {
    margin: 0;
    padding: 0;
}

body.page_article .article-page__galleys .list-galleys li {
    width: 100%;
}

body.page_article .article-page a.article__btn.pdf,
body.page_article .article-page a.article__btn.pdf:hover,
body.page_article .article-page a.article__btn.pdf:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 5px;
    background: #B5121B !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

body.page_article .article-page a.article__btn.pdf::before {
    content: "↓";
    margin-right: 0.55rem;
    font-size: 1.15em;
    line-height: 1;
}

body.page_article .article-page a.article__btn.pdf:hover,
body.page_article .article-page a.article__btn.pdf:focus {
    background: #8F0E15 !important;
    transform: translateY(-1px);
}

/* DOI and publication information */
body.page_article .article-page > .article-page__meta dl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.65rem 0.9rem;
    margin: 0;
    padding: 1.1rem 0;
    border-top: 1px solid #e4b9bc;
    border-bottom: 1px solid #e4b9bc;
    font-size: 0.9rem;
    line-height: 1.45;
}

body.page_article .article-page > .article-page__meta dl dt,
body.page_article .article-page > .article-page__meta dl dd {
    margin: 0;
    min-width: 0;
}

body.page_article .article-page > .article-page__meta dl dt {
    font-weight: 700;
}

body.page_article .article-page > .article-page__meta dl dd {
    min-width: 0;
    max-width: 100%;
}

/* Allow long DOI URLs to wrap cleanly within the metadata column. */
body.page_article .article-page > .article-page__meta dl dd a[href^="https://doi.org/"],
body.page_article .article-page > .article-page__meta dl dd a[href^="http://doi.org/"],
body.page_article .article-page > .article-page__meta dl dd a[href^="http://dx.doi.org/"],
body.page_article .article-page > .article-page__meta dl dd a[href^="https://dx.doi.org/"] {
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: none;
}

/* Give the DOI row the full sidebar width instead of squeezing it beside its label. */
body.page_article .article-page > .article-page__meta dl > dt:first-of-type,
body.page_article .article-page > .article-page__meta dl > dd:first-of-type {
    grid-column: 1 / -1;
}

body.page_article .article-page > .article-page__meta dl > dt:first-of-type {
    margin-bottom: -0.35rem;
}

body.page_article .article-page > .article-page__meta dl > dd:first-of-type {
    width: 100%;
    max-width: 100%;
}

/* Match the Published row to the full-width DOI style. */
body.page_article .article-page > .article-page__meta dl > dt:nth-of-type(3),
body.page_article .article-page > .article-page__meta dl > dd:nth-of-type(3) {
    grid-column: 1 / -1;
}

body.page_article .article-page > .article-page__meta dl > dt:nth-of-type(3) {
    margin-top: 0.35rem;
    margin-bottom: -0.35rem;
}

body.page_article .article-page > .article-page__meta dl > dd:nth-of-type(3) {
    width: 100%;
    max-width: 100%;
}

/* Hide the Submitted label and its corresponding date. */
body.page_article .article-page > .article-page__meta dl > dt:nth-of-type(2),
body.page_article .article-page > .article-page__meta dl > dd:nth-of-type(2) {
    display: none !important;
}

/* Abstract panel */
body.page_article .article-page > h3.label:first-of-type {
    margin-top: 0;
    padding: 1.35rem 1.75rem 0;
    border-top: 1px solid #ead0d2;
    border-right: 1px solid #ead0d2;
    border-left: 5px solid #B5121B;
    border-radius: 6px 6px 0 0;
    background: transparent !important;
    font-family: 'Spectral', serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.page_article .article-page > h3.label:first-of-type + p {
    margin-top: 0;
    padding-right: 1.75rem;
    padding-bottom: 1.75rem;
    padding-left: 1.75rem;
    border-right: 1px solid #ead0d2;
    border-bottom: 1px solid #ead0d2;
    border-left: 5px solid #B5121B;
    border-radius: 0 0 6px 6px;
    background: #fff7f7 !important;
    font-size: 1.02rem;
    line-height: 1.75;
}

/* References section */
body.page_article .article-page > h3.label:nth-of-type(2) {
    margin: 2.75rem 0 1.25rem;
    padding: 0 0 0.7rem;
    border: 0;
    border-bottom: 3px solid #B5121B;
    border-radius: 0;
    background: transparent !important;
    font-family: 'Spectral', serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #B5121B !important;
    transform: none;
}

body.page_article .article-page > ol.references {
    margin: 0 0 1rem;
    padding-left: 2.2rem;
    font-size: 0.96rem;
    line-height: 1.65;
}

body.page_article .article-page > ol.references li {
    margin: 0 0 1rem;
    padding-left: 0.35rem;
    overflow-wrap: anywhere;
}

body.page_article .article-page > ol.references li::marker {
    color: #B5121B;
    font-weight: 700;
}

body.page_article .article-page > ol.references a {
    color: #000000 !important;
    overflow-wrap: anywhere;
}

body.page_article .article-page > ol.references a:hover,
body.page_article .article-page > ol.references a:focus {
    color: #B5121B !important;
}

/* Keyword tags */
body.page_article .article-sidebar > .article-side__title {
    margin: 0 0 0.9rem;
    font-family: 'Spectral', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.page_article .article-sidebar > .article-side__title + ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page_article .article-sidebar > .article-side__title + ul li {
    margin: 0;
    padding: 0.4rem 0.7rem;
    border: 1px solid #e4b9bc;
    border-radius: 999px;
    background: #fff2f3;
    font-size: 0.82rem;
    line-height: 1.25;
}


/* Red journal accents */
body.page_article .article-page__header > p.article-page__meta:first-of-type,
body.page_article .article-side__title,
body.page_article .article-page > h3.label {
    color: #B5121B !important;
}

body.page_article .article-page__header > p.article-page__meta:nth-of-type(2) a:hover,
body.page_article .article-page__header > p.article-page__meta:nth-of-type(2) a:focus,
body.page_article .authors-string__item a:hover,
body.page_article .authors-string__item a:focus,
body.page_article .article-details__author-orcid a:hover,
body.page_article .article-details__author-orcid a:focus {
    color: #B5121B !important;
    text-decoration-color: #B5121B;
}

/* Responsive article layout */
@media (max-width: 991px) {
    body.page_article main#immersion_content_main {
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }

    body.page_article main#immersion_content_main > .row {
        grid-template-columns: minmax(0, 1fr) 240px;
        column-gap: 2.5rem;
    }

    body.page_article .article-page__title {
        font-size: clamp(2rem, 5vw, 2.7rem);
    }
}

@media (max-width: 767px) {
    body.page_article main#immersion_content_main > .row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    body.page_article .article-page,
    body.page_article .article-sidebar {
        display: block;
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body.page_article .article-page__header {
        margin-bottom: 2rem;
    }

    body.page_article .article-sidebar {
        order: 2;
        margin-top: 2.5rem;
    }

    body.page_article .article-sidebar > figure {
        max-width: 320px;
        margin: 0 auto 1.5rem;
    }

    body.page_article .article-page__galleys,
    body.page_article .article-page > .article-page__meta {
        width: 100%;
        max-width: 420px;
        margin: 0 0 1.5rem;
    }

    body.page_article .article-page > h3.label:first-of-type {
        margin-top: 2.5rem;
        margin-bottom: 0;
        transform: none;
    }

    body.page_article .article-page > h3.label:first-of-type + p {
        margin-bottom: 0;
        padding-top: 0.55rem;
        transform: none;
    }

    body.page_article .article-page__title {
        font-size: clamp(2rem, 9vw, 2.65rem);
    }

    body.page_article .article-page > h3.label:nth-of-type(2) {
        margin-top: 2.5rem;
    }

    body.page_article .article-page > ol.references {
        padding-left: 1.9rem;
    }
}

@media (max-width: 575px) {
    body.page_article main#immersion_content_main {
        padding-top: 2rem;
        padding-right: 18px;
        padding-left: 18px;
    }

    body.page_article .article-page > h3.label:first-of-type {
        padding: 1.25rem 1.25rem 0;
    }

    body.page_article .article-page > h3.label:first-of-type + p {
        padding: 0.55rem 1.25rem 1.35rem;
        font-size: 1rem;
        line-height: 1.68;
    }
}


/* =========================================================
   Issue pages
   ========================================================= */

/* General issue-page canvas */
body.page_issue main#immersion_content_main {
    padding: 3.5rem 0 4.5rem;
    background: #ffffff !important;
    color: #000000 !important;
}

body.page_issue main#immersion_content_main .container {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* Issue header */
body.page_issue .issue > .container:first-of-type {
    margin-bottom: 2.75rem;
}

body.page_issue .issue__header {
    max-width: 980px;
    margin: 0;
    padding: 0 0 2rem;
    border-bottom: 1px solid #e4b9bc;
    background: transparent !important;
    color: #000000 !important;
}

body.page_issue .issue__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
    max-width: 980px;
    margin: 0 0 1.5rem;
    padding: 0;
    font-family: 'Spectral', serif;
    font-size: clamp(2.3rem, 4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #000000 !important;
}

body.page_issue .issue__volume,
body.page_issue .issue__number {
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #B5121B !important;
}

body.page_issue .issue__localized_name {
    flex-basis: 100%;
    display: block;
    margin-top: 0.35rem;
    color: #000000 !important;
}

body.page_issue .issue__doi,
body.page_issue .issue__meta {
    max-width: 760px;
    margin: 0;
    color: #000000 !important;
    font-size: 0.94rem;
    line-height: 1.5;
}

body.page_issue .issue__doi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.1rem;
    margin-bottom: 0.85rem;
}

body.page_issue .issue__doi .type {
    display: block;
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #B5121B !important;
}

body.page_issue .issue__doi .id {
    display: block;
    min-width: 0;
}

body.page_issue .issue__doi a {
    display: inline-block;
    max-width: 100%;
    color: #000000 !important;
    text-decoration-color: rgba(0, 0, 0, 0.4);
    text-underline-offset: 0.15em;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.page_issue .issue__doi a:hover,
body.page_issue .issue__doi a:focus {
    color: #B5121B !important;
    text-decoration-color: #B5121B;
}

body.page_issue .issue__meta {
    margin-top: 0.2rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0d6d8;
    font-weight: 600;
}

/* Issue description */
body.page_issue .issue-desc {
    display: block;
    margin: 0;
}

body.page_issue .issue-desc > [class*="col-"] {
    width: 100%;
    max-width: 940px;
    flex: 0 0 100%;
    padding: 1.6rem 1.8rem 1.75rem;
    border-top: 1px solid #ead0d2;
    border-right: 1px solid #ead0d2;
    border-bottom: 1px solid #ead0d2;
    border-left: 5px solid #B5121B;
    border-radius: 6px;
    background: #fff7f7 !important;
}

body.page_issue .issue-desc__title {
    margin: 0 0 0.75rem;
    padding: 0;
    font-family: 'Spectral', serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #B5121B !important;
}

body.page_issue .issue-desc__content,
body.page_issue .issue-desc__content p {
    color: #000000 !important;
    font-size: 1.02rem;
    line-height: 1.75;
}

body.page_issue .issue-desc__content p {
    margin: 0 0 1em;
}

body.page_issue .issue-desc__content p:last-child {
    margin-bottom: 0;
}

/* Section headings */
body.page_issue .issue-section {
    margin: 0;
    padding: 0;
    background: transparent !important;
}

body.page_issue .issue-section + .issue-section {
    margin-top: 3.5rem;
}

body.page_issue .issue-section__header {
    display: block;
    margin: 0 0 1.25rem;
}

body.page_issue .issue-section__title {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 0.75rem;
    border-bottom: 3px solid #B5121B;
    font-family: 'Spectral', serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #B5121B !important;
}

/* Article list */
body.page_issue .issue-section__toc {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page_issue .issue-section__toc-item {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #ead0d2;
}

body.page_issue .issue-section__toc-item:first-child {
    border-top: 1px solid #ead0d2;
}

body.page_issue .issue-section__toc-item::marker {
    content: "";
}

body.page_issue .issue-section__toc .article {
    margin: 0;
    padding: 1.75rem 0;
    background: #ffffff !important;
    color: #000000 !important;
}

body.page_issue .issue-section__toc .article > .row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin: 0;
}

body.page_issue .issue-section__toc .article > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
}

/* Article cover */
body.page_issue .article__img {
    margin: 0;
}

body.page_issue .article__img a {
    display: block;
    text-decoration: none !important;
}

body.page_issue .article__img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid #ead0d2;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.page_issue .article__img a:hover img,
body.page_issue .article__img a:focus img {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.14);
}

/* Article text */
body.page_issue .article__meta {
    margin: 0 0 0.55rem;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: #B5121B !important;
}

body.page_issue .article__title {
    max-width: 900px;
    margin: 0 0 1.15rem;
    font-family: 'Spectral', serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

body.page_issue .article__title a {
    color: #000000 !important;
    text-decoration: none !important;
}

body.page_issue .article__title a:hover,
body.page_issue .article__title a:focus {
    color: #B5121B !important;
    text-decoration: underline !important;
    text-decoration-color: #B5121B !important;
    text-underline-offset: 0.16em;
}

/* Issue-page PDF button */
body.page_issue .article__btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page_issue .article__btn-group li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page_issue a.article__btn.pdf,
body.page_issue a.article__btn.pdf:hover,
body.page_issue a.article__btn.pdf:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    min-height: 2.65rem;
    padding: 0.65rem 1.05rem;
    border: 0;
    border-radius: 5px;
    background: #B5121B !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

body.page_issue a.article__btn.pdf::before {
    content: "↓";
    margin-right: 0.5rem;
    font-size: 1.08em;
    line-height: 1;
}

body.page_issue a.article__btn.pdf:hover,
body.page_issue a.article__btn.pdf:focus {
    background: #8F0E15 !important;
    transform: translateY(-1px);
}

/* Responsive issue layout */
@media (max-width: 991px) {
    body.page_issue main#immersion_content_main {
        padding-top: 2.75rem;
        padding-bottom: 3.75rem;
    }

    body.page_issue .issue-section__toc .article > .row {
        grid-template-columns: 145px minmax(0, 1fr);
        gap: 1.6rem;
    }

    body.page_issue .article__title {
        font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    }
}

@media (max-width: 767px) {
    body.page_issue main#immersion_content_main {
        padding-top: 2.25rem;
        padding-bottom: 3.25rem;
    }

    body.page_issue .issue__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    body.page_issue .issue-desc > [class*="col-"] {
        padding: 1.4rem 1.35rem 1.55rem;
    }

    body.page_issue .issue-section__toc .article {
        padding: 1.5rem 0;
    }

    body.page_issue .issue-section__toc .article > .row {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 1.25rem;
    }

    body.page_issue .article__meta {
        font-size: 0.78rem;
    }

    body.page_issue .article__title {
        margin-bottom: 0.95rem;
        font-size: 1.35rem;
    }
}

@media (max-width: 575px) {
    body.page_issue main#immersion_content_main .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    body.page_issue .issue > .container:first-of-type {
        margin-bottom: 2.25rem;
    }

    body.page_issue .issue__header {
        padding-bottom: 1.6rem;
    }

    body.page_issue .issue__title {
        font-size: clamp(1.85rem, 10vw, 2.45rem);
    }

    body.page_issue .issue-desc > [class*="col-"] {
        padding: 1.25rem 1.15rem 1.35rem;
    }

    body.page_issue .issue-desc__title {
        font-size: 1.4rem;
    }

    body.page_issue .issue-desc__content,
    body.page_issue .issue-desc__content p {
        font-size: 1rem;
        line-height: 1.68;
    }

    body.page_issue .issue-section__title {
        font-size: 1.5rem;
    }

    body.page_issue .issue-section__toc .article > .row {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 1rem;
    }

    body.page_issue .article__img img {
        border-radius: 4px;
    }

    body.page_issue .article__meta {
        margin-bottom: 0.4rem;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    body.page_issue .article__title {
        margin-bottom: 0.8rem;
        font-size: 1.18rem;
        line-height: 1.3;
    }

    body.page_issue a.article__btn.pdf,
    body.page_issue a.article__btn.pdf:hover,
    body.page_issue a.article__btn.pdf:focus {
        min-width: 5.8rem;
        min-height: 2.4rem;
        padding: 0.58rem 0.9rem;
        font-size: 0.82rem;
    }
}



/* =========================================================
   Issue page background fixes
   ========================================================= */

/* Remove the Immersion theme's dark backgrounds */
body.page_issue,
body.page_issue main,
body.page_issue .issue,
body.page_issue .issue-section,
body.page_issue .issue > .container,
body.page_issue .issue-section > .container,
body.page_issue .issue-section .row,
body.page_issue .issue-section__header,
body.page_issue .issue-section__toc,
body.page_issue .issue-section__toc-item,
body.page_issue .article,
body.page_issue .article > .row {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Make links and headings match the article pages */
body.page_issue h1,
body.page_issue h2,
body.page_issue h3,
body.page_issue h4,
body.page_issue p,
body.page_issue li,
body.page_issue a {
    color: #000000 !important;
}

body.page_issue .issue-section__title,
body.page_issue .issue-desc__title,
body.page_issue .article__meta {
    color: #B5121B !important;
}

/* Ensure no inherited dark blocks remain */
body.page_issue [class*="section_dark"],
body.page_issue .section_dark {
    background: #ffffff !important;
}
