/* ============================================================================
   theme-broadsheet.css — "Broadsheet" (Template D) landing theme. Every rule
   scoped under .theme-broadsheet so a club picking this template never bleeds
   styling into the admin shell or another public site (this file loads globally).

   Direction D is calm and EDITORIAL — the magazine / index direction. Where A is
   structured varsity, B is kinetic, and C is a centred poster, D is paper-dominant
   with a big SERIF display face (Newsreader, mixed-case not condensed all-caps),
   generous whitespace, hairline rules, and the brand colour used only as a thin
   accent. The page reads top-down like a premium academy site:

     paper hero (serif headline + full-bleed image)
       → paper INDEX strip (4-up mono-label / big-serif-value directory)
       → paper ETHOS numbered list (GRIT, 0n rows, hairline dividers)
       → INK clinics band (dark, light text, schedule rows)
       → paper FACILITIES 3-up
       → paper section with an INSET INK contact box (not full-bleed)

   Wired to the per-club brand palette the shell emits (--brand-primary = red,
   --brand-secondary = ink, --brand-paper / --brand-muted neutrals) so swapping a
   club's brand preset re-skins the whole sheet automatically.

   --cm-edge centres content inside a 1200px artboard while band backgrounds run
   full-bleed to the viewport edges. Defined on the theme root.

   Type stack: Newsreader (serif display) · Archivo (body) · JetBrains Mono
   (small tracked labels) — all already loaded in App.razor.
   ============================================================================ */

.theme-broadsheet {
    /* Brand-palette aliases — concrete fallbacks match the design's Aces colours.
       D's source-of-truth role names (red/ink/paper/muted) aliased onto the shell vars. */
    --bs-red:   var(--brand-primary, #DC2626);
    --bs-ink:   var(--brand-secondary, #0A0A0A);
    --bs-paper: var(--brand-paper, #F5F1EA);
    --bs-muted: var(--brand-muted, #7A7368);
    /* Accent (tertiary) — used sparingly for the ink-band eyebrow / register links,
       matching landing-d's `blue` accent. Falls back to the red so a two-colour club
       still reads on-theme. */
    --bs-accent: var(--brand-accent, var(--bs-red));

    /* Hairlines derived from ink, never hardcoded so brand ink drives them.
       --bs-rule is the strong top rule (ink), --bs-rule-soft the inner dividers. */
    --bs-rule:        color-mix(in srgb, var(--bs-ink) 88%, transparent);
    --bs-rule-soft:   color-mix(in srgb, var(--bs-ink) 12%, transparent);
    /* On-ink hairlines — paper at low opacity (the design uses rgba(245,241,234,.x)). */
    --bs-rule-ink:      color-mix(in srgb, var(--bs-paper) 22%, transparent);
    --bs-rule-ink-soft: color-mix(in srgb, var(--bs-paper) 14%, transparent);
    /* Paper shaded a touch darker — the design's shade(paper,-0.1) header/footer line. */
    --bs-paper-line:  color-mix(in srgb, var(--bs-paper) 90%, #000);

    --bs-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --bs-body:  'Archivo', system-ui, -apple-system, sans-serif;
    --bs-mono:  'JetBrains Mono', ui-monospace, monospace;

    /* Full-bleed bands + centred 1200px content column (the design's 1440 canvas
       runs 64px gutters → ~1312 inner; 1200 reads tighter and more editorial). */
    --cm-inset: clamp(1.25rem, 5vw, 4rem);
    --cm-edge:  max(var(--cm-inset), calc((100% - 1200px) / 2));
    --bs-band-y: clamp(72px, 9vw, 104px);

    background: var(--bs-paper);
    color: var(--bs-ink);
    font-family: var(--bs-body);
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
    /* Thin brand rule across the very top of the sheet (landing-d's 4px red bar). */
    border-top: 4px solid var(--bs-red);
}

/* Themed selection so highlighted text reads on-theme, not OS blue. */
.theme-broadsheet ::selection {
    background: var(--bs-red);
    color: var(--bs-paper);
}

/* Flow the paper surface under the outer "Powered by My League Hub" footer too. */
.public-site:has(.theme-broadsheet) {
    background: var(--bs-paper);
}

/* ===== Utility strip — quiet paper info bar with an ink underline ===== */

.theme-broadsheet .public-site-util {
    display: block;
    background: var(--bs-paper);
    color: var(--bs-muted);
    border-bottom: 1px solid var(--bs-rule-soft);
}
.theme-broadsheet .public-site-util__inner {
    max-width: none;
    padding: 9px var(--cm-edge);
}
.theme-broadsheet .public-site-util__live { color: var(--bs-red); }
.theme-broadsheet .public-site-util__item { color: var(--bs-muted); }

/* ===== Header — paper, hairline underline, serif wordmark ===== */

.theme-broadsheet .public-site-header {
    background: var(--bs-paper);
    border-bottom: 1px solid var(--bs-rule-soft);
    padding: 22px 0;
}
.theme-broadsheet .public-site-header__inner {
    max-width: none;
    padding: 0 var(--cm-edge);
}
/* Drop the ink-square stamp for a serif wordmark + tiny brand dot, per DNav. */
.theme-broadsheet .public-site-header__brand-mark {
    background: transparent;
    color: var(--bs-ink);
    width: auto;
    height: auto;
    font-family: var(--bs-serif);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.3px;
}
.theme-broadsheet .public-site-header__brand-mark::after {
    right: -10px;
    top: auto;
    bottom: 6px;
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: var(--bs-red);
}
.theme-broadsheet .public-site-header__brand-name {
    font-family: var(--bs-serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--bs-ink);
    line-height: 1.05;
}
.theme-broadsheet .public-site-header__brand-tail,
.theme-broadsheet .public-site-header__brand-tagline {
    font-family: var(--bs-mono);
    font-size: 10.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--bs-muted);
    margin-top: 4px;
}
.theme-broadsheet .public-site-header__nav {
    gap: 30px;
}
.theme-broadsheet .public-site-header__nav a {
    color: var(--bs-ink);
    font-family: var(--bs-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.theme-broadsheet .public-site-header__nav a:hover {
    color: var(--bs-ink);
    border-bottom-color: var(--bs-red);
}

/* ===== Hero — paper, big serif headline, full-bleed editorial image ===== */

.theme-broadsheet .public-site-hero {
    background: var(--bs-paper);
    color: var(--bs-ink);
    text-align: left;
    padding: clamp(56px, 8vw, 84px) var(--cm-edge) 0;
    min-height: 0;
}
/* When a hero image is set the renderer adds --with-image (a dark scrim + white
   text intended for a background image). D wants the image BELOW the text, on
   paper — so neutralise the scrim and keep ink-on-paper. The image still shows
   as the section background; we cap it as a full-bleed editorial band under the
   copy via a tall min-height + bottom alignment. */
.theme-broadsheet .public-site-hero--with-image {
    color: var(--bs-ink);
    background-position: center bottom;
}
/* The bottom-aligned headline + kicker sit over a paper-fading scrim so ink text stays
   legible over a photo, while the image still reads up top as the editorial band. */
.theme-broadsheet .public-site-hero--with-image::before {
    background: linear-gradient(to top,
        var(--bs-paper) 0%,
        color-mix(in srgb, var(--bs-paper) 82%, transparent) 34%,
        transparent 68%);
}
.theme-broadsheet .public-site-hero__content {
    position: relative;
    max-width: 1200px;
    margin: 0;
    padding: 0 0 clamp(48px, 6vw, 72px);
    /* Two-column editorial lockup: big headline left, kicker/CTA right (DHero grid). */
    display: grid;
    grid-template-columns: 1fr minmax(280px, 360px);
    align-items: end;
    gap: 40px;
}
.theme-broadsheet .public-site-hero__heading {
    grid-column: 1;
    font-family: var(--bs-serif);
    font-size: clamp(3rem, 8vw, 104px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    font-weight: 400;
    text-transform: none;
    color: var(--bs-ink);
    margin: 0;
    max-width: 14ch;
    text-wrap: balance;
}
/* Words flow inline (no per-word colour treatment — D keeps the headline monochrome). */
.theme-broadsheet .public-site-hero__heading-word {
    display: inline;
    margin: 0 0.22em 0 0;
}
.theme-broadsheet .public-site-hero__heading-word:last-child { margin-right: 0; }
/* The kicker / subheading moves to the right column. */
.theme-broadsheet .public-site-hero__subheading {
    grid-column: 2;
    align-self: end;
    margin: 0;
    max-width: 360px;
    font-family: var(--bs-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--bs-muted);
}
/* Hero eyebrow — red mono kicker above the headline, sitting in the left column. */
.theme-broadsheet .public-site-hero__content .public-site-section__eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-bottom: 8px;
}
.theme-broadsheet .public-site-hero .public-site-section__eyebrow-bar { background: var(--bs-red); }
.theme-broadsheet .public-site-hero .public-site-section__eyebrow-text { color: var(--bs-red); }

/* Hero CTA — solid ink button with a red arrow, square edge (DHero primary CTA). */
.theme-broadsheet .public-site .public-site-hero__cta,
.theme-broadsheet .public-site-hero__cta,
.theme-broadsheet .public-site-hero__cta:link,
.theme-broadsheet .public-site-hero__cta:visited {
    grid-column: 2;
    background: var(--bs-ink);
    color: var(--bs-paper);
    border-radius: 0;
    font-family: var(--bs-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
    font-size: 14px;
    padding: 15px 24px;
    margin-top: 22px;
    width: max-content;
}
.theme-broadsheet .public-site-hero__cta:hover,
.theme-broadsheet .public-site-hero__cta:focus-visible {
    color: var(--bs-paper);
    filter: brightness(1.15);
}
.theme-broadsheet .public-site-hero__cta .material-icons { color: var(--bs-red); }
/* Secondary CTA — an underlined text link, no button chrome (DHero "Watch a practice"). */
.theme-broadsheet .public-site-hero__cta--secondary,
.theme-broadsheet .public-site-hero__cta--secondary:link,
.theme-broadsheet .public-site-hero__cta--secondary:visited {
    background: transparent;
    color: var(--bs-ink);
    border-bottom: 1px solid var(--bs-muted);
    padding: 0 0 3px;
    margin-top: 22px;
    border-radius: 0;
}

@media (max-width: 860px) {
    .theme-broadsheet .public-site-hero__content {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .theme-broadsheet .public-site-hero__heading,
    .theme-broadsheet .public-site-hero__subheading,
    .theme-broadsheet .public-site-hero__cta { grid-column: 1; }
    .theme-broadsheet .public-site-hero__heading { max-width: none; }
}

/* ===== Marquee (if a club adds the ticker block) — quiet paper rule strip ===== */

.theme-broadsheet .public-marquee {
    background: var(--bs-paper);
    color: var(--bs-muted);
    border-top: 1px solid var(--bs-rule-soft);
    border-bottom: 1px solid var(--bs-rule-soft);
    padding: 16px 0;
    letter-spacing: 2px;
}
.theme-broadsheet .public-marquee__item {
    font-family: var(--bs-mono);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--bs-muted);
}
.theme-broadsheet .public-marquee__dot { color: var(--bs-red); }

/* ===== Shared section band — paper, left-aligned, artboard-centred ===== */

.theme-broadsheet .public-site-section {
    max-width: none;
    margin: 0;
    padding: var(--bs-band-y) var(--cm-edge);
    text-align: left;
}
.theme-broadsheet .public-site-section__title {
    font-family: var(--bs-serif);
    font-size: clamp(2.25rem, 5.5vw, 64px);
    line-height: 1.04;
    letter-spacing: -1px;
    text-transform: none;
    font-weight: 400;
    color: var(--bs-ink);
    border: 0;
    padding: 0;
    margin: 0;
    text-wrap: balance;
}
.theme-broadsheet .public-site-section__lede,
.theme-broadsheet .public-site-section__intro {
    color: var(--bs-muted);
    font-family: var(--bs-body);
    font-size: 17px;
    line-height: 1.6;
    max-width: 56ch;
    margin: 18px 0 0;
}
.theme-broadsheet .public-site-section__cta,
.theme-broadsheet .public-site-section__cta:link,
.theme-broadsheet .public-site-section__cta:visited {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--bs-muted);
    padding: 0 0 3px;
    color: var(--bs-ink);
    font-family: var(--bs-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
    font-size: 14px;
    margin: 26px 0 0;
}
.theme-broadsheet .public-site-section__cta:hover {
    background: transparent;
    color: var(--bs-ink);
    border-bottom-color: var(--bs-red);
}
.theme-broadsheet .public-site-section__cta .material-icons { color: var(--bs-red); }

/* Section eyebrow — red mono kicker (no centring; D is left-aligned). */
.theme-broadsheet .public-site-section__eyebrow { margin-bottom: 20px; }
.theme-broadsheet .public-site-section__eyebrow-bar { background: var(--bs-red); }
.theme-broadsheet .public-site-section__eyebrow-text {
    color: var(--bs-red);
    font-family: var(--bs-mono);
    letter-spacing: 2px;
}

/* ===== Index strip (StatsStrip) — the 4-up directory =====
   Top hairline ink rule + vertical column dividers; mono uppercase label over a
   big SERIF value in ink. NOT the Anton/centred treatment of the other themes. */

.theme-broadsheet .public-site-section:has(.public-stats-strip) {
    background: var(--bs-paper);
    color: var(--bs-ink);
}
.theme-broadsheet .public-stats-meta {
    margin-bottom: clamp(2rem, 4vw, 44px);
}
.theme-broadsheet .public-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
    /* The directory's defining top rule — a single strong ink hairline. */
    border-top: 1px solid var(--bs-rule);
}
.theme-broadsheet .public-stats-strip__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 28px 0 0;
    /* Column dividers between items (the last one drops its right border). */
    border-right: 1px solid var(--bs-rule-soft);
}
.theme-broadsheet .public-stats-strip__item:not(:first-child) { padding-left: 28px; }
.theme-broadsheet .public-stats-strip__item:last-child { border-right: 0; }
.theme-broadsheet .public-stats-strip__label {
    order: -1;
    font-family: var(--bs-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--bs-muted);
}
.theme-broadsheet .public-stats-strip__num {
    font-family: var(--bs-serif);
    font-size: clamp(2rem, 4vw, 40px);
    line-height: 1;
    letter-spacing: -0.5px;
    font-weight: 400;
    color: var(--bs-ink);
}
@media (max-width: 720px) {
    .theme-broadsheet .public-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .theme-broadsheet .public-stats-strip__item:nth-child(2n) { border-right: 0; }
}

/* ===== Ethos (ValuesPillars) — numbered 0n list with row hairlines =====
   DEthos is NOT a giant anchor-letter treatment. Each row is a 3-column editorial
   line: a mono 0n index, the serif value word, then the body paragraph. The
   renderer emits the raw letter (G/R/I/T) into .public-pillars__letter — we hide
   that glyph (font-size:0) and drive the visible index off a CSS counter so the
   rows read 01/02/03/04 regardless of what the IconName field holds. */

.theme-broadsheet .public-site-section:has(.public-pillars) {
    background: var(--bs-paper);
    color: var(--bs-ink);
}
/* Two-column meta header (heading left, lede right) per DEthos, then the list below. */
.theme-broadsheet .public-pillars-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 52px);
}
.theme-broadsheet .public-pillars-meta .public-site-section__title { grid-column: 1; }
.theme-broadsheet .public-pillars-meta .public-site-section__lede,
.theme-broadsheet .public-pillars-meta .public-site-section__intro {
    grid-column: 2;
    margin-top: 0;
    align-self: end;
    font-size: 18px;
}
.theme-broadsheet .public-pillars-meta .public-site-section__cta { grid-column: 1; }

.theme-broadsheet .public-pillars {
    display: block;
    /* Number the rows for the 0n index. */
    counter-reset: bs-ethos;
    border-top: 1px solid var(--bs-rule);
}
.theme-broadsheet .public-pillars__row {
    display: grid;
    grid-template-columns: 80px minmax(220px, 280px) 1fr;
    gap: 32px;
    align-items: baseline;
    padding: 32px 0;
    border: 0;
    border-bottom: 1px solid var(--bs-rule-soft);
    counter-increment: bs-ethos;
}
/* The raw anchor letter (G/R/I/T) is replaced by a mono 0n counter in column 1. */
.theme-broadsheet .public-pillars__letter {
    font-family: var(--bs-mono);
    font-size: 0;            /* hide the literal letter glyph */
    line-height: 1;
    color: var(--bs-muted);
    letter-spacing: 1px;
    align-self: baseline;
}
.theme-broadsheet .public-pillars__letter::before {
    content: "0" counter(bs-ethos);
    font-size: 13px;
    color: var(--bs-muted);
}
.theme-broadsheet .public-pillars__copy { grid-column: 2 / 4; display: contents; }
.theme-broadsheet .public-pillars__name {
    grid-column: 2;
    margin: 0;
    font-family: var(--bs-serif);
    font-size: clamp(1.6rem, 3vw, 34px);
    line-height: 1;
    letter-spacing: -0.3px;
    font-weight: 400;
    text-transform: none;
    color: var(--bs-ink);
}
/* A red full-stop after the value word, matching DEthos's `word.` flourish. */
.theme-broadsheet .public-pillars__name::after {
    content: ".";
    color: var(--bs-red);
}
.theme-broadsheet .public-pillars__body {
    grid-column: 3;
    margin: 0;
    font-family: var(--bs-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--bs-muted);
    max-width: 620px;
}
@media (max-width: 860px) {
    .theme-broadsheet .public-pillars-meta {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .theme-broadsheet .public-pillars-meta .public-site-section__title,
    .theme-broadsheet .public-pillars-meta .public-site-section__lede,
    .theme-broadsheet .public-pillars-meta .public-site-section__intro,
    .theme-broadsheet .public-pillars-meta .public-site-section__cta { grid-column: 1; }
    .theme-broadsheet .public-pillars__row {
        grid-template-columns: 48px 1fr;
        gap: 8px 20px;
    }
    .theme-broadsheet .public-pillars__copy { display: contents; }
    .theme-broadsheet .public-pillars__name { grid-column: 2; }
    .theme-broadsheet .public-pillars__body { grid-column: 2; margin-top: 10px; }
}

/* ===== Clinics (WeekdaySchedule) — full-bleed INK band, schedule rows =====
   The design's DClinics is a dark band with rows (day / title / details / CTA),
   NOT cards. We keep the renderer's card markup but restyle each card into a flat
   horizontal schedule row separated by paper-at-low-opacity hairlines. */

.theme-broadsheet .public-site-section:has(.public-weekday-grid) {
    background: var(--bs-ink);
    color: var(--bs-paper);
}
.theme-broadsheet .public-site-section:has(.public-weekday-grid) .public-site-section__title {
    color: var(--bs-paper);
}
.theme-broadsheet .public-site-section:has(.public-weekday-grid) .public-site-section__lede {
    color: color-mix(in srgb, var(--bs-paper) 70%, transparent);
}

.theme-broadsheet .public-weekday-grid {
    display: block;
    margin-top: clamp(2.5rem, 5vw, 52px);
    border-top: 1px solid var(--bs-rule-ink);
}
.theme-broadsheet .public-weekday-card {
    background: transparent;
    color: var(--bs-paper);
    border: 0;
    border-bottom: 1px solid var(--bs-rule-ink-soft);
    border-radius: 0;
    display: grid;
    grid-template-columns: 140px 1fr 1fr 150px;
    align-items: baseline;
    gap: 24px;
    padding: 26px 0;
    min-height: 0;
    overflow: visible;
}
/* Day — big serif numeral-style label (DClinics day column). */
.theme-broadsheet .public-weekday-card__day {
    background: transparent;
    color: var(--bs-paper);
    font-family: var(--bs-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    padding: 0;
    text-align: left;
}
/* Time — small mono note tucked under nothing; sits in the title column. */
.theme-broadsheet .public-weekday-card__time {
    grid-column: 2;
    margin: 0;
    padding: 0;
    font-family: var(--bs-mono);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--bs-paper) 55%, transparent);
    text-align: left;
    order: 2;
}
/* Title — the program name, body weight (DClinics title). */
.theme-broadsheet .public-weekday-card__title {
    grid-column: 2;
    margin: 0;
    padding: 0;
    font-family: var(--bs-body);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.3;
    color: var(--bs-paper);
    text-align: left;
    order: 1;
}
/* Details — the ages / supplementary line in muted paper (DClinics ages column). */
.theme-broadsheet .public-weekday-card__details {
    grid-column: 3;
    margin: 0;
    padding: 0;
    font-family: var(--bs-body);
    font-size: 15px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--bs-paper) 75%, transparent);
    text-align: left;
}
/* Register — underlined accent text link, right-aligned (DClinics CTA). */
.theme-broadsheet .public-weekday-card__cta,
.theme-broadsheet .public-weekday-card__cta:link,
.theme-broadsheet .public-weekday-card__cta:visited {
    grid-column: 4;
    justify-self: end;
    margin: 0;
    background: transparent;
    color: var(--bs-paper);
    border: 0;
    border-bottom: 1px solid var(--bs-accent);
    border-radius: 0;
    padding: 0 0 3px;
    font-family: var(--bs-body);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0;
    text-transform: none;
    text-align: right;
    width: max-content;
}
.theme-broadsheet .public-weekday-card__cta:hover {
    background: transparent;
    color: var(--bs-accent);
    filter: none;
}
@media (max-width: 720px) {
    .theme-broadsheet .public-weekday-card {
        grid-template-columns: 90px 1fr;
        gap: 4px 18px;
    }
    .theme-broadsheet .public-weekday-card__day { grid-row: 1 / 4; }
    .theme-broadsheet .public-weekday-card__details { grid-column: 2; }
    .theme-broadsheet .public-weekday-card__cta { grid-column: 2; justify-self: start; margin-top: 8px; }
}

/* ===== Facilities (Locations) — paper, editorial 3-up cards ===== */

.theme-broadsheet .public-site-section:has(.public-locations) {
    background: var(--bs-paper);
    color: var(--bs-ink);
}
/* Two-column meta header (heading left, lede right) matching DFacilities. */
.theme-broadsheet .public-locations-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 52px);
}
.theme-broadsheet .public-locations-meta .public-site-section__eyebrow,
.theme-broadsheet .public-locations-meta .public-site-section__title { grid-column: 1; }
.theme-broadsheet .public-locations-meta .public-site-section__lede,
.theme-broadsheet .public-locations-meta .public-site-section__intro {
    grid-column: 2;
    margin-top: 0;
    align-self: end;
}
.theme-broadsheet .public-locations-meta .public-site-section__cta { grid-column: 1; }

.theme-broadsheet .public-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}
.theme-broadsheet .public-locations__row {
    display: block;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    border: 0;
}
/* Drop the numeric index — D titles facilities by name, not a big numeral. */
.theme-broadsheet .public-locations__index { display: none; }
/* Optional photo thumb becomes a 4/3 editorial image block above the copy. */
.theme-broadsheet .public-locations__thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border-radius: 0 !important;
    border: 1px solid var(--bs-rule-soft);
    margin-bottom: 22px;
}
.theme-broadsheet .public-locations__thumb img { aspect-ratio: 4 / 3; }
.theme-broadsheet .public-locations__role {
    font-family: var(--bs-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bs-red);
    margin: 0 0 12px;
}
.theme-broadsheet .public-locations__name {
    font-family: var(--bs-serif);
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.3px;
    font-weight: 400;
    text-transform: none;
    color: var(--bs-ink);
    margin: 0;
}
.theme-broadsheet .public-locations__address {
    font-family: var(--bs-mono);
    font-size: 12.5px;
    color: var(--bs-muted);
    margin-top: 12px;
}
.theme-broadsheet .public-locations__notes {
    font-family: var(--bs-body);
    font-size: 14.5px;
    line-height: 1.6;
    font-style: normal;
    color: var(--bs-muted);
    margin-top: 14px;
}
.theme-broadsheet .public-locations__actions {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}
.theme-broadsheet .public-locations__directions,
.theme-broadsheet .public-locations__directions:link,
.theme-broadsheet .public-locations__directions:visited {
    background: transparent;
    color: var(--bs-ink);
    border: 0;
    border-bottom: 1px solid var(--bs-muted);
    border-radius: 0;
    padding: 0 0 3px;
    width: auto;
    font-family: var(--bs-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}
.theme-broadsheet .public-locations__directions:hover { background: transparent; }
.theme-broadsheet .public-locations__directions:hover * { color: var(--bs-ink); }
.theme-broadsheet .public-locations__map,
.theme-broadsheet .public-locations__map:link,
.theme-broadsheet .public-locations__map:visited {
    color: var(--bs-muted);
    font-family: var(--bs-mono);
    font-size: 11px;
}
@media (max-width: 860px) {
    .theme-broadsheet .public-locations { grid-template-columns: 1fr; gap: 40px; }
    .theme-broadsheet .public-locations-meta { grid-template-columns: 1fr; gap: 18px; }
    .theme-broadsheet .public-locations-meta .public-site-section__lede,
    .theme-broadsheet .public-locations-meta .public-site-section__intro { grid-column: 1; }
}

/* ===== Contact (ContactCard) — PAPER section with an INSET INK box =====
   The distinctive close. Unlike the other themes, the section background stays
   PAPER and is NOT full-bleed ink. We paint an inset ink panel via ::before that
   fills the artboard's content area (paper shows as a margin around it), then lift
   the real content above it with position/z-index. Inside: a serif headline + blurb
   on the left, the definition rows + red CTA on the right (DContact). */

.theme-broadsheet .public-contact-section {
    --bs-contact-pad: clamp(40px, 5vw, 72px);
    background: var(--bs-paper);
    color: var(--bs-paper);          /* default text colour for content over the ink panel */
    max-width: none;
    margin: 0;
    /* Content is inset from the viewport by cm-edge (the paper gutter around the ink box)
       PLUS --bs-contact-pad (the box's own inner padding); the ::before ink panel insets
       only to cm-edge, so the difference reads as the panel's padding. Vertically the
       content is padded by --bs-contact-pad inside the panel, which ends --bs-band-y above
       the section's paper foot. */
    padding-inline: calc(var(--cm-edge) + var(--bs-contact-pad));
    padding-block: var(--bs-contact-pad) calc(var(--bs-band-y) + var(--bs-contact-pad));
    position: relative;
    /* Explicit grid (DContact): eyebrow / headline / blurb stack the LEFT column; the contact
       rows span all three on the RIGHT; the CTA sits in a 4th row directly under the rows. The
       ink panel is an absolutely-positioned ::before, so it never consumes a grid track. */
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: clamp(28px, 4vw, 64px);
    align-items: start;
    overflow: visible;
}
.theme-broadsheet .public-contact-section::before {
    content: "";
    position: absolute;
    left: var(--cm-edge);
    right: var(--cm-edge);
    top: 0;
    bottom: var(--bs-band-y);
    background: var(--bs-ink);
    z-index: 0;
}
/* The ghost backdrop word is not used in this theme. */
.theme-broadsheet .public-contact-section__bg { display: none; }

/* Dissolve the meta wrapper so its children (eyebrow / title / lede / CTA) become direct grid
   items we can place into either column — the renderer keeps the CTA inside meta, but the
   design wants it under the contact rows on the RIGHT. */
.theme-broadsheet .public-contact-card-meta { display: contents; }
.theme-broadsheet .public-contact-section > *,
.theme-broadsheet .public-contact-section .public-contact-card-meta > * {
    position: relative;
    z-index: 1;
}

/* Left column: cyan eyebrow over the serif headline over the blurb. */
.theme-broadsheet .public-contact-section .public-site-section__eyebrow {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 18px;
}
.theme-broadsheet .public-contact-section .public-site-section__eyebrow-bar { background: var(--bs-accent); }
.theme-broadsheet .public-contact-section .public-site-section__eyebrow-text { color: var(--bs-accent); }
.theme-broadsheet .public-contact-section .public-site-section__title {
    grid-column: 1;
    grid-row: 2;
    color: var(--bs-paper);
    border: 0;
    font-family: var(--bs-serif);
    font-size: clamp(2.5rem, 5.5vw, 72px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    font-weight: 400;
    max-width: 14ch;
}
.theme-broadsheet .public-contact-section .public-site-section__lede,
.theme-broadsheet .public-contact-section .public-site-section__intro {
    grid-column: 1;
    grid-row: 3;
    color: color-mix(in srgb, var(--bs-paper) 72%, transparent);
    font-size: 18px;
    max-width: 46ch;
    margin-top: 26px;
}
/* Right column: the definition rows span the three left rows; the CTA sits in row 4 beneath
   them. Hairline-separated dl-style rows. */
.theme-broadsheet .public-contact-card {
    grid-column: 2;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border-top: 0;
}
.theme-broadsheet .public-contact-card__item {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: baseline;
    gap: 16px;
    background: transparent;
    color: var(--bs-paper);
    border: 0;
    border-bottom: 1px solid var(--bs-rule-ink-soft);
    border-radius: 0;
    padding: 20px 0;
}
.theme-broadsheet .public-contact-card__item:first-child {
    border-top: 1px solid var(--bs-rule-ink);
}
.theme-broadsheet .public-contact-card__label {
    font-family: var(--bs-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--bs-paper) 55%, transparent);
    margin: 0;
}
.theme-broadsheet .public-contact-card__value {
    font-family: var(--bs-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--bs-paper);
}
.theme-broadsheet .public-contact-card__value a,
.theme-broadsheet .public-contact-card__value a:link,
.theme-broadsheet .public-contact-card__value a:visited {
    color: var(--bs-paper);
    text-decoration: none;
}
.theme-broadsheet .public-contact-card__value a:hover { color: var(--bs-accent); }
/* CTA — solid red button beneath the contact rows on the RIGHT (DContact "Send a message"). */
.theme-broadsheet .public-contact-card__cta,
.theme-broadsheet .public-contact-card__cta:link,
.theme-broadsheet .public-contact-card__cta:visited {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    align-self: start;
    background: var(--bs-red);
    color: var(--bs-paper);
    border-radius: 0;
    font-family: var(--bs-body);
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: none;
    font-size: 15px;
    padding: 17px 26px;
    margin-top: 36px;
}
.theme-broadsheet .public-contact-card__cta:hover {
    color: var(--bs-paper);
    filter: brightness(1.08);
}
@media (max-width: 860px) {
    /* Stack to a single column: eyebrow, headline, blurb, rows, CTA. */
    .theme-broadsheet .public-contact-section { grid-template-columns: 1fr; }
    .theme-broadsheet .public-contact-section .public-site-section__eyebrow { grid-column: 1; grid-row: 1; }
    .theme-broadsheet .public-contact-section .public-site-section__title { grid-column: 1; grid-row: 2; }
    .theme-broadsheet .public-contact-section .public-site-section__lede,
    .theme-broadsheet .public-contact-section .public-site-section__intro { grid-column: 1; grid-row: 3; }
    .theme-broadsheet .public-contact-card { grid-column: 1; grid-row: 4; margin-top: 32px; }
    .theme-broadsheet .public-contact-card__cta { grid-column: 1; grid-row: 5; margin-top: 24px; }
    .theme-broadsheet .public-contact-card__item { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== Cards on the paper body (News / Events / Teams / Bento / Gallery / Slideshow) =====
   Kept editorial — flat paper surfaces, hairline frames, serif headings — so a club that
   adds these blocks still reads on-theme rather than the generic Radzen look. */
.theme-broadsheet .public-announcement-card,
.theme-broadsheet .public-event-card,
.theme-broadsheet .public-teams-card,
.theme-broadsheet .public-bento__tile,
.theme-broadsheet .public-gallery__tile,
.theme-broadsheet .public-slideshow__slide {
    background: color-mix(in srgb, var(--bs-paper) 96%, #fff);
    border-color: var(--bs-rule-soft);
    border-radius: 0;
    color: var(--bs-ink);
}
.theme-broadsheet .public-announcement-card__title,
.theme-broadsheet .public-event-card__title,
.theme-broadsheet .public-teams-card__name,
.theme-broadsheet .public-bento__heading,
.theme-broadsheet .public-slideshow__heading {
    font-family: var(--bs-serif);
    font-weight: 400;
    letter-spacing: -0.3px;
    text-transform: none;
    color: var(--bs-ink);
}
.theme-broadsheet .public-announcement-card__meta,
.theme-broadsheet .public-event-card__meta,
.theme-broadsheet .public-teams-card__meta {
    font-family: var(--bs-mono);
    letter-spacing: 1.6px;
    color: var(--bs-red);
}
.theme-broadsheet .public-bento__icon { color: var(--bs-red); }

/* ===== Outer-layout footer ("Powered by My League Hub") ===== */
.public-site:has(.theme-broadsheet) .public-site__footer {
    background: transparent;
    border-top-color: var(--bs-rule-soft);
    color: var(--bs-muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11.5px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* ===== Responsive — tighten band padding on phones ===== */
@media (max-width: 720px) {
    .theme-broadsheet .public-site-section {
        padding: clamp(52px, 12vw, 76px) var(--cm-inset);
    }
    .theme-broadsheet .public-contact-section {
        padding-inline: calc(var(--cm-inset) + var(--bs-contact-pad));
        padding-block: var(--bs-contact-pad) calc(clamp(52px, 12vw, 76px) + var(--bs-contact-pad));
    }
    .theme-broadsheet .public-contact-section::before {
        left: var(--cm-inset);
        right: var(--cm-inset);
        bottom: clamp(52px, 12vw, 76px);
    }
}
