/*
Theme Name: Chess Sprouts Academy
Theme URI: https://chesssprouts.com/
Author: Chess Sprouts Academy
Author URI: https://chesssprouts.com/
Description: Multi-page WordPress theme for Chess Sprouts Academy, Lucknow. Individual pages for Home, About, Courses, Trainer, Chess Club and Contact. Includes an admin importer that creates or overrides pages automatically — no WordPress reinstall needed. Clean flat colors (cream, navy, amber, red), brochure typography (Fraunces + Caveat + Manrope), real brochure images bundled.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chess-sprouts
Tags: education, multi-page, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================================
   DESIGN TOKENS — brochure palette, flat (no gradients)
============================================================= */
:root {
  --cream: #F4ECD8;
  --cream-2: #FAF4E4;
  --paper: #FBF8F0;
  --navy: #2C4A60;
  --navy-dark: #1B2F3F;
  --navy-light: #3D5C73;
  --amber: #C68A3C;
  --amber-dark: #A06D24;
  --red: #C83C3F;
  --red-dark: #A92E31;
  --brown: #8B5A2B;
  --sage: #8E9F7B;
  --rule: rgba(44, 74, 96, 0.15);

  --font-display: 'Fraunces', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy-dark);
  /* Clean solid cream — calm, premium */
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--amber); color: var(--cream-2); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* TOP BAR — editable via Customizer */
.topbar {
  background: var(--navy-dark);
  color: rgba(244, 236, 216, 0.85);
  padding: 8px 32px;
  font-size: 13px;
}
.topbar__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--amber); }
.topbar svg { width: 13px; height: 13px; color: var(--amber); }
@media (max-width: 700px) { .topbar__right { display: none; } }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 12px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 84px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links li { margin: 0; }
.nav__links a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  color: var(--navy);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links .current-menu-item > a,
.nav__links .current_page_item > a { color: var(--amber-dark); font-weight: 600; }

.nav__cta,
.nav__links .menu-cta > a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: var(--red);
  color: var(--cream-2) !important;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  transition: background 0.25s var(--ease);
}
.nav__cta:hover,
.nav__links .menu-cta > a:hover { background: var(--red-dark); }

.nav__burger {
  display: none; width: 44px; height: 44px;
  border-radius: 999px; background: var(--navy); position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__inner { padding: 10px 20px; }
  .nav__brand img { height: 60px; }
  .nav__links {
    position: fixed; inset: 82px 0 0 0;
    flex-direction: column; justify-content: flex-start;
    background: var(--cream);
    padding: 40px 32px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-top: 1px solid var(--rule);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 20px; padding: 14px 20px; font-family: var(--font-display); font-style: italic; }
  .nav__burger { display: block; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-weight: 600; font-size: 15px;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.btn--primary { background: var(--red); color: var(--cream-2); }
.btn--primary:hover { background: var(--red-dark); color: var(--cream-2); transform: translateY(-2px); }
.btn--secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--cream); }
.btn--on-navy { background: var(--red); color: var(--cream-2); }
.btn--on-navy:hover { background: var(--red-dark); color: var(--cream-2); }
.btn svg { width: 16px; height: 16px; }

/* HERO */
.hero { padding: 80px 32px 100px; max-width: 1240px; margin: 0 auto; }

/* =============================================================
   HERO SLIDER
============================================================= */
.slider {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.slider__viewport {
  position: relative;
  min-height: 620px;
}
.slider__track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 60px 32px 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.slide__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 460px;
}
.slide__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-script);
  font-size: 24px; color: var(--amber-dark);
  margin-bottom: 18px;
}
.slide__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--amber); }
.slide__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1; font-weight: 400;
  color: var(--navy); letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.slide__title em { font-style: italic; font-weight: 500; color: var(--amber-dark); }
.slide__sub { font-size: 18px; line-height: 1.6; color: var(--navy-light); max-width: 500px; margin-bottom: 30px; }
.slide__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.slide__img {
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 50px rgba(27, 47, 63, 0.12);
}
.slide__img img { width: 100%; height: auto; display: block; }
.slide__visual { position: relative; }

/* Slider controls */
.slider__dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.slider__dot {
  width: 12px; height: 12px;
  background: rgba(44, 74, 96, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}
.slider__dot.is-active { background: var(--red); width: 32px; }
.slider__dot:hover { background: var(--navy); }

.slider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 3;
  color: var(--navy);
  transition: all 0.25s var(--ease);
}
.slider__arrow:hover { background: var(--navy); color: var(--cream); border-color: transparent; transform: translateY(-50%) scale(1.05); }
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__arrow svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .slide__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .slide__eyebrow { justify-content: center; }
  .slide__actions { justify-content: center; }
  .slide__sub { margin-left: auto; margin-right: auto; }
  .slide__visual { max-width: 400px; margin: 0 auto; }
  .slider__arrow { display: none; }
  .slider__viewport { min-height: 760px; }
  .slide { padding: 40px 24px 60px; }
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-script); font-size: 24px;
  color: var(--amber-dark); margin-bottom: 20px;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--amber); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 0.98; font-weight: 400;
  color: var(--navy); letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--amber-dark); }
.hero__sub { font-size: 18px; line-height: 1.65; color: var(--navy-light); max-width: 500px; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__meta { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--navy-light); flex-wrap: wrap; }
.hero__meta-item { display: flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--red); }
.hero__visual { position: relative; }
.hero__img {
  width: 100%; border-radius: var(--radius-lg);
  background: var(--cream-2); overflow: hidden;
  border: 1px solid var(--rule);
}
.hero__img img { width: 100%; height: auto; display: block; }
.hero__plate {
  position: absolute; bottom: -28px; left: 50%;
  transform: translateX(-50%);
  background: var(--navy); color: var(--cream-2);
  padding: 14px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.hero__plate::before { content: ""; width: 8px; height: 8px; background: var(--amber); border-radius: 999px; }

/* Marquee */
.marquee {
  background: var(--navy); color: var(--cream);
  padding: 20px 0; overflow: hidden; white-space: nowrap;
  font-family: var(--font-display); font-style: italic;
  font-weight: 500; font-size: 28px;
  border-top: 4px solid var(--amber);
}
.marquee__track { display: inline-flex; gap: 32px; animation: marquee 32s linear infinite; padding-right: 32px; }
.marquee__track > span { display: inline-flex; align-items: center; gap: 32px; }
.marquee__dot { width: 6px; height: 6px; background: var(--amber); border-radius: 999px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: 100px 32px; max-width: 1240px; margin: 0 auto; }
.section--tight { padding: 70px 32px; }
.section--navy {
  background: var(--navy);
  color: var(--cream);
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}
/* Very subtle checker pattern — only visible on the dark navy, adds texture without being noisy */
.section--navy::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(198, 138, 60, 0.025) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(198, 138, 60, 0.025) 25%, transparent 25%);
  background-size: 80px 80px;
  background-position: 0 0, 0 40px;
  pointer-events: none;
}
/* Decorative Queen silhouette in the top-right of navy sections (Course Details) */
.section--navy::after {
  content: "";
  position: absolute;
  top: 50%; right: 4%;
  transform: translateY(-50%);
  width: 180px; height: 290px;
  background: url("assets/decor-queen-navy.svg") no-repeat center/contain;
  pointer-events: none;
  z-index: 0;
}
.section--navy > * { position: relative; z-index: 1; }
@media (max-width: 1100px) { .section--navy::after { width: 140px; height: 220px; opacity: 0.7; right: 2%; } }
@media (max-width: 900px)  { .section--navy::after { display: none; } }
.section--navy .section__inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
  padding-left: 42px; position: relative;
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--amber-dark); }
.section--navy .eyebrow { color: var(--amber); }
.section--navy .eyebrow::before { background: var(--amber); }

.title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; font-weight: 400;
  color: var(--navy); letter-spacing: -0.015em; margin-bottom: 20px;
}
.title em { font-style: italic; font-weight: 500; color: var(--amber-dark); }
.section--navy .title { color: var(--cream); }
.section--navy .title em { color: var(--amber); }

.lede { font-size: 17px; line-height: 1.7; color: var(--navy-light); max-width: 580px; }
.section--navy .lede { color: rgba(244, 236, 216, 0.85); }

/* ABOUT */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.about__image {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--rule); background: var(--cream-2);
}
.about__image img { width: 100%; height: auto; }
.about__body p { font-size: 17px; line-height: 1.8; color: var(--navy-light); margin-bottom: 20px; }
.about__body p:first-of-type::first-letter {
  font-family: var(--font-display); font-style: italic;
  font-weight: 500; font-size: 68px;
  float: left; line-height: 0.88; margin: 6px 12px 0 0;
  color: var(--amber-dark);
}
.about__body strong { color: var(--navy); font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.pillar {
  padding: 20px 14px; background: var(--cream-2);
  border: 1px solid var(--rule); border-radius: var(--radius);
  text-align: center; transition: all 0.3s var(--ease);
}
.pillar:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); transform: translateY(-3px); }
.pillar:hover .pillar__num { color: var(--amber); }
.pillar__num {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 32px; font-weight: 500; color: var(--amber-dark);
  line-height: 1; margin-bottom: 4px; transition: color 0.3s var(--ease);
}
.pillar__label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

/* Course details */
.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.detail-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 165, 92, 0.25);
  border-radius: var(--radius); transition: all 0.3s var(--ease);
}
.detail-card:hover { background: rgba(224, 165, 92, 0.1); border-color: var(--amber); transform: translateY(-4px); }
.detail-card__num { font-family: var(--font-display); font-style: italic; font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 20px; letter-spacing: 0.1em; }
.detail-card__icon { width: 48px; height: 48px; background: var(--amber); color: var(--navy); border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.detail-card__icon svg { width: 24px; height: 24px; }
.detail-card__label { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.detail-card__val { font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--cream); }
.detail-card__val strong { font-style: italic; }

/* Trainer */
.trainer { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.trainer__visual { position: relative; }
.trainer__frame {
  aspect-ratio: 4/5; background: var(--cream-2);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  display: grid; place-items: center; overflow: hidden;
}
.trainer__frame svg { width: 90%; height: 90%; }
.trainer__medal {
  position: absolute; bottom: 20px; right: -16px;
  background: var(--amber); color: var(--navy-dark);
  padding: 14px 20px; border-radius: 14px;
  font-family: var(--font-display); font-style: italic;
  font-weight: 600;
  display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: 0 10px 24px rgba(198, 138, 60, 0.3);
}
.trainer__medal strong { font-size: 24px; line-height: 1; margin-bottom: 4px; }
.trainer__medal small { font-family: var(--font-sans); font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.trainer__name { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); line-height: 1; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.trainer__role {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy-dark);
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 22px;
}
.trainer__role svg { width: 14px; height: 14px; }
.trainer__bio { font-size: 17px; line-height: 1.75; color: var(--navy-light); margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 24px; border-top: 1px solid var(--rule); }
.stat { padding-right: 16px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; padding-left: 16px; padding-right: 0; }
.stat__val { font-family: var(--font-display); font-style: italic; font-size: 36px; font-weight: 500; color: var(--amber-dark); line-height: 1; margin-bottom: 4px; }
.stat__label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-light); }

/* Pieces band */
.pieces-band { height: 280px; position: relative; overflow: hidden; }
.pieces-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pieces-band::before { content: ""; position: absolute; inset: 0; background: rgba(27, 47, 63, 0.55); z-index: 2; }
.pieces-band__cap { position: relative; z-index: 3; height: 100%; display: grid; place-items: center; text-align: center; color: var(--cream); padding: 32px; }
.pieces-band__cap h3 { font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 4vw, 44px); font-weight: 500; color: var(--cream); }
.pieces-band__cap h3 em { color: var(--amber); font-style: italic; }

/* Syllabus modules */
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 50px; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
/* Chess King watermark behind modules grid */
.modules::before {
  content: "";
  position: absolute;
  top: -40px; right: -60px;
  width: 200px; height: 320px;
  background: url("assets/decor-knight-cream.svg") no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}
@media (max-width: 1100px) { .modules::before { display: none; } }
.module {
  padding: 28px 24px; background: var(--cream-2);
  border: 1px solid var(--rule); border-radius: var(--radius);
  transition: all 0.3s var(--ease); position: relative;
}
.module::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--amber);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.module:hover { transform: translateY(-5px); border-color: var(--amber); }
.module:hover::before { transform: scaleX(1); }
.module__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.module__num { font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 0.9; font-weight: 500; color: var(--amber-dark); }
.module__icon { width: 32px; height: 32px; color: var(--navy); opacity: 0.6; }
.module__title { font-family: var(--font-display); font-style: italic; font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.module__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.module__list li { font-size: 14px; line-height: 1.5; color: var(--navy-light); padding-left: 18px; position: relative; }
.module__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--amber); border-radius: 999px; }

.syllabus__note {
  margin-top: 36px; padding: 20px 26px;
  background: var(--navy); color: var(--cream);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 18px;
  font-size: 15px; line-height: 1.6;
}
.syllabus__note svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--amber); }

/* Why us */
.why__head { text-align: center; margin-bottom: 50px; }
.why__head .eyebrow { display: inline-block; padding-right: 42px; }
.why__head .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 1px; background: var(--amber-dark); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 30px 22px; background: var(--cream-2);
  border: 1px solid var(--rule); border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.feature:hover { transform: translateY(-5px); border-color: var(--amber); }
.feature__icon { width: 44px; height: 44px; background: var(--navy); color: var(--amber); border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; transition: all 0.3s var(--ease); }
.feature:hover .feature__icon { background: var(--amber); color: var(--navy); }
.feature__icon svg { width: 22px; height: 22px; }
.feature__title { font-family: var(--font-display); font-style: italic; font-size: 20px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.feature__text { font-size: 14px; line-height: 1.55; color: var(--navy-light); }

/* Enroll CTA */
.enroll {
  background: var(--navy);
  color: var(--cream);
  padding: 90px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* One tasteful chess king silhouette — subtle, on the right side */
.enroll::after {
  content: "";
  position: absolute;
  top: 50%; right: 6%;
  width: 200px; height: 320px;
  transform: translateY(-50%);
  background: url("assets/decor-king-light.svg") no-repeat center/contain;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1100px) { .enroll::after { right: 2%; width: 160px; height: 256px; opacity: 0.7; } }
@media (max-width: 900px)  { .enroll::after { display: none; } }
.enroll__inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
@media (max-width: 900px) { .enroll::after { display: none; } }
.enroll__script { font-family: var(--font-script); font-size: 36px; color: var(--amber); margin-bottom: 8px; line-height: 1; }
.enroll__title { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 400; color: var(--cream); margin-bottom: 24px; letter-spacing: -0.015em; }
.enroll__title em { font-style: italic; font-weight: 500; color: var(--amber); }
.enroll__text { font-size: 17px; line-height: 1.6; color: rgba(244, 236, 216, 0.85); margin-bottom: 34px; }
.enroll__addr { margin-top: 28px; font-size: 14px; color: rgba(244, 236, 216, 0.75); display: inline-flex; align-items: center; gap: 8px; }
.enroll__addr svg { color: var(--red); }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(244, 236, 216, 0.75); padding: 60px 32px 32px; }
.footer__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 120px; width: auto; background: var(--cream-2); padding: 14px 20px; border-radius: 14px; display: block; margin-bottom: 20px; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: rgba(244, 236, 216, 0.6); }
.footer__col h4 { color: var(--cream); font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 17px; margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--amber); }
.footer__col .svg-ic { display: inline-flex; align-items: center; gap: 8px; }
.footer__col svg { width: 14px; height: 14px; color: var(--amber); }
.footer__bottom { max-width: 1240px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid rgba(244, 236, 216, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244, 236, 216, 0.5); }

/* Inner page hero — clean, centered, with subtle amber accent line below */
.page-hero {
  padding: 90px 32px 70px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.page-hero .eyebrow { display: inline-block; padding-left: 42px; padding-right: 42px; }
.page-hero .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 1px; background: var(--amber-dark); }
.page-hero__title { font-family: var(--font-display); font-size: clamp(42px, 6vw, 76px); line-height: 1; font-weight: 400; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 20px; }
.page-hero__title em { font-style: italic; font-weight: 500; color: var(--amber-dark); }
.page-hero__sub { font-size: 18px; line-height: 1.65; color: var(--navy-light); max-width: 640px; margin: 0 auto; }

/* Club benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 32px 26px; background: var(--cream-2); border: 1px solid var(--rule); border-radius: var(--radius); transition: all 0.3s var(--ease); }
.benefit:hover { transform: translateY(-5px); border-color: var(--amber); }
.benefit__ic { width: 52px; height: 52px; background: var(--navy); color: var(--amber); border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.benefit__ic svg { width: 26px; height: 26px; }
.benefit__title { font-family: var(--font-display); font-style: italic; font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.benefit__text { font-size: 15px; line-height: 1.6; color: var(--navy-light); }

.membership { margin-top: 50px; padding: 36px 40px; background: var(--navy); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; color: var(--cream); }
.membership__info h3 { font-family: var(--font-display); font-style: italic; font-size: 28px; font-weight: 500; color: var(--cream); margin-bottom: 6px; }
.membership__info p { color: rgba(244, 236, 216, 0.75); font-size: 15px; }
.membership__price { font-family: var(--font-display); font-style: italic; font-size: 42px; font-weight: 500; color: var(--amber); line-height: 1; }
.membership__price small { font-family: var(--font-sans); font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244, 236, 216, 0.6); display: block; margin-top: 4px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-info h3 { font-family: var(--font-display); font-style: italic; font-size: 24px; font-weight: 500; color: var(--navy); margin: 0 0 24px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--navy-light); line-height: 1.55; }
.contact-list .ic { width: 42px; height: 42px; background: var(--amber); color: var(--navy); border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }

.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; background: var(--navy); color: var(--amber); border-radius: 999px; display: grid; place-items: center; transition: all 0.25s var(--ease); }
.socials a:hover { background: var(--amber); color: var(--navy); }
.socials svg { width: 20px; height: 20px; }

.contact-form { padding: 36px; background: var(--cream-2); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.contact-form h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--navy); margin: 0 0 8px; }
.contact-form p { font-size: 14px; color: var(--navy-light); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 16px; font: inherit; background: var(--cream); border: 1px solid var(--rule); border-radius: 10px; color: var(--navy-dark); outline: none; transition: border-color 0.25s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--amber); }
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.contact-form .btn { width: 100%; justify-content: center; }

.map-wrap { margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rule); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* GMB grid section */
.gmb-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; margin-top: 30px; }
.gmb-info { background: var(--cream-2); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 36px; }
.gmb-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rule); min-height: 460px; }
.gmb-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
@media (max-width: 900px) {
  .gmb-grid { grid-template-columns: 1fr; gap: 24px; }
  .gmb-info { padding: 24px; }
  .gmb-map { min-height: 340px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* =============================================================
   BLOG CARDS GRID (home + blog archive)
============================================================= */
/* Blog section — decorative Knight silhouette on the left */
#blog { position: relative; }
#blog::before {
  content: "";
  position: absolute;
  top: 30px; left: -30px;
  width: 180px; height: 290px;
  background: url("assets/decor-knight-cream.svg") no-repeat center/contain;
  pointer-events: none;
  z-index: 0;
}
#blog > * { position: relative; z-index: 1; }
@media (max-width: 1100px) { #blog::before { width: 140px; height: 220px; left: -40px; opacity: 0.6; } }
@media (max-width: 900px)  { #blog::before { display: none; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--amber); box-shadow: 0 20px 40px rgba(27, 47, 63, 0.1); }
.blog-card__image {
  aspect-ratio: 16 / 10;
  background: var(--cream) url("assets/decor-board.svg") no-repeat center/cover;
  position: relative;
  overflow: hidden;
}
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--navy); color: var(--cream-2);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.blog-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card__date {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-dark);
}
.blog-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px; line-height: 1.2;
  font-weight: 500;
  color: var(--navy);
}
.blog-card__excerpt { font-size: 14px; line-height: 1.55; color: var(--navy-light); }
.blog-card__read {
  margin-top: auto;
  font-size: 13px; font-weight: 700;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

@media (max-width: 1100px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog header on blog archive */
.blog-header { text-align: center; padding: 90px 32px 30px; max-width: 900px; margin: 0 auto; }
.blog-header .eyebrow { display: inline-block; padding-right: 42px; }
.blog-header .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 1px; background: var(--amber-dark); }

/* Blog/single defaults */
.entry { max-width: 820px; margin: 0 auto; padding: 60px 32px; }
.entry h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 500; color: var(--navy); margin-bottom: 20px; letter-spacing: -0.015em; }
.entry h1 em { font-style: italic; color: var(--amber-dark); }
.entry h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--navy); margin: 32px 0 14px; }
.entry h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--navy); margin: 24px 0 10px; }
.entry p { font-size: 17px; line-height: 1.75; color: var(--navy-light); margin-bottom: 16px; }
.entry ul, .entry ol { padding-left: 24px; margin-bottom: 16px; }
.entry a { color: var(--amber-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .features, .modules, .details-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .about, .trainer, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .trainer__visual { max-width: 380px; margin: 0 auto; }
  .about__image { max-width: 500px; margin: 0 auto; }
  .benefits { grid-template-columns: 1fr; }
  .membership { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .section { padding: 70px 24px; }
  .hero { padding: 60px 24px 80px; }
  .enroll { padding: 70px 24px; }
}
@media (max-width: 640px) {
  .features, .modules, .details-grid, .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); padding: 14px 0; }
  .stat:last-child { border-bottom: none; padding-left: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px; }
  .marquee { font-size: 22px; }
}

/* ============================================================
   ELEMENTOR WIDGET BRAND OVERRIDES  (v3.5)
   These rules force every Elementor heading / button / icon-box /
   image widget to use the Chess Sprouts brochure palette
   (cream, navy, amber, red) and serif/script typography — no
   matter what the Elementor Kit defaults are.
   Specificity bumped with .elementor + !important because
   Elementor emits inline styles that would otherwise win.
============================================================ */

/* Page background & section spacing */
body.elementor-page,
.cs-elementor-content {
  background: var(--cream) !important;
}
.elementor-section {
  padding: 56px 0;
}
.elementor-section.elementor-top-section {
  padding: 48px 0;
}
.elementor-column {
  padding: 12px 18px;
}

/* ---------- HEADINGS ---------- */
.elementor .elementor-widget-heading .elementor-heading-title {
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.15 !important;
}
.elementor .elementor-widget-heading .elementor-heading-title em {
  font-style: italic;
  color: var(--amber) !important;
  font-weight: 700;
}
.elementor h1.elementor-heading-title { font-size: clamp(36px, 5vw, 64px) !important; margin-bottom: 20px; }
.elementor h2.elementor-heading-title { font-size: clamp(28px, 4vw, 48px) !important; margin-bottom: 18px; }
.elementor h3.elementor-heading-title { font-size: clamp(22px, 3vw, 32px) !important; margin-bottom: 14px; }
/* h4 used as "eyebrow" labels — script font, amber */
.elementor h4.elementor-heading-title {
  font-family: 'Caveat', cursive !important;
  color: var(--amber) !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
}

/* ---------- TEXT ---------- */
.elementor .elementor-widget-text-editor,
.elementor .elementor-widget-text-editor p {
  color: #3F4E5A !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}
.elementor .elementor-widget-text-editor strong { color: var(--navy) !important; }
.elementor .elementor-widget-text-editor a { color: var(--red) !important; text-decoration: underline; }

/* ---------- BUTTONS ---------- */
.elementor .elementor-widget-button .elementor-button,
.elementor .elementor-button-link {
  background: var(--navy) !important;
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
  color: var(--cream-2) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  box-shadow: 0 6px 18px rgba(44, 74, 96, 0.28) !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease !important;
}
.elementor .elementor-widget-button .elementor-button:hover,
.elementor .elementor-button-link:hover {
  background-image: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%) !important;
  color: var(--cream-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(198, 138, 60, 0.35) !important;
}

/* Secondary variant via Elementor's own setting (if user picks "info" scheme etc.) */
.elementor .elementor-widget-button.elementor-widget-button--outline .elementor-button,
.elementor .elementor-widget-button[data-widget_type="button.default"] .elementor-button[href*="/courses/"]  {
  background: transparent !important;
  background-image: none !important;
  color: var(--navy) !important;
  border: 2px solid var(--navy) !important;
  box-shadow: none !important;
}

/* ---------- ICON BOXES ---------- */
.elementor .elementor-widget-icon-box {
  text-align: center;
}
.elementor .elementor-widget-icon-box .elementor-icon-box-wrapper {
  background: #FFFDF7;
  border: 1px solid rgba(44, 74, 96, 0.10);
  border-radius: 20px;
  padding: 28px 22px !important;
  box-shadow: 0 2px 20px rgba(44, 74, 96, 0.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.elementor .elementor-widget-icon-box:hover .elementor-icon-box-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44, 74, 96, 0.10);
  border-color: var(--amber);
}
.elementor .elementor-widget-icon-box .elementor-icon-box-icon {
  margin-bottom: 18px !important;
}
.elementor .elementor-widget-icon-box .elementor-icon {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%) !important;
  color: var(--cream-2) !important;
  border: none !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 18px rgba(198, 138, 60, 0.30) !important;
}
.elementor .elementor-widget-icon-box .elementor-icon svg,
.elementor .elementor-widget-icon-box .elementor-icon i {
  color: var(--cream-2) !important;
  fill: var(--cream-2) !important;
  font-size: 26px !important;
  width: 26px !important;
  height: 26px !important;
}
.elementor .elementor-widget-icon-box .elementor-icon-box-title,
.elementor .elementor-widget-icon-box .elementor-icon-box-title a {
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--navy) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  line-height: 1.25 !important;
}
.elementor .elementor-widget-icon-box .elementor-icon-box-description {
  color: #4A5560 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.elementor .elementor-widget-icon-box .elementor-icon-box-description strong {
  color: var(--navy) !important;
}

/* ---------- IMAGES ---------- */
.elementor .elementor-widget-image img {
  border-radius: 20px;
  box-shadow: 0 14px 44px rgba(44, 74, 96, 0.15);
  max-width: 100%;
  height: auto;
}

/* ---------- DIVIDER ---------- */
.elementor .elementor-widget-divider .elementor-divider-separator {
  border-top-color: var(--amber) !important;
  border-top-width: 2px !important;
  opacity: 0.5;
}

/* ---------- HTML widgets wrapping buttons (our cta rows) ---------- */
.elementor .elementor-widget-html .btn,
.elementor .elementor-widget-html a.btn {
  display: inline-block;
}

/* Mobile breakpoints */
@media (max-width: 767px) {
  .elementor-section { padding: 32px 0; }
  .elementor-column { padding: 8px 4px; }
  .elementor h1.elementor-heading-title { font-size: 32px !important; }
  .elementor h2.elementor-heading-title { font-size: 26px !important; }
  .elementor .elementor-widget-icon-box .elementor-icon-box-wrapper { padding: 20px 16px !important; }
}

/* ============================================================
   v4.0 — Brochure design on native Elementor widgets
   These classes map to widgets via Elementor's "CSS Classes" field.
   They ride ON TOP of the earlier Elementor overrides so native
   widgets (heading, text-editor, button, image, icon-box) end up
   looking like the static brochure sections.
============================================================ */

/* --- Section backgrounds & spacing --- */
.cs-section { padding: 72px 20px; }
.cs-section--navy { background: var(--navy); color: var(--cream); }
.cs-section--navy .elementor-heading-title,
.cs-section--navy .elementor-heading-title em,
.cs-section--navy p,
.cs-section--navy strong { color: var(--cream) !important; }
.cs-section--navy .cs-eyebrow--light .elementor-heading-title,
.cs-section--navy .cs-title--light .elementor-heading-title { color: var(--cream) !important; }
.cs-section--navy .cs-title--light .elementor-heading-title em,
.cs-section--navy .cs-eyebrow .elementor-heading-title { color: var(--amber) !important; }

/* --- Eyebrow + Title typography --- */
.cs-eyebrow .elementor-heading-title {
	font-family: 'Caveat', cursive !important;
	color: var(--amber) !important;
	font-size: 26px !important;
	font-weight: 500 !important;
	margin-bottom: 4px !important;
	letter-spacing: 0 !important;
}
.cs-title .elementor-heading-title,
.cs-hero-title .elementor-heading-title,
.cs-page-hero-title .elementor-heading-title {
	font-family: 'Fraunces', Georgia, serif !important;
	color: var(--navy) !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
}
.cs-hero-title .elementor-heading-title { font-size: clamp(42px, 5.5vw, 72px) !important; margin-bottom: 20px; }
.cs-page-hero-title .elementor-heading-title { font-size: clamp(36px, 5vw, 60px) !important; }
.cs-title .elementor-heading-title em,
.cs-hero-title .elementor-heading-title em,
.cs-page-hero-title .elementor-heading-title em {
	color: var(--amber) !important;
	font-style: italic;
}

/* --- Hero section --- */
.cs-hero-section { padding: 56px 20px 40px; }
.cs-hero-actions { display: flex; gap: 14px; margin: 20px 0 24px; flex-wrap: wrap; }
.cs-hero-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--navy-light); }
.cs-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cs-hero-img img { border-radius: 24px; box-shadow: 0 30px 60px rgba(44,74,96,0.25); }
.cs-hero-plate {
	display: inline-block; margin-top: -40px; margin-left: 20px;
	background: var(--amber); color: var(--cream-2);
	padding: 10px 20px; border-radius: 999px;
	font-family: 'Caveat', cursive; font-size: 22px;
	box-shadow: 0 10px 24px rgba(198,138,60,0.35);
	position: relative; z-index: 2;
}

/* --- Page Hero (inner pages) --- */
.cs-page-hero { padding: 80px 20px 60px; text-align: left; }

/* --- Detail cards (course details / navy section) --- */
.cs-details-grid { padding: 0 20px 56px; }
.cs-detail-card .elementor-icon-box-wrapper {
	background: rgba(255,255,255,0.08) !important;
	border: 1px solid rgba(244,236,216,0.15) !important;
	padding: 24px 20px !important;
	border-radius: 16px;
	transition: transform .3s ease, background .3s ease;
}
.cs-detail-card:hover .elementor-icon-box-wrapper {
	background: rgba(198,138,60,0.15) !important;
	transform: translateY(-4px);
}
.cs-detail-card .elementor-icon {
	background: var(--amber) !important;
	color: var(--navy) !important;
}
.cs-detail-card .elementor-icon svg,
.cs-detail-card .elementor-icon i { color: var(--navy) !important; fill: var(--navy) !important; }
.cs-detail-card .elementor-icon-box-title,
.cs-detail-card .elementor-icon-box-title a { color: var(--cream) !important; }
.cs-detail-card .elementor-icon-box-description {
	color: var(--cream) !important;
	opacity: 0.85;
}
.cs-detail-card .elementor-icon-box-description strong { color: var(--amber) !important; }

/* --- Trainer section --- */
.cs-trainer-section .trainer__visual { position: relative; }
.cs-trainer-section .trainer__frame {
	border-radius: 24px; overflow: hidden;
	background: var(--cream-2);
	box-shadow: 0 20px 50px rgba(44,74,96,0.20);
}
.cs-trainer-section .trainer__frame svg { width: 100%; height: auto; display: block; }
.cs-trainer-section .trainer__medal {
	position: absolute; bottom: 24px; right: -12px;
	background: linear-gradient(135deg, var(--amber), var(--amber-dark));
	color: var(--cream-2); padding: 14px 20px;
	border-radius: 999px; text-align: center;
	box-shadow: 0 10px 24px rgba(198,138,60,0.4);
}
.cs-trainer-section .trainer__medal strong { display: block; font-family: 'Fraunces', serif; font-size: 22px; }
.cs-trainer-section .trainer__medal small { font-size: 11px; opacity: 0.9; }
.cs-trainer-section .trainer__role {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--cream-2); color: var(--amber-dark);
	padding: 6px 14px; border-radius: 999px;
	font-weight: 600; font-size: 14px;
	margin: 12px 0;
}
.cs-trainer-name .elementor-heading-title { font-size: clamp(32px, 4vw, 52px) !important; }

/* --- Feature cards (why us) --- */
.cs-features-grid { padding: 40px 20px; }
.cs-feature .elementor-icon-box-wrapper {
	background: var(--cream-2) !important;
	border: 1px solid rgba(44,74,96,0.10) !important;
	padding: 28px 22px !important;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(44,74,96,0.05);
	transition: all .3s ease;
	height: 100%;
}
.cs-feature:hover .elementor-icon-box-wrapper {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(44,74,96,0.12);
	border-color: var(--amber);
}

/* --- Course level cards --- */
.cs-course-level {
	background: var(--cream-2);
	border-radius: 20px;
	margin: 24px auto;
	max-width: 960px;
	padding: 40px 32px !important;
	border-left: 6px solid var(--amber);
}

/* --- Pillars (used on About page) --- */
.pillars { display: flex; gap: 20px; margin-top: 24px; }
.pillar {
	flex: 1; padding: 16px; text-align: center;
	background: var(--cream-2); border-radius: 12px;
	border-top: 3px solid var(--amber);
}
.pillar__num {
	display: block; font-family: 'Fraunces', serif;
	font-size: 28px; color: var(--amber); font-weight: 700;
}
.pillar__label { display: block; font-size: 13px; color: var(--navy); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* --- GMB section (navy) --- */
.cs-gmb-section .elementor-widget-button .elementor-button,
.cs-gmb-section a.btn--primary {
	background: var(--amber) !important;
	color: var(--navy) !important;
}

/* --- Enroll / Final CTA --- */
.cs-enroll-section {
	background: linear-gradient(135deg, var(--cream-2), var(--cream));
	border-radius: 24px;
	margin: 40px 20px;
	padding: 56px 32px !important;
	border: 1px dashed rgba(198,138,60,0.35);
	position: relative; overflow: hidden;
}
.cs-enroll-section::before {
	content: ''; position: absolute; right: -40px; bottom: -40px;
	width: 220px; height: 220px;
	background: url('assets/decor-king-light.svg') no-repeat center/contain;
	opacity: 0.12; pointer-events: none;
}
.cs-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- About section --- */
.cs-about-section { padding: 72px 20px; }
.cs-about-img img { border-radius: 20px; box-shadow: 0 20px 40px rgba(44,74,96,0.15); }

/* --- Mobile tweaks --- */
@media (max-width: 767px) {
	.cs-section, .cs-hero-section, .cs-about-section { padding: 40px 16px; }
	.cs-page-hero { padding: 48px 16px 32px; }
	.cs-hero-plate { margin-left: 0; margin-top: -24px; font-size: 18px; }
	.cs-hero-meta { gap: 12px; }
	.cs-trainer-section .trainer__medal { right: 0; bottom: 12px; }
	.pillars { flex-direction: column; }
	.cs-enroll-section { margin: 24px 12px; padding: 32px 20px !important; }
}
