/* Prototype-only glue. Everything visual comes from the captured Docflix CSS in /css. */

/* toast */
.fa-toasts { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.fa-toast { background: var(--bs-black, #0d1233); color: #fff; border-radius: 12px; padding: 12px 16px; font: 500 14px/1.4 var(--clr-font-body, Inter, sans-serif); box-shadow: 0 10px 30px rgba(13, 18, 51, .28); display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; pointer-events: auto; }
.fa-toast.in { opacity: 1; transform: none; }

/* login modal: the captured markup is reused as-is */
#faLogin { overflow-y: auto; }

/* player overlay (React toggled this class; reproduce with CSS) */
media-controller > div.position-absolute { transition: opacity .2s; }
media-controller[mediapaused] > div.position-absolute,
media-controller:hover > div.position-absolute { opacity: 1 !important; }
media-controller { --media-control-background: transparent; }

/* season dropdown */
.clr_v3_seasonTabsSwiper .dropdown { position: relative; }
.clr_v3_seasonTabsSwiper .dropdown-menu.show { display: block; position: absolute; top: 100%; left: 0; z-index: 20; background: #fff; min-width: 10rem; padding: .5rem 0; }
.clr_v3_seasonTabsSwiper .dropdown-menu.dropdown-menu-end.show { left: auto; right: 0; }

[hidden] { display: none !important; }

/* ---------- strips: cards in view per breakpoint (mirrors template2/layout.js) ----------
   The real app picks widths in JS from the device (isMobile); here a viewport query does it.
   Desktop keeps the captured inline widths. Tune the counts with the variables below. */
:root { --fa-gap: 15px; --fa-series-view: 1.2; --fa-article-view: 1.2; --fa-poll-view: 1.2; --fa-expert-view: 1.8; --fa-reel-view: 2.5; }
@media (max-width: 767.98px) {
  [data-fa-strip="series"] [style*="flex: 0 0 calc(33.33%"] { flex-basis: calc(100% / var(--fa-series-view) - var(--fa-gap)) !important; }
  [data-fa-strip="articles"] .clr_v3_scroll-nav > div > div { flex: 0 0 calc(100% / var(--fa-article-view) - var(--fa-gap)) !important; }
  [data-fa-strip="polls"] .clr_v3_scroll-nav > div > div { flex: 0 0 calc(100% / var(--fa-poll-view) - var(--fa-gap)) !important; }
  [data-fa-strip="experts"] .clr_v3_scroll-nav > div > div { flex: 0 0 calc(100% / var(--fa-expert-view) - var(--fa-gap)) !important; }
  [data-fa-strip="reels"] .clr_v3_scroll-nav > div > div { flex: 0 0 calc(100% / var(--fa-reel-view) - var(--fa-gap)) !important; }
}

/* ---------- hover ---------- */
/* strips clip overflow, so give the lifted card + its shadow room instead of cutting it off */
.clr_v3_scroll-nav > div { padding-block: .5rem 1.5rem; margin-block: -.5rem -1.5rem; }
/* touch devices: no sticky hover after a tap */
@media (hover: none) {
  [data-card-hover="lift"] .clr_v3_card:hover { transform: none; box-shadow: none; }
  [data-card-hover="lift"] .clr_v3_card:hover .clr_v3_coverImage img { transform: none; }
}

/* mobile horizontal scrollbar: the hero orbit seals / sliding card spill past the viewport.
   Clip only the X axis (overflow-y stays visible, so shadows aren't cut) on an ancestor, not on the seal wrap. */
html, body { overflow-x: clip; }
.clr_v3_landing-seal-wrap { max-width: min(520px, 100%); }

/* ---------- footer logos: mobile row (mirrors LandingFooter.jsx isMobile branch) ----------
   One non-wrapping row, each logo takes an equal share and shrinks into it (max 40px tall),
   12px either side of the divider; first logo hugs the divider from the left, last from the right. */
.clr_v3_landing-footlogo { max-width: 120px; }
@media (max-width: 767.98px) {
  footer > ul.list-unstyled { flex-wrap: nowrap !important; gap: 12px !important; padding-inline: 1rem !important; }
  footer > ul.list-unstyled > li:not([aria-hidden]) { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
  footer > ul.list-unstyled > li:not([aria-hidden]):first-child { justify-content: flex-end; }
  footer > ul.list-unstyled > li:not([aria-hidden]):last-child { justify-content: flex-start; }
  footer > ul.list-unstyled .clr_v3_landing-footlogo { height: auto !important; max-height: 40px; width: auto !important; max-width: min(100px, 100%); }
}

/* mobile bottom nav (fixed, d-lg-none): pad the main container by its measured height (set in app.js) */
@media (max-width: 991.98px) {
  #main_outlet { padding-bottom: var(--fa-mobile-footer-h, 0px) !important; }
}

/* ---------- speciality filter drawer (listing pages) ---------- */
#faSpecialityFilter { padding: 0 !important; }
#faSpecialityFilter .modal-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  margin: 0;
  transform: translateX(100%);
  transition: transform .25s ease-out;
}
#faSpecialityFilter.show .modal-dialog { transform: translateX(0); }
#faSpecialityFilter .modal-content {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  border: 0;
  border-radius: 0;
  background: #fff;
}
#faSpecialityFilter .modal-content-wrapper { height: 100%; background: #fff; }
#faSpecialityFilter .modal-body { padding-bottom: 2.5rem; }
#faSpecialityFilter .form-check-input,
#faSpecialityFilter .form-check-label { cursor: pointer; }
@media (max-width: 575.98px) {
  #faSpecialityFilter .modal-dialog { width: 86vw; }
}

/* =====================================================================
   THEME — edit only this block
   ---------------------------------------------------------------------
   The rules below are loaded after every captured stylesheet, so they
   win the cascade. Change the values here, save, and refresh the page.

   Fonts: if you change a family, the Google Fonts <link> in each page's
   <head> must load that family too, or the browser falls back to the
   next name in the list.

   Colors: !important is required because the captured pages set the same
   tokens in an inline style on <html>, which would otherwise win.
   ===================================================================== */
:root {
  /* ---- typography ---- */
  --clr-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  --clr-font-display: 'Sora', 'Inter', system-ui, sans-serif !important;
  --clr-font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;
  --clr-font-size-adjust: 0.5;
  --clr-line-height: 1.4;
  --clr-heading-line-height: 1.25;

  /* ---- brand ---- */
  --bs-primary: #1e2a72 !important;          /* navy: buttons, links, active states */
  --bs-primary-rgb: 30, 42, 114 !important;  /* same color as r, g, b */
  --bs-primary-text: #1e2a72 !important;

  --bs-secondary: #e01e2a !important;          /* red: eyebrows, dots, highlights */
  --bs-secondary-rgb: 224, 30, 42 !important;
  --bs-secondary-text: #e01e2a !important;

  /* ---- surfaces ---- */
  --bs-light: #f3f1e9 !important;            /* cream: section bands, chips */
  --bs-light-rgb: 243, 241, 233 !important;
  --bs-body-bg: #f9f8f4 !important;          /* page background */
  --bs-black: #0d1233 !important;            /* notice bar, dark blocks */
  --bs-black-rgb: 13, 18, 51 !important;

  /* ---- text ---- */
  --bs-dark: #5d6480 !important;
  --bs-dark-rgb: 93, 100, 128 !important;
  --bs-body-color: #5d6480 !important;       /* default body copy */
  --bs-body-color-rgb: 93, 100, 128 !important;

  /* ---- links ---- */
  --bs-link-color: #1e2a72 !important;
  --bs-link-color-rgb: 30, 42, 114 !important;
  --bs-link-hover-color: #1e2a72 !important;
  --bs-link-hover-color-rgb: 30, 42, 114 !important;

  /* ---- borders / radii ---- */
  --bs-border-color: rgba(30, 42, 114, 0.14) !important;
  --clr-card-border-color: #e3e8f1 !important;
  --clr-card-radius: 1.8rem !important;
  --clr-card-image-radius: 1.2rem !important;
}
/* ======================= end THEME block ============================= */

/* preview end card (videos 15s / reels 10s)
   Explicit sizes + line-height: inside <media-controller> the inherited line-height is 0 and fonts are scaled. */
.fa-preview-end{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;font-family:inherit;line-height:1.4;text-align:center}
.fa-preview-end[hidden]{display:none}
.fa-preview-end .fa-preview-end__box{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:6px;width:min(320px,100%);height:auto;padding:0;color:#fff;line-height:1.4}
.fa-preview-end .fa-preview-end__box strong{display:block;height:auto;font-size:20px;font-weight:600;line-height:1.3;color:#fff}
.fa-preview-end .fa-preview-end__box span{display:block;height:auto;font-size:14px;line-height:1.4;color:rgba(255,255,255,.85)}
.fa-preview-end .fa-preview-end__box button{display:inline-flex;align-items:center;gap:8px;height:auto;margin-top:12px;padding:10px 20px;border:0;border-radius:999px;background:#fff;color:#111;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:transform .15s,background .15s}
.fa-preview-end .fa-preview-end__box button:hover{background:#f1f1f1;transform:scale(1.03)}
.fa-preview-end .fa-preview-end__box button svg{width:16px;height:16px;flex:none}
@media (max-width:575.98px){.fa-preview-end .fa-preview-end__box strong{font-size:17px}.fa-preview-end .fa-preview-end__box span{font-size:12px}.fa-preview-end .fa-preview-end__box button{padding:8px 16px;font-size:13px}}
