/* ==========================================================================
   Articles
   Serif headlines (Playfair Display) + calm, generous reading typography.
   ========================================================================== */
:root {
    --article-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --article-ink: #1f2624;
    --article-muted: #7b8480;
    --article-line: rgba(31, 38, 36, .1);
    --article-soft: #f6f4f0;
}

/* ---------- Shared bits ---------- */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .6rem;
    font-size: .8125rem;
    letter-spacing: .04em;
    color: var(--article-muted);
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .6;
}

.article-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .75rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--cnvs-themecolor);
    font-weight: 700;
}

.article-eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--article-ink);
    transition: color .2s ease, gap .2s ease;
}

.article-link:hover {
    color: var(--cnvs-themecolor);
    gap: .6rem;
}

.article-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--article-ink);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    pointer-events: none;
}

/* ---------- Cards (grid) ---------- */
.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--article-soft);
}

.article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.article-card:hover .article-card-media img {
    transform: scale(1.05);
}

.article-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem .25rem 0;
}

.article-card-title {
    margin: .6rem 0 .6rem;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--article-ink);
}

.article-card-title a {
    color: inherit;
}

.article-card-title a:hover {
    color: var(--cnvs-themecolor);
}

.article-card-text {
    margin-bottom: 1rem;
    color: #5d6663;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body .article-link {
    margin-top: auto;
}

/* ---------- Home: editorial lead + side articles ---------- */
.article-home {
    padding: 5.5rem 0 4.5rem;
    background: #fff;
}

.article-home-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 3rem;
}

.article-home-title {
    margin: .9rem 0 .5rem;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: var(--article-ink);
}

.article-home-title em {
    font-style: italic;
    color: var(--cnvs-themecolor);
}

.article-home-sub {
    margin: 0;
    max-width: 34rem;
    color: #5d6663;
    font-size: 1.0625rem;
}

.article-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 3rem;
}

.article-home-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.article-lead-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--article-soft);
}

.article-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.article-lead:hover .article-lead-media img {
    transform: scale(1.04);
}

.article-lead-body {
    padding-top: 1.5rem;
}

.article-lead-title {
    margin: .75rem 0 .9rem;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.25;
    color: var(--article-ink);
}

.article-lead-title a {
    color: inherit;
}

.article-lead-title a:hover {
    color: var(--cnvs-themecolor);
}

.article-lead-text {
    color: #5d6663;
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    max-width: 40rem;
}

.article-side {
    display: flex;
    flex-direction: column;
}

.article-side-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    flex: 1;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--article-line);
}

.article-side-item:first-child {
    padding-top: 0;
}

.article-side-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.article-side-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: .9rem;
    background: var(--article-soft);
}

.article-side-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.article-side-item:hover .article-side-media img {
    transform: scale(1.07);
}

.article-side-media .article-play {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    font-size: 1.4rem;
}

.article-side-title {
    margin: .4rem 0 0;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--article-ink);
}

.article-side-title a {
    color: inherit;
}

.article-side-title a:hover {
    color: var(--cnvs-themecolor);
}

/* ---------- List page: featured ---------- */
.article-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.article-featured-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--article-soft);
}

.article-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.article-featured:hover .article-featured-media img {
    transform: scale(1.04);
}

.article-featured-title {
    margin: .9rem 0 1rem;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    color: var(--article-ink);
}

.article-featured-title a {
    color: inherit;
}

.article-featured-title a:hover {
    color: var(--cnvs-themecolor);
}

.article-featured-text {
    color: #5d6663;
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ---------- Press coverage (quiet, secondary) ---------- */
.article-press {
    padding: 3.5rem 0;
    background: var(--article-soft);
    border-top: 1px solid var(--article-line);
}

.article-press-head {
    margin-bottom: 1rem;
}

.article-press-title {
    margin: 0;
    font-size: .8125rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--article-muted);
    font-weight: 700;
}

.article-press-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
}

.article-press-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .95rem 0;
    border-bottom: 1px solid var(--article-line);
    color: var(--article-ink);
}

.article-press-media {
    flex: 0 0 7.5rem;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cnvs-themecolor);
}

.article-press-headline {
    flex: 1;
    min-width: 0;
    font-size: .9375rem;
    line-height: 1.5;
    color: #46504c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.article-press-row i {
    flex: 0 0 auto;
    color: var(--article-muted);
    transition: color .2s ease, transform .2s ease;
}

.article-press-row:hover .article-press-headline {
    color: var(--article-ink);
}

.article-press-row:hover i {
    color: var(--cnvs-themecolor);
    transform: translate(2px, -2px);
}

/* ---------- Article page ---------- */
.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
}

.article-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--cnvs-themecolor);
    transition: width .1s linear;
}

.article-head {
    max-width: 820px;
    margin: 0 auto;
    padding: 3.5rem 0 2.25rem;
    text-align: center;
}

.article-head .article-meta {
    justify-content: center;
    margin-top: 1.25rem;
}

.article-crumb {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8125rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cnvs-themecolor);
}

.article-title {
    margin: 1.1rem 0 0;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--article-ink);
}

.article-standfirst {
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.65;
    color: #5d6663;
}

.article-cover {
    max-width: 1040px;
    margin: 1rem auto 3.5rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--article-soft);
}

.article-cover img,
.article-cover iframe {
    display: block;
    width: 100%;
    border: 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr);
}

.article-body {
    grid-column: 2;
    min-width: 0;
}

.article-rail {
    grid-column: 1;
    grid-row: 1;
    display: none;
    justify-content: flex-end;
    padding-right: 2.5rem;
}

.article-rail-inner {
    position: sticky;
    top: 130px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

@media (min-width: 1200px) {
    .article-rail {
        display: flex;
    }
}

.article-share-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--article-line);
    border-radius: 50%;
    background: #fff;
    color: var(--article-ink);
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.article-share-btn:hover,
.article-share-btn.is-done {
    background: var(--cnvs-themecolor);
    border-color: var(--cnvs-themecolor);
    color: #fff;
}

.article-share-btn:hover {
    transform: translateY(-2px);
}

/* Reading typography */
.article-prose {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #2a3230;
    overflow-wrap: break-word;
}

.article-prose > *:first-child {
    margin-top: 0;
}

.article-prose p {
    margin: 0 0 1.6rem;
}

.article-prose > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--article-ink);
}

.article-prose h1,
.article-prose h2,
.article-prose h3,
.article-prose h4 {
    font-family: var(--article-serif);
    font-weight: 500;
    color: var(--article-ink);
    line-height: 1.3;
    margin: 3rem 0 1rem;
}

.article-prose h1,
.article-prose h2 {
    font-size: 2rem;
}

.article-prose h3 {
    font-size: 1.5rem;
}

.article-prose h4 {
    font-size: 1.25rem;
}

.article-prose a {
    color: var(--cnvs-themecolor);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-prose a:hover {
    text-decoration-thickness: 2px;
}

.article-prose ul,
.article-prose ol {
    margin: 0 0 1.75rem;
    padding-left: 1.5rem;
}

.article-prose li {
    margin-bottom: .6rem;
    padding-left: .35rem;
}

.article-prose li::marker {
    color: var(--cnvs-themecolor);
    font-weight: 700;
}

.article-prose blockquote {
    margin: 2.75rem 0;
    padding: .25rem 0 .25rem 1.75rem;
    border-left: 3px solid var(--cnvs-themecolor);
    background: none;
}

.article-prose blockquote p {
    margin: 0;
    font-family: var(--article-serif);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--article-ink);
}

.article-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2.5rem auto;
    border-radius: 1rem;
}

.article-prose figure {
    margin: 2.5rem 0;
}

.article-prose figure img {
    margin: 0 auto;
}

.article-prose figcaption {
    margin-top: .75rem;
    text-align: center;
    font-size: .875rem;
    color: var(--article-muted);
}

.article-prose iframe,
.article-prose video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 2.5rem 0;
    border: 0;
    border-radius: 1rem;
    background: #000;
}

.article-prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 1rem;
}

.article-prose th,
.article-prose td {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--article-line);
    text-align: left;
}

.article-prose th {
    background: var(--article-soft);
    font-weight: 700;
}

.article-prose hr {
    margin: 3rem auto;
    width: 4rem;
    border: 0;
    border-top: 2px solid var(--article-line);
    opacity: 1;
}

.article-end {
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--article-line);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.article-end-share {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.article-end-share > span {
    margin-right: .5rem;
    font-size: .8125rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--article-muted);
}

/* CTA */
.article-cta {
    margin-top: 3.5rem;
    padding: 2.5rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(28rem 14rem at 100% 0, rgba(var(--cnvs-themecolor-rgb), .18), transparent 70%),
        var(--article-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.article-cta h3 {
    margin: 0 0 .35rem;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--article-ink);
}

.article-cta p {
    margin: 0;
    color: #5d6663;
}

/* Prev / next */
.article-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.article-pager a {
    display: block;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--article-line);
    border-radius: 1rem;
    color: var(--article-ink);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.article-pager a:hover {
    border-color: var(--cnvs-themecolor);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

.article-pager .is-next {
    text-align: right;
    grid-column: 2;
}

.article-pager small {
    display: block;
    margin-bottom: .4rem;
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cnvs-themecolor);
    font-weight: 700;
}

.article-pager strong {
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-more {
    margin-top: 5rem;
    padding: 4.5rem 0 4rem;
    background: var(--article-soft);
}

.article-more-title {
    margin: 0 0 2.5rem;
    text-align: center;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .article-home {
        padding: 3.5rem 0 3rem;
    }

    .article-home-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .article-featured {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .article-press-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .article-head {
        padding: 2.25rem 0 1.5rem;
    }

    .article-cover {
        margin: .5rem -1rem 2.25rem;
        border-radius: 0;
    }

    .article-prose {
        font-size: 1.0625rem;
        line-height: 1.85;
    }

    .article-prose > p:first-of-type {
        font-size: 1.15rem;
    }

    .article-prose h1,
    .article-prose h2 {
        font-size: 1.6rem;
    }

    .article-prose h3 {
        font-size: 1.3rem;
    }

    .article-prose blockquote p {
        font-size: 1.25rem;
    }

    .article-side-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 1rem;
    }

    .article-side-title {
        font-size: 1.1rem;
    }

    .article-press-row {
        flex-wrap: wrap;
        gap: .15rem .75rem;
    }

    .article-press-media {
        flex-basis: 100%;
    }

    .article-press-row i {
        display: none;
    }

    .article-cta {
        padding: 1.75rem;
    }

    .article-pager {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-pager .is-next {
        grid-column: 1;
    }
}

/* ---------- Round 2 refinements ---------- */

/* Article header: breathing room below the sticky top bar */
.article-head {
    padding: 5rem 0 2.5rem;
}

.article-crumb {
    padding: .45rem 1rem .45rem .8rem;
    border: 1px solid var(--article-line);
    border-radius: 50rem;
    color: var(--article-muted);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.article-crumb:hover {
    color: var(--cnvs-themecolor);
    border-color: var(--cnvs-themecolor);
}

/* "Keep reading": quieter than the main article */
.article-more {
    margin-top: 5rem;
    padding: 4rem 0 4.5rem;
}

.article-more-title {
    margin-bottom: 2.25rem;
    font-size: 1.6rem;
}

.article-more .article-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
}

.article-more .article-card-text {
    -webkit-line-clamp: 2;
    font-size: .9375rem;
}

/* Article list header + search */
.article-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--article-line);
    scroll-margin-top: 110px;
}

.article-list-title {
    margin: 0;
    font-family: var(--article-serif);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--article-ink);
}

.article-list-count {
    margin: .25rem 0 0;
    font-size: .875rem;
    color: var(--article-muted);
}

.article-list-count a {
    color: var(--cnvs-themecolor);
    font-weight: 600;
}

.article-search {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.article-search i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--article-muted);
    pointer-events: none;
}

.article-search input {
    width: 100%;
    height: 46px;
    padding: 0 1.1rem 0 2.6rem;
    border: 1px solid var(--article-line);
    border-radius: 50rem;
    background: #fff;
    font-size: .9375rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.article-search input:focus {
    outline: 0;
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 0 0 4px rgba(var(--cnvs-themecolor-rgb), .12);
}

.article-empty {
    padding: 4rem 0;
    text-align: center;
    color: var(--article-muted);
}

/* Pagination */
.article-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.article-page-list {
    display: none;
    align-items: center;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-page-status {
    font-size: .875rem;
    color: var(--article-muted);
    min-width: 6.5rem;
    text-align: center;
}

.article-page-num,
.article-page-gap {
    min-width: 42px;
    height: 42px;
    padding: 0 .4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--article-ink);
}

.article-page-gap {
    color: var(--article-muted);
    min-width: 24px;
}

a.article-page-num:hover {
    background: var(--article-soft);
    color: var(--cnvs-themecolor);
}

.article-page-num.is-current {
    background: var(--article-ink);
    color: #fff;
}

.article-page-nav {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 46px;
    padding: 0 1.25rem;
    border: 1px solid var(--article-line);
    border-radius: 50rem;
    font-weight: 600;
    font-size: .9375rem;
    color: var(--article-ink);
    background: #fff;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

a.article-page-nav:hover {
    border-color: var(--cnvs-themecolor);
    color: var(--cnvs-themecolor);
}

.article-page-nav.is-disabled {
    opacity: .4;
    pointer-events: none;
}

@media (min-width: 768px) {
    .article-page-list {
        display: flex;
    }

    .article-page-status {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .article-head {
        padding: 3.5rem 0 1.5rem;
    }

    .article-search {
        max-width: none;
    }

    .article-page-nav span {
        display: none;
    }

    .article-page-nav {
        padding: 0;
        width: 46px;
        justify-content: center;
    }
}

.article-pager .is-next strong {
    text-align: right;
}

/* Home: balanced side column (natural height, top aligned, roomier thumbnails) */
.article-home-grid {
    align-items: start;
}

.article-side {
    justify-content: flex-start;
}

.article-side-item {
    flex: none;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
    padding: 1.75rem 0;
}

.article-side-item:first-child {
    padding-top: 0;
}

.article-side-media {
    aspect-ratio: 4 / 3;
}

.article-side-title {
    margin-top: .5rem;
    font-size: 1.3rem;
}

.article-side-text {
    margin: .6rem 0 0;
    font-size: .9375rem;
    line-height: 1.65;
    color: #5d6663;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-press-media {
    flex-basis: 9rem;
}

@media (max-width: 575.98px) {
    .article-side-item {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 1rem;
    }

    .article-side-text {
        display: none;
    }

    .article-side-title {
        font-size: 1.1rem;
    }

    .article-press-media {
        flex-basis: 100%;
    }
}

.article-side {
    align-self: stretch;
    justify-content: space-between;
}

/* Prevent full-bleed cover from causing horizontal scroll on phones */
#content:has(.article-head) {
    overflow-x: clip;
}

@media (max-width: 575.98px) {
    .article-cover {
        margin-left: -.75rem;
        margin-right: -.75rem;
    }
}

/* Video cover: own the 16:9 ratio (FitVids is skipped via .no-fv, so no double padding) */
.article-cover.is-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.article-cover.is-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Videos inserted inside the article body get wrapped by FitVids (padding-top: 56.25%).
   Let the wrapper carry the ratio, spacing and rounding; the iframe just fills it. */
.article-prose .fluid-width-video-wrapper {
    margin: 2.5rem 0;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
}

.article-prose .fluid-width-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
}

/* Cover image: consistent 16:9 frame so tall/portrait photos don't push the text down */
.article-cover:not(.is-video) img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 30%;
}
