/* ADOM 2026 brand for /v3/. Loaded after each page's own styles; v1 never loads this file.
   Rule of the brand: the color lives in the mark, everything around it stays quiet.
   Paper grounds, ink text, one violet, gold only as a small signal. Type is v1's: Instrument
   for headlines, Schibsted for text; Fraunces only in the logo (outlined). */

@font-face {
  font-family: 'Fraunces ADOM';
  src: url('/v3/fonts/fraunces-quote.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

html[data-brand='v3'] {
  /* Ink and paper */
  --ink: #16131f;
  --ink-2: #1c1927;
  --ink-3: #332e46;
  --porcelain: #f6f5f9;
  --bone: #e8e5f3;
  --bone-2: #dcd8e8;
  --graphite: #45425a;
  --mist: #bdb8d0;
  /* One violet; the old logo colors map to the brand's quiet roles */
  --violet: #4a31b4;
  --indigo: #4a31b4;
  --teal: #9b3a60;
  --amber: #a8752a;
  --brand-grad: linear-gradient(90deg, #4a31b4, #4a31b4);
  --brand-grad-text: linear-gradient(90deg, currentColor, currentColor);
  --lavender: #a898f0;
  --plum: #2b1a78;
  --signal: #e8e5f3;
  --signal-ink: #4a31b4;
  --line: rgb(22 19 31 / 0.12);
  --line-inv: rgb(242 240 248 / 0.16);
  --gold: #a8752a;
  --gold-tint: #f4e8cf;
  --gold-ink: #8a5e1c;
  --paper-raised: #ffffff;

  /* Type: the v1 faces (Instrument for headlines, Schibsted for text) */
  --font-quote: var(--font-display);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ── Dark sections stay dark, in the brand's ink. On ink the accent is the light violet
   (#a898f0, the dark-theme violet), text is near-white and secondary text is mist. ── */
html[data-brand='v3'] .dark {
  --ink: #16131f;
  --ink-2: #1c1927;
  --ink-3: #262137;
  --porcelain: #f2f0f8;
  --mist: #bdb8d0;
  --graphite: #bdb8d0;
  --lavender: #a898f0;
  --violet: #a898f0;
  --signal-ink: #a898f0;
  --line-inv: rgb(242 240 248 / 0.14);
  --line: rgb(242 240 248 / 0.14);
  background: #16131f;
  color: #f2f0f8;
}
html[data-brand='v3'] .dark .eyebrow {
  color: #bdb8d0;
}
html[data-brand='v3'] .dark .eyebrow::before {
  background: #e2b567;
}
/* Buttons on ink: light violet with ink text; outline buttons in near-white */
html[data-brand='v3'] .dark .btn:not(.btn--ghost):not(.btn--wa),
html[data-brand='v3'] .dark .btn--signal,
html[data-brand='v3'] .btn--signal.on-dark {
  --bg: #a898f0 !important;
  --fg: #16131f !important;
  --fill: #cbc1f7 !important;
  --fill-fg: #16131f !important;
}
html[data-brand='v3'] .dark .btn--ghost {
  --bg: transparent !important;
  --fg: #f2f0f8 !important;
  --fill: #f2f0f8 !important;
  --fill-fg: #16131f !important;
  box-shadow: inset 0 0 0 1.5px rgb(242 240 248 / 0.5) !important;
}

/* No grain, no aurora glows: calm surfaces */
html[data-brand='v3'] .grain::after,
html[data-brand='v3'] .aurora {
  display: none;
}

/* ── Type: the v1 faces and treatment (Instrument headlines with italic accents, Schibsted text) ── */
html[data-brand='v3'] body {
  color: var(--ink);
  background: var(--porcelain);
}
/* Accent words keep v1's italic face, in the headline's own color */
html[data-brand='v3'] .display em,
html[data-brand='v3'] h1 em,
html[data-brand='v3'] h2 em,
html[data-brand='v3'] h3 em,
html[data-brand='v3'] .dark .display em {
  color: inherit;
}
/* Sentence case labels: no tracked all-caps */
html[data-brand='v3'] .eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--graphite);
}
html[data-brand='v3'] .eyebrow::before {
  width: 8px;
  height: 8px;
  background: var(--gold);
}
html[data-brand='v3'] .ftr .eyebrow,
html[data-brand='v3'] .menu .eyebrow {
  color: var(--mist);
}
html[data-brand='v3'] .ftr .eyebrow::before,
html[data-brand='v3'] .menu .eyebrow::before {
  background: #e2b567;
}
html[data-brand='v3'] .brand-line {
  background: var(--line);
  opacity: 1;
  height: 1px;
}

/* ── Buttons: violet pill for the main action, ink outline for the second ── */
html[data-brand='v3'] .btn,
html[data-brand='v3'] .btn--signal,
html[data-brand='v3'] .dark .btn--signal,
html[data-brand='v3'] .btn--signal.on-dark,
html[data-brand='v3'] .dark .btn:not(.btn--signal):not(.btn--ghost):not(.btn--wa) {
  --bg: #4a31b4;
  --fg: #ffffff;
  --fill: #2b1a78;
  --fill-fg: #ffffff;
}
html[data-brand='v3'] .btn--ghost,
html[data-brand='v3'] .dark .btn--ghost {
  --bg: transparent;
  --fg: #16131f;
  --fill: #e8e5f3;
  --fill-fg: #16131f;
  box-shadow: inset 0 0 0 1.5px #16131f;
}
html[data-brand='v3'] .ftr .btn:not(.btn--wa),
html[data-brand='v3'] .menu .btn:not(.btn--wa),
html[data-brand='v3'] .ck .btn:not(.btn--ghost) {
  --bg: #a898f0;
  --fg: #16131f;
  --fill: #cbc1f7;
  --fill-fg: #16131f;
}
html[data-brand='v3'] .ftr .btn--ghost,
html[data-brand='v3'] .menu .btn--ghost {
  --bg: transparent;
  --fg: #f2f0f8;
  --fill: #f2f0f8;
  --fill-fg: #16131f;
  box-shadow: inset 0 0 0 1.5px rgb(242 240 248 / 0.5);
}
html[data-brand='v3'] .btn.btn--wa,
html[data-brand='v3'] .dark .btn.btn--wa {
  --bg: #25d366;
  --fg: #16131f;
  /* A lighter green rises on hover, the way the purple buttons fill. */
  --fill: #8eecb1;
  --fill-fg: #16131f;
}

/* ── Small signals ── */
html[data-brand='v3'] ::selection {
  background: #e8e5f3;
  color: #16131f;
}
html[data-brand='v3'] .chip--live .dot {
  background: var(--gold);
}
html[data-brand='v3'] .chip.chip--soldout {
  background: #f4e8cf;
  color: #8a5e1c;
}
html[data-brand='v3'] [data-track='management'] {
  --track: #4a31b4;
}
html[data-brand='v3'] [data-track='asistenti'] {
  --track: #9b3a60;
}
html[data-brand='v3'] [data-track='medici'] {
  --track: #8a5e1c;
}
html[data-brand='v3'] .logo--v3 {
  display: block;
  width: auto;
  flex: none;
}

/* ── Header: ink on light sections, near-white over dark ones (as in v1), in brand colors ── */
html[data-brand='v3'] .hdr.is-scrolled {
  background-color: rgb(246 245 249 / 0.82);
}
html[data-brand='v3'] .hdr.is-scrolled.on-dark {
  background-color: rgb(22 19 31 / 0.72);
}
html[data-brand='v3'] .hdr .btn--signal {
  --bg: #4a31b4 !important;
  --fg: #ffffff !important;
  --fill: #2b1a78 !important;
  --fill-fg: #ffffff !important;
}
html[data-brand='v3'][data-start='dark'] .hdr:not(.on-light) .btn--signal,
html[data-brand='v3'] .hdr.on-dark .btn--signal,
html[data-brand='v3'].menu-open .hdr .btn--signal {
  --bg: #a898f0 !important;
  --fg: #16131f !important;
  --fill: #cbc1f7 !important;
  --fill-fg: #16131f !important;
}

/* ── One-color headlines (outside article bodies) ── */
html[data-brand='v3'] em:not(.prose em),
html[data-brand='v3'] i:not(.prose i) {
  color: inherit !important;
}

/* The hero particle field keeps its motion but loses the old logo colors */
html[data-brand='v3'] canvas.field {
  filter: grayscale(1);
  opacity: 0.7;
}

/* Its width was set in ch (18 characters of v1's narrower face); the line layout now keeps it in check */
html[data-brand='v3'] .fd-promise__h {
  max-width: none;
}

/* "Nou" tag: gold-ink on gold-tint, as in the brand guide */
html[data-brand='v3'] .hero__news-tag {
  background: #f4e8cf !important;
  color: #8a5e1c !important;
}

/* ── Page transition (after coffee-tech.com): the next page wipes up from the bottom over the
   current one, which sinks back and darkens; the header stays fixed and only crossfades.
   Cross-document View Transitions: no script, every page keeps its own lifecycle. Browsers
   without support simply navigate as before. ── */
@view-transition {
  navigation: auto;
}
html[data-brand='v3'] .hdr {
  view-transition-name: v3-header;
}
/* Header colors differ between the two pages (leaving from the open menu or a light section):
   the header travels with its page instead of crossfading through invisibility */
html[data-brand='v3'].vt-plain .hdr {
  view-transition-name: none;
}
::view-transition-group(root) {
  animation-duration: 1s;
}
::view-transition-old(root) {
  animation: v3-page-out 1s cubic-bezier(0.76, 0, 0.24, 1) both;
  transform-origin: 50% 0;
}
::view-transition-new(root) {
  animation: v3-page-in 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}
::view-transition-image-pair(root) {
  isolation: auto;
}
::view-transition-group(v3-header) {
  z-index: 10;
  animation-duration: 1s;
}
::view-transition-old(v3-header),
::view-transition-new(v3-header) {
  animation-duration: 0.6s;
  animation-timing-function: ease;
}
@keyframes v3-page-in {
  from {
    clip-path: inset(100% 0 0 0);
    transform: translateY(18vh);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}
@keyframes v3-page-out {
  from {
    transform: none;
    filter: brightness(1);
  }
  to {
    transform: scale(0.94) translateY(-2vh);
    filter: brightness(0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* ── Menu (after spykercars.com) ─────────────────────────────────────────────
   Burger left of the logo at every width; the links live in a white drawer that slides down
   over a dimmed page. Timings from the reference: drawer 0.8s in / 0.5s out, backdrop
   0.6s / 0.4s, links rise through masks (0.8s, delay 0.25 + 0.08 × i), socials start at 0.3s
   (0.4s, 0.07s apart), photo scales 0.95 → 1 (0.6s), contact row rises from ~0.5s. */
html[data-brand='v3'] {
  --v3m-ease: cubic-bezier(0.625, 0.05, 0, 1);
}
html[data-brand='v3'] .hdr__nav {
  display: none;
}
html[data-brand='v3'] .hdr__in {
  justify-content: flex-start;
}
html[data-brand='v3'] .hdr__cta {
  margin-left: auto;
}
html[data-brand='v3'] .hdr__burger {
  display: grid !important;
  order: 2;
  margin-left: var(--s-2);
  width: 44px;
  height: 44px;
  box-shadow: none;
}
html[data-brand='v3'] .hdr__burger .bars {
  width: 22px;
  gap: 6px;
}
html[data-brand='v3'] .hdr__burger .bars i:nth-child(2) {
  width: 70%;
  transition: width 0.3s var(--ease-out), opacity 0.2s;
}
html[data-brand='v3'] .hdr__burger:hover .bars i:nth-child(2) {
  width: 100%;
}
html[data-brand='v3'].v3m-open .hdr__burger .bars i:first-child {
  transform: translateY(7.5px) rotate(45deg);
}
html[data-brand='v3'].v3m-open .hdr__burger .bars i:nth-child(2) {
  opacity: 0;
}
html[data-brand='v3'].v3m-open .hdr__burger .bars i:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}
/* While open, the header sits on the white drawer: ink text, no glass */
html[data-brand='v3'].v3m-open .hdr,
html[data-brand='v3'].v3m-open .hdr.on-dark,
html[data-brand='v3'].v3m-open .hdr.is-scrolled {
  color: #16131f !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-brand='v3'].v3m-open .hdr .btn--signal {
  --bg: #4a31b4 !important;
  --fg: #ffffff !important;
  --fill: #2b1a78 !important;
  --fill-fg: #ffffff !important;
}
html[data-brand='v3'].v3m-show {
  overflow: hidden;
}

/* ── Header, kept simple: language, ADOM Assess and Înscrie-te, then the menu button at the far
   right. WhatsApp and the account button are off for now. Înscrie-te wears the same outline
   as ADOM Assess. ── */
html[data-brand='v3'] .hdr__acct {
  display: none !important;
}
html[data-brand='v3'] .hdr .hdr__join {
  min-height: 0;
  height: 40px;
  padding: 0 16px;
  font-size: var(--t-sm);
  font-weight: 600;
  background: transparent !important;
  color: inherit !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent);
  transition: box-shadow 0.25s;
}
html[data-brand='v3'] .hdr .hdr__join::before {
  display: none;
}
html[data-brand='v3'] .hdr .hdr__join:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}
html[data-brand='v3'] .hdr .hdr__join .roll > span {
  transform: none !important;
}
/* The three header pills share one hover: the outline is its own layer that fades from faint to
   full. Animating the box-shadow color (a currentColor mix) stuttered in some browsers over the
   moving hero video; an opacity fade is drawn by the GPU and stays smooth. Same height and timing
   for all three. */
html[data-brand='v3'] .hdr .hdr__lang,
html[data-brand='v3'] .hdr .hdr__assess,
html[data-brand='v3'] .hdr .hdr__join {
  position: relative;
  height: 40px;
  box-shadow: none !important;
  transition: none;
}
html[data-brand='v3'] .hdr .hdr__lang::after,
html[data-brand='v3'] .hdr .hdr__assess::after,
html[data-brand='v3'] .hdr .hdr__join::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid currentColor;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-brand='v3'] .hdr .hdr__lang:hover::after,
html[data-brand='v3'] .hdr .hdr__assess:hover::after,
html[data-brand='v3'] .hdr .hdr__join:hover::after {
  opacity: 1;
}

/* ── Menu drawer ───────────────────────────────────────────────────────────────
   A white drawer slides down over a dimmed, blurred page. On computers it is only as tall as
   its content (it never needs scrolling on laptops and tablets: the link size follows the screen
   height). Phones and portrait tablets get the whole screen.
   Left: large links rising through masks, the sub-pages as small outlined pills (the same
   outline as the header buttons). Right: one photograph the height of the list, following the
   link you point at, with a one-line caption. Bottom: socials and contact in one row. ── */
.v3m-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgb(22 19 31 / 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--v3m-ease), visibility 0s 0.4s;
}
.v3m {
  position: fixed;
  inset: 0 0 auto;
  z-index: 45;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  color: #16131f;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 30px 80px -30px rgb(22 19 31 / 0.45);
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform 0.5s var(--v3m-ease), visibility 0s 0.5s;
}
html.v3m-show .v3m {
  visibility: visible;
  transition: transform 0.5s var(--v3m-ease), visibility 0s;
}
html.v3m-show .v3m-backdrop {
  visibility: visible;
  transition: opacity 0.4s var(--v3m-ease), visibility 0s;
}
html.v3m-open .v3m-backdrop {
  opacity: 1;
  transition: opacity 0.6s var(--v3m-ease), visibility 0s;
}
html.v3m-open .v3m {
  transform: none;
  transition: transform 0.8s var(--v3m-ease), visibility 0s;
}
.v3m__scroll {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.v3m__main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  padding-top: calc(var(--header-h) + clamp(8px, 2dvh, 24px));
  padding-bottom: clamp(20px, 3.2dvh, 36px);
}

/* Links */
.v3m__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.1em;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  /* 8 links + 2 rows of pills ≈ 9.9 × the size + 80px; header, padding and the bottom row
     ≈ 360px more, so the drawer always leaves a little of the page showing */
  font-size: clamp(1.75rem, min(3.5vw, (100dvh - 440px) / 9.9), 3.25rem);
}
.v3m__item {
  display: grid;
  justify-items: start;
}
.v3m__link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
.v3m__mask {
  display: block;
  overflow: hidden;
  padding: 0.02em 0.4em 0.08em 0;
  margin-right: -0.4em;
}
.v3m__txt {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  transform: translateY(105%);
  transition: transform 0s, opacity 0.35s var(--v3m-ease), color 0.25s;
}
html.v3m-open .v3m__txt {
  transform: none;
  transition: transform 0.8s var(--v3m-ease) calc(0.22s + 0.06s * var(--i)), opacity 0.35s var(--v3m-ease), color 0.25s;
}
.v3m__arrow {
  width: 0.62em;
  height: 0.62em;
  opacity: 0;
  transform: translate(-0.25em, 0.12em);
  transition: opacity 0.3s var(--v3m-ease), transform 0.45s var(--v3m-ease);
  color: #4a31b4;
}
.v3m__link[aria-current='page'] .v3m__txt {
  color: #4a31b4;
}
@media (hover: hover) {
  html.v3m-hover .v3m__list:hover .v3m__link .v3m__txt {
    opacity: 0.26;
  }
  html.v3m-hover .v3m__list .v3m__item:hover .v3m__link .v3m__txt,
  html.v3m-hover .v3m__list .v3m__link:focus-visible .v3m__txt {
    opacity: 1;
  }
  html.v3m-hover .v3m__item:hover .v3m__arrow {
    opacity: 1;
    transform: translate(0, 0.04em);
  }
}

/* Sub-pages: small outlined pills under their section */
.v3m__subs {
  margin: 0.18em 0 0.32em;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-text);
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
}
html.v3m-open .v3m__subs {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--v3m-ease) calc(0.5s + 0.06s * var(--i)),
    transform 0.6s var(--v3m-ease) calc(0.5s + 0.06s * var(--i));
}
.v3m__sub {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #dedbea;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #3d3a52;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.25s, color 0.25s, background-color 0.25s;
}
.v3m__sub:hover {
  color: #16131f;
  background: #f4f2fb;
  box-shadow: inset 0 0 0 1px #16131f;
}

/* Photograph, as tall as the list, with a caption */
.v3m__panel {
  display: flex;
  min-height: 0;
}
.v3m__img {
  position: relative;
  flex: 1;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: 20px;
  background: #e8e5f3;
  opacity: 0;
  transform: scale(0.96);
  transform-origin: 50% 0;
}
html.v3m-open .v3m__img {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--v3m-ease) 0.3s,
    transform 0.9s var(--v3m-ease) 0.3s;
}
.v3m__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.6s var(--v3m-ease),
    transform 1s var(--v3m-ease);
}
.v3m__img img.is-on {
  opacity: 1;
  transform: none;
}
.v3m__cap {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 4px;
  padding: 64px 22px 20px;
  background: linear-gradient(to top, rgb(22 19 31 / 0.78), rgb(22 19 31 / 0));
  color: #fff;
}
.v3m__capk {
  font-size: 13px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.72);
}
.v3m__capd {
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
  max-width: 36ch;
}
.v3m__cap.is-swap .v3m__capk,
.v3m__cap.is-swap .v3m__capd {
  animation: v3m-cap 0.45s var(--v3m-ease) both;
}
.v3m__cap.is-swap .v3m__capd {
  animation-delay: 0.04s;
}
@keyframes v3m-cap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Bottom row: socials, then contact */
.v3m__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: clamp(16px, 2.4dvh, 24px);
  padding-bottom: clamp(18px, 2.8dvh, 28px);
  border-top: 1px solid #ebe8f3;
}
.v3m__social {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 6px;
}
.v3m__social li {
  opacity: 0;
  transform: translateY(10px);
}
html.v3m-open .v3m__social li {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s var(--v3m-ease) calc(0.45s + 0.05s * var(--j)),
    transform 0.4s var(--v3m-ease) calc(0.45s + 0.05s * var(--j));
}
.v3m__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #16131f;
  transition: background-color 0.25s, color 0.25s;
}
.v3m__social a:hover {
  background: #f4f2fb;
  color: #4a31b4;
}
.v3m__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  justify-content: flex-end;
}
.v3m__ci {
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(10px);
}
html.v3m-open .v3m__ci {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s var(--v3m-ease) calc(0.5s + 0.05s * var(--k)),
    transform 0.4s var(--v3m-ease) calc(0.5s + 0.05s * var(--k));
}
.v3m__cl {
  font-size: 12px;
  font-weight: 500;
  color: #6e6a85;
}
.v3m__cv {
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.v3m__cv a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--v3m-ease), color 0.2s;
}
.v3m__cv a:hover {
  color: #4a31b4;
  background-size: 100% 1px;
}
@media (max-width: 1199px) {
  .v3m__ci:nth-child(4) {
    display: none;
  }
}

/* Phones and portrait tablets: the whole screen, one column */
@media (max-width: 899px) {
  .v3m {
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }
  .v3m__scroll {
    height: 100%;
  }
  .v3m__main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }
  .v3m__list {
    font-size: clamp(1.25rem, min(8.6vw, (100dvh - 450px) / 10.4), 3rem);
  }
  .v3m__panel {
    display: none;
  }
  .v3m__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .v3m__contact {
    justify-content: flex-start;
    gap: 10px 28px;
  }
  .v3m__ci:nth-child(3) {
    flex-basis: 100%;
  }
  .v3m__sub {
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
  }
  .v3m__subs {
    gap: 6px;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  /* Tablets in portrait: the three contact items fit on one line */
  .v3m__ci:nth-child(3) {
    flex-basis: auto;
  }
}
@media (min-width: 600px) and (max-width: 899px) and (min-height: 900px) {
  /* …and there is room for the photograph under the links */
  .v3m__panel {
    display: flex;
    flex: 1 1 auto;
    margin-top: clamp(16px, 2.5dvh, 32px);
  }
  .v3m__img {
    min-height: 220px;
  }
  .v3m__list {
    font-size: clamp(1.6rem, min(6vw, (100dvh - 740px) / 9.9), 2.9rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .v3m,
  .v3m-backdrop,
  .v3m__txt,
  .v3m__subs,
  .v3m__social li,
  .v3m__img,
  .v3m__ci {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* Back/forward: the restored page closes its menu without motion */
html.v3m-instant .v3m,
html.v3m-instant .v3m-backdrop,
html.v3m-instant .v3m *,
html.v3m-instant .hdr,
html.v3m-instant .hdr * {
  transition: none !important;
  animation: none !important;
}

/* ── Home hero (v3): the ADOM film fills the hero as a silent background; headline, subtitle and
   the two buttons sit at the bottom left; "Vezi filmul cu sunet" (bottom right) opens the
   film full screen over everything. The event card and the ADOM Next Level note are not in the
   hero (Next Level is further down the page). ── */
html[data-brand='v3'] .hero__news {
  display: none;
}
html[data-brand='v3']:has(.hero-film) .hero .ticket,
html[data-brand='v3']:has(.hero-film) .hero .field,
html[data-brand='v3']:has(.hero-film) .hero .aurora,
html[data-brand='v3']:has(.hero-film) .hero canvas {
  display: none;
}
html[data-brand='v3']:has(.hero-film) .hero {
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
}
html[data-brand='v3']:has(.hero-film) .hero__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  pointer-events: none;
}
html[data-brand='v3']:has(.hero-film) .hero__grid > * {
  pointer-events: auto;
}
html[data-brand='v3']:has(.hero-film) .hero__copy {
  max-width: 820px;
}
/* The header video's layout is there from the first paint (the old event card never flashes):
   the poster shows at once, the moving video fades in over it when it can play. */
html[data-brand='v3'] .hero-film,
html[data-brand='v3'] .hero-film[hidden] {
  position: absolute;
  background: #16131f url('/media/adom-header-poster.webp?v=5') center / cover no-repeat;
  inset: 0;
  z-index: 1;
  display: block !important;
  margin: 0;
}
html[data-brand='v3'] .hero-film video {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
html[data-brand='v3'] .hero-film:not([hidden]) video {
  opacity: 1;
}
html[data-brand='v3'] .hero-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Darken toward the bottom left, where the words sit; the header stays readable on top */
html[data-brand='v3'] .hero-film::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgb(13 11 22 / 0.88) 0%, rgb(13 11 22 / 0.45) 38%, rgb(13 11 22 / 0.1) 62%, rgb(13 11 22 / 0.5) 100%),
    linear-gradient(to right, rgb(13 11 22 / 0.55), transparent 60%);
}
html[data-brand='v3'] .hero-film__ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(48px, 8vh, 96px);
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
html[data-brand='v3'] .hero-film__open {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.4s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-brand='v3'] .hero-film__open:hover {
  background: rgb(255 255 255 / 0.24);
  transform: translateY(-2px);
}
html[data-brand='v3'] .hero-film__ring {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #16131f;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-brand='v3'] .hero-film__open:hover .hero-film__ring {
  transform: scale(1.08);
}
html[data-brand='v3'] .hero-film__ring svg {
  transform: translateX(1px);
}
html[data-brand='v3'] .hero-film__cta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font: 600 15px/1 var(--font-text);
  white-space: nowrap;
}
html[data-brand='v3'] .hero-film__dur {
  font-weight: 500;
  font-size: 13px;
  color: rgb(255 255 255 / 0.7);
  font-variant-numeric: tabular-nums;
}
@keyframes hero-film-in {
  from {
    opacity: 0;
  }
}
@media (max-width: 899px) {
  /* Phones: the film button sits under the two buttons, on the left */
  html[data-brand='v3']:has(.hero-film) .hero {
    padding-bottom: 120px;
  }
  html[data-brand='v3'] .hero-film__ui {
    justify-content: flex-start;
    bottom: 40px;
  }
}

/* Cinema: the film full screen on black */
html.cinema-on {
  overflow: hidden;
}
html[data-brand='v3'] .cinema:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
}
html[data-brand='v3'] .cinema__bg {
  position: absolute;
  inset: 0;
  background: #07060b;
}
html[data-brand='v3'] .cinema__frame {
  position: absolute;
  overflow: hidden;
  background: #000;
  transform-origin: 50% 50%;
  will-change: transform;
}
html[data-brand='v3'] .cinema__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
html[data-brand='v3'] .cinema__close,
html[data-brand='v3'] .cinema__bar {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
html[data-brand='v3'] .cinema__bar {
  transform: translateY(8px);
}
html[data-brand='v3'] .cinema.is-ready .cinema__close,
html[data-brand='v3'] .cinema.is-ready .cinema__bar {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
html[data-brand='v3'] .cinema.is-ready.is-idle:not(.is-paused) .cinema__bar,
html[data-brand='v3'] .cinema.is-ready.is-idle:not(.is-paused) .cinema__close {
  opacity: 0;
}
html[data-brand='v3'] .cinema.is-idle:not(.is-paused) {
  cursor: none;
}
html[data-brand='v3'] .cinema__close {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
  color: #fff;
  cursor: pointer;
}
html[data-brand='v3'] .cinema__close:hover {
  background: rgb(255 255 255 / 0.22);
}
html[data-brand='v3'] .cinema__close svg {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-brand='v3'] .cinema__close:hover svg {
  transform: rotate(90deg);
}
html[data-brand='v3'] .cinema__bar {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(720px, calc(100% - 40px));
  margin-left: max(-360px, calc(-50% + 20px));
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgb(20 18 28 / 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  color: #fff;
}
html[data-brand='v3'] .cinema__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  cursor: pointer;
}
html[data-brand='v3'] .cinema__btn:hover {
  background: rgb(255 255 255 / 0.24);
}
html[data-brand='v3'] .cinema .i-play,
html[data-brand='v3'] .cinema.is-paused .i-pause,
html[data-brand='v3'] .cinema .i-mut,
html[data-brand='v3'] .cinema.is-muted .i-snd {
  display: none;
}
html[data-brand='v3'] .cinema.is-paused .i-play,
html[data-brand='v3'] .cinema.is-muted .i-mut {
  display: block;
}
html[data-brand='v3'] .cinema__time {
  font: 500 13px/1 var(--font-text);
  font-variant-numeric: tabular-nums;
  color: rgb(255 255 255 / 0.8);
  min-width: 3ch;
}
html[data-brand='v3'] .cinema__track {
  position: relative;
  flex: 1;
  height: 24px;
  cursor: pointer;
}
html[data-brand='v3'] .cinema__track::before,
html[data-brand='v3'] .cinema__fill {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.22);
}
html[data-brand='v3'] .cinema__fill {
  background: #a898f0;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ── Edge to edge (after reddottours.com): the header and the home hero use the whole screen
   width, with the same edge gutter, instead of the centered column. ── */
html[data-brand='v3'] {
  --edge: clamp(20px, 3.3vw, 64px);
}
html[data-brand='v3'] .hdr .wrap,
html[data-brand='v3'] .hdr__in.wrap,
html[data-brand='v3'] .v3m .wrap,
html[data-brand='v3']:has(.hero-film) .hero > .wrap,
html[data-brand='v3']:has(.hero-film) .hero .hero-film__ui {
  max-width: none;
  padding-inline: max(var(--edge), env(safe-area-inset-left)) max(var(--edge), env(safe-area-inset-right));
}
html[data-brand='v3']:has(.hero-film) .hero__eyebrow {
  display: none;
}
html[data-brand='v3']:has(.hero-film) .hero__copy {
  max-width: 760px;
}
html[data-brand='v3']:has(.hero-film) .hero__title {
  font-size: clamp(2.6rem, 1.4rem + 3.4vw, 5rem) !important;
}

/* Home trainers: v3 uses the draggable card row (TeamCarousel) instead of the list. */
html[data-brand='v3'] .spot{display:none}
html[data-brand='v3'] .team{display:block}

/* ── Menu, 2026 site map: six sections. Computers / iPad landscape: sections | pages of the active
   section | photograph. Phones / portrait tablets: one column, a tap opens a section's pages. ── */
html[data-brand='v3'] .v3m__main {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.2vw, 60px);
}
html[data-brand='v3'] .v3m__list {
  gap: 0.06em;
  font-size: clamp(1.9rem, min(3.3vw, (100dvh - 380px) / 7.2), 3.6rem);
  align-content: start;
}
.v3m__item {
  position: relative;
}
.v3m__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.v3m__plus {
  display: none;
}
.v3m__acc {
  display: none;
}
/* The active section stays dark, the others soften (pointer or tap). */
@media (min-width: 900px) {
  html.v3m-hover .v3m__item:not(.is-on) .v3m__txt {
    opacity: 0.3;
  }
  html.v3m-hover .v3m__item.is-on .v3m__arrow {
    opacity: 1;
    transform: translate(0, 0.04em);
  }
}
.v3m__link[aria-current='true'] .v3m__txt {
  color: #4a31b4;
}

/* Middle column: the active section's pages */
.v3m__groups {
  display: grid;
  min-height: 0;
  opacity: 0;
  transform: translateY(10px);
}
html.v3m-open .v3m__groups {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s var(--v3m-ease) 0.45s,
    transform 0.7s var(--v3m-ease) 0.45s;
}
.v3m__group {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s var(--v3m-ease),
    transform 0.35s var(--v3m-ease),
    visibility 0s 0.25s;
}
.v3m__group.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.4s var(--v3m-ease) 0.05s,
    transform 0.5s var(--v3m-ease) 0.05s,
    visibility 0s;
}
.v3m__gh {
  margin: 0.55em 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebe8f3;
  font-size: 13px;
  font-weight: 600;
  color: #6e6a85;
}
.v3m__pages,
.v3m__kids {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.v3m__pages {
  gap: 2px;
}
.v3m__page,
.v3m__kid,
.v3m__over {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #16131f;
  text-decoration: none;
  transition: color 0.2s;
}
.v3m__page {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
}
.v3m__page--group {
  font-weight: 600;
}
.v3m__kids {
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 1px solid #ebe8f3;
}
.v3m__kid {
  min-height: 28px;
  padding-block: 3px;
  font-size: 14.5px;
  color: #4a4760;
  line-height: 1.3;
}
.v3m__over {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #4a31b4;
}
.v3m__page:hover,
.v3m__kid:hover,
.v3m__over:hover {
  color: #4a31b4;
}

/* iPad landscape and small laptops: tighter columns */
@media (min-width: 900px) and (max-width: 1199px) {
  html[data-brand='v3'] .v3m__main {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.75fr);
  }
  html[data-brand='v3'] .v3m__list {
    font-size: clamp(1.7rem, min(3.4vw, (100dvh - 380px) / 7.2), 2.6rem);
  }
  .v3m__page {
    font-size: 15.5px;
  }
  .v3m__kid {
    font-size: 13.5px;
  }
}

/* Phones and portrait tablets: one column; tapping a section opens its pages */
@media (max-width: 899px) {
  .v3m__groups {
    display: none;
  }
  html[data-brand='v3'] .v3m__list {
    font-size: clamp(1.6rem, 7.4vw, 2.6rem);
    gap: 0;
  }
  .v3m__item {
    border-bottom: 1px solid #ebe8f3;
  }
  .v3m__link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-block: 0.22em 0.18em;
  }
  .v3m__arrow {
    display: none;
  }
  .v3m__plus {
    display: block;
    flex: none;
    width: 0.62em;
    height: 0.62em;
    color: #4a31b4;
    opacity: 0;
    transition:
      rotate 0.45s var(--v3m-ease),
      opacity 0.4s var(--v3m-ease);
  }
  html.v3m-open .v3m__plus {
    opacity: 1;
    transition:
      rotate 0.45s var(--v3m-ease),
      opacity 0.5s var(--v3m-ease) calc(0.4s + 0.06s * var(--i));
  }
  .v3m__item.is-open .v3m__plus {
    rotate: 45deg;
  }
  .v3m__acc {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--v3m-ease);
  }
  .v3m__accin {
    min-height: 0;
    overflow: hidden;
    font-family: var(--font-text);
    letter-spacing: 0;
  }
  .v3m__item.is-open .v3m__acc {
    grid-template-rows: 1fr;
  }
  .v3m__accin > .v3m__pages {
    padding-bottom: 6px;
  }
  .v3m__accin > .v3m__over {
    margin: 0 0 16px;
  }
  .v3m__page {
    min-height: 44px;
    font-size: 17px;
  }
  .v3m__kid {
    min-height: 40px;
    font-size: 15px;
  }
}
@media (max-width: 899px) and (min-width: 600px) {
  /* Portrait tablets: the photograph is left out; the accordion needs the room. */
  .v3m__panel {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v3m__groups,
  .v3m__group,
  .v3m__acc,
  .v3m__plus {
    transition: none !important;
  }
}

/* WhatsApp: a floating button on phones (v3). It sits above the course sign-up bar and steps aside
   for the cookie banner and the open menu. v1 keeps WhatsApp in its header and footer. */
.wa-float {
  display: none;
}
@media (max-width: 899px) {
  html[data-brand='v3'] .wa-float {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 59;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgb(13 11 28 / 0.22);
    transition:
      bottom 0.45s var(--ease-out),
      opacity 0.3s,
      scale 0.3s var(--ease-out);
  }
  html[data-brand='v3'].has-sticky .wa-float {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
  html[data-brand='v3']:has(.ck:not([hidden])) .wa-float,
  html[data-brand='v3'].v3m-show .wa-float,
  html[data-brand='v3'].cinema-on .wa-float {
    opacity: 0;
    scale: 0.6;
    pointer-events: none;
  }
}

/* Home programs by role: v3 uses the date-led course index (RoleIndex) instead of the card tabs. */
html[data-brand='v3'] .section.programs{display:none}
html[data-brand='v3'] .ridx{display:block}

/* Home "ADOM în imagini": v3 shows the still photo wall (PhotoWall) instead of the sliding strip. */
html[data-brand='v3'] .gallery-sec--hg{display:none}
html[data-brand='v3'] .pwall{display:block}

/* Header on phones and tablets: the same pieces as on computers (language, ADOM Assess,
   Înscrie-te, menu), only more compact. On the narrowest phones language and ADOM Assess move
   into the menu (top row), so logo, Înscrie-te and the menu button keep their room. */
@media (max-width: 720px) {
  html[data-brand='v3'] .hdr .hdr__assess {
    display: inline-flex !important;
  }
  html[data-brand='v3'] .hdr .hdr__join {
    display: inline-flex !important;
  }
  html[data-brand='v3'] .hdr .hdr__cta {
    gap: 8px;
  }
  html[data-brand='v3'] .hdr .hdr__assess,
  html[data-brand='v3'] .hdr .hdr__join,
  html[data-brand='v3'] .hdr .hdr__lang {
    height: 36px;
    min-height: 0;
    padding: 0 12px;
    font-size: 13.5px;
  }
}
@media (max-width: 520px) {
  html[data-brand='v3'] .hdr .hdr__assess,
  html[data-brand='v3'] .hdr .hdr__lang {
    display: none !important;
  }
}
.v3m__quick {
  display: none;
}
@media (max-width: 520px) {
  .v3m__quick {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
    opacity: 0;
    transition: opacity 0.5s var(--v3m-ease) 0.35s;
  }
  html.v3m-open .v3m__quick {
    opacity: 1;
  }
  .v3m__quick a,
  .v3m__quick button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    box-shadow: inset 0 0 0 1px #dcd8e8;
    color: #16131f;
    font: 600 14px/1 var(--font-text);
    text-decoration: none;
    cursor: pointer;
  }
  .v3m__quick svg,
  .v3m__quick img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
  }
}
@media (max-width: 720px) {
  html[data-brand='v3'] .hdr .hdr__assess {
    align-items: center;
    line-height: 1;
  }
}
.v3m__quick button {
  gap: 0 !important;
}
.v3m__quick sup {
  font-size: 0.6em;
  margin-left: 1px;
  translate: 0 -0.35em;
}

/* ── Home hero on phones: the film fills the whole screen. A large play button sits in the open
   upper part of the picture; the words and the two buttons sit at the bottom, compact. ── */
@media (max-width: 899px) {
  html[data-brand='v3']:has(.hero-film) .hero {
    min-height: 100svh;
    height: 100svh;
    padding-top: var(--header-h);
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
  html[data-brand='v3']:has(.hero-film) .hero__title {
    font-size: clamp(2.2rem, 9.6vw, 3.4rem) !important;
  }
  html[data-brand='v3']:has(.hero-film) .hero__lede {
    margin-top: 14px !important;
    font-size: 15.5px !important;
    line-height: 1.5;
    max-width: 34ch;
  }
  html[data-brand='v3']:has(.hero-film) .hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 22px !important;
  }
  html[data-brand='v3']:has(.hero-film) .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    min-height: 48px;
    padding-inline: 14px;
    font-size: 15px;
  }
  html[data-brand='v3']:has(.hero-film) .hero__actions .btn .arrow {
    display: none;
  }
  html[data-brand='v3'] .hero-film::after {
    background: linear-gradient(to top, rgb(13 11 22 / 0.92) 0%, rgb(13 11 22 / 0.7) 32%, rgb(13 11 22 / 0.12) 58%, rgb(13 11 22 / 0.45) 100%);
  }
  html[data-brand='v3'] .hero-film__ui {
    top: var(--header-h);
    bottom: auto;
    height: 34svh;
    align-items: center;
    justify-content: center;
  }
  html[data-brand='v3'] .hero-film__open {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  html[data-brand='v3'] .hero-film__open:hover {
    background: none;
    transform: none;
  }
  html[data-brand='v3'] .hero-film__ring {
    width: 76px;
    height: 76px;
    background: rgb(255 255 255 / 0.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4);
    color: #fff;
  }
  html[data-brand='v3'] .hero-film__ring svg {
    width: 26px;
    height: 26px;
  }
  html[data-brand='v3'] .hero-film__cta {
    font-size: 14px;
    text-shadow: 0 1px 12px rgb(0 0 0 / 0.4);
  }
}
@media (max-width: 899px) and (max-height: 640px) {
  html[data-brand='v3'] .hero-film__ui {
    height: 22svh;
  }
  html[data-brand='v3'] .hero-film__ring {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 899px) {
  html[data-brand='v3'].in-hero .wa-float {
    opacity: 0;
    scale: 0.6;
    pointer-events: none;
  }
}

/* Menu on computers and landscape tablets: the drawer always fits the screen, bottom row
   included. The sub-page column and the photograph get the height that is left after the
   header and the bottom row; on short screens (an iPad with the tab bar showing) the photo
   shrinks and a long list of sub-pages scrolls inside its column. */
@media (min-width: 900px) {
  .v3m__groups,
  .v3m__panel {
    max-height: calc(100dvh - var(--header-h) - 160px);
  }
  .v3m__groups {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .v3m__groups::-webkit-scrollbar {
    display: none;
  }
  .v3m__img {
    min-height: 0;
  }
}

/* ── Menu A2 (Nov 2026): a dark drawer that matches the dark site. Left: the six sections, large.
   Right: one line about the active section and its main pages as one short list. No photo, no
   third column, course names stay on the section pages. Everything here is scoped to
   .v3m[data-menu='a2'], so the white drawer comes back by turning MENU_STYLE off in mirror-v3. ── */
html[data-brand='v3'] .v3m[data-menu='a2'] {
  background: #16131f;
  color: #f2f0f8;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.75);
}
html:has(.v3m[data-menu='a2']) .v3m-backdrop {
  background: rgb(8 6 12 / 0.6);
}
/* The header sits on the dark drawer while it is open: light text */
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr,
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr.on-dark,
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr.is-scrolled {
  color: #f2f0f8 !important;
}
html[data-brand='v3'] .v3m[data-menu='a2'] .v3m__main {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 120px);
}
html[data-brand='v3'] .v3m[data-menu='a2'] .v3m__panel {
  display: none !important;
}
.v3m[data-menu='a2'] .v3m__arrow,
.v3m[data-menu='a2'] .v3m__link[aria-current='true'] .v3m__txt,
.v3m[data-menu='a2'] .v3m__link[aria-current='page'] .v3m__txt {
  color: #a898f0;
}

/* Right column: description, then the section's main pages as rows */
.v3m[data-menu='a2'] .v3m__gh,
.v3m[data-menu='a2'] .v3m__kids,
.v3m[data-menu='a2'] .v3m__groups .v3m__over {
  display: none;
}
.v3m__gd {
  display: none;
}
.v3m[data-menu='a2'] .v3m__gd {
  display: block;
  margin: 0.9em 0 6px;
  max-width: 34ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #bdb8d0;
  text-wrap: pretty;
}
.v3m[data-menu='a2'] .v3m__group {
  gap: 18px;
  max-width: 560px;
}
.v3m[data-menu='a2'] .v3m__pages {
  gap: 0;
  border-top: 1px solid rgb(242 240 248 / 0.12);
}
.v3m[data-menu='a2'] .v3m__pages > li {
  border-bottom: 1px solid rgb(242 240 248 / 0.12);
}
.v3m[data-menu='a2'] .v3m__page {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 0;
  padding-block: clamp(12px, 1.9dvh, 20px);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 400;
  color: #f2f0f8;
}
.v3m[data-menu='a2'] .v3m__page::after {
  content: '→';
  color: #a898f0;
  transform: translateX(-6px);
  opacity: 0.7;
  transition: transform 0.35s var(--v3m-ease), opacity 0.25s;
}
.v3m[data-menu='a2'] .v3m__page:hover {
  color: #a898f0;
}
.v3m[data-menu='a2'] .v3m__page:hover::after {
  transform: none;
  opacity: 1;
}

/* Bottom row on dark */
.v3m[data-menu='a2'] .v3m__bar {
  border-top-color: rgb(242 240 248 / 0.12);
}
.v3m[data-menu='a2'] .v3m__social a {
  color: #f2f0f8;
}
.v3m[data-menu='a2'] .v3m__social a:hover {
  background: rgb(242 240 248 / 0.08);
  color: #a898f0;
}
.v3m[data-menu='a2'] .v3m__cl {
  color: #8f8aa6;
}
.v3m[data-menu='a2'] .v3m__cv,
.v3m[data-menu='a2'] .v3m__cv a {
  color: #f2f0f8;
}
.v3m[data-menu='a2'] .v3m__cv a:hover {
  color: #a898f0;
}

/* Phones and portrait tablets: the same list, a tap opens a section's pages underneath */
@media (max-width: 899px) {
  .v3m[data-menu='a2'] .v3m__item {
    border-bottom-color: rgb(242 240 248 / 0.12);
  }
  .v3m[data-menu='a2'] .v3m__plus {
    color: #a898f0;
  }
  .v3m[data-menu='a2'] .v3m__acc {
    justify-self: stretch;
  }
  .v3m[data-menu='a2'] .v3m__accin > .v3m__pages {
    border-top: 0;
  }
  .v3m[data-menu='a2'] .v3m__accin .v3m__pages > li:last-child {
    border-bottom: 0;
  }
  .v3m[data-menu='a2'] .v3m__page {
    min-height: 48px;
    padding-block: 10px;
    font-size: 17px;
  }
  .v3m[data-menu='a2'] .v3m__over {
    color: #a898f0;
  }
  .v3m[data-menu='a2'] .v3m__quick button,
  .v3m[data-menu='a2'] .v3m__quick a {
    color: #f2f0f8;
    box-shadow: inset 0 0 0 1px rgb(242 240 248 / 0.3);
  }
}

/* ── Menu A2, matched to the approved sketch: the drawer fills the screen, larger section names
   with a violet dot on the active one, a filled Înscrie-te, and a quiet footer row of plain text
   (social names, WhatsApp, phone, email). ── */
@media (min-width: 900px) {
  html[data-brand='v3'] .v3m[data-menu='a2'] {
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }
  html[data-brand='v3'] .v3m[data-menu='a2'] .v3m__scroll {
    height: 100%;
    max-height: none;
  }
  html[data-brand='v3'] .v3m[data-menu='a2'] .v3m__main {
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(40px, 5.5vw, 96px);
    padding-top: calc(var(--header-h) + clamp(16px, 4.5dvh, 56px));
  }
  html[data-brand='v3'] .v3m[data-menu='a2'] .v3m__list {
    gap: 0.08em;
    line-height: 1.12;
    font-size: clamp(2.2rem, min(4.4vw, (100dvh - 330px) / 6.9), 4.6rem);
  }
  html.v3m-hover .v3m[data-menu='a2'] .v3m__item:not(.is-on) .v3m__txt {
    opacity: 0.42;
  }
  .v3m[data-menu='a2'] .v3m__arrow {
    display: none;
  }
  .v3m[data-menu='a2'] .v3m__item.is-on .v3m__txt::after {
    content: '';
    flex: none;
    width: 0.16em;
    height: 0.16em;
    min-width: 9px;
    min-height: 9px;
    margin-left: 0.1em;
    border-radius: 50%;
    background: #a898f0;
  }
  .v3m[data-menu='a2'] .v3m__groups,
  .v3m[data-menu='a2'] .v3m__panel {
    max-height: none;
  }
  .v3m[data-menu='a2'] .v3m__group {
    max-width: 540px;
    padding-top: 0.6em;
    gap: 26px;
  }
  .v3m[data-menu='a2'] .v3m__gd {
    margin: 0;
    font-size: clamp(16px, 1.25vw, 18px);
  }
  .v3m[data-menu='a2'] .v3m__page {
    padding-block: clamp(14px, 2.3dvh, 22px);
    font-size: clamp(18px, 1.55vw, 23px);
  }
  .v3m[data-menu='a2'] .v3m__page::after {
    opacity: 1;
    transform: none;
  }
  .v3m[data-menu='a2'] .v3m__page:hover::after {
    transform: translateX(4px);
  }
}

/* Header while the A2 menu is open: Înscrie-te filled, the language pill as plain "EN" */
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr .hdr__join {
  background: #a898f0 !important;
  color: #16131f !important;
}
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr .hdr__join::after {
  opacity: 0;
}
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr .hdr__lang > :not(span) {
  display: none;
}
html[data-brand='v3']:has(.v3m[data-menu='a2']).v3m-open .hdr .hdr__lang {
  padding: 0 14px;
}

/* Footer row: plain text, social names on the left, contact on the right */
.v3m[data-menu='a2'] .v3m__bar {
  position: relative;
  border-top: 0;
}
.v3m[data-menu='a2'] .v3m__bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(var(--edge), env(safe-area-inset-left));
  right: max(var(--edge), env(safe-area-inset-right));
  border-top: 1px solid rgb(242 240 248 / 0.12);
}
.v3m[data-menu='a2'] .v3m__bar {
  padding-top: clamp(16px, 2.6dvh, 26px);
  padding-bottom: clamp(18px, 3dvh, 30px);
}
.v3m[data-menu='a2'] .v3m__social {
  gap: clamp(16px, 1.6vw, 24px);
}
.v3m[data-menu='a2'] .v3m__social a {
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 400;
  color: #bdb8d0;
  text-decoration: none;
}
.v3m[data-menu='a2'] .v3m__social a svg {
  display: none;
}
.v3m[data-menu='a2'] .v3m__social a::after {
  content: attr(aria-label);
}
.v3m[data-menu='a2'] .v3m__social a:hover {
  background: none;
  color: #f2f0f8;
}
.v3m[data-menu='a2'] .v3m__contact {
  gap: 10px clamp(24px, 2.6vw, 40px);
}
.v3m[data-menu='a2'] .v3m__cl,
.v3m[data-menu='a2'] .v3m__ci:nth-child(4) {
  display: none;
}
.v3m[data-menu='a2'] .v3m__cv,
.v3m[data-menu='a2'] .v3m__cv a {
  font-size: 14.5px;
  font-weight: 400;
  color: #bdb8d0;
}
.v3m[data-menu='a2'] .v3m__cv a:hover {
  color: #f2f0f8;
}

/* Home "Despre ADOM": v3 shows the founder spread (FounderStory) instead of the three loose blocks. */
html[data-brand='v3'] .section.about{display:none}
html[data-brand='v3'] .fstory{display:block}

/* Home "Povești de succes": v3 shows one story at a time (StoryReel); the card grid steps aside and
   only the "send your story" block of the old section stays. */
html[data-brand='v3'] .sreel{display:block}
html[data-brand='v3'] .stories .sec-head,
html[data-brand='v3'] .stories .stories__lede,
html[data-brand='v3'] .stories .stories__grid{display:none}
html[data-brand='v3'] .section.stories{padding-top:clamp(40px,5vw,72px)}

/* Home "Ce spun cursanții": v3 shows the moving wall of testimonials (VoiceWall) in place of the
   card slider that follows it. */
html[data-brand='v3'] .vwall{display:block}

/* Home "Ai crescut cu ADOM?": v3 opens the dark card into the page. Headline, three steps and the
   button on the left; the phone recording a story stands in a soft violet arch on the right. */
html[data-brand='v3'] .section.stories {
  padding-bottom: clamp(48px, 6vw, 96px);
}
html[data-brand='v3'] .stories .share {
  margin-top: 0;
  padding: 0;
  gap: clamp(40px, 6vw, 112px);
  border-radius: 0;
  background: none;
  color: var(--ink);
  overflow: visible;
  align-items: center;
}
@media (min-width: 1000px) {
  html[data-brand='v3'] .stories .share {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
html[data-brand='v3'] .stories .share__txt {
  gap: 26px;
}
html[data-brand='v3'] .stories .share__h {
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 13em;
}
html[data-brand='v3'] .stories .share__h em {
  display: block;
  color: var(--signal-ink);
}
html[data-brand='v3'] .stories .share__txt .muted {
  max-width: 46ch;
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--graphite);
}
html[data-brand='v3'] .stories .share__steps {
  display: grid;
  gap: 0;
  margin: 4px 0 6px;
  padding: 0;
  list-style: none;
  max-width: 34rem;
  border-top: 1px solid var(--line);
}
html[data-brand='v3'] .stories .share__steps li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--ink);
}
html[data-brand='v3'] .stories .share__steps .num {
  flex: none;
  width: 0.9em;
  font-family: var(--font-display);
  font-size: 1.6em;
  line-height: 1;
  color: var(--signal-ink);
}
/* The button reads on the light ground */
html[data-brand='v3'] .stories .share .btn.on-dark {
  margin-top: 6px;
}

/* Right: an arch (ADOM's shape) holding the phone; the finished clip floats beside it */
html[data-brand='v3'] .stories .share__art {
  --pad: 0px;
  position: relative;
  height: clamp(440px, 46vw, 600px);
  margin: 0;
  align-self: center;
}
html[data-brand='v3'] .stories .share__ring {
  left: 50%;
  bottom: 0;
  top: auto;
  width: min(100%, 420px);
  height: 88%;
  aspect-ratio: auto;
  border-radius: 999px 999px 28px 28px;
  translate: -50% 0;
  box-shadow: none;
  background: linear-gradient(180deg, #d9d2f6 0%, #c4b8f0 100%);
}
html[data-brand='v3'] .stories .share__ring--2 {
  width: min(78%, 330px);
  height: 74%;
  background: none;
  box-shadow: inset 0 0 0 1px rgb(74 49 180 / 0.22);
}
html[data-brand='v3'] .stories .share__phone {
  top: auto;
  bottom: 6%;
  width: clamp(190px, 17vw, 236px);
  translate: -50% 0;
  rotate: -4deg;
  background: #16131f;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.12),
    0 30px 50px -28px rgb(22 19 31 / 0.5);
}
html[data-brand='v3'] .stories .share__clip {
  top: 30%;
  left: 50%;
  translate: -118% 0;
  rotate: 4deg;
  background: #fff;
  box-shadow: 0 24px 50px -22px rgb(22 19 31 / 0.45);
}
@media (max-width: 999px) {
  html[data-brand='v3'] .stories .share__art {
    height: 460px;
  }
  html[data-brand='v3'] .stories .share__clip {
    top: 26%;
    left: 4%;
    translate: none;
  }
}
html[data-brand='v3'] .stories .share__form.form-card {
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgb(22 19 31 / 0.35);
}
html[data-brand='v3'] .vwall {
  padding-top: clamp(64px, 8vw, 120px);
}

/* Home "ADOM Next Level": v3 shows the dark band with the specialty rings (NextLevelBand) instead of the
   card at the end of the vision section. */
html[data-brand='v3'] .vision .nl{display:none}
html[data-brand='v3'] .nlb{display:block}

/* "Pentru tine" (returning visitors), v3: a magazine spread. The heading runs across the top with the
   reason and the tools on the right; below, a bento: the program that fits as a tall photo card on the
   left, the first article wide on the right, the next two side by side under it. */
html[data-brand='v3'] .fy {
  padding-block: clamp(80px, 9vw, 136px);
  background: var(--porcelain);
  border-bottom: 0;
}
html[data-brand='v3'] .fy--home .fy__head {
  display: grid;
  gap: 24px;
  margin: 0 0 clamp(32px, 4vw, 56px);
}
@media (min-width: 1000px) {
  html[data-brand='v3'] .fy--home .fy__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
  }
}
html[data-brand='v3'] .fy--home .fy__eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--signal-ink);
}
html[data-brand='v3'] .fy--home .fy__eyebrow::before {
  display: none;
}
html[data-brand='v3'] .fy--home .fy__spark {
  background: var(--signal-ink);
  box-shadow: 0 0 0 5px rgb(74 49 180 / 0.14);
}
html[data-brand='v3'] .fy--home .fy__title {
  margin-top: 14px;
  font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
html[data-brand='v3'] .fy--home .fy__why {
  margin-top: 14px;
  font-size: 16px;
  color: var(--graphite);
}
html[data-brand='v3'] .fy--home .fy__tools {
  gap: 20px;
  align-items: center;
}
html[data-brand='v3'] .fy--home .fy__tools .link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent);
  font-weight: 600;
  text-decoration: none;
  background-image: none;
}
html[data-brand='v3'] .fy--home .fy__tools .link:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* The bento */
html[data-brand='v3'] .fy--home .fy__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 700px) {
  html[data-brand='v3'] .fy--home .fy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-brand='v3'] .fy--home .fy-course {
    grid-column: 1 / -1;
  }
}
html[data-brand='v3'] .fy--home .fy-course {
  order: -1;
}
@media (min-width: 1000px) {
  html[data-brand='v3'] .fy--home .fy__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  html[data-brand='v3'] .fy--home .fy-course {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
  }
  html[data-brand='v3'] .fy--home .fy-post:nth-child(1) {
    grid-column: 7 / 13;
    grid-row: 1;
  }
  html[data-brand='v3'] .fy--home .fy-post:nth-child(2) {
    grid-column: 7 / 10;
    grid-row: 2;
  }
  html[data-brand='v3'] .fy--home .fy-post:nth-child(3) {
    grid-column: 10 / 13;
    grid-row: 2;
  }
  /* No program to suggest: three equal article cards */
  html[data-brand='v3'] .fy--home .fy__grid:not(:has(.fy-course)) .fy-post {
    grid-column: span 4 !important;
    grid-row: auto !important;
  }
}

/* Program card: the photo fills it, the words sit at the bottom on a dark fade */
html[data-brand='v3'] .fy--home .fy-course {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: clamp(420px, 40vw, 600px);
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: 28px;
  overflow: hidden;
  background: #16131f;
  isolation: isolate;
}
html[data-brand='v3'] .fy--home .fy-course__img {
  position: absolute !important;
  inset: 0;
  z-index: -2;
  margin: 0 !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
}
html[data-brand='v3'] .fy--home .fy-course__img img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-brand='v3'] .fy--home .fy-course:hover .fy-course__img img {
  transform: scale(1.04);
}
html[data-brand='v3'] .fy--home .fy-course::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(13 11 22 / 0.94) 0%, rgb(13 11 22 / 0.6) 45%, rgb(13 11 22 / 0.05) 80%);
}
html[data-brand='v3'] .fy--home .fy-course__eyebrow {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgb(242 240 248 / 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13.5px;
  color: #f2f0f8;
}
html[data-brand='v3'] .fy--home .fy-course__t {
  max-width: 16em;
  font-size: clamp(1.9rem, 1.2rem + 1.8vw, 3rem);
  line-height: 1.02;
  text-wrap: balance;
}
html[data-brand='v3'] .fy--home .fy-course__w {
  font-size: 15px;
  color: rgb(242 240 248 / 0.75);
}
html[data-brand='v3'] .fy--home .fy-course__go {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 46px;
  margin-top: 10px;
  padding: 0 22px;
  border-radius: 999px;
  background: #a898f0;
  color: #16131f;
  font-size: 15px;
}

/* Article cards */
html[data-brand='v3'] .fy--home .fy-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 10px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition:
    box-shadow 0.4s,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-brand='v3'] .fy--home .fy-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgb(22 19 31 / 0.45);
}
html[data-brand='v3'] .fy--home .fy-post__img {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  margin-bottom: 6px;
}
html[data-brand='v3'] .fy--home .fy-post__meta,
html[data-brand='v3'] .fy--home .fy-post__t {
  padding-inline: 12px;
}
html[data-brand='v3'] .fy--home .fy-post__meta {
  font-size: 13px;
}
html[data-brand='v3'] .fy--home .fy-post__cat {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}
html[data-brand='v3'] .fy--home .fy-post__t {
  font-size: clamp(1.2rem, 0.95rem + 0.6vw, 1.5rem);
  line-height: 1.15;
}
/* The first article sits wide: photo left, words right */
@media (min-width: 1000px) {
  html[data-brand='v3'] .fy--home .fy__grid:has(.fy-course) .fy-post:nth-child(1) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    padding: 10px 22px 10px 10px;
  }
  html[data-brand='v3'] .fy--home .fy__grid:has(.fy-course) .fy-post:nth-child(1) .fy-post__img {
    grid-row: 1 / span 2;
    aspect-ratio: 4 / 3.4;
    margin: 0;
  }
  html[data-brand='v3'] .fy--home .fy__grid:has(.fy-course) .fy-post:nth-child(1) .fy-post__meta {
    align-self: end;
    padding: 18px 0 0;
  }
  html[data-brand='v3'] .fy--home .fy__grid:has(.fy-course) .fy-post:nth-child(1) .fy-post__t {
    align-self: start;
    padding: 4px 0 0;
    font-size: clamp(1.5rem, 1.1rem + 0.9vw, 2rem);
  }
}

/* Home "De ce un manager profesionist": v3 shows the flow (ManagerFlow) instead of the text block. */
html[data-brand='v3'] .mflow{display:block}
html[data-brand='v3'] .mflow ~ .section.mgr{display:none}
/* The home reviews wall already holds every review the carousel shows, so the carousel steps aside there. */
html[data-brand='v3'] .vwall ~ .section.voices{display:none}

/* Menu A2 footer: WhatsApp stands out as a clear green pill, so it reads on any screen */
.v3m[data-menu='a2'] .v3m__cv a.v3m__wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  background: #25d366;
  color: #0b2414;
  font-weight: 600;
}
.v3m[data-menu='a2'] .v3m__cv a.v3m__wa::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b2414;
}
.v3m[data-menu='a2'] .v3m__cv a.v3m__wa:hover {
  background: #2fe073;
  color: #0b2414;
}
.v3m[data-menu='a2'] .v3m__cv a[href^='tel:'] {
  color: #f2f0f8;
}

/* Registered marks in the big menu type sit small and raised */
.v3m sup.v3m__r {
  font-size: 0.36em;
  vertical-align: 0;
  position: relative;
  top: -1.1em;
  margin-left: -0.22em;
  margin-right: 0.06em;
  font-family: var(--font-sans, inherit);
  font-weight: 500;
}

/* ── Header over the home film: always readable. A deeper shade at the top of the film, and the
   pills/menu button get a soft glass so they hold over bright frames. (Nov 2026) ── */
html[data-brand='v3'] .hero-film::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(13 11 22 / 0.62), rgb(13 11 22 / 0.28) 55%, transparent);
}
html[data-brand='v3'] .hdr .hdr__lang,
html[data-brand='v3'] .hdr .hdr__assess,
html[data-brand='v3'] .hdr .hdr__join,
html[data-brand='v3'] .hdr .hdr__burger {
  border-radius: 999px;
}
html[data-brand='v3'] .hdr .hdr__lang::after,
html[data-brand='v3'] .hdr .hdr__assess::after,
html[data-brand='v3'] .hdr .hdr__join::after {
  opacity: 0.45;
}
html[data-brand='v3'] .hdr.on-dark:not(.is-scrolled) .hdr__lang,
html[data-brand='v3'] .hdr.on-dark:not(.is-scrolled) .hdr__assess,
html[data-brand='v3'] .hdr.on-dark:not(.is-scrolled) .hdr__join,
html[data-brand='v3'] .hdr.on-dark:not(.is-scrolled) .hdr__burger {
  background-color: rgb(22 19 31 / 0.38) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
}
html[data-brand='v3'] .hdr.on-dark .hdr__lang::after,
html[data-brand='v3'] .hdr.on-dark .hdr__assess::after,
html[data-brand='v3'] .hdr.on-dark .hdr__join::after {
  opacity: 0.6;
}
html[data-brand='v3'].v3m-open .hdr .hdr__lang,
html[data-brand='v3'].v3m-open .hdr .hdr__assess,
html[data-brand='v3'].v3m-open .hdr .hdr__join,
html[data-brand='v3'].v3m-open .hdr .hdr__burger {
  background-color: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* No focus ring on the header buttons after a click (keyboard users still get the glass change) */
html[data-brand='v3'] .hdr__burger,
html[data-brand='v3'] .hdr__burger:focus,
html[data-brand='v3'] .hdr__burger:focus-visible,
html[data-brand='v3'] .hdr .hdr__lang:focus-visible,
html[data-brand='v3'] .hdr .hdr__assess:focus-visible,
html[data-brand='v3'] .hdr .hdr__join:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
