.hub-guided-matches--score-strip .match-item,
.hub-guided-matches--strip .match-item {
    background: linear-gradient(180deg, color-mix(in srgb, var(--hub-accent) 5%, var(--hub-surface)), var(--hub-surface));
    border-top: 3px solid var(--hub-accent) !important;
    margin: 0 !important;
}
.hub-guided-matches--compact-list .match-item,
.hub-guided-matches--compact .match-item {
    margin-bottom: .5rem !important;
}
.hub-guided-matches--compact-list .match-row,
.hub-guided-matches--compact .match-row {
    min-height: 74px;
    padding: .65rem .8rem !important;
}
.hub-guided-matches--compact-list :is(.match-team-logo, .match-team-logo-placeholder),
.hub-guided-matches--compact :is(.match-team-logo, .match-team-logo-placeholder) {
    height: 30px !important;
    width: 30px !important;
}

.hub-standings-team-link {
    color: inherit;
    font-size: .875rem;
    max-width: none;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.hub-standings-team-cell {
    position: relative;
    cursor: pointer;
}
.hub-standings-team-link::after {
    content: '';
    position: absolute;
    inset: 0;
}
.hub-standings-team-link:hover,
.hub-standings-team-link:focus-visible {
    color: var(--hub-heading);
    text-decoration: underline;
}
.hub-standings-team-link:focus-visible {
    outline: none;
}
.hub-standings-team-link:focus-visible::after {
    border-radius: var(--hub-radius-sm);
    outline: 3px solid color-mix(in srgb, var(--hub-accent) 55%, transparent);
    outline-offset: -3px;
}

.hub-page-wrapper .hub-block-card[data-guided-variant='complete-table'] .hub-standings {
    border-radius: calc(var(--hub-guided-radius) * .8);
}

.hub-team-grid--logo-wall .hub-team-card,
.hub-team-grid--logos .hub-team-card {
    align-items: center;
    background: radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--hub-accent) 10%, var(--hub-surface)), var(--hub-surface) 68%);
    min-height: 160px;
    text-align: center;
}
.hub-team-grid--logo-wall .hub-profile-card__top,
.hub-team-grid--logos .hub-profile-card__top {
    align-items: center;
    flex-direction: column;
}
.hub-team-grid--logo-wall :is(.hub-profile-card__chips, .hub-profile-card__role),
.hub-team-grid--logos :is(.hub-profile-card__chips, .hub-profile-card__role) {
    display: none !important;
}
.hub-team-grid--division-grouped {
    display: block !important;
}
.hub-team-division + .hub-team-division {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.hub-team-division__title {
    border-bottom: 1px solid var(--hub-guided-border);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    margin: 0 0 1rem;
    padding-bottom: .65rem;
}
.hub-team-division__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.hub-page-wrapper .hub-block-card[data-guided-variant='featured-story'] .row.g-4 > :first-child .hub-news-card,
.hub-page-wrapper .hub-block-card[data-guided-variant='featured'] .row.g-4 > :first-child .hub-news-card {
    border-color: var(--hub-guided-border);
    box-shadow: var(--hub-guided-shadow);
}
.hub-page-wrapper .hub-block-card[data-guided-variant='editorial-grid'] .hub-news-card {
    border-radius: calc(var(--hub-guided-radius) * .75);
}
.hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .row.g-4 {
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr;
}
.hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .row.g-4 > * {
    width: 100%;
}
.hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .hub-news-card {
    display: grid;
    grid-template-columns: minmax(120px, 22%) minmax(0, 1fr);
}
.hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .hub-news-card__image {
    height: 100%;
    min-height: 150px;
}
.hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .hub-news-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.hub-sponsors-grid--logo-cloud .hub-sponsor-card,
.hub-sponsors-grid--cloud .hub-sponsor-card {
    background: transparent !important;
    border-color: transparent !important;
}
.hub-sponsors-grid--featured-partner .hub-sponsor-card:first-child {
    background: linear-gradient(145deg, color-mix(in srgb, var(--hub-accent) 11%, var(--hub-surface)), var(--hub-surface));
    box-shadow: var(--hub-guided-shadow);
    grid-column: 1 / -1;
    min-height: 210px;
}

/* Count-aware data blocks: sparse content should feel deliberately composed,
   not like a full grid with most of its columns missing. */
.hub-news-grid[data-record-count='1'] {
    justify-content: center;
}
.hub-news-grid[data-record-count='1'] > .hub-news-grid__item {
    flex: 0 1 920px;
    max-width: 920px;
    width: min(100%, 920px);
}
.hub-news-grid[data-record-count='1'] .hub-news-card {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    min-height: 280px;
}
.hub-news-grid[data-record-count='1'] .hub-news-card__image,
.hub-news-grid[data-record-count='1'] .hub-news-card--featured .hub-news-card__image {
    height: 100%;
    min-height: 280px;
}
.hub-news-grid[data-record-count='1'] .hub-news-card__content {
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 2.75rem);
}
.hub-news-grid[data-record-count='2'] {
    justify-content: center;
}
.hub-news-grid[data-record-count='2'] > .hub-news-grid__item {
    flex: 0 1 520px;
    max-width: 520px;
    width: min(50%, 520px);
}

/* Teams on phones: a compact roster row with the crest beside the name, so a
   league of six reads in one screen instead of four. Logo walls keep their
   own stacked layout. */
@media (max-width: 767.98px) {
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card {
        padding: .85rem 1rem;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__top {
        align-items: center;
        flex-direction: row;
        gap: .85rem;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-media {
        font-size: .8rem;
        height: 44px;
        max-height: 44px;
        max-width: 44px;
        min-height: 44px;
        min-width: 44px;
        width: 44px;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta {
        gap: .3rem;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__name {
        font-size: .95rem;
    }
    /* The facts read as two quiet lines instead of rows of pills: where the
       team plays ("Conference · Division"), then its numbers ("14 players ·
       Record 9-3"). The chips' ::after is a zero-height flex line break
       between the two groups. Roster previews and links below are untouched. */
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta > .hub-profile-card__chips {
        gap: .1rem 0;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta > .hub-profile-card__chips::after {
        content: '';
        flex-basis: 100%;
        order: 1;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta > .hub-profile-card__chips > .hub-profile-chip {
        background: none;
        color: var(--hub-text-muted, var(--hub-muted));
        font-size: .8rem;
        font-weight: 500;
        order: 2;
        padding: 0;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta > .hub-profile-card__chips > :is(.hub-team-chip--conference, .hub-team-chip--division) {
        order: 0;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta > .hub-profile-card__chips > .hub-profile-chip i {
        display: none;
    }
    .hub-page-wrapper .hub-team-grid:not(.hub-team-grid--logos):not(.hub-team-grid--logo-wall) .hub-team-card .hub-profile-card__meta > .hub-profile-card__chips > :is(.hub-team-chip--conference ~ .hub-team-chip--division, .hub-team-chip--players ~ .hub-team-chip--record)::before {
        content: '\00b7';
        margin-left: .3rem; /* the chip's own flex gap spaces the right side */
    }
}

.hub-team-grid:not(.hub-team-grid--division-grouped)[data-record-count='1'] {
    grid-template-columns: minmax(280px, 560px);
    justify-content: center;
}
.hub-team-grid:not(.hub-team-grid--division-grouped)[data-record-count='2'] {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
}
.hub-team-grid:not(.hub-team-grid--division-grouped)[data-record-count='3'] {
    grid-template-columns: repeat(3, minmax(230px, 360px));
    justify-content: center;
}
.hub-team-division__grid[data-record-count='1'] {
    grid-template-columns: minmax(280px, 560px);
}
.hub-team-division__grid[data-record-count='2'] {
    grid-template-columns: repeat(2, minmax(280px, 420px));
}

.hub-sponsors-grid[data-record-count='1'] {
    grid-template-columns: minmax(180px, 300px);
    justify-content: center;
}
.hub-sponsors-grid[data-record-count='2'] {
    grid-template-columns: repeat(2, minmax(180px, 280px));
    justify-content: center;
}
.hub-sponsors-grid[data-record-count='3'] {
    grid-template-columns: repeat(3, minmax(180px, 250px));
    justify-content: center;
}
.hub-sponsors-grid[data-record-count='1'] .hub-sponsor-card {
    min-height: 132px;
    padding: 1.25rem 1.5rem;
}
.hub-sponsors-grid[data-record-count='1'] .hub-sponsor-logo {
    max-height: 88px;
    max-width: 220px;
}

/* Automatic record-density compositions. These rules deliberately outrank a
   saved visual preference when the data count would otherwise create a weak
   or misleading layout. Advanced variants still influence colour and detail. */
:is(
    .hub-awards-composition,
    .hub-guided-matches,
    .hub-event-list,
    .hub-gallery-composition,
    .hub-slideshow-composition,
    .hub-video-composition,
    .hub-staff-grid,
    .hub-download-list,
    .hub-faq-list
)[data-record-density] :is(h2, h3, p, span, a) {
    overflow-wrap: anywhere;
}

/* Schedule: broadcast score desk, not a generic card grid. */
.hub-guided-matches[data-auto-layout='game-spotlight'] {
    margin-inline: auto;
    max-width: 940px;
}
.hub-guided-matches[data-auto-layout='game-spotlight'] .match-item {
    background:
        radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--hub-accent) 18%, transparent), transparent 54%),
        linear-gradient(180deg, color-mix(in srgb, var(--hub-text) 4%, var(--hub-surface)), var(--hub-surface));
    border: 1px solid color-mix(in srgb, var(--hub-accent) 32%, var(--hub-border)) !important;
    border-top: 4px solid var(--hub-accent) !important;
    box-shadow: 0 20px 45px color-mix(in srgb, var(--hub-text) 11%, transparent);
    margin: 0 !important;
    padding: clamp(1.2rem, 3vw, 2rem) !important;
}
.hub-guided-matches[data-auto-layout='game-spotlight'] .match-row {
    min-height: 150px;
}
.hub-guided-matches[data-auto-layout='game-spotlight'] :is(.match-team-logo, .match-team-logo-placeholder) {
    height: clamp(54px, 7vw, 78px) !important;
    width: clamp(54px, 7vw, 78px) !important;
}
.hub-guided-matches[data-auto-layout='game-spotlight'] .match-team-name {
    font-size: clamp(.9rem, 1.8vw, 1.18rem);
    font-weight: 850;
}
.hub-guided-matches[data-auto-layout='score-desk'] {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-item {
    background: var(--hub-surface) !important;
    border: 1px solid color-mix(in srgb, var(--hub-text) 16%, var(--hub-border)) !important;
    border-radius: 10px !important;
    box-shadow: none;
    margin: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    text-decoration: none;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-item::before {
    display: none;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-row {
    display: grid;
    gap: 0;
    grid-template-areas:
        'match-meta'
        'home-team'
        'away-team';
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-center {
    align-items: center;
    background: color-mix(in srgb, var(--hub-text) 2%, var(--hub-surface));
    border-bottom: 1px solid color-mix(in srgb, var(--hub-text) 12%, var(--hub-border));
    border-radius: 0;
    display: grid;
    gap: .18rem .75rem;
    grid-area: match-meta;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    min-width: 0;
    padding: .8rem .9rem;
    text-align: left;
    width: 100%;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-center :is(.match-vs, .badge) {
    align-items: center;
    background: transparent !important;
    border: 0;
    border-radius: 0 !important;
    color: var(--hub-text-muted) !important;
    display: inline-flex;
    font-size: .66rem;
    font-weight: 900;
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 28px;
    justify-content: center;
    min-width: 24px;
    padding: 0;
    text-transform: uppercase;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-center .badge {
    color: var(--hub-text) !important;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
    min-width: auto;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-time,
.hub-guided-matches[data-auto-layout='score-desk'] .match-venue {
    grid-column: 1;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-time {
    color: var(--hub-text);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .01em;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-venue {
    color: var(--hub-text-muted);
    display: -webkit-box;
    font-size: .69rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 1.35em;
    overflow: hidden;
    white-space: normal;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-home {
    grid-area: home-team;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-away {
    grid-area: away-team;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team {
    background: transparent;
    border: 0;
    border-radius: 0;
    justify-content: flex-start;
    min-height: 68px;
    padding: .7rem .9rem;
    width: 100%;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-home {
    border-bottom: 1px solid color-mix(in srgb, var(--hub-text) 10%, var(--hub-border));
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-away .match-team-info {
    order: 2;
    text-align: left;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-away :is(.match-team-logo, .match-team-logo-placeholder) {
    order: 1;
}
.hub-guided-matches[data-auto-layout='score-desk'] :is(.match-team-logo, .match-team-logo-placeholder) {
    height: 44px !important;
    width: 44px !important;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-logo-placeholder {
    background: color-mix(in srgb, var(--hub-text) 4%, var(--hub-surface));
    border: 1px solid var(--hub-border);
    color: var(--hub-text-muted);
}
.match-team-side {
    display: none;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-side {
    color: var(--hub-text-muted);
    display: block;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    margin-bottom: .18rem;
    text-transform: uppercase;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-info {
    flex: 1;
    min-width: 0;
}
.hub-guided-matches[data-auto-layout='score-desk'] .match-team-name {
    display: block;
    color: var(--hub-text);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Strip variants tile cards in 250px columns, too narrow for a ledger row; stack them like the other layouts. */
.hub-guided-matches[data-auto-layout='schedule-ledger']:is(.hub-guided-matches--score-strip, .hub-guided-matches--strip) {
    grid-template-columns: minmax(0, 1fr);
}
.hub-guided-matches[data-auto-layout='schedule-ledger'] .match-item {
    border-radius: 10px !important;
    margin-bottom: .45rem !important;
    padding: .65rem .85rem !important;
}
.hub-guided-matches[data-auto-layout='schedule-ledger'] .match-row {
    grid-template-columns: minmax(130px, 1fr) minmax(130px, 220px) minmax(130px, 1fr);
    min-height: 70px;
}
.hub-guided-matches[data-auto-layout='schedule-ledger'] :is(.match-team-logo, .match-team-logo-placeholder) {
    height: 34px !important;
    width: 34px !important;
}

/* Awards: ceremonial portraiture and podium rhythm. */
.hub-awards-composition {
    position: relative;
}
.hub-awards-composition::before {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, #d5a83f 68%, transparent), transparent);
    content: '';
    display: block;
    height: 1px;
    margin: 0 auto 1rem;
    max-width: 760px;
}
.hub-awards-composition[data-auto-layout='winner-spotlight'] .hub-awards-grid {
    justify-content: center;
}
.hub-awards-composition[data-auto-layout='winner-spotlight'] .hub-awards-grid > * {
    max-width: 980px;
}
.hub-awards-composition[data-auto-layout='honours-podium'] .hub-awards-grid {
    justify-content: center;
}
.hub-awards-composition[data-auto-layout='honours-podium'] .hub-awards-grid > * {
    flex: 0 1 390px;
    max-width: 390px;
    width: min(100%, 390px);
}
.hub-awards-composition[data-auto-layout='honours-podium'] .awards-grid-card {
    background:
        radial-gradient(circle at 82% 5%, color-mix(in srgb, #d5a83f 18%, transparent), transparent 42%),
        var(--award-panel);
    border-top: 3px solid color-mix(in srgb, #d5a83f 72%, var(--award-accent));
    min-height: 100%;
}
.hub-awards-composition[data-auto-layout='awards-gallery'] .awards-grid-card {
    border-radius: 12px;
    padding: 1rem;
}
.hub-awards-composition .awards-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.hub-awards-composition :is(.awards-player-name, .awards-grid-card .fw-bold) {
    overflow-wrap: anywhere;
}

/* Gallery and media: editorial photography, cinematic motion, resilient
   fallbacks for missing files and hostile aspect ratios. */
.hub-gallery-composition[data-auto-layout='photo-feature'] {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hub-text) 7%, var(--hub-surface-alt)), var(--hub-surface));
    border: 1px solid color-mix(in srgb, var(--hub-text) 12%, var(--hub-border));
    border-radius: 20px;
    box-shadow: 0 22px 52px color-mix(in srgb, var(--hub-text) 13%, transparent);
    max-width: min(100%, 1040px) !important;
    padding: clamp(.5rem, 1.2vw, .85rem);
}
.hub-gallery-composition[data-auto-layout='photo-feature'] .gallery-item {
    align-items: center;
    display: flex;
    justify-content: center;
    max-height: min(76vh, 760px);
    min-height: min(44vw, 420px);
}
.hub-gallery-composition[data-auto-layout='photo-feature'][data-image-fit='contain'] .gallery-item img {
    height: auto !important;
    max-height: min(74vh, 740px) !important;
    object-fit: contain !important;
    width: 100%;
}
.hub-gallery-composition[data-auto-layout='photo-duet'] {
    gap: clamp(.65rem, 1.5vw, 1rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hub-gallery-composition[data-auto-layout='editorial-mosaic'] {
    gap: clamp(.55rem, 1.2vw, .85rem);
}
.hub-gallery-composition[data-auto-layout='contact-sheet'] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.hub-gallery-composition[data-auto-layout='contact-sheet'] .gallery-item {
    aspect-ratio: 4 / 3 !important;
}
.hub-gallery-composition .gallery-item-caption {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.hub-video-composition {
    background: #090c12;
    border: 1px solid color-mix(in srgb, white 16%, transparent);
    box-shadow: 0 24px 60px color-mix(in srgb, black 26%, transparent);
}
.hub-block-card--slideshow {
    padding: clamp(.7rem, 1.35vw, 1rem) !important;
    border-color: color-mix(in srgb, var(--slms-accent) 18%, var(--hub-border)) !important;
    border-radius: clamp(20px, 2vw, 28px);
    margin-inline: auto !important;
    max-width: min(100%, var(--hub-slideshow-card-max-width, 100%)) !important;
    box-shadow:
        0 24px 56px color-mix(in srgb, var(--hub-text) 12%, transparent),
        0 4px 12px color-mix(in srgb, var(--hub-text) 7%, transparent);
}
.hub-slideshow-heading {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: clamp(.3rem, .7vw, .5rem) clamp(.3rem, .85vw, .6rem) clamp(.8rem, 1.3vw, 1rem);
}
.hub-slideshow-heading__copy {
    min-width: 0;
}
.hub-slideshow-heading__title {
    color: var(--slms-heading);
    font-family: var(--slms-font-heading, var(--font-display));
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin: 0;
    overflow-wrap: anywhere;
}
.hub-slideshow-heading__subtitle {
    color: var(--slms-muted);
    font-size: .9rem;
    margin: .45rem 0 0;
    max-width: 62ch;
}
.hub-slideshow-composition {
    background: color-mix(in srgb, var(--hub-text) 94%, var(--slms-primary));
    border: 1px solid color-mix(in srgb, var(--hub-surface) 18%, transparent);
    border-radius: clamp(16px, 1.5vw, 22px);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--hub-surface) 7%, transparent),
        0 18px 38px color-mix(in srgb, var(--hub-text) 22%, transparent);
    overflow: hidden;
    position: relative;
}
/* Do not isolate this stacking context: the controls must remain above the
   sibling whole-section link overlay (z-index 4) so they advance the carousel. */
.hub-slideshow-composition[data-hero-mode='standard']:is([data-image-fit='contain'], [data-image-fit='scale-down']) {
    margin-inline: auto;
    width: min(100%, var(--hub-slideshow-frame-max-width, 100%));
}
.hub-slideshow-composition[data-auto-layout='still-feature'] {
    margin-inline: auto;
    max-width: 100%;
}
.hub-slideshow-composition .carousel-inner {
    min-height: 255px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.hub-slideshow-composition .carousel-item {
    float: none;
    height: 100% !important;
    inset: 0 !important;
    margin: 0;
    overflow: hidden;
    position: absolute !important;
    width: 100% !important;
}
.hub-slideshow-composition .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) {
    display: block;
}
.hub-slideshow-media {
    height: 100%;
    inset: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
}
.hub-slideshow-backdrop,
.hub-slideshow-image,
.hub-slideshow-vignette {
    height: 100% !important;
    inset: 0 !important;
    max-height: none !important;
    max-width: none !important;
    pointer-events: none;
    position: absolute !important;
    width: 100% !important;
}
.hub-slideshow-backdrop {
    filter: blur(38px) saturate(1.14);
    object-fit: cover;
    opacity: .78;
    transform: scale(1.16);
    z-index: 0;
}
.hub-slideshow-image {
    filter: drop-shadow(0 16px 32px color-mix(in srgb, var(--hub-text) 30%, transparent));
    z-index: 1;
}
.hub-slideshow-vignette {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--hub-text) 42%, transparent), transparent 31%, transparent 69%, color-mix(in srgb, var(--hub-text) 42%, transparent)),
        linear-gradient(0deg, color-mix(in srgb, var(--hub-text) 22%, transparent), transparent 38%);
    z-index: 2;
}
.hub-slideshow-composition[data-image-fit='cover'] .hub-slideshow-backdrop,
.hub-slideshow-composition[data-image-fit='fill'] .hub-slideshow-backdrop {
    display: none;
}
.hub-slideshow-composition[data-hero-mode='hero'] .hub-slideshow-vignette,
.hub-slideshow-composition[data-hero-mode='fullscreen'] .hub-slideshow-vignette {
    background: linear-gradient(0deg, color-mix(in srgb, var(--hub-text) 70%, transparent), transparent 62%);
}
.hub-slideshow-control {
    align-items: center;
    background: color-mix(in srgb, var(--hub-text) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--hub-surface) 28%, transparent);
    border-radius: 999px;
    color: var(--hub-surface);
    display: flex;
    height: 3rem;
    justify-content: center;
    opacity: .9;
    padding: 0;
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
    width: 3rem;
    z-index: 6;
}
.hub-block-card--linked .hub-slideshow-composition > .hub-slideshow-control {
    position: absolute !important;
}
.hub-slideshow-control i {
    font-size: 1.25rem;
}
.hub-slideshow-control--previous {
    left: clamp(.65rem, 1.5vw, 1.15rem);
}
.hub-slideshow-control--next {
    right: clamp(.65rem, 1.5vw, 1.15rem);
}
.hub-slideshow-control:hover {
    background: var(--slms-accent);
    border-color: var(--slms-accent);
    opacity: 1;
    transform: translateY(-50%) scale(1.06);
}
.hub-slideshow-control:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--slms-accent) 58%, transparent);
    outline-offset: 3px;
}
.hub-slideshow-indicators {
    align-items: center;
    background: color-mix(in srgb, var(--hub-text) 68%, transparent);
    border: 1px solid color-mix(in srgb, var(--hub-surface) 18%, transparent);
    border-radius: 999px;
    bottom: clamp(.7rem, 1.5vw, 1.1rem);
    display: flex;
    gap: 0;
    left: 50%;
    margin: 0;
    padding: .05rem .2rem;
    position: absolute;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    z-index: 6;
}
/* Each dot is a 24px target (the visible dot is drawn inside it); the 7px dots
   were too small to tap. */
.hub-slideshow-indicators [data-bs-target] {
    background: transparent;
    border: 0;
    border-radius: 999px;
    height: 1.5rem;
    margin: 0;
    min-height: 24px;
    min-width: 24px;
    opacity: 1;
    padding: 0;
    position: relative;
    transition: width .2s ease;
    width: 1.5rem;
}
.hub-slideshow-indicators [data-bs-target]::before {
    background: color-mix(in srgb, var(--hub-surface) 62%, transparent);
    border-radius: 999px;
    content: "";
    height: .42rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, width .2s ease;
    width: .42rem;
}
.hub-slideshow-indicators [data-bs-target].active {
    width: 2.1rem;
}
.hub-slideshow-indicators [data-bs-target].active::before {
    background: var(--slms-accent);
    width: 1.45rem;
}
.hub-slideshow-composition .carousel-caption {
    background: color-mix(in srgb, var(--hub-text) 76%, transparent);
    border: 1px solid color-mix(in srgb, var(--hub-surface) 16%, transparent);
    border-radius: 14px;
    bottom: 3.6rem;
    color: var(--hub-surface);
    left: clamp(1rem, 3vw, 2.25rem);
    max-width: min(680px, calc(100% - 2rem));
    padding: .85rem 1rem;
    right: auto;
    text-align: left;
    z-index: 5;
}
.hub-slideshow-composition .carousel-caption :is(h2, h3, p) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.hub-slideshow-composition .carousel-caption :is(h2, h3) {
    -webkit-line-clamp: 2;
    color: inherit;
    font-family: var(--slms-font-heading, var(--font-display));
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}
.hub-slideshow-composition .carousel-caption p {
    -webkit-line-clamp: 3;
    color: inherit;
    font-size: .86rem;
    margin: .28rem 0 0;
    opacity: .82;
}
/* Headline over slides: one headline, line and button that stay put while the
   photos change, low on the left over a shade that keeps white type readable
   on any photo. On phones it sits under the photo instead (below). */
.hub-slideshow-overlay {
    background: linear-gradient(to top, color-mix(in srgb, var(--hub-text) 82%, transparent), color-mix(in srgb, var(--hub-text) 46%, transparent) 62%, transparent);
    bottom: 0;
    color: var(--hub-surface);
    display: grid;
    gap: .6rem;
    justify-items: start;
    left: 0;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem) clamp(3.6rem, 6vw, 4.5rem);
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 5;
}
.hub-slideshow-overlay > * {
    max-width: min(46rem, 100%);
    pointer-events: auto;
}
.hub-slideshow-overlay .hub-slideshow-overlay__title {
    color: inherit;
    font-family: var(--slms-font-heading, var(--font-display));
    font-size: clamp(1.75rem, 4.2vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.02;
    margin: 0;
    text-shadow: 0 2px 18px color-mix(in srgb, var(--hub-text) 45%, transparent);
    text-wrap: balance;
}
.hub-slideshow-overlay .hub-slideshow-overlay__text {
    color: inherit;
    font-size: clamp(.95rem, 1.6vw, 1.15rem);
    line-height: 1.45;
    margin: 0;
    opacity: .9;
}
.hub-slideshow-overlay__button {
    align-items: center;
    background: var(--slms-accent);
    border-radius: var(--slms-button-radius, 10px);
    color: var(--slms-on-accent, var(--hub-surface));
    display: inline-flex;
    font-weight: 700;
    gap: .5rem;
    margin-top: .35rem;
    min-height: 2.9rem;
    padding: .7rem 1.35rem;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}
.hub-slideshow-overlay__button:hover {
    background: color-mix(in srgb, var(--slms-accent) 88%, var(--hub-text));
    color: var(--slms-on-accent, var(--hub-surface));
    transform: translateY(-1px);
}
.hub-slideshow-overlay__button:focus-visible {
    outline: 3px solid var(--hub-surface);
    outline-offset: 3px;
}
@media (max-width: 767.98px) {
    .hub-block-card--slideshow {
        padding: .75rem !important;
    }
    .hub-slideshow-heading {
        align-items: center;
        padding: .25rem .25rem .8rem;
    }
    .hub-slideshow-heading__title {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
    }
    .hub-slideshow-heading__subtitle {
        font-size: .8rem;
    }
    .hub-slideshow-composition .carousel-inner {
        min-height: 220px;
    }
    .hub-slideshow-composition[data-hero-mode='standard'] .carousel-inner {
        height: clamp(260px, 78vw, 360px) !important;
    }
    .hub-slideshow-control {
        height: 2.55rem;
        width: 2.55rem;
    }
    .hub-slideshow-control--previous {
        left: .65rem;
    }
    .hub-slideshow-control--next {
        right: .65rem;
    }
    .hub-slideshow-composition .carousel-caption {
        bottom: 3.15rem;
        left: .75rem;
        max-width: calc(100% - 1.5rem);
        padding: .65rem .75rem;
    }
    .hub-slideshow-composition .carousel-caption p {
        -webkit-line-clamp: 2;
    }
}
/* Phones: the photo is small and often a poster with its own words, so
   nothing sits on top of it. With dots to pick a photo (and swiping), the
   arrows go and the dots sit under the photo. Over 8 photos there are no
   dots, so the arrows stay. The dots stay above a whole-section link. */
@media (max-width: 575.98px) {
    .hub-slideshow-composition:has(> .hub-slideshow-indicators) > .hub-slideshow-control {
        display: none !important;
    }
    .hub-slideshow-composition > .hub-slideshow-indicators {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: max-content;
        margin: .6rem auto .1rem;
    }
    .hub-slideshow-composition:has(> .hub-slideshow-indicators) > .carousel-inner {
        border-radius: inherit;
    }
    .hub-slideshow-composition:has(> .hub-slideshow-indicators) .carousel-caption {
        bottom: .75rem;
    }
    /* The headline and button go under the photo, after the dots. */
    .hub-slideshow-composition:has(> .hub-slideshow-overlay) {
        display: flex;
        flex-direction: column;
    }
    .hub-slideshow-composition > .hub-slideshow-indicators {
        order: 1;
    }
    .hub-slideshow-composition > .hub-slideshow-overlay {
        background: none;
        order: 2;
        padding: .9rem 1rem 1.1rem;
        position: static;
    }
    /* Under the photo the words take the frame's colors: light on the dark
       frame, the page's text where the refined design leaves the frame clear. */
    html.hub-page.hub-design-refined .hub-slideshow-composition[data-frame-style="simple"] > .hub-slideshow-overlay {
        color: var(--hub-text);
    }
    .hub-slideshow-overlay .hub-slideshow-overlay__title {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
        text-shadow: none;
    }
    .hub-slideshow-overlay__button {
        justify-content: center;
        width: 100%;
    }
}
/* Jumping to a section (the "On this page" links, a #link) leaves its
   heading clear of a sticky or fixed header: the header's measured height,
   or on wide screens the Centered header folded to one row once scrolled. */
.hub-page-wrapper [id^="hub-block-"] {
    scroll-margin-top: calc(var(--navbar-real-height, var(--navbar-height, 72px)) + 1rem);
}
@media (min-width: 992px) {
    body.nav-style-centered .hub-page-wrapper [id^="hub-block-"] {
        scroll-margin-top: calc(var(--centered-compact-height, 58px) + 1rem);
    }
}
/* A standard slideshow that opens the page (nothing above it but the
   header) starts below the Centered header's hanging crest on wide screens,
   and a cropped one stops at the bottom of the screen under the ticker and the
   header. A photo shown whole keeps the slideshow's full width (narrowing the
   frame to fit the screen's height left wide gaps either side). The ticker and
   header heights are kept current by live-ticker.js and base.html. */
.hub-slideshow-composition[data-opens-page] {
    --hub-opening-crest: 0px;
    --hub-opening-room: max(18rem, calc(100svh - var(--ticker-real-height, 0px) - var(--navbar-real-height, var(--navbar-height, 72px)) - var(--hub-opening-crest) - 3rem));
    margin-top: var(--hub-opening-crest);
}
@media (min-width: 992px) {
    body.nav-style-centered .hub-slideshow-composition[data-opens-page] {
        --hub-opening-crest: max(0px, calc(var(--centered-logo-top) + var(--centered-logo-height) - var(--centered-full-height) - 1rem));
    }
}
.hub-media-fallback {
    align-items: center;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
        #111827;
    color: rgba(255,255,255,.72);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    height: 100%;
    justify-content: center;
    min-height: 240px;
    width: 100%;
}
.hub-media-fallback i {
    font-size: 2.5rem;
}
.hub-page-wrapper .hub-block-card[data-block-type='video'] > .hub-section-title {
    letter-spacing: -.03em;
    max-width: 900px;
}

/* Events, people, files, and FAQs retain their own information architecture. */
.hub-event-list[data-auto-layout='event-ticket'] {
    margin-inline: auto;
    max-width: 820px;
}
.hub-event-list[data-auto-layout='event-ticket'] .hub-event-card {
    background: linear-gradient(110deg, color-mix(in srgb, var(--hub-accent) 9%, var(--hub-surface)), var(--hub-surface));
    border: 1px solid color-mix(in srgb, var(--hub-accent) 30%, var(--hub-border));
    border-left: 5px solid var(--hub-accent);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--hub-text) 10%, transparent);
    padding: clamp(1.2rem, 3vw, 2rem);
}
.hub-event-list[data-auto-layout='weekend-agenda'] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.hub-event-list[data-auto-layout='calendar-ledger'] .hub-event-card {
    border-radius: 10px;
    padding: .75rem .9rem;
}
/* Schedule events (practices, clinics, meetings) inside the event calendar. */
.hub-event-card__kind {
    align-items: center;
    color: var(--hub-accent);
    display: inline-flex;
    font-size: .7rem;
    font-weight: 800;
    gap: .3rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hub-event-card--schedule.is-canceled .hub-profile-card__name {
    color: var(--slms-muted);
    text-decoration: line-through;
}
/* Staff: a people-first leadership roster rather than another generic card grid. */
.hub-staff-grid {
    counter-reset: staff-profile;
}
.hub-staff-card {
    isolation: isolate;
    min-width: 0;
    position: relative;
}
.hub-staff-card__overline,
.hub-download-card__overline {
    align-items: center;
    color: var(--hub-accent);
    display: inline-flex;
    font-size: .66rem;
    font-weight: 850;
    gap: .35rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hub-staff-card__overline i {
    font-size: .9rem;
}
/* "League leadership" introduces one featured profile; on a roster it would
   repeat on every card. */
.hub-staff-grid:not([data-auto-layout='profile-feature']) .hub-staff-card__overline {
    display: none;
}
.hub-staff-grid .hub-staff-bio {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-height: 1.65;
    overflow: hidden;
}
.hub-staff-grid[data-auto-layout='profile-feature'] {
    grid-template-columns: minmax(0, 940px);
    justify-content: center;
}
.hub-page-wrapper .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card {
    background:
        radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--hub-accent) 14%, transparent), transparent 38%),
        var(--hub-surface) !important;
    border-color: color-mix(in srgb, var(--hub-accent) 28%, var(--hub-border)) !important;
    box-shadow: 0 24px 58px color-mix(in srgb, var(--hub-text) 12%, transparent) !important;
    display: grid;
    grid-template-columns: minmax(190px, 270px) minmax(0, 1fr);
    min-height: 320px;
    overflow: hidden;
    padding: 0 !important;
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card::before {
    background: var(--slms-accent);
    bottom: 0;
    content: '';
    height: 5px;
    inset: auto 0 0;
    position: absolute;
    width: auto;
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__top {
    display: contents;
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-avatar {
    border: 0;
    border-radius: 0;
    grid-column: 1;
    grid-row: 1 / span 3;
    height: 100%;
    max-height: none;
    max-width: none;
    min-height: 320px;
    min-width: 0;
    width: 100%;
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-avatar img {
    object-fit: cover;
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-avatar__initials {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__meta {
    align-self: end;
    grid-column: 2;
    padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 3rem) .5rem;
}
/* Extra classes: outranks the refined layer's 1rem profile-card name. */
.hub-page-wrapper .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card .hub-staff-card__name {
    font-size: clamp(1.8rem, 4vw, 3.15rem);
    letter-spacing: -.045em;
    line-height: .98;
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-bio,
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__chips {
    grid-column: 2;
    margin-inline: clamp(1.5rem, 4vw, 3rem);
}
.hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__chips {
    align-self: start;
    margin-bottom: clamp(1.5rem, 4vw, 2.6rem);
}
/* Two or three people: one row of equal cards. Three fill the section; two
   sit centred at a comfortable width so the group stays balanced. */
.hub-staff-grid[data-auto-layout='leadership-row'] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.hub-staff-grid[data-auto-layout='leadership-row'][data-record-count='2'] {
    margin-inline: auto;
    max-width: 760px;
}
/* Four or more: a directory grid, four across on desktop. */
.hub-staff-grid[data-auto-layout='staff-directory'] {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.hub-staff-grid[data-auto-layout='staff-directory'] .hub-staff-bio {
    -webkit-line-clamp: 2;
}
/* Narrow cards (tablet rows, two-column sections) stack the avatar above the
   name so names and roles keep a readable width. */
.hub-staff-grid:not([data-auto-layout='profile-feature']) .hub-staff-card {
    container-type: inline-size;
}
@container (max-width: 260px) {
    .hub-page-wrapper .hub-staff-card .hub-staff-card__top {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }
}
/* Wider cards keep the avatar beside the name, including on phones, where a
   shared rule otherwise stacks every profile-card header. */
@container (min-width: 261px) {
    .hub-page-wrapper .hub-staff-card .hub-staff-card__top {
        align-items: center;
        flex-direction: row;
    }
}

/* Downloads: a recognizable resource desk with document identity and hierarchy. */
.hub-download-list {
    gap: .75rem;
}
.hub-download-card {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    min-width: 0;
}
.hub-download-card__icon {
    align-items: center;
    align-self: stretch;
    background: color-mix(in srgb, var(--hub-accent) 11%, var(--hub-surface));
    border: 1px solid color-mix(in srgb, var(--hub-accent) 18%, var(--hub-border));
    border-radius: 14px;
    color: var(--hub-accent);
    display: flex;
    flex-direction: column;
    gap: .2rem;
    justify-content: center;
    min-height: 62px;
    min-width: 62px;
}
.hub-download-card__icon i {
    font-size: 1.45rem;
}
.hub-download-card__icon span {
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .08em;
    max-width: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hub-download-card__title {
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
    overflow-wrap: anywhere;
}
.hub-download-card__action {
    align-items: center;
    display: flex;
}
.hub-download-card__action .btn {
    align-items: center;
    display: inline-flex;
    gap: .45rem;
    white-space: nowrap;
}
.hub-download-card__unavailable {
    align-items: center;
    color: var(--hub-text-muted);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 750;
    gap: .35rem;
}
.hub-download-list[data-auto-layout='featured-file'] {
    margin-inline: auto;
    max-width: 900px;
}
.hub-page-wrapper .hub-download-list[data-auto-layout='featured-file'] .hub-download-card {
    background:
        linear-gradient(112deg, color-mix(in srgb, var(--hub-accent) 13%, var(--hub-surface)), var(--hub-surface) 56%) !important;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 30%, var(--hub-border)) !important;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--hub-text) 10%, transparent);
    grid-template-columns: 92px minmax(0, 1fr) auto;
    padding: clamp(1.25rem, 3vw, 2rem) !important;
}
.hub-download-list[data-auto-layout='featured-file'] .hub-download-card__icon {
    border-radius: 20px;
    min-height: 92px;
    min-width: 92px;
}
.hub-download-list[data-auto-layout='featured-file'] .hub-download-card__icon i {
    font-size: 2.25rem;
}
.hub-download-list[data-auto-layout='featured-file'] .hub-download-card__title {
    font-size: clamp(1.35rem, 3vw, 2rem) !important;
    letter-spacing: -.025em;
}
/* Two or more files: one grouped list, the same language as the FAQ. A row
   per file with its type, title, details and download action; the "League
   resource" label introduces a single featured file, not every row. */
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) {
    background: var(--hub-surface);
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-refined-radius, var(--hub-radius, 14px));
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    gap: clamp(.75rem, 1.6vw, 1rem);
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 1rem clamp(1rem, 2.4vw, 1.5rem) !important;
    transition: background-color .2s ease;
}
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card + .hub-download-card {
    border-top: 1px solid var(--hub-border) !important;
}
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card:hover {
    background: color-mix(in srgb, var(--hub-text) 2.5%, var(--hub-surface)) !important;
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__icon {
    align-self: center;
    border-radius: 10px;
    gap: .1rem;
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__icon i {
    font-size: 1.15rem;
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__icon span {
    font-size: .5rem;
    max-width: 40px;
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__overline {
    display: none;
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-meta {
    gap: .2rem;
    min-width: 0;
}
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__title {
    font-size: 1rem !important;
    font-weight: 600;
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-meta > p {
    display: -webkit-box;
    font-size: .875rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
/* File details as one quiet line ("PDF · 1.6 MB") instead of pills. */
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-meta__chips {
    gap: 0;
}
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-chip {
    background: none;
    color: var(--hub-text-muted, var(--hub-muted));
    font-size: .78rem;
    font-weight: 500;
    padding: 0;
}
.hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-chip + .hub-download-chip::before {
    content: '\00b7';
    margin-left: .3rem; /* the chip's own flex gap spaces the right side */
}
.hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__action {
    grid-column: auto;
}

/* FAQ: one grouped accordion at every width and question count. A single
   column keeps every question aligned when one opens (a two-column grid
   left gaps beside the open answer), and hairline dividers inside one
   surface read as a single, finished help section. */
.hub-page-wrapper .hub-faq-list {
    --hub-faq-pad-x: clamp(1rem, 2.4vw, 1.5rem);
    --hub-faq-pad-y: clamp(1rem, 1.8vw, 1.25rem);
    --hub-faq-index: 1.75rem;
    --hub-faq-gap: clamp(.75rem, 1.6vw, 1.1rem);
    --hub-faq-toggle: 2rem;
    --hub-faq-indent: calc(var(--hub-faq-pad-x) + var(--hub-faq-index) + var(--hub-faq-gap));
    background: var(--hub-surface);
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-refined-radius, var(--hub-radius, 14px));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--hub-text) 5%, transparent);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}
.hub-page-wrapper .hub-faq-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: background-color .2s ease, box-shadow .2s ease;
}
.hub-page-wrapper .hub-faq-item + .hub-faq-item {
    border-top: 1px solid var(--hub-border);
}
.hub-page-wrapper .hub-faq-item[open] {
    background: color-mix(in srgb, var(--hub-text) 2.5%, var(--hub-surface));
    box-shadow: inset 3px 0 0 var(--hub-accent);
}
.hub-page-wrapper .hub-faq-question {
    align-items: center;
    background: none;
    border: 0;
    color: var(--hub-heading, var(--hub-text));
    column-gap: var(--hub-faq-gap);
    cursor: pointer;
    display: grid;
    font-size: clamp(1rem, .3vw + .92rem, 1.125rem);
    font-weight: 600;
    grid-template-columns: var(--hub-faq-index) minmax(0, 1fr) var(--hub-faq-toggle);
    letter-spacing: -.01em;
    line-height: 1.4;
    list-style: none;
    padding: var(--hub-faq-pad-y) var(--hub-faq-pad-x);
    text-align: left;
    transition: background-color .2s ease;
    width: 100%;
}
.hub-page-wrapper .hub-faq-question::-webkit-details-marker {
    display: none;
}
.hub-page-wrapper .hub-faq-question::marker {
    content: '';
}
.hub-page-wrapper .hub-faq-question:hover {
    background: color-mix(in srgb, var(--hub-text) 3%, transparent);
}
.hub-page-wrapper .hub-faq-question:focus-visible {
    outline: 2px solid var(--hub-accent);
    outline-offset: -2px;
}
.hub-page-wrapper .hub-faq-question__number {
    color: var(--hub-text-muted, var(--hub-muted));
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: .06em;
    transition: color .2s ease;
}
.hub-page-wrapper .hub-faq-item[open] .hub-faq-question__number {
    color: var(--hub-accent);
}
.hub-page-wrapper .hub-faq-question__text {
    min-width: 0;
    overflow-wrap: anywhere;
}
/* Drawn with CSS so the control never depends on an icon font loading. */
.hub-page-wrapper .hub-faq-question__toggle {
    border: 1px solid var(--hub-border);
    border-radius: 50%;
    color: var(--hub-text);
    height: var(--hub-faq-toggle);
    position: relative;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    width: var(--hub-faq-toggle);
}
.hub-page-wrapper .hub-faq-question__toggle::before,
.hub-page-wrapper .hub-faq-question__toggle::after {
    background: currentColor;
    border-radius: 1px;
    content: '';
    height: 1.5px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform .25s ease;
    width: 12px;
}
.hub-page-wrapper .hub-faq-question__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.hub-page-wrapper .hub-faq-question:hover .hub-faq-question__toggle {
    border-color: color-mix(in srgb, var(--hub-text) 30%, var(--hub-border));
}
.hub-page-wrapper .hub-faq-item[open] .hub-faq-question__toggle {
    background: var(--hub-accent);
    border-color: var(--hub-accent);
    color: var(--slms-on-accent, var(--hub-surface));
}
.hub-page-wrapper .hub-faq-item[open] .hub-faq-question__toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
.hub-page-wrapper .hub-faq-answer {
    color: var(--hub-text-muted, var(--hub-muted));
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: calc(var(--hub-faq-indent) + 68ch);
    padding: 0 calc(var(--hub-faq-pad-x) + var(--hub-faq-toggle) + var(--hub-faq-gap)) calc(var(--hub-faq-pad-y) + .25rem) var(--hub-faq-indent);
}
.hub-page-wrapper .hub-faq-item[open] .hub-faq-answer {
    animation: hub-faq-reveal .28s ease both;
}
.hub-page-wrapper .hub-faq-answer > * {
    margin: 0;
}
.hub-page-wrapper .hub-faq-answer > * + * {
    margin-top: .75rem;
}
.hub-page-wrapper .hub-faq-answer :is(ul, ol) {
    padding-left: 1.25rem;
}
.hub-page-wrapper .hub-faq-answer a {
    color: var(--hub-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hub-page-wrapper .hub-faq-answer strong {
    color: var(--hub-text);
}
.hub-page-wrapper .hub-faq-item > .hub-profile-card__chips {
    margin: -.35rem 0 .75rem;
    padding-left: var(--hub-faq-indent);
}
/* One question: an intentional single-answer card at a readable width,
   centred so it stays balanced, rather than one row stretched edge to edge. */
.hub-page-wrapper .hub-faq-list[data-auto-layout='answer-feature'] {
    margin-inline: auto;
    max-width: 880px;
}
.hub-page-wrapper .hub-faq-list[data-auto-layout='answer-feature'] .hub-faq-question {
    font-size: clamp(1.1rem, .6vw + .95rem, 1.3rem);
}
@keyframes hub-faq-reveal {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-page-wrapper .hub-faq-item[open] .hub-faq-answer {
        animation: none;
    }
}
.standings-table-wrap[data-record-density='single'],
.standings-table-wrap[data-record-density='sparse'] {
    margin-inline: auto;
    max-width: 860px;
}

@media (max-width: 767.98px) {
    .hub-news-grid[data-record-count='1'] .hub-news-card {
        display: flex;
        min-height: 0;
    }
    .hub-news-grid[data-record-count='1'] .hub-news-card__image,
    .hub-news-grid[data-record-count='1'] .hub-news-card--featured .hub-news-card__image {
        height: 220px;
        min-height: 220px;
    }
    .hub-news-grid[data-record-count='2'] > .hub-news-grid__item {
        max-width: none;
        width: 100%;
    }
    .hub-team-grid:not(.hub-team-grid--division-grouped)[data-record-count],
    .hub-team-division__grid[data-record-count],
    .hub-sponsors-grid[data-record-count],
    .hub-gallery-composition[data-auto-layout='photo-duet'],
    .hub-event-list[data-auto-layout='weekend-agenda'],
    .hub-staff-grid[data-auto-layout='profile-feature'] {
        grid-template-columns: 1fr;
    }
    .hub-guided-matches[data-auto-layout='score-desk'] {
        grid-template-columns: 1fr;
    }
    .hub-guided-matches[data-auto-layout='game-spotlight'] .match-row {
        min-height: 0;
    }
    .hub-gallery-composition[data-auto-layout='photo-feature'] .gallery-item {
        min-height: 0;
    }
    .hub-page-wrapper .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card {
        display: flex;
        min-height: 0;
    }
    .hub-page-wrapper .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__top {
        align-items: center;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        padding: 1.1rem 1.1rem 0;
    }
    .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-avatar {
        border-radius: 16px;
        flex: 0 0 88px;
        height: 88px;
        max-height: 88px;
        max-width: 88px;
        min-height: 88px;
        width: 88px;
    }
    .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__meta {
        align-self: center;
        padding: 0;
    }
    .hub-page-wrapper .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card .hub-staff-card__name {
        font-size: 1.55rem;
    }
    .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-bio,
    .hub-staff-grid[data-auto-layout='profile-feature'] .hub-staff-card__chips {
        margin-inline: 1.1rem;
    }
    .hub-download-card,
    .hub-page-wrapper .hub-download-list[data-auto-layout='featured-file'] .hub-download-card {
        grid-template-columns: 54px minmax(0, 1fr);
    }
    .hub-download-card__action {
        grid-column: 1 / -1;
    }
    .hub-download-card__action .btn {
        justify-content: center;
        width: 100%;
    }
    /* File lists keep each row compact on phones: the download action stays
       beside the file as a small button instead of a full-width bar. */
    .hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card {
        gap: .75rem;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding: .9rem 1rem !important;
    }
    .hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__icon {
        height: 40px;
        min-height: 40px;
        min-width: 40px;
        width: 40px;
    }
    .hub-page-wrapper .hub-download-list:is([data-auto-layout='file-shelf'], [data-auto-layout='download-index']) .hub-download-card__action .btn {
        font-size: .8rem;
        padding: .35rem .65rem;
        width: auto;
    }
    .hub-download-list[data-auto-layout='featured-file'] .hub-download-card__icon {
        border-radius: 14px;
        min-height: 54px;
        min-width: 54px;
    }
    .hub-download-list[data-auto-layout='featured-file'] .hub-download-card__icon i {
        font-size: 1.45rem;
    }
    /* Phones: keep the index and toggle, but let answers use the full width. */
    .hub-page-wrapper .hub-faq-list {
        --hub-faq-index: 1.4rem;
        --hub-faq-gap: .75rem;
        --hub-faq-toggle: 1.85rem;
    }
    .hub-page-wrapper .hub-faq-answer {
        font-size: .95rem;
        max-width: none;
        padding-left: var(--hub-faq-pad-x);
        padding-right: var(--hub-faq-pad-x);
    }
    .hub-page-wrapper .hub-faq-item > .hub-profile-card__chips {
        padding-left: var(--hub-faq-pad-x);
    }
}
/* Sponsors without a logo: the name is set as a wordmark (display font,
   confident weight) instead of a small muted caption, so a logo-less partner
   reads as a brand rather than as missing artwork. Logos are unchanged. */
.hub-page-wrapper .hub-sponsor-card--wordmark .hub-sponsor-name.fallback {
    color: var(--hub-heading, var(--hub-text));
    display: -webkit-box;
    font-family: var(--font-display, var(--slms-font-base));
    font-size: clamp(.95rem, .4vw + .85rem, 1.15rem);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    padding: 0;
    text-align: center;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.hub-page-wrapper .hub-sponsors-grid--featured-partner .hub-sponsor-card--wordmark:first-child .hub-sponsor-name.fallback {
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    letter-spacing: -.03em;
    line-height: 1.1;
}
/* With a logo, the name only appears on hover; lift it out of the flow so it
   no longer pushes the logo above the card's centre. A logo that fails to
   load keeps its fallback name in the flow, where it stands in for the mark. */
.hub-page-wrapper .hub-sponsor-card:not(.hub-sponsor-card--wordmark) .hub-sponsor-name:not(.fallback) {
    bottom: .5rem;
    left: 50%;
    margin: 0;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    position: absolute;
    text-overflow: ellipsis;
    transform: translate(-50%, 6px);
}
.hub-page-wrapper .hub-sponsor-card:not(.hub-sponsor-card--wordmark):hover .hub-sponsor-name:not(.fallback) {
    transform: translate(-50%, 0);
}
/* The label sits in the corner so the partner's mark centres in the card. */
.hub-page-wrapper .hub-sponsors-grid--featured-partner .hub-sponsor-card:first-child .hub-sponsor-featured-label {
    left: clamp(.75rem, 1.6vw, 1rem);
    position: absolute;
    top: clamp(.75rem, 1.6vw, 1rem);
}
/* Phones: sponsors pair up (a single sponsor and the featured partner still
   span the row) instead of a tall single column of tiles. */
@media (max-width: 767.98px) {
    .hub-page-wrapper .hub-sponsors-grid[data-record-count]:not([data-record-count='1']) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hub-page-wrapper .hub-sponsors-grid--featured-partner .hub-sponsor-card:first-child {
        min-height: 150px;
    }
}
.hub-sponsor-featured-label {
    align-self: flex-start;
    background: var(--hub-accent);
    border-radius: 999px;
    color: var(--slms-on-accent, #fff);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .06em;
    padding: .3rem .58rem;
    text-transform: uppercase;
}

.hub-image-text-card--image-led,
.hub-image-text-card--split {
    box-shadow: var(--hub-guided-shadow);
}
.hub-image-text-card--editorial .hub-image-text-card__content {
    padding: clamp(2rem, 5vw, 4.25rem) !important;
}
.hub-image-text-card--editorial .hub-image-text-card__title {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    letter-spacing: -.04em;
}
.hub-image-text-card--text-first,
.hub-image-text-card--text {
    box-shadow: none !important;
}
.hub-image-text-card--text-first .hub-image-text-card__media {
    display: none;
}
.hub-image-text-card--text-first .hub-image-text-card__content,
.hub-image-text-card--text .hub-image-text-card__content {
    padding: clamp(1.5rem, 4vw, 3.5rem) !important;
    width: 100%;
}

.hub-page-wrapper .hub-block-card[data-guided-variant='image-led'][data-block-type='cta'] .hub-cta-block {
    box-shadow: var(--hub-guided-shadow);
}
.hub-page-wrapper .hub-block-card[data-guided-variant='editorial'][data-block-type='cta'] .hub-cta-block {
    margin-inline: auto;
    max-width: 940px;
}
.hub-page-wrapper .hub-block-card[data-guided-variant='text-first'][data-block-type='cta'] .hub-cta-block {
    box-shadow: none;
    margin-inline: auto;
    max-width: 760px;
}

@media (min-width: 768px) {
    .hub-registration-banner--banner {
        align-items: center;
        display: grid;
        gap: .35rem 2rem;
        grid-template-columns: minmax(0, 1fr) auto;
        text-align: left !important;
    }

    .hub-registration-banner--banner > :is(h2, p) {
        grid-column: 1;
        margin-right: auto;
    }

    .hub-registration-banner--banner > a.btn {
        grid-column: 2;
        grid-row: 1 / span 4;
        min-width: 170px;
    }
}

@media (max-width: 767.98px) {
    .hub-hero[data-guided-mood='bold'] h1 {
        font-size: clamp(2.2rem, 13vw, 4.2rem) !important;
    }

    .hub-hero[data-guided-mood='editorial'] .lead {
        border-left: 0;
        padding-left: 0;
    }

    .hub-registration-banner {
        border-radius: 14px !important;
        padding: 1.5rem 1.1rem !important;
    }

    .hub-guided-matches--strip {
        grid-template-columns: 1fr;
    }

    .hub-guided-matches--strip .match-row,
    .hub-guided-matches--compact .match-row {
        min-height: 0;
    }

    .hub-team-grid--logos,
    .hub-team-grid--logo-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table {
        display: block;
        min-width: 0;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table thead {
        display: none;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table tbody {
        display: grid;
        gap: .75rem;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table tr {
        background: var(--hub-surface);
        border: 1px solid var(--hub-guided-border);
        border-radius: 14px;
        box-shadow: var(--hub-shadow-sm);
        display: grid;
        gap: .35rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: .9rem;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table td {
        align-items: center;
        border: 0 !important;
        display: flex !important;
        justify-content: space-between;
        padding: .25rem !important;
        text-align: right !important;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table td::before {
        color: var(--hub-text-muted);
        content: attr(data-label);
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='mobile-card'] .standings-table td[data-label='Team'] {
        grid-column: 1 / -1;
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .hub-news-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .hub-page-wrapper .hub-block-card[data-guided-variant='compact-feed'] .hub-news-card__image {
        min-height: 120px;
    }

    .hub-sponsors-grid {
        --hub-sponsor-columns: 2 !important;
    }

    .hub-image-text-card--text .hub-image-text-card__content {
        padding: 1.25rem !important;
    }
}

@media (min-width: 992px) {
    .hub-hide-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hub-hide-tablet {
        display: none !important;
    }
}
