/* BCPost v2 homepage
   Page-specific hierarchy only; shared controls and shell live in components.css. */

.bcpost-home-shell {
    overflow: clip;
    color: var(--bc-color-text, #111827);
    background: var(--bc-color-page, #f6f7f9);
}

.bcpost-home-shell a {
    text-underline-offset: 0.18em;
}

.bcpost-home-shell img {
    display: block;
    max-width: 100%;
}

.bcpost-home-shell :where(a, button, input, select):focus-visible {
    outline: 3px solid var(--bc-color-focus, #328dfd);
    outline-offset: 3px;
}

.bcpost-home-shell .bcpost-container {
    width: min(100% - (2 * var(--bc-container-gutter, 1rem)), var(--bc-container-max, 82.5rem));
    margin-inline: auto;
}

/* Stable breaking-news region: readable at rest, without a moving ticker. */
.bcpost-breaking {
    border-block: 1px solid color-mix(in srgb, var(--bc-color-breaking, #d5010f) 34%, var(--bc-color-border, #d7dee7));
    background: color-mix(in srgb, var(--bc-color-breaking, #d5010f) 7%, var(--bc-color-surface, #fff));
}

.bcpost-breaking__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--bc-space-4, 1rem);
    min-height: 3rem;
    padding-block: var(--bc-space-2, 0.5rem);
}

.bcpost-breaking__label {
    display: inline-flex;
    align-items: center;
    gap: var(--bc-space-2, 0.5rem);
    min-height: 2rem;
    padding-inline: var(--bc-space-3, 0.75rem);
    border-radius: var(--bc-radius-sm, 0.25rem);
    color: #fff;
    background: var(--bc-color-breaking, #d5010f);
    font-size: var(--bc-text-xs, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.bcpost-breaking__track,
.bcpost-breaking__content {
    min-width: 0;
}

.bcpost-breaking__content {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bcpost-breaking__content a {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--bc-color-text, #111827);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bcpost-breaking__content a:not(:first-child) {
    display: none;
}

.bcpost-breaking__content a:hover {
    color: var(--bc-color-breaking, #d5010f);
}

/* Lead hierarchy */
.bcpost-home-hero {
    padding-block: clamp(1.5rem, 3.5vw, 3rem);
    border-bottom: 1px solid var(--bc-color-border, #d7dee7);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--bc-color-primary, #004edc) 6%, transparent), transparent 42%),
        var(--bc-color-surface, #fff);
}

.bcpost-hero-grid {
    display: grid;
    grid-template-columns: minmax(20rem, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(1.25rem, 2.6vw, 2.75rem);
    align-items: start;
}

.bcpost-hero-copy {
    max-width: 36rem;
    padding-top: var(--bc-space-2, 0.5rem);
}

.bcpost-kicker,
.bcpost-home-shell .cn-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--bc-space-2, 0.5rem);
    margin-bottom: var(--bc-space-3, 0.75rem);
    color: var(--bc-color-accent, #d5010f);
    font-family: var(--bc-font-sans, system-ui, sans-serif);
    font-size: var(--bc-text-xs, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-transform: uppercase;
}

.bcpost-hero-copy h1 {
    max-width: 18ch;
    margin: 0;
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.bcpost-hero-copy > p {
    max-width: 38rem;
    margin: var(--bc-space-5, 1.25rem) 0 0;
    color: var(--bc-color-text-muted, #475569);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.65;
}

.bcpost-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bc-space-3, 0.75rem);
    margin-top: var(--bc-space-6, 1.5rem);
}

.bcpost-hero-actions a,
.bcpost-editorial-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--bc-space-2, 0.5rem);
    min-height: 2.75rem;
    padding: var(--bc-space-2, 0.5rem) var(--bc-space-4, 1rem);
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-sm, 0.25rem);
    color: var(--bc-color-brand-ink, #001347);
    background: var(--bc-color-surface, #fff);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    text-decoration: none;
    transition: border-color var(--bc-transition-fast, 150ms ease), color var(--bc-transition-fast, 150ms ease), background-color var(--bc-transition-fast, 150ms ease);
}

.bcpost-hero-actions a:first-child {
    border-color: var(--bc-color-brand-navy, #07183f);
    color: #fff;
    background: var(--bc-color-brand-navy, #07183f);
}

.bcpost-hero-actions a:hover,
.bcpost-editorial-link:hover {
    border-color: var(--bc-color-primary, #004edc);
    color: #fff;
    background: var(--bc-color-primary, #004edc);
}

.bcpost-top-stories {
    min-width: 0;
}

.bcpost-story-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-md, 0.375rem);
    background: var(--bc-color-surface, #fff);
}

.bcpost-story-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bcpost-story-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--bc-color-surface-muted, #eef2f6);
}

.bcpost-story-card__media picture,
.bcpost-story-card__media img {
    width: 100%;
    height: 100%;
}

.bcpost-story-card__media img {
    object-fit: cover;
    transition: transform var(--bc-transition-base, 220ms ease);
}

.bcpost-story-card--lead {
    position: relative;
    border: 0;
    background: var(--bc-color-brand-navy, #07183f);
}

.bcpost-story-card--lead .bcpost-story-card__media {
    aspect-ratio: 3 / 2;
}

.bcpost-story-card--lead .bcpost-story-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(1, 11, 36, 0.86) 100%);
    content: "";
}

.bcpost-story-card__overlay {
    position: absolute;
    inset: auto clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bc-space-2, 0.5rem);
    color: #fff;
}

.bcpost-story-card__overlay > strong {
    flex-basis: 100%;
    max-width: 24ch;
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.55rem, 3.1vw, 3rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.bcpost-story-card__overlay > em {
    flex-basis: 100%;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: var(--bc-text-sm, 0.875rem);
    font-style: normal;
    line-height: 1.5;
}

.bcpost-topic-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding-inline: var(--bc-space-3, 0.75rem);
    border: 1px solid color-mix(in srgb, #fff 55%, transparent);
    border-radius: var(--bc-radius-pill, 999px);
    color: inherit;
    background: rgba(7, 24, 63, 0.58);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bcpost-card-meta {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: var(--bc-space-2, 0.5rem) var(--bc-space-4, 1rem);
    color: inherit;
    font-family: var(--bc-font-sans, system-ui, sans-serif);
    font-size: var(--bc-text-xs, 0.75rem);
    line-height: 1.4;
}

.bcpost-story-card__overlay .bcpost-card-meta {
    color: rgba(255, 255, 255, 0.78);
}

.bcpost-supporting-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bc-space-4, 1rem);
    margin-top: 0;
}

.bcpost-story-card--compact > a {
    display: grid;
    grid-template-columns: minmax(7.5rem, 42%) minmax(0, 1fr);
    height: 100%;
    min-width: 0;
}

.bcpost-story-card--compact .bcpost-story-card__media {
    width: 100%;
    min-width: 0;
    min-height: 9.25rem;
    aspect-ratio: auto;
}

.bcpost-story-card--compact .bcpost-story-card__media img {
    aspect-ratio: auto;
}

.bcpost-story-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--bc-space-2, 0.5rem);
    padding: var(--bc-space-4, 1rem);
}

.bcpost-story-card__body .bcpost-topic-pill {
    border: 0;
    color: var(--bc-color-primary, #004edc);
    background: color-mix(in srgb, var(--bc-color-primary, #004edc) 9%, var(--bc-color-surface, #fff));
}

.bcpost-story-card__body > strong {
    display: block;
    color: var(--bc-color-text, #111827);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.bcpost-story-card__body .bcpost-card-meta {
    margin-top: auto;
    color: var(--bc-color-text-muted, #475569);
}

.bcpost-story-card:hover .bcpost-story-card__media img,
.bcpost-latest-card:hover img,
.bcpost-opinion-card:hover img {
    transform: scale(1.025);
}

.bcpost-story-card:hover .bcpost-story-card__body > strong,
.bcpost-story-card:focus-within .bcpost-story-card__body > strong {
    color: var(--bc-color-link-hover, #003bb0);
}

.bcpost-image-fallback,
.cn-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--bc-color-brand-ink, #001347);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--bc-color-primary, #004edc) 16%, transparent), transparent),
        var(--bc-color-surface-muted, #eef2f6);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 700;
}

/* Main stream and utility rail */
.bcpost-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, var(--bc-container-sidebar, 20rem));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.bcpost-home-main,
.bcpost-home-rail {
    min-width: 0;
}

.bcpost-home-main {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}

.bcpost-home-rail {
    display: grid;
    gap: var(--bc-space-5, 1.25rem);
}

.bcpost-section {
    min-width: 0;
    padding-top: var(--bc-space-6, 1.5rem);
    border-top: 3px solid var(--bc-color-brand-navy, #07183f);
}

.bcpost-rail-card {
    min-width: 0;
    padding: var(--bc-space-5, 1.25rem);
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-md, 0.375rem);
    background: var(--bc-color-surface, #fff);
}

.bcpost-home-shell .cn-section-header,
.bcpost-latest-news-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--bc-space-4, 1rem);
    margin-bottom: var(--bc-space-5, 1.25rem);
}

.bcpost-home-shell .cn-section-header h2,
.bcpost-latest-news-header h2,
.bcpost-home-shell .cn-sidebar-module-head h2 {
    margin: 0;
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bcpost-home-shell .cn-sidebar-module-head h2 {
    font-size: var(--bc-text-xl, 1.25rem);
}

.bcpost-home-shell .section-view-all,
.bcpost-home-shell .cn-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: var(--bc-space-2, 0.5rem);
    color: var(--bc-color-link, #004edc);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    text-decoration: none;
}

.bcpost-home-shell .section-view-all:hover,
.bcpost-home-shell .cn-sidebar-link:hover {
    color: var(--bc-color-link-hover, #003bb0);
    text-decoration: underline;
}

/* Chronological headline stream */
.cn-headline-list {
    border-top: 1px solid var(--bc-color-border, #d7dee7);
}

.cn-headline-list article {
    display: grid;
    grid-template-columns: minmax(6rem, 0.18fr) minmax(0, 1fr) auto;
    gap: var(--bc-space-4, 1rem);
    align-items: baseline;
    padding-block: var(--bc-space-4, 1rem);
    border-bottom: 1px solid var(--bc-color-border, #d7dee7);
}

.cn-headline-list article > span,
.cn-headline-list time {
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-xs, 0.75rem);
    line-height: 1.4;
}

.cn-headline-list article > span {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cn-headline-list article > a {
    color: var(--bc-color-text, #111827);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;
}

.cn-headline-list article > a:hover {
    color: var(--bc-color-link-hover, #003bb0);
}

/* Latest grid */
.bcpost-latest-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bc-space-5, 1.25rem);
}

.bcpost-latest-card,
.bcpost-opinion-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-md, 0.375rem);
    background: var(--bc-color-surface, #fff);
}

.bcpost-latest-card__media,
.bcpost-opinion-card__media {
    position: relative;
    display: block;
    aspect-ratio: var(--bc-ratio-story, 16 / 9);
    overflow: hidden;
    background: var(--bc-color-surface-muted, #eef2f6);
}

.bcpost-latest-card__media img,
.bcpost-opinion-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bc-transition-base, 220ms ease);
}

.bcpost-latest-card__badge,
.bcpost-opinion-card__badge,
.bcpost-latest-card__labels .importance-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding-inline: var(--bc-space-3, 0.75rem);
    border-radius: var(--bc-radius-pill, 999px);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bcpost-latest-card__badge {
    position: absolute;
    bottom: var(--bc-space-3, 0.75rem);
    left: var(--bc-space-3, 0.75rem);
    color: #fff;
    background: var(--bc-color-brand-navy, #07183f);
}

.bcpost-latest-card__content,
.bcpost-opinion-card__body {
    padding: var(--bc-space-5, 1.25rem);
}

.bcpost-latest-card__title,
.bcpost-opinion-card__title {
    margin: var(--bc-space-3, 0.75rem) 0 0;
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 650;
    line-height: 1.22;
}

.bcpost-latest-card__title a,
.bcpost-opinion-card__title a {
    color: var(--bc-color-text, #111827);
    text-decoration: none;
}

.bcpost-latest-card__title a:hover,
.bcpost-opinion-card__title a:hover {
    color: var(--bc-color-link-hover, #003bb0);
}

.bcpost-latest-card__excerpt,
.bcpost-opinion-card__summary {
    display: -webkit-box;
    margin: var(--bc-space-3, 0.75rem) 0 0;
    overflow: hidden;
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-sm, 0.875rem);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bcpost-latest-card__meta,
.bcpost-opinion-card__meta,
.cn-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bc-space-2, 0.5rem) var(--bc-space-4, 1rem);
    margin: var(--bc-space-4, 1rem) 0 0;
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-xs, 0.75rem);
    line-height: 1.4;
}

/* Local desk tabs */
.cn-local-news-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--bc-space-6, 1.5rem);
    margin-bottom: var(--bc-space-5, 1.25rem);
}

.cn-local-news-hero h2 {
    margin: 0;
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.cn-local-news-hero p {
    max-width: 52rem;
    margin: var(--bc-space-3, 0.75rem) 0 0;
    color: var(--bc-color-text-muted, #475569);
    line-height: 1.6;
}

.cn-local-news-meter {
    flex: 0 0 auto;
    min-width: 7rem;
    padding: var(--bc-space-4, 1rem);
    border-left: 3px solid var(--bc-color-primary, #004edc);
    background: var(--bc-color-surface-muted, #eef2f6);
}

.cn-local-news-meter strong,
.cn-local-news-meter span {
    display: block;
}

.cn-local-news-meter strong {
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-2xl, 1.5rem);
    line-height: 1;
}

.cn-local-news-meter span {
    margin-top: var(--bc-space-2, 0.5rem);
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-xs, 0.75rem);
}

.cn-local-city-tabs {
    display: flex;
    gap: var(--bc-space-2, 0.5rem);
    margin-bottom: var(--bc-space-4, 1rem);
    padding-bottom: var(--bc-space-2, 0.5rem);
    overflow-x: auto;
    scrollbar-width: thin;
}

.cn-local-city-tabs .cn-chip {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 2.75rem;
    align-items: center;
    gap: var(--bc-space-2, 0.5rem);
    padding-inline: var(--bc-space-4, 1rem);
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-pill, 999px);
    color: var(--bc-color-text, #111827);
    background: var(--bc-color-surface, #fff);
    font: inherit;
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    cursor: pointer;
}

.cn-local-city-tabs .cn-chip small {
    color: var(--bc-color-text-muted, #475569);
    font-size: 0.7rem;
    font-weight: 500;
}

.cn-local-city-tabs .cn-chip:is(:hover, .is-active) {
    border-color: var(--bc-color-brand-navy, #07183f);
    color: #fff;
    background: var(--bc-color-brand-navy, #07183f);
}

.cn-local-city-tabs .cn-chip:is(:hover, .is-active) small {
    color: rgba(255, 255, 255, 0.72);
}

.cn-local-city-panel[hidden] {
    display: none;
}

.cn-local-city-panel {
    padding: var(--bc-space-5, 1.25rem);
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-md, 0.375rem);
    background: var(--bc-color-surface, #fff);
}

.cn-local-city-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--bc-space-4, 1rem);
    padding-bottom: var(--bc-space-4, 1rem);
    border-bottom: 1px solid var(--bc-color-border, #d7dee7);
}

.cn-local-city-panel-head h3 {
    margin: 0;
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-xl, 1.25rem);
    font-weight: 650;
}

.cn-local-city-panel-head a {
    color: var(--bc-color-link, #004edc);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    text-decoration: none;
}

.cn-local-city-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.8fr);
    gap: var(--bc-space-5, 1.25rem);
    margin-top: var(--bc-space-5, 1.25rem);
}

.cn-local-lead-story {
    display: grid;
    grid-template-columns: minmax(9rem, 0.9fr) minmax(0, 1fr);
    gap: var(--bc-space-4, 1rem);
}

.cn-local-lead-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--bc-radius-sm, 0.25rem);
    background: var(--bc-color-surface-muted, #eef2f6);
}

.cn-local-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-local-lead-story h4 {
    margin: var(--bc-space-2, 0.5rem) 0 0;
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 650;
    line-height: 1.25;
}

.cn-local-lead-story h4 a,
.cn-local-city-list a {
    color: var(--bc-color-text, #111827);
    text-decoration: none;
}

.cn-local-lead-story h4 a:hover,
.cn-local-city-list a:hover {
    color: var(--bc-color-link-hover, #003bb0);
}

.cn-local-lead-story > div > p:not(.cn-meta-line) {
    margin: var(--bc-space-3, 0.75rem) 0 0;
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-sm, 0.875rem);
    line-height: 1.55;
}

.cn-category {
    color: var(--bc-color-accent, #d5010f);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cn-local-city-list {
    border-top: 1px solid var(--bc-color-border, #d7dee7);
}

.cn-local-city-list article {
    display: grid;
    gap: var(--bc-space-1, 0.25rem);
    padding-block: var(--bc-space-3, 0.75rem);
    border-bottom: 1px solid var(--bc-color-border, #d7dee7);
}

.cn-local-city-list article > span,
.cn-local-city-list time {
    color: var(--bc-color-text-muted, #475569);
    font-size: 0.7rem;
}

.cn-local-city-list a {
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    line-height: 1.35;
}

/* Sports and events within the homepage stream */
.cn-sports-grid,
.cn-home-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bc-space-5, 1.25rem);
}

.cn-feature-card,
.cn-event-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-md, 0.375rem);
    background: var(--bc-color-surface, #fff);
}

.cn-feature-card-media,
.cn-event-card-media {
    position: relative;
    display: block;
    aspect-ratio: var(--bc-ratio-story, 16 / 9);
    overflow: hidden;
    background: var(--bc-color-surface-muted, #eef2f6);
}

.cn-feature-card-media img,
.cn-event-card-media img,
.event_card_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-feature-card-body,
.cn-event-card-body {
    padding: var(--bc-space-4, 1rem);
}

.cn-feature-card-body h3,
.event_card_title {
    margin: var(--bc-space-2, 0.5rem) 0 0;
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-lg, 1.125rem);
    font-weight: 650;
    line-height: 1.3;
}

.cn-feature-card-body h3 a,
.event_card_title a {
    color: var(--bc-color-text, #111827);
    text-decoration: none;
}

.event_card_fallback {
    display: grid;
    width: 100%;
    height: 100%;
    align-content: center;
    justify-items: center;
    gap: var(--bc-space-2, 0.5rem);
    color: var(--bc-color-brand-ink, #001347);
    background: var(--bc-color-surface-muted, #eef2f6);
}

.event_date_badge {
    position: absolute;
    top: var(--bc-space-3, 0.75rem);
    left: var(--bc-space-3, 0.75rem);
    display: grid;
    min-width: 3rem;
    padding: var(--bc-space-2, 0.5rem);
    border-radius: var(--bc-radius-sm, 0.25rem);
    place-items: center;
    color: var(--bc-color-brand-ink, #001347);
    background: var(--bc-color-surface, #fff);
    line-height: 1;
}

.event_date_badge_month {
    color: #fff;
    background: var(--bc-color-accent, #d5010f);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.event_date_badge_day {
    margin-top: 0.2rem;
    font-size: var(--bc-text-lg, 1.125rem);
}

.event_card_summary {
    display: -webkit-box;
    margin: var(--bc-space-3, 0.75rem) 0 0;
    overflow: hidden;
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-sm, 0.875rem);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event_card_meta {
    display: grid;
    gap: var(--bc-space-2, 0.5rem);
    margin-top: var(--bc-space-4, 1rem);
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-xs, 0.75rem);
}

.event_meta_item {
    display: flex;
    align-items: start;
    gap: var(--bc-space-2, 0.5rem);
}

.event_meta_icon {
    color: var(--bc-color-primary, #004edc);
}

.event_card_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-3, 0.75rem);
    margin-top: var(--bc-space-4, 1rem);
    padding-top: var(--bc-space-3, 0.75rem);
    border-top: 1px solid var(--bc-color-border, #d7dee7);
}

.event_details_link,
.event_ticket_button {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: var(--bc-space-2, 0.5rem);
    color: var(--bc-color-link, #004edc);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    text-decoration: none;
}

.event_ticket_button {
    padding-inline: var(--bc-space-3, 0.75rem);
    border-radius: var(--bc-radius-sm, 0.25rem);
    color: #fff;
    background: var(--bc-color-primary, #004edc);
}

/* Opinion and culture */
.bcpost-editorial-strip {
    display: grid;
    grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--bc-radius-md, 0.375rem);
    color: #fff;
    background: var(--bc-color-brand-navy, #07183f);
}

.bcpost-editorial-strip__intro h2 {
    max-width: 14ch;
    margin: 0;
    color: #fff;
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.5rem, 2.7vw, 2.4rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.bcpost-editorial-strip__intro > p {
    margin: var(--bc-space-4, 1rem) 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: var(--bc-text-sm, 0.875rem);
    line-height: 1.6;
}

.bcpost-editorial-strip .bcpost-editorial-link {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    background: transparent;
}

.bcpost-opinion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bc-space-4, 1rem);
}

.bcpost-opinion-card {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.bcpost-opinion-card__title a {
    color: #fff;
}

.bcpost-opinion-card__summary,
.bcpost-opinion-card__meta {
    color: rgba(255, 255, 255, 0.7);
}

.bcpost-opinion-card__badge {
    color: #fff;
    background: var(--bc-color-accent, #d5010f);
}

/* Rail modules */
.bcpost-home-shell .cn-sidebar-module-head {
    margin-bottom: var(--bc-space-4, 1rem);
    padding-bottom: var(--bc-space-3, 0.75rem);
    border-bottom: 2px solid var(--bc-color-brand-navy, #07183f);
}

.cn-trending-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: home-trending;
}

.cn-trending-list li {
    position: relative;
    display: grid;
    gap: var(--bc-space-1, 0.25rem);
    min-height: 3.75rem;
    padding: var(--bc-space-3, 0.75rem) 0 var(--bc-space-3, 0.75rem) 2.5rem;
    border-bottom: 1px solid var(--bc-color-border, #d7dee7);
    counter-increment: home-trending;
}

.cn-trending-list li::before {
    position: absolute;
    top: var(--bc-space-3, 0.75rem);
    left: 0;
    color: var(--bc-color-primary, #004edc);
    content: counter(home-trending, decimal-leading-zero);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-xl, 1.25rem);
    font-weight: 700;
}

.cn-trending-list a {
    color: var(--bc-color-text, #111827);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-sm, 0.875rem);
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
}

.cn-trending-list span {
    color: var(--bc-color-text-muted, #475569);
    font-size: 0.7rem;
}

.cn-local-data-list {
    display: grid;
}

.cn-local-data-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-3, 0.75rem);
    padding-block: var(--bc-space-3, 0.75rem);
    border-bottom: 1px solid var(--bc-color-border, #d7dee7);
}

.cn-local-data-card > div:first-child {
    display: grid;
    min-width: 0;
    gap: var(--bc-space-1, 0.25rem);
}

.cn-local-data-card strong {
    color: var(--bc-color-text, #111827);
    font-size: var(--bc-text-sm, 0.875rem);
}

.cn-local-data-card > div:first-child > span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bc-color-text-muted, #475569);
    font-size: var(--bc-text-xs, 0.75rem);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cn-local-data-stat,
.cn-local-data-badge {
    flex: 0 0 auto;
    font-size: var(--bc-text-xs, 0.75rem);
    font-weight: 700;
}

.cn-local-data-stat {
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-lg, 1.125rem);
}

.cn-local-data-badge {
    display: inline-flex;
    min-height: 1.75rem;
    align-items: center;
    padding-inline: var(--bc-space-2, 0.5rem);
    border-radius: var(--bc-radius-pill, 999px);
    color: var(--bc-color-text, #111827);
    background: var(--bc-color-surface-muted, #eef2f6);
    text-decoration: none;
}

.bcpost-home-shell .cn-sidebar-link {
    margin-top: var(--bc-space-4, 1rem);
}

/* Tournament promotion */
.world-cup-home-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.34fr);
    overflow: hidden;
    border-radius: var(--bc-radius-md, 0.375rem);
    color: #fff;
    background: var(--bc-color-brand-navy, #07183f);
}

.world-cup-home-card-copy,
.world-cup-home-card-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.world-cup-home-card h2 {
    margin: 0;
    color: #fff;
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 650;
}

.world-cup-home-card p {
    max-width: 48rem;
    margin: var(--bc-space-3, 0.75rem) 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
}

.world-cup-home-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bc-space-3, 0.75rem);
    margin-top: var(--bc-space-5, 1.25rem);
}

.world-cup-home-card-panel {
    display: grid;
    align-content: center;
    gap: var(--bc-space-2, 0.5rem);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(145deg, rgba(50, 141, 253, 0.28), rgba(213, 1, 15, 0.16));
}

.world-cup-home-card-panel span {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--bc-text-sm, 0.875rem);
    letter-spacing: 0.1em;
}

.world-cup-home-card-panel strong {
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-2xl, 1.5rem);
}

.world-cup-home-card-panel small {
    color: rgba(255, 255, 255, 0.7);
}

/* Loading and empty states preserve geometry without dominating the page. */
.home-lazy-section[aria-busy="true"] {
    min-height: 8rem;
}

.bcpost-rail-card.home-lazy-section[aria-busy="true"] {
    min-height: 7rem;
}

.home-lazy-section[aria-busy="false"]:empty,
.bcpost-section:empty,
.bcpost-rail-card:empty {
    display: none;
}

.section-placeholder {
    min-width: 0;
}

.section-placeholder .placeholder-img,
.placeholder-feature-panel {
    aspect-ratio: var(--bc-ratio-story, 16 / 9);
}

.placeholder-list-row,
.placeholder-sidebar-row,
.placeholder-data-row,
.placeholder-newsletter-row,
.placeholder-chip-row {
    display: flex;
    gap: var(--bc-space-3, 0.75rem);
    margin-top: var(--bc-space-3, 0.75rem);
}

.placeholder-list-row,
.placeholder-data-row {
    justify-content: space-between;
}

.placeholder-sidebar-row {
    align-items: center;
}

.placeholder-chip {
    width: 5rem;
    height: 2rem;
}

.placeholder-local-grid,
.section-placeholder-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bc-space-5, 1.25rem);
    margin-top: var(--bc-space-5, 1.25rem);
}

.bcpost-home-shell :where(.cn-empty-state, .bcpost-empty-state, .lazy-section-error) {
    display: grid;
    min-height: 9rem;
    align-content: center;
    justify-items: start;
    gap: var(--bc-space-2, 0.5rem);
    padding: var(--bc-space-6, 1.5rem);
    border: 1px dashed var(--bc-color-border, #d7dee7);
    border-radius: var(--bc-radius-md, 0.375rem);
    color: var(--bc-color-text-muted, #475569);
    background: var(--bc-color-surface-muted, #eef2f6);
    line-height: 1.55;
}

.bcpost-empty-state h2 {
    margin: 0;
    color: var(--bc-color-brand-ink, #001347);
    font-family: var(--bc-font-serif, Georgia, serif);
    font-size: var(--bc-text-xl, 1.25rem);
}

.bcpost-empty-state p {
    margin: 0;
}

@media (max-width: 74.99rem) {
    .bcpost-hero-grid {
        grid-template-columns: minmax(22rem, 0.4fr) minmax(0, 0.6fr);
        gap: var(--bc-space-6, 1.5rem);
    }

    .bcpost-story-card--compact > a {
        grid-template-columns: 1fr;
    }

    .bcpost-story-card--compact .bcpost-story-card__media {
        min-height: 0;
        aspect-ratio: var(--bc-ratio-story, 16 / 9);
    }

    .bcpost-home-layout {
        grid-template-columns: minmax(0, 1fr) 18rem;
        gap: var(--bc-space-6, 1.5rem);
    }

    .cn-local-city-content,
    .cn-local-lead-story {
        grid-template-columns: 1fr;
    }

    .cn-local-lead-media {
        aspect-ratio: var(--bc-ratio-story, 16 / 9);
    }
}

@media (max-width: 63.99rem) {
    .bcpost-hero-grid,
    .bcpost-home-layout {
        grid-template-columns: 1fr;
    }

    .bcpost-hero-copy {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.45fr);
        gap: var(--bc-space-5, 1.25rem);
        align-items: end;
        padding-top: 0;
    }

    .bcpost-hero-copy > .bcpost-kicker,
    .bcpost-hero-copy h1 {
        grid-column: 1;
    }

    .bcpost-hero-copy > p,
    .bcpost-hero-actions {
        grid-column: 2;
    }

    .bcpost-hero-copy > p {
        grid-row: 1 / span 2;
        align-self: end;
        margin: 0;
    }

    .bcpost-hero-actions {
        margin-top: 0;
    }

    .bcpost-home-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bcpost-editorial-strip {
        grid-template-columns: 1fr;
    }

    .bcpost-editorial-strip__intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--bc-space-4, 1rem);
        align-items: end;
    }

    .bcpost-editorial-strip__intro > .bcpost-kicker,
    .bcpost-editorial-strip__intro h2,
    .bcpost-editorial-strip__intro p {
        grid-column: 1;
    }

    .bcpost-editorial-strip__intro .bcpost-editorial-link {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: end;
    }

    .bcpost-editorial-strip__intro > p {
        margin-bottom: 0;
    }
}

@media (max-width: 47.99rem) {
    .bcpost-breaking__inner {
        grid-template-columns: 1fr;
        gap: var(--bc-space-2, 0.5rem);
        padding-block: var(--bc-space-3, 0.75rem);
    }

    .bcpost-breaking__label {
        width: max-content;
    }

    .bcpost-home-hero {
        padding-block: var(--bc-space-8, 2rem);
    }

    .bcpost-hero-copy {
        display: block;
    }

    .bcpost-hero-copy h1 {
        max-width: 18ch;
    }

    .bcpost-hero-copy > p {
        margin-top: var(--bc-space-4, 1rem);
    }

    .bcpost-hero-actions {
        margin-top: var(--bc-space-5, 1.25rem);
    }

    .bcpost-story-card--lead .bcpost-story-card__media {
        aspect-ratio: 4 / 3;
    }

    .bcpost-story-card__overlay {
        inset: auto var(--bc-space-4, 1rem) var(--bc-space-4, 1rem);
    }

    .bcpost-story-card__overlay > em {
        display: none;
    }

    .bcpost-supporting-grid,
    .bcpost-latest-news-grid,
    .cn-sports-grid,
    .bcpost-opinion-grid,
    .bcpost-home-rail,
    .placeholder-local-grid,
    .section-placeholder-feature {
        grid-template-columns: 1fr;
    }

    .bcpost-story-card--compact > a {
        grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr);
    }

    .bcpost-story-card--compact .bcpost-story-card__media {
        height: 100%;
        min-height: 8.25rem;
        aspect-ratio: auto;
    }

    .bcpost-home-layout {
        padding-block: var(--bc-space-8, 2rem);
    }

    .bcpost-home-main {
        gap: var(--bc-space-10, 2.5rem);
    }

    .bcpost-editorial-strip,
    .bcpost-editorial-strip__intro {
        display: block;
    }

    .bcpost-editorial-strip__intro .bcpost-editorial-link {
        margin-top: var(--bc-space-4, 1rem);
    }

    .cn-headline-list article {
        grid-template-columns: 1fr auto;
        gap: var(--bc-space-2, 0.5rem) var(--bc-space-4, 1rem);
    }

    .cn-headline-list article > span {
        grid-column: 1;
    }

    .cn-headline-list article > a {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .cn-headline-list time {
        grid-column: 2;
        grid-row: 1;
    }

    .cn-local-news-hero {
        display: block;
    }

    .cn-local-news-meter {
        display: inline-block;
        margin-top: var(--bc-space-4, 1rem);
    }

    .cn-local-city-panel {
        padding: var(--bc-space-4, 1rem);
    }

    .cn-local-city-panel-head {
        align-items: start;
    }

    .world-cup-home-card {
        grid-template-columns: 1fr;
    }

    .world-cup-home-card-panel {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }
}

@media (max-width: 29.99rem) {
    .cn-home-event-grid {
        grid-template-columns: 1fr;
    }

    .bcpost-hero-actions,
    .event_card_actions,
    .world-cup-home-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bcpost-hero-actions a,
    .event_details_link,
    .event_ticket_button,
    .world-cup-home-card-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .bcpost-story-card--compact > a {
        grid-template-columns: 1fr;
    }

    .bcpost-story-card--compact .bcpost-story-card__media {
        min-height: 0;
        aspect-ratio: var(--bc-ratio-story, 16 / 9);
    }

    .bcpost-home-shell .cn-section-header,
    .bcpost-latest-news-header,
    .cn-local-city-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bcpost-home-shell *,
    .bcpost-home-shell *::before,
    .bcpost-home-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
