/**
 * SBV Identity 2026 – Design Release 0.10.2
 *
 * Independent visual system for the Salzburger Billard Verband.
 * Structural inspiration: the calm two-level navigation and editorial chapter
 * rhythm observed on almkanal.at. No external theme CSS/assets are copied.
 */

:root {
  --sbv-nav-utility: 2.25rem;
  --sbv-nav-main: 5.5rem;
  --sbv-nav-total: calc(var(--sbv-nav-utility) + var(--sbv-nav-main));
  --sbv-nav-panel-border: #C6DDE3;
  --sbv-nav-panel-paper: #F4FAFB;
  --sbv-paper-warm: #F2FAFC;
  --sbv-paper-cool: #F2F8FA;
  --sbv-rule: #C6DDE3;
  --sbv-rule-dark: #8EADB6;
  --sbv-nav-shadow: 0 24px 64px rgba(15, 18, 20, .15);
  --sbv-display-max: 72rem;
  --sbv-reading: 46rem;
}

/* ========================================================================== 
   1. GLOBAL IDENTITY
   ========================================================================== */
body.sbv-site {
  background: #fff;
  color: var(--sbv-text);
}

body.sbv-site :where(h1,h2,h3,h4) {
  text-wrap: balance;
}

body.sbv-site :where(p,li,dd) {
  text-wrap: pretty;
}

body.sbv-site a {
  text-underline-offset: .18em;
}

.sbv-shell-width {
  width: min(calc(100% - (2 * var(--sbv-gutter))), 92rem);
}

/* ========================================================================== 
   2. HEADER / TWO-LEVEL NAVIGATION
   ========================================================================== */
.sbv-site-header {
  --sbv-shell-utility-height: var(--sbv-nav-utility);
  --sbv-shell-header-height: var(--sbv-nav-main);
  --sbv-shell-total-height: var(--sbv-nav-total);
  position: sticky;
  z-index: 9990;
  top: 0;
  border-bottom: 1px solid var(--sbv-rule);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  transition: box-shadow 180ms ease;
}

.sbv-site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15,18,20,.09);
}

.admin-bar .sbv-site-header { top: 32px; }

.sbv-utility-bar {
  min-height: var(--sbv-nav-utility);
  background: #10272F;
  color: #fff;
  font-size: .78rem;
}

.sbv-utility-bar__inner {
  min-height: var(--sbv-nav-utility);
}

.sbv-utility-bar__brand {
  opacity: .72;
  font-size: .75rem;
  font-weight: 680;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.sbv-utility-nav__list {
  gap: 0;
}

.sbv-utility-nav__list > li {
  display: flex;
  align-items: center;
}

.sbv-utility-nav__list > li + li::before {
  width: 1px;
  height: .8rem;
  margin-inline: .85rem;
  background: rgba(255,255,255,.2);
  content: "";
}

.sbv-utility-nav a {
  color: rgba(255,255,255,.84);
  font-weight: 600;
  letter-spacing: .015em;
  text-decoration: none;
}

.sbv-utility-nav a:hover,
.sbv-utility-nav a:focus-visible {
  color: #fff;
  text-decoration: none;
}

.sbv-main-header {
  position: relative;
  background: #fff;
}

.sbv-main-header__inner {
  min-height: var(--sbv-nav-main);
  grid-template-columns: minmax(11rem, auto) minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 2.5vw, 3.5rem);
}

.sbv-main-header__brand {
  align-self: stretch;
}

.sbv-brand-link {
  min-height: var(--sbv-nav-main);
  align-items: center;
  padding-block: .65rem;
}

.sbv-logo {
  max-width: 13.5rem;
  max-height: 3.75rem;
}

.sbv-brand-wordmark {
  gap: .65rem;
  font-size: clamp(1.75rem, 2vw, 2.15rem);
  letter-spacing: -.025em;
}

.sbv-brand-wordmark small {
  max-width: 9rem;
  color: var(--sbv-text-muted);
  font-size: .67rem;
  letter-spacing: .02em;
  line-height: 1.25;
}

/* Primary menu ------------------------------------------------------------ */
.sbv-primary-nav {
  align-self: stretch;
  justify-self: end;
}

.sbv-primary-nav__list {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: clamp(.15rem, .4vw, .45rem);
}

.sbv-primary-nav__item {
  position: static !important;
  display: flex;
  align-items: stretch;
}

.sbv-primary-nav__trigger {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.sbv-primary-nav__link {
  position: relative;
  display: inline-flex;
  min-height: var(--sbv-nav-main);
  align-items: center;
  gap: .25rem;
  padding: 0 .55rem;
  border-radius: 0 !important;
  background: transparent !important;
  color: #172126 !important;
  font-family: var(--sbv-font-body);
  font-size: clamp(.88rem, .72rem + .25vw, 1rem);
  font-weight: 720;
  letter-spacing: .005em;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.sbv-primary-nav__link::after {
  position: absolute;
  right: .55rem;
  bottom: 0;
  left: .55rem;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--sbv-gold);
  content: "";
  transition: transform 180ms ease;
}

.sbv-primary-nav__item:hover .sbv-primary-nav__link::after,
.sbv-primary-nav__item:focus-within .sbv-primary-nav__link::after,
.sbv-primary-nav__item[data-open="true"] .sbv-primary-nav__link::after,
.sbv-primary-nav__item.is-current .sbv-primary-nav__link::after {
  transform: scaleX(1);
}

.sbv-primary-nav__item.is-current .sbv-primary-nav__link {
  color: #000 !important;
}

.sbv-primary-nav__toggle {
  display: inline-flex;
  width: 1.7rem;
  min-height: var(--sbv-nav-main);
  align-items: center;
  justify-content: center;
  margin-left: -.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #53646B;
  cursor: pointer;
}

.sbv-primary-nav__toggle svg {
  width: .92rem;
  height: .92rem;
  transition: transform 180ms ease;
}

.sbv-primary-nav__item:hover .sbv-primary-nav__toggle,
.sbv-primary-nav__item:focus-within .sbv-primary-nav__toggle,
.sbv-primary-nav__item[data-open="true"] .sbv-primary-nav__toggle {
  color: #10272F;
}

.sbv-primary-nav__item[data-open="true"] .sbv-primary-nav__toggle svg,
.sbv-primary-nav__item:hover .sbv-primary-nav__toggle svg,
.sbv-primary-nav__item:focus-within .sbv-primary-nav__toggle svg {
  transform: rotate(180deg);
}

/* Editorial dropdown panel ------------------------------------------------ */
.sbv-nav-panel {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  left: 0;
  visibility: hidden;
  border-top: 1px solid var(--sbv-nav-panel-border);
  border-bottom: 1px solid var(--sbv-nav-panel-border);
  background: #fff;
  box-shadow: var(--sbv-nav-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms step-end;
}

.sbv-primary-nav__item:hover > .sbv-nav-panel,
.sbv-primary-nav__item:focus-within > .sbv-nav-panel,
.sbv-primary-nav__item[data-open="true"] > .sbv-nav-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 150ms ease, transform 150ms ease, visibility 0ms;
}

.sbv-nav-panel::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--sbv-rule);
  content: "";
}

.sbv-nav-panel__inner {
  display: grid;
  width: min(calc(100% - (2 * var(--sbv-gutter))), 92rem);
  min-height: 18rem;
  grid-template-columns: minmax(16rem, .68fr) minmax(0, 1.75fr);
  gap: clamp(2.5rem, 5vw, 6.5rem);
  margin-inline: auto;
  padding-block: clamp(2.15rem, 3.3vw, 3.5rem);
}

.sbv-nav-panel__intro {
  position: relative;
  padding-top: .2rem;
}

.sbv-nav-panel__number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--sbv-gold-text);
  font-family: var(--sbv-font-mono);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.sbv-nav-panel__eyebrow {
  margin: 0 0 .7rem;
  color: #172126;
  font-family: var(--sbv-font-heading);
  font-size: clamp(1.55rem, 1.28rem + .7vw, 2rem);
  font-weight: 780;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.sbv-nav-panel__summary {
  max-width: 28rem;
  margin: 0;
  color: var(--sbv-text-muted);
  font-size: .96rem;
  line-height: 1.55;
}

.sbv-nav-panel__overview {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.35rem;
  color: #172126 !important;
  font-size: .88rem;
  font-weight: 760;
  text-decoration: none !important;
}

.sbv-nav-panel__overview:hover,
.sbv-nav-panel__overview:focus-visible {
  color: var(--sbv-gold-text) !important;
}

.sbv-nav-panel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-content: start;
  gap: 0 2.2rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sbv-rule-dark);
  list-style: none;
}

.sbv-nav-panel__links > li {
  min-width: 0;
  border-bottom: 1px solid var(--sbv-rule);
}

.sbv-nav-panel__links > li > a {
  display: grid;
  min-height: 4.15rem;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  color: #172126 !important;
  font-size: .96rem;
  font-weight: 660;
  line-height: 1.3;
  text-decoration: none !important;
}

.sbv-nav-panel__link-arrow {
  color: #708189;
  font-size: 1rem;
  transition: transform 150ms ease, color 150ms ease;
}

.sbv-nav-panel__links > li > a:hover,
.sbv-nav-panel__links > li > a:focus-visible,
.sbv-nav-panel__links > li.is-current > a {
  color: #000 !important;
}

.sbv-nav-panel__links > li > a:hover .sbv-nav-panel__link-arrow,
.sbv-nav-panel__links > li > a:focus-visible .sbv-nav-panel__link-arrow,
.sbv-nav-panel__links > li.is-current .sbv-nav-panel__link-arrow {
  color: var(--sbv-gold-text);
  transform: translateX(.2rem);
}

.sbv-nav-panel__links > li.is-current > a {
  box-shadow: inset 3px 0 0 var(--sbv-gold);
  padding-left: .75rem;
}

/* Header actions ---------------------------------------------------------- */
.sbv-header-actions {
  gap: .4rem;
}

.sbv-icon-button {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0;
}

.sbv-icon-button:hover,
.sbv-icon-button:focus-visible {
  background: var(--sbv-paper-cool);
}

.sbv-header-cta {
  min-height: 2.95rem;
  padding-inline: 1.05rem;
  border: 1px solid #10272F;
  border-radius: 0;
  background: #10272F;
  font-size: .9rem;
  font-weight: 720;
}

.sbv-header-cta:hover,
.sbv-header-cta:focus-visible {
  border-color: var(--sbv-gold);
  background: var(--sbv-gold);
  color: #10272F;
}

/* ========================================================================== 
   3. PAGE CHAPTER HEADER
   ========================================================================== */
.sbv-page-header {
  border-bottom: 1px solid var(--sbv-rule);
  background: #fff;
}

.sbv-page-header::after {
  width: clamp(5rem, 14vw, 14rem);
  height: 3px;
  background: var(--sbv-gold);
}

.sbv-page-header__inner {
  padding-block: clamp(1.6rem, 2.6vw, 2.75rem) clamp(3.8rem, 7vw, 7.4rem);
}

.sbv-breadcrumbs {
  border-bottom: 0;
  padding-bottom: 0;
}

.sbv-breadcrumbs ol {
  gap: .35rem .6rem;
  font-size: .8rem;
  font-weight: 620;
}

.sbv-breadcrumbs li:not(:last-child)::after {
  content: "→";
}

.sbv-breadcrumbs a {
  text-decoration: none;
}

.sbv-page-header__copy {
  max-width: var(--sbv-display-max);
  margin-top: clamp(3rem, 5vw, 5.5rem);
}

.sbv-page-header__kicker {
  margin-bottom: 1.05rem;
  color: var(--sbv-gold-text);
  font-size: .75rem;
  font-weight: 780;
  letter-spacing: .13em;
}

.sbv-page-header h1 {
  max-width: 16ch;
  font-size: clamp(3.25rem, 2rem + 4.7vw, 6.7rem) !important;
  font-weight: 760 !important;
  letter-spacing: -.045em !important;
  line-height: .94 !important;
}

.sbv-page-header__subtitle {
  max-width: 45rem;
  margin-top: 1.45rem;
  color: #4C5B62;
  font-size: clamp(1.15rem, 1rem + .65vw, 1.55rem);
  line-height: 1.48;
}

/* ========================================================================== 
   4. HOMEPAGE – SBV EDITORIAL LANDING PAGE
   ========================================================================== */
.sbv-home-hero {
  --sbv-home-hero-focus-x: 74%;
  --sbv-home-hero-focus-y: 18%;
  min-height: clamp(35rem, 72svh, 49rem);
  background: #10272F;
}

.sbv-home-hero__image {
  object-position: var(--sbv-home-hero-focus-x) var(--sbv-home-hero-focus-y);
}

.sbv-home-hero__veil {
  background:
    linear-gradient(90deg, rgba(10,12,13,.92) 0%, rgba(10,12,13,.72) 46%, rgba(10,12,13,.24) 76%, rgba(10,12,13,.12) 100%),
    linear-gradient(0deg, rgba(10,12,13,.44), transparent 42%);
}

.sbv-home-hero__accent {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: min(34vw, 30rem);
  height: 4px;
  background: var(--sbv-gold);
}

.sbv-home-hero__inner {
  min-height: inherit;
  align-items: end;
  padding-block: clamp(5rem, 8vw, 8rem) clamp(4.5rem, 7vw, 6.5rem);
}

.sbv-home-hero__content {
  width: min(56rem, 82%);
}

.sbv-home-eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem;
  letter-spacing: .14em;
}

.sbv-home-hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3.5rem, 2rem + 5vw, 7rem) !important;
  font-weight: 760 !important;
  letter-spacing: -.048em !important;
  line-height: .92 !important;
}

.sbv-home-hero__lead {
  max-width: 42rem;
  margin-top: 2.1rem;
  border-left: 0;
  padding-left: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.08rem, .98rem + .48vw, 1.35rem);
  line-height: 1.55;
}

.sbv-home-actions {
  gap: .7rem;
  margin-top: 2rem;
}

.sbv-home-actions .sbv-button {
  min-height: 3.2rem;
  border-radius: 0;
}

/* Direct access follows the Almkanal-like chapter index idea but in SBV CI. */
.sbv-home-quick {
  margin-top: 0 !important;
  border-bottom: 1px solid var(--sbv-rule);
  background: var(--sbv-paper-warm);
}

.sbv-home-quick .sbv-shell-width {
  width: min(calc(100% - (2 * var(--sbv-gutter))), 92rem) !important;
  padding-block: clamp(3rem, 5vw, 5.25rem) !important;
}

.sbv-home-section-head--compact {
  margin-bottom: 1.8rem;
}

.sbv-home-quick__grid {
  grid-template-columns: repeat(5, minmax(0,1fr));
  border-top: 1px solid var(--sbv-rule-dark);
}

.sbv-home-quick-card,
.sbv-home-quick-card:nth-child(even),
.sbv-home-quick-card:last-child {
  min-height: 9rem;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "body arrow"
    "icon arrow";
  align-content: space-between;
  gap: 1rem 1.15rem;
  padding: 1.5rem 1.65rem 1.35rem;
  border: 0 !important;
  border-right: 1px solid var(--sbv-rule) !important;
  border-bottom: 1px solid var(--sbv-rule) !important;
  background: transparent;
}

.sbv-home-quick-card:last-child { border-right: 0 !important; }
.sbv-home-quick-card__body {
  grid-area: body;
  gap: .5rem;
  align-content: start;
}
.sbv-home-quick-card__icon {
  width: auto;
  height: auto;
  grid-area: icon;
  justify-self: start;
  border-radius: 0;
  background: transparent;
  color: var(--sbv-gold-text);
}
.sbv-home-quick-card__body strong {
  font-size: clamp(1.12rem, 1rem + .35vw, 1.35rem);
}
.sbv-home-quick-card__body > span {
  max-width: 14rem;
  font-size: .83rem;
  line-height: 1.45;
}
.sbv-home-quick-card__arrow {
  position: static;
  grid-area: arrow;
  align-self: center;
  color: #62747B;
}
.sbv-home-quick-card:hover,
.sbv-home-quick-card:focus-visible {
  background: #fff;
}

/* Sections ---------------------------------------------------------------- */
.sbv-home-section,
.sbv-page-content {
  background: #fff;
}

.sbv-home-section {
  padding-block: clamp(4.5rem, 7vw, 8rem);
}

.sbv-home-section-head,
.sbv-home-clubs__head,
.sbv-home-metrics__head,
.sbv-section-head,
.sbv-page-intro {
  border-top: 1px solid var(--sbv-rule-dark);
  padding-top: 1.25rem;
}

.sbv-home-section-head::before,
.sbv-home-clubs__head::before,
.sbv-home-metrics__head::before,
.sbv-section-head::before {
  width: clamp(4rem, 7vw, 7.5rem);
  height: 3px;
  background: var(--sbv-gold);
}

.sbv-home-section-head h2,
.sbv-home-clubs__head h2,
.sbv-home-metrics__head h2,
.sbv-page-intro h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 1.65rem + 2.65vw, 4.65rem) !important;
  line-height: .98 !important;
}

.sbv-home-section-link {
  align-self: end;
  margin-bottom: .3rem;
  font-size: .9rem;
}

/* News – publication rather than card dashboard -------------------------- */
.sbv-home-news__layout {
  gap: clamp(2rem, 3vw, 3.5rem);
}

.sbv-home-news-feature,
.sbv-home-news-card {
  border: 0 !important;
  background: transparent !important;
}

.sbv-home-news-feature {
  grid-template-rows: minmax(21rem, 1fr) auto;
}

.sbv-home-news-feature__media,
.sbv-home-news-card__media {
  background: var(--sbv-paper-cool);
}

.sbv-home-news-feature__content {
  padding: 1.45rem 0 0;
}

.sbv-home-news-feature h3 {
  max-width: 18ch;
  margin-top: .7rem;
  font-size: clamp(2rem, 1.5rem + 1.35vw, 3rem) !important;
  line-height: 1.02 !important;
}

.sbv-home-news__secondary {
  border-top: 1px solid var(--sbv-rule-dark);
}

.sbv-home-news-card {
  grid-template-columns: 8rem 1fr;
  grid-template-rows: auto;
  min-height: 8.5rem;
  border-bottom: 1px solid var(--sbv-rule) !important;
}

.sbv-home-news-card__content {
  padding: 1rem 0 1rem 1.2rem;
}

.sbv-home-news-card h3 {
  margin-top: .5rem;
  font-size: 1.12rem !important;
}

/* Clubs / data areas ------------------------------------------------------ */
.sbv-home-club-card,
.sbv-club-card,
.sbv-event-card,
.sbv-document-card,
.sbv-person-card,
.sbv-contact-card,
.sbv-association-card {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sbv-home-club-card,
.sbv-club-card,
.sbv-event-card,
.sbv-document-card,
.sbv-person-card {
  border-color: var(--sbv-rule) !important;
}

.sbv-home-metrics__grid,
.sbv-meta-list,
.sbv-metric-row {
  border-color: var(--sbv-rule-dark) !important;
}

.sbv-home-metric,
.sbv-meta-list > div,
.sbv-metric-row > * {
  border-color: var(--sbv-rule) !important;
}

/* ========================================================================== 
   5. MOBILE NAVIGATION – CONTENT DIRECTORY INSTEAD OF APP DRAWER
   ========================================================================== */
.sbv-mobile-drawer__panel {
  width: min(94vw, 34rem);
  padding: 0;
  background: #fff;
  box-shadow: -18px 0 54px rgba(13,16,18,.2);
}

.sbv-mobile-drawer__head {
  min-height: 5.25rem;
  padding: 1rem var(--sbv-gutter);
  border-bottom: 1px solid var(--sbv-rule);
  background: #10272F;
  color: #fff;
}

.sbv-mobile-drawer__head .sbv-icon-button {
  color: #fff;
}

.sbv-mobile-drawer__head .sbv-icon-button:hover,
.sbv-mobile-drawer__head .sbv-icon-button:focus-visible {
  background: rgba(255,255,255,.08);
}

.sbv-mobile-drawer__title {
  font-family: var(--sbv-font-body);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sbv-mobile-nav {
  margin-top: 0;
  padding: 0 var(--sbv-gutter);
}

.sbv-mobile-nav__item {
  border-bottom: 1px solid var(--sbv-rule);
}

.sbv-mobile-nav__item > a,
.sbv-mobile-nav summary {
  min-height: 4.9rem;
  padding: .8rem 0;
  font-family: var(--sbv-font-heading);
  font-size: clamp(1.4rem, 5vw, 1.75rem);
  font-weight: 760;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.sbv-mobile-nav__label {
  display: inline-flex;
  align-items: baseline;
  gap: .75rem;
}

.sbv-mobile-nav__number {
  color: var(--sbv-gold-text);
  font-family: var(--sbv-font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.sbv-mobile-nav__chevron {
  flex: 0 0 auto;
  width: .78rem;
  height: .78rem;
  margin-inline: .3rem .15rem;
  border-right: 2px solid #596B73;
  border-bottom: 2px solid #596B73;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform 160ms ease;
}

.sbv-mobile-nav__details[open] > summary > .sbv-mobile-nav__chevron {
  transform: rotate(-135deg);
}

.sbv-mobile-nav__item.is-current > a,
.sbv-mobile-nav__item.is-current > .sbv-mobile-nav__details > summary {
  color: #000;
}

.sbv-mobile-nav__item.is-current > a::before,
.sbv-mobile-nav__item.is-current > .sbv-mobile-nav__details > summary::before {
  position: absolute;
  left: calc(-1 * var(--sbv-gutter));
  width: 3px;
  height: 2.2rem;
  background: var(--sbv-gold);
  content: "";
}

.sbv-mobile-nav summary,
.sbv-mobile-nav__item > a {
  position: relative;
}

.sbv-mobile-nav__overview {
  min-height: 3.25rem;
  justify-content: flex-start;
  gap: .6rem;
  padding: .4rem 0 .8rem 2.15rem;
  color: var(--sbv-gold-text) !important;
  font-size: .86rem;
  font-weight: 720;
}

.sbv-mobile-nav__sublist {
  padding: 0 0 1rem 2.15rem;
  border-left: 1px solid var(--sbv-rule);
}

.sbv-mobile-nav__sublist .sbv-mobile-nav__item {
  border: 0;
}

.sbv-mobile-nav__sublist .sbv-mobile-nav__item > a {
  min-height: 2.85rem;
  padding: .45rem 0;
  font-family: var(--sbv-font-body);
  font-size: .96rem;
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.35;
}

.sbv-mobile-drawer__actions {
  margin-top: auto;
  padding: 2rem var(--sbv-gutter) max(1.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--sbv-rule);
  background: var(--sbv-paper-warm);
}

.sbv-mobile-drawer__actions .sbv-button {
  border-radius: 0;
}


/* ========================================================================== 
   6. SEARCH DIALOG
   ========================================================================== */
.sbv-search-dialog {
  padding-top: min(15vh, 8rem);
}

.sbv-search-dialog__panel {
  width: min(100%, 58rem);
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 0;
  box-shadow: var(--sbv-nav-shadow);
}

.sbv-search-dialog__head {
  align-items: flex-start;
  border-top: 1px solid var(--sbv-rule-dark);
  padding-top: 1rem;
}

.sbv-search-dialog__head h2 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 1.8rem + 2.5vw, 4.4rem) !important;
  line-height: .98 !important;
}

.sbv-global-search__row input {
  border: 0;
  border-bottom: 2px solid #17323B;
  border-radius: 0;
  background: transparent;
  font-size: 1.1rem;
}

.sbv-global-search__row .sbv-button {
  border-radius: 0;
}

/* ========================================================================== 
   7. FOOTER – QUIET INSTITUTIONAL ENDPOINT
   ========================================================================== */
.sbv-site-footer {
  margin-top: 0;
  border-top: 4px solid var(--sbv-gold);
  background: #0F2F3A;
}

.sbv-footer-grid {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.sbv-footer-brand > p {
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer brand has enough width to remain on one line under normal spacing,
   but may wrap when users increase text spacing or zoom. */
.sbv-footer-logo .sbv-brand-wordmark small {
  max-width: none;
}

.sbv-footer-column {
  min-width: 0;
}

.sbv-footer-column h2 {
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: .76rem;
  letter-spacing: .12em;
}

.sbv-footer-menu {
  gap: 0;
}

.sbv-footer-menu li {
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.sbv-footer-menu a {
  display: block;
  padding-block: .68rem;
  color: rgba(255,255,255,.75);
}

.sbv-footer-menu a:hover,
.sbv-footer-menu a:focus-visible {
  color: #fff;
  text-decoration: none;
}

/* ========================================================================== 
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 82rem) {
  .sbv-main-header__inner { gap: 1.25rem; }
  .sbv-primary-nav__list { gap: 0; }
  .sbv-primary-nav__link { padding-inline: .38rem; font-size: .88rem; }
  .sbv-primary-nav__link::after { right: .38rem; left: .38rem; }
  .sbv-primary-nav__toggle { width: 1.45rem; margin-left: -.32rem; }
  .sbv-header-cta { display: none; }
}

@media (max-width: 70rem) {
  .sbv-home-quick__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sbv-home-quick-card:nth-child(3) { border-right: 0 !important; }
  .sbv-home-quick-card:nth-child(n+4) { border-top: 0; }
  .sbv-home-quick-card:nth-child(5) { border-right: 0 !important; }
}

@media (max-width: 64rem) {
  .sbv-footer-bottom p { white-space: normal; }
  :root {
    --sbv-nav-main: 5rem;
  }

  .sbv-main-header__inner {
    grid-template-columns: 1fr auto;
  }

  .sbv-primary-nav { display: none; }
  .sbv-mobile-open { display: inline-flex; }
  .sbv-brand-link { min-height: var(--sbv-nav-main); }
  .sbv-logo { max-width: 12rem; max-height: 3.3rem; }

  .sbv-page-header__copy { margin-top: 3.5rem; }
  .sbv-page-header h1 { max-width: 18ch; }

  .sbv-home-hero {
    --sbv-home-hero-focus-x: 69%;
    --sbv-home-hero-focus-y: 20%;
  }
  .sbv-home-hero__content { width: min(47rem, 94%); }
  .sbv-home-hero__veil {
    background: linear-gradient(90deg, rgba(10,12,13,.9) 0%, rgba(10,12,13,.64) 60%, rgba(10,12,13,.24) 100%);
  }

  .sbv-home-news__layout { grid-template-columns: 1fr; }
  .sbv-home-news__secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.5rem; }
}

@media (max-width: 48.875rem) {
  .admin-bar .sbv-site-header { top: 46px; }
}

@media (max-width: 48rem) {
  :root {
    --sbv-nav-utility: 0rem;
    --sbv-nav-main: 4.75rem;
  }

  .sbv-utility-bar { display: none; }
  .sbv-logo { max-width: 10.8rem; max-height: 3rem; }
  .sbv-search-open { display: inline-flex; }

  .sbv-page-header__inner {
    padding-block: 1.4rem 4rem;
  }
  .sbv-page-header__copy { margin-top: 2.5rem; }
  .sbv-page-header h1 {
    font-size: clamp(2.75rem, 12vw, 4.8rem) !important;
    line-height: .96 !important;
  }
  .sbv-page-header__subtitle {
    margin-top: 1rem;
    font-size: 1.08rem;
  }

  .sbv-home-hero {
    --sbv-home-hero-focus-x: 64%;
    --sbv-home-hero-focus-y: 20%;
    min-height: min(43rem, 82svh);
  }
  .sbv-home-hero__inner {
    padding-block: 4rem 3.5rem;
  }
  .sbv-home-hero__content { width: 100%; }
  .sbv-home-hero__veil {
    background: linear-gradient(0deg, rgba(10,12,13,.95) 0%, rgba(10,12,13,.75) 54%, rgba(10,12,13,.2) 100%);
  }
  .sbv-home-hero h1 {
    font-size: clamp(3rem, 13.5vw, 5rem) !important;
  }
  .sbv-home-hero__lead {
    margin-top: 1.65rem;
  }

  .sbv-home-quick__grid { grid-template-columns: 1fr 1fr; }
  .sbv-home-quick-card,
  .sbv-home-quick-card:nth-child(3),
  .sbv-home-quick-card:nth-child(5) {
    border-right: 1px solid var(--sbv-rule) !important;
  }
  .sbv-home-quick-card:nth-child(even) { border-right: 0 !important; }
  .sbv-home-quick-card:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
  }

  .sbv-home-section-head,
  .sbv-home-clubs__head,
  .sbv-home-metrics__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
  .sbv-home-section-link { align-self: flex-start; }
  .sbv-home-news__secondary { grid-template-columns: 1fr; }

  .sbv-mobile-drawer__panel { width: 100vw; }
}

@media (max-width: 34rem) {
  .sbv-search-open { display: none; }
  .sbv-home-actions { display: grid; grid-template-columns: 1fr; }
  .sbv-home-actions .sbv-button { width: 100%; }

  .sbv-home-quick__grid { grid-template-columns: 1fr; }
  .sbv-home-quick-card,
  .sbv-home-quick-card:nth-child(even),
  .sbv-home-quick-card:nth-child(3),
  .sbv-home-quick-card:nth-child(5),
  .sbv-home-quick-card:last-child {
    grid-column: auto;
    min-height: 7.25rem;
    padding-inline: 1.15rem;
    border-right: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sbv-nav-panel,
  .sbv-primary-nav__link::after,
  .sbv-primary-nav__toggle svg,
  .sbv-nav-panel__link-arrow,
  .sbv-site-header {
    transition: none !important;
  }
}

/* ========================================================================== 
   10.5 TOP-EDGE / AVADA LEGACY GUARD
   ========================================================================== */
/* The custom SBV shell owns the complete page chrome. Do not allow a legacy
   Avada sliding-bar container or wrapper offset to create a blank strip above
   the dark utility bar. The WordPress admin-bar offset remains untouched. */
body.sbv-shell-enabled:not(.admin-bar) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.sbv-shell-enabled > .sbv-site-header,
body.sbv-shell-enabled .sbv-site-header {
  margin-top: 0 !important;
}
body.sbv-shell-enabled :where(#slidingbar-area, .fusion-sliding-bar-wrapper) {
  display: none !important;
}


/* ========================================================================== 
   RELEASE 10.9 – UNIFIED PAGE HEADING
   One global site header; page title lives in the main content flow.
   ========================================================================== */
body.sbv-site .sbv-page-content > .sbv-shell-width > .sbv-breadcrumbs,
body.sbv-site .sbv-generic-page-heading .sbv-breadcrumbs {
  margin: 0 0 clamp(1.4rem, 2vw, 2rem);
  padding: 0 0 .8rem;
  border-bottom: 1px solid var(--sbv-rule);
}

body.sbv-site .sbv-page-intro {
  max-width: min(54rem, 100%);
  margin: 0 0 clamp(2rem, 3vw, 3rem);
}

body.sbv-site .sbv-page-intro h1 {
  max-width: 22ch;
  margin: .35rem 0 0;
  font-size: clamp(2.35rem, 1.85rem + 2.2vw, 4.65rem) !important;
  font-weight: 760 !important;
  line-height: 1.04 !important;
  letter-spacing: -.025em !important;
  text-wrap: balance;
}

body.sbv-site .sbv-page-intro .sbv-page-lead {
  max-width: 46rem;
  margin: 1rem 0 0;
  font-size: clamp(1.08rem, 1rem + .28vw, 1.3rem);
  line-height: 1.6;
}

body.sbv-site .sbv-generic-page-heading {
  padding-block: clamp(2.25rem, 4vw, 4rem) 0;
  background: var(--sbv-surface);
}

body.sbv-site .sbv-generic-page-breadcrumbs {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--sbv-surface);
}

/* Legacy shell page-header is no longer rendered in 10.9. Keep this defensive
   rule so stale cached markup cannot produce a second visual title band. */
body.sbv-site .sbv-page-header {
  display: none !important;
}

@media (max-width: 64rem) {
  body.sbv-site .sbv-page-intro h1 {
    max-width: 28ch;
    font-size: clamp(2.15rem, 1.6rem + 3.2vw, 3.5rem) !important;
    line-height: 1.06 !important;
  }
}

@media (max-width: 40rem) {
  body.sbv-site .sbv-page-content > .sbv-shell-width > .sbv-breadcrumbs,
  body.sbv-site .sbv-generic-page-heading .sbv-breadcrumbs {
    margin-bottom: 1.2rem;
  }

  body.sbv-site .sbv-page-intro {
    margin-bottom: 1.75rem;
  }

  body.sbv-site .sbv-page-intro h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem) !important;
    line-height: 1.08 !important;
    text-wrap: pretty;
  }
}
