/* FRONT-1 | style.css — CSS variables & reset */

:root {
  /* Brand palette — driven by per-site data (globals.css_file → --css_*),
     with the original FRONT-1 values kept as fallbacks.

     Surfaces are derived from the PAGE background (--bg-base) plus a neutral
     elevation, rather than from the separate content background. This keeps
     content blocks tonally consistent with the page (e.g. a blue page yields
     blue cards instead of stray white panels) and — crucially — lets the
     page-level text colors (--css_main_*) stay readable on every surface,
     since they are chosen to contrast the page background. Header keeps its
     own brand surface + link colour. */
  --bg-base:       var(--css_main_background_color, #0d0d14);
  --bg-surface:    color-mix(in srgb, var(--bg-base) 93%, #808080);
  --bg-elevated:   color-mix(in srgb, var(--bg-base) 90%, #808080);
  --bg-card:       color-mix(in srgb, var(--bg-base) 86%, #808080);
  --bg-hover:      color-mix(in srgb, var(--bg-base) 78%, #808080);

  --accent:        var(--css_main_primary_button_background_color, #c9a84c);
  --accent-hover:  var(--css_main_primary_second_button_background_color, #e2c06a);
  --accent-dim:    color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-border: color-mix(in srgb, var(--accent) 32%, transparent);

  --text-primary:   var(--css_main_heading_color, #f0f0f5);
  --text-secondary: var(--css_main_text_color, #c2c2d2);
  --text-muted:     color-mix(in srgb, var(--css_main_text_color, #9595c4) 70%, var(--bg-base));
  --text-on-accent: var(--css_main_primary_button_text_color, #0d0d14);

  /* Header is a distinct brand surface with its own readable link colour. */
  --header-bg:     var(--css_header_background_color, #13131f);
  --header-link:   var(--css_header_link_color, var(--text-secondary));

  --border:        color-mix(in srgb, var(--text-secondary) 20%, transparent);
  --border-strong: color-mix(in srgb, var(--text-secondary) 34%, transparent);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;

  --shadow-card: 0 2px 16px rgba(0,0,0,.40);

  --container-w: 1200px;
  --header-h:    64px;

  --transition: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* Defensive: generated SEO content can leak a full document with its own
     `body { max-width: 1200px; margin: 0 auto; padding: 20px }` <style> block,
     which would otherwise constrain the whole page. Force the page body's own
     geometry so a leaked style can never cap or indent it. */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 3px; }

/* Container */
.xybw4d5k2cl {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section spacing */
/* Item 7: every section is a full-bleed band — its background spans the whole
   viewport while the inner .xybw4d5k2cl keeps the content within the wrapper.
   width:100% + the block flow guarantees the colour reaches both screen edges
   even if an ancestor ever becomes a shrink-wrapping flex/grid context. */
.xo5n5lrh3pe,
.x6wagbrmie7,
.x9xycrlo82s,
.x1oj1lv3khv { width: 100%; }
.xo5n5lrh3pe { padding: 48px 0; }
.xqexofm9xiz { padding: 28px 0; }
.xon5frc2z83 { background: var(--bg-surface); }

/* Buttons */
.x6lkm7e2fm2 {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.x57ve321uf5 {
  background: var(--accent);
  color: var(--text-on-accent);
}
.x57ve321uf5:hover { background: var(--accent-hover); }

.xnm8w07amaq {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.xnm8w07amaq:hover { border-color: var(--accent); color: var(--accent); }

.xhmwvedvwee {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}
.xhmwvedvwee:hover { color: var(--text-primary); }

.x0n0s895r5c { padding: 7px 16px; font-size: 13px; }

/* Section heading */
.x9ymyv30vz3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.x4bbwm5jyx8 {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Gold divider */
.xifim5shxxb {
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin: 8px 0 0;
}

/* Show-more button */
.xtpvexp9jr7 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 20px auto 0;
  padding: 9px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 13px;
  transition: border-color var(--transition), color var(--transition);
}
.xtpvexp9jr7:hover { border-color: var(--accent); color: var(--accent); }
.xtpvexp9jr7 svg { transition: transform var(--transition); }
.xtpvexp9jr7.open svg { transform: rotate(180deg); }

/* Chip / badge */
.ximnnsi22d2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  margin-bottom: 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.x11gicqaq80 {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.xqfc8an9yys {
  background: rgba(34,197,94,.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,.25);
}
.xevlgiy8npw {
  background: rgba(220,38,38,.18);
  color: #f87171;
  border: 1px solid rgba(220,38,38,.3);
}

/* Star rating */
.xkeamdm35lf {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 13px;
}

/* Utility */
.no-scroll { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .xo5n5lrh3pe { padding: 32px 0; }
  .xybw4d5k2cl { padding: 0 16px; }
}
@media (max-width: 600px) {
  .xo5n5lrh3pe { padding: 24px 0; }
}
