/* HFBD semantic design system. Component styles consume these tokens only. */
:root {
  --surface-page: #f5f7f8;
  --surface-section: #ffffff;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;
  --surface-inverse: #061b36;
  --surface-brand: #061b36;
  --text-primary: #091a2f;
  --text-secondary: #324761;
  --text-muted: #607089;
  --text-inverse: #f8fbff;
  --border-subtle: #e5eaf0;
  --border-default: #cbd6e2;
  --border-strong: #8293a8;
  --action-primary: #f2d900;
  --action-primary-hover: #d9c300;
  --action-secondary: #123f78;
  --action-focus: #1c6ac8;
  --status-success: #147a58;
  --status-warning: #9a6400;
  --status-error: #b42318;
  --status-info: #1e5a9e;
  --match-win: #147a58;
  --match-draw: #9a6400;
  --match-loss: #b42318;
  --radius-sm: .625rem;
  --radius-md: 1.125rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --elevation-0: none;
  --elevation-1: 0 1px 2px rgba(6,27,54,.06), 0 10px 28px rgba(6,27,54,.06);
  --elevation-2: 0 3px 8px rgba(6,27,54,.1), 0 18px 42px rgba(6,27,54,.12);
  --elevation-3: 0 14px 52px rgba(2,13,29,.22);
  --duration-instant: 110ms;
  --duration-standard: 190ms;
  --duration-emphasis: 320ms;
  --duration-editorial: 560ms;
  --ease-standard: cubic-bezier(.2,.7,.2,1);
  --ease-emphasised: cubic-bezier(.2,.85,.25,1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --surface-page: #071323;
  --surface-section: #0a1b31;
  --surface-card: #0e243e;
  --surface-elevated: #132c49;
  --surface-inverse: #f8fbff;
  --surface-brand: #020e20;
  --text-primary: #f5f8fc;
  --text-secondary: #c5d2e2;
  --text-muted: #95a9c0;
  --text-inverse: #071323;
  --border-subtle: #1d3653;
  --border-default: #365270;
  --border-strong: #6e8ba9;
  --action-primary: #f2d900;
  --action-primary-hover: #fff04d;
  --action-secondary: #8cc2ff;
  --action-focus: #9acbff;
  --status-success: #6bd6ad;
  --status-warning: #ffd66b;
  --status-error: #ff9e97;
  --status-info: #91c8ff;
  --match-win: #6bd6ad;
  --match-draw: #ffd66b;
  --match-loss: #ff9e97;
  --elevation-1: 0 1px 2px rgba(0,0,0,.2), 0 10px 28px rgba(0,0,0,.18);
  --elevation-2: 0 3px 8px rgba(0,0,0,.28), 0 18px 42px rgba(0,0,0,.25);
  --elevation-3: 0 14px 52px rgba(0,0,0,.4);
  color-scheme: dark;
}

html { background: var(--surface-page); }
body, .wp-site-blocks { background: var(--surface-page); color: var(--text-primary); }
.wp-site-blocks > .wp-block-template-part + #main { margin-block-start: 0; }
body { text-rendering: optimizeLegibility; }
a { color: var(--action-secondary); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--text-primary); }
:focus-visible { outline: 3px solid var(--action-focus); outline-offset: 3px; }

.hfbd-shell { width: min(100% - 2rem, 70rem); }
.hfbd-section { padding-block: clamp(1.75rem, 4vw, 4.5rem); }
.hfbd-page-intro { max-width: 46rem; margin: 0 auto clamp(2.25rem, 5vw, 4.5rem); }
.hfbd-page-intro__eyebrow { display: block; margin-bottom: .8rem; color: var(--status-warning); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hfbd-page-intro h1 { max-width: 15ch; margin: 0; font-size: clamp(2.5rem, 6vw, 5.75rem); letter-spacing: -.065em; }
.hfbd-page-intro p { max-width: 62ch; margin: 1.25rem 0 0; color: var(--text-secondary); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hfbd-surface-card, .hfbd-card, .hfbd-news-card, .hfbd-login, .hfbd-form, .hfbd-notice { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--elevation-1); }
.hfbd-button { min-height: 2.8rem; border-radius: var(--radius-pill); transition: transform var(--duration-standard) var(--ease-standard), box-shadow var(--duration-standard) var(--ease-standard), background-color var(--duration-standard) var(--ease-standard); }
.hfbd-button:hover { transform: translateY(-2px); box-shadow: var(--elevation-2); }
.hfbd-button:active { transform: translateY(0); box-shadow: var(--elevation-0); }
.hfbd-news-card, .hfbd-match, .hfbd-association-card { overflow: clip; transition: transform var(--duration-standard) var(--ease-standard), box-shadow var(--duration-standard) var(--ease-standard), border-color var(--duration-standard) var(--ease-standard); }
.hfbd-news-card:hover, .hfbd-match:hover, .hfbd-association-card:hover { transform: translateY(-4px); box-shadow: var(--elevation-2); border-color: var(--border-default); }
.hfbd-news-card img, .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; }
.hfbd-article { max-width: 48rem; margin-inline: auto; }
.hfbd-article__meta { color: var(--text-muted); font-size: .875rem; }
.hfbd-article .wp-block-post-title { margin-top: .65rem; font-size: clamp(2.35rem, 6vw, 5.25rem); letter-spacing: -.06em; }
.hfbd-article .wp-block-post-featured-image { margin-block: clamp(1.75rem, 4vw, 3rem); overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--elevation-2); }
.hfbd-article .wp-block-post-content { color: var(--text-secondary); font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
.hfbd-article .wp-block-post-content :is(h2,h3) { color: var(--text-primary); margin-top: 2.2em; }
.hfbd-empty-state { padding: clamp(2rem, 6vw, 4rem); border: 1px dashed var(--border-default); border-radius: var(--radius-lg); background: var(--surface-card); color: var(--text-secondary); text-align: center; }
.hfbd-search-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem; max-width: 46rem; padding: .75rem; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--elevation-1); }
.hfbd-search-form input { min-width: 0; border: 0; background: transparent; color: var(--text-primary); font: inherit; padding: .75rem; }
.hfbd-search-form button { min-height: 2.8rem; }
.hfbd-search-results { display: grid; gap: 1rem; margin-top: 2rem; }
.hfbd-search-results > li { list-style: none; padding: 1.25rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card); }
.hfbd-header { background: color-mix(in srgb, var(--surface-page) 92%, transparent); border-color: var(--border-subtle); box-shadow: var(--elevation-0); transition: background-color var(--duration-standard) var(--ease-standard), box-shadow var(--duration-standard) var(--ease-standard); }
.hfbd-header .hfbd-nav a, .hfbd-header .hfbd-brand, .hfbd-header .hfbd-icon-button { color: var(--text-primary); }
.hfbd-header .hfbd-icon-button { border-color: var(--border-default); background: var(--surface-card); }
.hfbd-footer { background: var(--surface-brand); color: #f8fbff; }
.hfbd-footer :is(a,p,.hfbd-footer__bottom) { color: rgba(248,251,255,.8); }
.hfbd-footer a:hover { color: var(--action-primary); }
.hfbd-footer :is(h2,h3,.hfbd-brand) { color: #f8fbff; }
.hfbd-footer__logo-link { display: inline-flex; }
.hfbd-footer__logo-link .hfbd-brand__logo--footer { margin: 0; }
.hfbd-footer__identity-wrap { display: grid; justify-items: center; gap: .8rem; padding-bottom: 2.25rem; text-align: center; border-bottom: 1px solid rgba(248,251,255,.18); }
.hfbd-footer__identity-wrap strong { color: #f8fbff; font-size: 1.05rem; }
.hfbd-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.hfbd-social-link { display: inline-flex !important; align-items: center; justify-content: center; gap: .45rem; min-height: 2.35rem; padding: .45rem .75rem; border: 1px solid rgba(248,251,255,.32); border-radius: 999px; color: #f8fbff !important; font-size: .8rem; font-weight: 800; line-height: 1; text-decoration: none; }
.hfbd-social-link svg { display: block; width: 1rem; height: 1rem; flex: 0 0 1rem; fill: currentColor; }
.hfbd-social-link span { display: flex; align-items: center; min-height: 1rem; line-height: 1; }
.hfbd-social-link--instagram svg { fill: none; stroke: currentColor; stroke-width: 2; }
.hfbd-social-link--instagram .hfbd-social-link__dot { fill: currentColor; stroke: none; }
.hfbd-social-link:hover, .hfbd-social-link:focus-visible { border-color: var(--action-primary); background: var(--action-primary); color: #04172f !important; }
.hfbd-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.25rem; }
.hfbd-footer__grid > div { justify-self: center; text-align: center; }
.hfbd-footer__bottom { align-items: center; justify-content: center; flex-direction: column; gap: .4rem; text-align: center; }
.hfbd-footer__credit { display: inline-flex !important; align-items: center; justify-content: center; gap: .45rem; margin: 0 !important; color: rgba(248,251,255,.8) !important; font-size: .78rem; }
.hfbd-footer__credit img { display: block; width: 3.1rem; height: 1.25rem; object-fit: contain; }
.hfbd-association-location { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; margin-top: clamp(2rem, 5vw, 5rem); padding-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--border-subtle); }
.hfbd-association-location__content { max-width: 44rem; }
.hfbd-association-location h2 { margin: .35rem 0 1rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.hfbd-association-location h2 em { color: var(--status-warning); font-family: Georgia, serif; font-weight: 400; }
.hfbd-association-location p { max-width: 34rem; color: var(--text-muted); line-height: 1.65; }
.hfbd-association-location address { margin-top: 1.25rem; color: var(--text-primary); font-size: 1.05rem; font-style: normal; font-weight: 750; line-height: 1.6; }
.hfbd-map { min-height: 20rem; overflow: hidden; border: 1px solid var(--border-default); border-radius: 10px; box-shadow: var(--elevation-1); }
.hfbd-map iframe { display: block; width: 100%; min-height: 20rem; border: 0; }
.hfbd-map__consent { display: grid; min-height: 20rem; place-content: center; justify-items: center; gap: .75rem; padding: 2rem; background: var(--surface-card); text-align: center; }
.hfbd-map__consent p { max-width:31rem; margin: 0; color: var(--text-secondary); line-height: 1.55; }
.hfbd-form, .hfbd-login { max-width: 50rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--surface-card); }
.hfbd-form__row { gap: 1.25rem; }
.hfbd-field label, .hfbd-login label { color: var(--text-primary); font-weight: 750; }
.hfbd-field :is(input,select,textarea), .hfbd-login input { border-color: var(--border-default); border-radius: var(--radius-sm); background: var(--surface-section); color: var(--text-primary); transition: border-color var(--duration-instant) var(--ease-standard), box-shadow var(--duration-instant) var(--ease-standard); }
.hfbd-field :is(input,select,textarea):focus, .hfbd-login input:focus { border-color: var(--action-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--action-focus) 22%, transparent); outline: 0; }
.hfbd-field :is(input,select,textarea)::placeholder { color: var(--text-muted); opacity: 1; }
.hfbd-notice { border-color: var(--status-info); background: color-mix(in srgb, var(--surface-card) 88%, var(--status-info)); color: var(--text-primary); }
.hfbd-membership-ticket-notice, .hfbd-ticket-notice { display: grid; gap: .45rem; max-width: 50rem; margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; line-height: 1.6; }
.hfbd-membership-ticket-notice strong, .hfbd-ticket-notice strong { color: var(--text-primary); }
.hfbd-membership-ticket-notice span, .hfbd-ticket-notice span { color: var(--text-secondary); }
.hfbd-membership-process { max-width: 50rem; margin-top: 2rem; padding: 1.25rem; border-top: 2px solid var(--action-secondary); background: color-mix(in srgb, var(--surface-card) 94%, var(--action-secondary)); }
.hfbd-membership-process h2 { margin: 0 0 .7rem; font-size: 1.3rem; }
.hfbd-membership-process ol { margin: 0; padding-left: 1.25rem; }
.hfbd-membership-process li + li { margin-top: .35rem; }
.hfbd-membership-process p { margin: .9rem 0 0; color: var(--text-secondary); line-height: 1.55; }
.hfbd-form-section-title { margin: 1.25rem auto 1rem !important; }
.hfbd-match-grid { gap: 1.25rem; }
.hfbd-match { padding: 1.35rem; background: var(--surface-card); color: var(--text-primary); }
.hfbd-match__meta, .hfbd-match__foot { color: var(--text-muted); border-color: var(--border-subtle); }
.hfbd-team__badge { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.55rem; height: 2.55rem; padding: .18rem; border: 1px solid var(--border-default); border-radius: 50%; background: var(--surface-page); color: var(--text-primary); object-fit: contain; }
img.hfbd-team__badge { padding: 0; border: 0; border-radius: 0; background: transparent; }
.hfbd-team__badge--opponent { filter: none; opacity: 1; }
.hfbd-team__badge--fenerbahce { filter: none; }
/* Keep the actual crest detail visible in dark mode instead of reducing it to a silhouette. */
html[data-theme="dark"] img.hfbd-team__badge--opponent { filter: none; opacity: 1; }
.hfbd-fixture__team { display: inline-flex; align-items: center; gap: .7rem; font-weight: 750; }
.hfbd-fixture__team .hfbd-team__badge { width: 2rem; height: 2rem; padding: .12rem; }
.hfbd-match__foot a { color: var(--action-secondary); font-weight: 800; }
.hfbd-match__foot { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .45rem .8rem; }
.hfbd-match__foot a { grid-column: 2; grid-row: 2; white-space: nowrap; }
.hfbd-match__foot > :not(a):last-child { grid-column: 1 / -1; grid-row: 2; }

/* Upcoming-match cards have a fixed three-zone rhythm. Content length may
   vary, but metadata, teams and ticket status always start at the same height. */
.hfbd-match-grid { align-items: stretch; }
.hfbd-match-grid .hfbd-match { display: grid; grid-template-rows: 3.7rem minmax(8.1rem, 1fr) 4.35rem; min-height: 19rem; }
.hfbd-match-grid .hfbd-match__meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(5rem, .9fr); align-items: start; gap: .55rem; min-height: 0; font-size: .68rem; line-height: 1.45; }
.hfbd-match-grid .hfbd-match__meta time { min-width: 0; text-align: right; line-height: 1.45; }
.hfbd-match-grid .hfbd-match__teams { align-content: start; gap: .72rem; margin: 0; min-height: 0; }
.hfbd-match-grid .hfbd-team { min-height: 2.7rem; line-height: 1.24; }
.hfbd-match-grid .hfbd-match__foot { display: grid; grid-template-columns: 1fr; grid-template-rows: 1.55rem 1.55rem; align-items: center; gap: .3rem; min-height: 0; padding-top: .8rem; }
.hfbd-match-grid .hfbd-match__foot .hfbd-status { grid-column: 1; grid-row: 1; align-self: center; }
.hfbd-match-grid .hfbd-match__foot a { grid-column: 1; grid-row: 2; justify-self: end; white-space: nowrap; }
.hfbd-match-grid .hfbd-match__foot > :not(a):last-child { grid-column: 1; grid-row: 2; align-self: center; }
@media (max-width: 40rem) {
  .hfbd-match-grid .hfbd-match { grid-template-rows: auto minmax(7.8rem, 1fr) 4.35rem; min-height: 0; }
  .hfbd-match-grid .hfbd-match__meta { min-height: 3.45rem; }
}

/* Keep the header's HFBD-yellow divider consistent in light and dark modes. */
html[data-theme="light"] .hfbd-header,
html:not([data-theme]) .hfbd-header { border-bottom-color: var(--action-primary); }

/* Sponsor masters remain single-source: in light mode their white artwork is
   rendered in HFBD navy through CSS, without a second uploaded logo file. */
html[data-theme="light"] .hfbd-sponsor img,
html:not([data-theme]) .hfbd-sponsor img { filter: brightness(0) saturate(100%) invert(8%) sepia(37%) saturate(2595%) hue-rotate(174deg) brightness(91%) contrast(101%); }
.hfbd-fixture { border-color: var(--border-subtle); background: var(--surface-card); color: var(--text-primary); }
.hfbd-fixture :is(time,.hfbd-fixture__week) { color: var(--text-muted); }
.hfbd-competition-outlook > div { border-color: var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-primary); box-shadow: var(--elevation-1); }
.hfbd-competition-outlook :is(p,.hfbd-opponents li) { color: var(--text-secondary); border-color: var(--border-subtle); }
.hfbd-association-hub { padding-block: clamp(1.25rem, 3vw, 3.25rem); }
.hfbd-association-hub__intro p { color: var(--text-secondary); }
.hfbd-association-card { grid-template-columns: minmax(6.75rem, 8rem) minmax(0,1fr) auto; border-color: var(--border-default); color: var(--text-primary); }
.hfbd-association-card:hover { color: var(--text-primary); background: color-mix(in srgb, var(--surface-card) 90%, var(--action-primary)); }
.hfbd-association-card__number { color: var(--status-warning) !important; font-size: .78rem !important; font-weight: 900; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.hfbd-association-card__copy { color: var(--text-primary) !important; font-size: 1rem !important; }
.hfbd-association-card__copy small { color: var(--text-secondary) !important; }
.hfbd-association-card__arrow { color: var(--action-secondary) !important; }
.hfbd-partners { background: var(--surface-brand); color: #f8fbff; }
.hfbd-partners :is(h2,p,span) { color: inherit; }
.hfbd-sponsor { border-color: color-mix(in srgb, var(--text-inverse) 22%, transparent); background: var(--surface-elevated); color: var(--text-primary); border-radius: var(--radius-sm); transition: transform var(--duration-standard) var(--ease-standard), border-color var(--duration-standard) var(--ease-standard); }
.hfbd-sponsor:hover { transform: translateY(-2px); border-color: var(--action-primary); }
.hfbd-sponsor-empty { color: color-mix(in srgb, var(--text-inverse) 82%, transparent); }
.hfbd-sponsor-empty a { color: var(--text-inverse); }
html[data-theme="dark"] .hfbd-partners .hfbd-sponsor-empty { color: #e4ebf5; }
html[data-theme="dark"] .hfbd-partners .hfbd-sponsor-empty span { color: #e4ebf5; }
.hfbd-sponsor-dialog { border-radius: var(--radius-md); background: var(--surface-elevated); color: var(--text-primary); box-shadow: var(--elevation-3); }
.hfbd-sponsor-dialog__website { margin: 1.25rem 0 0; }
.hfbd-sponsor-dialog__website a { color: var(--text-primary); font-weight: 850; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.hfbd-dialog-close { color: var(--text-primary); }
.hfbd-experience { position: relative; }
.hfbd-experience--form::before, .hfbd-experience--matches::before, .hfbd-experience--editorial::before { content: ""; position: absolute; inset: -2.4rem auto auto 50%; width: 100vw; height: 30rem; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse at top, color-mix(in srgb, var(--action-primary) 18%, transparent), transparent 68%); }
.hfbd-experience > * { position: relative; }
.hfbd-experience__content { max-width: 70rem; }
.hfbd-experience__content > :is(h2,h3) { max-width: 70rem; margin: clamp(2.5rem, 6vw, 5rem) 0 1.25rem; color: var(--text-primary); font-size: clamp(1.65rem, 3vw, 2.75rem); letter-spacing: -.045em; }
.hfbd-experience__content > h2:first-child { margin-top: 0; }
.hfbd-experience--form .hfbd-experience__content { max-width: 50rem; margin-inline: auto; }
.hfbd-experience--form .hfbd-page-intro { text-align: center; }
.hfbd-experience--form .hfbd-page-intro p { margin-inline: auto; }
.hfbd-experience--matches .hfbd-page-intro { max-width: 52rem; }
.hfbd-experience--matches .hfbd-match-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hfbd-ticket-campaigns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-inline: auto; }
.hfbd-ticket-campaign { display: grid; justify-items: center; gap: .85rem; width: min(100%, 22rem); padding: 1.5rem; color: var(--text-primary); text-align: center; text-decoration: none; }
.hfbd-ticket-campaign__teams { display: grid; gap: .55rem; width: 100%; }
.hfbd-ticket-campaign__team { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; white-space: nowrap; font-size: clamp(.75rem, 1.35vw, .95rem); font-weight: 850; letter-spacing: -.025em; }
.hfbd-ticket-campaign__versus { color: var(--text-muted); font-size: .82rem; font-weight: 800; }
.hfbd-ticket-campaign__action { color: var(--action-secondary); font-weight: 900; text-decoration: underline; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.hfbd-ticket-passengers { display: grid; gap: 1rem; }
.hfbd-ticket-passenger { margin: 0; padding: 1.25rem; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface-card) 92%, var(--action-primary)); }
.hfbd-ticket-passenger legend { padding-inline: .5rem; color: var(--text-primary); font-weight: 900; }
.hfbd-calendar-menu { position: relative; display: inline-block; }
.hfbd-calendar-menu summary { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--text-primary); font-size: .83rem; font-weight: 900; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .24em; }
.hfbd-calendar-menu summary::-webkit-details-marker { display: none; }
.hfbd-calendar-menu summary::after { content: '⌄'; margin-left: .45rem; color: var(--action-secondary); font-size: 1rem; }
.hfbd-calendar-menu > div { position: absolute; right: 0; z-index: 8; display: grid; min-width: 12.5rem; padding: .45rem; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--elevation-2); }
.hfbd-calendar-menu a { padding: .65rem .75rem; color: var(--text-primary); font-size: .82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hfbd-calendar-menu a:hover { background: var(--surface-page); color: var(--action-secondary); }

/* Home-match score ribbon: compact completed results sit above the upcoming
   fixture cards without changing the full match archive or its semantics. */
.hfbd-home-results { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem 1.1rem; align-items: stretch; margin: 0 0 clamp(1rem, 2vw, 1.4rem); padding: .5rem .65rem; border: 1px solid color-mix(in srgb, var(--action-primary) 85%, var(--border-default)); border-left: .28rem solid var(--action-primary); border-radius: .5rem; background: color-mix(in srgb, var(--surface-card) 94%, var(--action-primary)); }
.hfbd-home-results__label { display: grid; align-content: center; padding: .3rem .55rem; color: var(--action-secondary); font-size: .67rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.hfbd-home-results ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin: 0; padding: 0; list-style: none; }
.hfbd-home-results li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .08rem .5rem; align-items: center; min-width: 0; padding: .28rem .6rem; border-left: 1px solid var(--border-subtle); color: var(--text-primary); font-size: .76rem; line-height: 1.25; }
.hfbd-home-results li:first-child { border-left: 0; }
.hfbd-home-results time { grid-column: 1; color: var(--text-muted); font-size: .62rem; font-weight: 800; }
.hfbd-home-results li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.hfbd-home-results strong { grid-column: 2; grid-row: 1 / span 3; color: var(--action-secondary); font-size: .88rem; font-weight: 950; white-space: nowrap; }
@media (max-width: 48rem) {
  .hfbd-home-results { grid-template-columns: 1fr; gap: .35rem; padding: .55rem .65rem; }
  .hfbd-home-results__label { padding: .2rem .35rem; }
  .hfbd-home-results ol { grid-template-columns: 1fr; gap: .2rem; overflow: visible; padding: 0; }
  .hfbd-home-results li,
  .hfbd-home-results li:first-child { grid-template-columns: minmax(0, 1fr) auto; border-left: 0; border-top: 1px solid var(--border-subtle); padding: .45rem .35rem; }
  .hfbd-home-results li:first-child { border-top: 0; }
  .hfbd-home-results li > span { overflow: visible; text-overflow: clip; white-space: normal; }
  .hfbd-home-results time { font-size: .64rem; }
  .hfbd-home-results strong { font-size: .9rem; }
}

/* Matchday editorial redesign: fixed visual rhythm, clear teams and a compact
   calendar action that reads like a premium product control. */
.hfbd-match-grid { gap: clamp(.85rem, 1.8vw, 1.35rem); align-items: stretch; }
.hfbd-match-grid .hfbd-match { display: grid; grid-template-rows: auto minmax(8.4rem,1fr) auto; min-height: 20.5rem; padding: 1.15rem; border: 1px solid color-mix(in srgb, var(--border-default) 85%, transparent); border-radius: 1.15rem; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-card) 94%, var(--action-secondary)), var(--surface-card)); box-shadow: none; }
.hfbd-match-grid .hfbd-match::before { content: ""; position: absolute; inset: 0 auto 0 0; width: .22rem; border-radius: 1.15rem 0 0 1.15rem; background: var(--action-primary); }
.hfbd-match-grid .hfbd-match { position: relative; overflow: visible; }
.hfbd-match-grid .hfbd-match__meta { grid-template-columns: minmax(0,1fr) minmax(6.2rem,.9fr); min-height: 3.25rem; padding-bottom: .85rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: .67rem; font-weight: 900; letter-spacing: .065em; }
.hfbd-match-grid .hfbd-match__meta > span { display: inline-flex; align-items: flex-start; max-width: 14ch; color: var(--text-secondary); }
.hfbd-match-grid .hfbd-match__meta time { display: flex; justify-content: flex-end; color: var(--text-primary); font-size: .71rem; font-weight: 850; }
.hfbd-match-grid .hfbd-match__teams { gap: .9rem; margin: 1.15rem 0; }
.hfbd-match-grid .hfbd-team { min-height: 2.8rem; gap: .8rem; color: var(--text-primary); font-size: 1rem; font-weight: 900; line-height: 1.15; }
.hfbd-match-grid .hfbd-team .hfbd-team__badge { flex: 0 0 2.55rem; width: 2.55rem; height: 2.55rem; padding: .13rem; border-color: color-mix(in srgb, var(--border-default) 78%, transparent); background: var(--surface-page); }
.hfbd-match-grid .hfbd-match__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 2.8rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--border-subtle); }
.hfbd-match-grid .hfbd-match__foot > a { display: inline-flex; align-items: center; min-height: 2.55rem; padding: .45rem .75rem; border-radius: 999px; color: var(--text-primary); background: var(--action-primary); font-size: .78rem; font-weight: 900; text-decoration: none; }
.hfbd-match-grid .hfbd-match__foot > a:hover { background: color-mix(in srgb, var(--action-primary) 85%, #fff); }
.hfbd-calendar-menu { z-index: 12; }
.hfbd-calendar-menu summary { min-height: 2.55rem; padding: .35rem .6rem .35rem .4rem; border: 1px solid var(--border-default); border-radius: 999px; color: var(--text-primary); background: color-mix(in srgb, var(--surface-page) 84%, var(--surface-card)); font-size: .76rem; font-weight: 900; letter-spacing: .01em; text-decoration: none; transition: border-color var(--duration-standard) var(--ease-standard), background var(--duration-standard) var(--ease-standard), transform var(--duration-standard) var(--ease-standard); }
.hfbd-calendar-menu summary:hover, .hfbd-calendar-menu[open] summary { border-color: var(--action-primary); background: var(--action-primary); color: #04172f; transform: translateY(-1px); }
.hfbd-calendar-menu summary::after { display: none; }
.hfbd-calendar-menu summary > i { margin-left: .1rem; color: currentColor; font-size: .94rem; font-style: normal; transition: transform var(--duration-standard) var(--ease-standard); }
.hfbd-calendar-menu[open] summary > i { transform: rotate(180deg); }
.hfbd-calendar-menu__icon { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: color-mix(in srgb, var(--action-primary) 32%, var(--surface-brand)); color: var(--action-primary); }
.hfbd-calendar-menu summary:hover .hfbd-calendar-menu__icon, .hfbd-calendar-menu[open] .hfbd-calendar-menu__icon { background: rgba(4,23,47,.15); color: #04172f; }
.hfbd-calendar-menu__icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.hfbd-calendar-menu > div { right: 0; min-width: 13rem; padding: .55rem; border-color: color-mix(in srgb, var(--border-default) 88%, var(--action-primary)); border-radius: .9rem; background: var(--surface-card); box-shadow: 0 22px 48px rgba(1,14,31,.22); }
.hfbd-calendar-menu__title { padding: .35rem .45rem .55rem; color: var(--text-muted); font-size: .63rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-calendar-menu a { display: flex; align-items: center; gap: .7rem; padding: .63rem .65rem; border-radius: .55rem; color: var(--text-primary); }
.hfbd-calendar-menu a b { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: .42rem; color: #04172f; background: var(--action-primary); font-size: .7rem; }
.hfbd-calendar-menu a:hover { color: var(--text-primary); background: color-mix(in srgb, var(--action-primary) 15%, var(--surface-page)); }
.hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(8.4rem,.56fr) minmax(0,1.55fr) minmax(14.75rem,.86fr); gap: clamp(.85rem,1.7vw,1.45rem); min-height: 6.5rem; padding: 1.05rem 1.35rem; border-radius: 1rem; background: linear-gradient(110deg, color-mix(in srgb, var(--surface-card) 95%, var(--action-secondary)), var(--surface-card)); }
.hfbd-experience--matches .hfbd-fixture__details { grid-template-columns: minmax(6.75rem,1fr) auto; align-items: center; justify-items: stretch; gap: .8rem; min-width: 0; }
.hfbd-experience--matches .hfbd-fixture__details time { min-width: 0; text-align: right; line-height: 1.38; }
.hfbd-experience--matches .hfbd-fixture__ticket { display: inline-flex; align-items: center; justify-content: center; min-height: 2.55rem; padding: .45rem .75rem; border-radius: 999px; color: var(--text-primary); background: var(--action-primary); font-size: .78rem; text-decoration: none; }
.hfbd-experience--matches .hfbd-fixture__ticket span { color: inherit; }
@media (max-width: 70rem) { .hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(8.5rem,.62fr) minmax(0,1.38fr); } .hfbd-experience--matches .hfbd-fixture__details { grid-column: 1 / -1; } }
@media (max-width: 48rem) { .hfbd-match-grid .hfbd-match { min-height: 0; } .hfbd-match-grid .hfbd-match__meta { min-height: 0; } .hfbd-match-grid .hfbd-match__foot { gap: .55rem; } .hfbd-experience--matches .hfbd-fixture { grid-template-columns: 1fr; padding: 1rem; } .hfbd-experience--matches .hfbd-fixture__meta { grid-template-columns: 1fr; gap: .5rem; } .hfbd-experience--matches .hfbd-fixture__competition { text-align: left; } .hfbd-experience--matches .hfbd-fixture__teams { grid-template-columns: minmax(0,1fr) 3rem minmax(0,1fr); } .hfbd-experience--matches .hfbd-fixture__details { grid-column: auto; grid-template-columns: 1fr; justify-items: stretch; } .hfbd-experience--matches .hfbd-fixture__details time { text-align: left; } .hfbd-experience--matches .hfbd-calendar-menu { width: 100%; } .hfbd-experience--matches .hfbd-calendar-menu summary { justify-content: center; width: 100%; } .hfbd-experience--matches .hfbd-calendar-menu > div { right: auto; left: 0; width: 100%; } }
.hfbd-experience .hfbd-form > p:last-of-type { padding: 1rem 1.1rem; border-left: 3px solid var(--border-strong); color: var(--text-secondary); background: color-mix(in srgb, var(--surface-page) 75%, transparent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hfbd-experience .hfbd-form :is(input,select,textarea) { min-height: 3.15rem; }
.hfbd-experience .hfbd-form textarea { min-height: 9rem; }
.hfbd-experience .hfbd-form input[type="checkbox"] { min-height: auto; accent-color: var(--action-secondary); }
.hfbd-experience .hfbd-form .hfbd-button { align-self: start; min-width: min(100%, 14rem); }
.hfbd-news-hub__head, .hfbd-association-hub, .hfbd-experience__content { scroll-margin-top: 7rem; }
.hfbd-news-pagination { border-color: var(--border-default); color: var(--text-secondary); }
.hfbd-news-pagination a { color: var(--action-secondary); }
.hfbd-news-card__image--fallback { background: linear-gradient(145deg, var(--surface-inverse), var(--action-secondary)); }
.hfbd-hero__meta { grid-template-columns: 1fr; }
.hfbd-hero__meta span { text-align: center !important; }
.hfbd-story:hover, .hfbd-story:focus-visible, .hfbd-story:hover :is(h3,.hfbd-story__meta), .hfbd-story:focus-visible :is(h3,.hfbd-story__meta) { color: #f8fbff !important; }
.hfbd-story:hover .hfbd-story__meta, .hfbd-story:focus-visible .hfbd-story__meta { color: var(--action-primary) !important; }
.hfbd-announcement a { color: var(--surface-brand); font-weight: 900; }
.hfbd-section:not(.hfbd-section--navy) .hfbd-eyebrow { color: var(--status-warning); }
.hfbd-section--navy .hfbd-eyebrow, .hfbd-hero .hfbd-eyebrow { color: var(--action-primary); }
.hfbd-section--navy .hfbd-section__head :is(h2,p) { color: #f8fbff; }
.hfbd-home-news { margin-top: 2rem; }
.hfbd-home-news__track { display: flex; gap: 1.25rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .25rem .15rem 1.1rem; scroll-snap-type: x mandatory; scrollbar-color: var(--border-strong) transparent; }
.hfbd-home-story { position: relative; flex: 0 0 calc((100% - 1.25rem) / 2); min-height: clamp(20rem, 38vw, 29rem); overflow: clip; border: 1px solid color-mix(in srgb, #f8fbff 18%, transparent); border-radius: var(--radius-md); scroll-snap-align: start; box-shadow: var(--elevation-1); }
.hfbd-home-story > a { display: block; height: 100%; color: #f8fbff; text-decoration: none; }
.hfbd-home-story img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-editorial) var(--ease-emphasised); }
.hfbd-home-story:hover img { transform: scale(1.035); }
.hfbd-home-story__fallback { display: block; height: 100%; background: linear-gradient(135deg, #123f78, #061b36); }
.hfbd-home-story__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; gap: .7rem; padding: clamp(1.15rem, 3vw, 2rem); background: linear-gradient(180deg, transparent 30%, rgba(2,14,32,.95) 100%); }
.hfbd-home-story__overlay span { color: var(--action-primary); font-size: .75rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.hfbd-home-story__overlay h3 { max-width: 20ch; margin: 0; color: #f8fbff; font-size: clamp(1.55rem, 3vw, 2.65rem); line-height: 1.02; letter-spacing: -.045em; }
.hfbd-home-news__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hfbd-home-news__controls :is(a,button) { min-height: 2.65rem; border: 0; color: #f8fbff; font: inherit; font-weight: 800; }
.hfbd-home-news__controls a { color: var(--action-primary); }
.hfbd-home-news__controls button { padding: .6rem 1rem; border: 1px solid rgba(248,251,255,.38); border-radius: var(--radius-pill); background: transparent; cursor: pointer; transition: transform var(--duration-standard) var(--ease-standard), border-color var(--duration-standard) var(--ease-standard); }
.hfbd-home-news__controls button:hover { border-color: var(--action-primary); transform: translateX(2px); }
html[data-theme="dark"] .hfbd-section--manifesto, html[data-theme="dark"] .hfbd-proof, html[data-theme="dark"] .hfbd-section--tint { background: var(--surface-page); color: var(--text-primary); }
html[data-theme="dark"] .hfbd-section--manifesto::after { opacity: .6; }
html[data-theme="dark"] .hfbd-hero, html[data-theme="dark"] .hfbd-section--navy { color: var(--text-inverse); }
html[data-theme="dark"] .hfbd-hero p, html[data-theme="dark"] .hfbd-section--navy .hfbd-section__head p { color: color-mix(in srgb, var(--text-inverse) 80%, transparent); }
html[data-theme="dark"] .hfbd-hero :is(h1,h2,h3,.hfbd-highlight h2), html[data-theme="dark"] .hfbd-hero .hfbd-highlight { color: #f8fbff; }
html[data-theme="dark"] .hfbd-hero .hfbd-highlight :is(time,p,a) { color: rgba(248,251,255,.88); }
html[data-theme="dark"] .hfbd-proof p strong { color: #f8fbff; }
/* Content must be available on first paint. Reveal attributes remain harmless
   hooks for future progressive enhancement, but never hide a page while a
   browser waits for an observer callback or a user scroll gesture. */
[data-hfbd-reveal] { opacity: 1; transform: none; transition: none; }
[data-hfbd-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 48rem) {
  .hfbd-shell { width: min(100% - 1.25rem, 70rem); }
  .hfbd-footer__grid { grid-template-columns: 1fr; gap: 1.6rem; text-align: center; }
  .hfbd-home-story { flex-basis: 88%; }
  .hfbd-home-news__controls { align-items: stretch; flex-direction: column; }
  .hfbd-page-intro h1 { max-width: 12ch; }
  .hfbd-search-form { grid-template-columns: 1fr; }
  .hfbd-experience--matches .hfbd-match-grid { grid-template-columns: 1fr; }
  .hfbd-ticket-campaign { width: min(100%, 28rem); }
  .hfbd-association-location { grid-template-columns: 1fr; }
  .hfbd-experience--form .hfbd-page-intro { text-align: left; }
  .hfbd-experience--form .hfbd-page-intro p { margin-inline: 0; }
  .hfbd-association-card { grid-template-columns: 5.75rem minmax(0,1fr) auto; gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-hfbd-reveal] { opacity: 1; transform: none; }
}

/* Final Matchday composition. This deliberately follows legacy fixture rules so
   every present and future import receives the same card rhythm. */
.hfbd-experience--matches .hfbd-fixture {
  grid-template-columns: minmax(7.6rem, .5fr) minmax(0, 1.5fr) minmax(15.5rem, .95fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}
.hfbd-experience--matches .hfbd-fixture__teams {
  grid-template-columns: minmax(0,1fr) 3rem minmax(0,1fr);
  gap: .55rem;
}
.hfbd-experience--matches .hfbd-fixture__team b { font-size: .88rem; }
.hfbd-experience--matches .hfbd-fixture__details {
  grid-template-columns: minmax(6.4rem,1fr) auto auto;
  align-items: center;
  justify-items: end;
  gap: .55rem;
}
.hfbd-experience--matches .hfbd-fixture__details time { text-align: right; }
.hfbd-experience--matches .hfbd-fixture__ticket { white-space: nowrap; }
.hfbd-match-grid .hfbd-match__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
  padding-top: .85rem;
}
.hfbd-match-grid .hfbd-match__foot > a { white-space: nowrap; }
@media (max-width: 70rem) {
  .hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(7.6rem,.5fr) minmax(0,1.5fr); }
  .hfbd-experience--matches .hfbd-fixture__details { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) auto auto; }
}
@media (max-width: 48rem) {
  .hfbd-experience--matches .hfbd-fixture { grid-template-columns: 1fr; }
  .hfbd-experience--matches .hfbd-fixture__details { grid-column: auto; grid-template-columns: 1fr auto; }
  .hfbd-experience--matches .hfbd-fixture__details time { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .hfbd-experience--matches .hfbd-fixture__ticket { justify-self: end; }
}

/* Membership and editorial refinements. */
.hfbd-experience--form .hfbd-experience__content { display: grid; gap: 1.5rem; }
.hfbd-experience--form .hfbd-experience__content > :is(h2,h3,p,ol) { max-width: 50rem; margin: 0 auto; }
.hfbd-experience--form .hfbd-experience__content > h2 { padding-top: 1rem; font-size: clamp(1.35rem,2.4vw,2rem); }
.hfbd-experience--form .hfbd-experience__content > ol { display: grid; gap: .55rem; padding: 1.25rem 1.25rem 1.25rem 2.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-secondary); line-height: 1.55; }
.hfbd-experience--form .hfbd-experience__content > p.hfbd-notice { max-width: 50rem; margin: 0 auto; }
.hfbd-experience--form .hfbd-membership-ticket-notice { max-width: none; margin: 0; border-left: 0; border: 1px solid var(--action-secondary); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface-card) 84%, var(--action-secondary)); }
.hfbd-experience--form .hfbd-form { margin-inline: auto; box-shadow: var(--elevation-2); }
.hfbd-membership-overview { display: grid; gap: 1rem; max-width: 50rem; margin: 0 auto; padding: clamp(1.35rem,3vw,2.25rem); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: linear-gradient(135deg, color-mix(in srgb, var(--surface-card) 88%, var(--action-primary)), var(--surface-card)); box-shadow: var(--elevation-1); }
.hfbd-membership-overview__eyebrow { margin: 0; color: var(--status-warning); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-membership-overview h2 { margin: 0; color: var(--text-primary); font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.055em; }
.hfbd-membership-overview p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.hfbd-membership-overview__facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin: .35rem 0 0; }
.hfbd-membership-overview__fact { padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--surface-page); color: var(--text-secondary); line-height: 1.45; }
.hfbd-membership-overview__fact strong { display: block; color: var(--text-primary); font-size: 1.05rem; }
.hfbd-experience--form .hfbd-experience__content > h2 + .hfbd-membership-ticket-notice { margin-top: .9rem; }
.hfbd-proof { padding-block: clamp(2.25rem,4.5vw,3.75rem); }
.hfbd-ticket-overview { display: grid; gap: 1rem; max-width: 52rem; margin: 0 auto; padding: clamp(1.35rem,3vw,2.25rem); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: linear-gradient(135deg, var(--surface-card), color-mix(in srgb, var(--surface-card) 82%, var(--action-primary))); box-shadow: var(--elevation-1); }
.hfbd-ticket-overview__eyebrow { margin: 0; color: var(--status-warning); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-ticket-overview h2 { margin: 0; color: var(--text-primary); font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.055em; }
.hfbd-ticket-overview p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.hfbd-ticket-overview__rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: .35rem; }
.hfbd-ticket-overview__rule { padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--surface-page); color: var(--text-secondary); line-height: 1.45; }
.hfbd-ticket-overview__rule strong { display: block; color: var(--text-primary); }

.hfbd-association-location { grid-template-columns: 1fr; align-items: start; }
.hfbd-association-location > * { min-width: 0; }

.hfbd-news-hub__lead .hfbd-news-card { min-height: 0; }
.hfbd-news-hub__lead .hfbd-news-card > a { grid-template-columns: minmax(16.25rem,.82fr) minmax(0,1.18fr); }
.hfbd-news-hub__lead .hfbd-news-card img, .hfbd-news-hub__lead .hfbd-news-card__image { min-height: 0; height: auto; aspect-ratio: 4 / 3; align-self: stretch; object-fit: cover; object-position: center; }
.hfbd-news-hub__lead .hfbd-news-card__body { min-height: 22.5rem; padding: clamp(1.6rem,3vw,3rem); justify-content: center; }
.hfbd-news-hub__lead .hfbd-news-card h2 { max-width: 16ch; font-size: clamp(2rem,3.4vw,3.25rem); line-height: 1.02; letter-spacing: -.055em; overflow-wrap: normal; }

@media (max-width: 56.25rem) {
  .hfbd-association-location { grid-template-columns: 1fr; gap: 1.5rem; }
  .hfbd-map, .hfbd-map iframe, .hfbd-map__consent { min-height: 18rem; }
  .hfbd-news-hub__lead .hfbd-news-card > a { grid-template-columns: 1fr; }
  .hfbd-news-hub__lead .hfbd-news-card img, .hfbd-news-hub__lead .hfbd-news-card__image { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .hfbd-news-hub__lead .hfbd-news-card__body { min-height: 0; }
  .hfbd-news-hub__lead .hfbd-news-card h2 { max-width: 22ch; font-size: clamp(1.85rem,7vw,2.65rem); }
}
@media (max-width: 32rem) { .hfbd-membership-overview__facts { grid-template-columns: 1fr; } }
@media (max-width: 32rem) { .hfbd-ticket-overview__rules { grid-template-columns: 1fr; } }

.hfbd-fixture { display: grid; grid-template-columns: minmax(8.5rem,.55fr) minmax(0,1.65fr) minmax(9rem,.7fr); gap: 1.25rem; align-items: center; }
.hfbd-fixture__meta { display: grid; gap: .35rem; min-width: 0; }
.hfbd-fixture__sport { color: var(--status-warning); font-size: .74rem; font-weight: 900; letter-spacing: .035em; white-space: nowrap; }
.hfbd-fixture__competition { color: var(--text-muted); font-size: .78rem; font-weight: 850; line-height: 1.35; text-transform: uppercase; }
.hfbd-fixture__teams { display: grid; grid-template-columns: minmax(0,1fr) 2.5rem minmax(0,1fr); gap: .7rem; align-items: center; min-width: 0; }
.hfbd-fixture__team { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.hfbd-fixture__team b { min-width: 0; color: var(--text-primary); font-size: .94rem; line-height: 1.25; overflow-wrap: anywhere; }
.hfbd-fixture .hfbd-score { color: var(--text-primary); font-size: 1rem; }
.hfbd-fixture__details { display: grid; justify-items: end; gap: .35rem; min-width: 0; }
.hfbd-fixture__details time { color: var(--text-secondary); font-size: .83rem; line-height: 1.35; text-align: right; }
.hfbd-fixture__ticket { color: var(--text-primary); font-size: .85rem; font-weight: 850; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.hfbd-fixture__ticket span { color: var(--action-secondary); }
@media (max-width: 60rem) {
  .hfbd-fixture { grid-template-columns: minmax(7.5rem,.5fr) minmax(0,1.5fr); }
  .hfbd-fixture__details { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .hfbd-fixture__details time { text-align: left; }
}
@media (max-width: 47.5rem) {
  .hfbd-fixture { grid-template-columns: 1fr; gap: .85rem; }
  .hfbd-fixture__meta { grid-template-columns: auto 1fr; align-items: center; }
  .hfbd-fixture__competition { text-align: right; }
  .hfbd-fixture__teams { grid-template-columns: minmax(0,1fr) 2rem minmax(0,1fr); gap: .45rem; }
  .hfbd-fixture__team { gap: .45rem; }
  .hfbd-fixture__team b { font-size: .84rem; }
  .hfbd-fixture__details { grid-column: auto; }
}

/* Matchday: a fixed visual rhythm keeps every club and competition legible. */
.hfbd-experience--matches .hfbd-fixture-list { display: grid; gap: .8rem; }
.hfbd-experience--matches .hfbd-fixture {
  position: relative;
  overflow: hidden;
  min-height: 5.75rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--surface-brand) 10%, transparent);
  transition: transform var(--duration-standard) var(--ease-standard), border-color var(--duration-standard) var(--ease-standard), box-shadow var(--duration-standard) var(--ease-standard);
}
.hfbd-experience--matches .hfbd-fixture::before { content: ""; position: absolute; inset: 0 auto 0 0; width: .23rem; background: var(--action-primary); opacity: .9; }
.hfbd-experience--matches .hfbd-fixture:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--action-primary) 68%, var(--border-default)); box-shadow: var(--elevation-2); }
.hfbd-fixture__sport { display: inline-flex; align-items: center; gap: .42rem; width: fit-content; padding: .22rem .45rem; border-radius: 999px; background: color-mix(in srgb, var(--status-warning) 15%, transparent); }
.hfbd-fixture__sport-icon { display: inline-grid; place-items: center; line-height: 1; }
.hfbd-fixture__competition { max-width: 15ch; }
.hfbd-fixture__team { min-height: 2.45rem; }
.hfbd-fixture__team .hfbd-team__badge { width: 2.25rem; height: 2.25rem; padding: .12rem; border: 1px solid color-mix(in srgb, var(--border-default) 72%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--surface-page) 88%, transparent); object-fit: contain; }
.hfbd-fixture__team b { font-weight: 850; letter-spacing: .012em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; }
.hfbd-fixture .hfbd-score { display: grid; place-items: center; min-width: 2.4rem; min-height: 2.4rem; padding: .2rem; border-radius: 50%; background: color-mix(in srgb, var(--surface-brand) 8%, var(--surface-page)); font-weight: 850; }
.hfbd-fixture__details time { max-width: 16rem; }
.hfbd-fixture-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; padding: .9rem 1rem; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--text-secondary); font-size: .9rem; font-weight: 750; }
.hfbd-fixture-pagination a { color: var(--text-primary); font-weight: 850; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.hfbd-fixture-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 0 0 1rem; }
.hfbd-fixture-filter > span { margin-right: .2rem; color: var(--text-secondary); font-size: .8rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.hfbd-fixture-filter a { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .45rem .8rem; border: 1px solid var(--border-default); border-radius: 999px; color: var(--text-primary); background: var(--surface-card); font-size: .88rem; font-weight: 800; text-decoration: none; }
.hfbd-fixture-filter a:hover, .hfbd-fixture-filter a:focus-visible, .hfbd-fixture-filter a[aria-current="page"] { border-color: var(--action-primary); background: var(--action-primary); color: #04172f; }
@media (max-width: 60rem) {
  .hfbd-experience--matches .hfbd-fixture { min-height: 0; }
  .hfbd-fixture__competition { max-width: none; }
}
@media (max-width: 47.5rem) {
  .hfbd-experience--matches .hfbd-fixture { padding: 1rem; }
  .hfbd-fixture__team .hfbd-team__badge { width: 2rem; height: 2rem; }
  .hfbd-fixture__team b { font-size: .78rem; letter-spacing: .008em; }
  .hfbd-fixture-pagination { align-items: stretch; flex-direction: column; text-align: center; }
  .hfbd-fixture-filter { align-items: stretch; }
  .hfbd-fixture-filter > span { flex-basis: 100%; }
}

/* Completed-result scores are an indivisible unit: never wrap the two values. */
.hfbd-fixture__teams { grid-template-columns: minmax(0,1fr) minmax(3.4rem,auto) minmax(0,1fr); }
.hfbd-fixture .hfbd-score { display: inline-flex; align-items: center; justify-content: center; gap: .18rem; min-width: 3.4rem; min-height: 2.4rem; padding: .2rem .38rem; white-space: nowrap; line-height: 1; }
.hfbd-fixture .hfbd-score i { font-style: normal; }
@media (max-width: 47.5rem) { .hfbd-fixture__teams { grid-template-columns: minmax(0,1fr) 3.4rem minmax(0,1fr); } }

/* The sport filter is deliberately roomy: the label never competes with the
   three touch targets, even on a narrow phone. */
.hfbd-fixture-filter { display: grid; grid-template-columns: max-content repeat(3, max-content); column-gap: .8rem; row-gap: .65rem; align-items: center; padding: .8rem .9rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-card); }
.hfbd-fixture-filter > span { margin: 0 .35rem 0 0; }
@media (max-width: 30rem) { .hfbd-fixture-filter { grid-template-columns: repeat(3, max-content); justify-content: start; } .hfbd-fixture-filter > span { grid-column: 1 / -1; } }

/* Editorial cards grow with their copy. This avoids cut-off headlines and
   preserves a clean, consistently proportioned news rhythm. */
.hfbd-news-hub__grid { grid-auto-rows: 1fr; gap: clamp(1rem, 2vw, 1.4rem); }
.hfbd-news-hub__grid .hfbd-news-card { display: flex; min-height: 0; height: auto; background: linear-gradient(155deg, var(--surface-card), color-mix(in srgb, var(--surface-card) 92%, var(--action-primary))); }
.hfbd-news-hub__grid .hfbd-news-card > a { min-height: 100%; }
.hfbd-news-hub__grid .hfbd-news-card__body { min-height: 13.5rem; overflow: visible; }
.hfbd-news-hub__grid .hfbd-news-card h2 { max-width: none; overflow-wrap: anywhere; text-wrap: balance; }
.hfbd-news-hub__grid .hfbd-news-card p { display: block; overflow-wrap: anywhere; }

/* A long club name must create room for itself instead of colliding with the
   ticket area. The three card zones remain aligned across each grid row. */
.hfbd-match-grid .hfbd-match { grid-template-rows: 4rem minmax(9.5rem, 1fr) minmax(4.8rem, auto); row-gap: .85rem; min-height: 20.6rem; }
.hfbd-match-grid .hfbd-match__teams { align-content: start; gap: 1rem; }
.hfbd-match-grid .hfbd-team { align-items: flex-start; min-height: 2.8rem; padding-block: .05rem; line-height: 1.3; }
.hfbd-match-grid .hfbd-team .hfbd-team__badge { margin-top: .02rem; }
.hfbd-match-grid .hfbd-match__foot { grid-template-rows: auto auto; align-content: start; gap: .5rem; min-height: 4.8rem; padding-top: 1rem; }
.hfbd-match-grid .hfbd-match__foot .hfbd-status,
.hfbd-match-grid .hfbd-match__foot > :not(a):last-child { min-height: 1.4rem; line-height: 1.35; }
@media (max-width: 40rem) {
  .hfbd-match-grid .hfbd-match { grid-template-rows: auto minmax(9rem, 1fr) auto; min-height: 0; }
  .hfbd-match-grid .hfbd-match__meta { min-height: 3.8rem; }
}

/* Sponsor levels intentionally occupy separate rows, giving every logo a stable visual rhythm. */
.hfbd-sponsors { display: grid; gap: 1rem; }
.hfbd-sponsor-group { display: grid; gap: .55rem; }
.hfbd-sponsor-group h3 { margin: 0; color: var(--text-inverse); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-sponsor-group--altin h3 { color: #ffda64; }
.hfbd-sponsor-group--lacivert h3 { color: #a9c9e8; }
.hfbd-sponsor-group__grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.hfbd-sponsor-cta { display: grid; gap: .25rem; width: min(100%, 19.5rem); margin-top: .15rem; padding: 1rem 1.1rem; border: 1px dashed color-mix(in srgb, var(--action-primary) 76%, transparent); border-radius: var(--radius-sm); color: var(--text-inverse); text-decoration: none; transition: background var(--duration-standard) var(--ease-standard), transform var(--duration-standard) var(--ease-standard); }
.hfbd-sponsor-cta:hover, .hfbd-sponsor-cta:focus-visible { background: color-mix(in srgb, var(--action-primary) 16%, transparent); color: var(--text-inverse); transform: translateY(-2px); }
.hfbd-sponsor-cta span { color: var(--action-primary); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-sponsor-cta strong { font-size: 1.05rem; }
.hfbd-sponsor-cta small { color: color-mix(in srgb, var(--text-inverse) 78%, transparent); }
.hfbd-sponsor-cta--row { display: inline-flex; width: auto; align-items: center; gap: .55rem; margin-top: 1rem; padding: 0 0 .45rem; border: 0; border-bottom: 2px solid var(--action-primary); border-radius: 0; color: var(--text-inverse); font-weight: 900; }
.hfbd-sponsor-cta--row:hover, .hfbd-sponsor-cta--row:focus-visible { background: transparent; border-bottom-color: var(--text-inverse); transform: translateX(.15rem); }
.hfbd-sponsor-cta--row span { color: var(--action-primary); font-size: 1.2rem; line-height: 1; }

.hfbd-sponsor-page { max-width: 76rem; }
.hfbd-sponsor-page__hero { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hfbd-sponsor-page__hero h1, .hfbd-sponsor-page__form-area h2 { margin: .55rem 0 1.25rem; color: var(--text-primary); font-size: clamp(3rem, 6vw, 6.2rem); line-height: .91; letter-spacing: -.078em; }
.hfbd-sponsor-page__hero h1 em, .hfbd-sponsor-page__form-area h2 em { color: var(--status-warning); font-family: Georgia, serif; font-weight: 400; }
.hfbd-sponsor-page__hero p { max-width: 42rem; margin: 0; color: var(--text-secondary); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.hfbd-sponsor-page__benefits { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-default); background: var(--surface-card); }
.hfbd-sponsor-page__benefits article { min-height: 15rem; padding: 1.5rem; border-right: 1px solid var(--border-default); }
.hfbd-sponsor-page__benefits article:last-child { border-right: 0; }
.hfbd-sponsor-page__benefits span { color: var(--status-warning); font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.hfbd-sponsor-page__benefits h2 { margin: 3.25rem 0 .65rem; color: var(--text-primary); font-size: 1.55rem; letter-spacing: -.04em; }
.hfbd-sponsor-page__benefits p, .hfbd-sponsor-page__form-area p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.hfbd-sponsor-page__showcase { display: grid; grid-template-columns: minmax(13rem,.55fr) minmax(0,1.45fr); gap: 2rem; align-items: start; margin-top: clamp(3rem,6vw,5.5rem); padding: clamp(1.5rem,3vw,2.25rem); background: var(--surface-brand); }
.hfbd-sponsor-page__showcase h2 { margin: .4rem 0 0; color: var(--text-inverse); font-size: clamp(1.9rem,3.5vw,3.4rem); line-height: .95; letter-spacing: -.06em; }
.hfbd-sponsor-page__showcase h2 em { color: #ffda64; font-family: Georgia, serif; font-weight: 400; }
.hfbd-sponsor-page__showcase .hfbd-sponsors { gap: .85rem; }
.hfbd-sponsor-page__showcase .hfbd-sponsor-group { gap: .4rem; }
.hfbd-sponsor-page__form-area { display: grid; grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-top: clamp(3rem, 7vw, 7rem); padding-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--border-default); }
.hfbd-sponsor-page__form-area h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.hfbd-sponsor-page__note { margin-top: 1.5rem !important; font-size: .9rem; }
.hfbd-sponsor-page__form .hfbd-form { max-width: none; box-shadow: var(--elevation-1); }
.hfbd-sponsor-page__form input[type="checkbox"] { width: 1.1rem; min-height: 1.1rem; margin: 0 .5rem 0 0; vertical-align: -.14em; accent-color: var(--action-primary); }
@media (max-width: 48rem) {
  .hfbd-sponsor-page__benefits, .hfbd-sponsor-page__showcase, .hfbd-sponsor-page__form-area { grid-template-columns: 1fr; }
  .hfbd-sponsor-page__benefits article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border-default); }
  .hfbd-sponsor-page__benefits article:last-child { border-bottom: 0; }
  .hfbd-sponsor-page__benefits h2 { margin-top: 1.5rem; }
}

/* Responsive comfort pass: preserve hierarchy, touch targets and readable line lengths
 * between the desktop and narrow-phone layouts. */
@media (min-width: 48.0625rem) and (max-width: 62rem) {
  .hfbd-sponsor-page__hero { max-width: 44rem; padding-block: clamp(2rem, 6vw, 4rem); }
  .hfbd-sponsor-page__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hfbd-sponsor-page__benefits article:nth-child(2) { border-right: 0; }
  .hfbd-sponsor-page__benefits article:last-child { grid-column: 1 / -1; min-height: auto; border-top: 1px solid var(--border-default); border-right: 0; }
  .hfbd-sponsor-page__showcase { grid-template-columns: 1fr; gap: 1.5rem; }
  .hfbd-sponsor-page__form-area { grid-template-columns: minmax(13rem, .7fr) minmax(0, 1.3fr); gap: 2rem; }
  .hfbd-partners .hfbd-shell { grid-template-columns: minmax(10rem, .55fr) minmax(0, 1.45fr); }
}

@media (max-width: 48rem) {
  .hfbd-section { padding-block: clamp(3.25rem, 12vw, 4.5rem); }
  .hfbd-section__head { margin-bottom: 1.65rem; }
  .hfbd-section__head p { margin-top: .85rem; }
  .hfbd-partners .hfbd-shell { gap: 1.25rem; }
  .hfbd-sponsor-page__hero h1 { font-size: clamp(2.65rem, 12vw, 4.4rem); }
  .hfbd-sponsor-page__showcase { padding: 1.25rem; }
  .hfbd-sponsor-page__form-area { gap: 1.75rem; }
  .hfbd-sponsor-page__form .hfbd-form { width: 100%; }
  .hfbd-fixture { gap: .65rem; padding: .9rem; }
  .hfbd-fixture__team { min-width: 0; font-size: .9rem; overflow-wrap: anywhere; }
}

@media (max-width: 30rem) {
  .hfbd-shell { width: min(100% - 1.25rem, 1240px); }
  .hfbd-icon-button { min-width: 42px; min-height: 42px; }
  .hfbd-sponsor-page__hero { padding-block: 1.75rem 2.5rem; }
  .hfbd-sponsor-page__benefits article { padding: 1.2rem; }
  .hfbd-sponsor-page__benefits h2 { font-size: 1.35rem; }
  .hfbd-sponsor-cta--row { min-height: 44px; align-items: center; }
  .hfbd-actions > .hfbd-button, .hfbd-cta .hfbd-button { width: 100%; }
}

/* Association detail pages: a shared editorial system for mission, governance,
 * founders and advisory council. */
.hfbd-association-detail { display: grid; gap: clamp(2.25rem, 6vw, 5.5rem); }
.hfbd-association-detail :is(.hfbd-association-detail__hero, .hfbd-association-detail__statement, .hfbd-association-detail__principles article, .hfbd-association-detail__mission-grid article, .hfbd-association-detail__founders article, .hfbd-association-detail__council, .hfbd-association-detail__closing) { box-sizing: border-box; min-width: 0; }
.hfbd-association-detail__hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr)); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--border-default); background: linear-gradient(135deg, color-mix(in srgb, var(--surface-card) 90%, var(--action-primary)), var(--surface-card)); box-shadow: var(--elevation-1); }
.hfbd-association-detail__back { display: inline-flex; margin-bottom: clamp(1.75rem, 5vw, 4.5rem); color: var(--text-secondary); font-size: .85rem; font-weight: 850; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; }
.hfbd-association-detail__hero .hfbd-eyebrow { margin-bottom: .75rem; }
.hfbd-association-detail__hero h1 { max-width: 15ch; margin: 0; color: var(--text-primary); font-size: clamp(2.75rem, 6.6vw, 6.3rem); line-height: .9; letter-spacing: -.078em; }
.hfbd-association-detail__hero h1 em, .hfbd-association-detail h2 em { color: var(--status-warning); font-family: Georgia, serif; font-weight: 400; }
.hfbd-association-detail__hero p { max-width: 42rem; margin: 2rem 0 0; color: var(--text-secondary); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }
/* The block editor may retain a lead paragraph inside the preceding heading
   when it renders a shortcode. Reset heading inheritance so the lead always
   reads as body copy on its own lines. */
.hfbd-association-detail__hero h1 > p { display: block; max-width: 42rem; margin-top: 2rem; color: var(--text-secondary); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 400; line-height: 1.65; letter-spacing: normal; }
.hfbd-association-detail__hero aside { display: grid; align-content: end; min-width: 0; min-height: 16rem; padding: 1.5rem; background: var(--surface-brand); color: #f8fbff; overflow: hidden; }
.hfbd-association-detail__hero aside span, .hfbd-association-detail__hero aside small { color: #d1deed; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-association-detail__hero aside strong { max-inline-size: 100%; margin: auto 0 .55rem; color: #f8fbff; font-size: clamp(1.45rem, 2.15vw + .55rem, 3.1rem); line-height: .9; letter-spacing: -.075em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.hfbd-association-detail :is(h1,h2,h3,strong,b,li) { overflow-wrap: normal; word-break: normal; hyphens: none; }
.hfbd-association-detail__principles, .hfbd-association-detail__mission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-default); border-left: 1px solid var(--border-default); }
.hfbd-association-detail__principles article, .hfbd-association-detail__mission-grid article { min-height: 15rem; padding: clamp(1.25rem, 3vw, 2rem); border-right: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); background: var(--surface-card); }
.hfbd-association-detail__principles span, .hfbd-association-detail__mission-grid span { color: var(--status-warning); font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.hfbd-association-detail__principles h2, .hfbd-association-detail__mission-grid h2 { margin: clamp(2rem, 5vw, 4.75rem) 0 .6rem; color: var(--text-primary); font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.04em; }
.hfbd-association-detail__principles p, .hfbd-association-detail__mission-grid p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.hfbd-association-detail__mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hfbd-association-detail__mission-grid article { min-height: 17rem; }
.hfbd-association-detail__statement { display: grid; grid-template-columns: 1fr; gap: 1.15rem; align-items: start; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--surface-brand); color: #f8fbff; }
.hfbd-association-detail__statement > span { color: var(--action-primary); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hfbd-association-detail__statement p { width: 100%; max-width: 34ch; margin: 0; color: #f8fbff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.45rem, 3.1vw, 2.7rem); font-weight: 850; line-height: 1.1; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; }
.hfbd-association-detail__journey { display: grid; grid-template-columns: minmax(14rem,.8fr) minmax(0,1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hfbd-association-detail__journey h2, .hfbd-association-detail__roster h2, .hfbd-association-detail__founders h2, .hfbd-association-detail__council h2, .hfbd-association-detail__closing h2 { margin: .5rem 0 0; color: var(--text-primary); font-size: clamp(2.15rem, 4.6vw, 4.6rem); line-height: .94; letter-spacing: -.07em; }
.hfbd-association-detail__journey > div:last-child { display: grid; gap: 0; border-top: 1px solid var(--border-default); }
.hfbd-association-detail__journey article { display: grid; grid-template-columns: 3rem minmax(0,1fr); column-gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border-default); }
.hfbd-association-detail__journey b { grid-row: span 2; color: var(--status-warning); font-size: .8rem; letter-spacing: .08em; }
.hfbd-association-detail__journey h3 { margin: 0; color: var(--text-primary); font-size: 1.2rem; }
.hfbd-association-detail__journey p { grid-column: 2; margin: .45rem 0 0; color: var(--text-secondary); line-height: 1.55; }
.hfbd-association-detail__closing { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border-default); background: linear-gradient(135deg, var(--surface-card), color-mix(in srgb, var(--surface-card) 84%, var(--action-primary))); }
.hfbd-association-detail__closing .hfbd-button { flex: 0 0 auto; }
.hfbd-association-detail__roster { display: grid; grid-template-columns: minmax(14rem,.75fr) minmax(0,1.25fr); gap: clamp(2rem, 6vw, 6rem); padding-top: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--border-default); }
.hfbd-association-detail__roster p { max-width: 28rem; color: var(--text-secondary); line-height: 1.6; }
.hfbd-association-detail__roster ol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: hfbd-roster; border-top: 1px solid var(--border-default); }
.hfbd-association-detail__roster li { display: grid; grid-template-columns: 2rem minmax(0,1fr); gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--border-default); color: var(--text-primary); font-weight: 800; }
.hfbd-association-detail__roster li::before { counter-increment: hfbd-roster; content: counter(hfbd-roster, decimal-leading-zero); color: var(--status-warning); font-size: .7rem; letter-spacing: .08em; }
.hfbd-association-detail__founders { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.hfbd-association-detail__founders article { padding: clamp(1.35rem, 3vw, 2.25rem); border: 1px solid var(--border-default); background: var(--surface-card); }
/* Founder-card headings use deliberately expressive type.  They must still
   remain inside their card when a Turkish word is longer than the available
   column, rather than spilling into the adjacent card. */
.hfbd-association-detail__founders h2 { max-inline-size: 100%; font-size: clamp(2rem, 4vw, 3.8rem); overflow-wrap: anywhere; word-break: normal; text-wrap: balance; }
@media (max-width: 48rem) { body.home .hfbd-match-grid .hfbd-match:nth-child(n + 4) { display: none; } }

/* Platinum is a cool silver tier: distinct from HFBD gold, yet still calm on
   the navy sponsor surface. A restrained shadow strengthens fine white marks
   without altering the supplied transparent logo asset. */
.hfbd-sponsor--platin { border-color: #aebdca; background: linear-gradient(135deg, #183552, #0b243d); }
.hfbd-sponsor--platin .hfbd-sponsor__tier { color: #dce6ee; }
html[data-theme="dark"] .hfbd-sponsor img { filter: drop-shadow(0 0 1.1px rgba(248,251,255,.88)); }
html[data-theme="light"] .hfbd-sponsor img,
html:not([data-theme]) .hfbd-sponsor img { filter: brightness(0) saturate(100%) invert(8%) sepia(37%) saturate(2595%) hue-rotate(174deg) brightness(91%) contrast(101%) drop-shadow(0 0 1.1px rgba(6,27,54,.88)); }
.hfbd-association-detail__founders ul, .hfbd-association-detail__council ul { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; }
.hfbd-association-detail__founders li, .hfbd-association-detail__council li { padding: .8rem 0; border-top: 1px solid var(--border-subtle); color: var(--text-primary); font-weight: 800; }
.hfbd-association-detail__council { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(14rem,.85fr); gap: 2rem; align-items: start; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--surface-card); border: 1px solid var(--border-default); }
.hfbd-association-detail__council > div { grid-row: span 2; min-width: 0; }
.hfbd-association-detail__council ul { margin: 0; min-width: 0; }
.hfbd-association-detail__council li { display: grid; gap: .18rem; }
.hfbd-association-detail__council li strong { font-size: 1rem; line-height: 1.25; }
.hfbd-association-detail__council li span { color: var(--text-secondary); font-size: .78rem; font-weight: 750; letter-spacing: .02em; }
.hfbd-association-detail__council p { margin: 0; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 68rem) { .hfbd-association-detail__council { grid-template-columns: 1fr; } .hfbd-association-detail__council > div { grid-row: auto; } }
@media (max-width: 62rem) { .hfbd-association-detail__hero, .hfbd-association-detail__journey, .hfbd-association-detail__roster { grid-template-columns: 1fr; } .hfbd-association-detail__hero aside { min-height: 11rem; } .hfbd-association-detail__hero aside strong { margin-top: 1.5rem; } }
@media (max-width: 48rem) { .hfbd-association-detail { gap: 2.5rem; } .hfbd-association-detail__hero { padding: 1.25rem; } .hfbd-association-detail__hero h1 { max-width: 100%; font-size: clamp(2.15rem, 8vw, 3.55rem); line-height: .95; } .hfbd-association-detail__founders h2, .hfbd-association-detail__council h2 { font-size: clamp(1.55rem, 7.2vw, 2.2rem); line-height: 1; } .hfbd-association-detail__founders h2 br, .hfbd-association-detail__council h2 br { display: none; } .hfbd-association-detail__hero aside strong { font-size: clamp(1.45rem, 8vw, 2rem); } .hfbd-association-detail__principles, .hfbd-association-detail__mission-grid, .hfbd-association-detail__founders, .hfbd-association-detail__roster ol { grid-template-columns: 1fr; } .hfbd-association-detail__principles article, .hfbd-association-detail__mission-grid article { min-height: 0; } .hfbd-association-detail__principles h2, .hfbd-association-detail__mission-grid h2 { margin-top: 1.75rem; } .hfbd-association-detail__statement { grid-template-columns: 1fr; gap: 1rem; } .hfbd-association-detail__statement p { max-width: 100%; font-size: clamp(1.3rem, 5.4vw, 1.8rem); line-height: 1.28; } .hfbd-association-detail__closing { display: grid; } .hfbd-association-detail__closing .hfbd-button { width: 100%; } }

/* Single news articles: a consistent editorial layout shared by every post. */
.hfbd-news-article { width: min(100% - 2rem, 1240px); margin-inline: auto; padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.hfbd-news-article__masthead { max-width: 65rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
.hfbd-news-article__kicker { display: flex; align-items: center; gap: .75rem; color: var(--status-warning); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hfbd-news-article__kicker i { width: 3rem; height: 2px; background: currentColor; }
.hfbd-news-article__masthead .wp-block-post-title { max-width: 15ch; margin: .85rem 0 1.25rem; color: var(--text-primary); font-size: clamp(2.8rem, 6.8vw, 6.9rem); line-height: .92; letter-spacing: -.078em; text-wrap: balance; overflow-wrap: normal; hyphens: none; }
.hfbd-news-article__meta { display: flex; align-items: center; gap: .6rem; color: var(--text-secondary); font-size: .83rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hfbd-news-article__meta a { color: inherit; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; }
.hfbd-news-article__feature { position: relative; margin: 0; overflow: hidden; background: var(--surface-brand); box-shadow: var(--elevation-2); }
.hfbd-news-article__feature::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(120deg, rgba(4,23,47,.18), transparent 42%, rgba(4,23,47,.06)); }
.hfbd-news-article__feature .wp-block-post-featured-image { margin: 0; }
.hfbd-news-article__feature img { display: block; width: 100%; min-height: clamp(20rem, 48vw, 42rem); max-height: 46rem; object-fit: cover; object-position: center; }
.hfbd-news-article__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .32fr); gap: clamp(2rem, 7vw, 7rem); max-width: 68rem; margin: clamp(2.5rem, 7vw, 6rem) auto 0; }
.hfbd-news-article__content { min-width: 0; color: var(--text-secondary); font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.78; }
.hfbd-news-article__content > :first-child { margin-top: 0; }
.hfbd-news-article__content :is(h2,h3,h4) { max-width: 22ch; margin: 2.25em 0 .65em; color: var(--text-primary); line-height: 1.02; letter-spacing: -.055em; }
.hfbd-news-article__content h2 { font-size: clamp(1.85rem, 3.3vw, 3.2rem); }
.hfbd-news-article__content h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.hfbd-news-article__content :is(ul,ol) { padding-left: 1.25em; }
.hfbd-news-article__content a { color: var(--action-secondary); font-weight: 800; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; }
.hfbd-news-article__content :is(img,figure) { max-width: 100%; height: auto; }
.hfbd-news-article__content figure { margin: 2rem 0; }
.hfbd-news-article__content figure img { display: block; width: 100%; border-radius: var(--radius-md); }
.hfbd-news-article__aside { align-self: start; padding: 1.5rem; border-top: 3px solid var(--action-primary); background: var(--surface-brand); color: #f8fbff; box-shadow: var(--elevation-1); }
.hfbd-news-article__aside > span { display: block; color: var(--action-primary); font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hfbd-news-article__aside strong { display: block; margin: 2.5rem 0 .7rem; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: .98; letter-spacing: -.055em; }
.hfbd-news-article__aside p { margin: 0; color: #d1deed; font-size: .92rem; line-height: 1.6; }
.hfbd-news-article__aside a { display: inline-flex; gap: .55rem; margin-top: 1.7rem; padding-bottom: .35rem; border-bottom: 2px solid var(--action-primary); color: #f8fbff; font-size: .82rem; font-weight: 900; text-decoration: none; }
.hfbd-news-article__aside a:hover { color: var(--action-primary); }
@media (max-width: 48rem) { .hfbd-news-article { width: min(100% - 1.25rem, 1240px); padding-block: 3rem 4rem; } .hfbd-news-article__masthead .wp-block-post-title { max-width: 100%; font-size: clamp(2.45rem, 12vw, 4.4rem); } .hfbd-news-article__feature img { min-height: 15rem; max-height: 28rem; } .hfbd-news-article__body { grid-template-columns: 1fr; gap: 2.25rem; margin-top: 2.25rem; } .hfbd-news-article__aside { max-width: 32rem; } .hfbd-news-article__content { font-size: 1.05rem; line-height: 1.72; } }
/* Matchday final cascade: after legacy fixture rules, keep all imported
   matches in one deliberate, predictable composition. */
.hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(7.6rem,.5fr) minmax(0,1.5fr) minmax(15.5rem,.95fr); gap: clamp(.75rem,1.5vw,1.25rem); }
.hfbd-experience--matches .hfbd-fixture__teams { grid-template-columns: minmax(0,1fr) 3rem minmax(0,1fr); gap: .55rem; }
.hfbd-experience--matches .hfbd-fixture__team b { font-size: .88rem; }
.hfbd-experience--matches .hfbd-fixture__details { grid-template-columns: minmax(6.4rem,1fr) auto auto; align-items: center; justify-items: end; gap: .55rem; }
.hfbd-experience--matches .hfbd-fixture__details time { text-align: right; }
.hfbd-experience--matches .hfbd-fixture__ticket { white-space: nowrap; }
.hfbd-match-grid .hfbd-match__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 3.4rem; padding-top: .85rem; }
.hfbd-match-grid .hfbd-match__foot > a { white-space: nowrap; }
@media (max-width: 84rem) { .hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(7.6rem,.5fr) minmax(0,1.5fr); } .hfbd-experience--matches .hfbd-fixture__details { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) auto auto; } }
@media (max-width: 48rem) { .hfbd-experience--matches .hfbd-fixture { grid-template-columns: 1fr; } .hfbd-experience--matches .hfbd-fixture__details { grid-column: auto; grid-template-columns: 1fr auto; } .hfbd-experience--matches .hfbd-fixture__details time { grid-column: 1 / -1; justify-self: start; text-align: left; } .hfbd-experience--matches .hfbd-fixture__ticket { justify-self: end; } }

/* Compact Matchday restoration: the familiar match cards keep their status
   line; calendar export is a discreet icon beside the ticket action. */
.hfbd-match-grid .hfbd-match { grid-template-rows: 3.7rem minmax(8.1rem,1fr) 4.35rem; min-height: 19rem; }
.hfbd-match-grid .hfbd-match__teams { align-content: start; gap: .72rem; margin: 0; }
.hfbd-match-grid .hfbd-match__foot { display: grid; grid-template-columns: 1fr; grid-template-rows: 1.55rem 1.55rem; align-items: center; gap: .3rem; min-height: 0; padding-top: .8rem; }
.hfbd-match-grid .hfbd-match__foot .hfbd-status { grid-column: 1; grid-row: 1; align-self: center; }
.hfbd-match__actions { display: inline-flex; grid-column: 1; grid-row: 2; align-items: center; justify-self: end; gap: .55rem; }
.hfbd-match__actions > a { white-space: nowrap; }
.hfbd-calendar-menu { position: relative; z-index: 12; display: inline-block; }
.hfbd-calendar-menu summary { display: grid; place-items: center; width: 2.2rem; min-height: 2.2rem; padding: 0; border: 1px solid var(--border-default); border-radius: 50%; color: var(--text-primary); background: var(--surface-card); cursor: pointer; list-style: none; }
.hfbd-calendar-menu summary::-webkit-details-marker, .hfbd-calendar-menu summary::after { display: none; }
.hfbd-calendar-menu summary:hover, .hfbd-calendar-menu[open] summary { border-color: var(--action-primary); background: var(--action-primary); color: #04172f; transform: none; }
.hfbd-calendar-menu__icon { width: 1.35rem; height: 1.35rem; background: transparent; color: currentColor; }
.hfbd-calendar-menu summary:hover .hfbd-calendar-menu__icon, .hfbd-calendar-menu[open] .hfbd-calendar-menu__icon { background: transparent; color: currentColor; }
.hfbd-calendar-menu > div { right: 0; display: flex; align-items: center; gap: .45rem; min-width: 0; padding: .6rem; border-radius: .8rem; background: var(--surface-elevated); box-shadow: 0 18px 42px rgba(1,14,31,.26); }
.hfbd-calendar-menu__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hfbd-calendar-menu a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid var(--border-default); border-radius: .55rem; background: var(--surface-card); }
.hfbd-calendar-menu a b { width: 1.65rem; height: 1.65rem; border-radius: .42rem; }
.hfbd-calendar-menu a:hover { border-color: var(--action-primary); background: color-mix(in srgb, var(--action-primary) 18%, var(--surface-card)); }
.hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(8.5rem,.55fr) minmax(0,1.65fr) minmax(9rem,.7fr); gap: 1.25rem; }
.hfbd-experience--matches .hfbd-fixture__details { grid-template-columns: minmax(0,1fr) auto auto; align-items: center; justify-items: end; gap: .45rem; }
.hfbd-experience--matches .hfbd-fixture__details time { grid-column: 1 / -1; text-align: right; }
@media (max-width: 60rem) { .hfbd-experience--matches .hfbd-fixture { grid-template-columns: minmax(7.5rem,.5fr) minmax(0,1.5fr); } .hfbd-experience--matches .hfbd-fixture__details { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) auto auto; } .hfbd-experience--matches .hfbd-fixture__details time { grid-column: 1 / -1; text-align: left; } }
@media (max-width: 48rem) { .hfbd-match-grid .hfbd-match { min-height: 0; } .hfbd-match__actions { justify-self: end; } .hfbd-experience--matches .hfbd-fixture { grid-template-columns: 1fr; } .hfbd-experience--matches .hfbd-fixture__details { grid-column: auto; } .hfbd-experience--matches .hfbd-calendar-menu { width: auto; } .hfbd-experience--matches .hfbd-calendar-menu summary { width: 2.2rem; } .hfbd-experience--matches .hfbd-calendar-menu > div { right: 0; left: auto; width: auto; } }

/* Matchday polish: source PNGs already contain alpha; never put a visual disc
   behind them. The card itself carries the premium depth instead. */
.hfbd-match-grid .hfbd-match { background: linear-gradient(145deg, color-mix(in srgb, var(--surface-card) 96%, var(--action-secondary)), var(--surface-card)); }
.hfbd-match-grid .hfbd-match::before, .hfbd-experience--matches .hfbd-fixture::before { display: none; }
.hfbd-match-grid .hfbd-team img.hfbd-team__badge, .hfbd-fixture .hfbd-fixture__team img.hfbd-team__badge { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.hfbd-match__sport-meta { display: inline-flex !important; align-items: flex-start !important; flex-wrap: wrap; gap: .34rem; max-width: 14ch !important; line-height: 1.45; white-space: normal; }
.hfbd-match__sport-icon { display: inline-block; flex: 0 0 auto; line-height: 1; transform: translateY(2px); }
.hfbd-match__actions > a { color: var(--action-secondary); font-size: .82rem; font-weight: 800; line-height: 1.2; }
.wp-site-blocks { padding-bottom: 0; }
.hfbd-footer { margin-bottom: 0; padding-block: 2.35rem 1.1rem; }
.hfbd-footer__identity-wrap { gap: .55rem; padding-bottom: 1.25rem; }
.hfbd-footer__grid { margin-top: 1.3rem; }
.hfbd-footer__bottom { margin-top: 1.5rem; padding-top: 1rem; }
.hfbd-application-reference { scroll-margin-top: 6.5rem; }
.hfbd-field.is-invalid > label, .hfbd-field.is-invalid > small { color: var(--status-error); }
.hfbd-field.is-invalid :is(input,select,textarea) { border-color: var(--status-error); box-shadow: 0 0 0 2px color-mix(in srgb, var(--status-error) 16%, transparent); }
.hfbd-field__error { display: block; margin-top: .4rem; color: var(--status-error); font-size: .82rem; font-weight: 750; }

/* Matchday editorial finish: a single interaction order and typographic rhythm
   across the compact programme and the complete-season list. */
.hfbd-experience--matches :is(h1,h2) { letter-spacing: -.052em; text-wrap: balance; }
.hfbd-experience--matches h2 { margin-top: clamp(2.4rem,5vw,4.25rem); margin-bottom: 1.2rem; font-size: clamp(1.7rem,3vw,2.65rem); line-height: 1; }
.hfbd-fixture-filter { margin-top: 1.25rem; margin-bottom: 1.35rem; padding: .8rem .9rem; border: 1px solid var(--border-default); border-radius: .9rem; background: color-mix(in srgb, var(--surface-card) 94%, var(--action-secondary)); }
.hfbd-match-grid .hfbd-match { border-color: color-mix(in srgb, var(--border-default) 82%, var(--action-secondary)); box-shadow: 0 12px 28px rgba(1,14,31,.11); }
.hfbd-match-grid .hfbd-match:hover { border-color: color-mix(in srgb, var(--action-primary) 50%, var(--border-default)); box-shadow: 0 18px 38px rgba(1,14,31,.18); }
.hfbd-match-grid .hfbd-match__meta { font-variant-numeric: tabular-nums; }
.hfbd-match-grid .hfbd-team { letter-spacing: -.012em; }
.hfbd-match__actions { flex-direction: row; }
.hfbd-match__actions .hfbd-calendar-menu { order: 1; }
.hfbd-match__actions > a { order: 2; color: var(--action-primary); font-weight: 850; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .24em; }
.hfbd-experience--matches .hfbd-fixture__details { display: grid; grid-template-columns: 1fr auto auto; }
.hfbd-experience--matches .hfbd-fixture__details time { grid-column: 1 / -1; }
.hfbd-experience--matches .hfbd-fixture__details .hfbd-calendar-menu { grid-column: 2; grid-row: 2; order: 1; }
.hfbd-experience--matches .hfbd-fixture__ticket { grid-column: 3; grid-row: 2; order: 2; padding: 0; border: 0; border-radius: 0; color: var(--action-primary); background: transparent; font-size: .82rem; font-weight: 850; text-decoration: underline; text-decoration-color: var(--action-primary); text-decoration-thickness: 2px; text-underline-offset: .24em; white-space: nowrap; }
.hfbd-fixture__sport, .hfbd-match__sport-meta { column-gap: .45rem; }
.hfbd-fixture__sport-icon { margin-right: .08rem; transform: translateY(1px); }
@media (max-width: 60rem) { .hfbd-experience--matches .hfbd-fixture__details { grid-template-columns: 1fr auto auto; } }
@media (max-width: 48rem) { .hfbd-experience--matches h2 { margin-top: 2.5rem; } .hfbd-fixture-filter { margin-top: 1rem; } }

/* Shared page entrance: compact below the sticky header while preserving the
   deliberately spacious homepage hero and in-content sections. */
main.hfbd-section { padding-top: clamp(1.15rem, 2.6vw, 2.35rem); }
main.hfbd-news-article { padding-top: clamp(2rem, 4vw, 3.25rem); }
@media (max-width: 48rem) { main.hfbd-section { padding-top: 1.05rem; } main.hfbd-news-article { padding-top: 1.6rem; } }

/* Sponsor grids are fixed to three calm, equal logo slots on desktop. This
   prevents long company names or tier labels from escaping their cards. */
.hfbd-sponsor-group--platin h3 { color: #e7edf4; }
.hfbd-sponsor-group__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; }
.hfbd-sponsor-group__grid .hfbd-sponsor { display: grid; grid-template-rows: auto minmax(0,1fr); place-items: center; min-width: 0; min-height: 8.75rem; padding: .85rem; overflow: hidden; }
.hfbd-sponsor-group__grid .hfbd-sponsor__tier { justify-self: start; max-width: 100%; overflow: hidden; font-size: .66rem; letter-spacing: .085em; text-overflow: ellipsis; white-space: nowrap; }
.hfbd-sponsor-group__grid .hfbd-sponsor :is(img,.hfbd-sponsor__name) { max-width: 100%; max-height: 3.5rem; object-fit: contain; }
.hfbd-sponsor-group__grid .hfbd-sponsor__name { overflow-wrap: anywhere; font-size: clamp(.85rem,1.4vw,1rem); font-weight: 850; line-height: 1.15; text-align: center; }
@media (max-width: 42rem) { .hfbd-sponsor-group__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .hfbd-sponsor-group__grid .hfbd-sponsor { min-height: 7.75rem; } }

/* The partner-showcase headline must remain contained alongside three logo
   columns, including on compact desktop and tablet widths. */
.hfbd-sponsor-page__showcase { grid-template-columns: minmax(11rem,.46fr) minmax(0,1.54fr); }
.hfbd-sponsor-page__showcase h2 { max-width: 8.8ch; overflow-wrap: anywhere; font-size: clamp(2rem,3.45vw,3rem); line-height: 1.02; }
.hfbd-sponsor-page__showcase h2 em { white-space: nowrap; }
@media (max-width: 48rem) { .hfbd-sponsor-page__showcase h2 { max-width: 100%; } }

/* Homepage retains its original, relaxed logo rail; the three-column grid is
   intentionally reserved for the dedicated sponsor page. */
.hfbd-partners .hfbd-sponsor-group__grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.hfbd-partners .hfbd-sponsor-group__grid .hfbd-sponsor { display: grid; flex: 0 0 9.5rem; min-height: 7rem; padding: .7rem; }
.hfbd-partners .hfbd-sponsor-group__grid .hfbd-sponsor__tier { font-size: .62rem; }
.hfbd-partners .hfbd-sponsor-group__grid .hfbd-sponsor :is(img,.hfbd-sponsor__name) { max-height: 3rem; }
@media (max-width: 42rem) { .hfbd-partners .hfbd-sponsor-group__grid .hfbd-sponsor { flex-basis: calc(50% - .3rem); } }

/* Calendar choices open upward into the deliberate breathing room of a card,
   never over the fixture that follows. */
.hfbd-match-grid .hfbd-calendar-menu > div { top: auto; bottom: 3.65rem; right: 0; }
.hfbd-highlight__actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.15rem; }
.hfbd-highlight__actions > a { margin: 0 !important; }
.hfbd-highlight__actions .hfbd-calendar-menu { margin-left: auto; }
.hfbd-highlight__actions .hfbd-calendar-menu > div { top: auto; right: 0; bottom: calc(100% + .7rem); }
@media (max-width: 48rem) { .hfbd-match-grid .hfbd-calendar-menu > div { bottom: 3.25rem; } }

.hfbd-form__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 48rem) { .hfbd-form__row--three { grid-template-columns: 1fr; } }

/* The home fixture CTA keeps its HFBD-yellow contrast when hovered. */
.hfbd-highlight__actions > a:hover,
.hfbd-highlight__actions > a:focus-visible { background: var(--action-primary); color: #04172f !important; }

/* Do not split Turkish words or leave clipped news-card copy. */
.hfbd-news-hub__grid .hfbd-news-card :is(h2, p) { overflow-wrap: normal; word-break: normal; hyphens: none; }
.hfbd-news-hub__grid .hfbd-news-card p { display: block; overflow: visible; }

/* Keep editorial cards uniform: only complete, deliberate text rows are shown. */
.hfbd-news-hub__grid .hfbd-news-card__body { overflow: hidden; }
.hfbd-news-hub__grid .hfbd-news-card h2 { overflow: visible; }
.hfbd-news-hub__grid .hfbd-news-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* A local alpha-enabled Tapijtenloods mark is used in production. Keep this
 * fallback graceful should an older cached remote source still be present. */
html[data-theme="dark"] .hfbd-sponsor img[src*="cdn.webshopapp.com/shops/293073"] {
  filter: invert(1) drop-shadow(0 0 1.1px rgba(248, 251, 255, .88));
  mix-blend-mode: screen;
}

/* The supplier raster has a pale canvas. Screen blending makes that canvas
 * visually transparent while retaining a crisp white wordmark. */
.hfbd-sponsor img[src*="tapijtenloods-logo-source.png"] {
  filter: grayscale(1) invert(1) contrast(220%) !important;
  mix-blend-mode: screen;
  background: transparent !important;
}

/* A compact, high-contrast stacked wordmark keeps Tapijtenloods legible on
 * every card size while the supplier prepares a vector master. */
.hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10718"] img { display: none; }
.hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10718"]::after {
  content: "TAPIJTEN\A LOODS.NL";
  display: block;
  color: #f8fbff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.9rem, 1.7vw, 1.18rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: .09em;
  text-align: center;
  white-space: pre;
}

/* Preserve Siccama's delicate letterforms while giving the white mark enough
 * optical weight for the compact platinum-sponsor card. */
.hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10716"] img {
  filter: drop-shadow(0 0 .7px rgba(248, 251, 255, .98));
  transform: scale(1.055);
}

/* Keep the high-resolution Siccama mark crisp; no soft shadow or transform. */
.hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10716"] img {
  filter: none !important;
  transform: none;
}


/* Keep the Tapijtenloods stacked fallback readable on its white light-mode card. */
html[data-theme="light"] .hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10718"]::after,
html:not([data-theme]) .hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10718"]::after {
  color: #062b4b;
}


/* In light mode, Siccama follows the white sponsor-card treatment while its supplied white transparent master stays crisp and legible in HFBD navy. */
html[data-theme="light"] .hfbd-sponsor--platin,
html:not([data-theme]) .hfbd-sponsor--platin {
  background: #fff;
  border-color: #b8cce0;
}
html[data-theme="light"] .hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10716"] img,
html:not([data-theme]) .hfbd-sponsor[data-hfbd-dialog="hfbd-sponsor-10716"] img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(37%) saturate(2595%) hue-rotate(174deg) brightness(91%) contrast(101%) !important;
}


/* Platinum tier label remains legible against the white light-mode sponsor card. */
html[data-theme="light"] .hfbd-sponsor--platin .hfbd-sponsor__tier,
html:not([data-theme]) .hfbd-sponsor--platin .hfbd-sponsor__tier {
  color: #8a6500;
}
