/* ── Marquee Strip ── */
.sm-marquee-wrap {
  background: var(--primary);
  padding: .75rem 0;
  overflow: hidden;
}
.sm-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: sm-marquee-scroll 22s linear infinite;
}
@keyframes sm-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sm-marquee-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sm-marquee-item i {
  font-size: .5rem;
  opacity: .7;
}

.section-pad   { padding: 72px 0; }
.text-gradient { background: linear-gradient(135deg,var(--primary),var(--primary-light)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.section-badge { display:inline-block; padding:.3rem .9rem; background:var(--primary-bg); color:var(--primary); border-radius:var(--radius-full); font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:.6rem; }
.section-header.text-center p { color:var(--text-light); max-width:560px; margin:0 auto 0; }

/* ─── Video Hero (home page) ──────────────────────────────── */
.sm-video-hero{
  position:relative; overflow:hidden;
  min-height:600px; height:calc(100svh - var(--navbar-h));
  max-height:860px;
  display:flex; flex-direction:column; justify-content:center;
}
.sm-video-hero-media,
.sm-video-hero-poster{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0;
}
.sm-video-hero-poster{
  background:
    radial-gradient(circle at 75% 20%, var(--primary-bg), transparent 55%),
    linear-gradient(120deg,#1a0410,var(--bg) 70%);
  animation: sm-video-kenburns 18s ease-in-out infinite alternate;
}
@keyframes sm-video-kenburns{
  0%{ transform:scale(1); }
  100%{ transform:scale(1.08); }
}
.sm-video-hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(6,6,8,.88) 0%, rgba(6,6,8,.55) 40%, rgba(6,6,8,.25) 70%, rgba(6,6,8,.15) 100%),
    linear-gradient(180deg, rgba(6,6,8,.35) 0%, transparent 30%, transparent 75%, rgba(6,6,8,.7) 100%);
}

.sm-video-hero-content{ position:relative; z-index:2; flex:1; display:flex; align-items:center; padding:32px 0; }
.sm-video-hero-inner{ max-width:620px; }

.sm-hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--primary-light); font-size:.78rem; font-weight:800;
  letter-spacing:.2em; text-transform:uppercase; margin-bottom:18px;
}
.sm-hero-eyebrow::before,.sm-hero-eyebrow::after{ content:''; width:24px; height:1px; background:var(--primary-light); }

.sm-hero-title{
  font-size:clamp(2.2rem, 5vw, 3.6rem); font-weight:900; line-height:1.05;
  letter-spacing:-.01em; color:#fff; margin-bottom:6px;
}
.sm-pink{ color:var(--primary-light); }
.sm-hero-tagline{ font-size:1.2rem; font-weight:700; color:#fff; letter-spacing:.02em; margin:2px 0 18px; }
.sm-hero-desc{ color:var(--text-light); max-width:460px; margin-bottom:30px; font-size:1rem; }
.sm-hero-actions{ margin-bottom:44px; }

.sm-hero-stats{ display:flex; gap:36px; flex-wrap:wrap; }
.sm-hero-stats .sm-hero-stat{ display:flex; flex-direction:column; gap:2px; }
.sm-hero-stats strong{ font-size:1.55rem; font-weight:800; color:#fff; }
.sm-hero-stats span{ font-size:.7rem; color:var(--text-light); text-transform:uppercase; letter-spacing:.06em; font-weight:600; }

/* custom video control bar */
.sm-video-controls{
  position:relative; z-index:2;
  margin:0 clamp(16px, 4vw, 40px) 26px;
  background:rgba(15,15,17,.55);
  border:1px solid var(--border);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-radius:var(--radius-lg);
  padding:10px 18px;
  display:flex; align-items:center; gap:16px;
}
.sm-vc-time{ font-size:.75rem; color:#ddd; white-space:nowrap; font-variant-numeric:tabular-nums; }
.sm-vc-progress{
  flex:1; height:4px; background:rgba(255,255,255,.22); border-radius:4px;
  position:relative; cursor:pointer; overflow:hidden;
}
.sm-vc-fill{
  position:absolute; left:0; top:0; bottom:0; width:0%;
  background:linear-gradient(90deg,var(--primary),var(--primary-light));
  border-radius:4px;
}
.sm-vc-icon{
  background:transparent; border:none; color:#ddd; font-size:.85rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  width:26px; transition: color var(--transition);
}
.sm-vc-icon:hover{ color:var(--primary-light); }

@media(max-width:640px){
  .sm-video-hero-media{ object-fit:cover; object-position:65% center; background:#000; }
  .sm-video-hero-content{ padding:20px 0; }
  .sm-hero-title{ font-size:clamp(1.95rem,8.8vw,3rem); }
  .sm-hero-stats{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 20px; }
  .sm-hero-stats strong{ font-size:1.3rem; }
  .sm-vc-time{ display:none; }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero-section {
  background: url('../images/hero-bg.webp') center center / cover no-repeat, #070707;
  color:#fff; padding:80px 0 60px; position:relative; overflow:hidden;
}
.hero-section::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: rgba(0,0,0,.28);
}
.hero-section .container { position:relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
.hero-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(36,127,118,.15); color:#36958B; border:1px solid rgba(36,127,118,.3); padding:.35rem .9rem; border-radius:var(--radius-full); font-size:.78rem; font-weight:700; margin-bottom:1.2rem; }
.hero-title { font-size:3rem; font-weight:900; color:#fff; line-height:1.15; margin-bottom:1rem; }
.hero-subtitle { font-size:1.05rem; color:rgba(255,255,255,.8); margin-bottom:1.8rem; line-height:1.7; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2rem; }
.btn-white { background:#fff; color:var(--primary); border-color:#fff; }
.btn-white:hover { background:#f3f4f6; color:var(--primary-dark); }
.hero-stats { display:flex; align-items:center; gap:0; flex-wrap:wrap; }
.hero-stat { text-align:center; padding:0 1.5rem; }
.hero-stat:first-child { padding-left:0; }
.hero-stat strong { display:block; font-size:1.6rem; font-weight:800; color:#fff; }
.hero-stat span   { font-size:.8rem; color:rgba(255,255,255,.6); }
.hero-stat-divider { width:1px; height:36px; background:rgba(255,255,255,.2); }
.text-warning { color:#fbbf24 !important; }
.hero-image { position:relative; display:flex; align-items:center; justify-content:center; }
.hero-illustration { position:relative; width:100%; max-width:420px; margin:0 auto; }
.hero-circle { position:absolute; border-radius:50%; }
.hero-circle-1 { width:340px; height:340px; background:rgba(36,127,118,.12); top:50%; left:50%; transform:translate(-50%,-50%); }
.hero-circle-2 { width:240px; height:240px; background:rgba(36,127,118,.18); top:50%; left:50%; transform:translate(-50%,-50%); }
.hero-icon-grid { position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; padding:2rem; z-index:1; }
.hig-item { background:rgba(255,255,255,.1); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.15); border-radius:var(--radius); padding:.9rem .7rem; text-align:center; }
.hig-item i { font-size:1.5rem; color:#36958B; display:block; margin-bottom:.3rem; }
.hig-item span { font-size:.72rem; color:rgba(255,255,255,.8); font-weight:600; }
.hero-card-float { position:absolute; background:#1F1F1F; border-radius:var(--radius); padding:.6rem 1rem; box-shadow:0 8px 24px rgba(36,127,118,.2); display:flex; align-items:center; gap:.5rem; font-size:.82rem; font-weight:600; color:#fff; z-index:2; white-space:nowrap; border:1px solid rgba(36,127,118,.20); }
.hero-card-1 { top:10%; left:-5%; }
.hero-card-2 { bottom:10%; right:-5%; }

/* ─── Trust Bar ──────────────────────────────────────────── */
.trust-bar { background:#121212; border-bottom:1px solid rgba(36,127,118,.15); padding:1.2rem 0; }
.trust-bar .container { display:flex; align-items:center; gap:2rem; flex-wrap:wrap; }
.trust-label { font-size:.82rem; color:var(--text-light); white-space:nowrap; font-weight:600; }
.trust-logos { display:flex; gap:2rem; flex-wrap:wrap; }
.trust-logos span { font-size:.88rem; font-weight:700; color:var(--text-muted); letter-spacing:.05em; }

/* ─── Features ───────────────────────────────────────────── */
/* ── Features section header ── */
.features-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.features-header-left { max-width: 520px; }
.features-header-left h2 { font-size: 2rem; margin-bottom: .5rem; }
.features-header-left p  { color: var(--text-light); margin: 0; font-size: .95rem; }
.features-header-stat {
  text-align: right; flex-shrink: 0;
}
.features-header-stat strong {
  display: block; font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.features-header-stat span { font-size: .82rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* ── New feature cards grid ── */
.features-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card-new {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: default;
}
.feature-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: var(--fc-color, var(--primary));
}
.fc-num {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  color: var(--fc-color, var(--primary)); opacity: .35;
  position: absolute; top: 20px; right: 20px;
  font-variant-numeric: tabular-nums;
}
.fc-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-lg);
  background: var(--fc-bg, var(--primary-bg));
  color: var(--fc-color, var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: transform .2s;
}
.feature-card-new:hover .fc-icon { transform: scale(1.1); }
.feature-card-new h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.feature-card-new p {
  font-size: .85rem; color: var(--text-light);
  line-height: 1.65; margin: 0;
}
.fc-line {
  height: 3px; border-radius: 9999px;
  background: var(--fc-color, var(--primary));
  margin-top: 20px; width: 32px;
  transition: width .3s ease;
}
.feature-card-new:hover .fc-line { width: 60px; }

/* legacy – keep for about page reuse */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.feature-card { background:#1F1F1F; border:1px solid rgba(36,127,118,.15); border-radius:var(--radius-lg); padding:2rem 1.5rem; text-align:center; transition:all var(--transition); }
.feature-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--primary-light); }
.feature-icon { width:64px; height:64px; background:var(--primary-bg); border-radius:var(--radius-lg); display:grid; place-items:center; margin:0 auto 1.2rem; font-size:1.6rem; color:var(--primary); transition:all var(--transition); }
.feature-card:hover .feature-icon { background:var(--primary); color:#fff; }
.feature-card h3 { font-size:1rem; margin-bottom:.5rem; }
.feature-card p  { font-size:.875rem; color:var(--text-light); margin:0; }

/* ─── Course Cards ───────────────────────────────────────── */
.course-category { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--primary); margin-bottom:.35rem; display:block; }
.course-desc { font-size:.82rem; color:var(--text-light); margin:.3rem 0 .5rem; flex:1; }
.course-badge { position:absolute; top:.6rem; left:.6rem; padding:.2rem .6rem; border-radius:var(--radius-full); font-size:.7rem; font-weight:700; }
.badge-free { background:rgba(36,127,118,.12); color:#36958B; }
.badge-sale { background:#fee2e2; color:#991b1b; }
.course-meta { display:flex; gap:.75rem; font-size:.78rem; color:var(--text-light); padding:.5rem 0; border-top:1px solid var(--border-light); margin-top:auto; }
.course-rating { display:flex; align-items:center; gap:.25rem; color:var(--warning); font-weight:600; }
.course-rating small { color:var(--text-muted); font-weight:400; }
.course-students { display:flex; align-items:center; gap:.25rem; }
.course-footer { display:flex; align-items:center; justify-content:space-between; padding:.7rem; border-top:1px solid var(--border-light); }
.course-price { font-size:1.1rem; font-weight:800; color:var(--text); }
.course-price.free { color:var(--success); }
.course-price-old { font-size:.82rem; color:var(--text-muted); text-decoration:line-through; }
.course-enroll-btn { font-size:.78rem; font-weight:700; color:var(--primary); background:var(--primary-bg); padding:.3rem .7rem; border-radius:var(--radius-full); }
.course-card:hover .course-enroll-btn { background:var(--primary); color:#fff; }

/* ─── How It Works ───────────────────────────────────────── */
.steps-grid { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:1rem; align-items:center; }
.step-card { background:#1F1F1F; border:1px solid rgba(36,127,118,.15); border-radius:var(--radius-lg); padding:2rem 1.5rem; text-align:center; position:relative; }
.step-num { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--primary); color:#fff; font-size:.75rem; font-weight:800; padding:.2rem .6rem; border-radius:var(--radius-full); letter-spacing:.04em; }
.step-icon { width:60px; height:60px; background:var(--primary-bg); border-radius:50%; display:grid; place-items:center; margin:0 auto 1rem; font-size:1.4rem; color:var(--primary); }
.step-card h3 { font-size:1rem; margin-bottom:.4rem; }
.step-card p  { font-size:.84rem; color:var(--text-light); margin:0; }
.step-arrow { font-size:1.5rem; color:var(--border); }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-stars { display:flex; gap:.2rem; color:var(--border); margin-bottom:.8rem; }
.testimonial-stars .active { color:var(--warning); }
.testimonial-text { font-size:.9rem; color:var(--text-light); font-style:italic; margin-bottom:1.2rem; }
.testimonial-author { display:flex; align-items:center; gap:.75rem; }
.testimonial-author img { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.testimonial-author strong { display:block; font-size:.9rem; }
.testimonial-author small  { font-size:.78rem; color:var(--text-muted); }
.testimonial-avatar-placeholder { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,#247F76,#36958B); color:#fff; display:grid; place-items:center; font-size:1.1rem; font-weight:800; flex-shrink:0; }

/* ─── CTA ────────────────────────────────────────────────── */
.cta-section { background:linear-gradient(135deg,#0A0A0A,#1A0000,#247F76 80%,#1A0000,#0A0A0A); color:#fff; }
.cta-box { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-content h2 { color:#fff; font-size:2rem; margin-bottom:.5rem; }
.cta-content p  { color:rgba(255,255,255,.8); margin-bottom:1.5rem; }
.cta-actions { display:flex; gap:1rem; flex-wrap:wrap; }
.cta-decoration { font-size:8rem; opacity:.06; line-height:1; }

/* ─── Page Hero ──────────────────────────────────────────── */
.page-hero {
  background: url('../images/hero-bg.webp') center center / cover no-repeat, #070707;
  color:#fff; padding:64px 0; text-align:center;
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: rgba(0,0,0,.32);
}
.page-hero > * { position:relative; z-index:1; }
.page-hero h1 { color:#fff; margin-bottom:.5rem; }
.page-hero p  { color:rgba(255,255,255,.75); margin-bottom:1.5rem; }
.page-hero .section-badge { background:rgba(255,255,255,.15); color:#fbbf24; margin-bottom:.75rem; }
.page-search-form { display:flex; max-width:500px; margin:0 auto; background:#1F1F1F; border-radius:var(--radius-full); overflow:hidden; }
.page-search-form input  { flex:1; padding:.75rem 1.2rem; border:none; font-size:.9rem; }
.page-search-form input:focus { outline:none; }
.page-search-form button { padding:.75rem 1.5rem; background:var(--primary); color:#fff; font-size:.9rem; font-weight:600; white-space:nowrap; }

/* ─── Courses Listing ────────────────────────────────────── */
.courses-layout { grid-template-columns:1fr; }
.courses-sidebar .filter-card { background:#1F1F1F; border:1px solid var(--border); border-radius:var(--radius); padding:1.2rem; position:sticky; top:calc(var(--navbar-h) + 16px); }
.courses-sidebar h3 { font-size:.95rem; margin-bottom:.8rem; font-weight:700; }
.filter-list { margin:0; padding:0; }
.filter-list a { display:flex; justify-content:space-between; padding:.45rem .5rem; font-size:.85rem; border-radius:var(--radius-sm); color:var(--text); transition:all var(--transition); }
.filter-list a:hover, .filter-list a.active { background:var(--primary-bg); color:var(--primary); }
.courses-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2rem; }
.courses-sort { display:flex; align-items:center; gap:.5rem; font-size:.85rem; }
.courses-sort select { padding:.4rem .7rem; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:.85rem; }
.pg-btn { display:inline-grid; place-items:center; width:36px; height:36px; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:.85rem; color:var(--text); transition:all var(--transition); }
.pg-btn:hover, .pg-btn.active { background:var(--primary); border-color:var(--primary); color:#fff; }
.pagination { display:flex; gap:.4rem; justify-content:center; margin-top:2rem; flex-wrap:wrap; }

/* ─── Course Detail ──────────────────────────────────────── */

/* Hero */
.cd-hero {
  background: url('../images/hero-bg.jpg') center center / cover no-repeat, #070707;
  padding: 44px 0 52px; color: #fff; position: relative; overflow: hidden;
}
.cd-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: rgba(0,0,0,.35);
}
.cd-hero .container { position: relative; z-index: 1; }

.cd-breadcrumb {
  display: flex; align-items: center; gap: .4rem; font-size: .75rem;
  color: rgba(255,255,255,.4); margin-bottom: 1.1rem; flex-wrap: wrap;
}
.cd-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.cd-breadcrumb a:hover { color: #fff; }
.cd-breadcrumb i { font-size: .6rem; color: rgba(255,255,255,.25); }

.cd-hero-inner { max-width: 820px; }

.cd-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(36,127,118,.2); color: #36958B;
  border: 1px solid rgba(36,127,118,.35); padding: .22rem .85rem;
  border-radius: 99px; font-size: .69rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .9rem;
}

.cd-title { color: #fff; font-size: 2.1rem; line-height: 1.28; margin-bottom: .85rem; }
.cd-subtitle { color: rgba(255,255,255,.68); font-size: .97rem; line-height: 1.65; margin-bottom: 1.3rem; max-width: 700px; }

.cd-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin-bottom: 1.4rem;
}
.cd-stat { display: flex; align-items: center; gap: .4rem; font-size: .84rem; color: rgba(255,255,255,.72); }
.cd-stat i { color: #a5b4fc; }
.cd-rating { gap: .5rem; }
.cd-rating-num { color: #fbbf24; font-weight: 800; font-size: .95rem; }
.cd-stat-muted { color: rgba(255,255,255,.38); font-size: .78rem; }
.cd-stat .fa-star { color: #fbbf24 !important; }

.cd-instructor {
  display: flex; align-items: center; gap: .65rem; font-size: .84rem;
  color: rgba(255,255,255,.6); padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: .5rem;
}
.cd-instructor img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.22); }
.cd-instructor strong { color: #36958B; font-weight: 600; }

/* Layout */
.cd-body { background: #0A0A0A; padding: 40px 0 60px; }
.cd-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.75rem; align-items: start; }

/* Sidebar / Buy Card */
.cd-sidebar { position: sticky; top: 80px; }
.cd-buy-card { background: #1F1F1F; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 30px rgba(36,127,118,.15); border: 1px solid rgba(36,127,118,.15); }
.cd-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #111; }
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s, opacity .3s; }
.cd-thumb:hover img { transform: scale(1.05); opacity: .75; }
.cd-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cd-play-overlay span {
  width: 52px; height: 52px; background: rgba(255,255,255,.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .2s;
}
.cd-thumb:hover .cd-play-overlay span { transform: scale(1.1); }

.cd-buy-body { padding: 1.4rem; }
.cd-price-row { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.cd-price { font-size: 2.1rem; font-weight: 900; color: var(--text); line-height: 1; }
.cd-price.free { color: var(--success); }
.cd-price-orig { font-size: .9rem; color: var(--text-muted); text-decoration: line-through; }
.cd-price-badge { background: #fef3c7; color: #92400e; font-size: .68rem; font-weight: 800; padding: .15rem .5rem; border-radius: 5px; }
.cd-payment-type { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.cd-access-duration { margin: -.65rem 0 1rem; font-size: .82rem; color: var(--text-muted); }
.cd-guarantee { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--text-muted); justify-content: center; margin: .8rem 0; }
.cd-guarantee i { color: var(--success); }
.cd-includes { margin: 0; padding: 0; list-style: none; border-top: 1px solid #f0f0f0; padding-top: .85rem; }
.cd-includes li { display: flex; align-items: center; gap: .55rem; font-size: .8rem; color: var(--text-light); padding: .27rem 0; }
.cd-includes li i { width: 14px; color: var(--primary); flex-shrink: 0; }
.btn-block { width: 100%; justify-content: center; }

/* Main content */
.cd-card { background: #1F1F1F; border-radius: 14px; padding: 1.75rem 2rem; margin-bottom: 1.25rem; box-shadow: 0 1px 4px rgba(36,127,118,.08); border: 1px solid rgba(36,127,118,.10); }
.cd-card h2 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid #f0f0f0; display: flex; align-items: center; gap: .5rem; }
.cd-card h2 i { color: var(--primary); font-size: .95rem; }
.cd-empty { color: var(--text-muted); font-size: .88rem; margin: 0; }

/* What You'll Learn */
.cd-learn-box { background: rgba(36,127,118,.06); border: 1px solid rgba(36,127,118,.18); border-radius: 14px; padding: 1.6rem 1.75rem; margin-bottom: 1.25rem; }
.cd-learn-box h2 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.cd-learn-box h2 i { color: var(--primary); }
.cd-learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cd-learn-item { display: flex; align-items: flex-start; gap: .55rem; font-size: .87rem; line-height: 1.5; }
.cd-learn-item i { color: var(--primary); margin-top: 2px; flex-shrink: 0; font-size: .82rem; }

/* Curriculum */
.cd-curriculum-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cd-curriculum-meta span:not(:last-child)::after { content: ''; }
.cd-accordion { display: flex; flex-direction: column; gap: .45rem; }
.cd-acc-item { border: 1px solid rgba(36,127,118,.12); border-radius: 10px; overflow: hidden; transition: box-shadow .2s; }
.cd-acc-item:hover { box-shadow: 0 2px 12px rgba(36,127,118,.10); }
.cd-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem; background: #181818; border: none; cursor: pointer;
  font-size: .88rem; font-weight: 600; color: #FFFFFF; gap: .75rem;
  transition: background .2s, color .2s; text-align: left;
}
.cd-acc-btn.open { background: rgba(36,127,118,.12); color: #247F76; }
.cd-acc-left { display: flex; align-items: center; gap: .55rem; flex: 1; min-width: 0; }
.cd-acc-left i { color: var(--primary); font-size: .78rem; flex-shrink: 0; }
.cd-acc-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; font-size: .75rem; font-weight: 400; color: var(--text-muted); }
.cd-acc-btn.open .cd-acc-right { color: var(--primary); opacity: .7; }
.cd-chevron { transition: transform .25s; font-size: .72rem; }
.cd-acc-btn.open .cd-chevron { transform: rotate(180deg); }
.cd-acc-body { background: #1F1F1F; border-top: 1px solid rgba(36,127,118,.08); }
.cd-lesson {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 1.25rem; font-size: .84rem; gap: 1rem;
  border-bottom: 1px solid rgba(36,127,118,.06); transition: background .15s;
}
.cd-lesson:last-child { border-bottom: none; }
.cd-lesson:hover { background: #181818; }
.cd-lesson-left { display: flex; align-items: center; gap: .55rem; color: #E5E5E5; min-width: 0; }
.cd-lesson-left i { color: #247F76; opacity: .7; font-size: .76rem; flex-shrink: 0; }
.cd-lesson-right { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; color: var(--text-muted); font-size: .77rem; }
.cd-preview { font-size: .66rem; background: var(--primary-bg); color: var(--primary); padding: .08rem .45rem; border-radius: 99px; font-weight: 700; white-space: nowrap; }

/* Instructor */
.cd-instructor-card { display: flex; gap: 1.2rem; align-items: flex-start; }
.cd-instructor-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--primary-bg); }
.cd-instructor-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .3rem; }
.cd-instructor-card p { font-size: .87rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.cd-description { font-size: .9rem; line-height: 1.75; color: var(--text-light); }

/* Reviews */
.cd-rating-summary { display: flex; gap: 2rem; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.4rem; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; }
.cd-rating-score { text-align: center; flex-shrink: 0; }
.cd-score-num { font-size: 4rem; font-weight: 900; color: #247F76; line-height: 1; }
.cd-score-label { font-size: .73rem; color: var(--text-muted); margin-top: .3rem; }
.cd-rating-bars { flex: 1; min-width: 160px; }
.cd-bar-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.cd-bar-track { flex: 1; height: 7px; background: #2A2A2A; border-radius: 99px; overflow: hidden; }
.cd-bar-fill { height: 100%; background: #247F76; border-radius: 99px; }
.cd-bar-num { width: 14px; font-size: .75rem; color: var(--text-muted); text-align: right; flex-shrink: 0; }
.cd-bar-pct { width: 30px; font-size: .73rem; color: var(--text-muted); text-align: right; flex-shrink: 0; }
.cd-reviews { display: flex; flex-direction: column; gap: 0; }
.cd-review { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #f4f4f4; }
.cd-review:last-child { border-bottom: none; }
.cd-review img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cd-review-body { flex: 1; }
.cd-review-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .2rem; flex-wrap: wrap; }
.cd-review-top strong { font-size: .9rem; color: var(--text); }
.cd-review-top span { font-size: .72rem; color: var(--text-muted); }
.cd-review-body p { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin: .25rem 0 0; }

/* ── Level badges in hero ── */
.cd-hero-tags { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; flex-wrap: wrap; }
.cd-level-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .22rem .85rem; border-radius: 99px; font-size: .69rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.cd-level-beginner     { background: rgba(16,185,129,.18); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.cd-level-intermediate { background: rgba(245,158,11,.18); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); }
.cd-level-advanced     { background: rgba(239,68,68,.18);  color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.cd-level-all          { background: rgba(36,127,118,.15); color: #36958B; border: 1px solid rgba(36,127,118,.3); }

.cd-stat-sep { color: rgba(255,255,255,.2); font-size: .9rem; }

/* ── Highlights bar ── */
.cd-highlights-bar { background: #181818; border-bottom: 1px solid rgba(36,127,118,.12); padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.cd-hl-grid { display: flex; align-items: stretch; flex-wrap: wrap; }
.cd-hl-item { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.5rem; flex: 1; min-width: 140px; border-right: 1px solid #f0f0f0; }
.cd-hl-item:last-child { border-right: none; }
.cd-hl-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.cd-hl-label { font-size: .71rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cd-hl-val { font-size: .9rem; font-weight: 700; color: var(--text); margin-top: .05rem; }

/* ── Requirements ── */
.cd-req-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.cd-req-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: var(--text-light); line-height: 1.5; }
.cd-req-list li::before { content: '›'; color: var(--primary); font-weight: 700; font-size: 1rem; line-height: 1.3; flex-shrink: 0; }

/* ── Lesson number ── */
.cd-lesson-num { width: 20px; text-align: center; font-size: .73rem; color: var(--text-muted); flex-shrink: 0; }

/* ── Card meta grid (sidebar) ── */
.cd-card-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin: .85rem 0; padding: .75rem; background: #f9fafb; border-radius: 10px; }
.cd-card-meta-item { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--text-light); }
.cd-card-meta-item i { color: var(--primary); width: 14px; font-size: .8rem; flex-shrink: 0; }

/* ── Instructor block ── */
.cd-instructor-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: .35rem 0 .7rem; }
.cd-instructor-meta span { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; }
.cd-instructor-meta i { color: var(--warning); }
.cd-instructor-info h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .1rem; }
.cd-instructor-info p { font-size: .87rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ── Preview video modal ── */
.cd-video-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.85); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.cd-video-modal.active { display: flex; }
.cd-video-inner { position: relative; width: 100%; max-width: 840px; }
.cd-video-close {
  position: absolute; top: -44px; right: 0; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; opacity: .75;
  transition: opacity .2s;
}
.cd-video-close:hover { opacity: 1; }
.cd-video-wrap { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.cd-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.cd-has-video .cd-play-overlay { background: rgba(0,0,0,.3); }
.cd-play-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; pointer-events: none; }
.cd-play-overlay span { width: 56px; height: 56px; background: rgba(255,255,255,.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,.35); transition: transform .2s; }
.cd-thumb:hover .cd-play-overlay span { transform: scale(1.1); }
.cd-preview-label { font-size: .78rem; color: #fff; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* ─── Auth ───────────────────────────────────────────────── */
.auth-section { min-height:calc(100vh - var(--navbar-h)); display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#f0eaff,#e8f0fe); padding:2rem 1rem; }
.auth-container { width:100%; max-width:460px; }
.auth-card { background:#1F1F1F; border-radius:var(--radius-xl); box-shadow:0 20px 60px rgba(36,127,118,.15); padding:2.5rem; }
.auth-logo { text-align:center; margin-bottom:1.5rem; }
.auth-logo a { display:inline-flex; align-items:center; gap:.5rem; font-size:1.4rem; font-weight:900; color:var(--primary); }
.auth-title    { text-align:center; font-size:1.6rem; font-weight:800; margin-bottom:.4rem; }
.auth-subtitle { text-align:center; font-size:.88rem; color:var(--text-light); margin-bottom:1.5rem; }
.auth-form input { width:100%; padding:.65rem .9rem; border:2px solid var(--border); border-radius:var(--radius-sm); font-size:.9rem; transition:border-color var(--transition); }
.auth-form input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(86,36,208,.1); }
.input-icon { position:relative; }
.input-icon > i:first-child { position:absolute; left:.9rem; top:50%; transform:translateY(-50%); color:var(--text-muted); pointer-events:none; z-index:1; }
.input-icon input { padding-left:2.5rem; padding-right:2.8rem; }
.toggle-pw { position:absolute; right:.75rem; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; color:var(--text-muted); padding:.25rem; z-index:1; }
.forgot-link { float:right; font-size:.82rem; color:var(--primary); font-weight:500; }
.forgot-link:hover { text-decoration:underline; }
.auth-switch { text-align:center; margin-top:1.5rem; font-size:.88rem; color:var(--text-light); }
.auth-switch a { color:var(--primary); font-weight:600; }
.auth-terms { text-align:center; font-size:.78rem; color:var(--text-muted); margin-top:.75rem; }

/* ─── Checkout ───────────────────────────────────────────── */
.checkout-layout { display:grid; grid-template-columns:1fr 400px; gap:2rem; align-items:start; }
.checkout-summary, .checkout-payment { background:#1F1F1F; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.8rem; }
.checkout-summary h2, .checkout-payment h2 { font-size:1.15rem; margin-bottom:1.2rem; padding-bottom:.75rem; border-bottom:1px solid var(--border); }
.checkout-course-card { display:flex; gap:1rem; align-items:center; padding:1rem 0; border-bottom:1px solid var(--border-light); margin-bottom:1rem; }
.checkout-course-card img { width:80px; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-sm); flex-shrink:0; }
.checkout-course-card h3 { font-size:.9rem; font-weight:700; }
.checkout-course-card span { font-size:.78rem; color:var(--text-muted); }
.checkout-row { display:flex; justify-content:space-between; padding:.5rem 0; font-size:.9rem; border-bottom:1px solid var(--border-light); }
.checkout-row.total { border-bottom:none; font-size:1.1rem; padding-top:.75rem; }
.checkout-benefits li { display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:var(--text-light); padding:.3rem 0; }
.user-info-box { background:var(--bg); border-radius:var(--radius-sm); padding:1rem; margin-bottom:1.2rem; }
.user-info-box p { display:flex; align-items:center; gap:.5rem; font-size:.88rem; margin-bottom:.3rem; }
.razorpay-info { display:flex; align-items:center; gap:.5rem; font-size:.8rem; color:var(--text-muted); margin-bottom:1rem; }
.payment-note { font-size:.78rem; color:var(--text-muted); text-align:center; margin-top:.75rem; }

/* ─── Dashboard ──────────────────────────────────────────── */
.dashboard-layout { display:grid; grid-template-columns:260px 1fr; min-height:calc(100vh - var(--navbar-h)); }
.dashboard-sidebar { background:#121212; border-right:1px solid var(--border); padding:1.5rem 1rem; position:sticky; top:var(--navbar-h); height:calc(100vh - var(--navbar-h)); overflow-y:auto; }
.dash-user { display:flex; align-items:center; gap:.75rem; padding:.75rem; background:var(--primary-bg); border-radius:var(--radius); margin-bottom:1.2rem; }
.dash-user img { width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.dash-user strong { display:block; font-size:.88rem; }
.dash-user small  { font-size:.76rem; color:var(--text-muted); }
.dash-nav { display:flex; flex-direction:column; gap:.25rem; }
.dash-link { display:flex; align-items:center; gap:.6rem; padding:.6rem .8rem; border-radius:var(--radius-sm); font-size:.88rem; font-weight:500; color:var(--text); transition:all var(--transition); }
.dash-link:hover, .dash-link.active { background:var(--primary-bg); color:var(--primary); }
.dashboard-main { padding:2rem; background:var(--bg); }
.dash-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:2rem; flex-wrap:wrap; gap:1rem; }
.dash-header h1 { font-size:1.6rem; margin-bottom:.2rem; }
.dash-header p   { color:var(--text-light); font-size:.9rem; }
.dash-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:2rem; }
.dash-stat-card { background:#1F1F1F; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.2rem; display:flex; align-items:center; gap:1rem; }
.dash-stat-icon { width:50px; height:50px; background:var(--primary-bg); color:var(--primary); border-radius:var(--radius); display:grid; place-items:center; font-size:1.2rem; flex-shrink:0; }
.dash-stat-icon.orange { background:#fef3c7; color:var(--warning); }
.dash-stat-icon.green  { background:rgba(22,163,74,.15); color:var(--success); }
.dash-stat-card strong { display:block; font-size:1.5rem; font-weight:800; }
.dash-stat-card span   { font-size:.82rem; color:var(--text-light); }
.dash-section-title { font-size:1.1rem; margin-bottom:1.2rem; }
.course-progress { margin:.5rem 0; }
.progress-bar { background:var(--border); border-radius:var(--radius-full); height:6px; overflow:hidden; }
.progress-fill { height:100%; background:var(--primary); border-radius:var(--radius-full); }
.course-progress small { font-size:.75rem; color:var(--text-muted); margin-top:.25rem; display:block; }
.progress-overlay { position:absolute; top:.5rem; right:.5rem; background:rgba(0,0,0,.6); color:#fff; padding:.2rem .5rem; border-radius:var(--radius-full); font-size:.72rem; font-weight:700; }

/* ─── Watch Player ───────────────────────────────────────── */
.watch-layout { display:grid; grid-template-columns:1fr 340px; height:calc(100vh - var(--navbar-h)); overflow:hidden; }
.watch-main { overflow-y:auto; background:#111; }
.watch-video-box { background:#000; }
.video-wrapper { position:relative; aspect-ratio:16/9; background:#000; }
.video-wrapper iframe, .video-wrapper video { position:absolute; inset:0; width:100%; height:100%; border:none; }
.lesson-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; aspect-ratio:16/9; background:#111; color:rgba(255,255,255,.4); gap:1rem; }
.lesson-placeholder i { font-size:3rem; }
.watch-video-security-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 0;
  padding: .7rem 1rem;
  background: #222;
  color: #ddd;
  font-size: .78rem;
  line-height: 1.5;
}
.watch-video-security-note i { margin-top: .15rem; color: #80b7ad; }
.lesson-text-content { padding:1.5rem; background:#181818; }
.watch-lesson-info { padding:1.5rem; background:#181818; border-top:1px solid var(--border); }
.watch-lesson-info h2 { font-size:1.2rem; margin-bottom:.5rem; }
.watch-lesson-actions { margin-top:1rem; }
.watch-sidebar { border-left:1px solid var(--border); background:#121212; overflow-y:auto; }
.watch-course-title { display:flex; align-items:center; gap:.75rem; padding:1rem; border-bottom:1px solid var(--border); font-size:.88rem; font-weight:600; background:#121212; position:sticky; top:0; z-index:1; }
.watch-course-title a { color:var(--text-light); }
.watch-section-title { padding:.75rem 1rem; font-size:.82rem; font-weight:700; background:var(--bg); color:var(--text-light); text-transform:uppercase; letter-spacing:.04em; }
.watch-lesson { display:flex; align-items:center; gap:.6rem; padding:.65rem 1rem; font-size:.83rem; color:var(--text); transition:background var(--transition); border-bottom:1px solid var(--border-light); }
.watch-lesson:hover  { background:var(--bg); }
.watch-lesson.active { background:var(--primary-bg); color:var(--primary); }
.watch-lesson span  { flex:1; }
.watch-lesson small { font-size:.72rem; color:var(--text-muted); white-space:nowrap; }

/* ─── Admin ──────────────────────────────────────────────── */
.admin-body { background:var(--bg); }
.admin-layout { display:grid; grid-template-columns:260px 1fr; min-height:100vh; }
.admin-sidebar { background:#1a1b2e; color:#fff; overflow-y:auto; position:sticky; top:0; height:100vh; }
.admin-brand { display:flex; align-items:center; gap:.6rem; padding:1.2rem 1.4rem; font-size:1.15rem; font-weight:800; color:#fff; border-bottom:1px solid rgba(255,255,255,.1); }
.admin-brand i { color:var(--primary-light); }
.admin-nav { padding:.75rem 0; }
.admin-nav-link { display:flex; align-items:center; gap:.75rem; padding:.7rem 1.4rem; font-size:.86rem; font-weight:500; color:rgba(255,255,255,.7); transition:all var(--transition); border-left:3px solid transparent; }
.admin-nav-link:hover  { background:rgba(255,255,255,.07); color:#fff; border-left-color:rgba(255,255,255,.3); }
.admin-nav-link.active { background:rgba(36,127,118,.25); color:#fff; border-left-color:var(--primary-light); }
.admin-nav-link.text-danger { color:#f87171; }
.admin-nav-link i { width:18px; text-align:center; }
.admin-nav-group { padding:.5rem 1.4rem .3rem; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.3); margin-top:.4rem; }
.admin-nav-divider { border-top:1px solid rgba(255,255,255,.1); margin:.5rem 0; }
.admin-main { display:flex; flex-direction:column; min-height:100vh; background:var(--bg); }
.admin-topbar { display:flex; align-items:center; gap:1rem; padding:0 1.5rem; height:60px; background:#121212; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50; }
.admin-hamburger { display:none; font-size:1.2rem; color:var(--text); padding:.3rem; background:none; border:none; cursor:pointer; }
.admin-topbar-title { font-size:.95rem; font-weight:700; flex:1; }
.admin-topbar-user { display:flex; align-items:center; gap:.6rem; font-size:.85rem; font-weight:600; }
.admin-topbar-user img { width:32px; height:32px; border-radius:50%; object-fit:cover; }
.admin-content { padding:1.5rem; flex:1; }
.admin-page-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.5rem; flex-wrap:wrap; gap:1rem; }
.admin-page-header h1 { font-size:1.4rem; }
.admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-bottom:1.5rem; }
.admin-stat-card { background:#1F1F1F; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.2rem; display:flex; align-items:center; gap:1rem; }
.admin-stat-icon { width:50px; height:50px; border-radius:var(--radius); display:grid; place-items:center; font-size:1.2rem; flex-shrink:0; }
.admin-stat-icon.purple { background:var(--primary-bg); color:var(--primary); }
.admin-stat-icon.blue   { background:#dbeafe; color:#1d4ed8; }
.admin-stat-icon.green  { background:rgba(22,163,74,.15); color:var(--success); }
.admin-stat-icon.orange { background:#fef3c7; color:var(--warning); }
.admin-stat-card strong { display:block; font-size:1.5rem; font-weight:800; }
.admin-stat-card span   { font-size:.82rem; color:var(--text-light); }
.admin-card { background:#1F1F1F; border:1px solid var(--border); border-radius:var(--radius-lg); margin-bottom:1.5rem; overflow:hidden; }
.admin-card-header { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.2rem; border-bottom:1px solid var(--border); }
.admin-card-header h2 { font-size:1rem; font-weight:700; }
.admin-card-header a  { font-size:.82rem; color:var(--primary); font-weight:600; }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th { padding:.7rem 1rem; text-align:left; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--text-light); background:var(--bg); border-bottom:1px solid var(--border); white-space:nowrap; }
.admin-table td { padding:.8rem 1rem; font-size:.87rem; border-bottom:1px solid var(--border-light); vertical-align:middle; }
.admin-table tr:last-child td { border-bottom:none; }
.admin-table tr:hover td { background:var(--bg); }
.badge-purple { background:var(--primary-bg); color:var(--primary); }
.badge-blue   { background:#dbeafe; color:#1d4ed8; }
.badge-gray   { background:#f3f4f6; color:#6b7280; }
.table-actions { display:flex; gap:.3rem; }
.btn-icon { width:30px; height:30px; border-radius:var(--radius-sm); display:inline-grid; place-items:center; font-size:.8rem; color:var(--text-light); transition:all var(--transition); }
.btn-icon:hover { background:var(--bg); color:var(--text); }
.table-course-cell { display:flex; align-items:center; gap:.6rem; }
.admin-search-form { display:flex; gap:.5rem; align-items:center; }
.admin-search-form input  { padding:.5rem .8rem; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:.85rem; min-width:220px; }
.admin-search-form select { padding:.5rem .7rem; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:.85rem; }
.admin-pagination { display:flex; gap:.4rem; padding:1rem; justify-content:center; flex-wrap:wrap; }
.admin-form-layout { display:grid; grid-template-columns:1fr 320px; gap:1.5rem; align-items:start; }
.admin-form-main .admin-card, .admin-form-sidebar .admin-card { padding:1.2rem; }
.admin-card-title { font-size:1rem; font-weight:700; margin-bottom:1rem; padding-bottom:.6rem; border-bottom:1px solid var(--border); }
.admin-form input, .admin-form select, .admin-form textarea { width:100%; padding:.6rem .85rem; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:.88rem; transition:border-color var(--transition); }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline:none; border-color:var(--primary); }
.admin-form label { display:block; font-size:.82rem; font-weight:600; margin-bottom:.35rem; color:var(--text); }
.admin-form .form-group { margin-bottom:1rem; }
.admin-form small { font-size:.75rem; color:var(--text-muted); margin-top:.25rem; display:block; }
.admin-revenue-badge { background:var(--primary-bg); color:var(--primary); padding:.4rem .9rem; border-radius:var(--radius-full); font-size:.85rem; }
.table-responsive { overflow-x:auto; }

/* ─── Nav utilities ──────────────────────────────────────── */
.btn-full { width:100%; justify-content:center; }

/* Mobile-only drawer items: hidden on desktop */
.mobile-user-card,
.mobile-auth-btns,
.mobile-drawer-section-label,
.mobile-logout { display:none; }

/* nav-link-icon: hidden on desktop, visible in drawer */
.nav-link-icon { display:none; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

/* Info strip at top */
.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.contact-info-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform .2s, box-shadow .2s;
}
.contact-info-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.contact-info-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
}
.contact-info-icon.purple { background: var(--primary-bg); color: var(--primary); }
.contact-info-icon.green  { background: rgba(36,127,118,.12); color: #36958B; }
.contact-info-icon.blue   { background: #dbeafe; color: #2563eb; }
.contact-info-icon.orange { background: rgba(245,158,11,.12); color: #f59e0b; }
.contact-info-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.contact-info-card p  { font-size: .88rem; color: var(--text-light); margin: 0; line-height: 1.5; }
.contact-info-card a  { color: var(--primary); font-weight: 600; font-size: .9rem; }
.contact-info-card a:hover { text-decoration: underline; }

/* Main layout */
.contact-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
}

/* Left panel */
.contact-side-panel {}
.contact-side-panel h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.contact-side-panel > p { color: var(--text-light); margin-bottom: 2rem; line-height: 1.7; }

.contact-detail-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-detail-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-item .cdi-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-detail-item .cdi-body strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 2px; }
.contact-detail-item .cdi-body span  { font-size: .88rem; color: var(--text-light); }
.contact-detail-item .cdi-body a     { color: var(--primary); }

.contact-social { display: flex; gap: 10px; margin-bottom: 28px; }
.contact-social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: transform .2s, opacity .2s;
  color: #fff;
}
.contact-social-btn:hover { transform:scale(1.12); opacity:.9; }
.csb-fb  { background: #1877f2; }
.csb-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.csb-yt  { background: #ff0000; }
.csb-wa  { background: #25d366; }
.csb-li  { background: #0a66c2; }

.contact-hours-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: var(--radius-lg); padding: 22px 20px;
}
.contact-hours-card h4 { font-size: .95rem; margin-bottom: 10px; opacity: .9; }
.contact-hours-card ul { list-style: none; }
.contact-hours-card ul li { display: flex; justify-content: space-between; font-size: .85rem; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-hours-card ul li:last-child { border-bottom: none; }

/* Form card */
.contact-form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.contact-form-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.contact-form-card > p { color: var(--text-light); font-size: .9rem; margin-bottom: 1.5rem; }

.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-subject-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.contact-subject-tab {
  padding: .35rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--text-light);
  transition: all .15s;
}
.contact-subject-tab.active,
.contact-subject-tab:hover {
  border-color: var(--primary); background: var(--primary-bg); color: var(--primary);
}

/* Success state */
.contact-success {
  text-align: center; padding: 48px 24px;
}
.contact-success-icon {
  width: 72px; height: 72px; background: rgba(36,127,118,.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #247F76; margin: 0 auto 20px;
}
.contact-success h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.contact-success p  { color: var(--text-light); }

/* FAQ section */
.contact-faq { padding: 56px 0; background: var(--bg); }
.contact-faq-inner { max-width: 860px; margin: 0 auto; }
.contact-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--text);
  gap: 12px;
}
.faq-question .faq-icon { color: var(--primary); transition: transform .25s; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: .88rem; color: var(--text-light); line-height: 1.7; }
.faq-answer.open { display: block; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY PAGE
   ═══════════════════════════════════════════════════════════ */
.cat-page-hero { padding: 52px 0; text-align: left; }
.cat-hero-inner { display: flex; align-items: center; gap: 24px; }
.cat-hero-icon {
  width: 72px; height: 72px; flex-shrink: 0;
  background: rgba(255,255,255,.15); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fbbf24;
}
.cat-page-hero h1 { margin-bottom: .4rem; }
.cat-page-hero p  { color: rgba(255,255,255,.75); margin: 0 0 .75rem; max-width: 560px; }
.cat-hero-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.cat-hero-meta span { font-size: .85rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }
.cat-hero-meta i { color: #fbbf24; }

.breadcrumb-trail {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: rgba(255,255,255,.55);
  margin-bottom: .5rem;
}
.breadcrumb-trail a { color: rgba(255,255,255,.65); }
.breadcrumb-trail a:hover { color: #fff; }
.breadcrumb-trail i { font-size: .6rem; }
.breadcrumb-trail span { color: #fbbf24; }

.cat-sub-strip {
  background: var(--card);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}
.cat-sub-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-sub-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .3rem .85rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-full); font-size: .82rem; font-weight: 600;
  color: var(--text-light); transition: all .15s;
}
.cat-sub-chip:hover {
  border-color: var(--primary); background: var(--primary-bg); color: var(--primary);
}

/* ─── Contact Form (cf-*) ────────────────────────────────── */
.cf-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
}
.cf-header-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.cf-header h3 { font-size: 1.15rem; margin: 0 0 2px; }
.cf-header p  { font-size: .82rem; color: var(--text-light); margin: 0; }

.cf-error-box {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: var(--radius); padding: 12px 14px;
  margin-bottom: 18px; font-size: .88rem; color: #b91c1c;
}
.cf-error-box i { margin-top: 2px; flex-shrink: 0; }
.cf-error-box span { display: block; }

.cf-form { display: flex; flex-direction: column; gap: 18px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cf-field { display: flex; flex-direction: column; gap: 6px; }

.cf-label {
  font-size: .82rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.cf-label i { color: var(--primary); font-size: .78rem; }
.cf-required { color: var(--danger); }

.cf-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .92rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.cf-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(86,36,208,.12);
}
.cf-input::placeholder { color: var(--text-muted); }

.cf-select-wrap { position: relative; }
.cf-select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.cf-select-arrow {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text-light); font-size: .78rem;
}

.cf-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.cf-hint { font-size: .75rem; color: var(--text-muted); }

.cf-check-row {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--text-light);
}
.cf-check-row input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--primary);
  cursor: pointer; flex-shrink: 0;
}
.cf-check-row label { cursor: pointer; margin: 0; }

.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
  letter-spacing: .01em;
}
.cf-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(86,36,208,.35);
}
.cf-submit:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */

/* Story section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-story-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-story-text p  { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.about-story-text p:last-child { margin-bottom: 0; }
.about-story-visual {
  position: relative;
}
.about-story-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg,#0A0A0A,#1A0000,#2A0000);
  padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 340px;
  text-align: center; color: #fff;
}
.about-story-img-wrap .story-icon { font-size: 4rem; margin-bottom: 1.2rem; opacity: .9; }
.about-story-img-wrap h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.about-story-img-wrap p { font-size: .9rem; opacity: .75; }
.about-story-badge {
  position: absolute; bottom: -16px; right: 20px;
  background: var(--card); border-radius: var(--radius-lg);
  padding: 12px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600;
}
.about-story-badge i { font-size: 1.2rem; color: var(--warning); }

/* Mission/Vision */
.about-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-mv-card {
  border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border-light);
}
.about-mv-card.mission { background: linear-gradient(135deg,#1A0000,#247F76); color: #fff; }
.about-mv-card.vision  { background: var(--card); }
.about-mv-card .mv-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.about-mv-card.mission .mv-icon { background: rgba(255,255,255,.15); color: #fbbf24; }
.about-mv-card.vision  .mv-icon { background: var(--primary-bg); color: var(--primary); }
.about-mv-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.about-mv-card.mission h3 { color: #fff; }
.about-mv-card p  { font-size: .92rem; line-height: 1.75; }
.about-mv-card.mission p { color: rgba(255,255,255,.8); }
.about-mv-card.vision p  { color: var(--text-light); }

/* Stats strip */
.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
}
.about-stat-item {
  padding: 36px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.about-stat-item:last-child { border-right: none; }
.about-stat-item strong { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-stat-item span   { font-size: .85rem; opacity: .8; margin-top: 6px; display: block; }

/* Values */
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-value-card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.about-value-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.about-value-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 14px;
}
.about-value-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.about-value-card p  { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Timeline */
.about-timeline {
  position: relative; max-width: 720px; margin: 0 auto;
}
.about-timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border-light);
  transform: translateX(-50%);
}
.about-tl-item {
  position: relative; width: 50%; padding: 0 48px 40px 0;
  text-align: right;
}
.about-tl-item:nth-child(even) {
  margin-left: 50%; padding: 0 0 40px 48px;
  text-align: left;
}
.about-tl-dot {
  position: absolute; right: -8px; top: 4px;
  width: 16px; height: 16px;
  background: var(--primary); border: 3px solid #fff;
  border-radius: 50%; box-shadow: 0 0 0 3px var(--primary-bg);
}
.about-tl-item:nth-child(even) .about-tl-dot { right: auto; left: -8px; }
.about-tl-year {
  display: inline-block; background: var(--primary-bg); color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: .2rem .65rem;
  border-radius: var(--radius-full); margin-bottom: 6px;
}
.about-tl-item h4 { font-size: .95rem; margin-bottom: 4px; }
.about-tl-item p  { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Team */
.about-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-team-card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  text-align: center; transition: transform .2s, box-shadow .2s;
}
.about-team-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.about-team-avatar {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-bg), rgba(36,127,118,.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--primary);
}
.about-team-body { padding: 20px 16px; }
.about-team-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.about-team-body span { font-size: .8rem; color: var(--primary); font-weight: 600; }
.about-team-body p { font-size: .8rem; color: var(--text-light); margin-top: 8px; line-height: 1.5; }

/* CTA banner (about page variant) */
.about-cta {
  background: linear-gradient(135deg,#0A0A0A,#1A0000,#247F76);
  border-radius: var(--radius-xl); padding: 56px 40px;
  text-align: center; color: #fff; margin: 0 auto;
}
.about-cta h2 { font-size: 1.9rem; margin-bottom: .75rem; color: #fff; }
.about-cta p  { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 1.8rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.about-cta .btn-white { background:#fff; color:var(--primary); }
.about-cta .btn-white:hover { background:#f3f4f6; }

/* ═══════════════════════════════════════════════════════════
   CATEGORIES SECTION
   ═══════════════════════════════════════════════════════════ */
.categories-section { background: var(--bg); }
.cat-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2.5rem;
}
.cat-home-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center;
  padding: 28px 16px;
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.cat-home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
  border-color: var(--cc, var(--primary));
}
.cat-home-icon {
  width: 52px; height: 52px;
  background: var(--cbg, var(--primary-bg));
  color: var(--cc, var(--primary));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  transition: transform .2s;
}
.cat-home-card:hover .cat-home-icon { transform: scale(1.12) rotate(-3deg); }
.cat-home-card h4 { font-size: .9rem; font-weight: 700; color: var(--text); margin: 0; }
.cat-home-card span { font-size: .75rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   STATS COUNTER SECTION
   ═══════════════════════════════════════════════════════════ */
.stats-counter-section {
  background: var(--card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
}
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat-counter-item {
  display: flex; align-items: center; gap: 14px;
  padding: 28px 20px;
  border-right: 1px solid var(--border-light);
  transition: background .15s;
}
.stat-counter-item:last-child { border-right: none; }
.stat-counter-item:hover { background: var(--bg); }
.stat-counter-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.stat-counter-body strong {
  display: block; font-size: 1.55rem; font-weight: 800;
  color: var(--text); line-height: 1;
}
.stat-counter-body span { font-size: .78rem; color: var(--text-muted); margin-top: 3px; display: block; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIAL SLIDER
   ═══════════════════════════════════════════════════════════ */
.testi-slider-outer {
  position: relative;
  overflow: hidden;
  margin: 0 -4px;
  padding: 0 4px;
}
.testi-slider {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.testi-slide {
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;         /* so .testi-card stretches full height */
  align-items: stretch;
}
.testi-slider { align-items: stretch; }


.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
  z-index: 2;
}
.testi-arrow:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.1); }
.testi-prev { left: -6px; }
.testi-next { right: -6px; }

.testi-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.25); border: none; cursor: pointer;
  transition: background .2s, width .2s, border-radius .2s;
  padding: 0;
}
.testi-dot:hover { background: rgba(255,255,255,.45); }
.testi-dot.active {
  background: #247F76; width: 26px; border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   TRUSTED BY SECTION
   ═══════════════════════════════════════════════════════════ */
.section-pad-sm { padding: 48px 0; }

/* ── Trusted By ──────────────────────────────────────────── */
.trusted-by-section {
  background: var(--bg);
  overflow: hidden;
}
.tb-slider-outer { overflow: hidden; position: relative; padding-top: 8px; margin-top: -8px; }
.tb-slider-outer::before, .tb-slider-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.tb-slider-outer::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.tb-slider-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.tb-slider { display: flex; align-items: stretch; gap: 0; will-change: transform; }
.tb-slide  { flex: 0 0 auto; padding: 0 14px; display: flex; align-items: stretch; }

/* Card — bigger so logo/text is clearly visible */
.tb-logo-link {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 200px; height: 110px;
  padding: 10px 14px;
  background: #1F1F1F;
  border: 1.5px solid rgba(36,127,118,.15);
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(36,127,118,.07);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.tb-logo-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(36,127,118,.15);
  border-color: rgba(36,127,118,.35);
}
.tb-logo-link img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.tb-logo-text {
  font-size: 1rem; font-weight: 800;
  color: #E5E5E5;
  letter-spacing: .03em;
}
.tb-company-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER SECTION
   ═══════════════════════════════════════════════════════════ */
.newsletter-section { background: var(--bg); }
.newsletter-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A, #1A0000, #247F76);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.nl-deco {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.nl-deco-1 { width:260px;height:260px; background:radial-gradient(circle,rgba(36,127,118,.25) 0%,transparent 70%); top:-80px;left:-60px; }
.nl-deco-2 { width:200px;height:200px; background:radial-gradient(circle,rgba(179,0,0,.2) 0%,transparent 70%); bottom:-60px;right:0; }
.nl-left { display:flex; align-items:center; gap:16px; flex:1; min-width:260px; position:relative; z-index:1; }
.nl-icon {
  width: 52px; height: 52px; border-radius: var(--radius-lg); flex-shrink:0;
  background: rgba(255,255,255,.12); color: #fbbf24;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.nl-left h3 { color:#fff; font-size:1.1rem; margin-bottom:4px; }
.nl-left p  { color:rgba(255,255,255,.65); font-size:.85rem; margin:0; }
.nl-form {
  display: flex; gap: 10px; flex: 1; min-width: 280px;
  position: relative; z-index: 1;
}
.nl-input-wrap { position:relative; flex:1; }
.nl-input-wrap input {
  width:100%; padding:12px 14px 12px 38px;
  border:1.5px solid rgba(255,255,255,.2); border-radius:var(--radius);
  background:rgba(255,255,255,.08); color:#fff; font-family:var(--font); font-size:.9rem;
  outline:none; transition:border-color .15s, background .15s;
}
.nl-input-wrap input::placeholder { color:rgba(255,255,255,.4); }
.nl-input-wrap input:focus { border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.12); }
.nl-input-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:rgba(255,255,255,.4); font-size:.85rem; pointer-events:none; }
.nl-success {
  display: flex; align-items:center; gap:8px;
  color:#34d399; font-weight:600; font-size:.95rem;
  position:relative; z-index:1;
}
.newsletter-box .nl-note {
  width:100%; text-align:center; font-size:.75rem;
  color:rgba(255,255,255,.35); margin:0; position:relative; z-index:1;
}
.newsletter-box .nl-note i { margin-right:4px; }

/* ═══════════════════════════════════════════════════════════
   TRUST BAR – REDESIGN
   ═══════════════════════════════════════════════════════════ */
.trust-bar {
  background: #121212;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}
.trust-bar .container { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.trust-label { font-size:.75rem; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }
.trust-divider { width:1px; height:20px; background:var(--border); flex-shrink:0; }
.trust-logos { display:flex; gap:.6rem; flex-wrap:wrap; }
.trust-logo-chip {
  display: inline-flex; align-items:center; gap:5px;
  padding: .3rem .75rem;
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 700; color: var(--text-light);
  letter-spacing: .03em; transition: all .15s;
}
.trust-logo-chip i { font-size:.65rem; color: var(--text-muted); }
.trust-logo-chip:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-bg); }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS – COMPACT v3
   ═══════════════════════════════════════════════════════════ */
.how-section {
  background: linear-gradient(135deg,#0A0A0A 0%,#121212 100%);
  padding: 48px 0;          /* override section-pad to reduce height */
}

/* Header — single tight row */
.how-header-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.how-header-new .how-header-left { flex: 1; min-width: 0; }
.how-header-new h2 { font-size: 1.55rem; color: #fff; margin: 4px 0 0; line-height: 1.3; }
.how-header-new p  { color: rgba(255,255,255,.55); font-size: .85rem; margin: 6px 0 0; }
.how-header-new .section-badge { background: rgba(255,255,255,.12); color: #fbbf24; }

/* Three cards in a row */
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}

/* Arrow separator */
.step-arrow-sep {
  display: flex; align-items: center; justify-content: center;
  padding: 0 10px;
  color: rgba(255,255,255,.18);
  font-size: 1rem;
}

/* Card */
.step-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  transition: background .2s, border-color .2s, transform .2s;
}
.step-item:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-3px);
}

/* Left: icon circle with number badge */
.step-icon-wrap {
  position: relative;
  flex-shrink: 0;
}
.step-icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sibg, rgba(124,58,237,.18));
  border: 1.5px solid var(--sic, var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--sic, var(--primary));
  transition: transform .2s;
}
.step-item:hover .step-icon-circle { transform: scale(1.1); }

.step-num {
  position: absolute;
  top: -5px; right: -6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sic, var(--primary));
  color: #fff;
  font-size: .6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #0A0A0A;
  z-index: 2;
}

/* Right: text */
.step-body { flex: 1; min-width: 0; }
.step-body h3 { font-size: .95rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.step-body p  { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0 0 10px; }
.step-link {
  font-size: .78rem; font-weight: 700;
  color: var(--slc, var(--primary));
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .15s;
}
.step-link:hover { gap: 7px; }

/* ── OLD classes kept for back-compat (hidden) ── */
.steps-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid-new::before {
  content: '';
  position: absolute;
  top: 52px; left: calc(33.33% - 12px);
  width: calc(33.33% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--border-light) 0%, var(--border-light) 100%);
  z-index: 0;
}

.step-card-new {
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px 24px;
  position: relative; z-index: 1;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.step-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.09);
  border-color: var(--sc-color, var(--primary));
}
.sc-num-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sc-bg, var(--primary-bg));
  border: 2px solid var(--sc-color, var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.sc-num {
  font-size: .72rem; font-weight: 800; color: var(--sc-color, var(--primary));
  letter-spacing: .06em;
}
.sc-icon {
  width: 52px; height: 52px;
  background: var(--sc-bg, var(--primary-bg));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--sc-color, var(--primary));
  margin-bottom: 16px;
  transition: transform .2s;
}
.step-card-new:hover .sc-icon { transform: scale(1.1); }
.step-card-new h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card-new p  { font-size: .85rem; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }
.sc-link {
  font-size: .82rem; font-weight: 600;
  color: var(--sc-color, var(--primary));
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .15s;
}
.sc-link:hover { gap: 8px; }
/* hide the connector for the last card */
.step-card-new:last-child .sc-connector { display:none; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS – DARK STYLE, fixed card height, name→stars→comment
   ═══════════════════════════════════════════════════════════ */
.testimonials-section {
  background: linear-gradient(160deg,#0A0A0A 0%,#1A0000 40%,#247F76 60%,#0A0A0A 100%);
  position: relative; overflow: hidden;
}

.testi-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.testi-header h2 { font-size: 2rem; margin-bottom: .4rem; color: #fff; }
.testi-header > div > p { color: rgba(255,255,255,.65); margin: 0; font-size: .95rem; }
.testi-header .section-badge { background:rgba(255,255,255,.15); color:#fbbf24; }

.testi-summary { text-align: right; flex-shrink: 0; }
.testi-summary-stars { display:flex; gap:3px; justify-content:flex-end; margin-bottom:4px; color:#fbbf24; font-size:1rem; }
.testi-summary strong { display:block; font-size:1.6rem; font-weight:800; color:#fff; line-height:1; }
.testi-summary span { font-size:.78rem; color:rgba(255,255,255,.5); }

/* ── Card (equal height via flex column) ─────────────────── */
.testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 26px 24px 22px;
  backdrop-filter: blur(10px);
  transition: transform .22s, background .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  height: 100%;           /* fill slide height */
}
.testi-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
}

/* 1️⃣  Author row — shown FIRST at top */
.testi-author {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.testi-author img {
  width: 42px; height: 42px; min-width: 42px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
}
.testi-avatar {
  width: 42px; height: 42px;
  min-width: 42px; max-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1B655F);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; flex-grow: 0;
  font-size: 1rem; font-weight: 800;
  line-height: 42px;
  text-align: center;
  padding: 0; margin: 0;
  overflow: hidden;
  user-select: none;
  box-sizing: border-box;
}
.testi-avatar span {
  display: block;
  line-height: 1;
  font-size: 1rem;
  font-weight: 800;
  pointer-events: none;
}
.testi-author > div { flex: 1; min-width: 0; }
.testi-author > div strong { display:block; font-size:.88rem; font-weight:700; color:#fff; }
.testi-author > div span  { font-size:.75rem; color:rgba(255,255,255,.5); }
.testi-verified {
  margin-left: auto; flex-shrink: 0;
  font-size: .7rem; color: #34d399;
  display: flex; align-items: center; gap: 3px; font-weight: 600;
}

/* 2️⃣  Stars */
.testi-stars { display:flex; gap:4px; margin-bottom:14px; }
.testi-stars i { font-size:.82rem; color:rgba(255,255,255,.2); }
.testi-stars i.active { color:#fbbf24; }

/* 3️⃣  Comment text — grows to fill remaining height */
.testi-text {
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 0;
}

/* Course tag — optional, below comment */
.testi-course-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(36,127,118,.15);
  color: #36958B;
  font-size: .7rem; font-weight: 700;
  border-radius: var(--radius-full);
  padding: .22rem .7rem;
  margin-top: 14px;
  width: fit-content;
}

/* Decorative quote — removed from card, was pushing layout */
.testi-quote { display: none; }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER – REDESIGN
   ═══════════════════════════════════════════════════════════ */
.cta-section-new { background: var(--bg); }
.cta-box-new {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A0000 35%, #247F76 65%, #0A0A0A 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center; color: #fff;
}
.cta-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-orb-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(36,127,118,.25) 0%, transparent 70%);
  top: -100px; left: -80px;
}
.cta-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(179,0,0,.2) 0%, transparent 70%);
  bottom: -80px; right: -40px;
}
.cta-body { position: relative; z-index: 1; }
.cta-box-new h2 { font-size: 2.2rem; color: #fff; margin-bottom: .6rem; }
.cta-box-new p  { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; margin-left:auto; margin-right:auto; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:0; }
.btn-outline-white { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.45); }
.btn-outline-white:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.7); }

.cta-trust-pills {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 28px;
}
.cta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .35rem .9rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  font-size: .78rem; color: rgba(255,255,255,.7);
}
.cta-pill i { color: #36958B; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width:1024px) {
  .hero-section .container { grid-template-columns:1fr; }
  .hero-image { display:none; }
  /* ── Categories ── */
  .cat-grid-home { grid-template-columns:repeat(4,1fr); }

  /* ── Stats ── */
  .stats-counter-grid { grid-template-columns:repeat(3,1fr); }
  .stat-counter-item:nth-child(3) { border-right:none; }
  .stat-counter-item:nth-child(4) { border-top:1px solid var(--border-light); }
  .stat-counter-item:nth-child(5) { border-top:1px solid var(--border-light); border-right:none; }

  /* ── Newsletter ── */
  .newsletter-box { flex-direction:column; gap:20px; padding:32px 28px; }
  .nl-form { width:100%; }

  .steps-grid { grid-template-columns:1fr; }
  .step-arrow { text-align:center; transform:rotate(90deg); font-size:1.2rem; }
  .steps-grid-new { grid-template-columns:1fr 1fr; }
  .steps-grid-new::before { display:none; }
  .how-header { flex-direction:column; align-items:flex-start; gap:1rem; }
  .steps-row { grid-template-columns:1fr; }
  .step-arrow-sep { display:none; }
  .how-header-new { flex-direction:column; align-items:flex-start; gap:1rem; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .features-grid-new { grid-template-columns:repeat(2,1fr); }
  .features-header { flex-direction:column; align-items:flex-start; gap:1rem; }
  .features-header-stat { text-align:left; }
  .testimonials-grid-new { grid-template-columns:1fr; }
  .testi-header { flex-direction:column; align-items:flex-start; gap:1rem; }
  .testi-summary { text-align:left; }
  .testi-summary-stars { justify-content:flex-start; }
  .cta-box-new { padding:40px 28px; }
  .cta-box-new h2 { font-size:1.8rem; }
  .cd-layout { grid-template-columns:1fr; }
  .cd-sidebar { position:static; }
  .cd-title { font-size:1.5rem; }
  .cd-hero { padding:32px 0 40px; }
  .checkout-layout { grid-template-columns:1fr; }
  .dashboard-layout { grid-template-columns:1fr; }
  .dashboard-sidebar { position:static; height:auto; }
  .watch-layout { grid-template-columns:1fr; height:auto; }

  /* About */
  .about-team-grid { grid-template-columns:1fr 1fr; }
  .about-values-grid { grid-template-columns:1fr 1fr; }
  .about-stats-strip { grid-template-columns:1fr 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns:1fr; }
  .contact-info-strip { grid-template-columns:1fr 1fr; }
  .watch-sidebar { height:400px; border-left:none; border-top:1px solid var(--border); }
  .admin-layout { grid-template-columns:1fr; }
  .admin-sidebar { display:none; position:fixed; z-index:999; width:260px; height:100vh; top:0; left:0; }
  .admin-sidebar.open { display:flex; flex-direction:column; }
  .admin-hamburger { display:block; }
  .admin-stats { grid-template-columns:repeat(2,1fr); }
  .admin-form-layout { grid-template-columns:1fr; }
}

@media (max-width:768px) {
  /* ── Global text overflow fix ── */
  h1, h2, h3, h4, h5, p, span, a {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* ── Mobile Nav Drawer ── */
  .hamburger { display:flex !important; }

  /* Drawer container — style.css already sets transform, we refine visuals */
  .navbar-nav {
    background:linear-gradient(180deg,#171217 0%,#0d0d0f 100%);
    width:min(320px,88vw);
    padding:12px 10px 24px;
    z-index:999;
    border-right:1px solid rgba(36,127,118,.2);
    box-shadow:12px 0 36px rgba(0,0,0,.38);
  }

  /* User card */
  .mobile-user-card {
    display:flex; align-items:center; gap:.85rem;
    padding:.9rem 1.1rem;
    background:var(--bg);
    border-bottom:1px solid var(--border);
    flex-shrink:0;
  }
  .mobile-user-avatar {
    width:44px; height:44px; border-radius:50%;
    object-fit:cover; flex-shrink:0;
    border:2px solid var(--primary-light);
  }
  .mobile-user-info strong {
    display:block; font-size:.88rem; font-weight:700;
    color:var(--text); line-height:1.3;
  }
  .mobile-user-info small {
    font-size:.73rem; color:var(--text-muted); display:block;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:200px;
  }

  /* Auth buttons in drawer */
  .mobile-auth-btns {
    display:flex; flex-direction:column; gap:.55rem;
    padding:.35rem .45rem 1rem;
    margin-bottom:.35rem;
    background:transparent;
    border-bottom:1px solid rgba(255,255,255,.1);
    flex-shrink:0;
  }
  .mobile-auth-btns .btn { min-height:44px; border-radius:11px; font-weight:700; }

  /* Section label */
  .mobile-drawer-section-label {
    display:block;
    padding:1rem .7rem .45rem;
    font-size:.65rem; font-weight:800;
    letter-spacing:.12em; text-transform:uppercase;
    color:var(--primary); background:transparent;
  }

  /* Nav links in drawer */
  .nav-link-icon {
    display:inline-flex; width:20px; text-align:center;
    color:var(--primary); flex-shrink:0; font-size:.9rem;
  }
  .nav-link {
    padding:.78rem .8rem;
    margin:2px 0;
    display:flex; align-items:center; gap:.65rem;
    font-size:.92rem; font-weight:500;
    border:1px solid transparent;
    border-radius:11px; color:var(--text);
    transition:background .18s, color .18s, border-color .18s, transform .18s;
  }
  .nav-link:hover { background:rgba(36,127,118,.1); border-color:rgba(36,127,118,.18); color:var(--primary-dark); transform:translateX(2px); }
  .nav-link:active { background:rgba(36,127,118,.16); }
  .nav-link:hover .nav-link-icon { color:var(--primary); }

  .nav-link-icon {
    width:30px; height:30px; border-radius:9px;
    align-items:center; justify-content:center;
    background:rgba(36,127,118,.1);
    font-size:.82rem;
  }

  /* Cart count badge inside drawer */
  .mobile-cart-count {
    display:inline-flex; align-items:center; justify-content:center;
    width:20px; height:20px; border-radius:50%;
    background:var(--primary); color:#fff;
    font-size:.65rem; font-weight:700; margin-left:auto;
  }

  /* Logout link */
  .mobile-logout .nav-link { color:var(--danger); }
  .mobile-logout .nav-link .nav-link-icon { color:var(--danger); }

  .mobile-overlay.open { display:block; }

  /* ── Hero ── */
  .hero-section { padding:48px 0 36px; }
  .hero-title { font-size:1.9rem; line-height:1.2; }
  .hero-subtitle { font-size:.92rem; line-height:1.65; }
  .hero-badge { font-size:.7rem; white-space:normal; line-height:1.4; max-width:100%; }
  .hero-actions { flex-direction:column; gap:.75rem; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .hero-stats { flex-wrap:wrap; gap:.5rem 1.2rem; padding-top:1rem; }
  .hero-stat { padding:0 .5rem; }
  .hero-stat-divider { display:none; }
  .hero-stat strong { font-size:1.25rem; }
  .hero-stat span { font-size:.75rem; }

  /* ── Trust Bar ── */
  .trust-bar .container { flex-wrap:wrap; gap:.75rem; justify-content:center; overflow-x:hidden; }
  .trust-logos { flex-wrap:wrap; gap:.75rem 1.5rem; justify-content:center; }
  .trust-logos span { font-size:.82rem; }

  /* ── Section Header — stack heading + button vertically ── */
  .section-header {
    flex-direction:column;
    align-items:flex-start;
    gap:.75rem;
  }
  .section-header.text-center { align-items:center; }
  .section-header h2 { font-size:1.4rem; }
  .section-header p { font-size:.88rem; margin-top:.3rem; }
  .section-header > .btn,
  .section-header > a { align-self:flex-start; }
  .section-header.text-center > .btn,
  .section-header.text-center > a { align-self:center; }

  /* ── Section Badge ── */
  .section-badge { font-size:.72rem; }

  /* ── Section padding ── */
  .section-pad { padding:40px 0; }

  /* ── Features ── */
  .features-grid { grid-template-columns:1fr; gap:1rem; }
  .features-grid-new { grid-template-columns:1fr 1fr; gap:14px; }
  .feature-card { padding:1.4rem 1.2rem; }
  .feature-card h3 { font-size:.95rem; }
  .feature-card p { font-size:.84rem; }
  .feature-card-new { padding:20px 18px; }
  .feature-card-new h3 { font-size:.9rem; }
  .feature-card-new p { font-size:.8rem; }

  /* ── How It Works — hide arrows on mobile ── */
  .step-arrow { display:none; }
  .steps-grid { display:flex; flex-direction:column; gap:1.2rem; }
  .step-card { padding:1.4rem 1.2rem; }
  .step-card h3 { font-size:.95rem; }
  .step-card p { font-size:.84rem; }

  /* ── Course Cards Grid ── */
  .courses-grid { grid-template-columns:repeat(2,1fr); gap:.9rem; }
  .cat-grid { grid-template-columns:repeat(2,1fr); }

  /* ── Courses Listing page layout ── */
  .courses-layout { grid-template-columns:1fr; }
  .courses-sidebar { order:-1; }

  /* ── Categories ── */
  .cat-grid-home { grid-template-columns:repeat(3,1fr); }

  /* ── Stats ── */
  .stats-counter-grid { grid-template-columns:repeat(2,1fr); }
  .stat-counter-item { border-right:none; border-bottom:1px solid var(--border-light); }
  .stat-counter-item:last-child { border-bottom:none; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns:1fr !important; gap:1rem; }
  .testimonial-text { font-size:.87rem; }
  .testimonials-grid-new { grid-template-columns:1fr; gap:14px; }
  .testi-arrow { display:none; }

  /* ── Steps new ── */
  .steps-grid-new { grid-template-columns:1fr; }
  .steps-row { grid-template-columns:1fr; }
  .step-arrow-sep { display:none; }

  /* ── Newsletter ── */
  .nl-form { flex-direction:column; }
  .newsletter-box { padding:28px 20px; }

  /* ── CTA ── */
  .cta-box { flex-direction:column; text-align:center; gap:1.5rem; }
  .cta-decoration { display:none; }
  .cta-actions { flex-direction:column; align-items:center; gap:.75rem; }
  .cta-content h2 { font-size:1.4rem; }
  .cta-box-new { padding:32px 20px; }
  .cta-box-new h2 { font-size:1.5rem; }
  .cta-btns { flex-direction:column; align-items:center; }
  .cta-trust-pills { gap:8px; }
  .cta-content p { font-size:.9rem; }
  .cta-actions .btn { width:100%; max-width:280px; justify-content:center; }

  /* ── h tags globally ── */
  h1 { font-size:1.75rem; }
  h2 { font-size:1.4rem; }
  h3 { font-size:1.1rem; }

  /* ── Course Detail ── */
  .cd-title { font-size:1.25rem; }
  .cd-learn-grid { grid-template-columns:1fr; }
  .cd-rating-summary { flex-direction:column; gap:1rem; }
  .cd-instructor-card { flex-direction:column; align-items:center; text-align:center; }
  .cd-instructor-meta { justify-content:center; }
  .cd-card, .cd-learn-box { padding:1.1rem 1.2rem; }
  .cd-layout { gap:1rem; }
  .cd-hl-item { min-width:120px; padding:.9rem 1rem; }
  .cd-card-meta-grid { grid-template-columns:1fr; }

  /* ── Checkout ── */
  .checkout-layout { grid-template-columns:1fr; }

  /* ── Dashboard ── */
  .dash-stats { grid-template-columns:1fr 1fr; }
  .dashboard-main { padding:1rem; }
  .dash-header { flex-direction:column; gap:.5rem; }
  .dash-header h1 { font-size:1.3rem; }

  /* ── Watch ── */
  .watch-lesson-info h2 { font-size:.95rem; }

  /* ── Admin ── */
  .admin-stats { grid-template-columns:1fr 1fr; }
  .admin-content { padding:1rem; }
  .admin-topbar { padding:0 1rem; }
  .admin-page-header { flex-direction:column; align-items:flex-start; gap:.75rem; }
  .admin-search-form { flex-wrap:wrap; }
  .admin-search-form input { min-width:0; flex:1; }

  /* ── Cart ── */
  .cart-layout { grid-template-columns:1fr; }
  .cart-item-thumb { width:80px; }

  /* ── Contact ── */
  .contact-layout { grid-template-columns:1fr; }
  .contact-info-strip { grid-template-columns:1fr; }
  .contact-faq-grid { grid-template-columns:1fr; }
  .contact-form-row { grid-template-columns:1fr; }
  .contact-form-card { padding:24px 18px; }
  .cf-row { grid-template-columns:1fr; }

  /* ── About ── */
  .about-story-grid { grid-template-columns:1fr; }
  .about-mv-grid { grid-template-columns:1fr; }
  .about-values-grid { grid-template-columns:1fr 1fr; }
  .about-stats-strip { grid-template-columns:1fr 1fr; }
  .about-team-grid { grid-template-columns:1fr 1fr; }
  .about-timeline::before { left:16px; }
  .about-tl-item { width:100%; padding:0 0 32px 44px; text-align:left; }
  .about-tl-item:nth-child(even) { margin-left:0; padding:0 0 32px 44px; }
  .about-tl-dot { right:auto; left:8px !important; }
  .about-cta { padding:40px 20px; }
  .about-cta h2 { font-size:1.4rem; }

  /* ── Auth ── */
  .auth-card { padding:1.8rem 1.2rem; }
  .auth-title { font-size:1.3rem; }

  /* ── Categories (admin) ── */
  div[style*="grid-template-columns:1fr 380px"] { display:block !important; }
}

@media (max-width:480px) {
  /* ── Global text ── */
  h1, h2, h3, h4, h5, p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* ── Hero ── */
  .hero-section { padding:36px 0 28px; }
  .hero-title { font-size:1.5rem; line-height:1.2; }
  .hero-subtitle { font-size:.86rem; line-height:1.6; }
  .hero-badge { font-size:.68rem; padding:.3rem .7rem; }
  .hero-stats { flex-wrap:wrap; gap:.5rem 1rem; }
  .hero-stat { padding:0 .4rem; }
  .hero-stat strong { font-size:1.1rem; }
  .hero-stat span { font-size:.72rem; }

  /* ── Trust bar ── */
  .trust-label { font-size:.76rem; width:100%; text-align:center; }
  .trust-logos span { font-size:.78rem; }

  /* ── Section header ── */
  .section-header h2 { font-size:1.2rem; }
  .section-header p { font-size:.84rem; }
  .section-badge { font-size:.68rem; }

  /* ── Features ── */
  .features-grid { grid-template-columns:1fr; }
  .features-grid-new { grid-template-columns:1fr; }
  .feature-icon { width:52px; height:52px; font-size:1.3rem; }
  .feature-card h3 { font-size:.9rem; }
  .feature-card p { font-size:.82rem; }

  /* ── Steps ── */
  .step-card { padding:1.2rem 1rem; }
  .step-card h3 { font-size:.9rem; }
  .step-card p { font-size:.82rem; }

  /* ── Courses grid ── */
  .courses-grid { grid-template-columns:1fr; }
  .cat-grid { grid-template-columns:repeat(2,1fr); }

  /* ── Course card ── */
  .course-card { min-width:0; }
  .course-title { font-size:.9rem; line-height:1.35; }
  .course-body { padding:.75rem; }
  .course-footer { padding:.6rem .75rem; }

  /* ── Categories ── */
  .cat-grid-home { grid-template-columns:repeat(2,1fr); }

  /* ── Stats ── */
  .stat-counter-item { padding:20px 14px; gap:10px; }
  .stat-counter-body strong { font-size:1.25rem; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns:1fr !important; }
  .testimonial-text { font-size:.84rem; }
  .testi-card { padding:20px 16px; }
  .testi-text { font-size:.84rem; }

  /* ── Newsletter ── */
  .nl-left { flex-direction:column; text-align:center; align-items:center; }
  .nl-icon { margin:0 auto; }

  /* ── CTA ── */
  .cta-content h2 { font-size:1.2rem; }
  .cta-content p { font-size:.86rem; }
  .cta-actions .btn { max-width:100%; }
  .cta-box-new h2 { font-size:1.3rem; }
  .cta-pill { font-size:.72rem; padding:.28rem .7rem; }

  /* ── Dashboard ── */
  .dash-stats { grid-template-columns:1fr; }
  .dash-stat-card strong { font-size:1.25rem; }

  /* ── Admin ── */
  .admin-stats { grid-template-columns:1fr 1fr; }
  .admin-topbar-title { font-size:.82rem; }
  .admin-page-header h1 { font-size:1.1rem; }

  /* ── Container ── */
  .container { padding:0 12px; }

  /* ── Section padding ── */
  .section-pad { padding:28px 0; }

  /* ── Typography ── */
  h1 { font-size:1.4rem; }
  h2 { font-size:1.2rem; }
  h3 { font-size:1rem; }

  /* ── Buttons ── */
  .btn-xl { padding:.75rem 1.4rem; font-size:.95rem; }
  .btn-lg { padding:.65rem 1.4rem; font-size:.9rem; }

  /* ── Forms ── */
  .form-row { grid-template-columns:1fr; }
  .auth-card { padding:1.5rem 1rem; }
  .auth-title { font-size:1.2rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns:1fr; gap:1.5rem; }

  /* ── Contact ── */
  .contact-layout { grid-template-columns:1fr; }
  .contact-info-strip { grid-template-columns:1fr; }
  .contact-faq-grid { grid-template-columns:1fr; }

  /* ── About ── */
  .about-story-grid { grid-template-columns:1fr; }
  .about-mv-grid { grid-template-columns:1fr; }
  .about-values-grid { grid-template-columns:1fr 1fr; }
  .about-timeline::before { left:16px; }
  .about-tl-item { padding-left:44px; }
  .about-tl-dot { left:8px; }
  .about-tl-item:nth-child(even) { padding-left:44px; text-align:left; }
  .about-tl-item:nth-child(even) .about-tl-dot { left:8px; right:auto; }
  .about-team-grid { grid-template-columns:1fr 1fr; }
  .about-stats-strip { grid-template-columns:1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   POLICY PAGES (Privacy Policy / Terms & Conditions)
   ═══════════════════════════════════════════════════════════ */
.policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.policy-toc-inner {
  position: sticky;
  top: 90px;
  background: #1F1F1F;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(36,127,118,.08);
}
.policy-toc-inner h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-light);
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.policy-toc ul { list-style: none; padding: 0; margin: 0 0 16px; }
.policy-toc ul li a {
  display: block; padding: 7px 10px;
  font-size: .81rem; color: var(--text-light);
  border-radius: 7px; text-decoration: none;
  transition: background .15s, color .15s; line-height: 1.4;
}
.policy-toc ul li a:hover { background: var(--primary-bg); color: var(--primary); }
.policy-meta {
  padding-top: 14px; border-top: 1px solid var(--border);
  font-size: .76rem; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}
.policy-content { min-width: 0; }
.policy-heading {
  font-size: 1.12rem; font-weight: 700; color: var(--text);
  margin: 2rem 0 .65rem; padding-bottom: .45rem;
  border-bottom: 2px solid var(--primary-bg);
  display: flex; align-items: center; gap: 8px;
}
.policy-heading::before {
  content: ''; display: inline-block;
  width: 4px; height: 1em;
  background: var(--primary); border-radius: 2px; flex-shrink: 0;
}
.policy-content .policy-heading:first-child { margin-top: 0; }
.policy-para {
  font-size: .92rem; color: #E5E5E5;
  line-height: 1.85; margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc-inner { position: static; }
}
.editorial-policy-page .editorial-policy-hero {
  background: var(--bg-dark);
}
.editorial-policy-page .editorial-policy-hero .editorial-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font: 600 .72rem 'Inter', system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.editorial-policy-page .editorial-policy-content-section {
  padding: clamp(38px, 6vw, 72px) 0 clamp(60px, 8vw, 96px);
  background: var(--bg);
}
.editorial-policy-page .policy-content {
  width: min(100%, 900px);
  margin: 0 auto;
}
.editorial-policy-page .policy-meta {
  justify-content: flex-start;
  gap: 7px;
  margin: 0 0 30px;
  padding: 0 0 16px;
  border-top: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light) !important;
  font: 500 .76rem 'Inter', system-ui, sans-serif;
}
.editorial-policy-page .policy-meta i { color: var(--primary); }
.editorial-policy-page .policy-meta strong { color: var(--text); }
.editorial-policy-page .policy-heading {
  margin: 2rem 0 .7rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text) !important;
  font: 400 clamp(1.35rem, 2.4vw, 1.7rem)/1.3 Georgia, 'Times New Roman', serif;
}
.editorial-policy-page .policy-heading::before { background: var(--primary) !important; }
.editorial-policy-page .policy-content .policy-heading:first-child { margin-top: 0; }
.editorial-policy-page .policy-para {
  margin: 0 0 1.1rem;
  color: var(--text-light) !important;
  font-size: .96rem;
  line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════════
   OTP VERIFICATION — CHECKOUT
   ═══════════════════════════════════════════════════════════ */
.otp-header { text-align: center; margin-bottom: 28px; }
.otp-icon {
  width: 64px; height: 64px; background: linear-gradient(135deg,#247F76,#1B655F);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; margin-bottom: 14px;
}
.otp-header h2 { font-size: 1.3rem; margin: 0 0 8px; }
.otp-header p  { color: var(--text-light); font-size: .9rem; margin: 0; line-height: 1.6; }

.otp-boxes {
  display: flex; gap: 10px; justify-content: center; margin: 24px 0;
}
.otp-box {
  width: 48px; height: 56px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  text-align: center; font-size: 1.5rem; font-weight: 700;
  color: var(--primary); background: var(--bg);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36,127,118,.20);
  background: #1F1F1F;
}

.otp-error {
  background: rgba(36,127,118,.12); border: 1px solid rgba(36,127,118,.3);
  color: #36958B; border-radius: 8px;
  padding: 10px 14px; font-size: .85rem;
  margin-bottom: 16px;
}
.otp-error a { color: #36958B; font-weight: 600; }

.otp-timer {
  text-align: center; font-size: .82rem;
  color: var(--text-muted); margin: 0 0 20px;
}
.otp-timer span { font-weight: 700; color: var(--primary); }

.otp-resend {
  text-align: center; font-size: .85rem;
  color: var(--text-muted); margin-top: 16px;
}
.otp-resend a, .link-btn {
  color: var(--primary); font-weight: 600; text-decoration: none;
  background: none; border: none; padding: 0; cursor: pointer; font-size: inherit;
}
.otp-resend a:hover, .link-btn:hover { text-decoration: underline; }
.link-btn:disabled { color: var(--text-muted); cursor: not-allowed; text-decoration: none; }

.otp-verified-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(36,127,118,.12); color: #36958B;
  border: 1px solid rgba(36,127,118,.25); border-radius: 99px;
  padding: 8px 18px; font-size: .88rem; font-weight: 700;
  margin-bottom: 20px;
}
.otp-verified-badge i { font-size: 1rem; }

/* ═══════════════════════════════════════════════════════
   SANGEETA MORYA — Personal Brand Homepage
   sm-* classes — completely separate from EduSkills layout
   ═══════════════════════════════════════════════════════ */

/* ─── SM Hero ─────────────────────────────────────────── */
.sm-hero {
  background: url('../images/hero-bg.jpg') center center / cover no-repeat, #070707;
  padding: 48px 0 40px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* dark overlay — keeps text readable over the image */
.sm-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.30);
  pointer-events: none;
}

.sm-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.sm-hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(36,127,118,.15); color: #36958B;
  border: 1px solid rgba(36,127,118,.3);
  padding: .32rem 1rem; border-radius: 99px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.sm-hero-pre {
  font-size: 1.05rem; font-weight: 400;
  color: rgba(255,255,255,.45); margin-bottom: .25rem;
}
.sm-hero-name {
  font-size: 3.5rem; font-weight: 900;
  color: #fff; line-height: 1.08; margin-bottom: 1rem;
}
.sm-hero-name span { color: var(--primary); }
.sm-hero-role {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.6rem;
}
.sm-hero-role::before, .sm-hero-role::after {
  content: ''; display: block;
  width: 24px; height: 1px; background: rgba(255,255,255,.2);
}
.sm-hero-desc {
  font-size: 1.02rem; color: rgba(255,255,255,.68);
  line-height: 1.8; margin-bottom: 2.2rem; max-width: 500px;
}
.sm-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sm-hero-proof {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
}
.sm-proof-item strong {
  display: block; font-size: 1.9rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.sm-proof-item span {
  font-size: .68rem; color: rgba(255,255,255,.38);
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: .25rem; display: block;
}

.sm-hero-right { position: relative; display: flex; justify-content: center; align-items: center; }
.sm-coach-card {
  background: linear-gradient(145deg, #1e2d40, #162032);
  border: 1px solid rgba(255,255,255,.08); border-radius: 24px;
  padding: 2.5rem 2rem 2rem; width: 100%; max-width: 340px;
  text-align: center; position: relative; z-index: 1;
  box-shadow: 0 24px 48px rgba(0,0,0,.4);
}
.sm-coach-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: #fff;
  margin: 0 auto 1.2rem; border: 4px solid rgba(255,255,255,.1);
}
.sm-coach-name-tag { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.sm-coach-role-tag { font-size: .78rem; color: rgba(255,255,255,.35); margin-bottom: 2rem; }
.sm-coach-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
}
.sm-coach-stat strong { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .15rem; }
.sm-coach-stat span { font-size: .63rem; color: rgba(255,255,255,.32); text-transform: uppercase; letter-spacing: .06em; }
.sm-float {
  position: absolute; background: #1F1F1F; border-radius: 12px;
  padding: .6rem .9rem; box-shadow: 0 8px 24px rgba(36,127,118,.2);
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: #E5E5E5;
  white-space: nowrap; z-index: 2;
}
.sm-float-1 { top: -14px; right: 24px; }
.sm-float-2 { bottom: -14px; left: 24px; }
.sm-float i { font-size: .9rem; }
.sm-float-1 i { color: #10b981; }
.sm-float-2 i { color: var(--primary); }

/* ─── Metrics Strip ───────────────────────────────────── */
.sm-metrics { background: #0A0A0A; border-bottom: 1px solid var(--border-light); padding: 28px 0; }
.sm-metrics-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.sm-metric-item {
  text-align: center; padding: 0 2rem;
  border-right: 1px solid var(--border-light);
}
.sm-metric-item:last-child { border-right: none; }
.sm-metric-item strong {
  display: block; font-size: 2rem; font-weight: 800;
  color: var(--text); line-height: 1.1;
}
.sm-metric-item strong em { color: var(--primary); font-style: normal; }
.sm-metric-item p {
  font-size: .75rem; color: var(--text-muted); margin: .25rem 0 0;
  text-transform: uppercase; letter-spacing: .07em;
}

/* ─── About / My Story ────────────────────────────────── */
.sm-about { padding: 80px 0; background: #0A0A0A; }
.sm-about-inner {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 4.5rem; align-items: center;
}
.sm-about-visual {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-radius: 24px; padding: 3rem 2rem;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.sm-about-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,.06); border-radius: 50%;
}
.sm-about-visual-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff; margin: 0 auto 1.5rem;
}
.sm-about-visual h3 { font-size: 1.25rem; color: #fff; margin-bottom: .4rem; }
.sm-about-visual > p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 0; }
.sm-about-nums {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.sm-about-num strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.sm-about-num span   { font-size: .68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }
.sm-about-text h2 { font-size: 2rem; margin-bottom: 1rem; line-height: 1.25; }
.sm-about-text p  { color: var(--text-light); line-height: 1.8; font-size: .97rem; }
.sm-about-list {
  list-style: none; margin: 1.2rem 0 2rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.sm-about-list li {
  display: flex; align-items: center; gap: .8rem;
  font-size: .92rem; color: var(--text);
}
.sm-about-list li i { color: var(--primary); font-size: .8rem; flex-shrink: 0; }

/* ─── Method / 4 Pillars ─────────────────────────────── */
.sm-method { padding: 80px 0; background: #181818; }
.sm-method-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.sm-method-header h2 { font-size: 2rem; margin-bottom: .6rem; }
.sm-method-header p { color: var(--text-light); font-size: .97rem; }
.sm-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sm-method-card {
  background: #1F1F1F; border-radius: 20px; padding: 2rem 1.5rem;
  border-left: 4px solid var(--mc-color, var(--primary));
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s; position: relative;
}
.sm-method-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,.1); }
.sm-method-num {
  font-size: 3.5rem; font-weight: 900;
  color: var(--mc-color, var(--primary)); opacity: .1; line-height: 1;
  position: absolute; top: 12px; right: 16px;
}
.sm-method-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--mc-bg, var(--primary-bg));
  color: var(--mc-color, var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.2rem;
}
.sm-method-card h3 { font-size: .97rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.sm-method-card p  { font-size: .83rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.sm-method-accent {
  width: 28px; height: 3px; border-radius: 99px;
  background: var(--mc-color, var(--primary)); margin-top: 1.2rem;
}

/* ─── Testimonials — Dark Grid ────────────────────────── */
.sm-wins { padding: 80px 0; background: linear-gradient(135deg, #0A0A0A 0%, #121212 100%); }
.sm-wins-header { text-align: center; margin-bottom: 3rem; }
.sm-wins-header .section-badge { background: rgba(36,127,118,.25); color: #36958B; border-color: rgba(36,127,118,.4); }
.sm-wins-header h2 { color: #fff; font-size: 2rem; margin-top: .5rem; }
.sm-wins-header p  { color: rgba(255,255,255,.45); margin: .4rem 0 0; }
.sm-wins-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.sm-win-card {
  background: #252525; border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 1.75rem 1.5rem;
  transition: border-color .2s, transform .2s;
}
.sm-win-card:hover { border-color: rgba(36,127,118,.4); transform: translateY(-4px); }
.sm-win-stars { display: flex; gap: .2rem; margin-bottom: .9rem; }
.sm-win-stars i { color: #247F76; font-size: .85rem; }
.sm-win-quote {
  font-size: 2.5rem; color: var(--primary); opacity: .7;
  line-height: .8; margin-bottom: .6rem; font-family: Georgia, serif;
}
.sm-win-text { font-size: .87rem; color: rgba(255,255,255,.68); line-height: 1.7; margin-bottom: 1.4rem; }
.sm-win-author { display: flex; align-items: center; gap: .75rem; }
.sm-win-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sm-win-author-info strong { display: block; font-size: .88rem; color: #fff; font-weight: 700; }
.sm-win-author-info span   { font-size: .76rem; color: rgba(255,255,255,.35); }
.sm-win-course {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .67rem; font-weight: 700;
  color: rgba(255,45,56,.85); background: rgba(36,127,118,.12);
  border: 1px solid rgba(36,127,118,.22);
  padding: .18rem .55rem; border-radius: 99px;
  margin-top: .9rem; text-transform: uppercase; letter-spacing: .05em;
}

/* ─── Process Steps ───────────────────────────────────── */
.sm-process { padding: 80px 0; background: #0A0A0A; }
.sm-process-header { text-align: center; max-width: 560px; margin: 0 auto 3.5rem; }
.sm-process-header h2 { font-size: 2rem; margin-bottom: .5rem; }
.sm-process-header p { color: var(--text-light); }
.sm-process-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem; align-items: start;
}
.sm-step {
  background: #181818; border-radius: 20px;
  padding: 2.5rem 1.75rem; text-align: center;
  border: 1.5px solid var(--border-light);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sm-step:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,.07); }
.sm-step-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.sm-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--primary); color: #fff;
  border-radius: 50%; font-size: .88rem; font-weight: 800;
  margin-bottom: 1rem;
}
.sm-step h3 { font-size: .97rem; font-weight: 700; margin-bottom: .4rem; }
.sm-step p  { font-size: .84rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.sm-step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding-top: 3.5rem; color: var(--border); font-size: 1.2rem;
}

/* ─── Final CTA ──────────────────────────────────────────*/
.sm-cta-section { padding: 48px 0; background: var(--primary); overflow: hidden; position: relative; }
.sm-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.25) 0%, transparent 60%);
  pointer-events: none;
}
.sm-cta-inner { position: relative; z-index: 1; text-align: center; }
.sm-cta-inner .section-badge { background: rgba(255,255,255,.15); color: #fff; }
.sm-cta-inner h2 { color: #fff; font-size: 2.4rem; margin: .75rem 0 1rem; }
.sm-cta-inner p  { color: rgba(255,255,255,.8); font-size: 1.02rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.75; }
.sm-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sm-cta-pills { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.sm-cta-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
  padding: .38rem .9rem; border-radius: 99px;
  font-size: .78rem; font-weight: 600;
}

/* ─── New homepage theme overrides ─────────────────────── */
.sm-hero {
  background: linear-gradient(135deg, #050505 0%, #0B0B0B 100%);
  padding: 64px 0 60px;
}
.sm-hero::before {
  background: rgba(0,0,0,.55);
}
.sm-hero-badge {
  background: rgba(36,127,118,.16);
  color: var(--primary);
  border-color: rgba(36,127,118,.28);
}
.sm-hero-desc {
  color: rgba(255,255,255,.78);
  max-width: 520px;
}
.sm-coach-card {
  background: #121212;
  border-color: rgba(36,127,118,.18);
  box-shadow: 0 24px 60px rgba(36,127,118,.14);
}
.sm-coach-avatar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.sm-float {
  background: #111;
  border-color: rgba(36,127,118,.16);
  color: #E5E5E5;
}
.sm-metrics { background: #050505; border-bottom-color: rgba(255,255,255,.05); }
.sm-metric-item strong em { color: var(--primary); }
.sm-about { background: #070707; }
.sm-about-visual { background: linear-gradient(145deg, #18001c, #1a001f); }
.sm-about-visual-icon { background: rgba(36,127,118,.16); color: var(--primary); }
.sm-about-text p, .sm-about-list li { color: rgba(255,255,255,.78); }
.sm-about-list li i { color: var(--primary); }
.sm-wins { background: #050505; }
.sm-win-card { background: #121212; border-color: rgba(255,255,255,.07); }
.sm-win-text { color: rgba(255,255,255,.74); }
.sm-win-course { background: rgba(36,127,118,.12); border-color: rgba(36,127,118,.22); color: rgba(255,255,255,.95); }
.sm-step { background: #121212; border-color: rgba(36,127,118,.08); }
.sm-step-icon, .sm-step-num { background: var(--primary); }
.sm-cta-section { background: linear-gradient(135deg, #050505 0%, #121212 45%, rgba(36,127,118,.90) 100%); }
.sm-cta-inner h2 { color: #fff; }

.sm-packages {
  padding: 80px 0;
  background: #0A0A0A;
}
.sm-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.sm-package-card {
  background: #121212;
  border: 1px solid rgba(36,127,118,.14);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sm-package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36,127,118,.35);
  box-shadow: 0 20px 50px rgba(36,127,118,.12);
}
.sm-package-card.featured {
  border-color: rgba(36,127,118,.35);
  box-shadow: 0 22px 65px rgba(36,127,118,.14);
}
.package-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .9rem;
  background: rgba(36,127,118,.12);
  color: var(--primary);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.package-price {
  font-size: 2.35rem;
  font-weight: 900;
  color: #fff;
  margin-top: .75rem;
}
.sm-package-card.featured .package-price { color: var(--primary); }
.package-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .9rem;
}
.package-features li {
  display: flex;
  gap: .7rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  font-size: .95rem;
}
.package-features li i {
  color: var(--primary);
  margin-top: .18rem;
}

/* ===== Two-by-Two utility grid + polished card styles ===== */
.two-by-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.two-by-two .two-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.18));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.two-by-two .two-card::before{
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}
.two-by-two .two-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.6);
  border-color: rgba(36,127,118,0.28);
}
.two-card-head{display:flex;align-items:flex-start;gap:.85rem;}
.two-card-thumb{width:72px;height:72px;border-radius:12px;flex-shrink:0;overflow:hidden;background:linear-gradient(135deg,var(--primary),var(--primary-light));display:grid;place-items:center;color:#fff;font-weight:800}
.two-card-title{font-size:1.02rem;font-weight:800;color:#fff;margin:0}
.two-card-sub{color:rgba(255,255,255,.72);font-size:.92rem;margin:0}
.two-card-body{margin-top:.25rem;color:rgba(255,255,255,.78);font-size:.94rem;line-height:1.55}
.two-card-meta{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:1rem}
.two-card-price{font-weight:900;font-size:1.05rem;color:#fff}
.two-card-cta{padding:.55rem .85rem;border-radius:10px;font-weight:800;background:linear-gradient(90deg,var(--primary),var(--primary-light));color:#fff;text-transform:uppercase}

@media (max-width: 900px){
  .two-by-two { grid-template-columns: 1fr; }
  .two-card-thumb{width:64px;height:64px}
}

/* ===== Coach section / media-frame polish (applies to home + index) ===== */
.coach-section {
  padding: 72px 0;
  background: linear-gradient(180deg,#070707,#0b0b0d);
  border-top: 1px solid rgba(255,255,255,0.02);
}
.coach-section .eyebrow, .coach-section .section-badge {
  display:inline-block;padding:.45rem .9rem;border-radius:30px;
  background: rgba(36,127,118,0.10);color: #247F76;font-weight:700;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;
}
.coach-section h2{font-size:3.2rem;line-height:1.02;margin: .6rem 0 1rem;font-weight:900;color:#fff}
.coach-section h2 .pink{color: #C9A96B}
.coach-section p{color:rgba(255,255,255,.72);max-width:560px}
.coach-list{margin-top:1.4rem;display:grid;gap:14px}
.coach-list li{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.9);font-size:1rem}
.coach-list .check{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#247F76,#174F49);color:#fff;font-weight:800;flex-shrink:0;box-shadow:0 8px 30px rgba(36,127,118,0.14)}
.coach-section .btn-primary{padding:14px 26px;border-radius:12px;font-weight:800;font-size:.95rem;box-shadow:0 18px 50px rgba(36,127,118,0.12)}
.coach-cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:1.8rem}
.coach-cta-row .btn-primary{padding:14px 26px;border-radius:12px;font-weight:800;font-size:.95rem;box-shadow:0 18px 50px rgba(36,127,118,0.12)}
.coach-cta-row .btn-outline{padding:14px 26px;border-radius:12px;font-weight:800;font-size:.95rem;border-width:2px}

.media-frame{position:relative;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,0.05);box-shadow:0 30px 80px rgba(0,0,0,0.6);background:#0f0f10}
.media-frame img, .media-frame video{width:100%;height:100%;object-fit:cover;display:block}
.play-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;background:linear-gradient(180deg,#247F76,#174F49);display:flex;align-items:center;justify-content:center;z-index:5;box-shadow:0 12px 34px rgba(36,127,118,0.32);cursor:pointer}
.play-center::after{content:'';border-left:14px solid rgba(255,255,255,0.95);border-top:9px solid transparent;border-bottom:9px solid transparent;margin-left:4px}
.video-controls{position:absolute;left:12px;right:12px;bottom:12px;background:linear-gradient(0deg,rgba(0,0,0,0.6),transparent);padding:10px;border-radius:10px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,0.04)}
.video-controls .bar{flex:1;height:4px;background:rgba(255,255,255,0.12);border-radius:4px;overflow:hidden}
.video-controls .bar::after{content:'';display:block;width:28%;height:100%;background:linear-gradient(90deg,#247F76,#174F49)}
.video-controls span{color:rgba(255,255,255,.78);font-size:.85rem}

@media (max-width: 900px){
  .coach-section h2{font-size:2.2rem}
  .play-center{width:58px;height:58px}
}

/* ===== Home page layout fixes for coach-grid, intro-grid, feature-list,
   and the unscoped eyebrow class. ===== */
:root {
  --muted: rgba(255,255,255,.62);
}

.coach-grid, .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.intro-grid { grid-template-columns: .9fr 1.1fr; }

/* Homepage coach and course video stories */
.home-story-section {
  position:relative;
  overflow:hidden;
  padding:clamp(3.5rem,7vw,6rem) 0;
  color:#fff;
  background:radial-gradient(ellipse at 12% 50%,rgba(36,127,118,.13),transparent 42%),#09090c;
}
.home-story-section::after {
  content:'';
  position:absolute;
  top:-8rem;
  right:-7rem;
  width:24rem;
  height:24rem;
  border:1px solid rgba(36,127,118,.12);
  border-radius:50%;
  box-shadow:0 0 0 2.5rem rgba(36,127,118,.025),0 0 0 5rem rgba(36,127,118,.02);
  pointer-events:none;
}
.home-story-courses {
  background:radial-gradient(ellipse at 88% 50%,rgba(36,127,118,.09),transparent 42%),#101014;
}
.home-story-grid {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(2rem,6vw,5rem);
}
.home-story-copy { max-width:590px; }
.home-story-eyebrow {
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.5rem .9rem;
  border:1px solid rgba(36,127,118,.24);
  border-radius:999px;
  background:rgba(36,127,118,.08);
  color:#E1EEE7;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.home-story-courses .home-story-eyebrow {
  border-color:rgba(36,127,118,.24);
  background:rgba(36,127,118,.08);
  color:#E1EEE7;
}
.home-story-copy h2 {
  margin:.95rem 0 .8rem;
  color:#fff;
  font-size:clamp(2.25rem,4vw,3.4rem);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.035em;
}
.home-story-copy h2 span {
  color:#C9A96B;
}
.home-story-courses .home-story-copy h2 span { color:#C9A96B; }
.home-story-copy > p {
  max-width:520px;
  margin:0;
  color:rgba(255,255,255,.7);
  font-size:1rem;
  line-height:1.8;
}
.home-story-points {
  display:grid;
  gap:.8rem;
  margin:1.45rem 0 1.8rem;
  padding:0;
  list-style:none;
}
.home-story-points li {
  display:flex;
  align-items:center;
  gap:.75rem;
  color:rgba(255,255,255,.9);
  font-size:.94rem;
}
.home-story-points li i {
  display:grid;
  width:1.55rem;
  height:1.55rem;
  flex-shrink:0;
  place-items:center;
  border-radius:50%;
  background:rgba(36,127,118,.16);
  color:#E1EEE7;
  font-size:.72rem;
}
.home-story-courses .home-story-points li i {
  background:rgba(36,127,118,.16);
  color:#E1EEE7;
}
.home-story-cta {
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  padding:.9rem 1.2rem;
  border-radius:12px;
  font-weight:800;
}
.home-story-media { min-width:0; }
.home-story-video-wrap {
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  background:#050507;
  box-shadow:0 24px 80px rgba(0,0,0,.48),0 0 0 7px rgba(255,255,255,.025);
  isolation:isolate;
}
.home-story-coach .home-story-video-wrap { box-shadow:0 24px 80px rgba(0,0,0,.48),0 0 0 1px rgba(36,127,118,.28),0 0 48px rgba(36,127,118,.1); }
.home-story-courses .home-story-video-wrap { box-shadow:0 24px 80px rgba(0,0,0,.48),0 0 0 1px rgba(36,127,118,.24),0 0 48px rgba(36,127,118,.08); }
.home-story-video {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#050507;
}
.home-story-video-label {
  position:absolute;
  top:1rem;
  left:1rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem .8rem;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(5,5,7,.65);
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  pointer-events:none;
  backdrop-filter:blur(10px);
}
.home-story-video-label i { color:#C9A96B; font-size:1rem; }
.home-story-courses .home-story-video-label i { color:#C9A96B; }
.home-story-media-caption {
  display:block;
  margin-top:.95rem;
  color:rgba(255,255,255,.58);
  font-size:.84rem;
  text-align:center;
}
@media (max-width:900px) {
  .home-story-grid { grid-template-columns:1fr; gap:2rem; }
  .home-story-copy { max-width:680px; }
  .home-story-courses .home-story-media { order:2; }
}
@media (max-width:600px) {
  .home-story-section { padding:3.25rem 0; }
  .home-story-video-wrap { border-radius:16px; }
  .home-story-video-label { top:.7rem; left:.7rem; }
}

/* eyebrow label used outside .coach-section (e.g. "Know Your Courses") */
.eyebrow {
  display: inline-block;
  padding: .45rem .9rem;
  border-radius: 30px;
  background: rgba(36,127,118,0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 1.4rem 0 1.8rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #121212;
  border: 1px solid rgba(36,127,118,.10);
  border-radius: 12px;
  padding: 14px 16px;
}
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: rgba(36,127,118,.12);
  border-radius: 10px;
}
.feature-item h4 { font-size: .95rem; color: #fff; margin-bottom: .2rem; }
.feature-item p { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }

@media (max-width: 900px) {
  .coach-grid, .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.sm-package-card .btn { margin-top: auto; }

@media (max-width: 1000px) {
  .sm-packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sm-packages-grid { grid-template-columns: 1fr; }
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .sm-method-grid { grid-template-columns: repeat(2, 1fr); }
  .sm-wins-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sm-about-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .sm-about-visual { max-width: 100%; }
}
@media (max-width: 768px) {
  /* Hero */
  .sm-hero { padding: 32px 0 28px; }
  .sm-hero-inner  { grid-template-columns: 1fr; gap: 0; }
  .sm-hero-right  { display: none; }
  .sm-hero-badge  { font-size: .68rem; margin-bottom: .75rem; }
  .sm-hero-pre    { font-size: .92rem; margin-bottom: .2rem; }
  .sm-hero-name   { font-size: 2.1rem; line-height: 1.12; margin-bottom: .75rem; }
  .sm-hero-role   { font-size: .72rem; margin-bottom: 1rem; }
  .sm-hero-desc   { font-size: .92rem; margin-bottom: 1.4rem; max-width: 100%; }
  .sm-hero-actions { flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; }
  .sm-hero-actions .btn { width: 100%; justify-content: center; }
  .sm-hero-proof  { gap: 1.2rem; padding-top: 1.4rem; flex-wrap: nowrap; }
  .sm-proof-item strong { font-size: 1.4rem; }
  .sm-proof-item span   { font-size: .62rem; }

  /* Metrics */
  .sm-metrics { padding: 18px 0; }
  .sm-metrics-inner { grid-template-columns: 1fr 1fr; }
  .sm-metric-item { padding: .75rem 1rem; border-right: none; border-bottom: 1px solid var(--border-light); }
  .sm-metric-item:nth-child(odd)  { border-right: 1px solid var(--border-light); }
  .sm-metric-item:nth-last-child(-n+2) { border-bottom: none; }
  .sm-metric-item strong { font-size: 1.5rem; }

  /* About */
  .sm-about { padding: 48px 0; }
  .sm-about-text h2    { font-size: 1.6rem; line-height: 1.25; margin-bottom: .75rem; }
  .sm-about-nums       { grid-template-columns: 1fr 1fr; }

  /* 4 Pillars — 1 column on phone */
  .sm-method { padding: 48px 0; }
  .sm-method-header    { margin-bottom: 1.75rem; }
  .sm-method-header h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: .4rem; }
  .sm-method-header p  { font-size: .88rem; }
  .sm-method-grid      { grid-template-columns: 1fr; gap: 12px; }
  .sm-method-card      { padding: 1.5rem 1.25rem; }
  .sm-method-num       { font-size: 2.8rem; }

  /* Testimonials */
  .sm-wins { padding: 48px 0; }
  .sm-wins-header h2  { font-size: 1.6rem; margin-top: .4rem; }
  .sm-wins-header p   { font-size: .88rem; }
  .sm-wins-grid       { grid-template-columns: 1fr; gap: 14px; }

  /* Process */
  .sm-process { padding: 48px 0; }
  .sm-process-header h2 { font-size: 1.6rem; }
  .sm-process-steps  { grid-template-columns: 1fr; gap: 12px; }
  .sm-step-arrow     { display: none; }
  .sm-step           { padding: 1.6rem 1.25rem; }

  /* CTA */
  .sm-cta-section { padding: 40px 0; }
  .sm-cta-inner h2  { font-size: 1.7rem; margin: .5rem 0 .75rem; }
  .sm-cta-inner p   { font-size: .9rem; margin-bottom: 1.5rem; }
  .sm-cta-btns { flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
  .sm-cta-btns .btn  { width: 100%; justify-content: center; }
  .sm-cta-pills { gap: .5rem; }

  /* Global section headings spacing on mobile */
  .section-pad { padding: 48px 0; }
  .section-header { flex-direction: column; gap: .75rem; }
  .section-header h2 { font-size: 1.6rem; margin-bottom: .4rem; }
}
@media (max-width: 420px) {
  .sm-hero-name  { font-size: 1.8rem; }
  .sm-hero-proof { gap: .8rem; }
  .sm-proof-item strong { font-size: 1.2rem; }
  .sm-proof-item span   { letter-spacing: .04em; }
}

@media (max-width: 768px) {
  .container { width:100%; }
  .section-pad { padding:52px 0; }
}

/* Homepage section backgrounds retain their existing dark surfaces with teal accents. */
.sm-metrics {
  background:
    radial-gradient(ellipse at 50% 0,rgba(36,127,118,.09),transparent 62%),
    linear-gradient(110deg,#08080b,#111014 50%,#08080b);
  border-bottom-color:rgba(36,127,118,.12);
}
.home-featured-courses {
  background:
    radial-gradient(ellipse at 8% 12%,rgba(36,127,118,.12),transparent 40%),
    linear-gradient(135deg,#0b0b0f 0%,#121014 52%,#0a0a0d 100%) !important;
}
.home-packages-section {
  background:
    radial-gradient(ellipse at 92% 28%,rgba(36,127,118,.1),transparent 40%),
    linear-gradient(135deg,#0a0a0d,#121014 52%,#09090b);
}
.home-student-stories {
  background:
    radial-gradient(ellipse at 12% 45%,rgba(36,127,118,.1),transparent 42%),
    linear-gradient(135deg,#09090c,#111014 52%,#09090c);
}
.home-student-stories .sm-win-card { background:rgba(24,22,26,.88); }
.home-trusted-section {
  background:
    radial-gradient(ellipse at 85% 50%,rgba(36,127,118,.09),transparent 42%),
    linear-gradient(110deg,#101014,#171317 52%,#101014);
}
.home-final-cta {
  background:
    radial-gradient(ellipse at 50% 110%,rgba(36,127,118,.23),transparent 55%),
    linear-gradient(135deg,#09090c 0%,#171015 58%,#25101b 100%);
}
.home-final-cta::before {
  background:linear-gradient(120deg,rgba(36,127,118,.08),transparent 55%,rgba(36,127,118,.1));
}

/* Minimal editorial pages */
body.editorial-theme {
  --primary: var(--color-primary);
  --primary-dark: var(--color-dark-teal);
  --primary-light: var(--color-soft-green);
  --primary-bg: var(--color-pale-sage);
  --secondary: var(--color-heading);
  --text: var(--color-heading);
  --text-light: var(--color-body);
  --text-muted: #71817C;
  --bg: var(--color-ivory);
  --bg-dark: var(--color-warm-cream);
  --card: var(--color-white);
  --border: var(--color-border);
  --border-light: #E7EEEA;
  --shadow: 0 8px 28px rgba(32, 60, 57, .09);
  --editorial-accent: #C9A96B;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
}

.editorial-theme h1,
.editorial-theme h2,
.editorial-theme h3,
.editorial-theme h4,
.editorial-theme .navbar,
.editorial-theme .site-footer {
  font-family: 'Inter', system-ui, sans-serif;
}

.editorial-theme .site-header {
  position: relative;
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.editorial-theme .site-header.scrolled { background: var(--bg) !important; box-shadow: none !important; }
.editorial-theme .navbar { min-height: 76px; }
.editorial-theme .navbar-brand,
.editorial-theme .nav-link { color: var(--text); }
.editorial-theme .navbar-brand { color: var(--text) !important; }
.editorial-theme .nav-link:hover { color: var(--primary); }
.editorial-theme .logo-icon { background: var(--text); color: var(--bg); }
.editorial-theme .btn-primary { background: var(--text) !important; border-color: var(--text) !important; color: #fff !important; }
.editorial-theme .btn-primary:hover { background: var(--primary) !important; border-color: var(--primary) !important; box-shadow: none !important; }
.editorial-theme .btn-outline { background: transparent !important; color: var(--text) !important; border-color: var(--border) !important; }
.editorial-theme .btn-outline:hover { background: var(--text) !important; border-color: var(--text) !important; color: #fff !important; box-shadow: none !important; }

.editorial-wrap { width: min(1120px, 84%); margin: 0 auto; }
.editorial-home-hero { padding: clamp(64px, 10vw, 132px) 0 72px; overflow: clip; }
.editorial-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .7fr);
  gap: 42px 10%;
  align-items: center;
}
.editorial-home-copy { max-width: 620px; }
.editorial-kicker {
  margin: 0 0 22px;
  color: var(--primary);
  font: 600 .72rem/1.4 'Inter', system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.editorial-home-copy h1,
.editorial-about h1 {
  margin: 0 0 24px;
  color: var(--text);
  font: 400 clamp(3rem, 7vw, 6.2rem)/.98 Georgia, 'Times New Roman', serif;
  letter-spacing: -.055em;
}
.editorial-home-copy h1 em,
.editorial-about h1 em { color: var(--primary); font-weight: 400; }
.editorial-lead {
  max-width: 520px;
  color: var(--text-light);
  font: 400 clamp(1.08rem, 1.7vw, 1.3rem)/1.65 Georgia, 'Times New Roman', serif;
}
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--primary);
  color: var(--text);
  font: 600 .9rem 'Inter', system-ui, sans-serif;
}
.editorial-link span { color: var(--primary); font-size: 1.15rem; }
.editorial-link:hover { color: var(--primary); }
.editorial-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  overflow: hidden;
  background: #dcd8cc;
}
.editorial-portrait::before,
.editorial-portrait::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(41, 43, 38, .18);
  border-radius: 50%;
}
.editorial-portrait::before { width: 72%; aspect-ratio: 1; }
.editorial-portrait::after { width: 54%; aspect-ratio: 1; }
.editorial-portrait .editorial-monogram {
  position: static;
  padding: 0;
  background: transparent;
  color: rgba(41, 43, 38, .84);
  font: 400 clamp(9rem, 20vw, 15rem)/1 Georgia, 'Times New Roman', serif;
  z-index: 1;
}
.editorial-portrait .editorial-portrait-name {
  position: absolute;
  right: 0;
  bottom: 22px;
  max-width: 230px;
  padding: 12px 16px;
  background: var(--bg);
  color: var(--text);
  font: 500 .75rem 'Inter', system-ui, sans-serif;
}
.editorial-portrait-name small { color: var(--text-light); font-size: .65rem; }
.editorial-course-carousel {
  position: relative;
  width: 100%;
  max-width: 390px;
  justify-self: end;
}
.editorial-course-carousel-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
}
.editorial-course-carousel-track {
  position: absolute;
  inset: 0;
  animation: editorial-course-carousel-float 6s ease-in-out infinite alternate;
}
.editorial-course-carousel-card {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  color: #fff;
  opacity: 0;
  animation: editorial-course-carousel-fade var(--carousel-duration) ease-in-out infinite;
  animation-delay: var(--course-delay);
}
.editorial-course-carousel-card-face {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #dcd8cc;
  box-shadow: 0 18px 44px rgba(41, 43, 38, .2);
}
.editorial-course-carousel-card-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.editorial-course-carousel-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.editorial-course-carousel:hover .editorial-course-carousel-track,
.editorial-course-carousel:focus-within .editorial-course-carousel-track {
  animation-play-state: paused;
}
.editorial-course-carousel:hover .editorial-course-carousel-card,
.editorial-course-carousel:focus-within .editorial-course-carousel-card {
  animation-play-state: paused;
}
.editorial-course-carousel.is-static .editorial-course-carousel-card {
  animation: none;
  opacity: 0;
}
.editorial-course-carousel.is-static .editorial-course-carousel-card:first-child {
  opacity: 1;
}
@keyframes editorial-course-carousel-float {
  from { transform: translateY(0) rotateX(0deg); }
  to { transform: translateY(-7px) rotateX(2deg); }
}
@keyframes editorial-course-carousel-fade {
  0%, 28% { opacity: 1; }
  36%, 100% { opacity: 0; }
}
.editorial-home-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: .95rem;
}
.editorial-home-note span:first-child { color: var(--text); font: 600 .78rem 'Inter', system-ui, sans-serif; }
.editorial-home-courses { padding: 72px 0; background: #eeece5; }
.editorial-course-row { display: grid; grid-template-columns: .8fr 1fr; gap: 10%; align-items: start; }
.editorial-course-row h2 {
  margin: 0;
  color: var(--text);
  font: 400 clamp(2rem, 4vw, 3.4rem)/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
}
.editorial-course-row .editorial-kicker { margin-bottom: 14px; }
.editorial-course-list { border-top: 1px solid #d8d4cb; }
.editorial-course-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #d8d4cb;
  color: var(--text);
  font-size: 1rem;
}
.editorial-course-link:hover,
.editorial-all-link:hover { color: var(--primary); }
.editorial-course-link span:last-child { color: var(--primary); }
.editorial-all-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--text);
  font: 600 .8rem 'Inter', system-ui, sans-serif;
}
.editorial-home-end { padding: 30px 0; }
.editorial-end-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.editorial-end-row p { margin: 0; font: 400 clamp(1.5rem, 3vw, 2.2rem) Georgia, 'Times New Roman', serif; }
.editorial-end-row .editorial-link { margin-top: 0; }

.editorial-about {
  padding: clamp(54px, 8vw, 96px) 0;
  background: var(--bg);
}
.editorial-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: center;
}
.editorial-about-copy { max-width: 570px; }
.editorial-about-copy .editorial-kicker { margin-bottom: 18px; }
.editorial-about h1 {
  margin: 0 0 20px;
  color: var(--text);
  font: 400 clamp(2.7rem, 5.4vw, 4.7rem)/1.04 Georgia, 'Times New Roman', serif;
  letter-spacing: -.05em;
}
.editorial-about h1 em { color: var(--primary); font-weight: 400; }
.editorial-about-copy .editorial-lead {
  margin-bottom: 12px;
  color: var(--text);
  font: 400 clamp(1.05rem, 1.7vw, 1.25rem)/1.55 Georgia, 'Times New Roman', serif;
}
.editorial-about-copy > p:not(.editorial-kicker):not(.editorial-lead) {
  max-width: 460px;
  color: var(--text-light);
  line-height: 1.75;
}
.editorial-about-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.editorial-about-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 .8rem 'Inter', system-ui, sans-serif;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.editorial-about-button:hover { transform: translateY(-2px); background: var(--primary-dark); color: #fff; }
.editorial-about-button span { font-size: 1rem; }
.editorial-about-contact { color: var(--text); font: 600 .8rem 'Inter', system-ui, sans-serif; text-decoration-color: var(--primary-light); text-underline-offset: 4px; }
.editorial-about-contact:hover { color: var(--primary); }
.editorial-about-visual {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 18px 46px rgba(48, 43, 35, .1);
}
.editorial-about-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 9px;
  background: #efeee7;
  object-fit: cover;
  object-position: center top;
}
.editorial-about-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 3px 2px;
  color: var(--text-light);
  font: 500 .68rem 'Inter', system-ui, sans-serif;
}
.editorial-about-banner {
  padding: clamp(44px, 7vw, 76px) 0;
  background: #174f49;
  color: #fff;
}
.editorial-about-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #fff;
  font: 500 .82rem/1.5 'Inter', system-ui, sans-serif;
}
.editorial-about-breadcrumb a {
  color: #e1eee7;
  text-decoration: underline;
  text-decoration-color: rgba(225, 238, 231, .6);
  text-underline-offset: 3px;
}
.editorial-about-breadcrumb a:hover,
.editorial-about-breadcrumb a:focus-visible { color: #fff; }
.editorial-about-breadcrumb > span[aria-hidden="true"] { color: #c9a96b; }
.editorial-about-breadcrumb > span[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}
.editorial-about-banner > .editorial-wrap > p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
  color: #e1eee7;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}
.editorial-about-page .editorial-about { background: #fff; }
.editorial-about-page .editorial-about-grid { align-items: center; }
.editorial-about-page .editorial-about-copy { max-width: 610px; }
.editorial-about-page .editorial-about-copy h1 {
  margin: 0 0 18px;
  color: var(--text);
  font: 400 clamp(2.4rem, 4.8vw, 4rem)/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
}
.editorial-about-page .editorial-about-copy h1 em { color: var(--primary); font-weight: 400; }
.editorial-about-page .editorial-about-copy > p {
  max-width: 540px;
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: .96rem;
  line-height: 1.8;
}
.editorial-about-page .editorial-about-visual {
  padding: 8px;
  border-color: var(--border);
  border-radius: 12px;
  box-shadow: none;
}
.editorial-about-page .editorial-about-visual img { border-radius: 7px; }
.editorial-about-program {
  padding: clamp(48px, 7vw, 76px) 0;
  background: #f1f5f1;
}
.editorial-about-program-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}
.editorial-about-program-heading .editorial-kicker {
  margin-bottom: 8px;
  color: var(--primary);
  font: 600 .72rem 'Inter', system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.editorial-about-program-heading h2 {
  margin: 0 0 10px;
  color: var(--text);
  font: 400 clamp(1.9rem, 4vw, 3rem)/1.15 Georgia, 'Times New Roman', serif;
}
.editorial-about-program-heading > p:last-child {
  margin: 0 auto;
  color: var(--text-light);
  line-height: 1.7;
}
.editorial-about-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 6vw, 72px);
}
.editorial-about-course {
  padding: 23px 0;
  border-bottom: 1px solid rgba(23, 79, 73, .18);
}
.editorial-about-course h3 {
  margin: 0 0 5px;
  color: var(--text);
  font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.25 Georgia, 'Times New Roman', serif;
}
.editorial-about-course-subtitle {
  margin: 0 0 10px;
  color: var(--primary);
  font: 600 .73rem/1.5 'Inter', system-ui, sans-serif;
}
.editorial-about-course-description {
  margin: 0 0 12px;
  color: var(--text-light);
  font-size: .88rem;
  line-height: 1.65;
}
.editorial-about-course ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.editorial-about-course li {
  position: relative;
  padding-left: 14px;
  color: var(--text-light);
  font-size: .81rem;
  line-height: 1.55;
}
.editorial-about-course li span {
  display: none;
}
.editorial-about-course li::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  content: '';
}
.editorial-about-signoff {
  padding: clamp(34px, 5vw, 54px) 0;
  background: #174f49;
  text-align: center;
}
.editorial-about-signoff p {
  margin: 0 0 5px;
  color: #d7e9dc;
  font: 400 .88rem/1.5 'Inter', system-ui, sans-serif;
}
.editorial-about-signoff h2 {
  margin: 0;
  color: #fff;
  font: 400 clamp(1.5rem, 3vw, 2.25rem)/1.25 Georgia, 'Times New Roman', serif;
}
.site-theme.editorial-about-page .editorial-about-signoff p {
  color: #d7e9dc !important;
}
.site-theme.editorial-about-page .editorial-about-signoff h2 {
  color: #fff !important;
}

.editorial-theme .site-footer { background: transparent; color: var(--text-light); border-top: 1px solid var(--border); }
.editorial-theme .site-footer { background: var(--bg) !important; color: var(--text-light) !important; border-top-color: var(--border) !important; }
.editorial-theme .footer-top { padding: 30px 0 16px; }
.editorial-theme .footer-top { border-top-color: var(--border) !important; }
.editorial-theme .footer-grid { display: block; }
.editorial-theme .footer-col:not(.footer-brand) { display: none; }
.editorial-theme .footer-logo { color: var(--text); }
.editorial-theme .footer-logo .logo-icon { background: var(--text); color: var(--bg); }
.editorial-theme .footer-desc { max-width: 420px; color: var(--text-light); }
.editorial-theme .footer-brand .social-links { display: none; }
.editorial-theme .footer-bottom { background: transparent; border-top: 1px solid var(--border); }
.editorial-theme .footer-bottom-inner { padding: 12px 0; }
.editorial-theme .footer-bottom,
.editorial-theme .footer-bottom a { color: var(--text-light); }
.editorial-theme .footer-bottom { background: var(--bg) !important; }
.editorial-theme .floating-contact,
.editorial-theme .scroll-top { display: none !important; }

@media (max-width: 760px) {
  .editorial-wrap { width: 88%; }
  .editorial-home-hero { padding-top: 58px; }
  .editorial-home-grid { grid-template-columns: 1fr; gap: 34px; }
  .editorial-home-copy h1 { font-size: clamp(3.3rem, 13vw, 5rem); }
  .editorial-portrait { width: min(76%, 340px); justify-self: center; }
  .editorial-course-carousel { width: min(100%, 360px); justify-self: center; }
  .editorial-home-note { grid-column: auto; }
  .editorial-course-row,
  .editorial-about-grid { grid-template-columns: 1fr; gap: 34px; }
  .editorial-course-row { gap: 26px; }
  .editorial-about-visual { width: min(100%, 560px); }
  .editorial-about-course-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .editorial-theme .navbar { min-height: 66px; }
  .editorial-home-hero { padding-bottom: 52px; }
  .editorial-home-courses { padding: 54px 0; }
  .editorial-end-row { align-items: flex-start; flex-direction: column; }
}

.editorial-course-link { align-items: flex-start; }
.editorial-course-info { display: grid; gap: 5px; }
.editorial-course-info strong { font-weight: 500; }
.editorial-course-info small { max-width: 470px; color: var(--text-light); font-size: .82rem; line-height: 1.55; }
.editorial-course-arrow { flex: 0 0 auto; }

.editorial-story-section {
  position: relative;
  padding: clamp(54px, 7vw, 88px) 0;
  background: #f7f5ef;
}
.editorial-story-course {
  background: #eeece5;
}
.editorial-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}
.editorial-story-reverse .editorial-story-media { order: 2; }
.editorial-story-reverse .editorial-story-copy { order: 1; }
.editorial-story-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(48, 43, 35, .12);
  border-radius: 18px;
  background: #171614;
  box-shadow: 0 22px 52px rgba(48, 43, 35, .16);
}
.editorial-story-media-label {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(24, 23, 21, .72);
  color: #fff;
  font: 600 .7rem 'Inter', system-ui, sans-serif;
  letter-spacing: .02em;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.editorial-story-media-label i {
  color: #f4a1bd;
  font-size: .62rem;
}
.editorial-story-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #171614;
  object-fit: contain;
}
.editorial-story-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #171614;
}
.editorial-video-autoplay-status:not([hidden]) {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 52px;
  left: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(24, 23, 21, .82);
  color: #fff;
  font: 500 .76rem/1.4 'Inter', system-ui, sans-serif;
  pointer-events: none;
}
.editorial-story-copy h2,
.editorial-testimonials h2 {
  margin: 0 0 18px;
  color: var(--text);
  font: 400 clamp(2rem, 4.4vw, 3.6rem)/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
}
.editorial-story-copy h2 em { color: var(--primary); font-weight: 400; }
.editorial-story-copy .editorial-kicker { margin-bottom: 16px; }
.editorial-story-copy > p:not(.editorial-kicker) {
  max-width: 440px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.75;
}
.editorial-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(48, 43, 35, .2);
  border-radius: 999px;
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.editorial-story-cta span { color: var(--primary); font-size: 1rem; }
.editorial-story-cta:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.editorial-story-cta:hover span { color: #fff; }

.editorial-testimonials { padding: clamp(58px, 9vw, 100px) 0; }
.editorial-testimonials-heading { margin-bottom: 32px; }
.editorial-testimonials-heading .editorial-kicker { margin-bottom: 12px; }
.editorial-testimonials h2 { margin-bottom: 0; }
.editorial-testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.editorial-testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 205px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.editorial-testimonial blockquote {
  color: var(--text);
  font: 400 1.08rem/1.65 Georgia, 'Times New Roman', serif;
}
.editorial-testimonial figcaption { display: grid; gap: 4px; }
.editorial-testimonial figcaption strong { font: 600 .78rem 'Inter', system-ui, sans-serif; }
.editorial-testimonial figcaption span { color: var(--text-light); font: 400 .72rem 'Inter', system-ui, sans-serif; }
.editorial-testimonial-empty { padding: 20px 0; border-top: 1px solid var(--border); color: var(--text-light); }

@media (max-width: 760px) {
  .editorial-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .editorial-story-reverse .editorial-story-media,
  .editorial-story-reverse .editorial-story-copy { order: initial; }
  .editorial-story-media { margin-right: 12px; }
  .editorial-story-copy h2 { max-width: 520px; }
  .editorial-testimonial-grid { grid-template-columns: 1fr; gap: 0; }
  .editorial-testimonial { min-height: 0; }
}

.editorial-course-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.editorial-course-heading .editorial-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.editorial-course-heading .editorial-kicker::before {
  width: 24px;
  height: 1px;
  background: var(--primary);
  content: '';
}
.editorial-course-heading h2 {
  margin: 0;
  color: var(--text);
  font: 400 clamp(1.35rem, 4.1vw, 3.25rem)/1.12 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.editorial-course-heading h2 span {
  color: var(--primary);
  font-style: italic;
}
.editorial-course-heading .editorial-all-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin: 0 0 4px;
  padding: 11px 15px;
  border: 1px solid rgba(48, 43, 35, .18);
  border-radius: 999px;
  color: var(--text);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.editorial-course-heading .editorial-all-link:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.editorial-course-heading .editorial-all-link span { color: var(--primary); font-size: 1rem; }
.editorial-course-heading .editorial-all-link:hover span { color: #fff; }
.editorial-all-link-mobile { display: none; }
.editorial-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.editorial-course-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  border: 1px solid rgba(48, 43, 35, .1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(48, 43, 35, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.editorial-course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(48, 43, 35, .2);
  box-shadow: 0 16px 34px rgba(48, 43, 35, .13);
}
.editorial-course-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dedacf;
  aspect-ratio: 16 / 9;
}
.editorial-course-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.editorial-course-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--bg);
  color: var(--primary);
  font: 600 .7rem 'Inter', system-ui, sans-serif;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}
.editorial-course-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.editorial-course-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.editorial-course-card-title h3 {
  margin: 0;
  color: var(--text);
  font: 500 1.12rem/1.35 Georgia, 'Times New Roman', serif;
}
.editorial-course-card-title h3 a { color: inherit; text-decoration: none; }
.editorial-course-card-title h3 a:hover { color: var(--primary); }
.editorial-course-detail-link { flex: 0 0 auto; color: var(--primary); text-decoration: none; }
.editorial-course-card-body p {
  margin: 10px 0 16px;
  color: var(--text-light);
  font-size: .82rem;
  line-height: 1.6;
}
.editorial-course-card-bottom {
  margin-top: auto;
}
.editorial-course-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.editorial-course-price {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(48, 43, 35, .06);
  color: var(--primary-dark);
  font: 700 .8rem 'Inter', system-ui, sans-serif;
}
.editorial-course-price-label {
  margin-left: auto;
  color: var(--text-light);
  font: 600 .62rem 'Inter', system-ui, sans-serif;
  letter-spacing: .1em;
}
.editorial-course-actions {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}
.editorial-course-actions form { display: contents; }
.editorial-course-action {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: 600 .76rem 'Inter', system-ui, sans-serif;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.editorial-course-action:hover { transform: translateY(-1px); }
.editorial-course-action-primary {
  background: var(--primary);
  color: #fff;
}
.editorial-course-action-primary:hover { background: var(--primary-dark); color: #fff; }
.editorial-course-action-secondary {
  border-color: rgba(48, 43, 35, .2);
  background: transparent;
  color: var(--text);
}
.editorial-course-action-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.editorial-course-action:focus-visible {
  outline: 3px solid rgba(48, 43, 35, .35);
  outline-offset: 2px;
}
.editorial-course-empty {
  grid-column: 1 / -1;
  padding: 24px;
  background: var(--bg);
  color: var(--text-light);
}

.editorial-theme .page-hero {
  padding: clamp(48px, 7vw, 76px) 0;
  background: #efeee7;
  color: var(--text);
  text-align: left;
}
.editorial-theme .page-hero::before { display: none; }
.editorial-theme .page-hero h1 {
  margin: 0;
  color: var(--text);
  font: 400 clamp(2.3rem, 5vw, 4rem)/1.05 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
}
.editorial-theme .page-hero p:not(.editorial-kicker) {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--text-light);
  line-height: 1.6;
}
.editorial-theme .page-hero .editorial-kicker { margin-bottom: 12px; }
.editorial-theme .page-search-form {
  margin: 24px 0 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}
.editorial-theme .page-search-form input {
  background: transparent;
  color: var(--text);
}
.editorial-theme .page-search-form button {
  min-width: 52px;
  border: 0;
  background: var(--text);
  color: #fff;
  cursor: pointer;
}
.editorial-courses-page .section-pad { background: var(--bg); }
.editorial-courses-container { max-width: 1120px; }
.editorial-courses-page .editorial-courses-container { width: min(92%, 1440px); }
.editorial-courses-page .courses-layout { display: block; }
.editorial-courses-page .courses-main { min-width: 0; }
.editorial-courses-page .courses-toolbar {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}
.editorial-courses-page .courses-count { color: var(--text-light); }
.editorial-courses-page .courses-sort { color: var(--text-light); }
.editorial-courses-page .courses-sort select {
  border-color: var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}
.editorial-package-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.editorial-package-prompt:hover { transform: translateY(-2px); border-color: var(--primary-light); }
.editorial-package-prompt > span:first-child { display: grid; gap: 4px; }
.editorial-package-prompt strong { font: 600 .9rem 'Inter', system-ui, sans-serif; }
.editorial-package-prompt small { color: var(--text-light); font-size: .78rem; }
.editorial-package-prompt-link { color: var(--primary); font: 600 .78rem 'Inter', system-ui, sans-serif; white-space: nowrap; }
.editorial-courses-page .courses-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.editorial-courses-page .course-card {
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  background: var(--card) !important;
  color: var(--text);
  box-shadow: 0 5px 18px rgba(48, 43, 35, .05);
  text-decoration: none;
}
.editorial-courses-page .course-card:hover {
  border-color: var(--primary-light) !important;
  box-shadow: 0 14px 30px rgba(48, 43, 35, .12) !important;
}
.editorial-courses-page .course-thumb { background: #efeee7; }
.editorial-courses-page .course-body { min-height: 126px; padding: 16px; background: var(--card) !important; }
.editorial-courses-page .course-title { margin: 0; color: var(--text); font: 500 1.08rem/1.4 Georgia, 'Times New Roman', serif; }
.editorial-courses-page .course-title a { color: var(--text) !important; text-decoration: none; }
.editorial-courses-page .course-title a:hover { color: var(--primary) !important; }
.editorial-courses-page .course-category { margin-bottom: 8px; color: var(--primary); font-size: .67rem; }
.editorial-courses-page .course-footer { margin-top: auto; border-color: var(--border); }
.editorial-courses-page .course-price { color: var(--text); }
.editorial-courses-page .course-price .current { color: var(--text) !important; }
.editorial-courses-page .course-price .original { color: var(--text-muted) !important; }
.editorial-courses-page .course-price.free { color: var(--primary); }
.editorial-courses-page .course-enroll-btn {
  padding: .38rem .58rem;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
}
.editorial-courses-page .course-card:hover .course-enroll-btn { background: var(--primary); color: #fff; }

.editorial-contact-page .page-hero { text-align: center; }
.editorial-contact-page .page-hero p:not(.editorial-kicker) { margin-right: auto; margin-left: auto; }
.editorial-contact-page .section-pad { background: var(--bg); }
.editorial-contact-page .contact-info-card,
.editorial-contact-page .contact-form-card,
.editorial-contact-page .contact-hours-card,
.editorial-contact-page .faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(48, 43, 35, .06);
}
.editorial-contact-page .contact-hours-card {
  background: var(--primary-bg);
  color: var(--text);
}
.editorial-contact-page .contact-hours-card h4,
.editorial-contact-page .contact-hours-card ul li { color: var(--text); }
.editorial-contact-page .contact-hours-card ul li { border-bottom-color: var(--border); }
.editorial-contact-page .contact-info-card:hover { box-shadow: 0 14px 30px rgba(48, 43, 35, .1); }
.editorial-contact-page .contact-info-icon.purple,
.editorial-contact-page .contact-info-icon.blue,
.editorial-contact-page .contact-info-icon.green,
.editorial-contact-page .contact-info-icon.orange {
  background: var(--primary-bg);
  color: var(--primary);
}
.editorial-contact-page .contact-form-card,
.editorial-contact-page .contact-side-panel,
.editorial-contact-page .contact-side-panel h2,
.editorial-contact-page .contact-form-card h3 {
  color: #25362f !important;
}
.editorial-contact-page .contact-side-panel > p,
.editorial-contact-page .cf-header p,
.editorial-contact-page .cf-hint {
  color: #65716a !important;
}
.editorial-contact-page .cf-label,
.editorial-contact-page .cf-check-row label {
  color: #25362f !important;
  font-weight: 700;
}
.editorial-contact-page .cf-label i { color: #456653 !important; }
.editorial-contact-page .cf-input {
  border-color: #d5d9d0;
  background: #fffefa !important;
  color: #25362f !important;
}
.editorial-contact-page .cf-input::placeholder { color: #828a83 !important; opacity: 1; }
.editorial-contact-page .cf-input:focus {
  border-color: #456653;
  box-shadow: 0 0 0 3px rgba(69, 102, 83, .14);
}
.editorial-contact-page .cf-select option { background: #fffefa; color: #25362f; }
.editorial-contact-page .cf-select-arrow { color: #456653; }
.editorial-contact-page .cf-submit {
  border-color: var(--primary);
  background: var(--primary);
}
.editorial-contact-page .cf-submit:hover { background: var(--primary-dark); }
.editorial-contact-page .contact-faq { background: #efeee7; }
.editorial-contact-page .contact-faq .section-badge {
  background: #e7eee8 !important;
  color: #456653 !important;
  border-color: #d5e1d7 !important;
}
.editorial-contact-page .floating-contact { display: flex !important; }

.editorial-package-main { background: var(--bg); min-height: 60vh; }
.editorial-package-hero { padding: clamp(46px, 7vw, 76px) 0 38px; background: #efeee7; }
.editorial-package-hero h1 {
  margin: 0;
  color: var(--text);
  font: 400 clamp(2.3rem, 5vw, 4rem)/1.05 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
}
.editorial-package-hero h1 em { color: var(--primary); font-weight: 400; }
.editorial-package-hero > .editorial-wrap > p:not(.editorial-kicker) { color: var(--text-light); }
.editorial-package-hero .editorial-kicker { margin-bottom: 12px; }
.editorial-package-back { display: inline-block; margin-top: 8px; color: var(--primary); font-size: .82rem; font-weight: 600; text-decoration: none; }
.editorial-package-options { padding: 40px 0 72px; }
.editorial-package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.editorial-package-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 7px 22px rgba(48, 43, 35, .06);
}
.editorial-package-count { color: var(--primary); font: 600 .72rem 'Inter', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.editorial-package-card h2 { margin: 13px 0 8px; color: var(--text); font: 500 1.35rem Georgia, 'Times New Roman', serif; }
.editorial-package-card p { margin: 0 0 20px; color: var(--text-light); font-size: .86rem; line-height: 1.6; }
.editorial-package-card .editorial-package-price {
  margin: 0 0 12px;
  color: #174f49;
  font: 700 clamp(1.8rem, 2.5vw, 2.2rem)/1.1 'Inter', system-ui, sans-serif;
  letter-spacing: -.045em;
}
.editorial-package-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 .8rem 'Inter', system-ui, sans-serif;
  text-decoration: none;
}
.editorial-package-button:hover { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }
.editorial-package-note { margin: 20px 0 0; color: var(--text-light); font-size: .78rem; }
.editorial-package-select { padding-top: 28px; }
.editorial-package-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: .85rem;
}
.editorial-package-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.editorial-package-course {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}
.editorial-package-course .course-thumb { background: #efeee7; }
.editorial-package-course-info { display: grid; gap: 8px; padding: 15px; }
.editorial-package-course-info h2 { margin: 0; color: var(--text); font: 500 1rem/1.4 Georgia, 'Times New Roman', serif; }
.editorial-package-course-price { color: var(--primary); font: 700 .85rem 'Inter', system-ui, sans-serif; }
.editorial-package-checkbox { display: flex; align-items: center; gap: 7px; color: var(--text-light); font-size: .78rem; }
.editorial-package-checkbox input { accent-color: var(--primary); }
.editorial-package-submit { border: 0; cursor: pointer; }
.dash-stats-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .editorial-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .editorial-courses-page .courses-grid,
  .editorial-package-grid,
  .editorial-package-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .editorial-course-card-body { padding: 16px; }
  .editorial-course-card-title h3 { font-size: 1rem; }
}
@media (max-width: 520px) {
  .editorial-courses-page .courses-grid,
  .editorial-package-grid,
  .editorial-package-course-grid { grid-template-columns: 1fr; }
  .editorial-package-prompt { align-items: flex-start; flex-direction: column; gap: 10px; }
  .editorial-package-selection { align-items: flex-start; flex-direction: column; }
  .editorial-package-options { padding: 28px 0 48px; }
  .editorial-course-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .editorial-course-heading h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    white-space: normal;
  }
  .editorial-course-heading > .editorial-all-link { display: none; }
  .editorial-all-link-mobile {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 11px 15px;
    border: 1px solid rgba(48, 43, 35, .18);
    border-radius: 999px;
    color: var(--text);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
  }
  .editorial-all-link-mobile span { color: var(--primary); font-size: 1rem; }
  .editorial-course-grid { grid-template-columns: 1fr; gap: 16px; }
  .editorial-course-image { aspect-ratio: 16 / 9; }
  .editorial-course-actions { gap: 8px; }
  .editorial-course-action { padding-inline: 9px; font-size: .72rem; }
}

/* Cohesive theme overrides for legacy high-priority site rules */
.editorial-theme .site-header .nav-link,
.editorial-theme .site-header .navbar-brand,
.editorial-theme .site-header .nav-icon-btn { color: var(--text) !important; }
.editorial-theme .site-header .nav-link:hover,
.editorial-theme .site-header .nav-icon-btn:hover { color: var(--primary) !important; }
.editorial-theme .site-header .btn-primary { background: var(--primary) !important; border-color: var(--primary) !important; }
.editorial-theme .site-header .btn-primary:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.editorial-theme .site-header .btn-outline { color: var(--primary) !important; border-color: var(--primary) !important; }
.editorial-theme .site-header .btn-outline:hover { background: var(--primary) !important; color: #fff !important; }
.editorial-theme .site-header .hamburger span { background: var(--text) !important; }
.editorial-theme .navbar-nav { background: transparent !important; border-color: var(--border) !important; }
.editorial-theme .footer-bottom,
.editorial-theme .footer-bottom a,
.editorial-theme .footer-logo { color: var(--text-light) !important; }
.editorial-theme .footer-logo .logo-icon { background: var(--primary) !important; color: #fff !important; }
.editorial-theme .social-btn { color: var(--primary) !important; }
.editorial-theme :focus-visible { outline-color: var(--primary); }
.editorial-theme { scrollbar-color: var(--primary-light) var(--bg-dark); }
.editorial-theme::-webkit-scrollbar-track { background: var(--bg-dark); }
.editorial-theme::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 8px; }

.editorial-theme .editorial-link,
.editorial-theme .editorial-course-card,
.editorial-theme .site-header .btn,
.editorial-theme .nav-link {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease,
    box-shadow .3s ease, transform .3s ease;
}
.editorial-home-hero .editorial-home-copy,
.editorial-home-hero .editorial-portrait,
.editorial-home-hero .editorial-course-carousel,
.editorial-home-hero .editorial-home-note {
  animation: editorial-rise-in .8s cubic-bezier(.2,.7,.2,1) both;
}
.editorial-home-hero .editorial-portrait,
.editorial-home-hero .editorial-course-carousel { animation-delay: .12s; }
.editorial-home-hero .editorial-home-note { animation-delay: .22s; }
.editorial-portrait::before { animation: editorial-orbit 20s ease-in-out infinite alternate; }
.editorial-portrait::after { animation: editorial-orbit 15s ease-in-out infinite alternate-reverse; }
.editorial-course-card { transition-delay: 0s; }
.editorial-course-card:hover .editorial-course-image img { filter: saturate(1.04); }
.editorial-story-media { transition: box-shadow .3s ease, border-color .3s ease; }
.editorial-story-media:hover {
  border-color: rgba(48, 43, 35, .24);
  box-shadow: 0 26px 58px rgba(48, 43, 35, .2);
}
.editorial-testimonial { transition: border-color .3s ease, transform .3s ease; }
.editorial-testimonial:hover { border-color: var(--primary); transform: translateY(-3px); }
.editorial-end-row .editorial-link:hover span { transform: translate(3px, -3px); }
.editorial-link span { transition: transform .25s ease; }

.editorial-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.editorial-reveal.is-visible { opacity: 1; transform: translateY(0); }
.editorial-course-card.editorial-reveal:nth-child(2) { transition-delay: .1s; }
.editorial-course-card.editorial-reveal:nth-child(3) { transition-delay: .2s; }
.editorial-story-copy.editorial-reveal { transition-delay: .12s; }
.editorial-reveal.is-visible.editorial-course-card { transition-delay: 0s; }
.editorial-reveal.is-visible.editorial-course-card:nth-child(2) { transition-delay: .1s; }
.editorial-reveal.is-visible.editorial-course-card:nth-child(3) { transition-delay: .2s; }

@keyframes editorial-rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes editorial-orbit {
  from { transform: scale(.96) rotate(-5deg); }
  to { transform: scale(1.04) rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-theme *,
  .editorial-theme *::before,
  .editorial-theme *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .editorial-theme .editorial-reveal { opacity: 1; transform: none; }
  .editorial-theme .editorial-course-carousel-track,
  .editorial-theme .editorial-course-carousel-card {
    animation: none !important;
  }
  .editorial-theme .editorial-course-carousel-card { opacity: 0; }
  .editorial-theme .editorial-course-carousel-card:first-child,
  .editorial-theme .editorial-course-carousel-card:focus-visible { opacity: 1; }
}

@media (max-width: 768px) {
  .editorial-theme .navbar-nav { background: var(--card) !important; }
}

/* Course detail page */
.editorial-course-detail-page .cd-hero {
  padding: clamp(28px, 5vw, 52px) 0;
  background: #efeee7 !important;
  color: var(--text);
}
.editorial-course-detail-page .cd-hero::before { display: none; }
.editorial-course-detail-page .cd-breadcrumb,
.editorial-course-detail-page .cd-breadcrumb a { color: var(--text-light); }
.editorial-course-detail-page .cd-breadcrumb i { color: #a0a79f; }
.editorial-course-detail-page .cd-badge {
  background: #e3eae2;
  border-color: #d5e1d7;
  color: var(--primary-dark);
}
.editorial-course-detail-page .cd-title {
  max-width: 760px;
  margin-bottom: .55rem;
  color: var(--text);
  font: 400 clamp(2rem, 4vw, 3.4rem)/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.035em;
}
.editorial-course-detail-page .cd-subtitle {
  max-width: 650px;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: .96rem;
}
.editorial-course-detail-page .cd-stats { margin-bottom: .7rem; gap: .5rem 1rem; }
.editorial-course-detail-page .cd-stat { color: var(--text-light); }
.editorial-course-detail-page .cd-stat i { color: var(--primary); }
.editorial-course-detail-page .cd-stat-sep { color: #a0a79f; }
.editorial-course-detail-page .cd-instructor {
  width: fit-content;
  padding-top: .7rem;
  border-color: #d8d9d1;
  color: var(--text-light);
}
.editorial-course-detail-page .cd-instructor img { border-color: #d5e1d7; }
.editorial-course-detail-page .cd-instructor strong { color: var(--primary-dark); }
.editorial-course-detail-page .cd-body { padding: 32px 0 56px; background: var(--bg); }
.editorial-course-detail-page .cd-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; }
.editorial-course-detail-page .cd-sidebar { top: calc(var(--navbar-h) + 16px); }
.editorial-course-detail-page .cd-buy-card,
.editorial-course-detail-page .cd-card,
.editorial-course-detail-page .cd-learn-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card) !important;
  box-shadow: 0 8px 24px rgba(48, 43, 35, .06);
}
.editorial-course-detail-page .cd-buy-card {
  border-color: var(--border) !important;
  box-shadow: 0 8px 24px rgba(48, 43, 35, .06);
}
.editorial-course-detail-page .cd-thumb { background: #f0eee6; }
.editorial-course-detail-page .cd-thumb img { object-fit: contain; }
.editorial-course-detail-page .cd-buy-body { padding: 1.15rem; }
.editorial-course-detail-page .cd-price { color: var(--text); }
.editorial-course-detail-page .cd-price.free { color: var(--primary); }
.editorial-course-detail-page .cd-price-orig,
.editorial-course-detail-page .cd-payment-type,
.editorial-course-detail-page .cd-access-duration,
.editorial-course-detail-page .cd-guarantee { color: var(--text-light); }
.editorial-course-detail-page .cd-guarantee i { color: var(--primary); }
.editorial-course-detail-page .cd-includes { border-color: var(--border); }
.editorial-course-detail-page .cd-includes li { color: var(--text-light); }
.editorial-course-detail-page .cd-includes li i { color: var(--primary); }
.editorial-course-detail-page .cd-card,
.editorial-course-detail-page .cd-learn-box { padding: 1.35rem; margin-bottom: 1rem; }
.editorial-course-detail-page .cd-card h2,
.editorial-course-detail-page .cd-learn-box h2 {
  color: var(--text);
  border-color: var(--border);
  font-size: 1.12rem;
}
.editorial-course-detail-page .cd-card h2 i,
.editorial-course-detail-page .cd-learn-box h2 i { color: var(--primary); }
.editorial-course-detail-page .cd-learn-box {
  background: #eef2eb !important;
  border-color: #d5e1d7 !important;
}
.editorial-course-detail-page .cd-learn-item { color: var(--text); }
.editorial-course-detail-page .cd-learn-item i { color: var(--primary); }
.editorial-course-detail-page .cd-curriculum-meta,
.editorial-course-detail-page .cd-empty { color: var(--text-light); }
.editorial-course-detail-page .cd-acc-item { border-color: var(--border) !important; }
.editorial-course-detail-page .cd-acc-item:hover { box-shadow: 0 4px 12px rgba(48, 43, 35, .08); }
.editorial-course-detail-page .cd-acc-btn,
.editorial-course-detail-page .cd-acc-body { background: var(--card) !important; color: var(--text); }
.editorial-course-detail-page .cd-acc-btn.open {
  background: #eef2eb !important;
  color: var(--primary-dark) !important;
  border-color: transparent !important;
}
.editorial-course-detail-page .cd-acc-left i,
.editorial-course-detail-page .cd-lesson-left i { color: var(--primary); }
.editorial-course-detail-page .cd-acc-right,
.editorial-course-detail-page .cd-lesson-right { color: var(--text-light); }
.editorial-course-detail-page .cd-acc-btn.open .cd-acc-right { color: var(--primary); }
.editorial-course-detail-page .cd-acc-body { border-color: var(--border); }
.editorial-course-detail-page .cd-lesson { border-color: var(--border-light); }
.editorial-course-detail-page .cd-lesson:hover { background: var(--bg); }
.editorial-course-detail-page .cd-lesson-left { color: var(--text); }
.editorial-course-detail-page .cd-preview { background: #e3eae2; color: var(--primary-dark); }
.editorial-course-detail-page .cd-instructor-card p,
.editorial-course-detail-page .cd-instructor-info p { color: var(--text-light); }
.editorial-course-detail-page .cd-review { border-color: var(--border-light); }
.editorial-course-detail-page .cd-review-top strong { color: var(--text); }

.editorial-course-detail-page .cd-hero {
  padding: clamp(28px, 5vw, 56px) 0;
  background: #f7f5ef !important;
}
.editorial-course-detail-page .cd-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.editorial-course-detail-page .cd-hero-inner { max-width: 660px; }
.editorial-course-detail-page .cd-hero-tags { margin-bottom: 1rem; }
.editorial-course-detail-page .cd-title { font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.editorial-course-detail-page .cd-subtitle { max-width: 540px; font-size: 1rem; }
.editorial-course-detail-page .cd-stats { margin: 1.2rem 0; }
.editorial-course-detail-page .cd-instructor {
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}
.editorial-course-detail-page .cd-body {
  padding: 0 0 64px;
  background: var(--bg) !important;
}
.editorial-course-detail-page .cd-layout {
  display: block;
  max-width: 850px;
  margin: 0 auto;
}
.editorial-course-detail-page .cd-sidebar { position: static; }
.editorial-course-detail-page .cd-buy-card {
  max-width: 430px;
  margin-left: auto;
}
.editorial-course-detail-page .cd-thumb { aspect-ratio: 16 / 10; }
.editorial-course-detail-page .cd-thumb img {
  object-fit: contain;
  padding: 12px;
}
.editorial-course-detail-page .cd-buy-body { padding: 1.1rem 1.25rem; }
.editorial-course-detail-page .cd-price-row { margin-bottom: .35rem; }
.editorial-course-detail-page .cd-price { color: var(--text) !important; }
.editorial-course-detail-page .cd-price.free { color: var(--primary) !important; }
.editorial-course-detail-page .cd-price-orig { color: var(--text-light) !important; }
.editorial-course-detail-page .cd-access-duration { margin: 0 0 .85rem; }
.editorial-course-detail-page .cd-learn-box,
.editorial-course-detail-page .cd-review-details {
  padding: 0;
  overflow: hidden;
}
.editorial-course-detail-page .cd-learn-box summary,
.editorial-course-detail-page .cd-review-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.1rem 1.25rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.editorial-course-detail-page .cd-learn-box summary::-webkit-details-marker,
.editorial-course-detail-page .cd-review-details summary::-webkit-details-marker { display: none; }
.editorial-course-detail-page .cd-learn-box summary i,
.editorial-course-detail-page .cd-review-details summary i {
  color: var(--primary);
  transition: transform .2s ease;
}
.editorial-course-detail-page .cd-learn-box[open] summary,
.editorial-course-detail-page .cd-review-details[open] summary { border-bottom: 1px solid var(--border); }
.editorial-course-detail-page .cd-learn-box[open] summary i,
.editorial-course-detail-page .cd-review-details[open] summary i { transform: rotate(180deg); }
.editorial-course-detail-page .cd-learn-grid { padding: 1.1rem 1.25rem 1.25rem; }
.editorial-course-detail-page .cd-card h2 {
  margin-bottom: .4rem;
  padding-bottom: .55rem;
  border-bottom-width: 1px;
  font: 500 1.5rem/1.2 Georgia, 'Times New Roman', serif;
}
.editorial-course-detail-page .cd-review-details > .admin-form { margin-top: 1rem; }
.editorial-course-detail-page .cd-curriculum-meta { margin-bottom: .85rem; }
.editorial-course-detail-page .cd-acc-btn {
  min-height: 58px;
  padding: .9rem 1rem;
  font-size: .92rem;
}
.editorial-course-detail-page .cd-acc-left { line-height: 1.4; }
.editorial-course-detail-page .cd-lesson { padding: .8rem 1rem; }

@media (max-width: 768px) {
  .editorial-course-detail-page .cd-hero { padding: 24px 0 28px; }
  .editorial-course-detail-page .cd-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .editorial-course-detail-page .cd-buy-card { max-width: none; }
  .editorial-course-detail-page .cd-thumb { aspect-ratio: 16 / 9; }
  .editorial-course-detail-page .cd-layout { max-width: 100%; }
  .editorial-course-detail-page .cd-main { min-width: 0; }
  .editorial-course-detail-page .cd-buy-body { padding: .9rem; }
  .editorial-course-detail-page .cd-price-row { gap: .35rem .55rem; margin-bottom: .45rem; }
  .editorial-course-detail-page .cd-price { font-size: 1.55rem; }
  .editorial-course-detail-page .cd-access-duration { margin: 0 0 .65rem; font-size: .76rem; }
  .editorial-course-detail-page .cd-buy-body .btn { min-height: 42px; padding: .55rem .65rem; font-size: .82rem; }
  .editorial-course-detail-page .cd-buy-body > form + a,
  .editorial-course-detail-page .cd-buy-body > a + button,
  .editorial-course-detail-page .cd-buy-body > a + a { margin-top: .4rem !important; }
  .editorial-course-detail-page .cd-guarantee { margin: .45rem 0 0; font-size: .7rem; }
  .editorial-course-detail-page .cd-card,
  .editorial-course-detail-page .cd-learn-box { padding: 1rem; }
  .editorial-course-detail-page .cd-learn-box,
  .editorial-course-detail-page .cd-review-details { padding: 0; }
  .editorial-course-detail-page .cd-learn-grid { grid-template-columns: 1fr; gap: .55rem; }
  .editorial-course-detail-page .cd-acc-btn { align-items: flex-start; padding: .8rem; }
  .editorial-course-detail-page .cd-acc-right { gap: .35rem; white-space: nowrap; }
  .editorial-course-detail-page .cd-lesson { padding: .65rem .75rem; gap: .5rem; }
}

@media (max-width: 480px) {
  .editorial-course-detail-page .cd-hero .container,
  .editorial-course-detail-page .cd-body .container { padding-right: 16px; padding-left: 16px; }
  .editorial-course-detail-page .cd-breadcrumb { margin-bottom: .7rem; font-size: .7rem; }
  .editorial-course-detail-page .cd-title { font-size: 2.15rem; }
  .editorial-course-detail-page .cd-subtitle { font-size: .88rem; line-height: 1.5; }
  .editorial-course-detail-page .cd-thumb { aspect-ratio: 16 / 10; }
  .editorial-course-detail-page .cd-buy-body { padding: 1rem; }
  .editorial-course-detail-page .cd-instructor-card { gap: .75rem; }
  .editorial-course-detail-page .cd-instructor-card img { width: 54px; height: 54px; }
  .editorial-course-detail-page .cd-acc-btn { flex-wrap: wrap; }
  .editorial-course-detail-page .cd-acc-right { margin-left: 1.3rem; font-size: .7rem; }
  .editorial-course-detail-page .cd-lesson-left { line-height: 1.4; }
  .editorial-course-detail-page .cd-lesson-right { font-size: .7rem; }
}

.editorial-course-detail-page .cd-hero {
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(ellipse at 82% 18%, rgba(120, 145, 125, .18), transparent 38%),
    radial-gradient(ellipse at 12% 100%, rgba(227, 234, 226, .65), transparent 42%) !important;
}
.editorial-course-detail-page .cd-hero::before {
  display: block;
  inset: auto -90px -210px auto;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(69, 102, 83, .12);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 34px rgba(69, 102, 83, .025), 0 0 0 68px rgba(69, 102, 83, .025);
  z-index: -1;
}
.editorial-course-detail-page .cd-breadcrumb { margin-bottom: 1.5rem; }
.editorial-course-detail-page .cd-badge {
  gap: .5rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .09em;
}
.editorial-course-detail-page .cd-badge i { color: var(--primary); }
.editorial-course-detail-page .cd-title {
  max-width: 690px;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.02;
}
.editorial-course-detail-page .cd-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 1rem;
  border-radius: 3px;
  background: var(--primary);
}
.editorial-course-detail-page .cd-subtitle {
  max-width: 490px;
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.editorial-course-detail-page .cd-stats { gap: .65rem; }
.editorial-course-detail-page .cd-stat {
  gap: .45rem;
  padding: .52rem .78rem;
  border: 1px solid rgba(69, 102, 83, .15);
  border-radius: 999px;
  background: rgba(255, 254, 250, .72);
  color: var(--text);
  font-size: .78rem;
  font-weight: 600;
}
.editorial-course-detail-page .cd-stat-sep { display: none; }
.editorial-course-detail-page .cd-instructor {
  gap: .7rem;
  border: 0;
  padding-top: .2rem;
}
.editorial-course-detail-page .cd-instructor img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--card);
  box-shadow: 0 2px 8px rgba(48, 43, 35, .12);
}
.editorial-course-detail-page .cd-instructor strong { color: var(--text); }
.editorial-course-detail-page .cd-buy-card {
  overflow: hidden;
  border-radius: 20px;
  border-top: 3px solid var(--primary) !important;
  box-shadow: 0 22px 55px rgba(48, 43, 35, .14);
  transform: rotate(1deg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.editorial-course-detail-page .cd-buy-card:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 28px 62px rgba(48, 43, 35, .17);
}
.editorial-course-detail-page .cd-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #e5e9df, #f4f0e5);
}
.editorial-course-detail-page .cd-thumb img { padding: 16px; }
.editorial-course-detail-page .cd-play-overlay {
  background: linear-gradient(0deg, rgba(37, 54, 47, .2), transparent 60%);
}
.editorial-course-detail-page .cd-play-overlay span {
  width: 58px;
  height: 58px;
  color: var(--primary-dark);
}
.editorial-course-detail-page .cd-buy-body { padding: 1.25rem 1.4rem 1.4rem; }
.editorial-course-detail-page .cd-buy-kicker {
  margin: 0 0 .45rem;
  color: var(--text-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.editorial-course-detail-page .cd-price-row { gap: .55rem; align-items: center; }
.editorial-course-detail-page .cd-price { font-size: 2.35rem; letter-spacing: -.04em; }
.editorial-course-detail-page .cd-price-orig { font-size: .95rem; }
.editorial-course-detail-page .cd-access-duration {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--text-light);
  font-size: .8rem;
}
.editorial-course-detail-page .cd-access-duration::before {
  content: '\f017';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
  color: var(--primary);
}
.editorial-course-detail-page .cd-buy-body .btn {
  min-height: 50px;
  border-radius: 9px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.editorial-course-detail-page .cd-buy-body .btn-primary {
  box-shadow: 0 7px 16px rgba(48, 76, 61, .18);
}
.editorial-course-detail-page .cd-buy-body .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(48, 76, 61, .2);
}
.editorial-course-detail-page .cd-buy-body .btn-outline {
  border-color: var(--border);
  color: var(--primary-dark);
}
.editorial-course-detail-page .cd-layout { padding-top: 4rem; }
.editorial-course-detail-page .cd-main { display: grid; gap: 1rem; }
.editorial-course-detail-page .cd-learn-box {
  background: #edf2eb !important;
  border-color: #dce6dc !important;
}
.editorial-course-detail-page .cd-learn-box summary,
.editorial-course-detail-page .cd-review-details summary {
  padding: 1.25rem 1.4rem;
  font: 500 1.4rem/1.2 Georgia, 'Times New Roman', serif;
}
.editorial-course-detail-page .cd-learn-box summary small,
.editorial-course-detail-page .cd-card h2 small {
  display: block;
  margin-bottom: .4rem;
  color: var(--primary);
  font: 700 .64rem/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.editorial-course-detail-page .cd-learn-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  padding: 0 1.4rem 1.4rem;
}
.editorial-course-detail-page .cd-learn-item {
  min-height: 72px;
  align-items: center;
  padding: .85rem .9rem;
  border: 1px solid rgba(69, 102, 83, .1);
  border-radius: 11px;
  background: rgba(255, 254, 250, .82);
  font-size: .84rem;
  line-height: 1.45;
}
.editorial-course-detail-page .cd-learn-item i { font-size: .95rem; }
.editorial-course-detail-page .cd-card h2 {
  font-size: 1.5rem;
  border: 0;
}
.editorial-course-detail-page .cd-curriculum-meta {
  display: inline-flex;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: #edf2eb;
  color: var(--primary-dark);
  font-size: .72rem;
}
.editorial-course-detail-page .cd-acc-item {
  border-radius: 12px;
  background: var(--card);
}
.editorial-course-detail-page .cd-acc-btn {
  min-height: 64px;
  padding: .95rem 1.1rem;
  background: var(--card) !important;
  font-size: .92rem;
}
.editorial-course-detail-page .cd-acc-btn.open {
  background: #edf2eb !important;
}
.editorial-course-detail-page .cd-acc-right {
  padding: .35rem .55rem;
  border-radius: 999px;
  background: #f2f2ec;
  font-size: .68rem;
}
.editorial-course-detail-page .cd-lesson {
  min-height: 52px;
  padding: .75rem 1rem;
}
.editorial-course-detail-page .cd-review-details .cd-empty { padding: 0 1.4rem 1.2rem; }

@media (max-width: 768px) {
  .editorial-course-detail-page .cd-hero { padding: 22px 0 34px; }
  .editorial-course-detail-page .cd-hero-layout { gap: 1.25rem; }
  .editorial-course-detail-page .cd-title { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .editorial-course-detail-page .cd-hero .cd-buy-card { transform: none !important; }
  .editorial-course-detail-page .cd-hero .cd-buy-card:hover { transform: translateY(-2px) !important; }
  .editorial-course-detail-page .cd-layout { padding-top: 2rem; }
}

@media (max-width: 480px) {
  .editorial-course-detail-page .cd-hero .container,
  .editorial-course-detail-page .cd-body .container { padding-right: 18px; padding-left: 18px; }
  .editorial-course-detail-page .cd-breadcrumb { margin-bottom: 1rem; }
  .editorial-course-detail-page .cd-title { font-size: 2.45rem; }
  .editorial-course-detail-page .cd-subtitle { font-size: .9rem; }
  .editorial-course-detail-page .cd-buy-card { border-radius: 16px; }
  .editorial-course-detail-page .cd-thumb { aspect-ratio: 16 / 9; }
  .editorial-course-detail-page .cd-learn-grid { grid-template-columns: 1fr; }
  .editorial-course-detail-page .cd-learn-item { min-height: 54px; }
  .editorial-course-detail-page .cd-learn-box summary,
  .editorial-course-detail-page .cd-review-details summary { padding: 1rem; }
  .editorial-course-detail-page .cd-learn-grid { padding: 0 1rem 1rem; }
}

.editorial-home-packages {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 92px) 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(120, 145, 125, .16), transparent 36%),
    #efeee7;
}
.editorial-home-packages-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.editorial-home-packages-heading .editorial-kicker { margin-bottom: 10px; }
.editorial-home-packages-heading h2 {
  max-width: 600px;
  margin: 0;
  color: var(--text);
  font: 400 clamp(2rem, 4vw, 3.2rem)/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
}
.editorial-home-packages-heading h2 em { color: var(--primary); font-weight: 400; }
.editorial-home-packages-heading .editorial-all-link {
  flex: 0 0 auto;
  margin: 0 0 5px;
}
.editorial-home-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.editorial-home-package {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px 15px;
  min-height: 164px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(48, 43, 35, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.editorial-home-package::after {
  position: absolute;
  right: -38px;
  bottom: -56px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(69, 102, 83, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(69, 102, 83, .025);
  content: '';
  pointer-events: none;
}
.editorial-home-package:hover {
  transform: translateY(-4px);
  border-color: #bacabd;
  box-shadow: 0 16px 32px rgba(48, 43, 35, .1);
}
.editorial-home-package.is-featured {
  border-color: #b6c8b9;
  background: #e7eee8;
}
.editorial-home-package-count {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font: 500 1.2rem Georgia, 'Times New Roman', serif;
}
.editorial-home-package-copy { min-width: 0; }
.editorial-home-package h3 {
  margin: 0 0 6px;
  color: var(--text);
  font: 500 1.15rem/1.25 Georgia, 'Times New Roman', serif;
}
.editorial-home-package .editorial-home-package-price {
  margin: 0 0 4px;
  color: #174f49 !important;
  font: 700 1.25rem/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: -.03em;
}
.editorial-home-package p {
  margin: 0;
  color: var(--text-light);
  font-size: .78rem;
  line-height: 1.5;
}
.editorial-home-package > .editorial-home-package-link {
  position: static;
  z-index: 1;
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--primary-dark);
  font: 700 .76rem 'Inter', system-ui, sans-serif;
  text-decoration: none;
}
.editorial-home-package > .editorial-home-package-link::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  content: '';
  cursor: pointer;
}
.editorial-home-package:focus-within {
  outline: 3px solid rgba(69, 102, 83, .38);
  outline-offset: 3px;
}
.editorial-home-package > .editorial-home-package-link:focus { outline: none; }
.editorial-home-package > .editorial-home-package-link:hover { color: var(--primary); }

@media (max-width: 980px) {
  .editorial-home-packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .editorial-home-packages-grid { grid-template-columns: 1fr; gap: 12px; }
  .editorial-home-package { min-height: 130px; }
}
@media (max-width: 520px) {
  .editorial-home-packages-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .editorial-home-packages-heading .editorial-all-link { align-self: flex-end; }
  .editorial-home-package { padding: 18px; }
}

.home-testimonials {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 72px;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(120, 145, 125, .17), transparent 35%),
    radial-gradient(ellipse at 88% 28%, rgba(183, 121, 87, .1), transparent 34%),
    linear-gradient(135deg, #f7f5ef, #fbfaf6 54%, #f0f1e9);
}
.home-testimonials-heading {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}
.home-testimonials-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(69, 102, 83, .17);
  border-radius: 999px;
  background: rgba(255, 254, 250, .8);
  color: var(--primary-dark);
  font: 700 .68rem 'Inter', system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-testimonials-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(120, 145, 125, .14);
}
.home-testimonials-heading h2 {
  margin: 18px 0 10px;
  color: var(--text);
  font: 400 clamp(2.25rem, 5vw, 3.75rem)/1.05 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
}
.home-testimonials-heading h2 em {
  color: var(--primary);
  font-weight: 400;
}
.home-testimonials-heading > p {
  max-width: 530px;
  margin: 0 auto;
  color: var(--text-light);
  font: 400 1rem/1.65 Georgia, 'Times New Roman', serif;
}
.home-testimonials-stage {
  position: relative;
  isolation: isolate;
  height: 510px;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(69, 102, 83, .13);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(227, 234, 226, .7), transparent 49%),
    linear-gradient(135deg, rgba(255, 254, 250, .96), rgba(243, 242, 234, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 22px 60px rgba(48, 43, 35, .08);
}
.home-testimonials-stage::before,
.home-testimonials-stage::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(69, 102, 83, .1);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}
.home-testimonials-stage::before {
  top: 13%;
  left: 16%;
  width: 68%;
  height: 72%;
  transform: rotate(-12deg);
}
.home-testimonials-stage::after {
  top: 2%;
  left: 27%;
  width: 46%;
  height: 96%;
  border-style: dashed;
  opacity: .65;
  transform: rotate(28deg);
}
.home-testimonials-stage-label {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font: 700 .64rem 'Inter', system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-testimonials-stage-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-light);
  content: '';
}
.home-testimonials-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.home-testimonials-orb-one {
  top: 18%;
  left: 47%;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #e3eae2, #b77957);
  box-shadow: 0 8px 20px rgba(69, 102, 83, .18);
}
.home-testimonials-orb-two {
  bottom: 20%;
  left: 13%;
  width: 11px;
  height: 11px;
  background: #c8d8c9;
}
.home-testimonials-orb-three {
  top: 32%;
  right: 11%;
  width: 14px;
  height: 14px;
  background: #ddc6b5;
}
.home-testimonial-card {
  position: absolute;
  z-index: 2;
  width: 280px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 18px;
  background: rgba(255, 254, 250, .91);
  box-shadow: 0 17px 42px rgba(48, 43, 35, .11), inset 0 1px 0 #fff;
  animation: home-testimonial-float 8s ease-in-out var(--testimonial-delay, 0s) infinite alternate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .2s ease;
}
.home-testimonial-card:hover {
  z-index: 5;
  box-shadow: 0 24px 52px rgba(48, 43, 35, .16), inset 0 1px 0 #fff;
}
.home-testimonial-card--1 { top: 12%; left: 5%; --card-rotation: -4deg; }
.home-testimonial-card--2 { top: 8%; left: 34%; width: 320px; --card-rotation: 2deg; }
.home-testimonial-card--3 { top: 17%; right: 5%; --card-rotation: 4deg; }
.home-testimonial-card--4 { bottom: 9%; left: 13%; width: 300px; --card-rotation: 3deg; }
.home-testimonial-card--5 { right: 13%; bottom: 8%; width: 300px; --card-rotation: -3deg; }
@keyframes home-testimonial-float {
  0% { transform: translate(0, 0) rotate(var(--card-rotation, 0deg)); }
  35% { transform: translate(7px, -9px) rotate(var(--card-rotation, 0deg)); }
  70% { transform: translate(-5px, 6px) rotate(var(--card-rotation, 0deg)); }
  100% { transform: translate(4px, -4px) rotate(var(--card-rotation, 0deg)); }
}
.home-testimonial-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.home-testimonial-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(69, 102, 83, .12);
  border-radius: 14px;
  background: linear-gradient(135deg, #e3eae2, #f1e5dc);
  color: var(--primary-dark);
  font: 700 .8rem 'Inter', system-ui, sans-serif;
  object-fit: cover;
}
.home-testimonial-person { min-width: 0; flex: 1; }
.home-testimonial-person strong,
.home-testimonial-person span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-testimonial-person strong {
  color: var(--text);
  font: 700 .8rem 'Inter', system-ui, sans-serif;
}
.home-testimonial-person span {
  margin-top: 4px;
  color: var(--text-light);
  font: 400 .68rem 'Inter', system-ui, sans-serif;
}
.home-testimonial-stars {
  color: #b7793f;
  font-size: .7rem;
  letter-spacing: 1px;
  white-space: nowrap;
}
.home-testimonial-quote {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text-light);
  font: 400 .78rem/1.65 Georgia, 'Times New Roman', serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.home-testimonial-tag {
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9eee7;
  color: var(--primary-dark);
  font: 700 .62rem 'Inter', system-ui, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-testimonials-motion {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(69, 102, 83, .2);
  border-radius: 999px;
  background: rgba(255, 254, 250, .92);
  color: var(--primary-dark);
  font: 700 .66rem 'Inter', system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(48, 43, 35, .06);
}
.home-testimonials-motion:focus-visible { outline: 3px solid rgba(69, 102, 83, .35); outline-offset: 3px; }
.home-testimonials-stage.is-count-1 .home-testimonial-card--1 { top: 50%; left: 50%; width: min(360px, 88%); transform: translate(-50%, -50%); }
.home-testimonials-stage.is-count-2 .home-testimonial-card--1 { top: 50%; left: 15%; transform: translateY(-50%); }
.home-testimonials-stage.is-count-2 .home-testimonial-card--2 { top: 50%; right: 15%; left: auto; transform: translateY(-50%); }
.home-testimonials-stage.is-count-3 .home-testimonial-card--1 { top: 23%; left: 7%; }
.home-testimonials-stage.is-count-3 .home-testimonial-card--2 { top: 12%; right: 7%; left: auto; }
.home-testimonials-stage.is-count-3 .home-testimonial-card--3 { right: 50%; bottom: 8%; top: auto; transform: translateX(50%); }
.home-testimonials-stage.is-count-4 .home-testimonial-card--2 { top: 12%; right: 7%; left: auto; }
.home-testimonials-stage.is-count-4 .home-testimonial-card--3 { top: auto; right: 7%; bottom: 8%; }
.home-testimonials-stage.is-count-4 .home-testimonial-card--4 { bottom: 8%; left: 7%; }
.home-testimonials-stage.has-many-testimonials {
  display: grid;
  height: auto;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 62px 24px 64px;
  overflow: visible;
}
.home-testimonials-stage.has-many-testimonials .home-testimonial-card {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  animation: home-testimonial-float 8s ease-in-out var(--testimonial-delay, 0s) infinite alternate;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-testimonials-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 0;
}
.home-testimonials-trust > div {
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(69, 102, 83, .1);
  border-radius: 14px;
  background: rgba(255, 254, 250, .8);
}
.home-testimonials-trust > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: #e9eee7;
  color: var(--primary);
}
.home-testimonials-trust p { margin: 0; }
.home-testimonials-trust strong,
.home-testimonials-trust small { display: block; }
.home-testimonials-trust strong { color: var(--text); font: 700 .7rem 'Inter', system-ui, sans-serif; }
.home-testimonials-trust small { margin-top: 3px; color: var(--text-light); font: 400 .62rem 'Inter', system-ui, sans-serif; }

@media (max-width: 900px) {
  .home-testimonials-stage { height: 560px; }
  .home-testimonials-stage.has-many-testimonials {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-testimonial-card { width: 245px; padding: 16px; }
  .home-testimonial-card--1 { top: 12%; left: 4%; }
  .home-testimonial-card--2 { top: 8%; right: 4%; left: auto; width: 275px; }
  .home-testimonial-card--3 { top: 43%; right: 6%; }
  .home-testimonial-card--4 { bottom: 8%; left: 5%; width: 270px; }
  .home-testimonial-card--5 { right: 6%; bottom: 7%; width: 260px; }
  .home-testimonials-trust > div { min-width: 165px; }
}
@media (max-width: 600px) {
  .home-testimonials { padding: 58px 0 50px; }
  .home-testimonials-heading { margin-bottom: 24px; }
  .home-testimonials-heading h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .home-testimonials-heading > p { font-size: .9rem; }
  .home-testimonials-stage {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 48px 12px 62px;
    border-radius: 20px;
  }
  .home-testimonials-stage.has-many-testimonials {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-testimonials-stage::before,
  .home-testimonials-stage::after { opacity: .45; }
  .home-testimonial-card,
  .home-testimonial-card--1,
  .home-testimonial-card--2,
  .home-testimonial-card--3,
  .home-testimonial-card--4,
  .home-testimonial-card--5 {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none !important;
    animation: home-testimonial-mobile-float 6s ease-in-out var(--testimonial-delay, 0s) infinite alternate;
  }
  .home-testimonials-stage .home-testimonial-card { inset: auto; }
  .home-testimonials-stage.is-count-1 .home-testimonial-card--1,
  .home-testimonials-stage.is-count-2 .home-testimonial-card--1,
  .home-testimonials-stage.is-count-2 .home-testimonial-card--2,
  .home-testimonials-stage.is-count-3 .home-testimonial-card--3 { transform: none; }
  .home-testimonial-card:nth-of-type(even) { animation-delay: -2s; }
  .home-testimonial-card:nth-of-type(odd) { animation-delay: -4s; }
  .home-testimonials-stage-label { top: 16px; left: 16px; }
  .home-testimonials-motion { right: 12px; bottom: 10px; }
  .home-testimonials-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .home-testimonials-trust > div { min-width: 0; gap: 8px; padding: 10px; }
  .home-testimonials-trust > div > span { width: 30px; height: 30px; flex-basis: 30px; }
  .home-testimonials-trust strong { font-size: .62rem; }
  .home-testimonials-trust small { font-size: .58rem; }
}
@keyframes home-testimonial-mobile-float {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-testimonial-card { animation: none !important; }
}

.editorial-course-detail-page .cd-hero .container { position: relative; z-index: 1; }
.editorial-course-detail-page { overflow-x: clip; }
.editorial-course-detail-page .cd-hero {
  z-index: 2;
  overflow: visible;
  padding: 33px 0 102px;
}
.editorial-course-detail-page .cd-hero::before { right: 0; }
.editorial-course-detail-page .cd-hero > .container {
  max-width: 1240px;
}
.editorial-course-detail-page .cd-hero-layout {
  position: relative;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .78fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}
.editorial-course-detail-page .cd-hero-inner {
  min-width: 0;
  max-width: 690px;
}
.editorial-course-detail-page .cd-breadcrumb {
  margin-bottom: 18px;
}
.editorial-course-detail-page .cd-hero-tags { margin-bottom: .55rem; }
.editorial-course-detail-page .cd-title { max-width: 700px; }
.editorial-course-detail-page .cd-sidebar {
  position: absolute;
  top: -25px;
  right: 0;
  width: min(430px, 39%);
  z-index: 2;
}
.editorial-course-detail-page .cd-buy-card {
  max-width: none;
  margin: 0;
  box-shadow: 0 18px 42px rgba(48, 43, 35, .15) !important;
}
.editorial-course-detail-page .cd-buy-card:hover {
  box-shadow: 0 22px 48px rgba(48, 43, 35, .18) !important;
}
.editorial-course-detail-page .cd-stats { margin: 1.4rem 0 .65rem; }
.editorial-course-detail-page .cd-stat-rating > span { color: var(--text-light); font-weight: 500; }
.editorial-course-detail-page .cd-stat-rating > i { color: #b8893e; }
.editorial-course-detail-page .cd-instructor {
  display: flex;
  align-items: center;
  padding: .35rem 0 0;
  color: var(--text);
  font-size: .9rem;
}
.editorial-course-detail-page .cd-section-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}
.editorial-course-detail-page .cd-section-nav span {
  position: relative;
  padding: 0 4px 13px;
  color: var(--text-light);
  font-size: .88rem;
  font-weight: 600;
}
.editorial-course-detail-page .cd-section-nav span.is-active { color: var(--primary); }
.editorial-course-detail-page .cd-section-nav span.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--primary);
  content: '';
}
.editorial-course-detail-page .cd-buy-card {
  transform: none;
  border-top: 1px solid var(--border) !important;
  box-shadow: 0 16px 40px rgba(48, 43, 35, .1);
}
.editorial-course-detail-page .cd-buy-card:hover { transform: translateY(-3px); }
.editorial-course-detail-page .cd-thumb { aspect-ratio: 16 / 10; }
.editorial-course-detail-page .cd-thumb img { width: 100%; height: 100%; padding: 0; object-fit: cover; }
.editorial-course-detail-page .cd-price-row { flex-wrap: wrap; }
.editorial-course-detail-page .cd-discount {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e3eae2;
  color: var(--primary-dark);
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}
.editorial-course-detail-page .cd-course-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.1rem;
  padding-top: .95rem;
  border-top: 1px solid var(--border);
}
.editorial-course-detail-page .cd-course-facts > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 0 .35rem;
  color: var(--primary);
  text-align: center;
}
.editorial-course-detail-page .cd-course-facts > div + div { border-left: 1px solid var(--border); }
.editorial-course-detail-page .cd-course-facts > div > i { font-size: 1rem; }
.editorial-course-detail-page .cd-course-facts > div > span {
  color: var(--text);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.editorial-course-detail-page .cd-course-facts small {
  display: block;
  margin-top: 2px;
  color: var(--text-light);
  font-size: .63rem;
  font-weight: 500;
}
.editorial-course-detail-page .cd-layout { max-width: 900px; padding-top: 2.5rem; }
.editorial-course-detail-page .cd-main { gap: 1rem; }
.editorial-course-detail-page .cd-overview-card,
.editorial-course-detail-page .cd-instructor-profile { scroll-margin-top: 100px; }
.editorial-course-detail-page .cd-overview-card h2,
.editorial-course-detail-page .cd-instructor-profile h2 { margin: 0 0 .8rem; }
.editorial-course-detail-page .cd-overview-copy {
  color: var(--text-light);
  font-size: .92rem;
  line-height: 1.75;
}
.editorial-course-detail-page .cd-instructor-profile-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.editorial-course-detail-page .cd-instructor-profile-content > img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border: 2px solid #d5e1d7;
  border-radius: 50%;
  object-fit: cover;
}
.editorial-course-detail-page .cd-instructor-profile-content h3 {
  margin: .15rem 0 .4rem;
  color: var(--text);
  font: 500 1.15rem/1.3 Georgia, 'Times New Roman', serif;
}
.editorial-course-detail-page .cd-instructor-profile-content p {
  margin: 0;
  color: var(--text-light);
  font-size: .86rem;
  line-height: 1.65;
}
.editorial-course-detail-page #course-learning { scroll-margin-top: 100px; }

@media (max-width: 768px) {
  .editorial-course-detail-page .cd-hero { padding: 28px 0 34px; }
  .editorial-course-detail-page .cd-hero > .container { max-width: 100%; }
  .editorial-course-detail-page .cd-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .editorial-course-detail-page .cd-sidebar {
    position: static;
    width: 100%;
    order: -1;
    transform: translateY(12px);
  }
  .editorial-course-detail-page .cd-hero .cd-buy-card { max-width: none; }
  .editorial-course-detail-page .cd-section-nav { margin-top: 1.5rem; }
  .editorial-course-detail-page .cd-layout { padding-top: 1.5rem; }
}

@media (max-width: 480px) {
  .editorial-course-detail-page .cd-section-nav { gap: 14px; }
  .editorial-course-detail-page .cd-section-nav span { padding: 0 1px 11px; font-size: .76rem; }
  .editorial-course-detail-page .cd-course-facts { margin-top: .85rem; padding-top: .75rem; }
  .editorial-course-detail-page .cd-course-facts > div > span { font-size: .64rem; }
  .editorial-course-detail-page .cd-instructor-profile-content { gap: .75rem; }
  .editorial-course-detail-page .cd-instructor-profile-content > img { width: 56px; height: 56px; flex-basis: 56px; }
}

.editorial-course-detail-page .cd-tab-section {
  position: relative;
  z-index: 1;
  padding: 132px 0 64px;
  background: var(--bg);
}
.editorial-course-detail-page .cd-tab-shell {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 24px 28px;
}
.editorial-course-detail-page .cd-section-nav {
  display: flex;
  gap: clamp(24px, 4vw, 46px);
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.editorial-course-detail-page .cd-section-nav button {
  position: relative;
  min-height: 54px;
  padding: 0 5px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font: 600 .9rem 'Inter', system-ui, sans-serif;
}
.editorial-course-detail-page .cd-section-nav button.is-active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}
.editorial-course-detail-page .cd-section-nav button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.editorial-course-detail-page .cd-tab-panel {
  padding: 24px 0 0;
}
.editorial-course-detail-page .cd-tab-panel[hidden] { display: none !important; }
.editorial-course-detail-page .cd-content-block {
  margin: 0 0 20px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(48, 43, 35, .05);
}
.editorial-course-detail-page .cd-content-block h2 {
  margin: 0 0 14px;
  color: var(--text);
  font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 Georgia, 'Times New Roman', serif;
}
.editorial-course-detail-page .cd-overview-copy,
.editorial-course-detail-page .cd-instructor-profile-content p,
.editorial-course-detail-page .cd-approved-review p {
  margin: 0;
  color: #5f625b;
  font: 400 .98rem/1.75 Georgia, 'Times New Roman', serif;
}
.editorial-course-detail-page .cd-content-empty {
  margin: 0;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.6;
}
.editorial-course-detail-page .cd-content-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.editorial-course-detail-page .cd-content-heading h2 { margin: 0; }
.editorial-course-detail-page .cd-content-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font: 700 .66rem/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: .13em;
}
.editorial-course-detail-page .cd-section-count,
.editorial-course-detail-page .cd-review-average {
  color: var(--text-light);
  font-size: .78rem;
  white-space: nowrap;
}
.editorial-course-detail-page .cd-review-average i { color: #b8893e; }
.editorial-course-detail-page .cd-accordion { gap: 9px; }
.editorial-course-detail-page .cd-acc-item {
  border: 1px solid var(--border) !important;
  border-radius: 10px;
  background: var(--card);
}
.editorial-course-detail-page .cd-acc-btn {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  background: var(--card) !important;
  color: var(--text) !important;
  cursor: pointer;
  list-style: none;
  text-align: left;
}
.editorial-course-detail-page .cd-acc-btn:hover {
  background: #edf2eb !important;
  color: var(--primary-dark) !important;
}
.editorial-course-detail-page .cd-acc-btn::-webkit-details-marker { display: none; }
.editorial-course-detail-page .cd-acc-btn::after {
  flex: 0 0 auto;
  color: var(--primary);
  content: '\f078';
  font: 900 .7rem 'Font Awesome 6 Free';
  transition: transform .2s ease;
}
.editorial-course-detail-page .cd-acc-item[open] > .cd-acc-btn::after { transform: rotate(180deg); }
.editorial-course-detail-page .cd-acc-left { color: var(--text); }
.editorial-course-detail-page .cd-acc-right {
  color: var(--text-light);
  font-size: .72rem;
}
.editorial-course-detail-page .cd-acc-body {
  border-top: 1px solid var(--border);
  background: var(--card) !important;
}
.editorial-course-detail-page .cd-lesson {
  border-bottom-color: var(--border-light);
}
.editorial-course-detail-page .cd-lesson-left { color: var(--text); }
.editorial-course-detail-page .cd-lesson-right { color: var(--text-light); }
.editorial-course-detail-page .cd-learning-panel > h2 { margin-bottom: 18px; }
.editorial-course-detail-page .cd-learning-panel {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
}
.editorial-course-detail-page .cd-learning-panel .cd-learn-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}
.editorial-course-detail-page .cd-learning-panel .cd-learn-item {
  min-height: 70px;
  align-items: center;
  padding: 18px 20px;
  color: #50564e;
  font-size: .9rem;
}
.editorial-course-detail-page .cd-learning-panel .cd-learn-item i { color: var(--primary); }
.editorial-course-detail-page .cd-instructor-profile-content { align-items: center; }
.editorial-course-detail-page .cd-instructor-profile-content > img {
  width: 82px;
  height: 82px;
  flex-basis: 82px;
}
.editorial-course-detail-page .cd-instructor-profile-content h2 { margin-bottom: 9px; }
.editorial-course-detail-page .cd-reviews-block { scroll-margin-top: 90px; }
.editorial-course-detail-page .cd-content-block.cd-reviews-block {
  margin: 16px 0 28px;
  padding: clamp(24px, 3.5vw, 36px);
}
.editorial-course-detail-page .cd-approved-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.editorial-course-detail-page .cd-approved-review {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #DCE7E2;
  border-radius: 12px;
  background: #F7FAF8;
}
.editorial-course-detail-page .cd-approved-review[hidden] { display: none !important; }
.editorial-course-detail-page .cd-approved-review .cd-review-top strong { color: #203C39 !important; }
.editorial-course-detail-page .cd-approved-review .cd-review-top span { color: #71817C !important; }
.editorial-course-detail-page .cd-approved-review p { margin-top: 8px; color: #425B54 !important; font-size: .95rem; line-height: 1.7; }
.editorial-course-detail-page .cd-view-all-reviews {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid #247F76;
  border-radius: 999px;
  background: #247F76;
  color: #FFFFFF;
  font: 600 .82rem 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.editorial-course-detail-page .cd-view-all-reviews:hover {
  border-color: #174F49;
  background: #174F49;
}
.editorial-course-detail-page .cd-view-all-reviews:focus-visible {
  outline: 3px solid rgba(36, 127, 118, .3);
  outline-offset: 3px;
}
.editorial-course-detail-page .cd-testimonial-intro {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: .88rem;
}
.editorial-course-detail-page .cd-testimonial-course {
  display: flex;
  flex-direction: column;
}
.editorial-course-detail-page .cd-testimonial-course .cd-review-top span {
  color: #A87824 !important;
  letter-spacing: .08em;
}
.editorial-course-detail-page .cd-testimonial-course p { flex: 1; }
.editorial-course-detail-page .cd-testimonial-course-name {
  margin-top: 12px;
  color: #247F76 !important;
  font-size: .76rem;
  font-weight: 600;
}
.editorial-course-detail-page .cd-review-form {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}
.editorial-course-detail-page .cd-review-form label {
  color: var(--text);
  font-size: .84rem;
  font-weight: 600;
}
.editorial-course-detail-page .cd-review-form select,
.editorial-course-detail-page .cd-review-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.editorial-course-detail-page .cd-review-form .btn { justify-self: start; }

@media (max-width: 600px) {
  .editorial-course-detail-page .cd-tab-shell { padding: 0 18px 22px; }
  .editorial-course-detail-page .cd-tab-section { padding: 0 0 42px; }
  .editorial-course-detail-page .cd-section-nav { gap: 16px; }
  .editorial-course-detail-page .cd-section-nav button { min-height: 48px; padding: 0 2px; font-size: .76rem; }
  .editorial-course-detail-page .cd-tab-panel { padding-top: 16px; }
  .editorial-course-detail-page .cd-content-block { margin-bottom: 14px; padding: 18px; border-radius: 13px; }
  .editorial-course-detail-page .cd-content-block.cd-reviews-block { margin: 12px 0 20px; padding: 22px; }
  .editorial-course-detail-page .cd-learning-panel .cd-learn-grid,
  .editorial-course-detail-page .cd-approved-reviews { grid-template-columns: 1fr; }
  .editorial-course-detail-page .cd-learning-panel { padding: 20px; }
  .editorial-course-detail-page .cd-content-heading { align-items: flex-start; }
  .editorial-course-detail-page .cd-instructor-profile-content { align-items: flex-start; }
  .editorial-course-detail-page .cd-instructor-profile-content > img { width: 60px; height: 60px; flex-basis: 60px; }
  .editorial-course-detail-page .cd-acc-btn { flex-wrap: wrap; }
  .editorial-course-detail-page .cd-acc-right { white-space: normal; }
}

.editorial-course-detail-page .cd-thumb {
  aspect-ratio: 16 / 9;
  background: #ecebe4;
}
.editorial-course-detail-page .cd-thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  opacity: 1 !important;
}
.editorial-course-detail-page .cd-thumb:hover img { transform: none !important; opacity: 1 !important; }
.editorial-course-detail-page .cd-learning-panel .cd-learn-item,
.editorial-course-detail-page .cd-learning-panel .cd-learn-item span {
  color: #46534a !important;
}
.editorial-course-detail-page .cd-learning-panel .cd-learn-item i { color: var(--primary) !important; }
.editorial-course-detail-page .cd-instructor-initials,
.editorial-course-detail-page .cd-instructor-profile-initials {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e3eae2;
  color: var(--primary-dark);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}
.editorial-course-detail-page .cd-instructor-initials {
  width: 42px;
  height: 42px;
  border: 2px solid var(--card);
  box-shadow: 0 2px 8px rgba(48, 43, 35, .12);
  font-size: .75rem;
}
.editorial-course-detail-page .cd-instructor-profile-initials {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border: 2px solid #d5e1d7;
  font-size: 1.15rem;
}

@media (max-width: 600px) {
  .editorial-course-detail-page .cd-instructor-profile-initials {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    font-size: .95rem;
  }
}

.editorial-home-hero-feature {
  position: relative;
  display: flex;
  min-height: min(720px, calc(100svh - 76px));
  align-items: center;
  padding: 34px 0 38px;
  background:
    radial-gradient(ellipse at 82% 45%, rgba(215, 227, 214, .78), transparent 36%),
    radial-gradient(ellipse at 12% 100%, rgba(239, 238, 231, .88), transparent 44%),
    var(--bg);
}
.editorial-home-hero-feature::before {
  position: absolute;
  top: 0;
  right: -10%;
  width: 56%;
  height: 100%;
  border-radius: 50% 0 0 50%;
  background: linear-gradient(145deg, rgba(227, 234, 226, .18), rgba(227, 234, 226, .72));
  content: '';
  pointer-events: none;
}
.editorial-home-hero-feature .editorial-home-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-rows: 1fr auto;
  gap: 30px clamp(34px, 6vw, 82px);
  align-content: center;
  min-height: min(640px, calc(100svh - 140px));
}
.editorial-home-hero-feature .editorial-home-copy { max-width: 590px; }
.editorial-home-hero-feature .editorial-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: .76rem;
  letter-spacing: 0;
  text-transform: none;
}
.editorial-home-badge i { color: var(--primary); font-size: .68rem; }
.editorial-home-hero-feature .editorial-home-copy h1 {
  margin-bottom: 20px;
  font: 700 clamp(3.65rem, 6.5vw, 5.65rem)/.97 'Inter', system-ui, sans-serif;
  letter-spacing: -.075em;
}
.editorial-home-hero-feature .editorial-home-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-style: normal;
}
.editorial-home-hero-feature .editorial-home-copy h1 em::after {
  position: absolute;
  right: 0;
  bottom: -.1em;
  left: 0;
  height: 7px;
  border-top: 3px solid #78917d;
  border-radius: 50%;
  content: '';
  transform: rotate(-1.5deg);
}
.editorial-home-hero-feature .editorial-lead {
  max-width: 480px;
  margin: 0;
  color: var(--text-light);
  font: 400 clamp(1rem, 1.45vw, 1.17rem)/1.65 'Inter', system-ui, sans-serif;
}
.editorial-home-hero-feature .editorial-home-byline {
  width: 100%;
  margin: 8px 0 0;
  text-align: right;
  font-size: .95rem;
  font-weight: 600;
}
.editorial-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.editorial-home-primary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 25px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #fffefa;
  font: 600 .92rem 'Inter', system-ui, sans-serif;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.editorial-home-primary:hover {
  transform: translateY(-2px);
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fffefa;
}
.editorial-home-primary span { font-size: 1.15rem; }
.editorial-home-preview {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font: 600 .88rem 'Inter', system-ui, sans-serif;
}
.editorial-home-preview:hover { color: var(--primary); }
.editorial-home-play {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #d5dfd4;
  border-radius: 50%;
  background: rgba(255, 254, 250, .72);
  color: var(--primary);
  font-size: .82rem;
  transition: background-color .2s ease, transform .2s ease;
}
.editorial-home-preview:hover .editorial-home-play {
  transform: scale(1.05);
  background: var(--primary-bg);
}
.editorial-hero-art {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1.22 / 1;
  justify-self: end;
  isolation: isolate;
  perspective: 1000px;
  filter: drop-shadow(0 24px 30px rgba(48, 76, 61, .08));
  animation: editorial-art-rise 1s cubic-bezier(.2,.7,.2,1) both .12s;
}
.editorial-hero-art::before {
  position: absolute;
  z-index: -2;
  inset: 8% 8% 10%;
  border-radius: 48% 52% 42% 58% / 55% 43% 57% 45%;
  background: radial-gradient(ellipse at 50% 48%, rgba(197, 218, 197, .78), rgba(227, 234, 226, .52) 50%, rgba(227, 234, 226, 0) 73%);
  content: '';
}
.editorial-hero-art::after {
  position: absolute;
  z-index: -1;
  right: 15%;
  bottom: 12%;
  left: 15%;
  height: 14%;
  border-radius: 50%;
  background: rgba(48, 76, 61, .14);
  content: '';
  filter: blur(15px);
  transform: rotate(-7deg);
}
.editorial-art-orbit {
  position: absolute;
  z-index: 0;
  top: 22%;
  left: 13%;
  width: 74%;
  height: 54%;
  border: 1px solid rgba(69, 102, 83, .28);
  border-radius: 50%;
  pointer-events: none;
}
.editorial-art-orbit-one { transform: rotate(-24deg); }
.editorial-art-orbit-two {
  top: 18%;
  left: 17%;
  width: 66%;
  height: 62%;
  border-color: rgba(120, 145, 125, .26);
  transform: rotate(29deg);
}
.editorial-art-book {
  position: absolute;
  z-index: 2;
  left: 50%;
  display: block;
  width: 44%;
  height: 12%;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 8px 10px 13px 9px;
  background: linear-gradient(165deg, #fdfcf6 0 76%, #d4dfd2 77% 100%);
  box-shadow: 0 15px 22px rgba(37, 54, 47, .15);
  transform: translateX(-50%) rotate(-8deg) skewY(1deg);
}
.editorial-art-book::before {
  position: absolute;
  top: 16%;
  right: 7%;
  left: 7%;
  height: 2px;
  border-radius: 2px;
  background: rgba(69, 102, 83, .2);
  box-shadow: 0 4px 0 rgba(69, 102, 83, .12);
  content: '';
}
.editorial-art-book-back {
  bottom: 25%;
  width: 52%;
  height: 13%;
  background: linear-gradient(165deg, #78917d 0 75%, #456653 76% 100%);
  transform: translateX(-50%) rotate(8deg) skewY(-2deg);
}
.editorial-art-book-middle {
  bottom: 20%;
  width: 48%;
  height: 12%;
  background: linear-gradient(165deg, #e7eee3 0 76%, #b9cbb8 77% 100%);
  transform: translateX(-50%) rotate(-7deg) skewY(1deg);
}
.editorial-art-book-front {
  bottom: 15%;
  width: 43%;
  height: 12%;
  background: linear-gradient(165deg, #d0dfcd 0 76%, #8fa88f 77% 100%);
  transform: translateX(-50%) rotate(6deg) skewY(-1deg);
}
.editorial-art-orb {
  position: absolute;
  z-index: 3;
  top: 17%;
  left: 50%;
  display: grid;
  width: 31%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 23%, rgba(255, 255, 255, .95), transparent 14%),
    radial-gradient(circle at 35% 28%, #9bbd98, #5f896d 48%, #304c3d 82%);
  box-shadow: inset -15px -18px 26px rgba(31, 62, 46, .25), inset 7px 8px 20px rgba(255, 255, 255, .38), 0 22px 35px rgba(37, 54, 47, .24);
  color: #f7f5ef;
  font-size: clamp(2rem, 4vw, 3.4rem);
  transform: translateX(-50%);
  animation: editorial-art-float 5s ease-in-out infinite;
}
.editorial-art-orb::after {
  position: absolute;
  right: -5%;
  bottom: 13%;
  left: 12%;
  height: 15%;
  border-radius: 50%;
  background: rgba(29, 62, 43, .25);
  content: '';
  filter: blur(5px);
  transform: rotate(-24deg);
}
.editorial-art-orb i { position: relative; z-index: 1; filter: drop-shadow(0 3px 4px rgba(31, 62, 46, .3)); }
.editorial-art-tile {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 15%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffefa, #e3eae2 72%, #cfddce);
  box-shadow: 9px 14px 0 rgba(69, 102, 83, .16), 0 20px 30px rgba(37, 54, 47, .16);
  color: var(--primary);
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  transform: rotate(12deg);
  animation: editorial-art-float 4.8s ease-in-out infinite reverse;
}
.editorial-art-tile-top { top: 11%; right: 16%; }
.editorial-art-tile-side {
  bottom: 29%;
  left: 14%;
  width: 12%;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1dfb6, #e2c58d 68%, #c8a96b);
  box-shadow: inset -7px -7px 12px rgba(123, 91, 41, .13), 0 15px 24px rgba(37, 54, 47, .15);
  color: #fffefa;
  font-size: clamp(.85rem, 1.6vw, 1.3rem);
}
.editorial-art-spark {
  position: absolute;
  z-index: 1;
  width: 13px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #78917d;
  box-shadow: 0 5px 12px rgba(48, 76, 61, .22);
}
.editorial-art-spark-one { top: 30%; left: 19%; width: 9px; }
.editorial-art-spark-two { top: 22%; right: 26%; width: 7px; background: #c4a96d; }
.editorial-hero-float {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: rgba(255, 254, 250, .94);
  box-shadow: 0 12px 30px rgba(37, 54, 47, .12);
  color: var(--text);
  font: 600 .76rem 'Inter', system-ui, sans-serif;
  pointer-events: none;
}
.editorial-hero-float i { color: var(--primary); font-size: .92rem; }
.editorial-hero-float-top { top: 5px; right: 0; }
.editorial-hero-float-bottom { bottom: 4px; left: 0; }
@keyframes editorial-art-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
.editorial-home-hero-feature .editorial-home-grid > .editorial-hero-art {
  animation: editorial-art-rise .8s cubic-bezier(.2,.7,.2,1) .12s both;
}
@keyframes editorial-art-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.editorial-hero-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: rgba(255, 254, 250, .94);
  box-shadow: 0 12px 30px rgba(37, 54, 47, .12);
  color: var(--text);
  font: 600 .76rem 'Inter', system-ui, sans-serif;
  pointer-events: none;
}
.editorial-hero-float i { color: var(--primary); font-size: .92rem; }
.editorial-hero-float-top { top: 5px; right: 0; }
.editorial-hero-float-bottom { bottom: 4px; left: 0; }
.editorial-home-hero-feature .editorial-home-note {
  grid-column: 1 / -1;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-color: rgba(69, 102, 83, .18);
  color: var(--text-light);
  font: 400 .8rem 'Inter', system-ui, sans-serif;
}
.editorial-home-hero-feature .editorial-home-note span:first-child {
  color: var(--primary-dark);
  font: 700 .78rem 'Inter', system-ui, sans-serif;
}

@media (max-width: 900px) {
  .editorial-home-hero-feature { min-height: 0; padding: 62px 0 34px; }
  .editorial-home-hero-feature::before { right: -40%; width: 110%; }
  .editorial-home-hero-feature .editorial-home-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 26px;
    min-height: 0;
  }
  .editorial-home-hero-feature .editorial-home-copy { max-width: 650px; }
  .editorial-home-hero-feature .editorial-hero-art {
    width: min(100%, 560px);
    justify-self: center;
  }
  .editorial-home-hero-feature .editorial-home-note { grid-column: auto; }
}

@media (max-width: 600px) {
  .editorial-home-hero-feature { padding: 28px 0 18px; }
  .editorial-home-hero-feature .editorial-home-grid { gap: 8px; }
  .editorial-home-hero-feature .editorial-home-copy { text-align: center; }
  .editorial-home-hero-feature .editorial-home-badge { margin-bottom: 12px; padding: 7px 12px; }
  .editorial-home-hero-feature .editorial-home-copy h1 {
    margin-bottom: 11px;
    font-size: clamp(2.55rem, 10.5vw, 3.6rem);
    letter-spacing: -.07em;
  }
  .editorial-home-hero-feature .editorial-lead {
    max-width: 340px;
    margin-inline: auto;
    font-size: .88rem;
    line-height: 1.48;
  }
  .editorial-home-actions { justify-content: center; gap: 8px; margin-top: 14px; }
  .editorial-home-primary { min-height: 42px; gap: 9px; padding: 0 14px; font-size: .76rem; }
  .editorial-home-primary span { font-size: 1rem; }
  .editorial-home-play { width: 32px; height: 32px; font-size: .68rem; }
  .editorial-home-preview { gap: 6px; font-size: .7rem; }
  .editorial-home-hero-feature .editorial-hero-art {
    width: min(100%, 430px);
    aspect-ratio: 1.42 / 1;
  }
  .editorial-home-hero-feature .editorial-home-note { display: none; }
  .editorial-hero-float { gap: 6px; padding: 7px 9px; border-radius: 10px; font-size: .64rem; }
  .editorial-hero-float i { font-size: .72rem; }
  .editorial-hero-float-top { top: 3%; right: 0; }
  .editorial-hero-float-bottom { bottom: 3%; left: 0; }
}

@media (max-width: 360px) {
  .editorial-home-hero-feature .editorial-home-copy h1 { font-size: 2.65rem; }
  .editorial-home-actions { gap: 10px; }
  .editorial-home-primary { padding: 0 15px; }
}

.editorial-home-hero-feature {
  background:
    radial-gradient(ellipse at 84% 42%, rgba(102, 139, 106, .22), transparent 39%),
    radial-gradient(ellipse at 8% 94%, rgba(205, 177, 119, .16), transparent 35%),
    linear-gradient(115deg, #F0F6F3 0%, #F0F6F3 52%, #FFFFFF 100%);
}
.editorial-home-hero-feature::before {
  background:
    radial-gradient(ellipse at 70% 47%, rgba(82, 119, 89, .22), rgba(216, 227, 212, .28) 46%, transparent 74%),
    linear-gradient(145deg, rgba(28, 67, 48, .03), rgba(69, 102, 83, .12));
}
.editorial-home-hero-feature .editorial-home-copy h1 em { color: #315b42; }
.editorial-home-hero-feature .editorial-home-copy h1 em::after { border-color: #bd9454; }
.editorial-home-primary {
  border-color: #244c3a;
  background: linear-gradient(135deg, #527b5d, #244c3a 72%);
  box-shadow: 0 9px 22px rgba(36, 76, 58, .2);
}
.editorial-home-primary:hover {
  border-color: #193b2d;
  background: linear-gradient(135deg, #456f52, #193b2d 72%);
  box-shadow: 0 12px 25px rgba(36, 76, 58, .24);
}
.editorial-hero-art {
  aspect-ratio: 1.12 / 1;
  filter: drop-shadow(0 25px 32px rgba(28, 57, 42, .15));
  animation: editorial-art-rise .8s cubic-bezier(.2,.7,.2,1) .12s both,
    editorial-art-drift 7s ease-in-out 1s infinite;
}
.editorial-hero-art::before {
  inset: 6% 4% 8%;
  background:
    radial-gradient(ellipse at 52% 50%, rgba(91, 133, 98, .32), rgba(191, 211, 188, .3) 43%, rgba(225, 234, 223, 0) 72%),
    conic-gradient(from 200deg at 50% 50%, rgba(196, 166, 106, .09), rgba(69, 102, 83, .14), rgba(196, 166, 106, .09));
}
.editorial-hero-art::after {
  right: 16%;
  bottom: 10%;
  left: 16%;
  height: 12%;
  background: rgba(28, 57, 42, .22);
  filter: blur(18px);
}
.editorial-growth-illustration {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.editorial-growth-illustration .growth-orbit {
  transform-box: fill-box;
  transform-origin: center;
}
.editorial-growth-illustration .growth-orbit-a { animation: growth-orbit-turn 36s linear infinite; }
.editorial-growth-illustration .growth-orbit-b { animation: growth-orbit-turn 46s linear infinite reverse; }
.editorial-growth-illustration .growth-person {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: growth-person-breathe 4.5s ease-in-out infinite;
}
.editorial-growth-illustration .growth-bubble {
  transform-box: fill-box;
  transform-origin: center;
}
.editorial-growth-illustration .growth-bubble-left { animation: growth-card-left 5s ease-in-out infinite; }
.editorial-growth-illustration .growth-bubble-right { animation: growth-card-right 5.5s ease-in-out infinite; }
.editorial-growth-illustration .growth-star-one { transform-box: fill-box; transform-origin: center; animation: growth-star-glow 3.2s ease-in-out infinite; }
.editorial-growth-illustration .growth-star-two { transform-box: fill-box; transform-origin: center; animation: growth-star-glow 3.8s ease-in-out -1.5s infinite; }
.editorial-growth-illustration .growth-dot-one { animation: growth-dot-pulse 3s ease-in-out infinite; }
.editorial-growth-illustration .growth-dot-two { animation: growth-dot-pulse 3.5s ease-in-out -1.8s infinite; }
.editorial-hero-float {
  border-color: rgba(255, 255, 255, .86);
  background: linear-gradient(145deg, #fffef9, #e8eee5);
  box-shadow: 0 14px 30px rgba(28, 57, 42, .16);
  color: #203d2e;
  font-size: .82rem;
  font-weight: 700;
  animation: growth-label-float 5s ease-in-out infinite;
}
.editorial-hero-float i { color: #315b42; }
.editorial-hero-float-top {
  top: 4%;
  right: -1%;
  animation-delay: -.9s;
}
.editorial-hero-float-bottom {
  bottom: 5%;
  left: -1%;
}
.editorial-home-hero-feature .editorial-home-note { border-color: rgba(49, 91, 66, .24); }
@keyframes editorial-art-drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-9px) rotate(.6deg); }
}
@keyframes growth-orbit-turn {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes growth-person-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
@keyframes growth-card-left {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: -3px -8px; rotate: -2deg; }
}
@keyframes growth-card-right {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 4px -7px; rotate: 2deg; }
}
@keyframes growth-star-glow {
  0%, 100% { scale: 1; opacity: .9; }
  50% { scale: 1.14; opacity: 1; }
}
@keyframes growth-dot-pulse {
  0%, 100% { scale: .85; opacity: .58; }
  50% { scale: 1.3; opacity: 1; }
}
@keyframes growth-label-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@media (max-width: 600px) {
  .editorial-hero-art { width: min(100%, 390px); }
  .editorial-hero-float {
    gap: 8px;
    padding: 10px 13px;
    border-radius: 12px;
    font-size: .76rem;
  }
  .editorial-hero-float i { font-size: .88rem; }
  .editorial-hero-float-top { top: 3%; right: 0; }
  .editorial-hero-float-bottom { bottom: 3%; left: 0; }
}

/* Shared Teal & Ivory system */
body.site-theme {
  --primary: var(--color-primary);
  --primary-dark: var(--color-dark-teal);
  --primary-light: var(--color-soft-green);
  --primary-bg: var(--color-pale-sage);
  --secondary: var(--color-heading);
  --text: var(--color-heading);
  --text-light: var(--color-body);
  --text-muted: #71817C;
  --bg: var(--color-ivory);
  --bg-dark: var(--color-warm-cream);
  --card: var(--color-white);
  --border: var(--color-border);
  --border-light: #E7EEEA;
  --star-color: #C9A96B;
  --editorial-accent: #C9A96B;
  background-color: var(--color-ivory);
  color: var(--color-heading);
}
.site-theme main,
.site-theme .page-content,
.site-theme .section-pad { background-color: var(--color-ivory); }
.site-theme .dashboard-layout { grid-template-columns: minmax(0, 1fr) !important; }
.site-theme .hero,
.site-theme .cd-hero,
.site-theme .page-hero {
  background: linear-gradient(120deg, #F0F6F3, #FFFFFF) !important;
  color: #203C39 !important;
}
.site-theme .hero-content h1,
.site-theme .page-hero h1,
.site-theme .hero-content h2 { color: #203C39 !important; }
.site-theme .hero-content h1 span,
.site-theme .text-gradient { color: #247F76 !important; }
.site-theme .hero-tag,
.site-theme .section-badge {
  background: #EAF3F0 !important;
  border-color: #DCE7E2 !important;
  color: #247F76 !important;
}
.site-theme .hero-search,
.site-theme .filter-sidebar,
.site-theme .courses-filter,
.site-theme .search-panel {
  background: #FFFFFF !important;
  border-color: #DCE7E2 !important;
  box-shadow: 0 8px 24px rgba(32,60,57,.07) !important;
}
.site-theme h1,
.site-theme h2,
.site-theme h3,
.site-theme h4,
.site-theme h5,
.site-theme h6 { color: #203C39; }
.site-theme p { color: #596E68; }
.site-theme .site-header,
.site-theme .site-header.scrolled {
  background: #FFFFFF !important;
  border-bottom: 1px solid #DCE7E2 !important;
  box-shadow: 0 2px 12px rgba(32,60,57,.04) !important;
}
.site-theme .navbar-brand,
.site-theme .nav-link,
.site-theme .nav-icon-btn { color: #203C39 !important; }
.site-theme .navbar-brand:hover,
.site-theme .nav-link:hover,
.site-theme .nav-link.active,
.site-theme .nav-icon-btn:hover { color: #247F76 !important; }
.site-theme .logo-icon { background: #247F76 !important; color: #FFFFFF !important; }
.site-theme .dropdown-menu,
.site-theme .dropdown-panel {
  background: #FFFFFF !important;
  border-color: #DCE7E2 !important;
  color: #203C39 !important;
}
.site-theme .dropdown-panel { box-shadow: 0 12px 32px rgba(32,60,57,.14) !important; }
.site-theme .dropdown-header { border-bottom-color: #DCE7E2 !important; }
.site-theme .dropdown-header strong { color: #203C39 !important; }
.site-theme .dropdown-header small { color: #596E68 !important; }
.site-theme .dropdown-menu li a,
.site-theme .dropdown-links li a { color: #203C39 !important; }
.site-theme .dropdown-menu li a:hover,
.site-theme .dropdown-links li a:hover { background: #EAF3F0 !important; color: #1B655F !important; }
.site-theme .dropdown-links li a.text-danger { color: #A52F36 !important; }
.site-theme .dropdown-links li a.text-danger:hover { background: #FCEAEA !important; color: #8F252C !important; }
.site-theme .dropdown-links .divider { border-top-color: #DCE7E2 !important; }
.site-theme .role-administrator { background: #EAF3F0 !important; color: #1B655F !important; }
.site-theme .role-instructor { background: #EAF2FB !important; color: #285A8E !important; }
.site-theme .role-student { background: #E7F5EC !important; color: #246B45 !important; }
.site-theme .btn-primary,
.site-theme .btn-primary:hover {
  background: #247F76 !important;
  border-color: #247F76 !important;
  color: #FFFFFF !important;
}
.site-theme .btn-primary:hover { background: #1B655F !important; border-color: #1B655F !important; }
.site-theme .btn-outline { background: #FFFFFF !important; color: #247F76 !important; border-color: #247F76 !important; }
.site-theme .btn-outline:hover { background: #EAF3F0 !important; color: #1B655F !important; }
.site-theme .btn-ghost { color: #203C39 !important; border-color: #DCE7E2 !important; }
.site-theme .btn-ghost:hover { background: #EAF3F0 !important; color: #1B655F !important; }
.site-theme .btn-danger { background: #A52F36 !important; border-color: #A52F36 !important; color: #FFFFFF !important; }
.site-theme .form-control,
.site-theme input:not([type="checkbox"]):not([type="radio"]),
.site-theme select,
.site-theme textarea {
  background-color: #FFFFFF;
  border-color: #C7D5CF;
  color: #203C39;
}
.site-theme .form-control:focus,
.site-theme input:focus,
.site-theme select:focus,
.site-theme textarea:focus { border-color: #247F76 !important; box-shadow: 0 0 0 3px rgba(36,127,118,.12) !important; }
.site-theme .form-control::placeholder,
.site-theme input::placeholder,
.site-theme textarea::placeholder { color: #71817C !important; opacity: 1; }
.site-theme label { color: #203C39 !important; }
.site-theme .form-hint,
.site-theme .text-muted { color: #71817C !important; }
.site-theme .card,
.site-theme .auth-card,
.site-theme .checkout-summary,
.site-theme .checkout-payment,
.site-theme .contact-form-card,
.site-theme .contact-info-card,
.site-theme .contact-hours-card {
  background: #FFFFFF !important;
  border-color: #DCE7E2 !important;
  color: #203C39 !important;
  box-shadow: 0 8px 26px rgba(32,60,57,.07) !important;
}
.site-theme .alert-success,
.site-theme .flash-success { background: #E7F5EC !important; border-color: #B6D7C2 !important; color: #246B45 !important; }
.site-theme .alert-warning,
.site-theme .flash-warning { background: #FFF4D6 !important; border-color: #E6CD8D !important; color: #805B12 !important; }
.site-theme .alert-danger,
.site-theme .flash-danger { background: #FCEAEA !important; border-color: #E7B9BC !important; color: #A52F36 !important; }
.site-theme .alert-info,
.site-theme .flash-info { background: #EAF2FB !important; border-color: #C7D8EA !important; color: #285A8E !important; }
.site-theme .badge-primary,
.site-theme .badge-sale { background: #EAF3F0 !important; color: #247F76 !important; }
.site-theme .badge-success,
.site-theme .badge-published,
.site-theme .badge-free { background: #E7F5EC !important; color: #246B45 !important; }
.site-theme .badge-warning,
.site-theme .badge-bestseller { background: #FFF4D6 !important; color: #805B12 !important; }
.site-theme .badge-danger,
.site-theme .badge-hot { background: #FCEAEA !important; color: #A52F36 !important; }
.site-theme .badge-info { background: #EAF2FB !important; color: #285A8E !important; }
.site-theme .badge-draft,
.site-theme .badge-archived { background: #EEF1EF !important; color: #596E68 !important; }
.site-theme .course-card,
.site-theme .course-body,
.site-theme .cat-card,
.site-theme .price-card {
  background: #FFFFFF !important;
  border-color: #DCE7E2 !important;
  color: #203C39 !important;
}
.site-theme .course-card:hover,
.site-theme .cat-card:hover { border-color: #247F76 !important; box-shadow: 0 12px 32px rgba(32,60,57,.12) !important; }
.site-theme .course-title,
.site-theme .course-title a,
.site-theme .cat-card h4,
.site-theme .course-price .current { color: #203C39 !important; }
.site-theme .course-title a:hover,
.site-theme .course-cat,
.site-theme .course-category,
.site-theme .course-price.free { color: #247F76 !important; }
.site-theme .course-instructor,
.site-theme .course-meta,
.site-theme .course-body p { color: #596E68 !important; }
.site-theme .course-meta,
.site-theme .course-footer { border-color: #DCE7E2 !important; }
.site-theme .course-enroll-btn { background: #247F76 !important; color: #FFFFFF !important; }
.site-theme .course-enroll-btn:hover { background: #1B655F !important; }
.site-theme .page-hero,
.site-theme .editorial-package-hero { background: #EAF3F0 !important; }
.site-theme .auth-wrapper,
.site-theme .auth-section {
  background: linear-gradient(135deg, #F0F6F3, #FFFFFF) !important;
}
.site-theme .auth-card { border: 1px solid #DCE7E2 !important; }
.site-theme .auth-title,
.site-theme .auth-card h1,
.site-theme .auth-card h2 { color: #203C39 !important; }
.site-theme .auth-subtitle,
.site-theme .auth-card p,
.site-theme .auth-footer { color: #596E68 !important; }
.site-theme .auth-logo a,
.site-theme .auth-footer a { color: #247F76 !important; }
.site-theme .dashboard-main { background: #F8FAF8 !important; color: #203C39 !important; }
.site-theme .dashboard-sidebar {
  background: #203C39 !important;
  border-right-color: #DCE7E2 !important;
}
.site-theme .dashboard-sidebar a { color: #F0F5F2 !important; }
.site-theme .dashboard-sidebar a:hover,
.site-theme .dashboard-sidebar a.active { background: #247F76 !important; color: #FFFFFF !important; }
.site-theme .dashboard-main .course-card,
.site-theme .dashboard-main .card,
.site-theme .dashboard-main .stat-card { background: #FFFFFF !important; color: #203C39 !important; border-color: #DCE7E2 !important; }
.site-theme .dash-header h1,
.site-theme .dash-section-title,
.site-theme .dash-stat-card strong,
.site-theme .dash-user strong { color: #203C39 !important; }
.site-theme .dash-header p,
.site-theme .dash-stat-card span,
.site-theme .dash-user small { color: #596E68 !important; }
.site-theme .dash-stat-card,
.site-theme .empty-state,
.site-theme .dash-profile-card { background: #FFFFFF !important; border-color: #DCE7E2 !important; }
.site-theme .dash-stat-icon { background: #EAF3F0 !important; color: #247F76 !important; }
.site-theme .progress { background: #DCE7E2 !important; }
.site-theme .progress-fill,
.site-theme .progress-bar { background-color: #247F76 !important; }
.site-theme .watch-main { background: #F8FAF8 !important; color: #203C39 !important; }
.site-theme .watch-video-box { background: #17201d !important; }
.site-theme .watch-video-box video { background: #111 !important; }
.site-theme .watch-sidebar,
.site-theme .watch-course-title,
.site-theme .watch-lesson-info { background: #FFFFFF !important; color: #203C39 !important; border-color: #DCE7E2 !important; }
.site-theme .watch-section-title { background: #EAF3F0 !important; color: #203C39 !important; }
.site-theme .watch-lesson { color: #203C39 !important; border-color: #DCE7E2 !important; }
.site-theme .watch-lesson:hover { background: #F0F6F3 !important; }
.site-theme .watch-lesson.active { background: #EAF3F0 !important; color: #1B655F !important; }
.site-theme .checkout-summary h2,
.site-theme .checkout-payment h2,
.site-theme .checkout-course-card h3,
.site-theme .checkout-row.total { color: #203C39 !important; }
.site-theme .checkout-course-card span,
.site-theme .checkout-row,
.site-theme .checkout-benefits li { color: #596E68 !important; }
.site-theme .checkout-row,
.site-theme .checkout-course-card,
.site-theme .checkout-summary h2,
.site-theme .checkout-payment h2 { border-color: #DCE7E2 !important; }
.site-theme .site-footer {
  background: var(--color-deep-forest) !important;
  border-top: 0 !important;
  color: #F0F5F2 !important;
}
.site-theme .footer-top { border-color: rgba(240,245,242,.14) !important; }
.site-theme .footer-grid { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1.2fr !important; }
.site-theme .footer-col:not(.footer-brand) { display: block !important; }
.site-theme .footer-logo,
.site-theme .footer-heading { color: #FFFFFF !important; }
.site-theme .footer-logo .logo-icon { background: #247F76 !important; color: #FFFFFF !important; }
.site-theme .footer-desc,
.site-theme .footer-links a,
.site-theme .footer-contact li,
.site-theme .footer-contact a,
.site-theme .footer-bottom-inner { color: #F0F5F2 !important; }
.site-theme .footer-links a:hover,
.site-theme .footer-contact a:hover { color: #FFFFFF !important; }
.site-theme .footer-links i,
.site-theme .footer-contact i { color: #C9A96B !important; }
.site-theme .footer-bottom { background: rgba(0,0,0,.12) !important; border-top-color: rgba(240,245,242,.16) !important; }
.site-theme .footer-bottom-inner strong { color: #FFFFFF !important; }
.site-theme .footer-social-links { display: flex; align-items: center; gap: 10px; }
.site-theme .footer-social-links .social-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(240,245,242,.24) !important;
  border-radius: 50%;
  background: rgba(240,245,242,.1) !important;
  color: #F0F5F2 !important;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.site-theme .footer-social-links .social-btn:hover {
  transform: translateY(-2px);
  border-color: #247F76 !important;
  background: #247F76 !important;
  color: #FFFFFF !important;
}
.site-theme .footer-social-links .social-btn:focus-visible {
  outline: 2px solid #C9A96B;
  outline-offset: 3px;
}
.site-theme .scroll-top { background: #247F76 !important; }

/* Homepage-only Teal & Ivory palette. Keep these selectors scoped to index.php. */
.editorial-home-page .editorial-home-hero-feature {
  background: #E1EEE7 !important;
}
.editorial-home-page .editorial-home-hero-feature::before {
  background: rgba(255,255,255,.28) !important;
}
.editorial-home-page .editorial-home-copy h1,
.editorial-home-page .editorial-home-copy h1 em,
.editorial-home-page .editorial-home-note span:first-child { color: #203C39 !important; }
.editorial-home-page .editorial-home-copy h1 em::after { border-color: #C9A96B !important; }
.editorial-home-page .editorial-home-lead,
.editorial-home-page .editorial-lead,
.editorial-home-page .editorial-home-note { color: #596E68 !important; }
.editorial-home-page .editorial-home-badge {
  background: #F8F7F1 !important;
  color: #174F49 !important;
}
.editorial-home-page .editorial-home-badge i,
.editorial-home-page .editorial-home-play { color: #247F76 !important; }
.editorial-home-page .editorial-home-primary,
.editorial-home-page .editorial-home-primary:hover {
  border-color: #247F76 !important;
  background: #247F76 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(23,79,73,.16) !important;
}
.editorial-home-page .editorial-home-primary:hover { background: #174F49 !important; }
.editorial-home-page .editorial-home-play { border-color: #C9A96B !important; }
.editorial-home-page .editorial-home-note { border-color: rgba(23,79,73,.18) !important; }
.editorial-home-page .editorial-hero-float {
  border-color: rgba(23,79,73,.12) !important;
  background: #F8F7F1 !important;
  color: #174F49 !important;
}
.editorial-home-page .editorial-hero-float i { color: #247F76 !important; }

.editorial-home-page #about-coach { background: #FFFFFF !important; }
.editorial-home-page #about-courses { background: #E1EEE7 !important; }
.editorial-home-page .editorial-story-copy h2,
.editorial-home-page .editorial-story-copy h2 em { color: #203C39 !important; }
.editorial-home-page .editorial-story-copy .editorial-kicker { color: #174F49 !important; }
.editorial-home-page .editorial-story-copy > p:not(.editorial-kicker) { color: #596E68 !important; }
.editorial-home-page .editorial-story-media {
  border-color: rgba(23,79,73,.16) !important;
  box-shadow: 0 18px 42px rgba(24,59,53,.12) !important;
}
.editorial-home-page .editorial-story-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.editorial-home-page .editorial-story-media-label i { color: #C9A96B !important; }
.editorial-home-page .editorial-story-cta {
  border-color: rgba(36,127,118,.35) !important;
  color: #174F49 !important;
}
.editorial-home-page .editorial-story-cta span { color: #247F76 !important; }
.editorial-home-page .editorial-story-cta:hover {
  border-color: #247F76 !important;
  background: #247F76 !important;
  color: #FFFFFF !important;
}
.editorial-home-page .editorial-story-cta:hover span { color: #FFFFFF !important; }

.editorial-home-page .editorial-home-courses { background: #FFFFFF !important; }
.editorial-home-page .editorial-course-heading h2,
.editorial-home-page .editorial-course-card-title h3 { color: #203C39 !important; }
.editorial-home-page .editorial-course-heading h2 span,
.editorial-home-page .editorial-course-heading .editorial-kicker,
.editorial-home-page .editorial-course-card-title h3 a:hover,
.editorial-home-page .editorial-course-detail-link,
.editorial-home-page .editorial-all-link { color: #247F76 !important; }
.editorial-home-page .editorial-all-link:hover { color: #174F49 !important; }
.editorial-home-page .editorial-course-card {
  border-color: rgba(23,79,73,.14) !important;
  background: #FFFFFF !important;
  color: #203C39 !important;
  box-shadow: 0 8px 24px rgba(24,59,53,.08) !important;
}
.editorial-home-page .editorial-course-card:hover {
  border-color: rgba(36,127,118,.38) !important;
  box-shadow: 0 16px 34px rgba(24,59,53,.13) !important;
}
.editorial-home-page .editorial-course-number {
  background: #F8F7F1 !important;
  color: #174F49 !important;
}
.editorial-home-page .editorial-course-card-body p,
.editorial-home-page .editorial-course-price-label { color: #596E68 !important; }
.editorial-home-page .editorial-course-price {
  background: #E1EEE7 !important;
  color: #174F49 !important;
}
.editorial-home-page .editorial-course-action-primary,
.editorial-home-page .editorial-course-action-primary:hover {
  background: #247F76 !important;
  color: #FFFFFF !important;
}
.editorial-home-page .editorial-course-action-primary:hover { background: #174F49 !important; }
.editorial-home-page .editorial-course-action-secondary {
  border-color: rgba(36,127,118,.35) !important;
  color: #174F49 !important;
}
.editorial-home-page .editorial-course-action-secondary:hover {
  border-color: #247F76 !important;
  background: #E1EEE7 !important;
  color: #174F49 !important;
}

.editorial-home-page .editorial-home-packages { background: #FFFFFF !important; }
.editorial-home-page .editorial-home-packages-heading h2,
.editorial-home-page .editorial-home-package h3 { color: #203C39 !important; }
.editorial-home-page .editorial-home-packages-heading h2 em,
.editorial-home-page .editorial-home-packages-heading .editorial-kicker,
.editorial-home-page .editorial-home-package-count,
.editorial-home-page .editorial-home-package > .editorial-home-package-link {
  color: #174F49 !important;
}
.editorial-home-page .editorial-home-package {
  border-color: rgba(23,79,73,.16) !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(24,59,53,.07) !important;
}
.editorial-home-page .editorial-home-package.is-featured {
  border-color: #247F76 !important;
  background: #E1EEE7 !important;
  box-shadow: inset 0 3px 0 #174F49, 0 8px 24px rgba(24,59,53,.08) !important;
}
.editorial-home-page .editorial-home-package-count {
  background: #F3EDE1 !important;
}
.editorial-home-page .editorial-home-package.is-featured .editorial-home-package-count {
  background: #174F49 !important;
  color: #FFFFFF !important;
}
.editorial-home-page .editorial-home-package-copy p { color: #596E68 !important; }
.editorial-home-page .editorial-home-package > .editorial-home-package-link:hover { color: #247F76 !important; }

.editorial-home-page .editorial-home-cta {
  padding: 28px 0;
  background: #183B35;
  color: #F8F7F1;
  text-align: center;
}
.editorial-home-page .editorial-home-cta h2 {
  margin: 0;
  color: #FFFFFF !important;
  font: 400 clamp(1.5rem, 3vw, 2rem)/1.15 Georgia, "Times New Roman", serif;
}
.editorial-home-page .editorial-home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.editorial-home-page .editorial-home-cta-primary,
.editorial-home-page .editorial-home-cta-secondary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #247F76;
  border-radius: 999px;
  font: 600 .82rem "Inter", system-ui, sans-serif;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.editorial-home-page .editorial-home-cta-primary {
  background: #247F76;
  color: #FFFFFF;
}
.editorial-home-page .editorial-home-cta-primary:hover {
  transform: translateY(-2px);
  border-color: #1B655F;
  background: #1B655F;
  color: #FFFFFF;
}
.editorial-home-page .editorial-home-cta-secondary {
  border-color: rgba(248,247,241,.45);
  color: #F8F7F1;
}
.editorial-home-page .editorial-home-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: #C9A96B;
  background: rgba(248,247,241,.08);
  color: #FFFFFF;
}

.editorial-home-page .editorial-testimonials.home-testimonials { background: #E1EEE7 !important; }
.editorial-home-page .home-testimonials-heading h2,
.editorial-home-page .home-testimonials-heading h2 em { color: #203C39 !important; }
.editorial-home-page .home-testimonials-heading > p { color: #596E68 !important; }
.editorial-home-page .home-testimonials-eyebrow {
  border-color: rgba(23,79,73,.18) !important;
  background: #F8F7F1 !important;
  color: #174F49 !important;
}
.editorial-home-page .home-testimonials-eyebrow i,
.editorial-home-page .home-testimonials-stage-label::before { background: #247F76 !important; }
.editorial-home-page .home-testimonials-stage {
  border-color: rgba(23,79,73,.16) !important;
  background: rgba(248,247,241,.7) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 22px 60px rgba(24,59,53,.08) !important;
}
.editorial-home-page .home-testimonials-stage::before,
.editorial-home-page .home-testimonials-stage::after { border-color: rgba(23,79,73,.12) !important; }
.editorial-home-page .home-testimonials-stage-label,
.editorial-home-page .home-testimonial-person span { color: #596E68 !important; }
.editorial-home-page .home-testimonial-card {
  border-color: rgba(23,79,73,.12) !important;
  background: #F8F7F1 !important;
  box-shadow: 0 17px 42px rgba(24,59,53,.1), inset 0 1px 0 #FFFFFF !important;
}
.editorial-home-page .home-testimonial-card:hover {
  box-shadow: 0 24px 52px rgba(24,59,53,.14), inset 0 1px 0 #FFFFFF !important;
}
.editorial-home-page .home-testimonial-person strong { color: #203C39 !important; }
.editorial-home-page .home-testimonial-stars { color: #C9A96B !important; }
.editorial-home-page .home-testimonial-quote { color: #596E68 !important; }
.editorial-home-page .home-testimonial-tag {
  background: #E7F0E8 !important;
  color: #174F49 !important;
}
.editorial-home-page .home-testimonials-motion {
  border-color: rgba(23,79,73,.2) !important;
  background: #F8F7F1 !important;
  color: #174F49 !important;
}
.editorial-home-page .home-testimonials-motion:hover { background: #FFFFFF !important; }
.editorial-about { background: #F0F6F3 !important; }
.editorial-courses-page .section-pad { background: #F8FAF8 !important; }
.editorial-courses-page .editorial-courses-container { width: min(92%, 1440px); }
.editorial-courses-page .courses-main { background: #F8FAF8 !important; }
.editorial-courses-page .page-hero { background: #EAF3F0 !important; }
.editorial-contact-page .contact-faq { background: #F8FAF8 !important; }
.editorial-package-hero { background: #EAF3F0 !important; }
.editorial-package-options { background: #F8FAF8 !important; }
.editorial-course-detail-page .cd-hero { background: #F0F6F3 !important; }
.editorial-course-detail-page .cd-buy-card,
.editorial-course-detail-page .cd-content-block,
.editorial-course-detail-page .cd-tab-shell { background: #FFFFFF !important; border-color: #DCE7E2 !important; }
.editorial-course-detail-page .cd-price,
.editorial-course-detail-page .cd-section-nav button.active { color: #247F76 !important; }
.editorial-course-detail-page .cd-section-nav button.active { border-bottom-color: #247F76 !important; }
.editorial-course-detail-page .cd-learning-panel { background: #EAF3F0 !important; }
.editorial-course-detail-page .cd-buy-card .btn-primary { background: #247F76 !important; border-color: #247F76 !important; }
.editorial-course-detail-page .cd-buy-card .btn-primary:hover { background: #1B655F !important; border-color: #1B655F !important; }

.editorial-gallery-page { background: #F8FAF8; }
.editorial-gallery-page .gallery-hero {
  padding: clamp(58px, 8vw, 96px) 0 clamp(42px, 6vw, 68px);
  background: #EAF3F0;
  text-align: center;
}
.editorial-gallery-page .gallery-hero .container { max-width: 850px; }
.editorial-gallery-page .gallery-hero .editorial-kicker { margin: 0 0 12px; }
.editorial-gallery-page .gallery-hero h1 {
  margin: 0;
  color: #203C39;
  font: 500 clamp(2.5rem, 6vw, 4.4rem)/1.08 Georgia, 'Times New Roman', serif;
}
.editorial-gallery-page .gallery-hero > .container > p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  color: #5f7068;
  font: 400 1rem/1.7 'Inter', system-ui, sans-serif;
}
.editorial-gallery-page .gallery-section { min-height: 42vh; padding: clamp(34px, 5vw, 64px) 0 82px; }
.editorial-gallery-page .gallery-masonry { columns: 4 220px; column-gap: 18px; }
.editorial-gallery-page .gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid #e4e9e5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 60, 57, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.editorial-gallery-page .gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(32, 60, 57, .12);
}
.editorial-gallery-page .gallery-card > a { display: block; overflow: hidden; background: #e9efeb; }
.editorial-gallery-page .gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .35s ease;
}
.editorial-gallery-page .gallery-card:hover img { transform: scale(1.025); }
.editorial-gallery-page .gallery-card-caption { padding: 14px 16px 16px; }
.editorial-gallery-page .gallery-card-caption h2 {
  margin: 0;
  color: #203C39;
  font: 600 .92rem/1.4 'Inter', system-ui, sans-serif;
}
.editorial-gallery-page .gallery-card-caption p {
  margin: 6px 0 0;
  color: #68746d;
  font: 400 .82rem/1.6 'Inter', system-ui, sans-serif;
}
.editorial-gallery-page .gallery-empty {
  max-width: 520px;
  margin: 20px auto;
  padding: 54px 24px;
  border: 1px solid #dce7e2;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.editorial-gallery-page .gallery-empty-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: #EAF3F0;
  color: #247F76;
  font-size: 1.4rem;
}
.editorial-gallery-page .gallery-empty h2 {
  margin: 18px 0 6px;
  color: #203C39;
  font: 500 1.7rem/1.2 Georgia, 'Times New Roman', serif;
}
.editorial-gallery-page .gallery-empty p { margin: 0; color: #68746d; }

@media (max-width: 760px) {
  .site-theme .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .site-theme .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .editorial-gallery-page .gallery-masonry { columns: 2 145px; column-gap: 12px; }
  .editorial-gallery-page .gallery-card { margin-bottom: 12px; border-radius: 11px; }
  .editorial-gallery-page .gallery-card-caption { padding: 11px 12px 13px; }
}
@media (max-width: 768px) {
  .site-theme .navbar-nav {
    background: #FFFFFF !important;
    border-right: 1px solid #DCE7E2 !important;
    box-shadow: 12px 0 36px rgba(32,60,57,.16) !important;
  }
  .site-theme .navbar-nav.open { transform: translateX(0) !important; }
  .site-theme .navbar-nav .nav-link { color: #203C39 !important; }
  .site-theme .navbar-nav .nav-link:hover,
  .site-theme .navbar-nav .nav-link:focus-visible {
    background: #EAF3F0 !important;
    border-color: #DCE7E2 !important;
    color: #1B655F !important;
  }
  .site-theme .navbar-nav .nav-link-icon { color: #247F76 !important; }
  .site-theme .mobile-user-card {
    background: #F0F6F3 !important;
    border-bottom-color: #DCE7E2 !important;
  }
  .site-theme .mobile-user-info strong { color: #203C39 !important; }
  .site-theme .mobile-user-info small { color: #596E68 !important; }
  .site-theme .mobile-auth-btns { border-bottom-color: #DCE7E2 !important; }
  .site-theme .mobile-drawer-section-label { color: #247F76 !important; }
  .site-theme .hamburger span { background: #203C39 !important; }
  .site-theme .mobile-overlay { background: rgba(32,60,57,.38) !important; }
}
@media (max-width: 480px) {
  .site-theme .footer-grid { grid-template-columns: 1fr !important; }
  .site-theme .footer-brand { grid-column: auto; }
}
.editorial-home-page .editorial-home-hero-feature .editorial-hero-art {
  width: min(100%, 570px);
  aspect-ratio: 1.34 / 1;
  filter: none;
  animation: editorial-art-rise .8s cubic-bezier(.2,.7,.2,1) .12s both;
}
.editorial-home-page .editorial-hero-art::before {
  inset: 3% -2% 2% 6%;
  border-radius: 22px;
  background: #c9a96b;
  opacity: .42;
  transform: rotate(3deg);
}
.editorial-home-page .editorial-hero-art::after {
  right: 8%;
  bottom: 2%;
  left: 8%;
  height: 8%;
  background: rgba(23,79,73,.2);
}
.editorial-home-page .editorial-home-portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 8px solid #fff;
  border-radius: 18px;
  background: #eaf3f0;
  box-shadow: 0 22px 48px rgba(23,79,73,.16);
  object-fit: cover;
  object-position: center 42%;
}
.editorial-home-page .editorial-growth-illustration { display: none; }
.editorial-home-page .editorial-hero-float {
  z-index: 2;
  border-color: #dce7e2;
  background: #fff;
  box-shadow: 0 10px 26px rgba(32,60,57,.14);
  color: #203c39;
  animation: none;
}
.editorial-home-page .editorial-hero-float i { color: #247f76; }
@media (max-width: 900px) {
  .editorial-home-page .editorial-home-hero-feature .editorial-hero-art {
    width: min(100%, 570px);
  }
}
@media (max-width: 600px) {
  .editorial-home-page .editorial-home-hero-feature .editorial-hero-art {
    width: min(100%, 430px);
    aspect-ratio: 1.28 / 1;
    margin: 8px auto 12px;
  }
  .editorial-home-page .editorial-home-portrait {
    border-width: 6px;
    border-radius: 14px;
    object-position: center 40%;
  }
  .editorial-home-page .editorial-hero-float {
    padding: 7px 9px;
    font-size: .64rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-growth-illustration *,
  .editorial-hero-art,
  .editorial-hero-float {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.home-testimonials-stage {
  display: block !important;
  height: 510px !important;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden !important;
}
.home-testimonials-viewport {
  position: absolute;
  inset: 64px 24px 58px;
  overflow: hidden;
}
.home-testimonials-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 18px;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.home-testimonials-stage .home-testimonials-track .home-testimonial-card,
.home-testimonials-stage.has-many-testimonials .home-testimonials-track .home-testimonial-card {
  position: relative;
  inset: auto;
  display: flex;
  width: min(320px, calc((100vw - 120px) / 3));
  min-width: 0;
  min-height: 230px;
  flex: 0 0 min(320px, calc((100vw - 120px) / 3));
  flex-direction: column;
  animation: home-testimonial-card-float 8s ease-in-out var(--testimonial-delay, 0s) infinite alternate;
  transform: none;
}
@keyframes home-testimonial-card-float {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}
.home-testimonials-track .home-testimonial-card:nth-child(even) { animation-delay: -3s; }
.home-testimonials-track .home-testimonial-card:nth-child(odd) { animation-delay: -1s; }
.home-testimonials-track .home-testimonial-quote { flex: 1; }
.home-testimonials-motion[hidden] { display: none; }
.home-testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 18px auto 0;
}
.home-testimonials-controls .home-testimonials-motion {
  position: static;
}
.home-testimonials-arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23, 79, 73, .22);
  border-radius: 50%;
  background: #F8F7F1;
  color: #174F49;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.home-testimonials-arrow:hover {
  transform: translateY(-2px);
  background: #247F76;
  color: #fff;
}
.home-testimonials-arrow:focus-visible,
.home-testimonials-controls .home-testimonials-motion:focus-visible {
  outline: 3px solid rgba(36, 127, 118, .35);
  outline-offset: 3px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .home-testimonials-stage { height: 490px !important; }
  .home-testimonials-viewport {
    inset: 64px auto 58px 50%;
    width: min(698px, calc(84vw - 40px));
    transform: translateX(-50%);
  }
  .home-testimonials-stage .home-testimonials-track .home-testimonial-card,
  .home-testimonials-stage.has-many-testimonials .home-testimonials-track .home-testimonial-card {
    width: min(340px, calc((84vw - 58px) / 2));
    flex-basis: min(340px, calc((84vw - 58px) / 2));
  }
}

@media (min-width: 901px) and (max-width: 1250px) {
  .home-testimonials-viewport {
    inset: 64px auto 58px 50%;
    width: 698px;
    transform: translateX(-50%);
  }
  .home-testimonials-stage .home-testimonials-track .home-testimonial-card,
  .home-testimonials-stage.has-many-testimonials .home-testimonials-track .home-testimonial-card {
    width: 340px;
    flex-basis: 340px;
  }
}

@media (min-width: 1251px) and (max-width: 1439px) {
  .home-testimonials-viewport {
    inset: 64px auto 58px 50%;
    width: 996px;
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .home-testimonials-stage {
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
  }
  .home-testimonials-viewport {
    position: relative;
    inset: auto;
    height: auto;
    margin: 58px 14px 14px;
    overflow: hidden;
  }
  .home-testimonials-track { width: 100%; }
  .home-testimonials-stage .home-testimonials-track .home-testimonial-card,
  .home-testimonials-stage.has-many-testimonials .home-testimonials-track .home-testimonial-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    flex-basis: 100%;
    align-self: stretch;
    animation: none !important;
  }
  .home-testimonials-track .home-testimonial-quote {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

@media (max-width: 600px) {
  .home-testimonials-stage { height: auto !important; }
  .home-testimonials-track { gap: 12px; }
  .home-testimonials-stage .home-testimonials-track .home-testimonial-card,
  .home-testimonials-stage.has-many-testimonials .home-testimonials-track .home-testimonial-card {
    width: 100%;
    min-height: 0;
    flex-basis: 100%;
  }
  .home-testimonials-stage-label { top: 16px; left: 16px; }
  .home-testimonials-motion { right: 12px; bottom: 10px; }
}
@media (max-width: 760px) {
  .home-testimonials-stage,
  .editorial-home-page .home-testimonials-stage {
    box-shadow: none !important;
  }
  .home-testimonial-card,
  .home-testimonial-card:hover,
  .editorial-home-page .home-testimonial-card,
  .editorial-home-page .home-testimonial-card:hover {
    box-shadow: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-testimonials-track { transition: none; }
  .home-testimonials-track .home-testimonial-card { animation: none !important; }
}

.editorial-category-page .cat-page-hero {
  background: #EAF3F0;
  color: #203C39;
}
.editorial-category-page .cat-page-hero::before { display: none; }
.editorial-category-page .cat-page-hero h1 {
  color: #203C39;
  font: 500 clamp(2.2rem, 5vw, 3.6rem)/1.08 Georgia, 'Times New Roman', serif;
}
.editorial-category-page .cat-page-hero p { color: #596E68; }
.editorial-category-page .cat-hero-icon {
  background: #DCEBE4;
  color: #247F76;
}
.editorial-category-page .breadcrumb-trail,
.editorial-category-page .breadcrumb-trail a { color: #596E68; }
.editorial-category-page .breadcrumb-trail a:hover { color: #174F49; }
.editorial-category-page .breadcrumb-trail span,
.editorial-category-page .cat-hero-meta i { color: #247F76; }
.editorial-category-page .cat-hero-meta span { color: #596E68; }
.editorial-category-page .cat-sub-strip {
  border-color: #DCE7E2;
  background: #FFFFFF;
}
.editorial-category-page .cat-sub-chip {
  border-color: #DCE7E2;
  background: #F8FAF8;
  color: #596E68;
}
.editorial-category-page .cat-sub-chip:hover {
  border-color: #247F76;
  background: #EAF3F0;
  color: #174F49;
}
.editorial-category-page .section-pad { background: #F8FAF8; }
.editorial-category-page .courses-sidebar .filter-card {
  border-color: #DCE7E2;
  background: #FFFFFF;
}
.editorial-category-page .courses-sidebar h3,
.editorial-category-page .courses-count strong { color: #203C39; }
.editorial-category-page .filter-list a { color: #596E68; }
.editorial-category-page .filter-list a:hover,
.editorial-category-page .filter-list a.active {
  background: #EAF3F0;
  color: #174F49;
}
.editorial-category-page .courses-sort { color: #596E68; }
.editorial-category-page .courses-sort select {
  border-color: #DCE7E2;
  border-radius: 8px;
  background: #FFFFFF;
  color: #203C39;
}
.editorial-category-page .courses-count { color: #596E68; }
.editorial-category-page .courses-grid .course-card {
  border: 1px solid #DCE7E2;
  border-radius: 12px;
  background: #FFFFFF;
  color: #203C39;
  box-shadow: 0 5px 18px rgba(32, 60, 57, .05);
  text-decoration: none;
}
.editorial-category-page .courses-grid .course-card:hover {
  border-color: #247F76;
  box-shadow: 0 12px 30px rgba(32, 60, 57, .12);
}
.editorial-category-page .course-body { background: #FFFFFF; }
.editorial-category-page .course-title { color: #203C39; }
.editorial-category-page .course-category { color: #247F76; }
.editorial-category-page .course-meta,
.editorial-category-page .course-desc { color: #596E68; }
.editorial-category-page .course-meta,
.editorial-category-page .course-footer { border-color: #DCE7E2; }
.editorial-category-page .course-price .current { color: #203C39; }
.editorial-category-page .course-price.free { color: #247F76; }
.editorial-category-page .course-enroll-btn {
  background: #EAF3F0;
  color: #174F49;
}
.editorial-category-page .course-card:hover .course-enroll-btn {
  background: #247F76;
  color: #FFFFFF;
}
