/* ─────────────────────────────────────────────────────────────────────────────
   Redesigned public site — resources/views/frontend/site/*
   Mobile first; widens at 900px. Same brand as the old pages (DM Serif Display +
   DM Sans, forest green / Italian red / gold on off-white) but its own file, so the
   live pages (frontend/shared.css) are untouched.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
    --ink: #1a1c1a;
    --ink-soft: #4e574f;
    --ink-muted: #6b7268;
    --line: #ebe8e0;
    --line-strong: #d9d5cb;
    --bg: #f7f6f3;
    --white: #fff;
    --green: #1b4d2e;
    --green-deep: #123521;
    --green-soft: #eaf1ec;
    --red: #ce2b37;
    --red-dark: #a51f2a;
    --red-soft: #FBE7E5;
    --gold: #a87a26;
    --gold-ink: #7a5410;
    --gold-soft: #fbf1dd;
    --gold-line: #ecd6a4;
    --amber-bg: #fffaf0;
    --amber-ink: #8a5a00;
    --wa: #25d366;
    --wa-ink: #128c4a;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 14px;
    --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
body.lang-si { font-family: 'Noto Sans Sinhala', var(--sans); }
body.lang-si .serif, body.lang-si h1, body.lang-si h2 { font-family: 'Noto Serif Sinhala', var(--serif); font-weight: 600; }
img { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
[hidden] { display: none !important; }
.serif { font-family: var(--serif); font-weight: 400; }
.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--red); }
.eyebrow--gold { color: #e8c27a; }
.muted { color: var(--ink-soft); }
.u { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; text-align: center; line-height: 1.2; }
.btn--block { display: flex; width: 100%; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb457; color: #fff; }
.btn--outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn--outline-wa { background: #fff; color: var(--wa-ink); border-color: var(--wa); font-size: 15px; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn svg { flex: 0 0 auto; }

/* ── Header ── */
.hdr { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.hdr__logo { flex-shrink: 0; }
.hdr__logo img { height: 38px; width: auto; max-width: none; display: block; }
.hdr__nav { display: none; }
.hdr__right { display: flex; align-items: center; gap: 8px; }
.hdr__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; background: #fff; cursor: pointer; font-family: inherit; }
.hdr__login { display: none; }
/* The full menu needs ~1,045px in Sinhala and ~1,080px in English; below that the Menu button. */
@media (min-width: 1120px) {
    .hdr__in { height: 84px; }
    .hdr__logo img { height: 52px; }
    /* One line each, centred on the bar: long (Sinhala) labels used to wrap and sit unevenly (2026-10-25). */
    .hdr__nav { display: flex; align-items: stretch; align-self: stretch; gap: 24px; font-weight: 500; }
    .hdr__nav a { display: flex; align-items: center; color: var(--ink); padding: 3px 0 0; border-bottom: 3px solid transparent; white-space: nowrap; }
    .hdr__chip { white-space: nowrap; }
    .hdr__nav a.is-active { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }
    .hdr__menu-btn { display: none; }
    .hdr__login { display: inline-flex; border-color: var(--green); color: var(--green); border-width: 1.5px; }
}

/* ── Language dropdown (desktop header) ── */
.langdd { position: relative; }
.langdd__list { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 160px; padding: 6px; z-index: 50; }
.langdd__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.langdd__list a:hover, .langdd__list a.is-current { background: var(--green-soft); color: var(--green); }

/* ── Mobile menu (full screen) ── */
.mnav { position: fixed; inset: 0; background: #fff; z-index: 60; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.mnav__body { padding: 8px 20px 28px; }
.mnav__h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 18px 0 4px; }
.mnav__a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid #f0ede6; }
.mnav__langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.mnav__lang { min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--ink); }
.mnav__lang.is-current { background: var(--green); border-color: var(--green); color: #fff; }
body.menu-open { overflow: hidden; }

/* ── Language first-visit sheet ── */
.lsheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgba(10,20,14,.55); }
.lsheet__box { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -12px 40px rgba(0,0,0,.25); }
@media (min-width: 600px) { .lsheet { align-items: center; } .lsheet__box { border-radius: 22px; padding-bottom: 24px; } }
.lsheet__grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 8px; }
.lsheet__si { font-family: 'Noto Sans Sinhala', var(--sans); font-size: 22px; font-weight: 700; line-height: 1.35; }
.lsheet__opt { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 72px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.lsheet__opt--main { border-color: var(--green); background: var(--green-soft); }
.lsheet__opt-t { font-size: 20px; font-weight: 700; }
.lsheet__opt-s { font-size: 14px; color: var(--ink-soft); }

/* ── Sticky WhatsApp bar (phones) ── */
.wabar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; box-shadow: 0 -6px 18px rgba(18,53,33,.08); }
.has-wabar { padding-bottom: 84px; }
@media (min-width: 1000px) { .wabar { display: none; } .has-wabar { padding-bottom: 0; } }

/* ── Hero + "who is learning" tiles ── */
.hero { background: var(--green-deep); color: #fff; padding: 26px 0 28px; }
.hero__top { display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: 32px; line-height: 1.1; margin: 10px 0 0; }
.hero__wa { display: none; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.tile { background: #fff; border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 14px; align-items: center; color: var(--ink); box-shadow: 0 1px 2px rgba(18,53,33,.06), 0 6px 18px rgba(18,53,33,.10); min-height: 76px; }
.tile:hover { color: var(--ink); transform: translateY(-1px); }
.tile__ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tile__t, .tile__s { display: block; }
.tile__t { font-weight: 700; font-size: 18px; line-height: 1.25; }
.tile__s { font-size: 14px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.tile__price, .tile__go, .tile__long { display: none; }
.tile--student { background: var(--green-soft); box-shadow: none; }
@media (min-width: 1000px) {
    .hero { padding: 56px 0 64px; }
    .hero__top { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
    .hero h1 { font-size: 52px; line-height: 1.08; margin-top: 14px; }
    .hero__wa { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 18px; color: #fff; min-width: 280px; }
    .hero__wa:hover { color: #fff; background: rgba(255,255,255,.12); }
    .hero__wa-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; flex: 0 0 44px; }
    .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
    .tile { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 24px; border-radius: 16px; }
    .tile__ic { width: 52px; height: 52px; border-radius: 14px; }
    .tile__chev, .tile__s { display: none; }
    .tile__t { font-size: 21px; margin-top: 4px; }
    .tile__long { display: block; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
    .tile__price { display: block; font-size: 15px; font-weight: 600; }
    .tile__go { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 600; }
    .tile--student { border: 1.5px dashed #9fbfaa; }
}

/* ── Sections ── */
.sec { padding: 28px 0; }
.sec--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sec h2 { font-size: 28px; line-height: 1.15; margin: 6px 0 0; }
@media (min-width: 1000px) {
    .sec { padding: 64px 0; }
    .sec__head { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
    .sec h2 { font-size: 40px; margin-top: 10px; }
}

/* ── Classes list ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; color: var(--ink); cursor: pointer; font-family: inherit; }
.chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill--adult { background: var(--green-soft); color: var(--green); }
.pill--kid { background: var(--red-soft); color: var(--red); }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.st i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.st--open { color: var(--green); } .st--open i { background: #1f9d55; }
.st--started { color: var(--amber-ink); } .st--started i { background: #d99a1e; }
.st--soon { color: var(--ink-soft); } .st--soon i { background: #9a9d93; }
.st-sub { font-size: 14px; color: var(--ink-soft); }

.glist { display: flex; flex-direction: column; gap: 10px; }
.gcard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.gcard--started { background: var(--amber-bg); border-color: #f0dca8; }
.gcard--soon { background: var(--bg); border-color: var(--line-strong); }
.gcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gcard__code { font-size: 14px; color: var(--ink-soft); }
.gcard__when { font-size: 20px; font-weight: 700; line-height: 1.25; }
.gcard__extra { font-size: 15px; color: var(--ink-soft); }
.gtable { display: none; }
.glist__more { display: flex; justify-content: center; align-items: center; min-height: 48px; font-weight: 600; font-size: 15px; text-decoration: underline; }
@media (min-width: 1000px) {
    .glist { display: none; }
    .glist__more { display: none; }
    .gtable { display: block; background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
    .grow { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr 1.6fr .8fr 200px; align-items: center; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
    .grow--head { border-top: 0; background: #fbfaf7; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); font-weight: 600; padding-top: 14px; padding-bottom: 14px; }
    .grow--started { background: var(--amber-bg); }
    .grow--soon { background: var(--bg); }
    .grow__name { font-weight: 700; }
    .grow__status { display: flex; flex-direction: column; gap: 3px; }
}
.gempty { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px; color: var(--ink-soft); }

/* ── Invite (Porta un Amico) band ── */
.invite { margin-top: 18px; background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.invite__ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.invite__t { font-weight: 700; font-size: 17px; line-height: 1.3; }
.invite__s { font-size: 15px; color: #5c4a20; margin-top: 4px; line-height: 1.45; }
.invite__long { display: none; }
@media (min-width: 1000px) {
    .invite { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px 24px; border-radius: 16px; margin-top: 24px; }
    .invite__ic { width: 56px; height: 56px; border-radius: 14px; }
    .invite__t { font-size: 20px; }
    .invite__s { font-size: 16px; }
    .invite__short { display: none; }
    .invite__long { display: inline; }
}

/* ── Steps ── */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.step__n { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step__t { font-weight: 700; font-size: 17px; }
.step__s { font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
@media (min-width: 1000px) {
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
    .step { display: flex; flex-direction: column; gap: 10px; }
    .step__n { width: 44px; height: 44px; font-size: 18px; }
    .step__t { font-size: 20px; }
    .step__s { font-size: 16px; line-height: 1.5; }
}

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; font-weight: 600; font-size: 16px; cursor: pointer; padding: 8px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--ink-muted); font-weight: 400; flex: 0 0 auto; }
.faq details[open] summary::after { content: '–'; }
.faq__a { font-size: 16px; line-height: 1.55; color: var(--ink-soft); padding: 0 0 16px; margin: 0; }
.run-classes { padding: 0 0 18px; }
.run-classes__p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 8px; }
.run-box { margin-top: 16px; background: #fff; border: 1.5px solid var(--green); border-radius: var(--radius); padding: 16px 16px 0; }
.run-box__h { font-weight: 700; font-size: 17px; margin: 0 0 6px; color: var(--ink); }
.run-box--fold { margin-top: 20px; padding: 0; border-width: 1px; border-color: var(--line); }
.run-box--fold[open] { border: 1.5px solid var(--green); }
.run-box__btn { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 600; font-size: 16px; line-height: 1.45; color: var(--green); }
.run-box__btn::-webkit-details-marker { display: none; }
.run-box__btn::after { content: '+'; font-size: 22px; font-weight: 400; flex: 0 0 auto; }
.run-box--fold[open] .run-box__btn::after { content: '–'; }
.run-box__in { padding: 0 16px; }
.run-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.run-list a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.run-list a:hover { border-color: var(--green); }
.run-list__since { color: var(--ink-muted); font-size: 14px; }
@media (min-width: 1000px) {
    .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 24px; }
    .faq summary { font-size: 17px; }
}

/* ── Footer ── */
.ftr { background: var(--green-deep); color: #fff; padding: 40px 0 28px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ftr__brand { font-size: 26px; }
.ftr__tag { font-size: 15px; color: #c9d8ce; line-height: 1.5; margin-top: 8px; }
.ftr__phone { font-size: 17px; font-weight: 700; margin-top: 10px; display: block; color: #fff; }
.ftr__col { display: flex; flex-direction: column; gap: 4px; }
.ftr__col b { margin-bottom: 4px; }
.ftr__col a { color: #d6e3da; font-size: 15px; min-height: 36px; display: flex; align-items: center; }
.ftr__col a:hover { color: #fff; }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; font-size: 14px; color: #9fb7a7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.ftr__bottom a { color: #9fb7a7; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ftr { padding: 56px 0 32px; } .ftr__grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 36px; } }

/* ── Preview ribbon (only while the new site lives under /new) ── */
.preview-ribbon { background: #fff3d6; color: var(--amber-ink); font-size: 13px; font-weight: 600; text-align: center; padding: 6px 12px; }

/* ── Course pages ── */
.course__top { padding-top: 14px; padding-bottom: 24px; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--ink-muted); flex-wrap: wrap; }
.crumbs a { text-decoration: underline; min-height: 32px; display: inline-flex; align-items: center; }
.course h1 { font-size: 34px; line-height: 1.1; margin: 8px 0 8px; }
.course__lead { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 16px; }
.course__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.course__side { display: flex; flex-direction: column; gap: 14px; }
.notice { background: #fff8e8; border: 1px solid #f0dca8; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: #5c4a20; }
.notice strong { font-size: 16px; color: #6b4a00; }
.notice--soft { margin-top: 16px; }
.facts { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 4px 16px; }
.fact { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; }
.fact__l { font-size: 13px; color: var(--ink-muted); }
.fact__v { font-size: 16px; font-weight: 600; }
.toc { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 6px 16px; }
.toc__h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding: 8px 0; }
.toc a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); }
.toc a span { color: #9a9d93; }
.toc .toc__last { font-weight: 700; color: var(--green); }
.course--kids .toc .toc__last { color: var(--red); }

.csec { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.csec--white { background: #fff; }
.csec--groups { background: var(--green-soft); }
.course--kids .csec--groups { background: #fdf0ef; }
.csec__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.csec__h { display: flex; align-items: center; gap: 10px; font-size: 25px; line-height: 1.15; margin: 0; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; }
.course--kids .num { background: var(--red); }
.csec__body { min-width: 0; }
.csec__p { font-size: 16px; line-height: 1.55; margin: 0 0 14px; }
.csec__note { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 12px 0 0; }
.minis { display: flex; flex-direction: column; gap: 14px; }
.mini { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.mini__n { width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.course--kids .mini__n { background: var(--red-soft); color: var(--red); }
.mini__t { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.mini__s { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.45; }
.check__i { color: var(--green); }
.course--kids .check__i { color: var(--red); }
.feebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 16px; }
.feeline { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.feeline:first-child { border-top: 0; }
.feeline strong { white-space: nowrap; }
.feeline--total { border-top: 1px dashed var(--line-strong); font-size: 17px; font-weight: 600; }
.feeline--total strong { color: var(--green); }
.feeline--online { margin: 4px -12px; padding: 10px 12px; border-top: 0; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); font-weight: 700; }
.feeline--online + .feeline { border-top: 0; }
.feeline--online strong { color: var(--green); font-size: 18px; }
.fee-was { color: var(--ink-muted); font-weight: 400; margin-right: 6px; }
.fee-online { display: inline-block; color: var(--green); font-weight: 700; background: var(--green-soft); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.video { margin-top: 18px; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1d2a22; max-width: 720px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fb { margin-top: 18px; max-width: 340px; }

.days { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.day { background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.day--started { background: var(--amber-bg); border-color: #f0dca8; }
.day--soon { background: var(--bg); }
.day__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.day__name { font-size: 22px; font-weight: 700; }
.day__code { font-size: 14px; color: var(--ink-muted); text-align: right; }
.day__time { font-size: 16px; }
.day__extra { font-size: 15px; color: var(--ink-soft); }
.day .btn { margin-top: 4px; }

@media (min-width: 1000px) {
    .course__top { padding-top: 24px; padding-bottom: 48px; }
    .course h1 { font-size: 52px; }
    .course__lead { font-size: 19px; max-width: 640px; }
    .course__intro { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
    .csec { padding: 56px 0; }
    .csec__in { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
    .csec__h { font-size: 32px; align-items: flex-start; }
    .num { margin-top: 4px; }
    .days { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ── Facebook embeds, free lessons, articles ── */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fb-embed { margin: 0; background: #fff; border: 1px solid #dddfe2; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.fb-embed__frame { position: relative; width: 100%; height: 520px; }
.fb-embed--video .fb-embed__frame { height: auto; aspect-ratio: 16 / 9; background: #1d2a22; }
.fb-embed--reel .fb-embed__frame { height: auto; aspect-ratio: 9 / 16; background: #1d2a22; }
.fb-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fb-embed__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; }
.fb-embed__label { font-weight: 700; font-size: 16px; color: var(--ink); }
.fb-embed__cap a { color: #1877f2; font-weight: 600; white-space: nowrap; }
@media (min-width: 700px) { .fb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.page-title { font-size: 34px; line-height: 1.1; margin: 10px 0 8px; }
@media (min-width: 1000px) { .page-title { font-size: 52px; } }
.fl-bar { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.fl-search { display: flex; gap: 8px; }
.fl-search input { flex: 1 1 auto; min-width: 0; min-height: 48px; border: 1.5px solid #cfcabd; border-radius: 10px; padding: 0 14px; font-size: 16px; font-family: inherit; background: #fff; }
@media (min-width: 1000px) { .fl-bar { flex-direction: row; justify-content: space-between; align-items: center; } .fl-search { width: 380px; } }
.chip { text-decoration: none; }
.chip:hover { color: var(--ink); }
.chip.is-on:hover { color: #fff; }

.arts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 700px) { .arts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .arts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.art { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.art:hover { color: var(--ink); border-color: var(--line-strong); }
.art__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.art__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.art__t { font-weight: 700; font-size: 18px; line-height: 1.3; }
.art__s { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.art__m { font-size: 14px; color: var(--ink-muted); }
.pager { margin-top: 20px; }
.pager nav ul, .pager ul.pagination { display: flex; gap: 8px; list-style: none; padding: 0; justify-content: center; }
.pager a, .pager span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-weight: 600; }

.cta-band { background: var(--green-deep); color: #fff; padding: 36px 0; margin-top: 12px; }
.cta-band__in { display: flex; flex-direction: column; gap: 18px; }
.cta-band h2 { font-size: 28px; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c9d8ce; font-size: 16px; }
.cta-band__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 1000px) { .cta-band { padding: 48px 0; } .cta-band__in { flex-direction: row; justify-content: space-between; align-items: center; } .cta-band h2 { font-size: 34px; } }

.article { max-width: 760px; padding-top: 18px; padding-bottom: 32px; }
.article__meta { font-size: 14px; color: var(--ink-muted); margin-bottom: 16px; }
.article__img { width: 100%; border-radius: var(--radius); margin: 8px 0 16px; }
.article__body { font-size: 18px; line-height: 1.7; }
.article__body img { max-width: 100%; height: auto; border-radius: 10px; }
.article__body h2, .article__body h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 28px 0 10px; }
.article__body table { display: block; overflow-x: auto; }
.article__body a { text-decoration: underline; }

/* ── Students page, summer & events ── */
.narrow { max-width: 760px; }
.acts { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.act { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 14px; align-items: center; color: var(--ink); min-height: 84px; }
.act:hover { color: var(--ink); border-color: var(--line-strong); }
.act--static { grid-template-columns: 52px minmax(0, 1fr); }
.act__ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.act__t { display: block; font-size: 18px; font-weight: 700; }
.act__s { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.act__stores { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.forgot { margin-top: 18px; background: #fff; border: 1px dashed #cfcabd; border-radius: var(--radius); padding: 16px; }
.forgot p { color: var(--ink-soft); margin: 6px 0 12px; font-size: 15px; }
.promo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
@media (min-width: 800px) { .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.promo { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.promo:hover { color: var(--ink); border-color: var(--line-strong); }
.promo__ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.promo__t { font-size: 21px; font-weight: 700; }
.promo__s { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.promo__go { font-weight: 600; color: var(--green); margin-top: 4px; }
