/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  --ifx-navy:        #071522;
  --ifx-navy-2:      #0A1C2D;
  --ifx-navy-3:      #10263B;
  --ifx-navy-4:      #163049;
  --ifx-line:        rgba(255, 255, 255, 0.10);
  --ifx-line-strong: rgba(255, 255, 255, 0.22);
  --ifx-text:        #FFFFFF;
  --ifx-text-2:      #D5DEE6;
  --ifx-muted:       #A9B6C2;

  --ifx-yellow:      #FFF055;

  --ifx-font:        "Open Sans", Arial, sans-serif;
  --ifx-radius:      14px;
  --ifx-radius-sm:   8px;
  --ifx-max:         1200px;
  --ifx-gutter:      20px;
  --ifx-ease:        cubic-bezier(.2, .7, .2, 1);

  --ifx-topbar-h:    34px;
  --ifx-bar-h:       76px;
  --ifx-header-h:    calc(var(--ifx-topbar-h) + var(--ifx-bar-h));
}
@media (max-width: 1100px) {
  :root { --ifx-topbar-h: 0px; --ifx-bar-h: 68px; }
}

/* Afdelingsfarve */
.ifx,
.ifx--hyrox    { --ifx-accent: var(--ifx-yellow); --ifx-accent-ink: #071522; --ifx-accent-soft: rgba(255, 240, 85, .12); }
.ifx--crossfit { --ifx-accent: var(--ifx-yellow); --ifx-accent-ink: #071522; --ifx-accent-soft: rgba(255, 240, 85, .12); }


.et_pb_section:has(.ifx-bleed),
.et_pb_row:has(.ifx-bleed),
.et_pb_column:has(.ifx-bleed),
.et_pb_code:has(.ifx-bleed),
.et_pb_code_inner:has(.ifx-bleed) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.et_pb_section:has(.ifx-bleed) { background-color: var(--ifx-navy) !important; }

/* Mørk baggrund på hele siden når en ICEFIT-header er til stede */
body:has(.ifx-header),
body:has(.ifx-header) #page-container,
body:has(.ifx-header) #et-main-area,
body:has(.ifx-header) #main-content { background-color: var(--ifx-navy) !important; }


/* ---------------------------------------------------------------------
   3. BASIS (kun inde i .ifx – påvirker ikke resten af Divi)
   --------------------------------------------------------------------- */
.ifx {
  font-family: var(--ifx-font);
  color: var(--ifx-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ifx *, .ifx *::before, .ifx *::after { box-sizing: border-box; }

.ifx :where(h1, h2, h3, h4, h5) {
  font-family: var(--ifx-font);
  color: var(--ifx-text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  padding: 0;
}
.ifx :where(p) { margin: 0 0 1em; padding: 0; color: var(--ifx-text-2); }
.ifx :where(p:last-child) { margin-bottom: 0; }
.ifx :where(a) { color: inherit; text-decoration: none; }
.ifx :where(ul, ol) { margin: 0; }
/* :is() giver (0,1,1) og slår Divis ".et-l--header ul" / ".et-l--body ol" (bullets + padding) */
.ifx :is(ul, ol) { padding: 0; list-style: none; line-height: inherit; }
.ifx :where(li) { padding: 0; }
.ifx :where(img, video) { display: block; max-width: 100%; height: auto; }
.ifx :where(strong) { color: var(--ifx-text); font-weight: 700; }
.ifx :focus-visible { outline: 3px solid var(--ifx-accent); outline-offset: 3px; border-radius: 4px; }

.ifx-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ---------------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------------- */
.ifx-container { width: min(100% - (var(--ifx-gutter) * 2), var(--ifx-max)); margin-inline: auto; }
.ifx-container--narrow { max-width: 820px; }

.ifx-section { position: relative; padding: clamp(64px, 9vw, 120px) 0; background: var(--ifx-navy); }
.ifx-section--alt { background: var(--ifx-navy-2); }
.ifx-section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.ifx-section + .ifx-section:not(.ifx-section--alt):not(.ifx-cta) { border-top: 1px solid var(--ifx-line); }

.ifx-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.ifx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ifx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ifx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .ifx-grid--3, .ifx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ifx-grid--2, .ifx-grid--3, .ifx-grid--4 { grid-template-columns: 1fr; }
}

.ifx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ifx-split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .ifx-split { grid-template-columns: 1fr; }
  .ifx-split--reverse > :first-child { order: 0; }
}


/* ---------------------------------------------------------------------
   5. TYPOGRAFI-KOMPONENTER
   --------------------------------------------------------------------- */
.ifx-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  color: var(--ifx-accent);
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
}
.ifx-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

.ifx .ifx-h1 { font-size: clamp(38px, 6.2vw, 80px); letter-spacing: -0.035em; line-height: .96; }
.ifx .ifx-h2 { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 18px; }
.ifx .ifx-h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.1; }
.ifx .ifx-accent { color: var(--ifx-accent); }

.ifx .ifx-lead { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--ifx-text-2); max-width: 66ch; }

.ifx-section-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 56px); }
.ifx-section-head .ifx-h2 { margin-bottom: 18px; }
.ifx-section-head--center { margin-inline: auto; text-align: center; }
.ifx-section-head--center .ifx-eyebrow { justify-content: center; }
.ifx-section-head--center .ifx-lead { margin-inline: auto; }
.ifx-section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ifx-section-head--row > div { max-width: 700px; }

.ifx-note { font-size: 13px; color: var(--ifx-muted); }


/* ---------------------------------------------------------------------
   6. KNAPPER
   --------------------------------------------------------------------- */
.ifx .ifx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  border: 2px solid transparent; border-radius: var(--ifx-radius-sm);
  font-family: var(--ifx-font); font-size: 14px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1; white-space: nowrap; text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ifx-ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.ifx .ifx-btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ifx-ease); }
.ifx .ifx-btn:hover svg { transform: translateX(3px); }
.ifx .ifx-btn:hover { transform: translateY(-1px); }

.ifx .ifx-btn--primary { background: var(--ifx-accent); border-color: var(--ifx-accent); color: var(--ifx-accent-ink) !important; }
.ifx .ifx-btn--primary:hover { box-shadow: 0 10px 28px -8px var(--ifx-accent); }

.ifx .ifx-btn--ghost { background: transparent; border-color: var(--ifx-line-strong); color: var(--ifx-text) !important; }
.ifx .ifx-btn--ghost:hover { border-color: var(--ifx-accent); color: var(--ifx-accent) !important; }

.ifx .ifx-btn--dark { background: var(--ifx-navy); border-color: var(--ifx-navy); color: #fff !important; }
.ifx .ifx-btn--dark:hover { box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .6); }

.ifx .ifx-btn--lg { min-height: 58px; padding: 18px 30px; font-size: 15px; }
.ifx .ifx-btn--sm { min-height: 40px; padding: 10px 16px; font-size: 12px; }
.ifx .ifx-btn--block { width: 100%; }

.ifx-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.ifx .ifx-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ifx-accent); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.ifx .ifx-link svg { width: 16px; height: 16px; transition: transform .2s var(--ifx-ease); }
.ifx .ifx-link:hover svg { transform: translateX(4px); }


/* ---------------------------------------------------------------------
   7. HEADER (fast i toppen) + TOPBAR MED AFDELINGSSKIFT
   --------------------------------------------------------------------- */
.ifx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99990;
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
/* Blur ligger på et pseudo-element, så den faste mobilmenu ikke låses inde */
.ifx-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 21, 34, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ifx-line);
  transition: background-color .3s;
}
.ifx-header.is-scrolled::before,
.ifx-header--solid::before { background: rgba(7, 21, 34, .94); }
.ifx-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }

body.admin-bar .ifx-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ifx-header { top: 46px; } }

/* Topbar */
.ifx-topbar {
  height: var(--ifx-topbar-h); overflow: hidden;
  border-bottom: 1px solid var(--ifx-line);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  transition: margin-top .3s var(--ifx-ease);
}
.ifx-header.is-scrolled .ifx-topbar { margin-top: calc(var(--ifx-topbar-h) * -1); }
.ifx-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ifx-topbar__meta { display: flex; gap: 22px; color: var(--ifx-muted); }
.ifx-topbar__meta a:hover { color: #fff; }
@media (max-width: 1100px) { .ifx-topbar { display: none; } }

/* Afdelingsskifter (bruges i topbar og i mobilmenu) */
.ifx-switch { display: flex; align-items: center; gap: 4px; }
.ifx-switch__label { color: var(--ifx-muted); margin-right: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.ifx .ifx-switch__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  color: var(--ifx-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800;
  transition: color .2s, background-color .2s;
}
.ifx .ifx-switch__item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ifx .ifx-switch__item[aria-current] { color: var(--ifx-accent-ink); background: var(--ifx-accent); }
.ifx-switch__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ifx-switch__dot--crossfit { background: #fff; }
.ifx-switch__dot--hyrox { background: var(--ifx-yellow); }
.ifx .ifx-switch__item[aria-current] .ifx-switch__dot { background: var(--ifx-accent-ink); }

/* Hovedbar */
.ifx-header__bar { height: var(--ifx-bar-h); display: flex; align-items: center; gap: 28px; }
.ifx-header__logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; flex: none; }
.ifx-header__logo img { width: 58px; height: 58px; object-fit: contain; }
.ifx-header__logo-text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 800; text-transform: uppercase; }
.ifx-header__logo-text span:first-child { font-size: 15px; letter-spacing: .02em; }
.ifx-header__logo-text span:last-child { font-size: 10px; letter-spacing: .18em; color: var(--ifx-accent); margin-top: 3px; }
@media (max-width: 1100px) { .ifx-header__logo img { width: 48px; height: 48px; } }

/* Navigation – desktop */
.ifx-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; }
.ifx-nav__list { display: flex; align-items: center; gap: 2px; }
.ifx-nav__item { position: relative; }
.ifx .ifx-nav__link,
.ifx .ifx-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 8px;
  background: none; border: 0; cursor: pointer;
  color: #fff; font-family: var(--ifx-font); font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.ifx .ifx-nav__link:hover,
.ifx .ifx-nav__toggle:hover,
.ifx .ifx-nav__item.is-open > .ifx-nav__toggle { color: var(--ifx-accent); background: rgba(255, 255, 255, .05); }
.ifx .ifx-nav__link[aria-current="page"] { color: var(--ifx-accent); }
.ifx-nav__link svg, .ifx-nav__toggle svg { width: 12px; height: 12px; opacity: .7; transition: transform .2s; }
.ifx-nav__item.is-open > .ifx-nav__toggle svg { transform: rotate(180deg); }

.ifx .ifx-nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  padding: 8px; border-radius: 12px;
  background: var(--ifx-navy-3); border: 1px solid var(--ifx-line);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s var(--ifx-ease), visibility .18s;
}
.ifx-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover-bro */
.ifx-nav__item.is-open > .ifx-nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) {
  .ifx-nav__item--has-sub:hover > .ifx-nav__sub,
  .ifx-nav__item--has-sub:focus-within > .ifx-nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.ifx .ifx-nav__sub a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 8px;
  color: var(--ifx-text-2); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.ifx .ifx-nav__sub a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.ifx-nav__sub small { color: var(--ifx-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.ifx-ext { width: 11px !important; height: 11px !important; opacity: .55; }

.ifx-nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.ifx-nav__extra { display: none; }

/* Burger */
.ifx-burger {
  position: relative; z-index: 2;
  display: none; width: 46px; height: 46px; margin-left: auto;
  border: 1px solid var(--ifx-line-strong); border-radius: 10px; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.ifx-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ifx-ease), opacity .2s; }
.ifx-header.is-open .ifx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ifx-header.is-open .ifx-burger span:nth-child(2) { opacity: 0; }
.ifx-header.is-open .ifx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navigation – mobil/tablet (fuldskærmspanel) */
@media (max-width: 1100px) {
  .ifx-burger { display: inline-flex; }
  .ifx-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: calc(var(--ifx-bar-h) + 20px) var(--ifx-gutter) 32px;
    background: var(--ifx-navy);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ifx-ease), visibility .25s;
  }
  body.admin-bar .ifx-nav { top: 46px; }
  .ifx-header.is-open .ifx-nav { opacity: 1; visibility: visible; transform: none; }
  .ifx-header.is-open::before { background: var(--ifx-navy); }

  .ifx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .ifx-nav__item { border-bottom: 1px solid var(--ifx-line); }
  .ifx .ifx-nav__link,
  .ifx .ifx-nav__toggle { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; border-radius: 0; }
  .ifx .ifx-nav__link:hover, .ifx .ifx-nav__toggle:hover { background: none; }
  .ifx-nav__link svg, .ifx-nav__toggle svg { width: 16px; height: 16px; }

  .ifx .ifx-nav__sub {
    position: static; min-width: 0; padding: 0 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .ifx-nav__sub::before { display: none; }
  .ifx-nav__item.is-open > .ifx-nav__sub { display: block; }
  .ifx .ifx-nav__sub a { padding: 10px 2px; font-size: 16px; }

  .ifx-nav__cta { flex-direction: column; align-items: stretch; }
  .ifx-nav__cta .ifx-btn { min-height: 56px; font-size: 15px; }

  .ifx-nav__extra { display: flex; flex-direction: column; gap: 18px; margin-top: auto; padding-top: 8px; color: var(--ifx-muted); font-size: 14px; }
  .ifx-nav__extra .ifx-switch { flex-wrap: wrap; }
  .ifx-nav__extra a:hover { color: #fff; }
}
body.ifx-lock { overflow: hidden; }

/* Klæbende CTA-bar i bunden på mobil */
.ifx-mobilecta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99980;
  display: none; gap: 8px; padding: 8px;
  border-radius: 14px; background: rgba(7, 21, 34, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--ifx-line-strong);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
  transform: translateY(140%); transition: transform .35s var(--ifx-ease);
}
.ifx-mobilecta .ifx-btn { flex: 1; min-height: 48px; padding: 12px; font-size: 13px; }
.ifx-mobilecta .ifx-btn--primary { flex: 1.4; }
.ifx-mobilecta.is-visible { transform: none; }
body.ifx-lock .ifx-mobilecta { transform: translateY(140%); }
@media (max-width: 980px) { .ifx-mobilecta { display: flex; } }

/* Skub eksisterende Divi-indhold ned under den faste header (CrossFit-sider) */
body:has(.ifx-header--crossfit) #et-main-area { padding-top: var(--ifx-header-h); }
body:has(.ifx-header--crossfit) .ifx-pagehero,
body:has(.ifx-header--crossfit) .ifx-hero { margin-top: calc(var(--ifx-header-h) * -1); }


/* ---------------------------------------------------------------------
   8. HERO (forside) + SIDE-HERO (undersider)
   --------------------------------------------------------------------- */
.ifx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--ifx-header-h) + 48px) 0 clamp(48px, 9vh, 104px);
  background: var(--ifx-navy);
}
.ifx-hero__media, .ifx-hero__media img, .ifx-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.ifx-hero__media img, .ifx-hero__media video { max-width: none; }
.ifx-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 34, .88) 0%, rgba(7, 21, 34, .55) 45%, rgba(7, 21, 34, .15) 100%),
    linear-gradient(180deg, rgba(7, 21, 34, .55) 0%, rgba(7, 21, 34, 0) 30%, rgba(7, 21, 34, .2) 60%, var(--ifx-navy) 100%);
}
.ifx-hero__content { max-width: 940px; }
.ifx-hero .ifx-h1 { margin-bottom: 22px; }
.ifx-hero .ifx-lead { margin-bottom: 32px; }

.ifx-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px; padding-right: 40px;
  font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ifx-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ifx-accent); box-shadow: 0 0 0 4px var(--ifx-accent-soft); }

.ifx .ifx-hero__facts {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  margin-top: clamp(40px, 6vh, 64px); padding-top: 26px; border-top: 1px solid var(--ifx-line-strong);
}
.ifx-hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.ifx-hero__facts strong { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1; color: #fff; }
.ifx-hero__facts span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ifx-muted); }

.ifx-scrollcue { position: absolute; right: var(--ifx-gutter); bottom: 32px; display: none; }
@media (min-width: 1101px) {
  .ifx-scrollcue {
    display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ifx-muted);
    font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl;
  }
  .ifx-scrollcue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--ifx-accent), transparent); }
}

/* Side-hero */
.ifx-pagehero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--ifx-header-h) + clamp(56px, 9vw, 112px)) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 420px at 85% 0%, var(--ifx-accent-soft), transparent 70%),
    var(--ifx-navy);
  border-bottom: 1px solid var(--ifx-line);
}
.ifx-pagehero__media { position: absolute; inset: 0; z-index: -2; }
.ifx-pagehero__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .38; }
.ifx-pagehero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ifx-navy) 10%, rgba(7, 21, 34, .6) 60%, rgba(7, 21, 34, .3)),
              linear-gradient(0deg, var(--ifx-navy), transparent 50%);
}
.ifx-pagehero .ifx-h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 18px; }

.ifx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ifx-muted); }
.ifx-crumbs a:hover { color: var(--ifx-accent); }
.ifx-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }


/* ---------------------------------------------------------------------
   9. KORT
   --------------------------------------------------------------------- */
.ifx-card {
  position: relative;
  background: var(--ifx-navy-3); border: 1px solid var(--ifx-line); border-radius: var(--ifx-radius);
  padding: clamp(24px, 3vw, 34px);
  transition: border-color .25s, transform .25s var(--ifx-ease);
}
.ifx-card:hover { border-color: var(--ifx-line-strong); }
.ifx-card .ifx-h3 { margin-bottom: 12px; }
.ifx-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 22px; border-radius: 10px;
  background: var(--ifx-accent-soft); color: var(--ifx-accent);
  font-weight: 800; font-size: 15px;
}
.ifx-card__icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--ifx-accent); }

/* Billedflise (link med billede i baggrunden) */
.ifx .ifx-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: 24px;
  border-radius: var(--ifx-radius); border: 1px solid var(--ifx-line);
  background: var(--ifx-navy-3);
}
.ifx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; transition: transform .6s var(--ifx-ease); }
.ifx-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 21, 34, .05) 20%, rgba(7, 21, 34, .92) 100%); }
.ifx-tile:hover img { transform: scale(1.05); }
.ifx-tile__tag { align-self: flex-start; margin-bottom: auto; padding: 6px 10px; border-radius: 6px; background: rgba(7, 21, 34, .7); color: var(--ifx-accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ifx-tile .ifx-h3 { margin-bottom: 6px; }
.ifx-tile p { font-size: 14px; color: var(--ifx-text-2); }
.ifx-tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ifx-accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ifx-tile__go svg { width: 14px; height: 14px; transition: transform .2s; }
.ifx-tile:hover .ifx-tile__go svg { transform: translateX(4px); }

/* Holdkort (hold-siden) – kort beskrivelse, ingen "læs mere" */
.ifx-class {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--ifx-radius);
  background: var(--ifx-navy-3); border: 1px solid var(--ifx-line);
  scroll-margin-top: calc(var(--ifx-header-h) + 20px);
  transition: border-color .25s, transform .3s var(--ifx-ease);
}
.ifx-class:hover { border-color: var(--ifx-line-strong); transform: translateY(-3px); }
.ifx-class__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ifx-class__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ifx-ease); }
.ifx-class:hover .ifx-class__media img { transform: scale(1.04); }
.ifx-class__label {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 10px; border-radius: 6px; background: rgba(7, 21, 34, .78);
  color: var(--ifx-accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.ifx-class__body { flex: 1; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 30px); }
.ifx-class .ifx-h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.ifx-class__body p { font-size: 15px; }
.ifx .ifx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.ifx-tags li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ifx-line-strong); color: var(--ifx-text-2); font-size: 12px; font-weight: 700; }

/* Personkort (atleter + coaches) */
.ifx-person {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; padding: 24px;
  border-radius: var(--ifx-radius); border: 1px solid var(--ifx-line);
  background: var(--ifx-navy-3);
}
.ifx-person img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 25%; z-index: -2; }
.ifx-person::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7, 21, 34, .95) 100%); }
.ifx-person__role { color: var(--ifx-accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.ifx-person .ifx-h3 { font-size: clamp(20px, 2vw, 26px); }
.ifx-person p { margin-top: 12px; font-size: 14px; }
.ifx-person--athlete { aspect-ratio: auto; min-height: clamp(440px, 52vw, 560px); }
.ifx-person__initials {
  position: absolute; inset: 0; z-index: -2; display: grid; place-items: center;
  font-size: clamp(56px, 7vw, 88px); font-weight: 800; letter-spacing: -.04em; color: rgba(255, 255, 255, .08);
  background: radial-gradient(circle at 50% 35%, var(--ifx-navy-4), var(--ifx-navy-3) 70%);
}


/* ---------------------------------------------------------------------
   10. PRISER
   --------------------------------------------------------------------- */
.ifx-price {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--ifx-radius); border: 1px solid var(--ifx-line-strong);
  background: var(--ifx-navy-3);
}
.ifx-price--featured { border-color: var(--ifx-accent); box-shadow: 0 0 0 1px var(--ifx-accent), 0 30px 60px -30px var(--ifx-accent-soft); }
.ifx-price__media { position: relative; height: 170px; }
.ifx-price__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; }
.ifx-price__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 21, 34, .1), var(--ifx-navy-3)); }
.ifx-price__flag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  padding: 6px 10px; border-radius: 6px; background: var(--ifx-accent); color: var(--ifx-accent-ink);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ifx-price__body { flex: 1; display: flex; flex-direction: column; padding: 4px clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px); }
.ifx-price__label { color: var(--ifx-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.ifx-price .ifx-h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.ifx-price__desc { font-size: 15px; margin-bottom: 22px !important; }
.ifx-price__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.ifx-price__row { padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ifx-line); }
.ifx-price__age { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ifx-muted); margin-bottom: 6px; }
.ifx-price__amount { display: flex; align-items: baseline; gap: 6px; }
.ifx-price__amount strong { font-size: clamp(32px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ifx-price__amount span { font-size: 13px; font-weight: 700; color: var(--ifx-muted); }
.ifx-checks { display: grid; gap: 10px; margin: 0 0 24px; }
.ifx-checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ifx-text-2); }
.ifx-checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ifx-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23FFF055' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ifx-price .ifx-btn { margin-top: auto; }

/* Kompakt prisrække (klippekort) */
.ifx-pass {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: 12px; background: var(--ifx-navy-3); border: 1px solid var(--ifx-line);
}
.ifx-pass + .ifx-pass { margin-top: 10px; }
.ifx .ifx-pass p, .ifx .ifx-pass h3 { margin: 0; }
.ifx-pass__name small { display: block; color: var(--ifx-accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.ifx-pass__name strong { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.ifx-pass__price span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ifx-muted); }
.ifx-pass__price strong { font-size: 24px; font-weight: 800; }
.ifx-pass__price em { font-style: normal; font-size: 13px; color: var(--ifx-muted); margin-left: 4px; }
@media (max-width: 720px) {
  .ifx-pass { grid-template-columns: 1fr 1fr; }
  .ifx-pass__name { grid-column: 1 / -1; }
  .ifx-pass .ifx-btn { grid-column: 1 / -1; }
}

/* Kampagnefelt (skjult indtil "hidden" fjernes) */
.ifx-campaign {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 40px; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--ifx-radius); border: 2px solid var(--ifx-accent);
  background: linear-gradient(90deg, var(--ifx-navy) 30%, rgba(7, 21, 34, .55)), var(--ifx-navy-3);
}
.ifx-campaign[hidden] { display: none; }
.ifx-campaign img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -1; opacity: .5; }
.ifx-campaign .ifx-h2 { font-size: clamp(28px, 3.6vw, 44px); }


/* ---------------------------------------------------------------------
   11. HYROX-RACEFORMAT (8 × 1 km + 8 stationer)
   --------------------------------------------------------------------- */
.ifx-race { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: ifxrace; }
.ifx-race li {
  position: relative; padding: 22px 20px 20px; border-radius: 12px;
  background: var(--ifx-navy-3); border: 1px solid var(--ifx-line);
}
.ifx-race__run {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 4px 9px; border-radius: 6px;
  background: rgba(255, 255, 255, .06); color: var(--ifx-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ifx-race__run svg { width: 13px; height: 13px; }
.ifx-race__num { display: block; color: var(--ifx-accent); font-size: 13px; font-weight: 800; letter-spacing: .1em; margin-bottom: 6px; }
.ifx-race__name { display: block; font-size: 18px; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.ifx-race__dist { color: var(--ifx-text-2); font-size: 14px; font-weight: 600; }
@media (max-width: 980px) { .ifx-race { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .ifx-race { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ifx-race li { padding: 16px 14px; } .ifx-race__name { font-size: 15px; } .ifx-race__run { margin-bottom: 12px; } }

.ifx-race-total {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; padding: 18px 22px; border-radius: 12px;
  background: var(--ifx-accent); color: var(--ifx-accent-ink);
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.ifx-race-total strong { color: var(--ifx-accent-ink); font-size: 20px; }

p.ifx-race-total.ifx-reveal.is-in {
  padding-bottom: 20px;
}


/* ---------------------------------------------------------------------
   12. STATS, TRIN, FAQ
   --------------------------------------------------------------------- */
.ifx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ifx-line); border-radius: var(--ifx-radius); overflow: hidden; }
.ifx-stats li { padding: clamp(22px, 3vw, 34px); background: var(--ifx-navy-2); }
.ifx-stats li + li { border-left: 1px solid var(--ifx-line); }
.ifx-stats strong { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ifx-accent); margin-bottom: 10px; }
.ifx-stats span { font-size: 14px; color: var(--ifx-text-2); }
@media (max-width: 860px) {
  .ifx-stats { grid-template-columns: 1fr 1fr; }
  .ifx-stats li:nth-child(3) { border-left: 0; }
  .ifx-stats li:nth-child(n+3) { border-top: 1px solid var(--ifx-line); }
}

.ifx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ifxstep; }
.ifx-steps li { position: relative; padding: 30px 26px 28px; border-radius: var(--ifx-radius); background: var(--ifx-navy-3); border: 1px solid var(--ifx-line); counter-increment: ifxstep; }
.ifx-steps li::before { content: counter(ifxstep, decimal-leading-zero); display: block; margin-bottom: 26px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ifx-accent); }
.ifx-steps .ifx-h3 { margin-bottom: 10px; }
@media (max-width: 860px) { .ifx-steps { grid-template-columns: 1fr; } }

.ifx-faq { border-top: 1px solid var(--ifx-line); }
.ifx-faq details { border-bottom: 1px solid var(--ifx-line); }
.ifx-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: #fff;
}
.ifx-faq summary::-webkit-details-marker { display: none; }
.ifx-faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--ifx-line-strong);
  background:
    linear-gradient(var(--ifx-accent), var(--ifx-accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--ifx-accent), var(--ifx-accent)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ifx-ease);
}
.ifx-faq details[open] summary::after { transform: rotate(45deg); }
.ifx-faq summary:hover { color: var(--ifx-accent); }
.ifx-faq__a { padding: 0 48px 24px 0; }
.ifx-faq__a p { color: var(--ifx-text-2); }


/* ---------------------------------------------------------------------
   13. MEDIE-BLOKKE, GALLERI-BÅND, PLACEHOLDER
   --------------------------------------------------------------------- */
.ifx-media { position: relative; overflow: hidden; border-radius: var(--ifx-radius); border: 1px solid var(--ifx-line); background: var(--ifx-navy-3); }
.ifx-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ifx-media--tall { aspect-ratio: 4 / 5; }
.ifx-media--wide { aspect-ratio: 16 / 10; }
.ifx-media__stamp {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 10px;
  background: rgba(7, 21, 34, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; color: #fff;
}
.ifx-media__stamp b { color: var(--ifx-accent); }

.ifx-marquee { overflow: hidden; background: var(--ifx-navy); padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ifx-marquee__track { display: flex; gap: 12px; width: max-content; animation: ifx-marquee 70s linear infinite; }
.ifx-marquee:hover .ifx-marquee__track { animation-play-state: paused; }
.ifx-marquee__track img { width: 260px; height: 340px; max-width: none; object-fit: cover; border-radius: 12px; flex: none; }
@keyframes ifx-marquee { to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 767px) { .ifx-marquee__track img { width: 190px; height: 250px; } }
@media (prefers-reduced-motion: reduce) {
  .ifx-marquee__track { animation: none; }
  .ifx-marquee { overflow-x: auto; }
}


/* ---------------------------------------------------------------------
   14. CTA-BÅND
   --------------------------------------------------------------------- */
.ifx-cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; background: var(--ifx-accent); color: var(--ifx-accent-ink); }
.ifx-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09;
  background: repeating-linear-gradient(-45deg, var(--ifx-accent-ink) 0 2px, transparent 2px 22px);
}
.ifx-cta .ifx-h2, .ifx-cta h2 { color: var(--ifx-accent-ink); font-size: clamp(34px, 5.6vw, 72px); max-width: 15ch; }
.ifx-cta p { color: rgba(7, 21, 34, .8); font-size: 18px; max-width: 52ch; }
.ifx-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ifx .ifx-cta .ifx-btn--ghost { border-color: rgba(7, 21, 34, .35); color: var(--ifx-accent-ink) !important; }
.ifx .ifx-cta .ifx-btn--ghost:hover { border-color: var(--ifx-accent-ink); }


/* ---------------------------------------------------------------------
   15. INFO-LISTE (adresse, åbningstider)
   --------------------------------------------------------------------- */
.ifx-info { display: grid; gap: 20px; }
.ifx-info__row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--ifx-line); }
.ifx-info__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ifx-info__row dt { color: var(--ifx-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.ifx-info__row dd { margin: 0; color: #fff; font-weight: 600; }
.ifx-info__row dd a:hover { color: var(--ifx-accent); }
@media (max-width: 520px) { .ifx-info__row { grid-template-columns: 1fr; gap: 4px; } }


/* ---------------------------------------------------------------------
   16. FOOTER
   --------------------------------------------------------------------- */
.ifx-footer { background: var(--ifx-navy); border-top: 1px solid var(--ifx-line); padding: clamp(56px, 8vw, 96px) 0 0; }
.ifx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.ifx-footer__brand img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 18px; }
.ifx-footer__brand p { font-size: 14px; color: var(--ifx-muted); max-width: 34ch; }
.ifx .ifx-footer__title { font-size: 12px; letter-spacing: .16em; line-height: 1.3; color: var(--ifx-accent); margin-bottom: 18px; }
.ifx-footer li { margin-bottom: 10px; font-size: 14px; color: var(--ifx-text-2); line-height: 1.5; }
.ifx-footer li b { display: block; color: #fff; font-weight: 700; }
.ifx-footer a:hover { color: var(--ifx-accent); }
.ifx-social { display: flex; gap: 10px; margin-top: 18px; }
.ifx .ifx-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 10px; border: 1px solid var(--ifx-line-strong); color: #fff;
  transition: border-color .2s, color .2s;
}
.ifx .ifx-social a:hover { border-color: var(--ifx-accent); color: var(--ifx-accent); }
.ifx-social svg { width: 18px; height: 18px; }
.ifx-footer__switch {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: clamp(40px, 6vw, 64px); padding: 22px 26px; border-radius: var(--ifx-radius);
  border: 1px solid var(--ifx-line); background: var(--ifx-navy-2);
}
.ifx-footer__switch p { margin: 0; color: var(--ifx-text-2); }
.ifx-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding: 22px 0 28px; border-top: 1px solid var(--ifx-line);
  font-size: 12px; color: var(--ifx-muted);
}
.ifx-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.ifx-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  .ifx-footer__grid { grid-template-columns: 1fr 1fr; }
  .ifx-footer__brand { grid-column: 1 / -1; }
  .ifx-footer__bottom { padding-bottom: 96px; } /* plads til mobil-CTA */
}
@media (max-width: 540px) { .ifx-footer__grid { grid-template-columns: 1fr; } }


/* ---------------------------------------------------------------------
   17. FORSIDE-VALG (CrossFit / HYROX)
   Ligger i sidens flow (ikke som overlay) → ingen Google-straf på mobil.
   --------------------------------------------------------------------- */
.ifx-splash {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--ifx-header-h));
  min-height: calc(100svh - var(--ifx-header-h));
  background: var(--ifx-navy);
}
.ifx-splash[hidden], .ifx-splash-mini[hidden] { display: none !important; }

.ifx .ifx-splash__side {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 72px);
  color: #fff;
  transition: flex-grow .5s var(--ifx-ease);
}
.ifx .ifx-splash__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.2s var(--ifx-ease), filter .5s; filter: saturate(.85); }
.ifx-splash__side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 21, 34, .25) 0%, rgba(7, 21, 34, .55) 45%, rgba(7, 21, 34, .96) 100%); }
.ifx-splash__side:hover .ifx-splash__bg, .ifx-splash__side:focus-visible .ifx-splash__bg { transform: scale(1.09); filter: saturate(1.05); }
.ifx-splash__side::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ifx-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ifx-ease); }
.ifx-splash__side:hover::before, .ifx-splash__side:focus-visible::before { transform: scaleX(1); }

.ifx-splash__logo { width: 84px; height: 84px; object-fit: contain; margin-bottom: 22px; }
.ifx-splash__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--ifx-accent); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ifx-splash__kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.ifx .ifx-splash__title { display: block; font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 96px); line-height: .92; letter-spacing: -.04em; margin-bottom: 18px; }
.ifx .ifx-splash__text { max-width: 40ch; font-size: clamp(15px, 1.3vw, 18px); color: var(--ifx-text-2); margin: 0 0 8px; }
.ifx-splash__where { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--ifx-muted); font-size: 13px; font-weight: 700; }
.ifx-splash__where svg { width: 15px; height: 15px; color: var(--ifx-accent); }
.ifx-splash__go {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 16px 26px; border-radius: var(--ifx-radius-sm);
  background: var(--ifx-accent); color: var(--ifx-accent-ink);
  font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  transition: box-shadow .25s, transform .25s var(--ifx-ease);
}
.ifx-splash__go svg { width: 18px; height: 18px; transition: transform .25s var(--ifx-ease); }
.ifx-splash__side:hover .ifx-splash__go { box-shadow: 0 14px 36px -10px var(--ifx-accent); transform: translateY(-2px); }
.ifx-splash__side--hyrox:hover .ifx-splash__go svg { transform: translateX(4px); }
.ifx-splash__side--crossfit:hover .ifx-splash__go svg { transform: translateY(3px); }

.ifx-splash__brand {
  position: absolute; top: clamp(18px, 3vw, 32px); left: 50%; transform: translateX(-50%); z-index: 3;
  padding: 8px 14px; border-radius: 999px; background: rgba(7, 21, 34, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--ifx-line-strong);
  pointer-events: none; white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #fff;
}
.ifx-splash__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255, 255, 255, .18); z-index: 2; pointer-events: none; transition: opacity .3s; }

@media (min-width: 981px) {
  .ifx-splash { display: flex; }
  .ifx-splash__side { flex: 1 1 0; }
  .ifx-splash:has(.ifx-splash__side--crossfit:hover) .ifx-splash__side--crossfit,
  .ifx-splash:has(.ifx-splash__side--hyrox:hover) .ifx-splash__side--hyrox { flex-grow: 1.18; }
  .ifx-splash:has(.ifx-splash__side:hover) .ifx-splash__divider { opacity: 0; }
}
@media (max-width: 980px) {
  .ifx-splash { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .ifx .ifx-splash__side { padding: 56px 22px 24px; }
  .ifx-splash__logo { width: 52px; height: 52px; margin-bottom: 10px; }
  .ifx .ifx-splash__text { display: none; }
  .ifx-splash__where { margin-bottom: 16px; }
  .ifx .ifx-splash__title { font-size: clamp(34px, 9vw, 56px); margin-bottom: 10px; }
  .ifx-splash__go { min-height: 50px; padding: 14px 20px; font-size: 14px; }
  .ifx-splash__divider { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .ifx-splash__brand { top: 14px; }
  .ifx-splash__side--hyrox { padding-top: 28px !important; }
}
@media (max-width: 980px) and (max-height: 700px) {
  .ifx-splash__logo { display: none; }
}

/* Smal "fortsæt"-bjælke for tilbagevendende HYROX-vælgere */
.ifx-splash-mini { background: var(--ifx-navy-3); border-bottom: 1px solid var(--ifx-line); }
.ifx-splash-mini__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14px; color: var(--ifx-text-2); }
.ifx-splash-mini__inner > span { display: inline-flex; align-items: center; gap: 10px; }


/* ---------------------------------------------------------------------
   18. SCROLL-REVEAL (diskret – slås fra ved reduced motion)
   --------------------------------------------------------------------- */
.ifx-js .ifx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ifx-ease), transform .7s var(--ifx-ease); }
.ifx-js .ifx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ifx-js .ifx-reveal { opacity: 1; transform: none; transition: none; }
  .ifx *, .ifx *::before, .ifx *::after { transition-duration: .01ms !important; }
}


/* ---------------------------------------------------------------------
   19. ALMINDELIGE DIVI-SIDER UNDER HYROX (fx medlemsbetingelserne)
   Farver/typografi kommer fra divi-skin. Her gives kun plads til headeren.
   --------------------------------------------------------------------- */
body:has(.ifx-header--hyrox) .et-l--post .et_pb_section:first-of-type:not(:has(.ifx-bleed)) { padding-top: calc(var(--ifx-header-h) + 48px) !important; }

/* Forsidens CrossFit-sektion (CSS ID "crossfit") må ikke gemme sig under den faste header */
#crossfit { scroll-margin-top: var(--ifx-header-h); }

/* Hurtigt afdelingsskift i headeren på mobil/tablet (desktop har topbaren) */
.ifx .ifx-header__jump { display: none; }
@media (max-width: 1100px) {
  .ifx .ifx-header__jump {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    padding: 9px 12px; border-radius: 999px; border: 1px solid var(--ifx-line-strong);
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff;
    white-space: nowrap;
  }
  .ifx .ifx-header__jump svg { width: 12px; height: 12px; opacity: .7; }
  .ifx-header__jump + .ifx-burger { margin-left: 10px; }
  .ifx-header.is-open .ifx-header__jump { visibility: hidden; }
}

/* Instagram "Følg os" i HYROX-footeren */
.ifx .ifx-follow { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; color: var(--ifx-yellow); }
.ifx-follow__icons { display: flex; gap: 18px; }
.ifx .ifx-follow__icons a { display: inline-flex; color: var(--ifx-yellow); }
.ifx-follow svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s, opacity .25s; }
.ifx-follow__icons a:hover svg { transform: translateY(-2px); opacity: .75; }
.ifx-follow > span { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; line-height: 1; text-transform: uppercase; }
.ifx-footer__brand--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ifx .ifx-footer__brand .ifx-footer__logo-lg { width: 150px; height: auto; margin: 0 0 6px; object-fit: contain; }
@media (max-width: 767px) { .ifx .ifx-footer__brand .ifx-footer__logo-lg { width: 130px; } }

/* Afdelingsskift: aktiv afdeling markeres med tynd gul kant (ikke fyldt knap) */
.ifx .ifx-switch__item[aria-current] { color: var(--ifx-accent); background: transparent; box-shadow: inset 0 0 0 1px var(--ifx-accent); }
.ifx .ifx-switch__item[aria-current] .ifx-switch__dot { background: var(--ifx-accent); }

/* Mobil: "Bliv medlem" ved siden af burgermenuen, tynd gul kant */
.ifx .ifx-header__jump { border: 1px solid var(--ifx-accent); border-radius: 8px; color: var(--ifx-accent); padding: 10px 14px; }
.ifx .ifx-header__jump:hover { background: var(--ifx-accent-soft); }

/* Tekstsider (medlemsbetingelser m.m.) */
.ifx-terms { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ifx-terms__toc { position: sticky; top: calc(var(--ifx-header-h) + 24px); padding: 22px; border-radius: var(--ifx-radius); background: var(--ifx-navy-3); border: 1px solid var(--ifx-line); }
.ifx .ifx-terms__toc-title { margin: 0 0 12px; color: var(--ifx-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ifx .ifx-terms__toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--ifx-text-2); line-height: 1.35; }
.ifx .ifx-terms__toc a span { color: var(--ifx-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.ifx .ifx-terms__toc a:hover { color: var(--ifx-accent); }
.ifx-terms__body { max-width: 760px; }
.ifx-terms__sec { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--ifx-line); scroll-margin-top: calc(var(--ifx-header-h) + 24px); }
.ifx .ifx-terms__sec h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; }
.ifx-terms__num { color: var(--ifx-accent); font-size: .8em; }
.ifx .ifx-terms__list { display: grid; gap: 14px; }
.ifx .ifx-terms__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
.ifx-terms__no { color: var(--ifx-muted); font-size: 14px; font-weight: 700; padding-top: 2px; font-variant-numeric: tabular-nums; }
.ifx .ifx-terms__list p { margin: 0; line-height: 1.7; }
.ifx .ifx-terms__body a { color: var(--ifx-accent); text-decoration: underline; text-underline-offset: 3px; }
.ifx-terms__contact { padding: 22px 24px; border-radius: var(--ifx-radius); background: var(--ifx-navy-3); border: 1px solid var(--ifx-line); }
@media (max-width: 900px) {
  .ifx-terms { grid-template-columns: 1fr; }
  .ifx-terms__toc { position: static; }
  .ifx .ifx-terms__toc ol { columns: 2; column-gap: 20px; }
}
@media (max-width: 520px) { .ifx .ifx-terms__toc ol { columns: 1; } }
.ifx .ifx-h1, .ifx .ifx-h2 { overflow-wrap: break-word; }

/* 404-side (fælles for CrossFit og HYROX) */
.ifx-header--neutral .ifx-header__bar { justify-content: space-between; }
.ifx-404-switch { display: flex; gap: 8px; margin-left: auto; }
.ifx-404 { padding: calc(var(--ifx-bar-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px); background: radial-gradient(900px 420px at 85% 0%, var(--ifx-accent-soft), transparent 70%), var(--ifx-navy); }
.ifx-404__intro { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.ifx .ifx-404__code { margin: 0 0 8px; font-size: clamp(88px, 16vw, 180px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ifx-accent); }
.ifx-404__cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.ifx-404__card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; padding: clamp(24px, 3vw, 36px); border-radius: var(--ifx-radius); border: 1px solid var(--ifx-line-strong); justify-content: flex-end; }
.ifx .ifx-404__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; opacity: .45; }
.ifx-404__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 21, 34, .3) 0%, rgba(7, 21, 34, .96) 70%); }
.ifx-404__card.is-suggested { border-color: var(--ifx-accent); box-shadow: 0 0 0 1px var(--ifx-accent); }
.ifx-404__tag { display: none; position: absolute; top: 18px; left: 18px; padding: 6px 10px; border-radius: 6px; background: var(--ifx-accent); color: var(--ifx-accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ifx-404__card.is-suggested .ifx-404__tag { display: inline-block; }
.ifx .ifx-404__kicker { margin: 0 0 6px; color: var(--ifx-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ifx .ifx-404__card .ifx-h3 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.ifx .ifx-404__where { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--ifx-muted); font-size: 14px; font-weight: 700; }
.ifx-404__where svg { width: 15px; height: 15px; color: var(--ifx-accent); flex: none; }
.ifx .ifx-404__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0 0 24px; }
.ifx .ifx-404__links a { color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--ifx-line-strong); text-underline-offset: 4px; }
.ifx .ifx-404__links a:hover { color: var(--ifx-accent); text-decoration-color: var(--ifx-accent); }
.ifx-404__card .ifx-btn { align-self: flex-start; }
.ifx .ifx-404__help { margin: 32px 0 0; color: var(--ifx-text-2); }
.ifx .ifx-404__help a { color: var(--ifx-accent); text-decoration: underline; text-underline-offset: 3px; }
.ifx-404-footer { border-top: 1px solid var(--ifx-line); background: var(--ifx-navy); }
.ifx-404-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 28px; font-size: 12px; color: var(--ifx-muted); }
.ifx-404-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.ifx .ifx-404-footer a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .ifx-404__cards { grid-template-columns: 1fr; }
  .ifx-404__card { min-height: 360px; }
}
@media (max-width: 420px) { .ifx .ifx-404__links { grid-template-columns: 1fr; } .ifx-404-switch .ifx-btn { padding: 10px 12px; } }

/* =====================================================================
   v1.9 – MOBILRETTELSER (iPhone)
   ===================================================================== */

.ifx :is(h1, h2, h3, h4)::before { content: none !important; display: none !important; }

@media (max-width: 767px) {
  .ifx .ifx-hero__media img { object-position: 90% 28% !important; }

.ifx .ifx-badge {
    display: block; padding: 0; line-height: 1.5;
  }
}

@media (max-width: 540px) {
  .ifx .ifx-footer__grid { text-align: center; justify-items: center; gap: 36px; }
  .ifx .ifx-footer__grid > div { width: 100%; }
  .ifx .ifx-footer__switch { flex-direction: column; justify-content: center; text-align: center; }
  .ifx .ifx-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .ifx .ifx-footer__bottom nav { justify-content: center; }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  .ifx .ifx-header--crossfit .ifx-header__bar { gap: 18px; }
  .ifx .ifx-header--crossfit .ifx-nav { gap: 14px; }
  .ifx .ifx-header--crossfit :is(.ifx-nav__link, .ifx-nav__toggle) { padding-inline: 8px; font-size: 13px; }
  .ifx .ifx-header--crossfit .ifx-nav__cta .ifx-btn { padding-inline: 14px; }
}

@media (max-width: 767px) {
  .ifx.ifx--crossfit .ifx-hero__media img { object-position: 80% 30% !important; }
  .ifx--crossfit .ifx-hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}


/* =====================================================================
   v1.12 – HOLDPLAN
   ===================================================================== */
.ifx-schedule {
  font-family: var(--ifx-font); color: var(--ifx-text);
  background: var(--ifx-navy-2); border: 1px solid var(--ifx-line); border-radius: var(--ifx-radius);
  padding: clamp(16px, 2.6vw, 28px);
}
.ifx-schedule--empty { text-align: center; display: grid; gap: 16px; justify-items: center; }

/* Dage */
.ifx .ifx-schedule__days {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 8px;
  overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding-bottom: 2px;
}
.ifx-schedule__days::-webkit-scrollbar { display: none; }
.ifx .ifx-schedule__tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 8px; border-radius: var(--ifx-radius-sm);
  background: var(--ifx-navy-3); border: 1px solid var(--ifx-line); color: var(--ifx-text-2);
  font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.ifx-schedule__tab span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ifx-muted); }
.ifx-schedule__tab b { font-size: 15px; font-weight: 800; color: inherit; white-space: nowrap; }
.ifx .ifx-schedule__tab:hover { border-color: var(--ifx-line-strong); color: #fff; }
.ifx .ifx-schedule__tab[aria-selected="true"] { background: var(--ifx-accent); border-color: var(--ifx-accent); color: var(--ifx-accent-ink); }
.ifx .ifx-schedule__tab[aria-selected="true"] span { color: var(--ifx-accent-ink); opacity: .75; }

/* Filter */
.ifx .ifx-schedule__filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ifx .ifx-schedule__chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ifx-line-strong);
  background: transparent; color: var(--ifx-text-2); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; transition: border-color .2s, color .2s, background-color .2s;
}
.ifx .ifx-schedule__chip:hover { border-color: var(--ifx-accent); color: #fff; }
.ifx .ifx-schedule__chip[aria-pressed="true"] { border-color: var(--ifx-accent); color: var(--ifx-accent); background: var(--ifx-accent-soft); }

/* Dag-indhold */
.ifx .ifx-schedule__date { font-size: clamp(18px, 2vw, 22px); margin: 0 0 12px; }
.ifx .ifx-schedule__open { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; color: var(--ifx-muted); }
.ifx-schedule__open b { color: #fff; font-weight: 700; }
.ifx-schedule__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ifx-accent); box-shadow: 0 0 0 4px var(--ifx-accent-soft); flex: none; }
.ifx .ifx-schedule__none { margin: 8px 0 0; color: var(--ifx-muted); font-size: 14px; }

.ifx .ifx-schedule__list { display: grid; gap: 10px; }
.ifx .ifx-schedule__item {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; gap: 8px 18px;
  padding: 14px 16px 14px 18px; border-radius: var(--ifx-radius-sm);
  background: var(--ifx-navy-3); border: 1px solid var(--ifx-line);
  box-shadow: inset 3px 0 0 var(--tint, var(--ifx-accent));
}
.ifx .ifx-schedule__item[hidden] { display: none; }
.ifx .ifx-schedule__time { margin: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ifx-schedule__time b { font-size: 17px; font-weight: 800; color: #fff; }
.ifx-schedule__time span { font-size: 13px; color: var(--ifx-muted); }
.ifx .ifx-schedule__name { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.ifx .ifx-schedule__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--ifx-muted); }
.ifx-schedule__coach { display: inline-flex; align-items: center; gap: 7px; color: var(--ifx-text-2); }
.ifx .ifx-schedule__coach img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ifx .ifx-schedule__spots { margin: 0; font-size: 13px; font-weight: 700; color: var(--ifx-text-2); white-space: nowrap; }
.ifx .ifx-schedule__item.is-full .ifx-schedule__spots { color: #FF8A80; }
.ifx .ifx-schedule__book { min-width: 112px; }
.ifx .ifx-schedule__foot { margin: 20px 0 0; font-size: 14px; }
.ifx .ifx-schedule__foot a { color: var(--ifx-accent); font-weight: 700; }

@media (max-width: 640px) {
  .ifx-schedule { padding: 14px 12px; }
  .et_pb_row:has(.ifx-schedule):not(:has(.ifx-bleed)) { width: calc(100% - 24px) !important; max-width: none !important; }
  .ifx .ifx-schedule__days { grid-auto-columns: minmax(78px, 1fr); }
  .ifx-schedule__tab span { white-space: nowrap; letter-spacing: .08em; }
  .ifx .ifx-schedule__filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 0 4px 2px; }
  .ifx-schedule__filter::-webkit-scrollbar { display: none; }
  .ifx .ifx-schedule__chip { flex: none; white-space: nowrap; }
  .ifx .ifx-schedule__item { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 12px 12px 14px; }
  .ifx .ifx-schedule__time { grid-row: 1 / span 2; align-self: start; }
  .ifx .ifx-schedule__spots { grid-column: 2; grid-row: 2; }
  .ifx .ifx-schedule__book { grid-column: 3; grid-row: 1 / span 2; min-width: 0; padding: 10px 14px; }
}

/* Anker-link #holdplan: stop under den faste header */
.ifx #holdplan { scroll-margin-top: var(--ifx-header-h); }

   body:has(.ifx-splash:not([hidden])) .ifx-hero,
   body:has(.ifx-splash-mini:not([hidden])) .ifx-hero { margin-top: 0; padding-top: clamp(72px, 10vh, 120px); }

   .ifx .ifx-splash__side:hover .ifx-splash__bg,
   .ifx .ifx-splash__side:focus-visible .ifx-splash__bg { transform: scale(1.04); filter: saturate(.85); }
   @media (min-width: 981px) {
     .ifx-splash:has(.ifx-splash__side:hover) .ifx-splash__side { flex-grow: 1 !important; }
     .ifx-splash:has(.ifx-splash__side:hover) .ifx-splash__divider { opacity: 1; }
   }

   @media (min-width: 641px) {
     .ifx .ifx-class--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
     .ifx .ifx-class--wide .ifx-class__media { aspect-ratio: auto; min-height: 300px; }
     .ifx .ifx-class--wide .ifx-class__body { justify-content: center; }
     .ifx .ifx-class--wide .ifx-tags { margin-top: 0; }
   }
   @media (min-width: 981px) {
     .ifx .ifx-class--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
     .ifx .ifx-class--wide .ifx-class__body { padding: clamp(28px, 3.4vw, 48px); }
     .ifx .ifx-class--wide .ifx-class__body p { max-width: 58ch; }
   }