/* Single news (post) template — Figma node 454:168.
   Full-bleed featured-image hero + article body + related news.
   Loaded only on single posts (see ctmfg_enqueue); reuses .news-card* from
   blocks/news_cards.css for the related cards. */
.single-news__hero {
    position: relative;
    width: 100%;
    height: min(846px, 59vw);
    min-height: 360px;
    background: var(--ct-navy) center/cover no-repeat;
}
/* (Header legibility scrim now lives on .site-header--transparent::before.) */

.single-news .container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 86px;
    box-sizing: border-box;
}

.single-news__eyebrow {
    color: var(--ct-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin: 50px 0 26px;
}
.single-news__eyebrow span { font-weight: 600; }

.single-news__title {
    color: var(--ct-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 3.6vw, 51px);
    line-height: 1.15;
    margin: 0 0 14px;
}
.single-news__date {
    color: var(--ct-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 30px;
}

/* Article body (post the_content) — navy text, right-aligned lead image. */
.single-news__body {
    color: var(--ct-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
}
.single-news__body p {
    color: var(--ct-navy);
    margin: 0 0 24px;
}
.single-news__body img { max-width: 100%; height: auto; display: block; }
.single-news__body .alignright {
    float: right;
    width: 49%;
    max-width: 586px;
    margin: 6px 0 24px 40px;
}
.single-news__body .alignleft {
    float: left;
    width: 49%;
    max-width: 586px;
    margin: 6px 40px 24px 0;
}
.single-news__body figure { margin: 0; }
.single-news__body::after { content: ""; display: block; clear: both; }

/* Gutenberg core Columns block (50/50 text + image). The theme dequeues the
   block-library CSS, so reproduce the essential flex layout here, scoped to the
   article. Columns stack on small screens like the Gutenberg default. */
.single-news__body .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4vw, 64px);
    align-items: flex-start;
    margin: 0 0 24px;
}
.single-news__body .wp-block-column {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
}
.single-news__body .wp-block-column > :last-child { margin-bottom: 0; }
.single-news__body .wp-block-image { margin: 0; }
.single-news__body .wp-block-image img { width: 100%; height: auto; display: block; }
@media (max-width: 781px) {
    .single-news__body .wp-block-column { flex-basis: 100%; }
}

.single-news__divider {
    border: 0;
    border-top: 2px solid var(--ct-blue);
    margin: 56px 0 0;
}

/* Related news */
.single-news__related {
    padding: 70px 0 92px;
}
.single-news__related .container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 86px;
    box-sizing: border-box;
}
.single-news__related-title {
    text-align: center;
    color: var(--ct-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 4vw, 55px);
    margin: 0 0 40px;
}

@media (max-width: 767px) {
    .single-news__body .alignright,
    .single-news__body .alignleft {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 24px;
    }
    .single-news__eyebrow { margin-top: 32px; }
}
