/* ==========================================================================
   FINEMA design system — "Gold on the Ledger"
   Colors/typography are ALSO set as Elementor Global Colors/Fonts (Site Settings),
   so the owner edits them there. This file holds what Elementor can't express:
   fonts, tokens for custom CSS, base a11y, and fx-* utility classes
   (add them in Elementor → Advanced → CSS Classes).
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, OFL) ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* color — mirrors Elementor globals */
  --fx-ink-950: #0B0C0A;  /* page */
  --fx-ink-900: #121410;  /* raised */
  --fx-ink-800: #1B1E18;  /* card / input */
  --fx-line:    #2A2E25;  /* hairline */
  --fx-line-2:  #3A3F33;  /* hairline, hover */
  --fx-bone:    #EEECE4;  /* headings */
  --fx-text:    #D6D4CB;  /* body */
  --fx-mute:    #9C9E93;  /* secondary */
  --fx-gold:    #E2B54A;  /* accent */
  --fx-gold-hi: #F1CD72;
  --fx-gold-lo: #9C7623;
  --fx-gold-a10: rgb(226 181 74 / .10);
  --fx-gold-a24: rgb(226 181 74 / .24);
  --fx-paper:   #F4F2EC;
  --fx-up:      #4CC38A;  /* charts only */
  --fx-down:    #E5574F;  /* charts only */

  /* type */
  --fx-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fx-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* spacing scale (4-base) */
  --fx-s1: 4px;  --fx-s2: 8px;  --fx-s3: 12px; --fx-s4: 16px; --fx-s5: 24px;
  --fx-s6: 32px; --fx-s7: 48px; --fx-s8: 64px; --fx-s9: 96px; --fx-s10: 128px;
  --fx-section: var(--fx-s10);

  /* shape + motion */
  --fx-r-sm: 8px; --fx-r: 12px; --fx-r-lg: 16px; --fx-r-xl: 24px; --fx-r-2xl: 32px; --fx-r-pill: 999px;
  --fx-ease: cubic-bezier(.2, .7, .2, 1);
  --fx-fast: 150ms; --fx-slow: 450ms;
}
@media (max-width: 1024px) { :root { --fx-section: var(--fx-s9); } }
@media (max-width: 767px)  { :root { --fx-section: var(--fx-s8); } }

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--fx-ink-950);
  color: var(--fx-text);
  font-family: var(--fx-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
::selection { background: var(--fx-gold); color: var(--fx-ink-950); }
img, video { max-width: 100%; height: auto; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color var(--fx-fast) var(--fx-ease); }

/* visible, consistent keyboard focus everywhere */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--fx-gold);
  outline-offset: 3px;
  border-radius: var(--fx-r-sm);
}

/* numbers line up in prices, stats, tables */
.fx-num, .elementor-counter-number-wrapper, .woocommerce-Price-amount, .price, table { font-variant-numeric: tabular-nums; }

/* Elementor buttons: shared motion (colors/sizes come from Site Settings) */
.elementor-button { transition: background-color var(--fx-fast) var(--fx-ease), color var(--fx-fast) var(--fx-ease), border-color var(--fx-fast) var(--fx-ease), transform var(--fx-fast) var(--fx-ease); }
.elementor-button:active { transform: translateY(1px); }
.elementor-button .elementor-button-icon svg { transition: transform var(--fx-fast) var(--fx-ease); }
.elementor-button:hover .elementor-button-icon svg { transform: translateX(3px); }

/* ---------- Utilities (fx-*) ---------- */

/* Mono label with the logo's play-triangle. Use on a Heading widget (h6/p/span). */
.fx-eyebrow, .fx-eyebrow .elementor-heading-title {
  font-family: var(--fx-mono) !important;
  font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fx-gold);
}
.fx-eyebrow .elementor-heading-title::before, p.fx-eyebrow::before {
  content: ""; display: inline-block; width: .62em; height: .72em; margin-right: .6em;
  background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%);
  vertical-align: -.02em;
}

/* Monospace data text (prices, durations, codes). */
.fx-mono, .fx-mono * { font-family: var(--fx-mono) !important; letter-spacing: 0; }

/* Chart-paper grid behind a section. Add to a container. */
.fx-grid-bg { position: relative; isolation: isolate; }
.fx-grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--fx-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--fx-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

/* Ledger hairlines on containers. */
.fx-rule-top    { border-top: 1px solid var(--fx-line); }
.fx-rule-bottom { border-bottom: 1px solid var(--fx-line); }
.fx-rule-cols > .e-con + .e-con, .fx-rule-cols > .e-con-inner > .e-con + .e-con { border-left: 1px solid var(--fx-line); }
@media (max-width: 767px) {
  .fx-rule-cols > .e-con + .e-con, .fx-rule-cols > .e-con-inner > .e-con + .e-con { border-left: 0; border-top: 1px solid var(--fx-line); }
}

/* Object card (course, article). Hover lifts the border, not the box. */
.fx-card {
  background: var(--fx-ink-900);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-r-xl);
  transition: border-color var(--fx-fast) var(--fx-ease), background-color var(--fx-fast) var(--fx-ease);
}
.fx-card:hover, .fx-card:focus-within { border-color: var(--fx-line-2); background: #151812; }
.fx-card img { transition: transform var(--fx-slow) var(--fx-ease); }
.fx-card:hover .fx-media img { transform: scale(1.04); }
.fx-card .elementor-widget-image, .fx-card .fx-media { overflow: hidden; }

/* Small badge (level, category). Use on a Heading/Text widget. */
.fx-badge, .fx-badge .elementor-heading-title {
  display: inline-block; font-family: var(--fx-mono) !important; font-size: 12px !important; font-weight: 500 !important;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1 !important;
  color: var(--fx-text); padding: 6px 8px; border: 1px solid var(--fx-line-2); border-radius: var(--fx-r-pill);
}
.fx-badge--gold, .fx-badge--gold .elementor-heading-title { color: var(--fx-gold); border-color: var(--fx-gold-a24); background: var(--fx-gold-a10); }

/* Instructor portrait (current photos are course posters: crop to the face above the title). Monochrome until hover/focus, so mixed photo backgrounds read as one set. */
.fx-portrait img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter var(--fx-slow) var(--fx-ease); border-radius: var(--fx-r-lg); }
.fx-portrait:hover img, .fx-portrait:focus-within img { filter: none; }
.fx-initials { aspect-ratio: 3 / 2; display: grid; place-items: center; }

/* Triangle bullets for Text Editor / Icon List lists. */
.fx-list ul { list-style: none; padding-left: 0; }
.fx-list ul li { position: relative; padding-left: 1.4em; margin-bottom: .6em; }
.fx-list ul li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .55em; height: .62em;
  background: var(--fx-gold); clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Readable long-form text (blog, course description). */
.fx-prose { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--fx-text); }
.fx-prose :is(h2, h3, h4) { color: var(--fx-bone); margin: 2em 0 .6em; line-height: 1.25; }
.fx-prose :is(p, ul, ol, blockquote, figure) { margin: 0 0 1.25em; }
.fx-prose a { color: var(--fx-gold); text-decoration: underline; }
.fx-prose blockquote { border-left: 2px solid var(--fx-gold); padding-left: 1.25em; color: var(--fx-bone); }
.fx-prose img { border-radius: var(--fx-r-lg); }
@media (max-width: 767px) { .fx-prose { font-size: 17px; } }

/* ---------- Motion ---------- */
/* Reveal: add "fx-reveal" to any container/widget. "fx-stagger" on a parent staggers its direct children. */
.fx-js .fx-reveal:not(.is-in),
.fx-js .fx-stagger:not(.is-in) > * { opacity: 0; transform: translateY(12px); }
.fx-reveal, .fx-stagger > * { transition: opacity var(--fx-slow) var(--fx-ease), transform var(--fx-slow) var(--fx-ease); }
.fx-stagger > *:nth-child(2) { transition-delay: 60ms; }
.fx-stagger > *:nth-child(3) { transition-delay: 120ms; }
.fx-stagger > *:nth-child(4) { transition-delay: 180ms; }
.fx-stagger > *:nth-child(5) { transition-delay: 240ms; }
.fx-stagger > *:nth-child(n+6) { transition-delay: 300ms; }

/* Self-drawing chart line: give an SVG <path pathLength="1"> the class fx-draw. */
.fx-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .fx-draw, .fx-draw.is-in { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--fx-ease); }

/* Elementor editor: never hide anything while editing. */
.elementor-editor-active .fx-reveal, .elementor-editor-active .fx-stagger > * { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .fx-draw { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .fx-js .fx-reveal:not(.is-in), .fx-js .fx-stagger:not(.is-in) > * { opacity: 1; transform: none; }
  .fx-draw { stroke-dashoffset: 0; }
}

/* Card media: fixed ratio so loop cards align whatever the source image size. */
.fx-card .fx-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* ==========================================================================
   Rounded, image-rich layer ("Gold Glow", Home v2). Add these classes in Elementor → Advanced → CSS Classes.
   ========================================================================== */
:root {
  --fx-glass: rgb(255 255 255 / .04);
  --fx-glass-line: rgb(255 255 255 / .09);
  --fx-gold-grad: linear-gradient(120deg, #F7DC8C 0%, #E2B54A 45%, #B8862B 100%);
  --fx-shadow: 0 30px 60px -30px rgb(0 0 0 / .7);
}
.fx-badge, .fx-badge .elementor-heading-title { padding: 7px 12px; }

/* Gold gradient text: wrap a word in <span class="fx-hl"> inside a Heading. */
.fx-hl { background: var(--fx-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Eyebrow pill with a glowing dot. Use on a Heading widget. */
.fx-pill .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--fx-glass-line); background: var(--fx-glass); border-radius: var(--fx-r-pill);
  font: 500 12px/1 var(--fx-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-gold) !important;
}
.fx-pill .elementor-heading-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-gold); box-shadow: 0 0 0 4px var(--fx-gold-a24), 0 0 12px var(--fx-gold); }

/* Soft gold light behind a section (container). */
.fx-glow { position: relative; isolation: isolate; overflow: hidden; }
.fx-glow::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(1100px, 120vw); aspect-ratio: 1;
  right: -25%; top: -45%; background: radial-gradient(closest-side, rgb(226 181 74 / .20), rgb(226 181 74 / .05) 55%, transparent);
}
.fx-glow--left::after { right: auto; left: -30%; top: -20%; }

/* Glass surface card. */
.fx-glass {
  background: linear-gradient(180deg, rgb(255 255 255 / .055), rgb(255 255 255 / .015));
  border: 1px solid var(--fx-glass-line); border-radius: var(--fx-r-xl);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.fx-r-2xl { border-radius: var(--fx-r-2xl) !important; }

/* Hover lift for cards and tiles. */
.fx-lift { transition: transform var(--fx-slow) var(--fx-ease), box-shadow var(--fx-slow) var(--fx-ease), border-color var(--fx-fast) var(--fx-ease); }
.fx-lift:hover, .fx-lift:focus-within { transform: translateY(-6px); box-shadow: var(--fx-shadow), 0 0 0 1px var(--fx-gold-a24); border-color: var(--fx-gold-a24); }

/* Rounded images with a fixed ratio (Image widget). */
.fx-img img { width: 100%; display: block; object-fit: cover; border-radius: var(--fx-r-xl); }
.fx-img--32 img { aspect-ratio: 3 / 2; }
.fx-img--169 img { aspect-ratio: 16 / 9; }
.fx-img--wide img { aspect-ratio: 1080 / 397; }
.fx-media-wrap { position: relative; }
.fx-media img { border-radius: calc(var(--fx-r-xl) - 8px); }

/* Course posters (1080x608) have the coach on the left and old prices on the right:
   these crops only ever show the left ~36 %, so no price is visible. */
.fx-coach, .fx-coach-tall { overflow: hidden; border-radius: calc(var(--fx-r-xl) - 8px); }
.fx-coach img { width: 100%; display: block; aspect-ratio: 5 / 4; object-fit: cover; object-position: 0 0; transform: scale(1.95); transform-origin: 0 0; transition: transform var(--fx-slow) var(--fx-ease); }
.fx-card:hover .fx-coach img { transform: scale(2.05); }
.fx-coach-tall { border-radius: var(--fx-r-xl); }
.fx-coach-tall img { width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; object-position: 0 0; transform: scale(1.16); transform-origin: 0 0; }

/* Small overlay row on top of media (level / category tags). */
.fx-overlay { position: absolute !important; top: 16px; left: 16px; right: 16px; z-index: 2; width: auto !important; }
.fx-tag .elementor-heading-title {
  display: inline-block; padding: 7px 12px; border-radius: var(--fx-r-pill); font: 500 11px/1 var(--fx-mono) !important; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fx-bone) !important; background: rgb(11 12 10 / .72); border: 1px solid var(--fx-glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.fx-tag--gold .elementor-heading-title { color: var(--fx-ink-950) !important; background: var(--fx-gold); border-color: transparent; }

/* Avatar stack: Image widgets with fx-avatar inside a row with fx-avatars. */
.fx-avatars { flex-wrap: nowrap !important; }
.fx-avatar { width: 46px !important; max-width: 46px !important; flex: 0 0 46px !important; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid var(--fx-ink-950); margin-left: -12px !important; background: var(--fx-ink-800); }
.fx-avatar:first-child { margin-left: 0 !important; }
.fx-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.6); transform-origin: 50% 18%; }
.fx-avatar--poster img { object-position: 0 0; transform: scale(3.1); transform-origin: 9% 20%; }

/* Hero video card: Elementor Video widget in lightbox mode with an image overlay = a course poster crop. */
.fx-video-card { --video-aspect-ratio: .75; border-radius: var(--fx-r-xl); overflow: hidden; }
.fx-video-card .elementor-wrapper { aspect-ratio: 3 / 4 !important; height: auto !important; padding: 0 !important; border-radius: var(--fx-r-xl); }
.fx-video-card .elementor-custom-embed-image-overlay { position: absolute !important; inset: 0; height: auto !important; }
.fx-video-card .elementor-custom-embed-image-overlay img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transform: scale(1.16); transform-origin: 0 0; }
.fx-video-card .elementor-custom-embed-image-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(11 12 10 / .85)); }
.fx-video-card .elementor-custom-embed-play { z-index: 2; }
.fx-video-card .elementor-custom-embed-play i, .fx-video-card .elementor-custom-embed-play svg {
  font-size: 28px; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: var(--fx-ink-950); fill: var(--fx-ink-950);
  background: var(--fx-gold); box-shadow: 0 0 0 10px var(--fx-gold-a24); padding: 24px; transition: transform var(--fx-fast) var(--fx-ease); opacity: 1; filter: none;
}
.fx-video-card:hover .elementor-custom-embed-play svg { transform: scale(1.08); }

/* Floating glass chip (absolute, over a collage). */
.fx-chip { position: absolute !important; z-index: 3; width: auto !important; max-width: 260px; padding: 12px 16px; border-radius: var(--fx-r); box-shadow: var(--fx-shadow); }
.fx-chip--bl { left: -24px; bottom: 32px; }
.fx-chip--tr { right: -16px; top: 24px; }
@media (max-width: 767px) { .fx-chip--bl { left: 8px; bottom: 12px; } .fx-chip--tr { right: 8px; top: 12px; } .fx-chip { max-width: 180px; padding: 10px 12px; } }

/* Ticker marquee: a row (fx-marquee) holding one row (fx-marquee-track) with the items written twice. */
.fx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fx-marquee-track { width: max-content !important; max-width: none !important; flex-wrap: nowrap !important; gap: 0 !important; animation: fx-marquee 60s linear infinite; }
.fx-marquee-track { flex: 0 0 auto !important; }
.fx-marquee-track > * { margin-right: 48px !important; flex: 0 0 auto !important; width: max-content !important; max-width: none !important; }
.fx-marquee-track .elementor-heading-title { white-space: nowrap; }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
@keyframes fx-marquee { to { transform: translateX(-50%); } }
.fx-tick .elementor-heading-title { font: 500 15px/1 var(--fx-mono) !important; color: var(--fx-bone); }
.fx-tick b { color: var(--fx-up); font-weight: 500; margin-right: 8px; }
.fx-tick i { font-style: normal; color: var(--fx-gold); margin-right: 8px; }

/* Icon tile: Icon widget in a gold-tinted circle. */
.fx-icon .elementor-icon { width: 56px; height: 56px; display: grid !important; place-items: center; border-radius: 50%; background: var(--fx-gold-a10); border: 1px solid var(--fx-gold-a24); font-size: 22px !important; color: var(--fx-gold) !important; }
.fx-icon .elementor-icon svg { width: 22px; height: 22px; fill: var(--fx-gold); }

/* Gold feature card (dark text on gold). */
.fx-gold-card { background: radial-gradient(120% 90% at 100% 0%, #F7DC8C 0%, #E2B54A 40%, #A9781F 100%); border-radius: var(--fx-r-xl); color: var(--fx-ink-950); position: relative; overflow: hidden; }
.fx-gold-card :is(h2, h3, p, .elementor-heading-title, .elementor-widget-text-editor) { color: var(--fx-ink-950) !important; }
.fx-gold-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: var(--fx-ink-950); opacity: .08; clip-path: polygon(0 0, 100% 50%, 0 100%); pointer-events: none; }
.fx-btn-dark .elementor-button { background: var(--fx-ink-950) !important; color: var(--fx-bone) !important; border-color: var(--fx-ink-950) !important; }
.fx-btn-dark .elementor-button:hover { background: var(--fx-ink-800) !important; color: var(--fx-gold-hi) !important; }

/* Initials avatar (testimonials without photos). */
.fx-initial .elementor-heading-title { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--fx-gold-grad); color: var(--fx-ink-950) !important; font: 600 16px/1 var(--fx-font) !important; }

/* CTA panel with gold light from the right. */
.fx-cta-panel { border-radius: var(--fx-r-2xl); overflow: hidden; position: relative; isolation: isolate; border: 1px solid var(--fx-gold-a24);
  background: radial-gradient(80% 120% at 100% 50%, rgb(226 181 74 / .35), transparent 60%), linear-gradient(180deg, #17190F, #0F100C); }

/* Fanned coach cards (CTA visual). */
.fx-fan { flex-wrap: nowrap !important; justify-content: center; }
.fx-fan > .elementor-widget { width: 38% !important; flex: 0 0 38% !important; margin: 0 -4% !important; transition: transform var(--fx-slow) var(--fx-ease); box-shadow: var(--fx-shadow); border-radius: var(--fx-r-xl); }
.fx-fan > .elementor-widget:nth-child(1) { transform: rotate(-7deg) translateY(18px); }
.fx-fan > .elementor-widget:nth-child(2) { transform: translateY(-8px); z-index: 2; }
.fx-fan > .elementor-widget:nth-child(3) { transform: rotate(7deg) translateY(18px); }
.fx-fan:hover > .elementor-widget:nth-child(1) { transform: rotate(-10deg) translate(-12px, 18px); }
.fx-fan:hover > .elementor-widget:nth-child(3) { transform: rotate(10deg) translate(12px, 18px); }

.fx-glass .fx-curve-legend { border-top-color: var(--fx-glass-line); }

@media (prefers-reduced-motion: reduce) {
  .fx-marquee-track { animation: none; }
  .fx-lift:hover, .fx-lift:focus-within { transform: none; }
}

/* Overlay tags at the bottom of media (keeps the poster logo clear); long tags truncate. */
.fx-overlay--bottom { top: auto; bottom: 16px; }
.fx-overlay .fx-tag { min-width: 0; max-width: 100%; }
.fx-overlay .fx-tag .elementor-heading-title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-coach::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgb(11 12 10 / .75)); pointer-events: none; border-radius: inherit; }
.fx-coach { position: relative; }
/* "Mengenal Trading CFD" poster (course 985) has the coach further right and no price: shift its crop. */
.post-985 .fx-coach img { transform-origin: 25% 0; }
.fx-card .elementor-button { white-space: nowrap; }
.fx-avatars + .elementor-widget { flex: 1 1 auto; }

/* ==========================================================================
   "Kinetic Market" layer (Home v3). Pairs with assets/js/fx.js — see the class list at the top of that file.
   Rhythm: ink sections, paper (light) sections, gold bands. Accent words: <span class="fx-accent"> in a Heading.
   ========================================================================== */
:root {
  --fx-ease-out: cubic-bezier(.22, 1, .36, 1);
  --fx-gold-ink: #85621A;   /* gold for text on paper: 4.6:1 on #F4F2EC */
}
/* Two-tone headings (owner, 2026-11-25): the gold accent word stands out in bold, the white words around it stay regular. */
.elementor-heading-title:has(.fx-accent) { font-weight: 400 !important; }
.fx-accent { font-weight: 700 !important; color: var(--fx-gold); }

/* Scroll progress + film grain (site-wide, decorative) */
.fx-progress { position: fixed; left: 0; top: 0; z-index: 100000; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: var(--fx-gold-grad); pointer-events: none; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 99990; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor ring (mouse only; the native cursor stays) */
.fx-cursor { position: fixed; left: 0; top: 0; z-index: 99999; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.fx-cursor.is-on { opacity: 1; }
.fx-cursor span {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgb(226 181 74 / .7); display: grid; place-items: center; overflow: hidden; white-space: nowrap;
  font: 600 11px/1 var(--fx-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fx-ink-950);
  transition: width .4s var(--fx-ease-out), height .4s var(--fx-ease-out), margin .4s var(--fx-ease-out), background-color .3s, border-color .3s;
}
.fx-cursor.is-link span { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgb(226 181 74 / .12); }
.fx-cursor.is-label span { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--fx-gold); border-color: transparent; }

/* Floating loop for chips */
@keyframes fx-float { 50% { translate: 0 -10px; } }
.fx-float { animation: fx-float 6s ease-in-out infinite; }
.fx-float--2 { animation-delay: -2s; } .fx-float--3 { animation-delay: -4s; }

/* ==========================================================================
   Home v4 "Gold Terminal". Pairs with assets/js/fx.js (class list at the top of that file).
   Dark ink page, glass surfaces, gold light; glass surfaces only.
   ========================================================================== */
@keyframes fx-in-up { from { opacity: 0; transform: translateY(26px); } }
.fx-in { animation: fx-in-up .9s var(--fx-ease-out) backwards; animation-delay: calc(var(--d, 0) * 1ms + 120ms); }
.fx-in--2 { --d: 120; } .fx-in--3 { --d: 240; } .fx-in--4 { --d: 360; } .fx-in--5 { --d: 520; }
.fx-glow-top { position: relative; isolation: isolate; }
.fx-glow-top::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 520px; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%);
  background: radial-gradient(50% 100% at 50% 0%, rgb(226 181 74 / .09), transparent 70%); }
.fx-sr .elementor-heading-title, .fx-sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 1. Hero: welcome + intro video over the live candlestick canvas ---------- */
.fx-hero { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(45% 60% at 78% 42%, rgb(226 181 74 / .13), transparent 68%), var(--fx-ink-950); }
.fx-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent, var(--fx-ink-950)); }
.fx-market-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.fx-hero-inner { position: relative; z-index: 1; min-height: clamp(620px, calc(100svh - var(--fx-header, 68px)), 860px); }
.fx-hero h1 .elementor-heading-title { text-wrap: balance; }
.fx-proof { flex-wrap: nowrap !important; padding-top: 28px !important; border-top: 1px solid var(--fx-line); }
.fx-proof-item .elementor-heading-title { white-space: nowrap; }
.fx-proof .fx-num .elementor-heading-title { font: 600 28px/1 var(--fx-font) !important; letter-spacing: -.03em; color: var(--fx-bone) !important; }
.fx-proof-sep { width: 1px !important; align-self: stretch; background: var(--fx-line); }
@media (max-width: 767px) { .fx-proof-sep { display: none; } }

/* glass frame around a 16:9 media (video / banner) */
.fx-frame { position: relative; padding: 10px; border-radius: 32px; background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .02)); border: 1px solid var(--fx-glass-line);
  box-shadow: 0 60px 120px -50px rgb(0 0 0 / .9), 0 0 0 1px rgb(226 181 74 / .06) inset; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fx-frame::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgb(241 205 114 / .7), transparent 35%, transparent 70%, rgb(241 205 114 / .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fx-frame::after { content: ""; position: absolute; inset: 12% 8% -10%; z-index: -1; background: radial-gradient(closest-side, rgb(226 181 74 / .35), transparent); filter: blur(40px); pointer-events: none; }

/* full 16:9 video card (no crop) */
.fx-video-wide { border-radius: 24px; overflow: hidden; }
.fx-video-wide .elementor-wrapper { aspect-ratio: 16 / 9 !important; height: auto !important; padding: 0 !important; border-radius: 24px; }
.fx-video-wide .elementor-custom-embed-image-overlay { position: absolute !important; inset: 0; height: auto !important; }
.fx-video-wide .elementor-custom-embed-image-overlay img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fx-ease-out); }
.fx-video-wide:hover .elementor-custom-embed-image-overlay img { transform: scale(1.04); }
.fx-video-wide .elementor-custom-embed-image-overlay::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgb(11 12 10 / .1), rgb(11 12 10 / .45)); }
.fx-video-wide .elementor-custom-embed-play { z-index: 2; }
.fx-video-wide .elementor-custom-embed-play svg, .fx-video-wide .elementor-custom-embed-play i {
  width: 84px; height: 84px; padding: 28px; border-radius: 50%; display: grid; place-items: center; opacity: 1; filter: none;
  fill: var(--fx-ink-950); color: var(--fx-ink-950); background: var(--fx-gold); animation: fx-ping 2.4s var(--fx-ease-out) infinite; transition: transform .4s var(--fx-ease-out); }
.fx-video-wide:hover .elementor-custom-embed-play svg { transform: scale(1.1); }
@keyframes fx-ping { 0% { box-shadow: 0 0 0 0 rgb(226 181 74 / .55); } 70%, 100% { box-shadow: 0 0 0 26px rgb(226 181 74 / 0); } }
.fx-chip { position: absolute !important; z-index: 3; width: auto !important; max-width: 280px; padding: 12px 16px; border-radius: 16px; box-shadow: var(--fx-shadow); }
.fx-chip--tl { left: -28px; top: -22px; } .fx-chip--br { right: -24px; bottom: -26px; }
.fx-chip .fx-mono .elementor-heading-title { white-space: nowrap; }
@media (max-width: 1024px) { .fx-chip--tl { left: 12px; } .fx-chip--br { right: 12px; } }
@media (max-width: 767px) { .fx-chip--tl { left: 8px; top: -18px; } .fx-chip--br { right: 8px; bottom: -22px; } .fx-chip { max-width: 220px; padding: 10px 12px; } }
@keyframes fx-float { 50% { translate: 0 -10px; } }
.fx-float { animation: fx-float 6s ease-in-out infinite; } .fx-float--2 { animation-delay: -3s; }

/* ---------- 2. "Mulai tanpa risiko" offer + gold ticket ---------- */
.fx-offer { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; border: 1px solid var(--fx-glass-line);
  background: radial-gradient(70% 120% at 100% 50%, rgb(226 181 74 / .16), transparent 60%), linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); }
.fx-offer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent); mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent); }
.fx-ticket { --notch: 18px; position: relative; color: var(--fx-ink-950); border-radius: 26px; max-width: 460px; margin-inline: auto;
  background: radial-gradient(120% 120% at 0% 0%, #F7DC8C, #E2B54A 45%, #B8862B);
  -webkit-mask: radial-gradient(circle var(--notch) at 64% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 64% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 64% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 64% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  transform: perspective(900px) rotate(-3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--fx-ease-out); filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)); }
.fx-ticket.is-tilt { transition: transform .1s linear; }
.fx-ticket::after { content: ""; position: absolute; top: 22px; bottom: 22px; left: 64%; border-left: 2px dashed rgb(11 12 10 / .35); }
.fx-ticket :is(.elementor-heading-title, p) { color: var(--fx-ink-950) !important; }
.fx-ticket-main { width: 64% !important; }
.fx-ticket-stub { width: 36% !important; }
.fx-ticket .fx-ticket-big .elementor-heading-title { font: 700 clamp(40px, 4vw, 56px)/1 var(--fx-font) !important; letter-spacing: -.04em; }
.fx-ticket .fx-mono .elementor-heading-title { font: 600 11px/1.3 var(--fx-mono) !important; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.fx-barcode { height: 34px; width: 100% !important; opacity: .8;
  background: repeating-linear-gradient(90deg, #0B0C0A 0 2px, transparent 2px 4px, #0B0C0A 4px 5px, transparent 5px 8px, #0B0C0A 8px 11px, transparent 11px 13px); }
.fx-ticket-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .45) 45%, transparent 58%); background-size: 260% 100%; background-position: 120% 0; animation: fx-shine 5s ease-in-out infinite; }
@keyframes fx-shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -60% 0; } }

/* ---------- 3. Banner slider (owner's banner images, wipe transition) ---------- */
.fx-slider.is-ready { display: grid !important; grid-template-columns: minmax(0, 1fr); }
.fx-slider.is-ready > .fx-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--fx-ease-out), visibility 0s linear .7s; }
.fx-slider.is-ready > .fx-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity .7s var(--fx-ease-out); }
.fx-js .fx-slider:not(.is-ready) > .fx-slide:not(:first-of-type) { display: none; }
.elementor-editor-active .fx-slider > .fx-slide { display: flex !important; }
.fx-slider--banner.is-ready > .fx-slide { transition: none; clip-path: inset(0 0 0 100% round 28px); }
.fx-slider--banner.is-ready > .fx-slide.is-active { clip-path: inset(0 round 28px); transition: clip-path 1.1s var(--fx-ease-out); }
.fx-slider--banner.is-ready > .fx-slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; clip-path: inset(0 round 28px); }
.fx-banner { border-radius: 28px; overflow: hidden; }
.fx-banner img { width: 100% !important; max-width: none; height: auto; display: block; aspect-ratio: 1630 / 600; object-fit: cover; border-radius: 28px; transform: scale(1.06); transition: transform 1.8s var(--fx-ease-out); }
.fx-slider--banner .is-active .fx-banner img { transform: scale(1); }
.fx-slider--banner .fx-banner a:hover img { transform: scale(1.015); }
.fx-slider--banner .fx-slider-nav { position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin-top: 28px; }
.fx-slider--banner .fx-slider-t { display: block; }

/* slider controls (built by fx.js): tabs never take the kit's button background */
.fx-slider-nav { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(1240px, calc(100% - 80px)); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; pointer-events: none; }
.fx-slider-nav > * { pointer-events: auto; }
.fx-slider-tabs { display: flex; gap: 24px; flex: 1; max-width: 860px; }
.fx-slider .fx-slider-tab, .fx-slider .fx-slider-tab:hover, .fx-slider .fx-slider-tab:focus, .fx-slider .fx-slider-tab:active {
  all: unset; box-sizing: border-box; cursor: pointer; flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 10px; align-items: baseline;
  padding: 10px 2px 0; background: none !important; box-shadow: none !important; color: var(--fx-mute); font: 500 13px/1.3 var(--fx-font); transition: color .3s; }
.fx-slider .fx-slider-tab:hover, .fx-slider .fx-slider-tab.is-active { color: var(--fx-bone); }
.fx-slider .fx-slider-tab:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 4px; border-radius: 6px; }
.fx-slider-n { font: 500 12px/1 var(--fx-mono); color: var(--fx-gold); }
.fx-slider-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-slider-bar { grid-column: 1 / -1; height: 2px; border-radius: 2px; overflow: hidden; background: rgb(238 236 228 / .14); }
.fx-slider-bar span { display: block; height: 100%; background: var(--fx-gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.fx-slider .fx-slider-tab:not(.is-active) .fx-slider-bar span { transform: scaleX(0); }
.fx-slider .fx-slider-tab:hover .fx-slider-bar { background: rgb(238 236 228 / .3); }
.fx-slider-ctrl { display: flex; gap: 8px; }
.fx-slider .fx-slider-arrow, .fx-slider .fx-slider-toggle { all: unset; box-sizing: border-box; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--fx-bone); border: 1px solid rgb(238 236 228 / .2); transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--fx-ease-out); }
.fx-slider .fx-slider-arrow:hover, .fx-slider .fx-slider-toggle:hover { background: var(--fx-gold); color: var(--fx-ink-950); border-color: transparent; }
.fx-slider .fx-slider-arrow:focus-visible, .fx-slider .fx-slider-toggle:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 3px; }
.fx-slider .fx-slider-arrow svg { width: 18px; height: 18px; }
.fx-slider .fx-slider-prev svg { transform: rotate(180deg); }
.fx-slider .fx-slider-toggle span { position: relative; width: 12px; height: 12px; }
.fx-slider .fx-slider-toggle span::before, .fx-slider .fx-slider-toggle span::after { content: ""; position: absolute; top: 0; width: 4px; height: 12px; background: currentColor; border-radius: 1px; }
.fx-slider .fx-slider-toggle span::before { left: 0; } .fx-slider .fx-slider-toggle span::after { right: 0; }
.fx-slider .fx-slider-toggle.is-paused span::before { left: 2px; width: 0; height: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.fx-slider .fx-slider-toggle.is-paused span::after { display: none; }
@media (max-width: 767px) {
  .fx-slider-nav { width: calc(100% - 40px); gap: 12px; }
  .fx-slider-tabs { gap: 8px; }
  .fx-slider .fx-slider-t { display: none !important; }
  .fx-slider .fx-slider-arrow, .fx-slider .fx-slider-toggle { width: 42px; height: 42px; }
  .fx-banner, .fx-banner img { border-radius: 16px; }
  .fx-slider--banner.is-ready > .fx-slide, .fx-slider--banner.is-ready > .fx-slide.is-active, .fx-slider--banner.is-ready > .fx-slide.is-leaving { clip-path: none; }
}

/* ---------- 4. Featured classes: pinned horizontal rail of poster cards + dots / prev-next ---------- */
.fx-hscroll { overflow-x: clip; }
.fx-hscroll-sticky { position: relative; }
.fx-hscroll.is-pinned .fx-hscroll-sticky { position: sticky !important; top: var(--fx-header, 68px); height: calc(100svh - var(--fx-header, 68px)); min-height: 640px; justify-content: center; }
.fx-hscroll-rail .elementor-loop-container { display: flex !important; gap: 24px; width: max-content; will-change: transform; }
.fx-hscroll-rail .e-loop-item { width: min(700px, 56vw); flex: 0 0 auto; }
.fx-hscroll:not(.is-pinned) .fx-hscroll-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.fx-hscroll:not(.is-pinned) .fx-hscroll-rail::-webkit-scrollbar { display: none; }
.fx-hscroll:not(.is-pinned) .fx-hscroll-rail .e-loop-item { scroll-snap-align: start; width: min(78vw, 660px); }
.elementor-loop-container { counter-reset: fxc; }
.e-loop-item { counter-increment: fxc; }
/* rail navigation (built by fx.js); kit button styles reset on every state */
.fx-hnav { display: flex; align-items: center; gap: 20px; }
.fx-hnav-dots { display: flex; align-items: center; gap: 8px; }
.fx-hnav .fx-hnav-dot, .fx-hnav .fx-hnav-dot:hover, .fx-hnav .fx-hnav-dot:focus { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(238 236 228 / .22) !important; cursor: pointer; transition: width .5s var(--fx-ease-out), background-color .3s; }
.fx-hnav .fx-hnav-dot[aria-current="true"] { width: 32px; background: var(--fx-gold) !important; }
.fx-hnav-count { margin-left: auto; font: 500 13px/1 var(--fx-mono); color: var(--fx-mute); letter-spacing: .06em; }
.fx-hnav-btns { display: flex; gap: 10px; }
.fx-hnav .fx-hnav-btn, .fx-hnav .fx-hnav-btn:hover, .fx-hnav .fx-hnav-btn:focus { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--fx-line-2);
  background: rgb(255 255 255 / .03) !important; color: var(--fx-bone) !important; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s, opacity .3s; }
.fx-hnav .fx-hnav-btn:hover:not(:disabled) { border-color: var(--fx-gold); background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; }
.fx-hnav .fx-hnav-btn:disabled { opacity: .35; cursor: default; }
.fx-hnav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-hnav-prev svg { transform: rotate(180deg); }
@media (max-width: 767px) { .fx-hnav-count { display: none; } .fx-hnav-btns { margin-left: auto; } .fx-hnav .fx-hnav-btn { width: 44px; height: 44px; } }

/* course card: poster | summary, one 22px inset on all four sides */
.fx-hcard { position: relative; isolation: isolate; height: 100%; border-radius: 28px; border: 1px solid var(--fx-glass-line);
  background: radial-gradient(80% 60% at 100% 0%, rgb(226 181 74 / .08), transparent 60%), linear-gradient(150deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015) 55%), var(--fx-ink-900);
  transition: border-color .4s, box-shadow .4s, transform .6s var(--fx-ease-out); }
.fx-hcard:hover { border-color: rgb(226 181 74 / .45); transform: translateY(-4px); box-shadow: 0 50px 90px -40px rgb(0 0 0 / .9), 0 0 60px -24px rgb(226 181 74 / .35); }
.fx-poster { align-self: center; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .85); }
.fx-poster-img, .fx-poster-img .elementor-widget-container, .fx-poster-img .elementor-shortcode { display: block; line-height: 0; }
.fx-poster-img img { width: 100%; height: auto; display: block; border-radius: 18px; transition: transform 1.2s var(--fx-ease-out); }
.fx-hcard:hover .fx-poster-img img { transform: scale(1.04); }
.fx-hcard-body { position: relative; z-index: 1; min-width: 0; }
.fx-hcard-sum .elementor-heading-title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fx-hcard-facts { border-top: 1px solid var(--fx-glass-line); }
.fx-hcard-k { flex: 0 0 76px; }
.fx-hcard .elementor-heading-title a { color: inherit; text-decoration: none; }
.fx-hcard h3 .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.fx-hcard .elementor-widget-button { position: relative; z-index: 3; }
.fx-hcard:hover h3 .elementor-heading-title { color: var(--fx-gold-hi) !important; }
.fx-hcard-btn .elementor-button { width: 100%; justify-content: center; }

/* ---------- 5. Learning path (dark, glass) ---------- */
@media (min-width: 1025px) {
  .fx-js .fx-scrolly { min-height: 240vh; }
  .fx-js .fx-scrolly-sticky { position: sticky !important; top: var(--fx-header, 68px); min-height: calc(100svh - var(--fx-header, 68px)); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fx-js .fx-scrolly { min-height: 0; } .fx-js .fx-scrolly-sticky { position: relative !important; } }
.fx-path { position: relative; isolation: isolate; }
.fx-path::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 85% 30%, rgb(226 181 74 / .12), transparent 70%), radial-gradient(35% 45% at 10% 90%, rgb(226 181 74 / .07), transparent 70%); }
.fx-path::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.fx-curve { position: relative; }
.fx-curve.is-scrolly .fx-draw { transition: stroke-dashoffset .12s linear !important; }
.fx-path .fx-curve-line { filter: drop-shadow(0 0 6px rgb(226 181 74 / .6)); stroke-width: 2.2; }
.fx-curve-dot { transition: fill .3s, stroke .3s, r .3s; }
.fx-curve-dot.on { fill: var(--fx-gold) !important; stroke: var(--fx-gold) !important; }
.fx-curve-dot.cur { r: 7px; filter: drop-shadow(0 0 10px rgb(241 205 114 / .95)); }
.fx-curve-readout { display: none; }
.fx-curve.is-scrolly .fx-curve-readout {
  display: flex; flex-direction: column; gap: 6px; position: absolute; top: 0; left: 0; width: min(340px, 40%); padding: 24px 26px; border-radius: 24px;
  background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .025)); border: 1px solid var(--fx-glass-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.fx-curve.is-scrolly .fx-curve-readout::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--fx-gold), transparent); }
.fx-curve-readout .n { font: 600 56px/1 var(--fx-font); letter-spacing: -.04em; color: var(--fx-gold); }
.fx-curve-readout .t { font: 600 20px/1.25 var(--fx-font); color: var(--fx-bone); }
.fx-curve-readout .m { font: 500 13px/1.4 var(--fx-mono); color: var(--fx-mute); }
.fx-curve-readout a { margin-top: 10px; font: 600 14px/1 var(--fx-font); color: var(--fx-gold); text-decoration: none; }
.fx-curve-readout a:hover { color: var(--fx-gold-hi); }
@keyframes fx-swap { from { opacity: .2; transform: translateY(8px); } }
.fx-curve-readout.is-swap > * { animation: fx-swap .45s var(--fx-ease-out); }
@media (max-width: 1024px) { .fx-curve.is-scrolly .fx-curve-readout { position: relative; width: 100%; margin-bottom: 20px; } }
.fx-path .fx-curve-legend { border-top: 0; gap: 10px; }
.fx-path .fx-curve-legend a { display: block; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--fx-glass-line); background: rgb(255 255 255 / .025);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .3s, background-color .3s, color .3s; }
.fx-path .fx-curve-legend a:hover { border-color: rgb(226 181 74 / .4); color: var(--fx-bone); }
.fx-path .fx-curve-legend li.is-active a { border-color: rgb(226 181 74 / .7); background: rgb(226 181 74 / .1); color: var(--fx-bone) !important; font-weight: 600; }

/* ---------- 6. Why FINEMA: sticky intro + glass spec cards led by a number (no photos) ---------- */
@media (min-width: 1025px) { .fx-why-intro { position: sticky !important; top: calc(var(--fx-header, 68px) + 40px); } }
.fx-why-help { border-radius: 24px; border: 1px solid var(--fx-glass-line); background: linear-gradient(120deg, rgb(226 181 74 / .1), rgb(255 255 255 / .02)); margin-top: 6px; }
.fx-why-grid { display: grid !important; grid-template-columns: 1fr 1fr; }
.fx-why-card { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; border-radius: 28px; border: 1px solid var(--fx-glass-line);
  background: linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015) 60%), var(--fx-ink-900); transition: border-color .4s, transform .6s var(--fx-ease-out), box-shadow .4s; }
.fx-why-card::after { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--fx-gold), transparent); opacity: 0; transition: opacity .4s; }
.fx-why-card:hover { border-color: rgb(226 181 74 / .4); transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.fx-why-card:hover::after { opacity: 1; }
.fx-why-card--gold { background: radial-gradient(90% 70% at 100% 0%, rgb(226 181 74 / .22), transparent 65%), linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015) 60%), var(--fx-ink-900); border-color: rgb(226 181 74 / .3); }
@media (min-width: 1025px) { .fx-why-card--lift { transform: translateY(40px); } .fx-why-card--lift:hover { transform: translateY(36px); } .fx-why-grid { padding-bottom: 40px; } }
.fx-why-n .elementor-heading-title { font: 500 13px/1 var(--fx-mono) !important; color: var(--fx-mute) !important; letter-spacing: .1em; }
.fx-why-icon .elementor-icon { width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 50%; background: var(--fx-gold-a10); border: 1px solid var(--fx-gold-a24); font-size: 17px !important; color: var(--fx-gold) !important; transition: background-color .3s, color .3s; }
.fx-why-icon .elementor-icon svg { width: 17px; height: 17px; fill: currentColor; }
.fx-why-card:hover .fx-why-icon .elementor-icon { background: var(--fx-gold); color: var(--fx-ink-950) !important; }
.fx-why-num .elementor-heading-title { font: 600 clamp(44px, 4.4vw, 64px)/.95 var(--fx-font) !important; letter-spacing: -.045em !important;
  background: linear-gradient(180deg, var(--fx-bone), rgb(238 236 228 / .55)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.fx-why-card--gold .fx-why-num .elementor-heading-title { background-image: linear-gradient(180deg, var(--fx-gold-hi), var(--fx-gold-lo)); }
.fx-why-card h3 .elementor-heading-title { text-wrap: balance; }
@media (max-width: 767px) { .fx-why-grid { grid-template-columns: 1fr; } .fx-why-card { min-height: 0; } }

/* ---------- 7. Testimonials (dark glass quote card) ---------- */
.fx-quote-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; border: 1px solid var(--fx-glass-line);
  background: radial-gradient(60% 80% at 0% 0%, rgb(226 181 74 / .12), transparent 60%), linear-gradient(160deg, rgb(255 255 255 / .07), rgb(255 255 255 / .015));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 50px 100px -50px rgb(0 0 0 / .9); }
.fx-quote-card::before { position: static !important; inset: auto !important; flex: 0 0 auto; content: ""; display: block; width: 44px; height: 35px; margin-bottom: 24px; background: url("../img/fx-quote.svg") no-repeat 0 0 / contain; }
.fx-slider--quotes .fx-slider-nav { position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--fx-glass-line); }
.fx-slider--quotes .fx-slider-tab, .fx-slider--quotes .fx-slider-tab:hover, .fx-slider--quotes .fx-slider-tab:focus { padding-top: 16px; }
.fx-slider--quotes .fx-slider-t { display: block; }
.fx-slider.is-ready .fx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .14em; margin: 0 -.03em -.14em; }
.fx-slider.is-ready .fx-wi { display: inline-block; transform: translateY(112%); transition: transform .9s var(--fx-ease-out) calc(var(--i, 0) * 18ms + .1s); }
.fx-slider.is-ready .is-active .fx-wi { transform: none; }
.fx-slider.is-ready .fx-slide .fx-rise { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--fx-ease-out) .4s, transform .7s var(--fx-ease-out) .4s; }
.fx-slider.is-ready .fx-slide.is-active .fx-rise { opacity: 1; transform: none; }
@media (max-width: 767px) { .fx-quote-card::before { width: 34px; height: 27px; margin-bottom: 16px; } }

/* ---------- 8. Blog: bento of image cards ---------- */
.fx-bento .elementor-loop-container { display: grid !important; grid-template-columns: 1.25fr 1fr 1fr !important; grid-auto-rows: 290px; gap: 20px !important; }
.fx-bento .e-loop-item:nth-child(1 of .e-loop-item) { grid-row: span 2; }
.fx-bento .e-loop-item:nth-child(4 of .e-loop-item) { grid-column: span 2; }
.fx-pcard { position: relative; isolation: isolate; height: 100%; overflow: hidden; border-radius: 28px; border: 1px solid var(--fx-glass-line); background: var(--fx-ink-900); transition: border-color .4s, box-shadow .4s; }
.fx-pcard:hover { border-color: rgb(226 181 74 / .45); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.fx-pcard-img { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; }
.fx-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fx-ease-out); }
.fx-pcard:hover .fx-pcard-img img { transform: scale(1.06); }
.fx-pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 12 10 / .25), rgb(11 12 10 / .05) 35%, rgb(11 12 10 / .94) 85%); }
.fx-pcard .elementor-heading-title a { color: inherit; text-decoration: none; }
.fx-pcard h3 .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.fx-pcard:hover h3.elementor-heading-title { color: var(--fx-gold-hi) !important; }
.fx-pcard h3 .elementor-heading-title { text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-loop-item:nth-child(1 of .e-loop-item) .fx-pcard h3 .elementor-heading-title { font-size: clamp(24px, 2.2vw, 32px) !important; }
.fx-pcard .fx-tag { min-width: 0; }
.fx-pcard .fx-tag .elementor-heading-title { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-pcard-go .elementor-icon { width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 50%; font-size: 15px !important; color: var(--fx-bone) !important;
  background: rgb(11 12 10 / .5); border: 1px solid var(--fx-glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--fx-ease-out), background-color .3s, color .3s; }
.fx-pcard-go .elementor-icon svg { width: 15px; height: 15px; fill: currentColor; }
.fx-pcard:hover .fx-pcard-go .elementor-icon { background: var(--fx-gold); color: var(--fx-ink-950) !important; transform: rotate(-45deg); }
@media (max-width: 1024px) {
  .fx-bento .elementor-loop-container { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 320px; }
  .fx-bento .e-loop-item:nth-child(1 of .e-loop-item) { grid-row: auto; grid-column: span 2; }
  .fx-bento .e-loop-item:nth-child(4 of .e-loop-item) { grid-column: auto; }
}
@media (max-width: 767px) {
  .fx-bento .elementor-loop-container { grid-template-columns: 1fr !important; grid-auto-rows: 340px; }
  .fx-bento .e-loop-item:nth-child(1 of .e-loop-item) { grid-column: auto; }
}

/* ---------- 9. Final CTA: interactive dot field ---------- */
.fx-field { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; border: 1px solid rgb(226 181 74 / .25);
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 40%), rgb(226 181 74 / .22), transparent 70%), radial-gradient(80% 90% at 50% 120%, rgb(226 181 74 / .18), transparent 70%), var(--fx-ink-900); }
.fx-field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fx-field > .e-con-inner, .fx-field > .elementor-element { position: relative; z-index: 1; }
.fx-field h2 .elementor-heading-title { text-wrap: balance; }
.fx-field .fx-pill .elementor-heading-title { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Shared ---------- */
.fx-words.is-ready .fx-w { opacity: .16; transition: opacity .35s linear; }
.fx-words.is-ready .fx-w.on { opacity: 1; }
.fx-spot { position: relative; overflow: hidden; }
.fx-spot::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--sx, -999px) var(--sy, -999px), rgb(226 181 74 / .14), transparent 45%); }
.fx-spot:hover::before { opacity: 1; }
.fx-parallax { overflow: hidden; }
.fx-parallax img { transform: translateY(calc((var(--p, .5) - .5) * -12%)) scale(1.14); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .fx-in, .fx-float, .fx-ticket-shine, .fx-video-wide .elementor-custom-embed-play svg { animation: none; }
  .fx-parallax img { transform: none; }
  .fx-slider--banner.is-ready > .fx-slide { clip-path: none !important; }
}
@media (max-width: 767px) {
  .fx-frame .fx-chip { display: none !important; }
  .fx-ticket .fx-ticket-big .elementor-heading-title { font-size: 32px !important; white-space: nowrap; }
  .fx-ticket .fx-mono .elementor-heading-title { font-size: 11px !important; letter-spacing: .06em; }
  .fx-proof { flex-wrap: wrap !important; }
}

/* ---------- Section flow: one continuous page (fx.js adds .fx-flowing; reduced motion / no JS = static) ---------- */
.fx-flowing .fx-flow-item { opacity: 0; transform: translate3d(0, 48px, 0); transition: opacity .8s var(--fx-ease-out), transform 1s var(--fx-ease-out); transition-delay: calc(var(--fi, 0) * 90ms); }
.fx-flowing .fx-flow-item.is-in { opacity: 1; transform: none; }
.fx-flowing .fx-field.fx-flow-item, .fx-flowing .fx-offer.fx-flow-item { transform: translate3d(0, 56px, 0) scale(.97); }
.fx-flowing .fx-field.fx-flow-item.is-in, .fx-flowing .fx-offer.fx-flow-item.is-in { transform: none; }

/* ---------- 9. CTA: full-width card, 20px from the left, right and bottom edges ---------- */
.fx-cta-wrap > .fx-field { width: 100%; }
@media (max-width: 1024px) { .fx-field { border-radius: 32px; } }
@media (max-width: 767px) { .fx-field { border-radius: 24px; } }

/* ---------- Footer: big numbered index (main menu) + two small columns ---------- */
/* plain, a step darker than the page + a hairline, so the footer reads as its own band */
.fx-footer { position: relative; overflow: hidden; background: #070806 !important; border-top: 1px solid var(--fx-line); }
.fx-footnav .elementor-nav-menu { counter-reset: fxn; width: 100%; }
.fx-footnav .elementor-nav-menu > li { counter-increment: fxn; border-bottom: 1px solid var(--fx-line); }
.fx-footnav .elementor-nav-menu > li:first-child { border-top: 1px solid var(--fx-line); }
/* number + arrow live on the <li> (Elementor reserves the link's ::before/::after for its pointer effects) */
.fx-footnav .elementor-nav-menu > li { display: flex !important; align-items: center; gap: 18px; }
.fx-footnav .elementor-nav-menu > li::before { content: counter(fxn, decimal-leading-zero); flex: 0 0 auto; font: 500 12px/1 var(--fx-mono); letter-spacing: .08em; color: var(--fx-gold); }
.fx-footnav .elementor-nav-menu > li::after { content: "→"; flex: 0 0 auto; margin-left: auto; font: 400 26px/1 var(--fx-font); color: var(--fx-gold); opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .5s var(--fx-ease-out); }
.fx-footnav .elementor-nav-menu > li:hover::after, .fx-footnav .elementor-nav-menu > li:focus-within::after { opacity: 1; transform: none; }
.fx-footnav .elementor-item { flex: 1 1 auto; font-size: clamp(24px, 2.4vw, 34px) !important; letter-spacing: -.02em; transition: color .3s, transform .5s var(--fx-ease-out) !important; }
.fx-footnav li:hover .elementor-item { transform: translateX(8px); }
.fx-totop .elementor-button { padding: 10px 16px !important; border: 1px solid var(--fx-line-2) !important; border-radius: 999px; color: var(--fx-text) !important; background: transparent !important; }
.fx-totop .elementor-button:hover { border-color: var(--fx-gold) !important; color: var(--fx-gold) !important; }
.fx-totop .elementor-button-icon svg { transition: transform .4s var(--fx-ease-out); }
.fx-totop .elementor-button:hover .elementor-button-icon svg { transform: translateY(-3px); }

/* ==========================================================================
   Academy (course archive, Elementor archive template 618 + Loop "Course Card")
   ========================================================================== */
/* shared inner-page hero (tools/lib/page-hero.php): Academy, About Us, Blog, Contact */
.fx-page-hero { position: relative; isolation: isolate; overflow: hidden; }
.fx-page-hero .fx-market-canvas { opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.fx-page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 70% at 85% 30%, rgb(226 181 74 / .14), transparent 70%), linear-gradient(90deg, var(--fx-ink-950) 20%, rgb(11 12 10 / .4) 60%, transparent); }
.fx-page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent, var(--fx-ink-950)); }
.fx-page-hero-inner { position: relative; z-index: 1; min-height: clamp(440px, 58svh, 560px); }
.fx-page-hero h1 .elementor-heading-title { text-wrap: balance; }
.fx-page-lead { max-width: 640px; }
.fx-crumbs { font: 500 12px/1.4 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute); }
.fx-crumbs a { color: var(--fx-mute); text-decoration: none; transition: color .3s; }
.fx-crumbs a:hover { color: var(--fx-gold); }
.fx-crumbs .breadcrumb_last { color: var(--fx-gold); }
.fx-page-facts { border-radius: 24px; border: 1px solid var(--fx-glass-line); background: linear-gradient(160deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.fx-page-fact + .fx-page-fact { border-top: 1px solid var(--fx-glass-line); }
.fx-page-fact .fx-num .elementor-heading-title { font-family: var(--fx-font) !important; font-weight: 600 !important; letter-spacing: -.03em; }
@media (max-width: 1024px) { .fx-page-hero-inner { min-height: 0; } .fx-page-hero .fx-market-canvas { -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); } }
/* panel hero (no aside): flat near-black band (darker than the page) so the live candlestick chart reads clearly on the
   right; text left; only a neutral hairline below — no gradient fills, gold border or rounding */
.fx-page-hero--panel { background: #050604 !important; border-bottom: 1px solid var(--fx-line); }
.fx-page-hero--panel::before, .fx-page-hero--panel::after { content: none; }
.fx-page-hero--panel .fx-market-canvas { opacity: .95; -webkit-mask-image: linear-gradient(90deg, transparent 48%, #000 64%); mask-image: linear-gradient(90deg, transparent 48%, #000 64%); }
.fx-page-hero--panel .fx-page-hero-inner { min-height: clamp(380px, 50svh, 480px); }
.fx-page-hero--panel .fx-page-hero-main { max-width: 640px; } /* desktop: text in the left half (col width 50%), candles only in the right half */
@media (max-width: 1024px) {
  /* text spans the full width here, so the candles get their own strip under it */
  .fx-page-hero--panel .fx-page-hero-inner { min-height: 0; padding-bottom: 170px !important; }
  .fx-page-hero--panel .fx-market-canvas { inset: auto 0 0; height: 160px; opacity: .85; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 767px) { .fx-page-hero--panel .fx-page-hero-inner { padding-bottom: 140px !important; } .fx-page-hero--panel .fx-market-canvas { height: 130px; } }

.fx-catfilter .e-loop-item[hidden] { display: none !important; }
@keyframes fx-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.fx-catfilter .e-loop-item.is-pop { animation: fx-pop .5s var(--fx-ease-out); }

/* catalog toolbar + pager (built by fx.js catfilter) */
.fx-catbar { min-width: 0; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.fx-sort--order { margin-left: auto; }
.fx-sort--cat select { max-width: min(380px, 70vw); text-overflow: ellipsis; }
.fx-sort { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute); }
.fx-sort select { appearance: none; -webkit-appearance: none; padding: 11px 40px 11px 16px; border-radius: 999px; border: 1px solid var(--fx-line-2); color: var(--fx-bone); cursor: pointer;
  font: 500 14px/1 var(--fx-font); letter-spacing: 0; text-transform: none; transition: border-color .3s;
  background: rgb(255 255 255 / .03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2B54A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
.fx-sort select:hover, .fx-sort select:focus-visible { border-color: var(--fx-gold); }
.fx-sort option { background: var(--fx-ink-900); color: var(--fx-bone); }
.fx-pager { min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-pager-info { margin-right: auto; font: 500 13px/1 var(--fx-mono); color: var(--fx-mute); letter-spacing: .04em; }
.fx-pager .fx-pager-btn, .fx-pager .fx-pager-btn:hover, .fx-pager .fx-pager-btn:focus { min-width: 46px; height: 46px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--fx-line-2);
  background: rgb(255 255 255 / .03) !important; color: var(--fx-text) !important; font: 600 14px/1 var(--fx-font); cursor: pointer; transition: border-color .3s, background-color .3s, color .3s, opacity .3s; }
.fx-pager .fx-pager-btn:hover:not(:disabled) { border-color: var(--fx-gold); color: var(--fx-bone) !important; }
.fx-pager .fx-pager-btn[aria-current="page"] { background: var(--fx-gold) !important; border-color: var(--fx-gold); color: var(--fx-ink-950) !important; }
.fx-pager .fx-pager-btn:disabled { opacity: .3; cursor: default; }
.fx-pager-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-pager-prev svg { transform: rotate(180deg); }
@media (max-width: 767px) {
  .fx-catbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .fx-sort { justify-content: space-between; margin-left: 0; }
  .fx-sort > span { flex: 0 0 84px; }
  .fx-sort select { flex: 1 1 auto; min-width: 0; max-width: none; }
  .fx-pager-info { flex-basis: 100%; text-align: center; margin: 0 0 6px; }
  .fx-pager { justify-content: center; }
}

/* catalog card */
.fx-catalog .e-loop-item { height: 100%; min-width: 0; }
.fx-catalog .elementor-loop-container { grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr)) !important; }
.fx-ccard { position: relative; isolation: isolate; height: 100%; border-radius: 26px; border: 1px solid var(--fx-glass-line);
  background: linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015) 60%), var(--fx-ink-900); transition: border-color .4s, transform .6s var(--fx-ease-out), box-shadow .4s; }
.fx-ccard:hover { border-color: rgb(226 181 74 / .45); transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.fx-ccard { cursor: pointer; } /* fx.js opens the h3 link on a click anywhere on the card */
.fx-ccard > .fx-ccard-body { --flex-grow: 1; flex-grow: 1 !important; }
.fx-ccard-body > .fx-ccard-foot { margin-top: auto !important; } /* date / coach row sits on the card's bottom edge */
.fx-ccard-media { position: relative; overflow: hidden; border-radius: 18px; }
.fx-ccard-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; transition: transform 1.2s var(--fx-ease-out); }
.fx-ccard:hover .fx-ccard-img img { transform: scale(1.05); }
.fx-ccard-price { position: absolute !important; left: 12px; bottom: 12px; width: auto !important; }
.fx-ccard-foot { border-top: 1px solid var(--fx-glass-line); }
.fx-ccard-coach { min-width: 0; }
.fx-ccard-coach .elementor-heading-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-ccard .elementor-heading-title a { color: inherit; text-decoration: none; }
.fx-ccard h3.elementor-heading-title { transition: color .3s; }
.fx-ccard:hover h3.elementor-heading-title, .fx-ccard h3.elementor-heading-title:has(a:focus-visible) { color: var(--fx-gold) !important; }
.fx-ccard:hover .fx-pcard-go .elementor-icon { background: var(--fx-gold); color: var(--fx-ink-950) !important; transform: rotate(-45deg); }
.fx-ccard .fx-pcard-go .elementor-icon { width: 40px; height: 40px; }

/* steps */
.fx-steps > .e-con { flex: 1 1 0; min-height: 300px; }
.fx-step-n .elementor-heading-title { font: 600 44px/1 var(--fx-font) !important; letter-spacing: -.04em !important; }
.fx-step .elementor-widget-button { position: relative; z-index: 3; }
@media (max-width: 1024px) { .fx-steps > .e-con { min-height: 0; flex: 0 0 auto; } }

/* ===================== Course single (tools/build-course-single.php; shortcodes in functions.php) ===================== */
.fx-course-coach .elementor-heading-title::before { content: "Bersama "; color: var(--fx-mute); }
@media (min-width: 768px) { .fx-course-meta .elementor-heading-title::before { content: "·"; margin-right: 12px; color: var(--fx-mute); } }
/* enrol card = the hero's glass aside */
.fx-page-aside { padding: 14px !important; }
.fx-enroll-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.fx-enroll { padding: 20px 10px 4px; }
.fx-enroll-label { margin: 0 0 8px; font: 500 12px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute); }
.fx-enroll-price { margin: 0 0 18px; font: 600 clamp(28px, 3vw, 36px)/1.1 var(--fx-font); letter-spacing: -.03em; color: var(--fx-bone); }
.fx-enroll-price del { margin-left: 8px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--fx-mute); }
.fx-enroll-form { margin: 0; }
.fx-enroll .fx-enroll-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; padding: 17px 24px; border: 0; border-radius: var(--fx-r-pill); cursor: pointer;
  background: var(--fx-gold); color: var(--fx-ink-950) !important; font: 600 15px/1 var(--fx-font); text-decoration: none; transition: background-color .3s, transform .3s var(--fx-ease-out); }
.fx-enroll .fx-enroll-btn:hover { background: var(--fx-gold-hi); transform: translateY(-1px); }
.fx-enroll .fx-enroll-btn:focus-visible { outline: 2px solid var(--fx-gold-hi); outline-offset: 3px; }
.fx-enroll-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-enroll-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--fx-mute); }
.fx-enroll-note a { color: var(--fx-gold); }
.fx-enroll-progress { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .08); overflow: hidden; }
.fx-enroll-progress span { display: block; height: 100%; background: var(--fx-gold); }
.fx-enroll-progress + .fx-enroll-note { margin: 8px 0 18px; text-align: left; }
.fx-enroll-facts { padding: 14px 10px 0; }
.fx-enroll-facts .fx-page-fact:first-child { border-top: 1px solid var(--fx-glass-line); }
.fx-enroll-fact .elementor-heading-title { text-align: right; }
/* benefits checklist */
.fx-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fx-benefits li { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border-radius: var(--fx-r-xl); border: 1px solid var(--fx-glass-line);
  background: linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015)); color: var(--fx-bone); font: 500 17px/1.45 var(--fx-font); }
.fx-benefits svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--fx-gold-a10); fill: none; stroke: var(--fx-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* about: description + poster */
.fx-course-content p { margin: 0 0 1em; }
.fx-course-content p:last-child { margin-bottom: 0; }
.fx-course-poster-img img { display: block; width: 100%; height: auto; border-radius: var(--fx-r-2xl); border: 1px solid var(--fx-glass-line); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.fx-course-poster-cap .elementor-heading-title::before { content: "Bersama "; }
@media (min-width: 1025px) { .fx-course-poster { position: sticky !important; top: calc(var(--fx-header, 68px) + 40px); } }
/* curriculum accordions (native <details>) */
.fx-curriculum { display: flex; flex-direction: column; gap: 12px; }
.fx-topic { overflow: hidden; border-radius: var(--fx-r-xl); border: 1px solid var(--fx-glass-line); background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); transition: border-color .3s; }
.fx-topic[open] { border-color: var(--fx-gold-a24); }
.fx-topic summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; }
.fx-topic summary::-webkit-details-marker { display: none; }
.fx-topic summary:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: -2px; border-radius: var(--fx-r-xl); }
.fx-topic-n { font: 500 13px/1 var(--fx-mono); color: var(--fx-gold); }
.fx-topic-t { font: 600 18px/1.35 var(--fx-font); color: var(--fx-bone); }
.fx-topic-c { font: 500 12px/1 var(--fx-mono); color: var(--fx-mute); white-space: nowrap; }
.fx-topic summary svg { width: 20px; height: 20px; fill: none; stroke: var(--fx-bone); stroke-width: 1.8; stroke-linecap: round; transition: transform .3s var(--fx-ease-out), stroke .3s; }
.fx-topic[open] summary svg { transform: rotate(45deg); stroke: var(--fx-gold); }
.fx-lessons { margin: 0; padding: 0 22px 12px; list-style: none; }
.fx-lesson { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--fx-glass-line);
  color: var(--fx-text); font: 400 15px/1.45 var(--fx-font); text-decoration: none; }
a.fx-lesson { transition: color .3s; }
a.fx-lesson:hover { color: var(--fx-gold); }
.fx-lesson-n { font: 500 12px/1 var(--fx-mono); color: var(--fx-mute); }
.fx-lesson svg { width: 16px; height: 16px; fill: none; stroke: var(--fx-mute); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
  .fx-benefits { grid-template-columns: minmax(0, 1fr); }
  .fx-benefits li { padding: 18px; font-size: 16px; }
  .fx-topic summary { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 6px; padding: 18px; }
  .fx-topic summary svg { grid-column: 3; grid-row: 1; }
  .fx-topic-c { grid-column: 2; grid-row: 2; }
  .fx-topic-t { font-size: 16px; }
  .fx-lessons { padding: 0 18px 8px; }
}

/* ===================== Tutor single course (Tutor's own layout, FINEMA skin) ===================== */
/* One rhythm: 16px between stacked cards, 32px card padding (22px on mobile), 22px inner inset for accordion rows. */
body.single-courses, body.tutor-lms { --tutor-color-primary: var(--fx-gold); --tutor-color-primary-rgb: 226, 181, 74; --tutor-color-primary-hover: var(--fx-gold-hi); --tutor-color-primary-hover-rgb: 240, 203, 110;
  --tutor-body-color: var(--fx-text); --tutor-body-color-rgb: 214, 212, 203; --tutor-color-secondary: var(--fx-text); --tutor-color-subdued: var(--fx-mute); --tutor-color-muted: var(--fx-mute); --tutor-color-hints: var(--fx-mute);
  --tutor-border-color: rgb(255 255 255 / .1); --tutor-border-color-rgb: 255, 255, 255; --tutor-color-gray: rgb(255 255 255 / .12); --tutor-color-gray-10: rgb(255 255 255 / .04);
  --fx-tc-gap: 16px; --fx-tc-pad: 32px; --fx-tc-inset: 22px; }
.tutor-course-details-page { position: relative; isolation: isolate; padding: 56px 40px 96px; font-family: var(--fx-font); }
.tutor-course-details-page::before { content: ""; position: absolute; z-index: -1; inset: -80px 0 auto; height: 560px; pointer-events: none;
  background: radial-gradient(40% 60% at 70% 0%, rgb(226 181 74 / .12), transparent 70%); }
.tutor-course-details-page .tutor-color-black { color: var(--fx-bone) !important; }
.tutor-course-details-page .tutor-color-secondary { color: var(--fx-text) !important; }
.tutor-course-details-page .tutor-color-muted { color: var(--fx-mute) !important; }
/* header: title, category, wishlist / share */
.tutor-course-details-page .tutor-course-details-header { margin-bottom: 32px !important; }
.tutor-course-details-page h1.tutor-course-details-title { margin: 0; font: 600 clamp(36px, 4.4vw, 60px)/1.05 var(--fx-font) !important; letter-spacing: -.035em; text-wrap: balance; }
.tutor-course-details-info { font: 500 12px/1.4 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute); }
.tutor-course-details-info a { color: var(--fx-gold) !important; text-decoration: none; }
.tutor-course-details-actions { display: flex; gap: 10px; }
.tutor-course-details-actions .tutor-btn-ghost { margin: 0 !important; padding: 10px 18px !important; border: 1px solid var(--fx-line-2); border-radius: var(--fx-r-pill); color: var(--fx-bone) !important; font: 500 14px/1 var(--fx-font); transition: border-color .3s, color .3s; }
.tutor-course-details-actions .tutor-btn-ghost:hover { border-color: var(--fx-gold); color: var(--fx-gold) !important; }
.tutor-course-details-actions .tutor-btn-ghost i, .tutor-course-details-actions .tutor-btn-ghost span[class*="tutor-icon"] { color: var(--fx-gold); }
/* media + content cards: same 16px gap under the image as between the cards */
.tutor-course-details-page .tutor-course-thumbnail img, .tutor-course-details-page .tutor-course-thumbnail iframe, .tutor-course-details-page .tutor-video-player { display: block; width: 100%; border-radius: var(--fx-r-2xl); border: 1px solid var(--fx-glass-line); }
.tutor-course-details-page #tutor-course-details-tab-wrapper { margin-top: var(--fx-tc-gap) !important; }
.tutor-course-details-page .tutor-course-details-tab > .tutor-tab { padding-top: 0 !important; }
.tutor-course-details-tab .tutor-tab-item > div { margin: 0 !important; padding: var(--fx-tc-pad); border-radius: var(--fx-r-2xl); border: 1px solid var(--fx-glass-line); background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); }
.tutor-course-details-tab .tutor-tab-item > div + div { margin-top: var(--fx-tc-gap) !important; }
.tutor-course-details-page h2.tutor-fs-5, .tutor-course-details-page h3.tutor-fs-5, .tutor-course-details-widget-title { margin: 0 0 20px !important; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--fx-font) !important; letter-spacing: -.025em; }
.tutor-course-details-content, .tutor-course-details-content p { font-size: 17px; line-height: 1.7; color: var(--fx-text); }
.tutor-course-details-content p:last-child { margin-bottom: 0; }
.tutor-course-details-widget-list li { gap: 12px; align-items: flex-start; color: var(--fx-bone) !important; font-size: 16px; line-height: 1.5; }
.tutor-course-details-widget-list li:last-child { margin-bottom: 0 !important; }
.tutor-course-details-widget-list li .tutor-icon-bullet-point { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 !important; border-radius: 50%; background: var(--fx-gold-a10); font-size: 0 !important; }
.tutor-course-details-widget-list li .tutor-icon-bullet-point::before { content: ""; width: 10px; height: 6px; margin-top: -2px; border: solid var(--fx-gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.tutor-course-details-page .tutor-btn-link, .tutor-course-details-page .tutor-btn-ghost.tutor-btn-sm { color: var(--fx-gold) !important; }
/* curriculum accordion: lesson rows share the header's 22px inset, so icons line up under the topic title and the lock under the chevron */
.tutor-course-details-page .tutor-accordion { margin-top: 0 !important; }
.tutor-course-details-page .tutor-accordion-item { overflow: hidden; margin: 0 0 12px !important; border: 1px solid var(--fx-glass-line); border-radius: var(--fx-r-xl); background: rgb(255 255 255 / .025); transition: border-color .3s; }
.tutor-course-details-page .tutor-accordion-item:last-child { margin-bottom: 0 !important; }
.tutor-course-details-page .tutor-accordion-item:has(.is-active) { border-color: var(--fx-gold-a24); }
.tutor-course-details-page .tutor-accordion-item-header { position: relative; padding: 20px calc(var(--fx-tc-inset) + 32px) 20px var(--fx-tc-inset) !important; background: transparent !important; color: var(--fx-bone) !important; font: 600 18px/1.35 var(--fx-font) !important; }
.tutor-course-details-page .tutor-accordion-item-header.is-active { color: var(--fx-gold) !important; }
.tutor-course-details-page .tutor-accordion-item-header::after { right: var(--fx-tc-inset) !important; color: var(--fx-gold); }
.tutor-course-details-page .tutor-accordion-item-body-content { padding: 0 var(--fx-tc-inset) 6px !important; border: 0 !important; }
.tutor-course-details-page .tutor-course-content-list { margin: 0 !important; padding: 0 !important; list-style: none; }
.tutor-course-details-page .tutor-course-content-list-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 !important; padding: 14px 0 !important; border-top: 1px solid var(--fx-glass-line); background: transparent !important; }
.tutor-course-details-page .tutor-course-content-list-item > div { align-items: center; margin: 0 !important; }
.tutor-course-details-page .tutor-course-content-list-item-icon { flex: none; width: 18px; margin: 0 12px 0 0 !important; color: var(--fx-mute) !important; font-size: 18px; line-height: 1; text-align: left; }
.tutor-course-details-page .tutor-course-content-list-item-title { margin: 0; color: var(--fx-text) !important; font: 400 15px/1.45 var(--fx-font) !important; }
.tutor-course-details-page .tutor-course-content-list-item-title a { color: var(--fx-bone) !important; }
.tutor-course-details-page .tutor-course-content-list-item-title a:hover { color: var(--fx-gold) !important; }
.tutor-course-details-page .tutor-course-content-list-item-status { margin: 0 !important; color: var(--fx-mute) !important; font-size: 16px; line-height: 1; }
/* shortcut: every lesson duration is 00:00 in the imported data; drop this rule once real durations are entered */
.tutor-course-details-page .tutor-course-content-list-item-duration { display: none; }
/* sidebar: sticky glass enrol card + coach, flat (no drop shadows), same 16px gap */
@media (min-width: 1200px) { .tutor-single-course-sidebar { position: sticky; top: calc(var(--fx-header, 68px) + 24px); } }
.tutor-course-details-page .tutor-single-course-sidebar-more { margin-top: var(--fx-tc-gap) !important; }
.tutor-course-details-page .tutor-sidebar-card, .tutor-course-details-instructors { overflow: hidden; border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-2xl) !important; box-shadow: none !important;
  background: linear-gradient(160deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02)) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tutor-course-details-page .tutor-sidebar-card .tutor-card-body { padding: 28px 26px 24px; background: transparent !important; }
.tutor-course-details-page .tutor-sidebar-card .tutor-card-footer { padding: 6px 26px 10px; border-top: 1px solid var(--fx-glass-line); background: transparent; }
.tutor-course-sidebar-card-pricing .tutor-fs-4, .tutor-course-single-pricing .tutor-fs-4 { font: 600 clamp(30px, 3vw, 38px)/1.1 var(--fx-font) !important; letter-spacing: -.03em; color: var(--fx-bone) !important; }
.tutor-course-sidebar-card-pricing del { color: var(--fx-mute) !important; }
.tutor-course-details-page .tutor-sidebar-card .tutor-btn { width: 100%; justify-content: center; min-height: 54px; margin-top: 20px; border-radius: var(--fx-r-pill) !important; font: 600 15px/1 var(--fx-font) !important; }
.tutor-course-details-page .tutor-sidebar-card .tutor-btn-primary { border-color: var(--fx-gold) !important; background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; }
.tutor-course-details-page .tutor-sidebar-card .tutor-btn-primary:hover { border-color: var(--fx-gold-hi) !important; background: var(--fx-gold-hi) !important; }
.tutor-course-details-page .tutor-sidebar-card .tutor-btn-outline-primary { border-color: var(--fx-line-2) !important; background: transparent !important; color: var(--fx-bone) !important; }
.tutor-course-details-page .tutor-sidebar-card .tutor-card-footer li { align-items: center; margin-top: 0 !important; padding: 14px 0; border-bottom: 1px solid var(--fx-glass-line); }
.tutor-course-details-page .tutor-sidebar-card .tutor-card-footer li:last-child { border-bottom: 0; }
.tutor-course-details-page .tutor-sidebar-card .tutor-card-footer li > span[class*="tutor-icon"] { margin-top: 0 !important; color: var(--fx-gold) !important; font-size: 18px; }
.tutor-course-details-page .tutor-sidebar-card .tutor-card-footer li .tutor-fs-6 { color: var(--fx-bone) !important; font-size: 15px; }
.tutor-course-details-page .tutor-progress-bar { background: rgb(255 255 255 / .08); }
.tutor-course-details-page .tutor-progress-value { background: var(--fx-gold); }
.tutor-course-details-instructors { padding: 24px 26px; }
.tutor-course-details-instructors h3 { margin: 0 0 16px !important; font: 500 12px/1 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute) !important; }
.fx-tcoach { gap: 16px; }
.fx-tcoach-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--fx-gold); color: var(--fx-ink-950); font: 600 17px/1 var(--fx-font); }
.fx-tcoach-name { margin: 0; color: var(--fx-bone); font: 600 17px/1.3 var(--fx-font); }
.fx-tcoach-creds { margin: 4px 0 0; color: var(--fx-mute); font: 500 12px/1.4 var(--fx-mono); }
/* Tutor modals (share, login) on dark */
.single-courses .tutor-modal-overlay { background: rgb(5 6 5 / .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.single-courses .tutor-modal-window .tutor-modal-content, .single-courses .tutor-modal-content-white { position: relative; border: 1px solid var(--fx-glass-line); border-radius: var(--fx-r-2xl); background: var(--fx-ink-900) !important; color: var(--fx-text); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8); }
.single-courses .tutor-modal .tutor-modal-close-o { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0 !important; border: 1px solid var(--fx-line-2) !important; border-radius: 50% !important;
  background: transparent !important; color: var(--fx-bone) !important; box-shadow: none !important; font-size: 16px; line-height: 1; transition: border-color .3s, color .3s; }
.single-courses .tutor-modal .tutor-modal-close-o:hover, .single-courses .tutor-modal .tutor-modal-close-o:focus-visible { border-color: var(--fx-gold) !important; color: var(--fx-gold) !important; }
.single-courses .tutor-modal .tutor-form-control { border: 1px solid var(--fx-line-2); background: rgb(255 255 255 / .04); color: var(--fx-bone); }
/* share dialog */
#tutor-course-share-opener .tutor-modal-window { max-width: 520px; }
#tutor-course-share-opener .tutor-modal-body { padding: 32px !important; }
#tutor-course-share-title { margin: 0 0 24px !important; padding-right: 56px; font: 600 24px/1.2 var(--fx-font) !important; letter-spacing: -.02em; color: var(--fx-bone) !important; }
#tutor-course-share-opener .tutor-fs-7.tutor-color-secondary, #tutor-course-share-opener .tutor-fs-6.tutor-fw-medium { margin: 0 0 10px !important; font: 500 12px/1 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute) !important; }
#tutor-course-share-opener .tutor-position-relative { margin-bottom: 28px !important; }
#tutor-course-share-opener .tutor-form-control { height: 52px; padding: 0 60px 0 20px; border-radius: var(--fx-r-pill); font: 400 14px/1 var(--fx-font); text-overflow: ellipsis; }
#tutor-course-share-opener .tutor-copy-text { top: 6px !important; right: 6px !important; display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; font-size: 16px; line-height: 1; box-shadow: none !important; transition: background-color .3s; }
#tutor-course-share-opener .tutor-copy-text:hover { background: var(--fx-gold-hi) !important; }
#tutor-course-share-opener .tutor-copy-text .icon { margin: 0 !important; }
#tutor-course-share-opener .tutor-social-share-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
#tutor-course-share-opener .tutor_share { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 !important; padding: 0 !important; border: 1px solid var(--fx-line-2) !important; border-radius: 50% !important;
  background: rgb(255 255 255 / .04) !important; color: var(--fx-bone) !important; font-size: 18px; line-height: 1; box-shadow: none !important; transition: border-color .3s, color .3s, background-color .3s; }
#tutor-course-share-opener .tutor_share:hover, #tutor-course-share-opener .tutor_share:focus-visible { border-color: var(--fx-gold) !important; background: var(--fx-gold-a10) !important; color: var(--fx-gold) !important; }
#tutor-course-share-opener .tutor_share i { margin: 0 !important; color: inherit !important; font-size: 18px; line-height: 1; }
#tutor-course-share-opener .tutor_share > span:not([aria-hidden]) { display: none; } /* Tutor 4.2.2 wraps the icon in <span aria-hidden> */
#tutor-course-share-opener .tutor_share > span[aria-hidden] { display: contents; }
@media (max-width: 1024px) { .tutor-course-details-page { padding: 40px 32px 72px; } }
@media (max-width: 767px) {
  body.single-courses { --fx-tc-pad: 22px; --fx-tc-inset: 18px; }
  .tutor-course-details-page { padding: 28px 20px 56px; }
  .tutor-course-details-page .tutor-course-details-header { margin-bottom: 24px !important; }
  .tutor-course-details-top > .tutor-row { flex-direction: column; gap: 16px; }
  .tutor-course-details-top .tutor-col-auto { width: 100%; }
  .tutor-course-details-page .tutor-accordion-item-header { padding-top: 18px !important; padding-bottom: 18px !important; font-size: 16px !important; }
  #tutor-course-share-opener .tutor-modal-body { padding: 24px !important; }
}
/* Tutor course page: Info / Ulasan tabs + reviews (Tutor → Settings → Design → Review on) */
.tutor-course-details-page .tutor-course-details-tab .tutor-is-sticky { top: calc(var(--fx-header, 68px) + 12px); z-index: 5; margin-bottom: var(--fx-tc-gap); background: transparent; }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav { display: inline-flex; gap: 4px; margin: 0; padding: 5px; border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-pill);
  background: rgb(18 19 17 / .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); list-style: none; }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav-item { margin: 0; }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav-link { display: block; margin: 0; padding: 11px 22px; border: 0 !important; border-radius: var(--fx-r-pill); color: var(--fx-text) !important; font: 500 15px/1 var(--fx-font); text-decoration: none; transition: background-color .3s, color .3s; }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav-link::before, .tutor-course-details-page .tutor-course-details-tab .tutor-nav-link::after { display: none !important; }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav-link:hover { color: var(--fx-bone) !important; background: rgb(255 255 255 / .05); }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav-link.is-active { background: var(--fx-gold); color: var(--fx-ink-950) !important; font-weight: 600; }
.tutor-course-details-page .tutor-course-details-tab .tutor-nav-link:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 2px; }
/* empty state: text only (Tutor's light illustration doesn't belong on a dark page) */
#tutor-course-details-tab-reviews .tutor-empty-state { padding: 28px 20px !important; border: 1px dashed var(--fx-line-2); border-radius: var(--fx-r-xl); background: rgb(255 255 255 / .02); }
#tutor-course-details-tab-reviews .tutor-empty-state img { display: none; }
#tutor-course-details-tab-reviews .tutor-empty-state > div { color: var(--fx-mute) !important; font-size: 15px; }
#tutor-course-details-tab-reviews .tutor-pagination-wrapper-replaceable > .tutor-row:last-child:not(:has(.tutor-pagination, a, button)) { display: none; }
/* summary + list */
#tutor-course-details-tab-reviews .tutor-card, #tutor-course-details-tab-reviews .tutor-review-summary { border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-xl) !important; background: rgb(255 255 255 / .025) !important; box-shadow: none !important; }
#tutor-course-details-tab-reviews .tutor-review-summary-average-rating { color: var(--fx-bone) !important; font: 600 56px/1 var(--fx-font) !important; letter-spacing: -.04em; }
#tutor-course-details-tab-reviews .tutor-ratings-stars, #tutor-course-details-tab-reviews .tutor-individual-star-rating, #tutor-course-details-tab-reviews [class*="tutor-icon-star"] { color: var(--fx-gold) !important; }
#tutor-course-details-tab-reviews .tutor-ratings-progress-bar .tutor-progress-bar { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .08); }
#tutor-course-details-tab-reviews .tutor-ratings-progress-bar .tutor-progress-value { border-radius: 99px; background: var(--fx-gold); }
#tutor-course-details-tab-reviews .tutor-total-rating-count, #tutor-course-details-tab-reviews .tutor-reviewed-on { color: var(--fx-mute) !important; font: 500 12px/1.4 var(--fx-mono) !important; }
#tutor-course-details-tab-reviews .tutor-card-list-item, #tutor-course-details-tab-reviews .tutor-review-list-item { border-color: var(--fx-glass-line) !important; background: transparent !important; }
#tutor-course-details-tab-reviews .tutor-reviewer-name { color: var(--fx-bone) !important; font-weight: 600; }
#tutor-course-details-tab-reviews .tutor-review-comment { color: var(--fx-text) !important; line-height: 1.65; }
#tutor-course-details-tab-reviews .tutor-badge-label { border-radius: var(--fx-r-pill); }
/* write / edit review (enrolled students) */
.tutor-course-details-page .tutor-course-enrolled-review-wrap .write-course-review-link-btn, .tutor-course-details-page .tutor_submit_review_btn { min-height: 48px; padding: 0 24px; border-radius: var(--fx-r-pill) !important; border-color: var(--fx-gold) !important; background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; font: 600 15px/1 var(--fx-font) !important; }
.tutor-course-details-page .tutor-write-review-form textarea { min-height: 140px; padding: 16px 18px; border: 1px solid var(--fx-line-2) !important; border-radius: var(--fx-r-lg); background: rgb(255 255 255 / .04) !important; color: var(--fx-bone) !important; font: 400 15px/1.6 var(--fx-font); }
.tutor-course-details-page .tutor-write-review-form textarea:focus { border-color: var(--fx-gold) !important; outline: none; box-shadow: 0 0 0 3px var(--fx-gold-a10); }
.tutor-course-details-page .tutor-ratings-selectable [class*="tutor-icon-star"] { color: var(--fx-gold) !important; font-size: 24px; }
@media (max-width: 767px) {
  .tutor-course-details-page .tutor-course-details-tab .tutor-nav { display: flex; }
  .tutor-course-details-page .tutor-course-details-tab .tutor-nav-item { flex: 1; }
  .tutor-course-details-page .tutor-course-details-tab .tutor-nav-link { text-align: center; }
}
.tutor-course-details-page .tutor-course-details-ratings { margin-bottom: 14px; }
.tutor-course-details-page .tutor-course-details-ratings .tutor-ratings-stars { display: flex; gap: 4px; color: var(--fx-gold) !important; font-size: 16px; }

/* ===================== About Us (tools/build-about.php) ===================== */
/* Dua cara belajar: two equal glass cards, visual on top */
@media (min-width: 1025px) { .fx-offers > .e-con { flex: 1 1 0; min-width: 0; } }
.fx-offer { border-radius: var(--fx-r-2xl); }
.fx-offer-img img, .fx-offer-visual { width: 100%; aspect-ratio: 16 / 9; border-radius: calc(var(--fx-r-2xl) - 8px); }
.fx-offer-img img { display: block; object-fit: cover; }
.fx-offer-visual { position: relative; overflow: hidden; border: 1px solid var(--fx-glass-line);
  background: radial-gradient(60% 80% at 50% 0%, rgb(226 181 74 / .16), transparent 70%), rgb(255 255 255 / .02); }
.fx-avatars--lg .fx-avatar { width: 76px !important; max-width: 76px !important; flex-basis: 76px !important; height: 76px; margin-left: -18px !important; border-width: 3px; }
.fx-avatars--lg .fx-avatar:first-child { margin-left: 0 !important; }
.fx-offer-visual > .fx-avatars { width: auto !important; flex: none !important; }
.fx-offer-visual > .elementor-widget { flex: none !important; } /* Home rule .fx-avatars + .elementor-widget would stretch the caption */
.fx-offer-visual-cap .elementor-heading-title { color: var(--fx-mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fx-offer-body { flex: 1 1 auto; }
.fx-offer-body > .e-con:last-child { margin-top: auto; }
/* Nilai kami: 4 → 2 → 1 */
.fx-values { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-value { min-height: 260px; }
/* Trading coach: 5 → 3 → 2 */
.fx-coach-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fx-coach-card { border-radius: var(--fx-r-xl); }
.fx-coach-card .fx-coach img { aspect-ratio: 4 / 5; transform: scale(1.25); } /* 486px-wide cover window / 1.25 = left 389px of the 1080px poster: coach, no old price */
.fx-coach-card:hover .fx-coach img { transform: scale(1.3); }
.fx-coach--cfd img { object-position: 25% 0; transform-origin: 0 0 !important; } /* CFD poster: coach further right, no price */
.fx-coach-creds .elementor-heading-title { color: var(--fx-mute); font-size: 12px; line-height: 1.45; }
.fx-coach-count .elementor-heading-title { color: var(--fx-gold); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 1024px) {
  .fx-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-coach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fx-values { grid-template-columns: 1fr; }
  .fx-value { min-height: 0; }
  .fx-coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
  .fx-avatars--lg .fx-avatar { width: 58px !important; max-width: 58px !important; flex-basis: 58px !important; height: 58px; margin-left: -14px !important; }
}

/* ===================== Blog (tools/build-blog.php): archive 531, single 547, Loop · Blog Card ===================== */
/* card: a post can sit in several categories; keep the tag to one line (fx.js still reads the full text for the filter) */
.fx-bcard .fx-ccard-cat { min-width: 0; max-width: 100%; }
.fx-bcard .fx-ccard-cat .elementor-heading-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-bcard h3 .elementor-heading-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
/* single: header */
/* single: title block mirrors the TutorLMS course header (same top spacing, glow, title size; no candle canvas) */
.fx-post-head { position: relative; isolation: isolate; }
.fx-post-head::before { content: ""; position: absolute; z-index: -1; inset: -80px 0 auto; height: 560px; pointer-events: none; background: radial-gradient(40% 60% at 70% 0%, rgb(226 181 74 / .12), transparent 70%); }
.fx-post-title .elementor-heading-title { max-width: 24ch; text-wrap: balance; font-size: clamp(36px, 4.4vw, 60px) !important; line-height: 1.05 !important; letter-spacing: -.035em !important; }
.fx-post-meta .elementor-heading-title { color: var(--fx-mute); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
/* single: body */
.fx-post-img img { display: block; width: 100%; height: auto; border-radius: var(--fx-r-2xl); border: 1px solid var(--fx-glass-line); }
.fx-post-content { max-width: none; }
.fx-post-content :is(h2, h3) { scroll-margin-top: calc(var(--fx-header, 68px) + 24px); letter-spacing: -.02em; }
.fx-post-content h2 { font-size: clamp(24px, 2.4vw, 30px); }
.fx-post-content h3 { font-size: clamp(20px, 2vw, 23px); }
.fx-post-content :is(ul, ol) { padding-left: 1.3em; }
.fx-post-content li { margin-bottom: .4em; }
.fx-post-content li::marker { color: var(--fx-gold); }
.fx-post-content strong { color: var(--fx-bone); }
.fx-post-content img { height: auto; border: 1px solid var(--fx-glass-line); }
.fx-post-content figure { max-width: 100%; }
.fx-post-content figcaption { margin-top: 8px; color: var(--fx-mute); font-size: 14px; text-align: center; }
.fx-post-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fx-post-content :is(th, td) { padding: 10px 12px; border: 1px solid var(--fx-glass-line); text-align: left; }
.fx-post-content th { background: rgb(255 255 255 / .04); color: var(--fx-bone); }
.fx-post-share { border-top: 1px solid var(--fx-glass-line); }
.fx-post-share-label .elementor-heading-title { color: var(--fx-mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fx-share .elementor-grid { gap: 8px; display: flex !important; flex-wrap: wrap; }
.fx-share .elementor-share-btn { width: 44px !important; height: 44px !important; border: 1px solid var(--fx-line-2); border-radius: 50% !important; background: rgb(255 255 255 / .04) !important; color: var(--fx-bone) !important; transition: border-color .3s, color .3s, background-color .3s; }
.fx-share .elementor-share-btn:hover { border-color: var(--fx-gold); background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; }
.fx-share .elementor-share-btn__icon { width: 100% !important; color: inherit !important; background: none !important; }
.fx-share .elementor-share-btn__icon i { font-size: 16px; color: inherit; }
.fx-share .elementor-share-btn__icon svg { width: 16px; height: 16px; fill: currentColor; }
/* single: sidebar (sticky on desktop) */
@media (min-width: 1025px) { .fx-post-aside { position: sticky; top: calc(var(--fx-header, 68px) + 24px); } }
.fx-post-side { border-radius: var(--fx-r-2xl); }
.fx-toc, .fx-toc .elementor-toc { border: 0 !important; background: transparent !important; padding: 0 !important; }
.fx-toc .elementor-toc__toggle-button svg { width: 14px; height: 14px; fill: currentColor; }
.fx-toc .elementor-toc__header { padding: 0 0 14px !important; border-bottom: 1px solid var(--fx-glass-line) !important; }
.fx-toc .elementor-toc__header-title { color: var(--fx-mute) !important; font: 500 12px/1 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
.fx-toc .elementor-toc__toggle-button { color: var(--fx-gold) !important; }
.fx-toc .elementor-toc__body { max-height: min(52vh, 460px); overflow-y: auto; padding: 14px 4px 0 0 !important; scrollbar-width: thin; scrollbar-color: var(--fx-line-2) transparent; }
.fx-toc .elementor-toc__list-wrapper { margin: 0; padding-left: 1.4em; }
.fx-toc .elementor-toc__list-item { margin-bottom: 10px; color: var(--fx-mute); font-size: 14px; line-height: 1.45; }
.fx-toc .elementor-toc__list-item::marker { color: var(--fx-mute); font: 500 12px var(--fx-mono); }
.fx-toc .elementor-toc__list-item-text { color: var(--fx-text) !important; text-decoration: none !important; transition: color .2s; }
.fx-toc .elementor-toc__list-item-text:hover, .fx-toc .elementor-toc__list-item-text.elementor-item-active { color: var(--fx-gold) !important; }
.fx-post-cta { background: radial-gradient(80% 70% at 100% 0%, rgb(226 181 74 / .14), transparent 70%), linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .02)) !important; }
.fx-post-cta .fx-tag { align-self: flex-start; width: auto !important; }
@media (max-width: 767px) {
  .fx-post-img img { border-radius: var(--fx-r-xl); }
  .fx-post-share { flex-direction: column !important; align-items: flex-start !important; }
}
/* the sidebar stacks under the article below 1025px, where a table of contents no longer helps */
@media (max-width: 1024px) { .fx-post-toc { display: none !important; } }
.category .fx-catbar:has(+ .fx-postfilter) .fx-sort--cat { display: none; } /* a category page is already filtered */

/* ===================== Contact (tools/build-contact.php, page 24) ===================== */
.fx-channel { border-radius: var(--fx-r-xl); transition: border-color .3s; }
.fx-channel:hover { border-color: var(--fx-gold-a24); }
.fx-channel:hover .fx-why-icon .elementor-icon { background: var(--fx-gold); color: var(--fx-ink-950) !important; }
.fx-channel > .fx-why-icon { flex: none; width: auto !important; }
.fx-channel-body { min-width: 0; flex: 1 1 auto; }
.fx-channel-label .elementor-heading-title { color: var(--fx-mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fx-channel-value .elementor-heading-title { overflow-wrap: anywhere; }
.fx-channel-value a { color: inherit; text-decoration: none; }
.fx-channel-value a::after { content: ""; position: absolute; inset: 0; } /* whole card clicks through */
.fx-channel { position: relative; }
.fx-channel .elementor-element { position: static; }
.fx-form-card { border-radius: var(--fx-r-2xl); }
@media (min-width: 1025px) { .fx-form-card { position: sticky !important; top: calc(var(--fx-header, 68px) + 24px); } }
/* form */
.fx-form .elementor-form-fields-wrapper { row-gap: 18px; }
.fx-form .elementor-field-label { margin-bottom: 8px !important; color: var(--fx-mute) !important; font: 500 12px/1.2 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
.fx-form .elementor-field-textual, .fx-form .elementor-select-wrapper select { min-height: 52px; padding: 14px 18px !important; border: 1px solid var(--fx-line-2) !important; border-radius: var(--fx-r-lg) !important;
  background: rgb(255 255 255 / .04) !important; color: var(--fx-bone) !important; font: 400 15px/1.4 var(--fx-font) !important; transition: border-color .3s, background-color .3s; }
.fx-form textarea.elementor-field-textual { min-height: 150px; resize: vertical; }
.fx-form .elementor-field-textual::placeholder { color: var(--fx-mute); opacity: 1; }
.fx-form .elementor-field-textual:hover, .fx-form .elementor-select-wrapper select:hover { border-color: rgb(255 255 255 / .22) !important; }
.fx-form .elementor-field-textual:focus, .fx-form .elementor-select-wrapper select:focus { outline: none; border-color: var(--fx-gold) !important; background: rgb(255 255 255 / .06) !important; box-shadow: 0 0 0 3px var(--fx-gold-a10); }
.fx-form .elementor-select-wrapper::before { color: var(--fx-gold) !important; right: 18px !important; }
.fx-form .elementor-select-wrapper select option { background: var(--fx-ink-900); color: var(--fx-bone); }
.fx-form .elementor-button { min-height: 54px; border-radius: var(--fx-r-pill) !important; background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; font: 600 15px/1 var(--fx-font) !important; transition: background-color .3s, transform .3s var(--fx-ease-out); }
.fx-form .elementor-button:hover { background: var(--fx-gold-hi) !important; transform: translateY(-1px); }
.fx-form .elementor-button:focus-visible { outline: 2px solid var(--fx-gold-hi); outline-offset: 3px; }
.fx-form .elementor-message { margin-top: 14px; font: 500 14px/1.5 var(--fx-font); }
.fx-form .elementor-message-success { color: #7FD49B; }
.fx-form .elementor-message-danger, .fx-form .elementor-error .elementor-message { color: #FF8A80; }
.fx-form .elementor-error .elementor-field-textual { border-color: #FF8A80 !important; }
/* map: dark-tinted embed in a rounded frame */
.fx-map { overflow: hidden; border-radius: var(--fx-r-2xl); border: 1px solid var(--fx-glass-line); }
.fx-map iframe { display: block; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95); }
@media (max-width: 767px) { .fx-map { border-radius: var(--fx-r-xl); } }

/* ===================== Private Class (tools/build-private-class.php) ===================== */
.fx-pc-visual { border-radius: var(--fx-r-2xl); }
.fx-pc-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--fx-r-2xl) - 8px); }
.fx-pc-visual .fx-avatars { width: auto !important; flex: none !important; }
.fx-pc-cap .elementor-heading-title { color: var(--fx-mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fx-pc-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-pc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-pc-card, .fx-pc-step { min-height: 250px; }
.fx-pc-card--note { border-color: var(--fx-gold-a24); }
.fx-pc-topics > .e-con { flex: 1 1 0; min-width: 0; }
.fx-pc-topic { border-radius: var(--fx-r-2xl); }
.fx-pc-topic .fx-tag { flex: none; width: auto !important; }
.fx-pc-topic > .e-con:last-child:has(.elementor-widget-button) { margin-top: auto; }
.fx-pc-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fx-pc-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--fx-text); font-size: 15px; line-height: 1.5; }
.fx-pc-list svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--fx-gold-a10); fill: none; stroke: var(--fx-gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-benefits--one { grid-template-columns: 1fr; }
@media (max-width: 1024px) {
  .fx-pc-grid, .fx-pc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-pc-topics > .e-con { flex: none; }
}
@media (max-width: 767px) {
  .fx-pc-grid, .fx-pc-grid--4 { grid-template-columns: 1fr; }
  .fx-pc-card, .fx-pc-step { min-height: 0; }
}

/* ===================== Commerce & LMS skin (cart, checkout, order received, my account, Tutor login/dashboard/lesson) ===================== */
/* Markup is WooCommerce's (cart/checkout blocks, classic account + order templates) and Tutor's own; only the look changes here.
   Page head + step bar come from functions.php (the_content filter). */
body.woocommerce-cart .site-main, body.woocommerce-checkout .site-main, body.woocommerce-account .site-main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px 112px; }
@media (max-width: 1024px) { body.woocommerce-cart .site-main, body.woocommerce-checkout .site-main, body.woocommerce-account .site-main { padding: 0 32px 88px; } }
@media (max-width: 767px)  { body.woocommerce-cart .site-main, body.woocommerce-checkout .site-main, body.woocommerce-account .site-main { padding: 0 20px 72px; } }

.fx-shop-head { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin: 0 0 40px; padding: 64px 0 32px; border-bottom: 1px solid var(--fx-line); }
.fx-shop-head::before { content: ""; position: absolute; z-index: -1; inset: -40px 0 auto auto; width: 60%; height: 320px; pointer-events: none; background: radial-gradient(50% 60% at 70% 20%, rgb(226 181 74 / .10), transparent 70%); }
.fx-shop-head-main { display: grid; gap: 16px; max-width: 640px; }
.fx-shop-head .fx-pill { margin: 0; }
.fx-shop-title { margin: 0; font: 400 clamp(36px, 4.4vw, 56px)/1.05 var(--fx-font); letter-spacing: -.035em; color: var(--fx-bone); }
.fx-shop-lead { margin: 0; color: var(--fx-text); font-size: 17px; line-height: 1.6; }
.fx-buysteps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fx-buysteps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--fx-line); border-radius: var(--fx-r-pill); color: var(--fx-mute); font: 500 13px/1 var(--fx-font); }
.fx-buysteps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / .06); font: 500 11px/1 var(--fx-mono); }
.fx-buysteps li.is-done { color: var(--fx-text); }
.fx-buysteps li.is-done span { background: var(--fx-gold-a24); color: var(--fx-gold); }
.fx-buysteps li.is-current { border-color: var(--fx-gold-a24); background: var(--fx-gold-a10); color: var(--fx-bone); }
.fx-buysteps li.is-current span { background: var(--fx-gold); color: var(--fx-ink-950); }
@media (max-width: 767px) {
  .fx-shop-head { padding: 40px 0 24px; margin-bottom: 28px; gap: 24px; }
  .fx-buysteps { width: 100%; gap: 6px; }
  .fx-buysteps li { flex: 1 1 0; justify-content: center; padding: 6px 10px 6px 6px; font-size: 12px; gap: 6px; }
  .fx-buysteps li span { width: 22px; height: 22px; }
}

/* --- shared surfaces: glass card, inputs, buttons, notices --- */
.wc-block-cart__main, .wc-block-cart__sidebar, .wc-block-checkout__sidebar,
.woocommerce-account .woocommerce form.login, .woocommerce-account .woocommerce form.register, .woocommerce-MyAccount-content, .woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details,
.woocommerce-order .woocommerce-bacs-bank-details, .tutor-login-wrap.tutor-card {
  border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-2xl) !important; background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)) !important; box-shadow: none !important; }

.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input, .wc-block-components-totals-coupon input,
.woocommerce form .input-text, .woocommerce form select, .tutor-form-control {
  border: 1px solid var(--fx-line-2) !important; border-radius: var(--fx-r) !important; background: var(--fx-ink-800) !important; color: var(--fx-bone) !important; box-shadow: none !important; font-family: var(--fx-font) !important; transition: border-color var(--fx-fast); }
.wc-block-components-text-input input:focus, .wc-block-components-textarea:focus, .wc-blocks-components-select .wc-blocks-components-select__select:focus, .wc-block-components-combobox input:focus,
.woocommerce form .input-text:focus, .tutor-form-control:focus { border-color: var(--fx-gold) !important; outline: 0; box-shadow: 0 0 0 3px var(--fx-gold-a24) !important; }
.wc-block-components-text-input label, .wc-blocks-components-select .wc-blocks-components-select__label, .wc-block-components-combobox .components-base-control__label { color: var(--fx-mute) !important; }
.wc-blocks-components-select .wc-blocks-components-select__container { border-radius: var(--fx-r); background: transparent !important; }
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--fx-mute); }
.tutor-form-control::placeholder, .woocommerce form .input-text::placeholder { color: var(--fx-mute); opacity: 1; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox], .wc-block-components-radio-control__input, .woocommerce form input[type=checkbox], .tutor-form-check-input {
  border-color: var(--fx-line-2) !important; background-color: var(--fx-ink-800) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked, .tutor-form-check-input:checked { border-color: var(--fx-gold) !important; background-color: var(--fx-gold) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--fx-ink-950); }
.wc-block-components-radio-control__input:checked { border-color: var(--fx-gold) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--fx-gold) !important; }

/* buttons: gold pill, black text; secondary = outline pill */
.wc-block-components-button:not(.is-link), .woocommerce-account .woocommerce .button, .woocommerce-order .button, .tutor-login-wrap .tutor-btn-primary, .tutor-disabled-wrapper .tutor-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px !important; border: 1px solid var(--fx-gold) !important; border-radius: var(--fx-r-pill) !important; background: var(--fx-gold) !important; color: var(--fx-ink-950) !important;
  font: 600 15px/1 var(--fx-font) !important; text-decoration: none !important; box-shadow: none !important; transition: background var(--fx-fast), border-color var(--fx-fast); }
.wc-block-components-button:not(.is-link):hover, .woocommerce-account .woocommerce .button:hover, .woocommerce-order .button:hover, .tutor-login-wrap .tutor-btn-primary:hover, .tutor-disabled-wrapper .tutor-btn-primary:hover { border-color: var(--fx-gold-hi) !important; background: var(--fx-gold-hi) !important; }
.wc-block-components-button:not(.is-link):focus-visible, .tutor-btn:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 3px; }
.wc-block-components-button .wc-block-components-button__text { color: inherit; }
.wc-block-components-button.is-link, .wc-block-components-checkout-return-to-cart-button, .wc-block-components-totals-coupon-link,
.woocommerce-MyAccount-content a:not(.button), .woocommerce-account .woocommerce form a, .woocommerce-order a:not(.button), .tutor-login-wrap a { color: var(--fx-gold) !important; }

/* notices: a tinted row with no border (they often sit inside a card already), icon and button centred on the text line */
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error {
  display: flex !important; align-items: center; gap: 16px; flex-wrap: nowrap; position: relative; margin: 0 0 12px !important; padding: 14px 14px 14px 52px !important;
  border: 0 !important; border-radius: var(--fx-r-lg) !important; background: rgb(255 255 255 / .04) !important; color: var(--fx-text) !important; font-size: 15px; line-height: 1.5; }
.woocommerce-message, .wc-block-components-notice-banner.is-success { background: var(--fx-gold-a10) !important; }
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: rgb(229 87 79 / .12) !important; }
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus, .wc-block-components-notice-banner:focus { outline: 0; } /* WooCommerce focuses the notice (tabindex -1); role="alert" still announces it */
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { position: absolute !important; top: 50% !important; left: 20px !important; margin: 0 !important; transform: translateY(-50%); color: var(--fx-gold) !important; }
.woocommerce-error::before { color: var(--fx-down) !important; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { float: none !important; order: 2; margin: 0 0 0 auto !important; min-height: 40px !important; padding: 0 20px !important; font-size: 14px !important; }
.woocommerce-error li { display: flex; flex: 1 1 100%; flex-wrap: nowrap; align-items: center; gap: 16px; margin: 0; }
.woocommerce-error li + li { margin-top: 6px; }
.wc-block-components-notice-banner { padding-left: 16px !important; }
.wc-block-components-notice-banner > svg { flex: none; border-radius: 50%; background: var(--fx-gold) !important; fill: var(--fx-ink-950) !important; }
.wc-block-components-notice-banner.is-error > svg { background: var(--fx-down) !important; fill: #fff !important; }
.woocommerce-notices-wrapper:not(:empty) { margin-bottom: 20px; }
.woocommerce-notices-wrapper > :last-child { margin-bottom: 0 !important; }

/* --- cart block --- */
.wc-block-cart .wc-block-cart__main { padding: 8px 28px 12px !important; }
.wc-block-cart__sidebar { align-self: flex-start; padding: 8px 26px 26px !important; }
.wc-block-cart .wc-block-cart__main { align-self: flex-start; }
.wc-block-cart__payment-options:empty { display: none; }
.wc-block-cart-items__header th, .wc-block-cart .wc-block-cart__totals-title { padding: 18px 0 !important; border-color: var(--fx-line) !important; color: var(--fx-mute) !important; font: 500 12px/1 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
.wc-block-cart-items td, .wc-block-cart-items th, .wc-block-cart-items { border-color: var(--fx-line) !important; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: var(--fx-r) !important; aspect-ratio: 1; object-fit: cover; }
.wc-block-components-product-name { color: var(--fx-bone) !important; font: 600 17px/1.35 var(--fx-font) !important; text-decoration: none !important; }
.wc-block-components-product-name:hover { color: var(--fx-gold) !important; }
.wc-block-cart-item__prices, .wc-block-components-product-metadata { color: var(--fx-mute); font-size: 14px; }
.wc-block-cart-item__remove-link { color: var(--fx-mute) !important; transition: color var(--fx-fast); }
.wc-block-cart-item__remove-link:hover { color: var(--fx-down) !important; }
.wc-block-cart-item__total .wc-block-components-product-price__value, .wc-block-components-totals-item__value { color: var(--fx-bone); font-weight: 600; }
.wc-block-components-quantity-selector { border-color: var(--fx-line-2) !important; border-radius: var(--fx-r-pill) !important; }
.wc-block-components-quantity-selector::after { display: none; }
.wc-block-components-quantity-selector input, .wc-block-components-quantity-selector button { background: transparent !important; color: var(--fx-bone) !important; }
.wc-block-components-totals-wrapper { border-color: var(--fx-line) !important; }
.wc-block-components-totals-item__label { color: var(--fx-text); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--fx-bone); font: 600 20px/1.2 var(--fx-font) !important; letter-spacing: -.02em; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--fx-gold); }
.wc-block-cart__submit { margin: 8px 0 0 !important; }
.wc-block-cart__submit-button { width: 100%; }
.wc-block-components-panel__button { color: var(--fx-text) !important; font: 500 14px/1.3 var(--fx-font) !important; }
.wc-block-components-panel__button-icon { fill: currentColor; }

/* empty cart: the big sad face becomes a gold glass badge */
.wc-block-cart__empty-cart__title { margin: 24px 0 8px !important; color: var(--fx-bone) !important; font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--fx-font) !important; letter-spacing: -.025em; }
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before { width: 88px !important; height: 88px !important; margin: 0 auto 24px !important; border: 1px solid var(--fx-gold-a24); border-radius: 50%;
  -webkit-mask: none !important; mask: none !important;
  background: var(--fx-gold-a10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2B54A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.2'/%3E%3Ccircle cx='17' cy='20' r='1.2'/%3E%3C/svg%3E") center / 38px no-repeat !important; }
.wp-block-woocommerce-empty-cart-block > .wp-block-separator { width: 120px; margin: 48px auto !important; border-color: var(--fx-line) !important; opacity: 1; }
.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { margin: 0 0 24px !important; color: var(--fx-bone); font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--fx-font) !important; letter-spacing: -.025em; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product { padding: 14px !important; border: 1px solid var(--fx-glass-line); border-radius: var(--fx-r-xl); background: rgb(255 255 255 / .03); }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img { border-radius: var(--fx-r); }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title { color: var(--fx-bone); font: 600 15px/1.35 var(--fx-font); }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price { color: var(--fx-gold); }

/* --- checkout block --- */
.wc-block-checkout__main .wc-block-components-checkout-step { margin: 0 0 16px !important; padding: 28px !important; border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-2xl) !important; background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)) !important; }
.wc-block-components-checkout-step__heading { margin: 0 0 16px !important; }
.wc-block-components-checkout-step__title { color: var(--fx-bone) !important; font: 600 20px/1.25 var(--fx-font) !important; letter-spacing: -.02em; }
.wc-block-components-checkout-step__description { color: var(--fx-mute) !important; }
.wc-block-components-checkout-step::after, .wc-block-components-checkout-step__container::after { display: none !important; }
.wc-block-checkout__sidebar { padding: 24px 26px !important; }
.wc-block-checkout__sidebar .wc-block-components-sidebar-layout__sidebar { border: 0 !important; background: none !important; padding: 0 !important; }
.wc-block-components-checkout-order-summary__title-text { color: var(--fx-bone) !important; font: 600 20px/1.25 var(--fx-font) !important; }
.wc-block-components-order-summary-item__quantity { border: 0 !important; background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; box-shadow: none !important; font: 600 11px/1 var(--fx-mono); }
.wc-block-components-order-summary-item__description, .wc-block-components-order-summary-item__total-price { color: var(--fx-text); }
.wc-block-components-radio-control--highlight-checked, .wc-block-components-radio-control-accordion-option { border: 1px solid var(--fx-line-2) !important; border-radius: var(--fx-r-xl) !important; background: var(--fx-ink-900) !important; box-shadow: none !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option { border: 0 !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { border-radius: var(--fx-r-xl) !important; box-shadow: none !important; }
.wc-block-components-radio-control--highlight-checked::after { display: none !important; }
.wc-block-components-radio-control__label { color: var(--fx-bone); font-weight: 600; }
.wc-block-components-radio-control-accordion-content { color: var(--fx-text); }
.wc-block-checkout__terms, .wc-block-checkout__add-note { color: var(--fx-mute); }
.wc-block-components-checkout-place-order-button { min-width: 220px; }

/* --- order received (invoice) --- */
.woocommerce-order { display: grid; gap: 24px; }
.woocommerce-order > p.woocommerce-notice { margin: 0 !important; padding: 18px 22px !important; font-size: 16px; }
ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 0; margin: 0 !important; padding: 0 !important; overflow: hidden; border: 1px solid var(--fx-glass-line); border-radius: var(--fx-r-2xl); list-style: none; }
ul.woocommerce-order-overview::before, ul.woocommerce-order-overview::after { display: none !important; }
ul.woocommerce-order-overview li { float: none !important; margin: 0 !important; padding: 20px 22px !important; border: 0 !important; border-right: 1px solid var(--fx-line) !important; color: var(--fx-mute); font: 500 11px/1.4 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
ul.woocommerce-order-overview li:last-child { border-right: 0 !important; }
ul.woocommerce-order-overview li strong { display: block; margin-top: 8px; color: var(--fx-bone); font: 600 16px/1.35 var(--fx-font) !important; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details, .woocommerce-order .woocommerce-bacs-bank-details { margin: 0 !important; padding: 28px !important; }
.woocommerce-order h2, .woocommerce-order h3, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce-account .woocommerce h2 { margin: 0 0 18px !important; color: var(--fx-bone); font: 600 22px/1.25 var(--fx-font) !important; letter-spacing: -.02em; }
.woocommerce-bacs-bank-details ul.bacs_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 16px !important; padding: 0 !important; list-style: none; }
.woocommerce-bacs-bank-details ul.bacs_details li { margin: 0 !important; padding: 14px 16px; border: 1px solid var(--fx-line); border-radius: var(--fx-r-lg); color: var(--fx-mute); font: 500 11px/1.4 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; }
.woocommerce-bacs-bank-details ul.bacs_details li strong { display: block; margin-top: 6px; color: var(--fx-gold); font: 600 17px/1.3 var(--fx-font); letter-spacing: 0; text-transform: none; }
.woocommerce table.shop_table { margin: 0 !important; border: 0 !important; border-collapse: collapse; background: transparent !important; color: var(--fx-text); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 0 !important; border: 0 !important; border-top: 1px solid var(--fx-line) !important; background: transparent !important; }
.woocommerce table.shop_table thead th { border-top: 0 !important; color: var(--fx-mute); font: 500 12px/1 var(--fx-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
.woocommerce-customer-details address { padding: 0 !important; border: 0 !important; color: var(--fx-text); font-style: normal; line-height: 1.7; }

/* --- my account: login/register + account nav --- */
.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
.woocommerce-account .u-columns.col2-set::before, .woocommerce-account .u-columns.col2-set::after { display: none; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { float: none; width: auto; }
.woocommerce-account .woocommerce form.login, .woocommerce-account .woocommerce form.register { margin: 0 !important; padding: 32px !important; }
.woocommerce-account .woocommerce form .form-row { margin: 0 0 18px; padding: 0; }
.woocommerce-account .woocommerce form .form-row label { margin-bottom: 8px; color: var(--fx-text); font-size: 14px; }
.woocommerce-account .woocommerce form .input-text { height: 52px; padding: 0 16px; }
.woocommerce-account .woocommerce form .required { color: var(--fx-gold); }
.woocommerce-account .woocommerce .woocommerce-privacy-policy-text, .woocommerce-account .woocommerce form.register > p:not(.form-row) { color: var(--fx-mute); font-size: 14px; }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; color: var(--fx-text); }
.woocommerce-account .woocommerce form .button { margin-top: 6px; }
.woocommerce-account .woocommerce-MyAccount-navigation { width: 26% !important; }
.woocommerce-account .woocommerce-MyAccount-content { width: 70% !important; padding: 32px !important; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-radius: var(--fx-r-pill); color: var(--fx-text) !important; text-decoration: none; transition: background var(--fx-fast), color var(--fx-fast); }
.woocommerce-MyAccount-navigation li a:hover { background: rgb(255 255 255 / .05); color: var(--fx-bone) !important; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--fx-gold-a10); color: var(--fx-gold) !important; }
@media (max-width: 1024px) {
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100% !important; }
  .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce form.login, .woocommerce-account .woocommerce form.register, .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details, .woocommerce-order .woocommerce-bacs-bank-details, .wc-block-checkout__main .wc-block-components-checkout-step { padding: 22px !important; }
  .wc-block-cart .wc-block-cart__main { padding: 4px 20px 8px !important; }
  ul.woocommerce-order-overview li { border-right: 0 !important; border-bottom: 1px solid var(--fx-line) !important; }
}

/* --- Tutor: login card, access notice, dashboard, lesson player --- */
.tutor-login-wrap.tutor-card { margin: 72px auto 96px !important; padding: 8px 0 !important; }
.tutor-login-wrap .tutor-h3 { color: var(--fx-bone) !important; font: 400 32px/1.15 var(--fx-font) !important; letter-spacing: -.03em; }
.tutor-login-wrap .tutor-form-control { height: 52px; }
.tutor-login-wrap .tutor-btn-primary { width: 100%; justify-content: center; }
.tutor-login-wrap .tutor-form-check-label, .tutor-login-wrap .tutor-color-secondary, .tutor-login-wrap .tutor-fs-7 { color: var(--fx-mute) !important; }
.tutor-disabled-wrapper { padding: 96px 20px !important; background: transparent !important; text-align: center; }
.tutor-disabled-content-wrapper img { display: none; }
.tutor-disabled-content-wrapper h3 { color: var(--fx-bone) !important; font: 400 32px/1.2 var(--fx-font) !important; letter-spacing: -.03em; }
.tutor-disabled-content-wrapper p { max-width: 460px; margin: 12px auto 28px; color: var(--fx-mute) !important; }
.tutor-disabled-content-wrapper .tutor-btn-primary { display: inline-flex; align-items: center; }

.tutor-dashboard .tutor-card, .tutor-dashboard .tutor-dropdown, .tutor-course-single-content-wrapper .tutor-card, .tutor-modal-content { border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-xl) !important; background: var(--fx-ink-900) !important; box-shadow: none !important; color: var(--fx-text); }
.tutor-dashboard .tutor-card-footer, .tutor-dashboard .tutor-card-header, .tutor-dashboard .tutor-table, .tutor-dashboard .tutor-table th, .tutor-dashboard .tutor-table td { background: transparent !important; border-color: var(--fx-line) !important; color: var(--fx-text); }
.tutor-dashboard .tutor-color-black, .tutor-course-single-content-wrapper .tutor-color-black, .tutor-single-page-top-bar, .tutor-single-page-top-bar a, .tutor-course-topic-title { color: var(--fx-bone) !important; }
.tutor-dashboard .tutor-color-secondary, .tutor-course-single-content-wrapper .tutor-color-secondary { color: var(--fx-text) !important; }
.tutor-dashboard .tutor-color-muted, .tutor-course-single-content-wrapper .tutor-color-muted { color: var(--fx-mute) !important; }
.tutor-dashboard-left-menu { border-color: var(--fx-line) !important; }
.tutor-dashboard-menu-item-link { border-radius: var(--fx-r-pill); color: var(--fx-text) !important; }
.tutor-dashboard-menu-item-link:hover { background: rgb(255 255 255 / .05) !important; color: var(--fx-bone) !important; }
.tutor-dashboard-menu-item.active .tutor-dashboard-menu-item-link, .tutor-dashboard-menu-item-link.is-active { background: var(--fx-gold-a10) !important; color: var(--fx-gold) !important; }
.tutor-dashboard-menu-item-icon { color: inherit !important; }
.tutor-single-page-top-bar { border-bottom: 1px solid var(--fx-line) !important; background: var(--fx-ink-900) !important; }
.tutor-course-single-sidebar-wrapper { border-right: 1px solid var(--fx-line) !important; background: var(--fx-ink-900) !important; }
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header, .tutor-course-topic-item, .tutor-course-topic-item a { background: transparent !important; border-color: var(--fx-line) !important; color: var(--fx-text) !important; }
.tutor-course-topic-item.is-active, .tutor-course-topic-item a:hover { background: var(--fx-gold-a10) !important; }
.tutor-course-topic-item.is-active .tutor-course-topic-item-title, .tutor-course-topic-item.is-active .tutor-course-topic-item-icon { color: var(--fx-gold) !important; }
.tutor-course-topic-item-icon, .tutor-course-topic-item-duration { color: var(--fx-mute) !important; }
.tutor-course-spotlight-wrapper, .tutor-course-single-content-wrapper { background: var(--fx-ink-950) !important; }
.tutor-course-spotlight-nav { border-top: 1px solid var(--fx-line) !important; background: transparent !important; }
.tutor-video-player, .tutor-video-player .plyr { overflow: hidden; border-radius: var(--fx-r-xl); }
.tutor-nav:not(.tutor-nav-pills):not(.tutor-nav-tabs) { border-color: var(--fx-line) !important; }
.tutor-nav-link { color: var(--fx-mute) !important; }
.tutor-nav-link.is-active, .tutor-nav-link:hover { border-color: var(--fx-gold) !important; color: var(--fx-gold) !important; }
.tutor-progress-bar { background: rgb(255 255 255 / .08) !important; }
.tutor-progress-value { background: var(--fx-gold) !important; }
.tutor-login-wrap .tutor-label, .tutor-dashboard .tutor-form-label, .tutor-dashboard .tutor-label { color: var(--fx-text) !important; }
.tutor-login-wrap .tutor-checkbox, .tutor-dashboard .tutor-checkbox { width: 18px; height: 18px; margin: 0 8px 0 0; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--fx-gold); }
.wp-block-woocommerce-empty-cart-block > .wp-block-separator.is-style-dots { margin: 40px auto !important; border: 0 !important; color: var(--fx-gold); }
.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { color: var(--fx-mute) !important; font-size: 18px !important; letter-spacing: 0; }
.fx-empty-cta .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: var(--fx-r-pill); background: var(--fx-gold); color: var(--fx-ink-950); font: 600 15px/1 var(--fx-font); text-decoration: none; transition: background var(--fx-fast); }
.fx-empty-cta .wp-block-button__link:hover { background: var(--fx-gold-hi); color: var(--fx-ink-950); }
.wp-block-woocommerce-empty-cart-block { padding: 24px 0 8px; }
.woocommerce-account .woocommerce .button, .woocommerce-order .button, .woocommerce-message .button { display: inline-flex; align-items: center; justify-content: center; }
/* small cart: each course is qty 1 and its price is already under the name, so the squeezed line-total column is dropped */
.wc-block-cart.is-mobile .wc-block-cart-item__total, .wc-block-cart.is-small .wc-block-cart-item__total { display: none; }
/* the header's off-canvas dropdown menu sticks out at tablet width on these non-Elementor pages */
html:has(> body.woocommerce-cart, > body.woocommerce-checkout, > body.woocommerce-account, > body.tutor-screen-frontend-dashboard) { overflow-x: clip; }
@media (max-width: 1024px) { .wc-block-cart, .wc-block-checkout { gap: 16px; } .wc-block-cart__sidebar { margin-top: 16px; } }

/* ===================== Tutor 4 learner area (dashboard, lesson player): FINEMA palette on Tutor's own tokens ===================== */
/* Tutor 4 paints everything from --tutor-* tokens on html[data-tutor-theme]. The site is all-dark, so both Tutor themes get the
   FINEMA ink + gold set (the light/dark toggle then changes nothing). Brand scale = gold, dark steps are warm, not navy. */
html[data-tutor-theme] {
  --tutor-brand-50: #FDF8EC; --tutor-brand-100: #FBF0D6; --tutor-brand-200: #F6E2AE; --tutor-brand-300: #F1CD72; --tutor-brand-400: #F1CD72;
  --tutor-brand-500: #E2B54A; --tutor-brand-600: #E2B54A; --tutor-brand-700: #F1CD72; --tutor-brand-800: #9C7623; --tutor-brand-900: #3A2C0F; --tutor-brand-950: #241B09;
  --tutor-surface-base: #0B0C0A; --tutor-surface-l1: #121410; --tutor-surface-l1-hover: #1B1E18; --tutor-surface-l2: #1B1E18; --tutor-surface-l2-hover: #23271F; --tutor-surface-l3: #171A14;
  --tutor-surface-brand-dark: #241B09; --tutor-surface-brand-primary: #E2B54A; --tutor-surface-brand-primary-2: #9C7623; --tutor-surface-brand-secondary: #241B09; --tutor-surface-brand-tertiary: #1B1E18; --tutor-surface-brand-quaternary: #3A2C0F;
  --tutor-surface-sidebar-l1: #080907; --tutor-surface-exception2-secondary: #23271F; --tutor-surface-exception7: #3A2C0F; --tutor-surface-dark: #4A5042; --tutor-surface-warning: #1B1E18;
  --tutor-text-primary-inverse: #0B0C0A; --tutor-icon-idle-inverse: #0B0C0A; /* text/icons on gold primary */
  --tutor-text-primary: #EEECE4; --tutor-text-secondary: #D6D4CB; --tutor-text-subdued: #9C9E93; --tutor-text-disabled: #6B6E64; --tutor-text-light: #EEECE4;
  --tutor-text-brand: #E2B54A; --tutor-text-brand-hover: #F1CD72; --tutor-text-brand-secondary: #F1CD72; --tutor-text-highlighted-hover: #23271F;
  --tutor-icon-idle: #D6D4CB; --tutor-icon-hover: #EEECE4; --tutor-icon-secondary: #9C9E93; --tutor-icon-subdued: #6B6E64; --tutor-icon-disabled: #6B6E64;
  --tutor-icon-brand: #E2B54A; --tutor-icon-brand-hover: #F1CD72; --tutor-icon-brand-secondary: #1B1E18;
  --tutor-button-primary: #E2B54A; --tutor-button-primary-hover: #F1CD72; --tutor-button-primary-focused: #E2B54A; --tutor-button-primary-disabled: #6B5219;
  --tutor-button-primary-soft: #241B09; --tutor-button-primary-soft-hover: #3A2C0F; --tutor-button-primary-soft-focused: #241B09; --tutor-button-disabled: #1B1E18;
  --tutor-button-secondary: #23271F; --tutor-button-secondary-hover: #3A3F33; --tutor-button-secondary-focused: #23271F;
  --tutor-button-outline-inverse: #121410; --tutor-button-outline-hover: #23271F; --tutor-button-outline-focused-inverse: #0B0C0A; --tutor-button-ghost-hover: #1B1E18;
  --tutor-border-idle: #2A2E25; --tutor-border-idle2: #3A3F33; --tutor-border-hover: #4A5042; --tutor-border-tertiary: #4A5042; --tutor-border-inverse: #3A3F33; --tutor-border-dark: #3A3F33;
  --tutor-border-brand: #E2B54A; --tutor-border-brand-secondary: #3A3F33; --tutor-border-brand-tertiary: #9C7623;
  --tutor-tab-sidebar-l2: #EEECE4; --tutor-tab-sidebar-l2-hover: #1B1E18; --tutor-tab-sidebar-l2-active: #241B09; --tutor-tab-sidebar-l4-hover: #1B1E18; --tutor-tab-sidebar-l4-active: #241B09;
  --tutor-tab-l3: #1B1E18; --tutor-tab-l3-hover: #23271F; --tutor-tab-l3-active: #241B09; --tutor-tab-l3-active-hover: #241B09;
  --tutor-actions-brand-primary: #E2B54A; --tutor-actions-brand-secondary: #241B09; --tutor-actions-brand-tertiary: #1B1E18;
  --tutor-actions-gray-empty: #121410; --tutor-actions-gray-secondary: #1B1E18; --tutor-actions-gray-tertiary: #121410; --tutor-actions-gray-quaternary: #0B0C0A;
  --tutor-actions-success-tertiary: #1B1E18; --tutor-actions-warning-secondary: #1B1E18; --tutor-actions-critical-secondary: #1B1E18;
  --tutor-quiz-idle: #1B1E18; --tutor-quiz-hover: #23271F;
  --tutor-visual-gray-1: #1B1E18; --tutor-visual-gray-2: #2A2E25; --tutor-visual-gray-3: #4A5042;
  --tutor-visual-brand-1: #E2B54A; --tutor-visual-brand-2: #9C7623; --tutor-visual-brand-3: #3A2C0F;
  color-scheme: dark;
}
.tutor-dashboard-layout, .tutor-dashboard-layout * { font-family: var(--fx-font); }
/* Elementor kit paints every <button> gold. Inside Tutor's learner area, plain (non .tutor-btn) buttons get a neutral base;
   specificity (0,1,2) beats the kit (0,1,1) and still loses to Tutor's own component rules (0,2,0). */
html :where(body.tutor-screen-frontend-dashboard, body.single-lesson, body.single-tutor_quiz, body.single-tutor_assignments) button:not(.tutor-btn) { padding: 0; border: 0; border-radius: 0; background-color: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; }
html :where(body.tutor-screen-frontend-dashboard, body.single-lesson, body.single-tutor_quiz, body.single-tutor_assignments) button:not(.tutor-btn):is(:hover, :focus) { border-color: transparent; background-color: transparent; color: inherit; } /* kit hover = gold bg + near-black text */
/* password eye toggle is a plain <button>, which the Elementor kit paints as a gold pill */
.woocommerce form .show-password-input { display: grid; place-items: center; top: 50% !important; right: 14px !important; width: 28px; height: 28px; min-height: 0; margin: 0; padding: 0 !important; transform: translateY(-50%); border: 0 !important; border-radius: 50% !important; background: transparent !important; color: var(--fx-mute) !important; }

.woocommerce form .show-password-input::before { width: 20px !important; height: 20px !important; margin: auto; filter: invert(1); opacity: .55; transition: opacity var(--fx-fast); }
.woocommerce form .show-password-input:hover::before, .woocommerce form .show-password-input.display-password::before { opacity: .9; }
@media (max-width: 480px) { .woocommerce-message, .woocommerce-info, .woocommerce-error li { flex-wrap: wrap !important; } .woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { margin-left: 0 !important; } }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { content: none !important; } /* WC clearfix would be an empty flex item + gap */
/* cart/checkout: the card already draws the frame, so the table loses its own outer lines; side-by-side cards get a 24px gutter */
.wc-block-cart-items { border: 0 !important; }
.wc-block-cart-items__header th { border-top: 0 !important; }
.wc-block-cart-items__row:first-child td { border-top: 1px solid var(--fx-line) !important; }
.wc-block-components-sidebar-layout.is-large { justify-content: space-between; }
.wc-block-components-sidebar-layout.is-large > .wc-block-components-main { width: calc(65% - 12px) !important; }
.wc-block-components-sidebar-layout.is-large > .wc-block-checkout__main { padding-right: 0 !important; }
.wc-block-components-sidebar-layout.is-large > .wc-block-components-sidebar { width: calc(35% - 12px) !important; padding-left: 26px !important; }
/* checkout radio: a 20px circle (it had picked up the 14px/16px text-input padding and turned into a rounded square) */
.wc-block-components-radio-control .wc-block-components-radio-control__input { top: 50% !important; left: 16px !important; width: 20px !important; height: 20px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; transform: translateY(-50%) !important; padding: 0 !important; border: 1.5px solid var(--fx-line-2) !important; border-radius: 50% !important; box-shadow: none !important; outline: 0; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--fx-gold) !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { width: 10px !important; height: 10px !important; border-radius: 50%; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible { box-shadow: 0 0 0 3px var(--fx-gold-a24) !important; }
.wc-block-components-radio-control--highlight-checked:has(.wc-block-components-radio-control__input:checked) { border-color: var(--fx-gold-a24) !important; }
.wc-block-components-radio-control__option { position: relative !important; padding-left: 52px !important; }
.wc-block-components-radio-control-accordion-content { padding: 0 16px 16px 52px !important; }
/* the order summary block draws its own frame inside the sidebar card */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border: 0 !important; border-radius: 0 !important; }
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.wc-block-components-sidebar-layout.is-large .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { padding-bottom: 8px !important; }
.wc-block-checkout__sidebar .wc-block-components-notices:empty { display: none; }
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper { padding-left: 0 !important; padding-right: 0 !important; }
.wc-block-checkout__sidebar .wc-block-components-order-summary { padding-left: 0 !important; padding-right: 0 !important; }
/* Elementor kit "Form fields" style targets every <input> except buttons, so checkboxes and radios got text-field padding
   (14px 16px) and a 12px radius and became rounded squares. Give them back their own shape, site-wide. */
.elementor-kit-7 input[type="checkbox"], .elementor-kit-7 input[type="radio"] { padding: 0 !important; line-height: 1 !important; }
.elementor-kit-7 input[type="checkbox"] { border-radius: 4px !important; }
.elementor-kit-7 input[type="radio"] { border-radius: 50% !important; }
.mce-container .mce-btn button { padding: 4px 6px; border-radius: 6px; }
.mce-container .mce-btn:hover button, .mce-container .mce-btn.mce-active button { background-color: rgb(255 255 255 / .08); }
/* stat cards: one colour language (bone numbers, gold icons) instead of Tutor's cyan / green / orange per card */
.tutor-stat-card .tutor-stat-card-value { color: var(--fx-bone) !important; }
.tutor-stat-card .tutor-stat-card-icon, .tutor-stat-card .tutor-stat-card-icon svg { color: var(--fx-gold) !important; }
/* same kit hover problem on the shop pages: plain buttons (coupon toggle, remove item, password eye) must not flash gold with black text */
html :where(body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) button:not(:is(.wc-block-components-button, .button)):is(:hover, :focus) { border-color: transparent; background-color: transparent; color: inherit; }
/* Tutor's default profile cover (blue/green arcs) → FINEMA panel: ink, faint chart grid, one gold light. A cover the student uploads is untouched. */
[style*="tutor/assets/images/cover-photo"] {
  background: radial-gradient(55% 140% at 88% 0%, rgb(226 181 74 / .20), transparent 65%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 56px), #121410 !important;
  border-bottom: 1px solid var(--fx-line); }
/* Tutor's default profile photo (white disc, grey person) → dark disc with a muted gold person; uploaded photos are untouched */
img[src*="tutor/assets/images/profile-photo"] { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Crect width='96' height='96' fill='%231B1E18'/%3E%3Ccircle cx='48' cy='38' r='16' fill='%239C7623'/%3E%3Cpath d='M16 92c4-18 17-28 32-28s28 10 32 28' fill='%239C7623'/%3E%3C/svg%3E"); background: #1B1E18; }
/* the floating WhatsApp button sat on top of Tutor's 73px mobile bottom menu */
@media (max-width: 767px) { body.tutor-screen-frontend-dashboard .ht-ctc { bottom: 89px !important; } }
/* order received: the page head already says thank you; overview cells size to their content (email no longer breaks mid-word) */
.woocommerce-order > .woocommerce-thankyou-order-received { display: none; }
ul.woocommerce-order-overview li { flex: 1 1 auto; }
ul.woocommerce-order-overview li.email { flex-grow: 2; }
/* order details: product names are text, not gold links; totals rows share one style (no single oversized row) */
.woocommerce-table__product-name a, .woocommerce-MyAccount-content .woocommerce-table__product-name a { color: var(--fx-bone) !important; text-decoration: none; }
.woocommerce-table__product-name a:hover, .woocommerce-MyAccount-content .woocommerce-table__product-name a:hover { color: var(--fx-gold) !important; }
.woocommerce-table__product-name .product-quantity { color: var(--fx-mute); font-weight: 400; }
.woocommerce table.shop_table tfoot th { color: var(--fx-mute); font-weight: 500; }
.woocommerce table.shop_table tfoot td { color: var(--fx-bone); font-weight: 600; text-align: right; }
.woocommerce table.shop_table thead th:last-child, .woocommerce table.shop_table tbody td:last-child { text-align: right; }
/* checkout: the order-note checkbox is a single line, not a card of its own */
.wc-block-checkout__main .wc-block-checkout__order-notes.wc-block-components-checkout-step { padding: 4px 0 0 !important; border: 0 !important; background: none !important; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { flex: none; white-space: nowrap; }
.woocommerce table.shop_table .button { min-height: 40px !important; padding: 0 20px !important; font-size: 14px !important; }
.woocommerce table.shop_table .button + .button { margin-left: 8px; }

/* ---- sidebar alignment (cart + checkout): every row starts on the card's content edge, like the item images ---- */
:is(.wc-block-cart__sidebar, .wc-block-checkout__sidebar) :is(.wc-block-components-totals-item, .wc-block-components-totals-coupon, .wc-block-components-totals-coupon__content, .wc-block-components-panel, .wc-block-components-panel__content) { padding-left: 0 !important; padding-right: 0 !important; }
:is(.wc-block-cart__sidebar, .wc-block-checkout__sidebar) .wc-block-components-panel__button { padding-left: 0 !important; }
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-text { margin: 0 !important; }
/* item row: name and price share one 23px line box so their text lines up */
.wc-block-components-order-summary-item__description { padding-top: 0 !important; }
.wc-block-components-order-summary-item__total-price { padding-top: 0 !important; }
.wc-block-components-order-summary-item__total-price :is(.wc-block-components-product-price, .wc-block-formatted-money-amount, .wc-block-cart-item__total-price-and-sale) { font-size: 14px !important; line-height: 23px !important; }
.wc-block-components-order-summary-item__description .wc-block-components-product-name { line-height: 23px !important; }
.wc-block-components-order-summary-item__image { margin-top: 0 !important; }
/* Hello's reset paints any [type=button] pink (#c36) on hover/focus; the kit only overrides real <button>s, so role="button"
   spans/links (WooCommerce "Edit", toggles) kept the pink. Neutralise it for every non-button element site-wide. */
:not(button):not(input)[type="button"]:is(:hover, :focus) { background-color: transparent; color: inherit; }

/* saved-address card = same inner box as the payment option: 1px line, 24px radius, raised ink */
.wc-block-components-address-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px !important; border: 1px solid var(--fx-line-2) !important; border-radius: var(--fx-r-xl) !important; background: var(--fx-ink-900) !important; }
.wc-block-components-address-card address { margin: 0; color: var(--fx-text); font-style: normal; line-height: 1.6; }
.wc-block-components-address-card__address-section--primary { color: var(--fx-bone); font-weight: 600; }
.wc-block-components-address-card__edit { flex: none; margin-left: auto; padding: 6px 2px; color: var(--fx-gold) !important; font: 600 14px/1 var(--fx-font); text-decoration: none !important; cursor: pointer; transition: color var(--fx-fast); }
.wc-block-components-address-card__edit:hover, .wc-block-components-address-card__edit:focus { color: var(--fx-gold-hi) !important; text-decoration: underline !important; text-underline-offset: 4px; }
.wc-block-components-address-card__edit:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 4px; border-radius: 4px; }
/* gold buttons keep solid black text in every state (WC fades the label to 50% when disabled, which turned it olive) */
.wc-block-components-button:not(.is-link) .wc-block-components-button__text, .wc-block-components-button:not(.is-link):disabled, .wc-block-components-button:not(.is-link)[aria-disabled="true"] { opacity: 1 !important; color: var(--fx-ink-950) !important; }
.wc-block-components-button:not(.is-link):disabled, .wc-block-components-button:not(.is-link)[aria-disabled="true"] { cursor: not-allowed; }
.wc-block-components-totals-coupon__form { gap: 10px; }

/* Tutor nav dropdown (Enrolled/Active/Selesai): kit `.elementor-kit-7 a` (0,1,1) turned every item gold.
   Restore Tutor's states and match the account popover (8px inset, 6px item radius). */
.tutor-nav .tutor-nav-dropdown { padding: 6px; gap: 2px; }
.elementor-kit-7 .tutor-nav-dropdown-item { border-radius: 6px; color: var(--fx-text); text-decoration: none; }
.elementor-kit-7 .tutor-nav-dropdown-item:hover,
.elementor-kit-7 .tutor-nav-dropdown-item:focus-visible { color: var(--fx-bone); background-color: var(--fx-ink-800); }
.elementor-kit-7 .tutor-nav-dropdown-item:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: -2px; }
.elementor-kit-7 .tutor-nav-dropdown-item.active,
.elementor-kit-7 .tutor-nav-dropdown-item.active:hover { color: var(--fx-gold); background-color: var(--fx-gold-a10); }

/* Learning-path chart frame (built in fx.js scrolly): gridlines, baseline, full dashed track, drop lines that turn gold as the line passes. */
.fx-curve-grid line { stroke: rgb(255 255 255 / .06); stroke-width: 1; }
.fx-curve-grid line.is-base { stroke: rgb(255 255 255 / .18); }
.fx-curve-grid .fx-curve-drop { stroke: rgb(255 255 255 / .12); stroke-dasharray: 3 5; transition: stroke .3s; }
.fx-curve-grid .fx-curve-drop.on { stroke: rgb(226 181 74 / .45); }
.fx-curve-track { fill: none; stroke: rgb(238 236 228 / .28); stroke-width: 1.5; stroke-dasharray: 6 6; stroke-linejoin: round; }

/* Blog card (.fx-pcard): whole card opens the post (fx.js click handler; the old h3::after stretch never matched because
   the h3 IS .elementor-heading-title). Keyboard focus on the title link shows the same state as hover. */
.fx-pcard { cursor: pointer; }
.fx-pcard:focus-within { border-color: rgb(226 181 74 / .45); }
.fx-pcard:focus-within h3.elementor-heading-title { color: var(--fx-gold-hi) !important; }
.fx-pcard h3 a:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 4px; border-radius: 4px; }

/* Tutor font tokens → Geist (tabs, avatar initials, links fell back to Inter). */
html[data-tutor-theme] { --tutor-font-family-body: var(--fx-font); --tutor-font-family-heading: var(--fx-font); }
/* Courses tabs on phones: the Enrolled dropdown (button) kept 14px while the links went 12px, and Quiz Attempts was cut at the edge.
   Same size for all three, tighter padding so they fit without a hidden scroll. */
@media (max-width: 480px) {
  .tutor-dashboard-courses-tab .tutor-nav.tutor-nav-small .tutor-nav-item { font-size: 13px; line-height: 20px; padding: 7px 9px; gap: 5px; }
  .tutor-dashboard-courses-tab .tutor-nav-item svg { width: 18px; height: 18px; }
}
/* Loop grid items may shrink below their longest word (1fr track grew past the container on phones). */
.elementor-loop-container > .e-loop-item { min-width: 0; }

/* ---------- Header cart (Elementor Pro Menu Cart, class fx-cart): round ghost icon button + dark side cart ---------- */
.fx-cart {
  --toggle-button-text-color: var(--fx-bone); --toggle-button-icon-color: var(--fx-bone);
  --toggle-button-background-color: transparent; --toggle-button-border-color: var(--fx-line-2); --toggle-button-border-width: 1px; --toggle-button-border-radius: 999px;
  --toggle-button-icon-hover-color: var(--fx-gold); --toggle-button-hover-text-color: var(--fx-gold);
  --toggle-button-hover-background-color: var(--fx-gold-a10); --toggle-button-hover-border-color: var(--fx-gold-a24);
  --toggle-icon-size: 18px; --toggle-icon-padding: 0;
  --items-indicator-background-color: var(--fx-gold); --items-indicator-text-color: var(--fx-ink-950);
  --cart-background-color: var(--fx-ink-900); --cart-border-color: var(--fx-glass-line); --cart-border-style: solid; --cart-padding: 28px 26px;
  --cart-close-button-color: var(--fx-mute); --cart-close-button-hover-color: var(--fx-bone); --cart-close-icon-size: 22px;
  --divider-color: var(--fx-line); --subtotal-divider-color: var(--fx-line);
  --product-price-color: var(--fx-mute); --menu-cart-subtotal-color: var(--fx-bone);
  --remove-item-button-color: var(--fx-mute); --remove-item-button-hover-color: var(--fx-bone);
  --empty-message-color: var(--fx-mute);
  --cart-footer-buttons-border-radius: 999px; --space-between-buttons: 10px;
  --view-cart-button-background-color: transparent; --view-cart-button-text-color: var(--fx-bone);
  --view-cart-button-hover-background-color: rgb(255 255 255 / .06); --view-cart-button-hover-text-color: var(--fx-bone);
  --checkout-button-background-color: var(--fx-gold); --checkout-button-text-color: var(--fx-ink-950);
  --checkout-button-hover-background-color: var(--fx-gold-hi); --checkout-button-hover-text-color: var(--fx-ink-950);
}
.fx-cart .elementor-menu-cart__toggle .elementor-button { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0 !important; border-style: solid;
  transition: color var(--fx-fast), background-color var(--fx-fast), border-color var(--fx-fast); }
.fx-cart .elementor-menu-cart__toggle .elementor-button-text { display: none; } /* subtotal stays in the side cart, not the header */
.fx-cart .elementor-menu-cart__toggle .elementor-button-icon { margin: 0; color: inherit; }
.fx-cart .elementor-menu-cart__toggle .elementor-button:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 3px; }
.fx-cart .elementor-button-icon-qty { top: -7px !important; right: -9px !important; inset-inline-start: auto !important; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  font: 600 11px/18px var(--fx-font); box-shadow: 0 0 0 2px var(--fx-ink-950); }
/* side cart panel */
.fx-cart .elementor-menu-cart__container { background-color: rgb(0 0 0 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fx-cart .elementor-menu-cart__main { width: min(420px, 100vw); border-width: 0 0 0 1px; box-shadow: -40px 0 80px -40px rgb(0 0 0 / .9); font-family: var(--fx-font); }
.fx-cart .elementor-menu-cart__product-name a { color: var(--fx-bone) !important; font-weight: 600; line-height: 1.4; text-decoration: none; }
.fx-cart .elementor-menu-cart__product-name a:hover { color: var(--fx-gold) !important; }
.fx-cart .elementor-menu-cart__product-image img { border-radius: 12px; }
.fx-cart .elementor-menu-cart__subtotal { font-weight: 600; }
.fx-cart .elementor-menu-cart__footer-buttons .elementor-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font: 600 15px/1 var(--fx-font); }
.fx-cart .elementor-menu-cart__footer-buttons .elementor-button--view-cart { border: 1px solid var(--fx-line-2); }
.fx-cart .elementor-menu-cart__footer-buttons .elementor-button:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 3px; }
.fx-cart .elementor-menu-cart__toggle .elementor-button-icon { position: static; }
.fx-cart .elementor-menu-cart__toggle .elementor-button-icon-qty { position: absolute; top: -5px !important; right: -5px !important; left: auto !important; min-width: 18px !important; height: 18px !important; line-height: 18px !important; }
.fx-cart .elementor-menu-cart__main::before { content: "Keranjang"; display: block; margin: -4px 40px 8px 0; color: var(--fx-bone); font: 600 20px/1.2 var(--fx-font); letter-spacing: -.02em; }
.fx-cart .elementor-menu-cart__product-name, .fx-cart .elementor-menu-cart__product-price { line-height: 1.45; }
.fx-cart .elementor-menu-cart__product-price { margin-top: 4px; font-size: 13px; }
.fx-cart .elementor-menu-cart__product-remove a { color: var(--fx-mute) !important; }
.fx-cart .elementor-menu-cart__product-remove:hover a, .fx-cart .elementor-menu-cart__product-remove a:focus-visible { color: var(--fx-bone) !important; }
.fx-cart .elementor-menu-cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.fx-cart .elementor-menu-cart__subtotal strong { color: var(--fx-mute); font-weight: 500; }
.fx-cart .elementor-menu-cart__main::before { margin: -4px 40px 20px 0; }
.fx-cart .elementor-menu-cart__close-button { position: absolute !important; top: 26px; right: 26px; margin: 0 !important; }
/* WhatsApp bubble sat on top of the open side cart (mobile). */
body:has(.elementor-menu-cart--shown) .ht-ctc { display: none !important; }
.fx-cart .woocommerce-mini-cart__empty-message { padding: 24px 0; color: var(--fx-mute); text-align: center; }
.fx-cart .elementor-menu-cart__toggle .elementor-button-icon-qty { font-size: 11px !important; font-weight: 600 !important; }
.tutor-learning-area .tutor-tiny-2 { font-size: 12px; }

/* Header account button: "Login" when logged out, "Akun Saya" when logged in (two Elementor buttons; both visible in the editor). */
body:not(.logged-in):not(.elementor-editor-active) .fx-auth-in,
body.logged-in:not(.elementor-editor-active) .fx-auth-out { display: none !important; }
/* phones: logo + cart + "Akun Saya" + menu must stay on one row */
@media (max-width: 480px) {
  .fx-header.e-con { --gap: 12px; --column-gap: 12px; --row-gap: 12px; }
  .fx-header .e-con:has(.fx-cart) { flex-wrap: nowrap; --gap: 8px; --column-gap: 8px; }
  .fx-header :is(.fx-auth-in, .fx-auth-out) .elementor-button { padding: 9px 14px !important; font-size: 14px !important; white-space: nowrap; }
}
@media (max-width: 360px) { .fx-header .elementor-widget-theme-site-logo { --container-widget-width: 96px; width: 96px; max-width: 96px; } .fx-header .elementor-widget-theme-site-logo img { width: 96px; } }
@media (max-width: 480px) {
  .fx-header .e-con:has(.fx-cart) { flex-shrink: 0; }
  .fx-header .e-con:has(.fx-cart) > .elementor-element { flex-shrink: 0; }
  .fx-header .elementor-widget-theme-site-logo { flex: 0 1 112px; min-width: 84px; }
  .fx-header .elementor-widget-theme-site-logo img { width: 100%; height: auto; }
}
@media (max-width: 360px) {
  .fx-header.e-con { --padding-left: 16px; --padding-right: 16px; padding-left: 16px !important; padding-right: 16px !important; }
  .fx-header .elementor-widget-theme-site-logo { width: auto; max-width: none; --container-widget-width: auto; }
  .fx-header .elementor-widget-theme-site-logo img { width: 100%; }
  .fx-header :is(.fx-auth-in, .fx-auth-out) .elementor-button { padding: 9px 12px !important; }
}
@media (max-width: 360px) { .fx-header.e-con { gap: 12px !important; } }
@media (max-width: 360px) { .fx-header > .e-con-inner { gap: 12px !important; flex-wrap: nowrap !important; } }

/* phones: WhatsApp bubble sat on the sticky "Lanjutkan ke Checkout" bar of the cart */
body:has(.wc-block-cart__submit-container--sticky) .ht-ctc { bottom: 97px !important; }
/* step bar on narrow phones (≤400px): 3 steps fit in one row */
@media (max-width: 400px) {
  .fx-buysteps { gap: 4px; }
  .fx-buysteps li { min-width: 0; gap: 5px; padding: 5px 8px 5px 5px; font-size: 11px; }
  .fx-buysteps li span { width: 20px; height: 20px; flex: none; font-size: 10px; }
}

/* Lesson footer ≤480: Indonesian labels ("Tandai Selesai", "Berikutnya") don't fit in one row; complete button on its own row, prev/next below */
@media (max-width: 480px) {
  .tutor-learning-area-footer[data-lesson] { flex-wrap: wrap; row-gap: 8px; }
  .tutor-learning-area-footer[data-lesson] > form { order: -1; flex: 1 0 100%; }
  .tutor-learning-area-footer > form .tutor-mark-as-complete-button { width: 100%; justify-content: center; }
}

/* Registration card (Tutor 4 uses .tutor-input only, not .tutor-form-control): same look as the login card */
#tutor-registration-wrap.tutor-card {
  margin: 72px auto 96px !important; border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-2xl) !important;
  background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)) !important; box-shadow: none !important; }
#tutor-registration-wrap .tutor-input {
  height: 52px; border: 1px solid var(--fx-line-2) !important; border-radius: var(--fx-r) !important; background: var(--fx-ink-800) !important;
  color: var(--fx-bone) !important; box-shadow: none !important; font-family: var(--fx-font) !important; transition: border-color var(--fx-fast); }
#tutor-registration-wrap .tutor-input:focus { border-color: var(--fx-gold) !important; outline: 0; box-shadow: 0 0 0 3px var(--fx-gold-a24) !important; }
#tutor-registration-wrap .tutor-input::placeholder { color: var(--fx-mute); opacity: 1; }
#tutor-registration-wrap .tutor-label { color: var(--fx-text) !important; }
#tutor-registration-wrap a { color: var(--fx-gold) !important; }
#tutor-registration-wrap .tutor-color-secondary, #tutor-registration-wrap .tutor-fs-7 { color: var(--fx-mute) !important; }

/* ---------- Tutor registration pages (student + instructor): FINEMA page head (functions.php) + glass cards ---------- */
body.fx-reg .site-main { width: 100%; max-width: none; margin: 0; padding: 0; }
.fx-reg-wrap { box-sizing: border-box; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px 112px; }
@media (max-width: 1024px) { .fx-reg-wrap { padding: 0 32px 88px; } }
@media (max-width: 767px)  { .fx-reg-wrap { padding: 0 20px 72px; } }
body.fx-reg .page-header { display: none; }
body.fx-reg #tutor-registration-wrap.tutor-card { margin: 0 !important; max-width: 560px !important; }
body.fx-reg #tutor-instructor-application-form .tutor-card, body.fx-reg .tutor-instructor-application-process.tutor-pt-48 {
  max-width: 560px; margin: 0; padding: 32px !important; border: 1px solid var(--fx-glass-line) !important; border-radius: var(--fx-r-2xl) !important;
  background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)) !important; box-shadow: none !important; color: var(--fx-text); }
.fx-done-card p { margin: 0 0 24px; color: var(--fx-mute); }
.fx-done-card strong { color: var(--fx-bone); font-weight: 600; }
.fx-done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--fx-r-pill);
  font: 600 15px/1 var(--fx-font); text-decoration: none !important; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--fx-ease-out); }
.fx-btn:focus-visible { outline: 2px solid var(--fx-gold-hi); outline-offset: 3px; }
.elementor-kit-7 .fx-btn--gold { background: var(--fx-gold); color: var(--fx-ink-950) !important; }
.fx-btn--gold:hover { background: var(--fx-gold-hi); transform: translateY(-1px); }
.elementor-kit-7 .fx-btn--ghost { border-color: var(--fx-line-2); color: var(--fx-bone) !important; }
.fx-btn--ghost:hover { border-color: var(--fx-gold); background: var(--fx-gold-a10); }
@media (max-width: 480px) { .fx-done-actions .fx-btn { flex: 1 1 100%; } }
/* instructor: apply card + application status (Tutor's light illustrations don't fit the dark site) */
body.fx-reg #tutor-instructor-application-form img, body.fx-reg .tutor-app-process-image { display: none !important; }
body.fx-reg #tutor-instructor-application-form .tutor-mb-10.tutor-flex:has(img) { display: none !important; }
body.fx-reg .tutor-instructor-application-body { align-items: flex-start !important; text-align: left; }
body.fx-reg .tutor-instructor-application-body .tutor-h3, body.fx-reg .tutor-app-process-title { margin: 0 0 12px !important; text-align: left !important; color: var(--fx-bone) !important; font: 500 24px/1.25 var(--fx-font) !important; letter-spacing: -.02em; }
body.fx-reg .tutor-instructor-application-body p, body.fx-reg .tutor-app-process-subtitle { margin: 0 0 24px !important; max-width: none !important; text-align: left !important; color: var(--fx-mute) !important; font-size: 15px !important; line-height: 1.6; }
body.fx-reg .tutor-ins-app-title, body.fx-reg .tutor-ins-app-subtitle { text-align: left !important; margin: 0 !important; padding: 0 !important; }
body.fx-reg .tutor-instructor-application-body .tutor-btn-primary, body.fx-reg .tutor-instructor-application-process .tutor-btn {
  min-height: 48px; padding: 0 28px !important; border: 0 !important; border-radius: var(--fx-r-pill) !important; background: var(--fx-gold) !important; color: var(--fx-ink-950) !important; font: 600 15px/1 var(--fx-font) !important; }
body.fx-reg .tutor-instructor-application-body .tutor-btn-primary:hover, body.fx-reg .tutor-instructor-application-process .tutor-btn:hover { background: var(--fx-gold-hi) !important; }
body.fx-reg .tutor-app-process-alert { margin-bottom: 20px !important; }
/* 404 (theme 404.php): same frame as the shop / registration pages */
.fx-404.site-main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px 112px; }
@media (max-width: 1024px) { .fx-404.site-main { padding: 0 32px 88px; } }
@media (max-width: 767px)  { .fx-404.site-main { padding: 0 20px 72px; } }
/* empty catalog (fx.js catfilter, e.g. search without results) */
.fx-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 32px; border: 1px dashed var(--fx-line-2); border-radius: var(--fx-r-xl); }
.fx-empty p { margin: 0; color: var(--fx-mute); }
/* lost / reset password form: same glass card as the login forms */
.woocommerce-account form.woocommerce-ResetPassword { max-width: 560px; margin: 0; padding: 32px; border: 1px solid var(--fx-glass-line); border-radius: var(--fx-r-2xl);
  background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); }
.woocommerce-account form.woocommerce-ResetPassword > p:first-child { margin-top: 0; color: var(--fx-mute); }
.woocommerce-account form.woocommerce-ResetPassword .form-row { float: none; width: 100%; }
@media (max-width: 480px) { .woocommerce-account form.woocommerce-ResetPassword { padding: 24px; } }

/* Lesson preview badge (inc/lesson-preview.php) */
.tutor-course-content-list-item-title .fx-preview-badge { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--fx-gold); color: #0B0C0A; font: 600 11px/1.6 var(--fx-font); letter-spacing: .02em; vertical-align: middle; }

/* Learning area (video/lesson player): focus mode, no site header/footer; Tutor's own bar has the back arrow. */
body.fx-learn > .elementor-location-header, body.fx-learn > .elementor-location-footer { display: none !important; }
/* Tutor runs the "More" menu through wp_kses, which strips the icons' width/height/fill: they grew to full width. */
.tutor-learning-pages-item > svg { flex: none; width: 20px; height: 20px; fill: none; }
.tutor-learning-pages-item > svg:not(:last-of-type) { width: 12px; height: 12px; } /* lock badge before the icon */
