/* ==========================================================================
   EVLTN MARTIAL ARTS – ZERO-SCROLL ONE-PAGER
   Pixel-Perfect Viewport Architecture for Desktop and Mobile
   Credits: Hoffleit Digital (hoffleit-digital.de)
   ========================================================================== */

:root {
  --ink: #141414;
  --ink-soft: #242426;
  --ink-muted: #66666a;
  --paper: #f8f6f2;
  --white: #ffffff;
  --signal: #e0b43a;
  --signal-bright: #eec149;
  --signal-deep: #c59220;
  --signal-glow: rgba(224, 180, 58, 0.32);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-divider: #e8e3d8;

  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Content stays reachable at small heights and with browser zoom. */
html.is-one-pager:not(.modal-open),
body.one-pager:not(.modal-open) {
  height: 100%;
  min-height: 100dvh;
  height: auto;
}

body.one-pager {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* When modal is open on one-pager, prevent background scroll bounce while keeping layout rock solid */
body.one-pager.modal-open {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--signal);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* ==========================================================================
   VIEWPORT-LOCKED MAIN CONTAINER (100dvh)
   ========================================================================== */

.screen-frame {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 340px;
  background: #202022;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(1.15) contrast(0.92) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(248, 246, 242, 0.45) 0%,
      rgba(248, 246, 242, 0.72) 42%,
      rgba(248, 246, 242, 0.95) 86%,
      rgba(248, 246, 242, 1) 100%
    ),
    linear-gradient(90deg,
      rgba(248, 246, 242, 0.82) 0%,
      rgba(248, 246, 242, 0.35) 50%,
      rgba(248, 246, 242, 0.75) 100%
    );
  backdrop-filter: blur(1.2px);
}

/* Top Bar */
.hero-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.4rem;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

.brand-logo {
  display: inline-block;
  transition: transform 180ms var(--ease);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: clamp(54px, 7.5vh, 84px);
  width: auto;
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.74rem, 1.2vh, 0.82rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  transition: background-color 180ms var(--ease);
}

.contact-pill:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.contact-pill .pill-ico {
  width: 14px;
  height: 14px;
  color: var(--signal);
  flex-shrink: 0;
  transition: color 180ms var(--ease);
}

.contact-pill:hover .pill-ico {
  color: var(--white);
}

.contact-pill-subtle {
  background: rgba(255, 255, 255, 0.75);
}

/* Left Sticker Note */
.note-sticker {
  position: absolute;
  z-index: 2;
  display: none;
}

.note-left {
  left: clamp(1.2rem, 3.2vw, 3.5rem);
  top: 36%;
  transform: rotate(-5deg);
}

.hand-heart {
  width: 24px;
  height: 24px;
  margin-bottom: 0.15rem;
}

.hand-text {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 2.3vh, 1.55rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Central Hero Stage */
.hero-stage {
  position: relative;
  z-index: 2;
  width: min(840px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
}

.stamp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(0.3rem, 1vh, 0.6rem);
}

.stamp-under {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vh, 5.2rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 0.85;
  transform: rotate(-2deg);
  margin-bottom: -0.32em;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brush-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: min(720px, 92vw);
  margin: 0 auto;
}

.brush-svg {
  position: absolute;
  inset: -15% -6%;
  width: 112%;
  height: 130%;
  pointer-events: none;
  filter: drop-shadow(0 4px 14px rgba(224, 180, 58, 0.35));
}

.stamp-construction {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vh, 4.4rem);
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.05;
  padding: 0.2rem 1.2rem;
  transform: rotate(-1.5deg);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.hero-title {
  margin: clamp(0.35rem, 0.8vh, 0.65rem) 0 0.2rem;
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 1.8vh, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-lead {
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.4vh, 0.95rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Right Pillar Elements */
.pillar-notes {
  position: absolute;
  z-index: 2;
  right: clamp(1.2rem, 3.2vw, 3.5rem);
  top: 14%;
  display: none;
  text-align: right;
  max-width: 200px;
}

.note-top .hand-headline {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 2.2vh, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  transform: rotate(3deg);
}

.hand-underline {
  width: 130px;
  height: 12px;
  margin: 0.1rem 0 0.4rem auto;
  display: block;
}

.pillar-list {
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vh, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: var(--ink);
}

.note-bottom {
  margin-top: 0.4rem;
}

.crown-doodle {
  width: 24px;
  height: 18px;
  margin-left: auto;
  margin-bottom: 0.15rem;
  display: block;
}

.hand-creed {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.15rem, 1.9vh, 1.35rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  transform: rotate(-2deg);
}

/* ==========================================================================
   5 CARDS GRID (ONE-PAGER RESPONSIVE)
   ========================================================================== */

.main-content {
  position: relative;
  z-index: 3;
  width: 100%;
  flex: 0 0 auto;
}

.card-deck-wrapper {
  width: min(1560px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.card-deck {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.75rem;
  padding: 0 0.5rem 0.4rem;
  scrollbar-width: none;
}

.card-deck::-webkit-scrollbar {
  display: none;
}

.card {
  flex: 0 0 calc(84vw - 1rem);
  max-width: 310px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 180, 58, 0.5);
}

.card-shot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141414;
  cursor: pointer;
}

.card-shot-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.card-shot-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.card-shot-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms var(--ease);
}

.card:hover .card-shot-wrap img {
  transform: scale(1.06);
}
.card-shot-wrap img.card-shot-poster {
  object-position: top center;
}

.shot-live-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.82);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.card-content {
  padding: 0.75rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  cursor: pointer;
}

.card-title {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vh, 1.35rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.card-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--signal);
}

.card-title mark.accent-text,
.card-title .accent-text {
  color: var(--signal);
  background: transparent;
}

.card-badge-date {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--signal);
}

.card-text {
  margin: 0.15rem 0 0.65rem;
  font-size: clamp(0.76rem, 1.25vh, 0.84rem);
  line-height: 1.38;
  color: var(--ink-soft);
  flex: 1;
}

/* Call to Action Pill Button */
.cta-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.58rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--signal-bright) 0%, var(--signal) 100%);
  color: #121110;
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.15vh, 0.78rem);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 3px 10px var(--signal-glow);
  transition: background-color 180ms var(--ease);
  text-decoration: none;
  margin-top: auto;
}

.cta-pill:hover {
  background: linear-gradient(135deg, #f4cc57 0%, var(--signal-deep) 100%);
  box-shadow: 0 6px 18px rgba(224, 180, 58, 0.45);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 0.95rem;
  transition: transform 180ms var(--ease);
}

.cta-pill:hover .btn-arrow {
  transform: translateX(3px);
}

.cta-pill-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  width: auto;
}

/* Carousel Dots (Mobile) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0.2rem 0 0.35rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d4cfc5;
  cursor: pointer;
  transition: background-color 180ms var(--ease);
}

.dot.is-active {
  width: 20px;
  border-radius: 999px;
  background: var(--signal);
}

/* ==========================================================================
   BOTTOM VALUES BAND (COMPACT STRIP)
   ========================================================================== */

.values-bar {
  flex: 0 0 auto;
  background: var(--white);
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
  position: relative;
  z-index: 2;
}

.values-container {
  max-width: 1560px;
  width: calc(100% - 1.5rem);
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 1rem;
  padding: 0.5rem 0;
}

.values-container::-webkit-scrollbar {
  display: none;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.value-icon-box {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.value-icon-box svg {
  width: 22px;
  height: 22px;
  display: block;
}

.value-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.value-text strong {
  font-weight: 900;
  color: var(--ink);
}

.map-link {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.map-link:hover {
  color: var(--signal);
}

.hand-creed-footer {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  transform: rotate(-2deg);
  white-space: nowrap;
}

/* ==========================================================================
   FOOTER (WITH HOFFLEIT DIGITAL CREDITS)
   ========================================================================== */

.site-footer {
  flex: 0 0 auto;
  background: var(--white);
  padding: 0.45rem 1.25rem;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.footer-inner {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.4rem;
  font-weight: 600;
}

.footer-links a {
  color: var(--ink-soft);
  transition: color 140ms var(--ease);
}

.footer-links a:hover {
  color: var(--signal);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
}

/* ==========================================================================
   OFFICIAL HOFFLEIT DIGITAL BRANDED BADGE
   ========================================================================== */

.hoffleit-credit,
.hoflight-credit {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hoffleit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.18rem 0.52rem 0.18rem 0.42rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.hoffleit-badge:hover {
  background: rgba(36, 71, 244, 0.08);
  border-color: rgba(36, 71, 244, 0.3);
  color: #111722;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(36, 71, 244, 0.15);
}

/* Official geometric brand mark (3 blocks with Hoffleit Blue #2447f4) */
.hoffleit-brand-mark {
  width: 12px;
  height: 12px;
  display: inline-grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  gap: 1.5px;
  transform: rotate(-2deg);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.hoffleit-brand-mark i {
  background: #111722;
  display: block;
  border-radius: 1px;
}

.hoffleit-brand-mark i:first-child {
  background: #2447f4; /* Official signature cobalt blue */
}

.hoffleit-brand-mark i:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: end;
  width: 62%;
}

.hoffleit-badge:hover .hoffleit-brand-mark {
  transform: rotate(0deg) scale(1.15);
}

.hoffleit-badge strong {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sep {
  color: #bbb;
}

.copyright {
  color: #777;
}

/* ==========================================================================
   DESKTOP VIEWPORT ARCHITECTURE (1080px+)
   ========================================================================== */

@media (min-width: 1080px) {
  .note-sticker,
  .note-left,
  .pillar-notes {
    display: block;
  }

  .carousel-dots {
    display: none;
  }

  .card-deck {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    overflow-x: visible;
    padding: 0;
  }

  .card {
    flex: 1 1 0;
    max-width: none;
  }

  .card-title {
    font-size: 1.24rem;
  }

  .card-text {
    font-size: 0.78rem;
  }

  .cta-pill {
    font-size: 0.74rem;
    padding: 0.52rem 0.75rem;
  }

  .values-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    overflow-x: visible;
    padding: 0.55rem 0;
  }

  .value-item:not(.value-item-slogan) {
    padding-right: 0.85rem;
    border-right: 1px solid var(--border-divider);
  }

  .value-item-slogan {
    justify-content: flex-end;
  }
}

@media (min-width: 1440px) {
  .card-deck {
    gap: 1.15rem;
  }

  .card-title {
    font-size: 1.35rem;
  }

  .card-text {
    font-size: 0.82rem;
  }

  .cta-pill {
    font-size: 0.78rem;
    padding: 0.62rem 0.88rem;
  }

  .stamp-under {
    font-size: clamp(3.4rem, 8vh, 5.6rem);
  }

  .stamp-construction {
    font-size: clamp(2.8rem, 6.8vh, 4.6rem);
  }
}

/* ==========================================================================
   MODALS & DIALOGS (LIVE BSPORT & LIGHTBOX)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: auto;
  padding: clamp(0.75rem, 3vh, 2.5rem) 1rem;
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(8px);
}

.modal-backdrop.is-open {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Only dialog roots are overlays. Never position their BEM descendants. */
html body .bs-pack-details-dialog,
html body .bs-pass-details-dialog,
html body .bs-combo-details-dialog,
html body .bs-contract-details-dialog,
html body .bs-fabrique-modal,
html body .MuiDialog-root,
html body .MuiModal-root {
  z-index: 1000 !important;
}

html body [class*="bsport-user-interaction-modal__container"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(14, 14, 16, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
  z-index: 99999999 !important;
}

html body [class*="bsport-user-interaction-modal__innerContainer"] {
  position: relative !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
  border: 2px solid var(--signal) !important;
  overflow: hidden !important;
  max-width: min(560px, 94vw) !important;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  width: 100% !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

html body .bsport-user-interaction-modal__topBar {
  position: relative !important;
  background: #f8f6f2 !important;
  border-bottom: 1px solid #e8e3d8 !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

html body [class*="bsport-user-interaction-modal__topBarCloseButton"] {
  cursor: pointer !important;
  padding: 6px !important;
  border-radius: 50% !important;
  transition: background 150ms ease !important;
}

html body [class*="bsport-user-interaction-modal__topBarCloseButton"]:hover {
  background: rgba(0, 0, 0, 0.08) !important;
}

html body [class*="bsport-user-interaction-modal__iframe"] {
  width: 100% !important;
  min-height: 0 !important;
  height: min(640px, calc(90dvh - 80px)) !important;
  max-height: calc(85dvh - 60px) !important;
  border: none !important;
  display: block !important;
  background: #ffffff !important;
}

:root {
  --z-index-modal: 99999999 !important;
}

/* ==========================================================================
   BSPORT WIDGET RADIANT LIGHT THEME & POLISH (BRIGHT, ELEGANT, NOT DINGY)
   ========================================================================== */

html body [id*="bsport-widget"],
html body [id*="bsport-widget"] .bs-setup-variable,
html body [id*="bsport-widget"] #bs-setup-derived-variable,
html body [id*="bsport-widget"] .cleanslate {
  --color-background-paper: #ffffff !important;
  --color-secondary-background-paper: #fffcf5 !important;
  --color-primary-main: #806014 !important;
  --color-primary-dark: #62490e !important;
  --color-primary-main-background: #fdf8eb !important;
  --color-grey-dark: #141414 !important;
  --color-grey-main: #242426 !important;
  --color-grey-light: #fbf3d8 !important;
  --border-color: #e0b43a !important;
  --z-index-modal: 99999999 !important;
  width: 100%;
}

html body [id*="bsport-widget"] .cleanslate div.bs-generic-card,
html body [id*="bsport-widget"] .cleanslate div.bs-pass-card,
html body [id*="bsport-widget"] .cleanslate div.bs-paymentpack-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 2px solid #e0b43a !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(224, 180, 58, 0.16) !important;
  cursor: pointer !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

html body [id*="bsport-widget"] .cleanslate div.bs-generic-card:hover,
html body [id*="bsport-widget"] .cleanslate div.bs-pass-card:hover,
html body [id*="bsport-widget"] .cleanslate div.bs-paymentpack-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(224, 180, 58, 0.28) !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__title,
html body [id*="bsport-widget"] .cleanslate .bs-pass-card__title {
  color: #141414 !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.01em !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__subtitle,
html body [id*="bsport-widget"] .cleanslate .bs-pass-card__subtitle {
  color: #806014 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__description {
  color: #4a4a4e !important;
  font-size: 0.9rem !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__validity,
html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__validity__content {
  background-color: #fdf6e2 !important;
  color: #9a6e08 !important;
  border: 1px solid #fae5a8 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-price__container span {
  color: #141414 !important;
  font-weight: 900 !important;
  font-size: 1.45rem !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__price-icon svg {
  fill: #e0b43a !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-paymentpack-card__right-button,
html body [id*="bsport-widget"] .cleanslate .bs-button-primary__container {
  background: linear-gradient(135deg, #eec149 0%, #e0b43a 100%) !important;
  border-radius: 999px !important;
  padding: 8px 22px !important;
  box-shadow: 0 4px 14px rgba(224, 180, 58, 0.4) !important;
  cursor: pointer !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-button-primary__text {
  color: #121110 !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-pass-page__payment__pack__list__title,
html body [id*="bsport-widget"] .cleanslate .bs-pass-page__payment__pack__list__title--with-divider {
  color: #141414 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}

/* Search input and marketplace filter light theme */
html body [id*="bsport-widget"] .cleanslate input,
html body [id*="bsport-widget"] .cleanslate .bs-search__input,
html body [id*="bsport-widget"] .cleanslate .bs-search__container,
html body [id*="bsport-widget"] .cleanslate .bs-marketplace-filter {
  background: #ffffff !important;
  color: #141414 !important;
  border-color: #fae5a8 !important;
}

html body [id*="bsport-widget"] .cleanslate input::placeholder,
html body [id*="bsport-widget"] .cleanslate .bs-search__input::placeholder {
  color: #88888c !important;
}

html body [id*="bsport-widget"] .cleanslate .bs-search__input__icon svg,
html body [id*="bsport-widget"] .cleanslate .bs-search__icon svg {
  fill: #e0b43a !important;
  color: #e0b43a !important;
}

/* Dialog details styles */
html body .bs-pack-details-dialog,
html body .bs-pass-details-dialog {
  background: rgba(10, 10, 10, 0.75) !important;
  backdrop-filter: blur(6px) !important;
  z-index: 99999999 !important;
}

html body .bs-pack-details-dialog .bs-generic-card,
html body .bs-pack-details-dialog__card,
html body .bs-pass-details-dialog .bs-generic-card {
  background: #ffffff !important;
  color: #141414 !important;
  border: 2px solid #e0b43a !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35) !important;
}

html body .bs-pack-details-dialog .bs-pack-details-dialog__list__item,
html body .bs-pack-details-dialog .bs-pack-details-dialog__body,
html body .bs-pack-details-dialog .bs-pack-details-dialog__item {
  color: #242426 !important;
  font-family: var(--font-body) !important;
}

html body .bs-pack-details-dialog .bs-pack-details-dialog__buttons__add-to-cart {
  background: linear-gradient(135deg, #eec149 0%, #e0b43a 100%) !important;
  color: #121110 !important;
  border-radius: 999px !important;
  font-weight: 850 !important;
  padding: 10px 24px !important;
}

html body .bs-pack-details-dialog .bs-pack-details-dialog__buttons__cancel {
  color: #66666a !important;
  background: transparent !important;
}

.bsport-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1rem;
  gap: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
  background: var(--paper);
  border-radius: 12px;
  border: 1px dashed var(--border-divider);
}

.portal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 160ms var(--ease);
}

.portal-link-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.bsport-portal-fallback {
  margin-top: 0.85rem;
  text-align: center;
}

.modal-window {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  width: min(42rem, calc(100% - 1rem));
  max-height: min(90vh, 90dvh);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: auto;
  box-shadow: var(--shadow-lg);
  animation: modalPop 240ms var(--ease);
  margin: auto;
}

.modal-window-wide {
  width: min(64rem, calc(100% - 1rem));
}

/* When a modal contains .modal-body (like the live kursplan), keep header/footer fixed and scroll the body */
.modal-window:has(.modal-body) {
  overflow-y: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 160ms var(--ease);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: var(--paper);
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header-tabs {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 160ms var(--ease);
}

.tab-btn.is-active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: auto;
  padding: 1.25rem 1.4rem;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* Live Schedule Stream */
.live-schedule-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.live-status {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.live-status strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.live-status span {
  color: var(--ink-muted);
}

.live-filters {
  display: flex;
  gap: 0.35rem;
}

.filter-chip {
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
}

.schedule-stream {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.day-group {
  margin-top: 0.8rem;
}

.day-group-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal-deep);
  margin: 0 0 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px dashed var(--border-divider);
}

.session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  gap: 0.75rem;
  transition: all 160ms var(--ease);
}

.session-card:hover {
  background: #fff;
  border-color: var(--signal);
  box-shadow: var(--shadow-sm);
}

.session-time {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  min-width: 58px;
}

.session-duration {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.session-info {
  flex: 1;
}

.session-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0 0 0.15rem;
}

.session-coach {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.session-book-btn {
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.schedule-loading {
  text-align: center;
  padding: 2.5rem 0;
  color: var(--ink-muted);
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.75rem;
  border: 3px solid rgba(224, 180, 58, 0.2);
  border-top-color: var(--signal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.poster-container {
  text-align: center;
  padding: 0.5rem 0 1.5rem;
}

.poster-container img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.4rem;
  background: var(--paper);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.bsport-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-muted);
}

.modal-footer-right {
  display: flex;
  gap: 0.6rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  cursor: pointer;
}

/* Modal Inner Box */
.modal-box-inner {
  padding: 2rem 1.8rem 1.8rem;
}

.sheet-tag {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--signal);
  display: inline-block;
  margin-bottom: 0.2rem;
}

.modal-box-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink);
}

.modal-box-desc {
  margin: 0.6rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.sheet-date-highlight {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--signal);
  margin: 0.25rem 0 0.75rem;
}

#reopening-notice.is-open {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  padding:
    max(1.15rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1.15rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
}

#reopening-notice.is-open::before,
#reopening-notice.is-open::after {
  content: "";
  flex: 1 0 0.75rem;
  pointer-events: none;
}

.notice-window {
  width: min(22.5rem, calc(100% - 0.5rem));
  margin: auto;
  max-height: min(88dvh, calc(100dvh - 2.5rem));
  overflow: hidden;
  border: 1px solid rgba(224, 180, 58, 0.55);
  border-radius: 18px;
  transform-origin: center center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 64px rgba(224, 180, 58, 0.14);
}

#reopening-notice.is-open .notice-window,
#reopening-notice.is-open .notice-window.is-popping {
  animation: noticePop 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.notice-close {
  top: 0.65rem;
  right: 0.65rem;
  z-index: 30;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  color: var(--ink);
  background: var(--signal);
  border: 2px solid var(--paper);
  box-shadow:
    0 0 0 1px var(--signal),
    0 10px 28px rgba(0, 0, 0, 0.4);
}

.notice-close svg {
  width: 15px;
  height: 15px;
}

.notice-close:hover {
  background: var(--signal);
  color: var(--ink);
  transform: none;
}

.notice-close:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.notice-close:active {
  transform: scale(0.94);
}

@media (hover: hover) and (pointer: fine) {
  .notice-close:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--signal-bright);
    transform: rotate(90deg);
  }

  .notice-close:hover:active {
    transform: rotate(90deg) scale(0.94);
  }
}

.notice-shot {
  height: 8rem;
  overflow: hidden;
  background: #141414;
}

.notice-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#reopening-notice.is-open .notice-shot img {
  animation: noticeShot 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.notice-copy {
  padding-top: 1.25rem;
}

.notice-copy .modal-box-title {
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  margin-top: .15rem;
}

.notice-copy .modal-box-desc {
  margin-bottom: 1.1rem;
}

.notice-copy .cta-pill {
  width: 100%;
  justify-content: center;
}

#reopening-notice.is-open .notice-copy > * {
  animation: noticeRise 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#reopening-notice.is-open .notice-copy > *:nth-child(1) { animation-delay: 90ms; }
#reopening-notice.is-open .notice-copy > *:nth-child(2) { animation-delay: 140ms; }
#reopening-notice.is-open .notice-copy > *:nth-child(3) { animation-delay: 190ms; }
#reopening-notice.is-open .notice-copy > *:nth-child(4) { animation-delay: 240ms; }
#reopening-notice.is-open .notice-copy > *:nth-child(5) { animation-delay: 290ms; }

#reopening-notice .notice-copy .cta-pill:active {
  transform: scale(0.98);
}

@keyframes noticePop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  68% {
    opacity: 1;
    transform: translateY(-3px) scale(1.012);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes noticeShot {
  from {
    opacity: 0.55;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes noticeRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #reopening-notice.is-open {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:
      max(1rem, env(safe-area-inset-top, 0px))
      max(0.9rem, env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px))
      max(0.9rem, env(safe-area-inset-left, 0px));
  }

  #reopening-notice .notice-window {
    width: min(22.5rem, 100%);
    margin: 0 auto;
    border-radius: 16px;
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #reopening-notice.is-open .notice-window,
  #reopening-notice.is-open .notice-window.is-popping,
  #reopening-notice.is-open .notice-shot img,
  #reopening-notice.is-open .notice-copy > * {
    animation: none;
  }
}

.option-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-card {
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  gap: 1rem;
  transition: all 160ms var(--ease);
}

.option-card:hover {
  background: #dcfce7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.option-icon {
  color: #16a34a;
  flex-shrink: 0;
}

.option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.option-text strong {
  font-size: 0.95rem;
  color: #14532d;
}

.option-text span {
  font-size: 0.82rem;
  color: #166534;
}

.option-action {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: #15803d;
  white-space: nowrap;
}

.bsport-embed-section {
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem;
}

.bsport-mount-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bsport-chip {
  background: #141414;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
}

.plans-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.plan-card {
  background: var(--paper);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.plan-card h3 {
  margin: 0.2rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.plan-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.plan-badge {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--signal);
}

.plan-card-highlight {
  border-color: var(--signal);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   LEGAL SUBPAGES (IMPRESSUM & DATENSCHUTZ)
   ========================================================================== */

html:has(body.legal),
body.legal {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: var(--paper);
}

/* Custom smooth scrollbars for modals, body, and backdrops */
.modal-window::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.modal-backdrop::-webkit-scrollbar,
body.legal::-webkit-scrollbar {
  width: 8px;
}

.modal-window::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.modal-backdrop::-webkit-scrollbar-track,
body.legal::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}

.modal-window::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.modal-backdrop::-webkit-scrollbar-thumb,
body.legal::-webkit-scrollbar-thumb {
  background: rgba(224, 180, 58, 0.45);
  border-radius: 4px;
}

.modal-window::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.modal-backdrop::-webkit-scrollbar-thumb:hover,
body.legal::-webkit-scrollbar-thumb:hover {
  background: var(--signal);
}

.modal-window,
.modal-body,
.modal-backdrop,
body.legal {
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 180, 58, 0.45) rgba(0, 0, 0, 0.04);
}

/* Mobile Modal Enhancements */
@media (max-width: 768px) {
  .modal-backdrop {
    padding: 0.5rem 0.35rem;
    align-items: flex-start;
  }

  .modal-window {
    width: 100%;
    max-height: calc(100dvh - 1rem);
    border-radius: 14px;
    margin: 0.25rem auto;
  }

  .modal-box-inner {
    padding: 1.5rem 1.15rem 1.25rem;
  }

  .modal-body {
    padding: 0.95rem;
  }
}

.legal-main {
  width: min(860px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.legal-wrap {
  background: var(--white);
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.crumb a {
  color: var(--signal);
}

.crumb-sep { color: #ccc; }
.crumb-current { color: var(--ink-soft); }

.legal-title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: var(--ink);
  line-height: 1;
}

.legal-body section + section {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-body h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.legal-copy,
.legal-body p {
  margin: 0;
  white-space: pre-line;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Launch review: reachable layout, clear primary action and keyboard support. */
:root { --signal-text: #806014; }
html { scrollbar-gutter: stable; }
body.legal { margin: 0; color: var(--ink); font-family: var(--font-body); line-height: 1.6; }
html.modal-open, body.modal-open { overflow: hidden; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 600; padding: .8rem 1rem; background: white; color: #141414; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.hero-stage { padding: 1rem 0 1.5rem; }
.hero-trial { margin-top: 1rem; min-height: 44px; }
.hero-title, .card-title, .modal-box-title { text-wrap: balance; }
.contact-pill { min-height: 44px; white-space: nowrap; }
.card-title mark.accent-text, .card-title .accent-text, .card-badge-date, .sheet-tag, .crumb a { color: var(--signal-text); }
.stamp-construction { color: var(--ink); text-shadow: none; }
.card-text, .hero-lead { font-size: .9375rem; line-height: 1.55; }
.card-deck { padding-top: .4rem; padding-bottom: 1rem; }
.card { user-select: auto; }
.card:focus-within { border-color: var(--signal-text); }
.cta-pill, .btn-ghost, .portal-link-btn, .filter-chip, .tab-btn, .session-book-btn, .modal-close-btn { min-height: 44px; }
.modal-close-btn { min-width: 44px; }
.modal-header-tabs, .session-info { min-width: 0; }
.modal-header { padding-right: 3.5rem; }
.modal-box-title { padding-right: 2.5rem; }
.tab-btn { white-space: normal; }
.session-name, .legal-copy, .legal-body a { overflow-wrap: anywhere; }
.session-time { font-variant-numeric: tabular-nums; }
.session-unavailable { font-size: .8rem; color: #595959; }
.trial-next-step, .poster-note { font-size: .9rem; line-height: 1.6; margin: 1rem 0; }
.text-button { color: #70500b; background: transparent; border: 0; padding: .4rem 0; min-height: 44px; text-decoration: underline; cursor: pointer; text-align: left; }
.footer-links { flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-meta { flex-wrap: wrap; line-height: 1.6; }
.no-script-notice { padding: 1rem; background: white; text-align: center; }
.no-script-notice a { text-decoration: underline; }
@media (max-width: 1079px) {
  .card-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; padding: .5rem 0 1.5rem; }
  .card { max-width: none; min-width: 0; }
  .values-container { flex-wrap: wrap; overflow: visible; gap: 1rem 1.5rem; padding: 1rem 0; }
  .value-item { flex: 1 1 220px; }
  .hero { min-height: 350px; }
}
@media (max-width: 600px) {
  .hero-topbar { padding: .8rem 1rem; gap: .75rem; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-end; gap: .35rem; }
  .contact-pill { font-size: .7rem; padding: .35rem .65rem; }
  .brand-logo img { height: 66px; }
  .hero-stage { width: calc(100% - 2rem); padding: 1.5rem 0; }
  .stamp-under { font-size: 2.7rem; }
  .stamp-construction { font-size: clamp(1.85rem, 8.5vw, 3rem); padding-inline: .25rem; }
  .brush-badge { width: 100%; }
  .hero-title { font-size: 1rem; letter-spacing: .08em; }
  .hero-trial { max-width: 100%; font-size: .72rem; }
  .card-deck-wrapper { width: calc(100% - 2rem); }
  .card-deck { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .card-shot-wrap { aspect-ratio: 16 / 9; }
  .card-content { padding: 1rem; }
  .card-title { font-size: 1.55rem; }
  .card-text { margin-bottom: 1.2rem; }
  .values-container { width: calc(100% - 2rem); }
  .option-card { flex-wrap: wrap; }
  .option-text { flex: 1 1 180px; min-width: 0; }
  .option-action { margin-left: 0; }
  .bsport-embed-section { padding: .8rem; }
  .live-schedule-bar, .modal-footer { flex-wrap: wrap; gap: .75rem; }
  .session-card { gap: .65rem; flex-wrap: wrap; }
  .session-info { flex: 1 1 140px; }
  .modal-header { padding-left: .8rem; }
  .modal-header-tabs { gap: .25rem; }
  .tab-btn { padding: .5rem; font-size: .75rem; }
  .modal-box-inner { padding-inline: 1rem; }
  .legal-wrap { padding: 1.25rem; }
  .site-footer { padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 600px) {
  #bsport-widget-subscriptions .bs-contract-page__contract__list__container {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: 0 !important;
    gap: 1rem !important;
    row-gap: 1rem !important;
  }
  #bsport-widget-subscriptions .bs-contract-page__contract__button__container {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  #bsport-widget-subscriptions .bs-contract-card__title {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
.hero-trial { width: auto; padding-inline: 1.5rem; gap: 1rem; }
.pillar-notes { top: max(85px, 20%); max-width: 175px; }
@media (max-width: 600px) {
  #bsport-widget-subscriptions .bs-search__input__container { width: 100% !important; min-width: 0 !important; }
  #bsport-widget-subscriptions .bs-search__input { min-width: 0 !important; width: 100% !important; }
}
.legal-title { overflow-wrap: anywhere; hyphens: auto; }

/* Readable bsport detail dialogs, including portals outside the widget mount. */
html body .bs-pack-details-dialog,
html body .bs-pass-details-dialog,
html body .bs-contract-details-dialog,
html body .bsport-user-interaction-modal__container {
  --color-grey-dark: #171717 !important;
  --color-grey-main: #4b4b4b !important;
  --color-primary-main: #806014 !important;
  --color-background-paper: #fff !important;
  --color-secondary-background-paper: #f7f5ef !important;
  color: #171717;
}
html body .bs-pack-details-dialog__card,
html body .bs-pass-details-dialog .bs-generic-card,
html body [id*="bsport-widget"] .cleanslate .bs-contract-details-dialog .bs-generic-card,
html body [id*="bsport-widget"] .cleanslate div.bs-contract-details-dialog__card {
  max-width: min(560px, calc(100vw - 32px)) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow: hidden !important;
}
html body [id*="bsport-widget"] .cleanslate .bs-contract-details-dialog {
  overflow: hidden !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}
html body [id*="bsport-widget"] .cleanslate div.bs-contract-details-dialog__card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}
html body [id*="bsport-widget"] .cleanslate div.bs-contract-details-dialog__container {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}
html body [id*="bsport-widget"] .cleanslate div.bs-generic-card__content.bs-contract-details-dialog__body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}
html body [id*="bsport-widget"] .cleanslate .bs-contract-details-dialog__header,
html body [id*="bsport-widget"] .cleanslate .bs-contract-details-dialog__footer {
  flex-shrink: 0 !important;
}
html body .bsport-user-interaction-modal__topBar,
html body .bsport-user-interaction-modal__topBarCloseButton { color: #171717 !important; }

/* Owner-supplied October seminar program. Posters remain uncropped and readable. */
.seminar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.seminar-program { min-width: 0; padding: 1.25rem; background: var(--paper); border-radius: 12px; }
.seminar-program h3, .seminar-bundle h3, .reopening-seminar h3 { margin: .25rem 0 .65rem; font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.2; text-wrap: balance; }
.seminar-program p, .seminar-program li, .seminar-bundle p, .reopening-seminar p { font-size: 1rem; line-height: 1.55; }
.seminar-program ul { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.seminar-program li + li { margin-top: .45rem; }
.seminar-time { font-weight: 700; }
.seminar-poster { display: block; margin-top: 1.5rem; color: var(--ink); font-size: .85rem; text-underline-offset: 3px; }
.seminar-poster img, .reopening-seminar img { display: block; width: 100%; height: auto; border-radius: 6px; }
.seminar-poster span { display: inline-block; padding-block: .75rem; }
.seminar-bundle { margin-block: 1.5rem; padding: 1.5rem; border: 2px solid var(--signal); border-radius: 12px; }
.seminar-price { font-family: var(--font-display); font-size: 2.5rem; margin-right: .4rem; }
.seminar-footer { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.reopening-seminar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.2rem; align-items: start; margin-block: 1.5rem; }
.seminar-program .cta-pill, .seminar-bundle .cta-pill, .reopening-seminar .cta-pill { white-space: normal; height: auto; }
@media (max-width: 640px) {
  .seminar-grid, .reopening-seminar { grid-template-columns: minmax(0, 1fr); }
  .reopening-seminar > a { max-width: 20rem; }
  .seminar-program, .seminar-bundle { padding: 1rem; }
}
/* Weekly timetable: native table on desktop, full-week agenda on phones. */
#modal-kursplan .modal-window-wide { max-width: 1480px; width: 100%; }
#modal-kursplan .modal-body { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
#tab-live.is-active { display: flex; flex-direction: column; min-height: 0; }
#tab-summer { overflow: auto; }
.week-navigation { display: flex; flex-wrap: wrap; gap: .4rem; }
.week-button { min-height: 44px; min-width: 44px; border: 1px solid #c9c3b6; border-radius: 8px; padding: .5rem .8rem; background: white; color: #242424; font-size: .85rem; font-weight: 600; cursor: pointer; }
.week-button:hover { background: #f4e9c9; border-color: #806014; }
.week-button:disabled { opacity: .55; cursor: wait; }
.timetable-hint { margin: 0 0 .9rem; color: #53504a; font-size: .82rem; line-height: 1.5; }
.timetable-scroll { overflow: auto; min-height: 140px; border: 1px solid #d7d2c7; border-radius: 10px; max-height: 62dvh; overscroll-behavior: contain; }
.week-timetable { width: 100%; min-width: 1180px; border-collapse: separate; border-spacing: 0; table-layout: fixed; color: #242424; font-family: var(--font-body); font-size: .9rem; }
.week-timetable caption { text-align: left; }
.week-timetable th, .week-timetable td { padding: .5rem; border-right: 1px solid #e4dfd5; border-bottom: 1px solid #e4dfd5; vertical-align: top; background: #fff; }
.week-timetable thead th { position: sticky; top: 0; z-index: 3; height: 76px; background: #f4f1e9; text-align: left; font-weight: 700; }
.week-timetable thead th > span, .week-timetable thead time { display: block; }
.week-timetable thead time { margin-top: .25rem; font-weight: 500; color: #59554c; font-variant-numeric: tabular-nums; }
.week-timetable .time-column { width: 64px; position: sticky; left: 0; background: #f4f1e9; font-variant-numeric: tabular-nums; z-index: 2; }
.week-timetable thead .time-column { z-index: 4; }
.week-timetable td.is-today { background: #fffcf2; }
.week-timetable thead th.is-today { background: #f3e1a9; }
.today-label { margin-top: .2rem; color: #665017; font-size: .7rem; }
.timetable-course { display: flex; flex-direction: column; gap: .3rem; padding: .65rem; border: 1px solid #d9c797; border-left: 3px solid #ad8527; border-radius: 7px; background: #faf6e9; overflow-wrap: anywhere; text-decoration: none; line-height: 1.4; }
.timetable-course + .timetable-course { margin-top: .5rem; }
a.timetable-course:hover { background: #f2e5bd; border-color: #806014; }
.timetable-course strong { font-size: .95rem; line-height: 1.35; }
.course-time { font-size: .85rem; font-variant-numeric: tabular-nums; color: #575044; }
.course-coach { font-size: .85rem; color: #59534b; }
.course-booking { margin-top: .25rem; color: #6a4e10; font-weight: 700; font-size: .85rem; display: flex; justify-content: space-between; }
.timetable-course.is-past { background: #f4f4f1; border-color: #d4d1ca; }
.timetable-course.is-past .course-booking { color: #5b5b56; }
.empty-slot { display: block; color: #b6afa0; text-align: center; padding: .6rem; }
.timetable-empty { padding: 2rem !important; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.week-agenda { display: none; }
.trial-booking { padding: 1.25rem; border: 1px solid #d8c897; border-radius: 12px; background: #faf7ee; }
.trial-booking h3 { margin: .5rem 0; font-size: 1.35rem; line-height: 1.25; }
.trial-booking p { font-size: 1rem; line-height: 1.6; margin: .75rem 0 1rem; }
.trial-booking .cta-pill { width: 100%; white-space: normal; text-align: center; }
.trial-booking .trial-booking-note { font-size: .85rem; color: #575044; margin-bottom: .25rem; }

@media (max-width: 900px) {
  #modal-kursplan { padding: 0; }
  #modal-kursplan .modal-window {
    width: 100%;
    margin: 0;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  #modal-kursplan .modal-body,
  #tab-live.is-active {
    display: block;
    overflow: visible;
    flex: none;
    min-height: auto;
  }
  #modal-kursplan .modal-header {
    position: sticky;
    top: 0;
    z-index: 12;
    background: #faf9f6;
    min-height: 70px;
  }
  #modal-kursplan .modal-footer { display: none; }
  .timetable-scroll {
    overflow: visible;
    max-height: none;
    border: 0;
    border-radius: 0;
    min-height: 0;
  }
  .week-timetable { display: none; }
  .week-agenda { display: block; }
  .live-schedule-bar { align-items: flex-start; gap: .75rem; }
  .week-navigation { width: 100%; flex-wrap: nowrap; }
  .week-navigation [data-week-current] { flex: 1; }
  .agenda-navigation {
    position: sticky;
    top: 70px;
    z-index: 11;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .25rem;
    margin: 0 0 1rem;
    padding: .35rem 0 .55rem;
    background: #fff;
  }
  .agenda-navigation button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    gap: .15rem;
    padding: .25rem;
    border: 1px solid #c9c3b6;
    border-radius: 7px;
    background: #fff;
    color: #242424;
    font-size: .9rem;
    cursor: pointer;
  }
  .agenda-navigation button:hover { background: #f4e9c9; }
  .agenda-navigation .is-today { border: 2px solid #806014; }
  .agenda-navigation button[aria-pressed="true"] { background: #29251d; border-color: #29251d; color: #fff; }
  .agenda-date { font-size: 1rem; font-weight: 700; }
  .agenda-today { font-size: .6rem; font-weight: 750; }
  .agenda-day { scroll-margin-top: 148px; overflow: visible; }
  .agenda-day + .agenda-day { margin-top: 1.5rem; }
  .agenda-day h3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
    padding: .75rem 0;
    margin: 0 0 .25rem;
    font-size: 1.15rem;
    border-bottom: 2px solid #d8c897;
  }
  .agenda-day h3 time { font-size: .9rem; font-weight: 500; color: #59534b; }
  .agenda-day .timetable-course { padding: 1rem; gap: .45rem; margin-top: .65rem; }
  .agenda-day .timetable-course strong { font-size: 1.1rem; }
  .agenda-day .course-time { font-size: 1rem; font-weight: 650; color: #353127; }
  .agenda-day .course-coach,
  .agenda-day .course-booking { font-size: .95rem; }
  .agenda-empty { padding: .75rem 0; color: #59534b; font-size: .95rem; }
}

/* Wider, dry-brush paint mark and a stronger desktop headline. */
.brush-svg { max-width: none; filter: none; transform: rotate(-2deg); }
@media (min-width: 1080px) {
  .stamp-under { font-size: clamp(4.8rem, 7.2vw, 7rem); margin-bottom: -.2em; }
  .stamp-construction { font-size: clamp(4rem, 6vw, 6rem); padding: .25rem 1rem; }
  .brush-badge { width: max-content; max-width: 100%; }
  .brush-svg { inset: -20% -17%; width: 134%; height: 145%; }
  .stamp-container { margin-bottom: 1.5rem; }
}

/* Balance the desktop composition against the available browser height. */
@media (min-width: 1080px) {
  .screen-frame { min-height: 100dvh; }
  .hero { min-height: 0; flex: 1 0 auto; }
  .hero-topbar { padding-block: .4rem; }
  .brand-logo img { height: clamp(48px, 7dvh, 70px); }
  .hero-stage { padding: .25rem 0 clamp(.6rem, 1.5dvh, 1rem); }
  .stamp-under { font-size: clamp(3.5rem, 9dvh, 6.5rem); }
  .stamp-construction { font-size: clamp(3rem, 7.8dvh, 5.7rem); }
  .stamp-container { margin-bottom: clamp(.5rem, 1.6dvh, 1.2rem); }
  .hero-title { font-size: clamp(.9rem, 1.8dvh, 1.125rem); letter-spacing: .1em; margin-top: .25rem; }
  .hero-lead { font-size: clamp(.8125rem, 1.65dvh, .9375rem); line-height: 1.45; max-width: 600px; }
  .hero-trial { margin-top: .6rem; }
  .card-shot-wrap { aspect-ratio: auto; height: clamp(80px, 14dvh, 150px); flex-shrink: 0; }
  .card-content { padding: .65rem .75rem .7rem; }
  .card-title { font-size: clamp(1.125rem, 2.1dvh, 1.4rem); line-height: 1.12; letter-spacing: .025em; }
  .card-text { font-size: clamp(.8125rem, 1.65dvh, .9375rem); line-height: 1.4; margin-bottom: .6rem; }
  .card-badge-date { font-size: .75rem; }
  .card .cta-pill { font-size: .6875rem; letter-spacing: .015em; padding-inline: .65rem; }
  .card-deck { padding-bottom: .6rem; }
  .values-container { padding-block: .4rem; }
  .site-footer { padding-block: .15rem; }
  .pillar-notes { top: 85px; }
}
@media (min-width: 1080px) {
  .hero-topbar { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
  .card-deck { padding-bottom: .25rem; }
  .values-container { padding-block: .3rem; }
}
@media (min-width: 1080px) {
  .hero { justify-content: center; }
  .hero-stage { padding-top: .75rem; }
}
@media (min-width: 1080px) and (max-height: 740px) {
  .stamp-under { font-size: 3.25rem; }
  .stamp-construction { font-size: 3rem; }
  .stamp-container { margin-bottom: .35rem; }
  .hero-stage { padding-bottom: .4rem; }
  .pillar-notes { top: 65px; transform: scale(.8); transform-origin: top right; }
}

/* Printed lettering with subtle paint wear, paired with the dry-brush mark. */
.stamp-under, .stamp-construction {
  font-weight: 400;
  text-shadow: none;
  -webkit-text-stroke: .35px currentColor;
  -webkit-mask-image: url("../media/letter-wear.svg");
  mask-image: url("../media/letter-wear.svg");
  -webkit-mask-size: 240px 90px;
  mask-size: 240px 90px;
}
.stamp-under { letter-spacing: .085em; transform: rotate(-3deg); }
.stamp-construction { letter-spacing: .025em; transform: rotate(-2deg) skewX(-3deg); }

/* Legal pages keep their own header flow; desktop hero positioning is homepage-only. */
body.legal .hero-topbar { position: relative; top: auto; left: auto; transform: none; }
.legal-body section + section { margin-top: 1.8rem; }
.legal-body p + p { margin-top: .85rem; }
.legal-body a, .bsport-consent a { text-decoration: underline; text-underline-offset: .2em; }
.bsport-consent { padding: 1.25rem; background: #fff; border: 1px solid #d8c897; border-radius: 10px; }
.bsport-consent h3 { margin: 0 0 .75rem; }
.bsport-consent p { line-height: 1.55; margin: .75rem 0; }
.bsport-consent .cta-pill { white-space: normal; }

html body #bsport-widget-subscriptions .cleanslate .bs-generic-card.bs-contract-card,
html body #bsport-widget-subscriptions .bs-contract-card {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
html body #bsport-widget-subscriptions .bs-contract-card .bs-generic-card__content {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 1rem 1rem 1.2rem !important;
  box-sizing: border-box !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__grid {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  column-gap: 0.55rem !important;
  row-gap: 0.7rem !important;
  align-items: start !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__grid > :has(.bs-contract-card__title) {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__grid > :has(.bs-contract-card__planned-invoices) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: start !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  line-height: 0 !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__price-item {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  min-width: 0 !important;
  overflow: visible !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__price-icon {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  align-self: end !important;
  width: auto !important;
  max-width: 100% !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__planned-invoices {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  line-height: 0 !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__planned-invoices__content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  font-family: var(--font-heading) !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  color: var(--signal-text) !important;
  background: var(--paper) !important;
  border: 1px solid #d8c897 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  padding: 0.28rem 0.6rem !important;
}
html body #bsport-widget-subscriptions .bs-contract-card__title,
html body #bsport-widget-subscriptions .bs-contract-card__subtitle {
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
  overflow-wrap: anywhere;
}
html body #bsport-widget-subscriptions .bs-contract-page__contract__list__container {
  gap: 1.25rem !important;
  row-gap: 1.25rem !important;
  align-items: start !important;
  grid-template-rows: none !important;
  grid-auto-rows: min-content !important;
}
html body #bsport-widget-subscriptions .bs-contract-page__contract__button__container {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Keep button labels centered and preserve padding when labels wrap. */
.cta-pill, .btn-ghost, .portal-link-btn {
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
  text-align: center;
  white-space: normal;
}
.cta-pill > span[aria-hidden="true"], .portal-link-btn > svg {
  flex-shrink: 0;
}
.modal-backdrop .cta-pill, .modal-backdrop .btn-ghost, .modal-backdrop .portal-link-btn {
  padding: .75rem 1.25rem;
  line-height: 1.35;
}
.portal-link-btn { justify-content: center; }
.modal-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
}
.modal-actions-bar .cta-pill { flex: 1 1 16rem; width: auto; margin-top: 0; }
.modal-footer-right { flex-wrap: wrap; align-items: center; }
@media (max-width: 600px) {
  .hero-trial { max-width: 100%; padding: .75rem 1.5rem; }
  .seminar-footer > *, .btn-group > *, .modal-actions-bar > * { width: 100%; }
  .modal-footer-right { width: 100%; }
  .modal-footer-right .cta-pill { flex: 1 1 10rem; }
}

.schedule-heading { display: flex; align-items: center; gap: .6rem; margin: 0; font-family: var(--font-heading); font-size: .9rem; line-height: 1.4; }

/* Re-opening is the central announcement in the card row. */
.card-featured {
  background: linear-gradient(155deg, #fff8df 0%, #f3dfa0 100%);
  border-color: #bd922a;
  box-shadow: inset 0 0 0 1px #bd922a, 0 4px 14px rgba(116, 83, 10, .16);
}
.card-featured .card-shot-wrap { border-bottom: 3px solid #d5af43; }
.card-featured .card-icon { color: #70500b; }
.card-featured .card-badge-date { color: #594009; font-weight: 900; letter-spacing: .015em; }
.card-featured .cta-pill { background: #24211a; color: #fff4ce; box-shadow: none; }
.card-featured .cta-pill:hover { background: #403722; }
.card-featured:hover { border-color: #967019; box-shadow: inset 0 0 0 1px #967019, 0 5px 16px rgba(116, 83, 10, .22); }
