/* ==========================================================================
   YOOAN shared FAQ panel (2026-09-26)
   Blueprint frame + corner ticks · sticky left CTA · ↘\FE0E rows · navy square toggle
   Brand: cream #FBF7E9 · navy #0E1733 · orange #F5A20E
   ========================================================================== */
.yfp {
  --yfp-cream: #FBF7E9;
  --yfp-ink: #0E1733;
  --yfp-body: #323D5D;
  --yfp-muted: #66708D;
  --yfp-orange: #F5A20E;
  --yfp-line: rgba(14, 23, 51, .16);
  --yfp-pad: clamp(20px, 5.5vw, 88px);
  --yfp-ease: cubic-bezier(.16, .84, .3, 1);
  --yfp-display: var(--wp--preset--font-family--display, "Schibsted Grotesk Variable", YASchibsted, "Helvetica Neue", Arial, sans-serif);
  --yfp-sans: var(--wp--preset--font-family--body, "Fustat Variable", YAFustat, "Helvetica Neue", Arial, sans-serif);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 9vw, 130px) var(--yfp-pad);
  background: var(--yfp-cream);
  color: var(--yfp-ink);
  font-family: var(--yfp-sans);
}
.yfp *, .yfp *::before, .yfp *::after { box-sizing: border-box; }
.yfp--inset { margin-top: clamp(64px, 8vw, 112px); padding: clamp(36px, 5vw, 64px) 0; background: transparent; overflow: visible; }

/* soft orange glow, bottom-left (the peach haze in the reference) */
.yfp__glow {
  position: absolute; z-index: -1; left: -12%; bottom: -30%;
  width: min(70vw, 900px); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(245, 162, 14, .34), rgba(245, 162, 14, .12) 55%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
}
.yfp--inset .yfp__glow { left: -20%; bottom: -20%; width: 70%; opacity: .7; }

/* ---------- frame ---------- */
.yfp__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  border: 1px solid var(--yfp-line);
}
/* top & bottom rules run past the frame to the section edges */
.yfp__frame::before, .yfp__frame::after {
  content: ""; position: absolute; left: calc(var(--yfp-pad) * -1); right: calc(var(--yfp-pad) * -1);
  height: 1px; background: var(--yfp-line); pointer-events: none;
}
.yfp__frame::before { top: -1px; }
.yfp__frame::after { bottom: -1px; }
.yfp--inset .yfp__frame::before, .yfp--inset .yfp__frame::after { left: 0; right: 0; }

/* crop-mark ticks at the corners and on the column divider */
.yfp__tick { position: absolute; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--yfp-ink), var(--yfp-ink)) center / 1px 100% no-repeat,
              linear-gradient(var(--yfp-ink), var(--yfp-ink)) center / 100% 1px no-repeat; opacity: .55; }
.yfp__tick--tl, .yfp__tick--bl { left: -5px; }
.yfp__tick--tr, .yfp__tick--br { right: -5px; }
.yfp__tick--tm, .yfp__tick--bm { left: calc(38.27% - 5px); }
.yfp__tick--tl, .yfp__tick--tm, .yfp__tick--tr { top: -6px; }
.yfp__tick--bl, .yfp__tick--bm, .yfp__tick--br { bottom: -6px; }

/* ---------- left column ---------- */
.yfp__aside {
  position: sticky; top: clamp(96px, 12vh, 140px); align-self: start;
  padding: clamp(36px, 5vw, 70px) clamp(24px, 4vw, 64px) clamp(36px, 5vw, 70px) clamp(24px, 4.4vw, 70px);
}
.yfp .yfp__eyebrow { margin: 0 0 18px; color: var(--yfp-orange); font-family: var(--yfp-display); font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.yfp .yfp__heading {
  max-width: 14ch; margin: 0;
  font-family: var(--yfp-display); font-size: clamp(30px, 2.9vw, 46px); font-weight: 500;
  line-height: 1.12; letter-spacing: -.03em; color: var(--yfp-ink); text-wrap: balance;
}
.yfp__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(26px, 3vw, 40px);
  padding: 15px 22px; border-radius: 3px; background: var(--yfp-ink);
  color: var(--yfp-cream) !important; font-family: var(--yfp-sans); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .3s, transform .35s var(--yfp-ease);
}
.yfp__cta:hover { background: #1c2850; transform: translateY(-2px); }
.yfp__cta-dot { width: 6px; height: 6px; background: var(--yfp-orange); transition: transform .35s var(--yfp-ease); }
.yfp__cta:hover .yfp__cta-dot { transform: rotate(45deg); }
.yfp .yfp__links { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 0; }
.yfp__links a { color: var(--yfp-muted); font-family: var(--yfp-display); font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: color .25s; }
.yfp__links a:hover { color: var(--yfp-ink); }

/* ---------- right column ---------- */
.yfp__list { border-left: 1px solid var(--yfp-line); padding: clamp(30px, 4vw, 56px) clamp(24px, 4.4vw, 70px) clamp(40px, 5vw, 70px); }
.yfp__item { border-bottom: 1px solid var(--yfp-line); }
.yfp__q {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) 26px; gap: 12px; align-items: start;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.yfp__q::-webkit-details-marker { display: none; }
/* no box around the row after a click (browser default focus ring removed);
   keyboard users still get feedback: question text turns orange with an underline */
.yfp .yfp__q, .yfp .yfp__q:focus, .yfp .yfp__q:focus-visible { outline: none !important; box-shadow: none; -webkit-tap-highlight-color: transparent; }
.yfp .yfp__q:focus-visible .yfp__q-text { color: #B97400; text-decoration: underline; text-decoration-color: var(--yfp-orange); text-underline-offset: 4px; }

.yfp__arrow { display: block; width: 14px; height: 14px; margin-top: 4px; transition: transform .35s var(--yfp-ease); }
.yfp__arrow svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--yfp-orange); stroke-width: 2.2; stroke-linecap: square; }
.yfp__item[open] .yfp__arrow { transform: translate(2px, 2px); }

.yfp__q-text { color: var(--yfp-ink); font-family: var(--yfp-display); font-size: clamp(15px, 1.12vw, 17px); font-weight: 500; line-height: 1.45; }

.yfp__toggle {
  position: relative; justify-self: end; display: grid; place-items: center;
  width: 20px; height: 20px; margin-top: 1px; border-radius: 3px; background: var(--yfp-ink);
  transition: background .3s;
}
.yfp__toggle svg { width: 12px; height: 12px; fill: none; stroke: var(--yfp-cream); stroke-width: 1.6; transition: transform .4s var(--yfp-ease), stroke .3s; }
/* hover: no ring — the square just lifts 1px and lightens slightly */
.yfp__toggle { transition: background .3s, transform .3s var(--yfp-ease); }
.yfp__q:hover .yfp__toggle { background: #26345f; transform: translateY(-1px); }
.yfp__item[open] .yfp__q:hover .yfp__toggle { background: #F7B23A; }
.yfp__item[open] .yfp__toggle { background: var(--yfp-orange); }
.yfp__item[open] .yfp__toggle svg { transform: rotate(180deg); stroke: var(--yfp-ink); }

.yfp__a { padding: 0 38px 24px 34px; color: var(--yfp-body); }
.yfp .yfp__a p { max-width: 62ch; margin: 0 0 .8em; font-size: 15px; line-height: 1.62; }
.yfp .yfp__a p:last-child { margin-bottom: 0; }
.yfp__a a { color: var(--yfp-ink); text-decoration: underline; text-decoration-color: var(--yfp-orange); text-underline-offset: 3px; }

@supports selector(::details-content) {
  .yfp { interpolate-size: allow-keywords; }
  .yfp__item::details-content {
    block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size .45s var(--yfp-ease), content-visibility .45s allow-discrete, opacity .3s ease;
  }
  .yfp__item[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .yfp__frame { grid-template-columns: 1fr; }
  .yfp__aside { position: static; padding: 36px 20px 28px; }
  .yfp__heading { max-width: none; }
  .yfp__list { border-left: 0; border-top: 1px solid var(--yfp-line); padding: 8px 20px 32px; }
  .yfp__tick--tm, .yfp__tick--bm { display: none; }
  .yfp__a { padding: 0 0 22px 34px; }
}
@media (max-width: 600px) {
  .yfp--inset .yfp__aside, .yfp--inset .yfp__list { padding-left: 0; padding-right: 0; }
  .yfp--inset .yfp__frame { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .yfp__cta, .yfp__cta-dot, .yfp__arrow, .yfp__toggle, .yfp__toggle svg { transition: none; }
  .yfp__item::details-content { transition: none; }
}
