/* KE Home v10 — extracted from the approved v8 homepage plus the upcoming-courses slider. */

:root {
  --navy:#0B1F3A;
  --navy-deep:#071526;
  --navy-mid:#14304F;
  --navy-glass:rgba(255,255,255,.08);
  --gold:#C9A227;
  --gold-light:#E8C96A;
  --gold-dark:#A6861C;
  --gold-dim:#F3E7C4;
  --gold-soft:#E8C96A;
  --bg:#FFFFFF;
  --bg-soft:#F6F3EB;
  --text:#1A2332;
  --muted:#5C6775;
  --line:#E2DCCB;
  --whatsapp:#128C7E;
  --whatsapp-hover:#0E7368;
  --radius:18px;
  --shadow:0 12px 32px rgba(7,21,38,.10);
  --shadow-sm:0 6px 18px rgba(7,21,38,.07);
  --header-h:72px;
  --bottom-bar:0px;
  --blue:var(--gold);
  --blue-dark:var(--gold-dark);
  --cyan:var(--gold);
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif; color:var(--text); background:var(--bg); line-height:1.6; font-size:16px; font-weight:400; padding-bottom:var(--bottom-bar); }
img { max-width:100%; height:auto; display:block; }
[dir="rtl"] [dir="ltr"] { unicode-bidi:isolate; }
a { color:var(--blue); text-decoration:none; }
a:hover { color:var(--blue-dark); }
.wrap { width:100%; max-width:1160px; margin-inline:auto; padding-inline:56px; }
h1,h2,h3 { letter-spacing:-0.03em; line-height:1.2; color:var(--navy); font-weight:700; }
h1 { font-size:clamp(2rem, 4.2vw, 3.15rem); color:#fff; letter-spacing:-0.035em; }
h2 { font-size:clamp(1.5rem, 2.4vw, 2.05rem); margin-bottom:.4rem; }
h3 { font-size:1.05rem; font-weight:600; }
.lede { color:var(--muted); max-width:640px; font-size:1.02rem; }
.section { padding:72px 0; }
.section.soft { background:var(--bg-soft); }
.section.cream { background:var(--bg-soft); }
.section.white { background:var(--bg); }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--cyan); margin-bottom:.75rem; }
.eyebrow::before { content:""; width:18px; height:3px; border-radius:2px; background:var(--gold); }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.section-head .lede { margin-top:8px; }

.preview-banner { background:var(--navy-deep); color:#C9D4E3; font-size:.78rem; font-weight:600; text-align:center; padding:8px 16px; border-bottom:1px solid rgba(255,255,255,.08); }

/* Slim dark topbar */
.topbar { background:var(--navy-deep); color:#B7C4D6; font-size:.8rem; border-bottom:1px solid rgba(255,255,255,.08); }
.topbar .wrap { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:36px; flex-wrap:wrap; padding-block:6px; }
.topbar a { color:#E8EEF6; font-weight:600; }
.topbar a:hover { color:#fff; }
.topbar-contacts { display:flex; flex-wrap:wrap; align-items:center; }
.topbar-contacts span { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; padding-inline:12px 14px; }
.topbar-contacts span + span { border-inline-start:1px solid rgba(255,255,255,.14); }
.topbar svg { width:13px; height:13px; flex-shrink:0; fill:var(--cyan); stroke:none; }
.lang { display:flex; gap:4px; }
.lang a { font-weight:600; padding:2px 8px; border-radius:6px; color:#E8EEF6; }
.lang a[aria-current="page"] { background:var(--blue); color:#fff; }

/* Dark sticky header */
.site-header { position:sticky; top:0; z-index:50; background:rgba(11,28,51,.92); backdrop-filter:saturate(1.2) blur(12px); border-bottom:1px solid rgba(255,255,255,.08); }
.header-inner { display:flex; align-items:center; gap:22px; min-height:var(--header-h); }
.logo img { height:52px; width:52px; border-radius:50%; }
nav.primary { margin-inline-start:auto; }
nav.primary ul { display:flex; align-items:center; gap:4px 20px; list-style:none; flex-wrap:wrap; }
nav.primary a { color:#E8EEF6; font-weight:600; font-size:.9rem; padding:8px 0; }
nav.primary a:hover { color:#fff; }
.menu-toggle { display:none; margin-inline-start:8px; background:transparent; border:1px solid rgba(255,255,255,.25); border-radius:10px; padding:7px 12px; cursor:pointer; color:#fff; font-weight:600; font-size:.82rem; letter-spacing:.04em; text-transform:uppercase; }
.lang-switch { display:flex; align-items:center; gap:6px; margin-inline-start:12px; flex-shrink:0; font-size:.85rem; font-weight:600; }
.lang-switch a { color:#E8EEF6; padding:5px 8px; border-radius:8px; }
.lang-switch a:hover { color:#fff; }
.lang-switch a[aria-current="page"] { color:#fff; background:var(--blue); }
.lang-switch .sep { color:rgba(255,255,255,.28); }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; font-weight:600; font-size:.95rem; padding:12px 20px; border:1px solid transparent; cursor:pointer; text-decoration:none !important; line-height:1.2; font-family:inherit; }
.btn-sm { padding:9px 16px; font-size:.88rem; }
.btn-primary { background:var(--blue); color:#fff; }
.btn-primary:hover { background:var(--blue-dark); color:#fff; }
.btn-navy, .btn-gold { background:var(--blue); color:#fff; }
.btn-navy:hover, .btn-gold:hover { background:var(--blue-dark); color:#fff; }
.btn-dark { background:var(--navy); color:#fff; }
.btn-dark:hover { background:#10233F; color:#fff; }
.btn-outline { background:#fff; color:var(--navy); border-color:#C5D5E8; }
.btn-outline:hover { border-color:var(--blue); color:var(--blue); }
.btn-ghost-gold { background:#fff; color:var(--navy); border-color:#C5D5E8; }
.btn-whatsapp { background:var(--whatsapp); color:#fff; }
.btn-whatsapp:hover { background:var(--whatsapp-hover); color:#fff; }
.btn-ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.btn-ghost:hover { background:rgba(255,255,255,.12); color:#fff; }
.btn-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.header-cta { flex-shrink:0; }

/* ========== Dark premium hero ========== */
.hero { background:linear-gradient(180deg, var(--navy) 0%, #0E2744 70%, #102A4A 100%); color:#fff; padding:28px 0 0; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:40px; align-items:center; padding-bottom:28px; }
.hero h1 { margin-bottom:16px; max-width:18ch; }
.hero h1 em, .hero h1 .accent {
  font-family:"Playfair Display",Georgia,"Times New Roman",serif;
  font-style:italic; font-weight:400; color:var(--gold); letter-spacing:0;
}
.hero .sub { color:#C5D2E3; font-size:1.05rem; margin-bottom:24px; max-width:38rem; }
.hero-search { margin-top:4px; }
.hero .finder-bar {
  display:grid; grid-template-columns:1fr auto; gap:8px;
  background:#fff; border-radius:999px; padding:6px 6px 6px 18px;
  box-shadow:0 10px 30px rgba(0,0,0,.22);
}
.hero .finder-bar input {
  font:inherit; font-size:1rem; padding:12px 8px; border:0; background:transparent;
  color:var(--navy); outline:none; min-width:0;
}
.hero .finder-bar input::placeholder { color:#7B8A9C; }
.hero .popular { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; }
.hero .popular .lab { font-size:.8rem; color:#9AABC0; font-weight:600; }
.hero .chip {
  display:inline-flex; align-items:center; padding:6px 12px; border-radius:999px;
  background:rgba(255,255,255,.08); color:#EEF3F9; font-size:.82rem; font-weight:600;
  border:1px solid rgba(255,255,255,.16);
}
.hero .chip:hover { background:rgba(255,255,255,.16); color:#fff; border-color:rgba(255,255,255,.3); }


/* Hero upcoming-courses slider (replaces city collage + next-start card) */
.hero-slider { position:relative; }
.hs-head { display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin-bottom:12px; }
.hs-head .eyebrow { margin-bottom:0; color:var(--gold-light); white-space:nowrap; }
.hs-count { font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#9AABC0; }
[dir="rtl"] .hs-nav svg { transform:scaleX(-1); }
.hs-frame {
  position:relative;
  background:linear-gradient(165deg, rgba(255,255,255,.10) 0%, rgba(11,31,58,.55) 100%);
  border:1px solid rgba(201,162,39,.38);
  border-radius:22px;
  box-shadow:0 22px 48px rgba(0,0,0,.32);
  overflow:hidden;
}
.hs-track { display:grid; }
.hs-slide {
  grid-area:1 / 1;
  display:flex; flex-direction:column; gap:14px;
  padding:26px 26px 22px;
  color:#fff; text-decoration:none !important;
  opacity:0; visibility:hidden; pointer-events:none; z-index:0;
  transition:opacity .45s ease, visibility .45s ease;
}
.hs-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; z-index:1; }
.hs-slide:hover, .hs-slide:focus-visible { color:#fff; }
.hs-slide:focus-visible { outline:2px solid var(--gold); outline-offset:-4px; }
.hs-cat {
  display:inline-flex; align-self:flex-start;
  font-size:.68rem; font-weight:700; letter-spacing:.10em; text-transform:uppercase;
  color:var(--navy-deep); background:var(--gold); border-radius:999px; padding:5px 10px;
}
.hs-dates { display:flex; align-items:center; gap:14px; }
.hs-when {
  background:#fff; color:var(--navy); border-radius:14px; min-width:64px; text-align:center;
  padding:10px 8px; line-height:1.05; flex-shrink:0;
}
.hs-when b { display:block; font-size:1.45rem; font-weight:700; letter-spacing:-0.03em; }
.hs-when span { font-size:.65rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-dark); }
.hs-range { font-size:.92rem; font-weight:600; color:#E8EEF6; line-height:1.35; }
.hs-slide h3 { color:#fff; font-size:1.28rem; letter-spacing:-0.03em; margin:0; line-height:1.25; }
.hs-meta { font-size:.88rem; color:#C5D2E3; margin:0; line-height:1.45; }
.hs-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:8px; }
.hs-price { font-size:1.25rem; font-weight:700; color:var(--gold-light); letter-spacing:-0.02em; }
.hs-cta {
  display:inline-flex; align-items:center; gap:6px;
  font-size:.88rem; font-weight:700; color:var(--navy-deep); background:var(--gold);
  border-radius:999px; padding:9px 14px;
}
.hs-slide:hover .hs-cta { background:var(--gold-light); }
.hs-controls { display:flex; align-items:center; gap:8px; margin-top:14px; }
.hs-nav, .hs-pause {
  width:40px; height:40px; border-radius:50%;
  border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.08);
  color:#fff; cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
  font:inherit; padding:0;
}
.hs-nav:hover, .hs-pause:hover, .hs-nav:focus-visible, .hs-pause:focus-visible {
  border-color:var(--gold); color:var(--gold-light); background:rgba(201,162,39,.12); outline:none;
}
.hs-nav svg, .hs-pause svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.hs-pause .hs-icon-play { display:none; }
.hs-pause.is-paused .hs-icon-pause,
.hs-pause[aria-pressed="true"] .hs-icon-pause { display:none; }
.hs-pause.is-paused .hs-icon-play,
.hs-pause[aria-pressed="true"] .hs-icon-play { display:block; }
.hs-pause svg rect,
.hs-pause svg polygon { fill:currentColor; stroke:none; }
.hs-dots { display:flex; align-items:center; justify-content:center; gap:6px; flex:1; }
.hs-dot {
  width:8px; height:8px; border-radius:50%; padding:0; border:0; cursor:pointer;
  background:rgba(255,255,255,.32); font:inherit;
}
.hs-dot.is-on { background:var(--gold); width:22px; border-radius:999px; }
.hs-dot:focus-visible { outline:2px solid var(--gold-light); outline-offset:2px; }
.hs-note { font-size:.75rem; color:#9AABC0; margin:10px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .hs-slide { transition:none; }
}

/* Trust strip — real facts only */
.trust { background:rgba(0,0,0,.18); border-top:1px solid rgba(255,255,255,.08); }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.trust-item { padding:22px 20px 24px; border-inline-end:1px solid rgba(255,255,255,.08); }
.trust-item:last-child { border-inline-end:0; }
.trust-item .lab { font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#9AABC0; margin-bottom:6px; }
.trust-item strong { display:block; font-size:1.15rem; font-weight:700; color:#fff; letter-spacing:-0.02em; }
.trust-item span { display:block; font-size:.82rem; color:#C5D2E3; margin-top:4px; }

/* Slim CIPS row — not a featured block */
.cips-slim { background:var(--bg); border-block:1px solid var(--line); padding:16px 0; }
.cips-slim .row {
  display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px;
}
.cips-slim img { height:28px; width:auto; }
.cips-slim .copy { flex:1; min-width:220px; }
.cips-slim h2 { font-size:1.05rem; margin:0; font-weight:600; }
.cips-slim p { color:var(--muted); font-size:.88rem; margin:2px 0 0; }
.cips-slim .from { color:var(--navy); font-weight:700; }
.cips-slim .actions { display:flex; flex-wrap:wrap; gap:8px; }

/* Course cards etc. */
.cards { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.card { background:#fff; border-radius:20px; overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid #E6EEF5; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; text-decoration:none !important; color:inherit; }
a.card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.card .media { display:block; aspect-ratio:16/10; overflow:hidden; background:#d9e3ee; position:relative; }
.card .media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.card .body { padding:14px 14px 16px; display:flex; flex-direction:column; flex:1; gap:8px; }
.card h3 { font-size:1rem; margin:0; color:var(--navy); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; letter-spacing:-0.01em; }
a.card:hover h3 { color:var(--blue); }
.card .meta { margin-top:auto; padding-top:4px; }
.card .price { font-size:1.15rem; font-weight:700; color:var(--navy); }
.card.hidden { display:none; }
.tag { display:inline-flex; align-self:start; font-size:.64rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); background:#E8F3FC; padding:4px 8px; border-radius:999px; }
.filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px; }
.filter { border:1px solid #D7E3F0; background:#fff; color:var(--navy); border-radius:999px; padding:8px 14px; font:inherit; font-size:.85rem; font-weight:600; cursor:pointer; }
.filter.is-on, .filter:hover { background:var(--blue); color:#fff; border-color:var(--blue); }

.cat-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.cat-tile { display:flex; flex-direction:column; align-items:start; gap:12px; background:#fff; border:1px solid #E6EEF5; border-radius:16px; padding:18px 16px 16px; color:var(--navy); box-shadow:var(--shadow-sm); font-weight:600; font-size:.92rem; }
.cat-tile:hover { border-color:var(--blue); color:var(--blue); }
.cat-tile svg { width:22px; height:22px; stroke:var(--blue); fill:none; stroke-width:1.8; }

.dates { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.date-card { background:#fff; border-radius:18px; padding:20px 18px 18px; border:1px solid #E6EEF5; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:6px; }
.date-card .series { font-size:.72rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); }
.date-card h3 { font-size:1.05rem; }
.date-card p { font-size:.88rem; color:var(--muted); }
.date-card .more { margin-top:auto; padding-top:10px; font-size:.82rem; font-weight:600; color:var(--blue); }
.date-note { margin-top:16px; font-size:.85rem; color:var(--muted); }

.video-facade { position:relative; border-radius:24px; overflow:hidden; background:#0F2A5C; aspect-ratio:16/9; box-shadow:var(--shadow); }
.video-facade img { width:100%; height:100%; object-fit:cover; }
.video-facade button { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:linear-gradient(180deg, rgba(11,28,51,.15), rgba(11,28,51,.4)); border:0; color:#fff; cursor:pointer; font:inherit; font-weight:600; }
.video-facade .play { width:72px; height:72px; border-radius:50%; background:var(--cyan); color:var(--navy); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(8,176,248,.35); }
.video-facade .play svg { width:28px; height:28px; margin-inline-start:3px; }
.video-facade iframe { width:100%; height:100%; border:0; position:absolute; inset:0; }
.video-caption { margin-top:12px; font-size:.88rem; color:var(--muted); }

.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.why-card { background:#fff; border-radius:18px; padding:24px 22px 22px; border:1px solid #E6EEF5; box-shadow:var(--shadow-sm); position:relative; }
.why-card::before { content:""; position:absolute; inset-inline-start:0; top:18px; bottom:18px; width:4px; background:var(--cyan); border-radius:0 2px 2px 0; }
.why-card h3,.why-card p { padding-inline-start:10px; }
.why-card h3 { letter-spacing:-0.01em; }
.why-card p { color:var(--muted); font-size:.92rem; margin-top:8px; }
.stats-band { background:var(--bg-soft); padding:8px 0 72px; }
#why { padding-bottom:28px; }
.stats { display:grid; grid-template-columns:repeat(4,1fr); text-align:center; background:var(--navy); color:#fff; border-radius:24px; padding:28px 16px; }
.stat { position:relative; padding:4px 8px; }
.stat strong, .stat b { display:block; font-size:clamp(1.6rem, 3vw, 2.2rem); font-weight:700; color:#fff; }
.stat span { font-size:.85rem; color:#C5D2E3; }
.stat + .stat::before { content:""; position:absolute; inset-inline-start:0; top:16%; bottom:16%; width:1px; background:rgba(255,255,255,.16); }

.city-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.city-tile { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid #E6EEF5; border-radius:14px; padding:12px 14px; color:var(--navy); font-weight:600; font-size:.92rem; box-shadow:0 4px 12px rgba(15,42,92,.04); }
.city-tile svg { width:16px; height:16px; flex-shrink:0; stroke:var(--cyan); fill:none; stroke-width:2; }

.reviews { display:flex; gap:16px; overflow:auto; scroll-snap-type:x mandatory; padding-bottom:8px; }
.review { flex:0 0 340px; scroll-snap-align:start; background:#fff; border:1px solid #E6EEF5; border-radius:18px; padding:22px 20px 18px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:12px; }
.stars { color:#F5B400; letter-spacing:2px; font-size:.9rem; }
.review blockquote { font-size:.95rem; color:var(--text); flex:1; }
.review .who { font-size:.85rem; font-weight:600; color:var(--navy); border-top:1px solid var(--line); padding-top:12px; }
.g-badge { color:var(--muted); font-size:.92rem; margin:0 0 20px; max-width:40rem; }

.cta-band { background:linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); color:#fff; padding:64px 0; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#D6E4F5; max-width:42rem; margin:10px 0 22px; }
.cta-band .btn-outline, .cta-band .btn-ghost-gold { background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.cta-band .btn-outline:hover, .cta-band .btn-ghost-gold:hover { background:rgba(255,255,255,.12); color:#fff; }

.site { background:var(--navy-deep); border-top:1px solid rgba(255,255,255,.08); padding:48px 0 28px; color:#E8EEF6; }
.foot-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:28px; }
.logo-mark { height:56px; width:56px; border-radius:50%; margin-bottom:4px; }
.site p { color:#B7C4D6; margin:12px 0 16px; max-width:26rem; font-size:.92rem; }
.social, .socials { display:flex; gap:14px; flex-wrap:wrap; }
.social a, .socials a { color:#E8EEF6; font-weight:600; font-size:.85rem; }
.social a:hover { color:#fff; }
.site h3 { font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--cyan); margin-bottom:12px; }
.site ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.site li, .site li a { color:#E8EEF6; font-size:.92rem; }
.site li a:hover { color:#fff; }
.legal { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:28px; padding-top:16px; border-top:1px solid rgba(255,255,255,.1); font-size:.8rem; color:#8FA0B5; }
.mobile-bar { display:none; }

@media (max-width:1100px) {
  .cards, .dates, .city-grid { grid-template-columns:repeat(3,1fr); }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
  .why-grid, .stats, .foot-grid, .trust-grid { grid-template-columns:1fr 1fr; }
  .trust-item:nth-child(2) { border-inline-end:0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom:1px solid rgba(255,255,255,.08); }
  .hero-grid { gap:24px; }
}
@media (max-width:820px) {
  :root { --header-h:58px; --bottom-bar:64px; }
  .preview-banner { font-size:.68rem; padding:6px 10px; line-height:1.35; }
  .wrap { padding-inline:20px; }
  .menu-toggle { display:inline-flex; }
  nav.primary { display:none; position:absolute; left:0; right:0; top:100%; background:var(--navy); border-bottom:1px solid rgba(255,255,255,.08); padding:16px 20px 20px; box-shadow:var(--shadow); }
  nav.primary.open { display:block; }
  nav.primary ul { flex-direction:column; align-items:start; gap:12px; }
  .header-cta { display:none; }
  .lang-switch { margin-inline-start:auto; }
  .header-inner { position:relative; }
  .topbar-contacts .addr, .topbar-contacts .mail { display:none; }
  .topbar .lang { display:none; }
  .hero-grid { grid-template-columns:1fr; padding-bottom:16px; }
  .hero h1 { font-size:1.9rem; max-width:none; }
  .hero .finder-bar { grid-template-columns:1fr auto; padding-inline-start:14px; }
  .hero-slider { margin-top:8px; margin-bottom:12px; }
  .hs-slide { padding:22px 20px 18px; }
  .hs-slide h3 { font-size:1.12rem; }
  .hs-nav, .hs-pause { width:36px; height:36px; }
  .section { padding:52px 0; }
  .section-head { flex-direction:column; align-items:start; }
  .cards, .dates, .cat-grid, .city-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
  .stat:nth-child(odd)::before { display:none; }
  .mobile-bar { display:grid; grid-template-columns:1fr 1fr; position:fixed; left:0; right:0; bottom:0; z-index:60; background:#fff; border-top:1px solid var(--line); padding:8px 12px calc(8px + env(safe-area-inset-bottom)); gap:8px; box-shadow:0 -8px 24px rgba(15,42,92,.08); }
  .mobile-bar .btn { width:100%; padding:12px 10px; }
}
@media (max-width:560px) {
  .wrap { padding-inline:20px; }
  .card h3 { font-size:.86rem; }
  .why-grid, .foot-grid, .cat-grid, .dates, .city-grid, .stats, .trust-grid { grid-template-columns:1fr; }
  .trust-item { border-inline-end:0; border-bottom:1px solid rgba(255,255,255,.08); padding:16px 0; }
  .trust-item:last-child { border-bottom:0; }
  .logo img { height:44px; width:44px; }
  .review { flex-basis:88%; }
  .stats .stat + .stat::before { display:none; }
  .hero .finder-bar { grid-template-columns:1fr; border-radius:18px; padding:8px; }
  .hero .finder-bar button { width:100%; }
  [dir="rtl"] .why-card::before { border-radius:2px 0 0 2px; }
}

.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }


.reviews-strip { padding: 40px 0; background: var(--bg-soft); }
.reviews-strip h2 { margin-bottom: 6px; }
.reviews-line { display:grid; grid-template-columns:repeat(4,1fr); gap:0 8px; }
.review-mini { padding: 4px 16px 4px 18px; border-inline-start:1px solid var(--line); min-width:0; }
.review-mini:first-child { border-inline-start:0; padding-inline-start:0; }
.review-mini .stars { color:#F5B400; letter-spacing:1px; font-size:.75rem; }
.review-mini blockquote { font-size:.82rem; line-height:1.45; color:var(--text); margin:4px 0 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.review-mini .who { font-size:.75rem; font-weight:600; color:var(--navy); margin-top:6px; }
.cards { grid-template-columns:repeat(5,1fr); gap:14px; }

@media (max-width:1100px) { .cards { grid-template-columns:repeat(3,1fr); } }
@media (max-width:820px) { .cards { grid-template-columns:repeat(2,1fr); gap:12px; } }

.card h3 { font-size:.88rem; letter-spacing:-0.01em; }
.card .when { font-size:.75rem; color:var(--muted); line-height:1.4; }

@media (max-width:820px) {
  .reviews-line { display:flex; overflow:auto; scroll-snap-type:x mandatory; gap:0; }
  .review-mini { flex:0 0 250px; scroll-snap-align:start; }
}
    .mobile-bar .btn-primary { font-size:.78rem; letter-spacing:0; padding-inline:8px; }
    /* v10 palette */

    a { color:var(--navy-mid); }
    a:hover { color:var(--gold-dark); }
    .eyebrow { color:var(--gold-dark); }
    .eyebrow::before { background:var(--gold); }
    .preview-banner { background:var(--gold-dim); color:#6B4E10; border-bottom:1px solid #E4D19A; }
    .topbar { background:var(--navy-deep); border-bottom:1px solid rgba(201,162,39,.25); }
    .topbar a:hover { color:var(--gold-light); }
    .topbar svg { fill:var(--gold); }
    .lang a[aria-current="page"] { background:rgba(201,162,39,.18); color:var(--gold-light); }
    .site-header { background:rgba(11,31,58,.94); border-bottom:1px solid rgba(201,162,39,.28); }
    nav.primary a:hover { color:var(--gold-light); }
    .menu-toggle { border-color:rgba(201,162,39,.45); color:var(--gold-light); }
    .lang-switch a:hover { color:var(--gold-light); }
    .lang-switch a[aria-current="page"] { color:var(--gold-light); background:rgba(201,162,39,.18); }
    .btn-primary { background:var(--gold); color:var(--navy-deep); }
    .btn-primary:hover { background:var(--gold-light); color:var(--navy-deep); }
    .btn-gold { background:var(--gold); color:var(--navy-deep); }
    .btn-gold:hover { background:var(--gold-light); color:var(--navy-deep); }
    .btn-navy, .btn-dark { background:var(--navy); color:#fff; }
    .btn-navy:hover, .btn-dark:hover { background:var(--navy-deep); color:#fff; }
    .btn-outline:hover { border-color:var(--navy); color:var(--navy); background:transparent; }
    .hero .eyebrow { color:var(--gold-light); }
    .hero .eyebrow::before { background:var(--gold-light); }
    .hero h1 em, .hero h1 .accent { color:var(--gold-light); }
    .hero-search {
      background:#fff; border-radius:18px; padding:16px 16px 14px;
      box-shadow:0 18px 40px rgba(7,21,38,.22); border:1px solid rgba(201,162,39,.22);
    }
    .hero-search .eyebrow { color:var(--gold-dark); margin-bottom:10px; }
    .hero-search .eyebrow::before { background:var(--gold); }
    .hero .finder-bar {
      background:transparent; box-shadow:none; border-radius:0; padding:0;
      gap:8px;
    }
    .hero .finder-bar input {
      border:1px solid var(--line); border-radius:10px; background:#F6F3EB;
      padding:12px 14px; color:var(--navy);
    }
    .hero .popular { margin-top:14px; }
    .hero .chip:hover { border-color:var(--gold); color:var(--gold-light); }
    .hs-when span { color:var(--gold-dark); }
    .hs-slide:hover { box-shadow:inset 0 0 0 1px rgba(201,162,39,.45); }
    .hs-dot.is-on { background:var(--gold); }
    a.card:hover h3 { color:var(--gold-dark); }
    .tag { color:var(--gold-dark); background:var(--gold-dim); }
    .filter.is-on, .filter:hover { background:var(--gold); color:var(--navy-deep); border-color:var(--gold); }
    .cat-tile:hover { border-color:var(--gold); color:var(--gold-dark); }
    .cat-tile svg { stroke:var(--gold-dark); }
    .date-card .series, .date-card .more { color:var(--gold-dark); }
    .video-facade .play { background:var(--gold); color:var(--navy-deep); box-shadow:0 10px 24px rgba(201,162,39,.35); }
    .why-card::before { background:var(--gold); }
    .city-tile svg { stroke:var(--gold); }
    .cta-band { background:linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
    .site h3 { color:var(--gold); }
    .stat { }
  
body.ke-home-v10 .preview-banner { display:none; }


/* Homepage only: hide leftover global header chrome from wp_body_open
   (.top-slider-wrapper is the blue “ATHE Approved Centre / Globally Recognized
   UK Qualifications” bar; .ke-mobile-topbar is the fixed mobile header with
   CIPS/ATHE logos, Visit Campus, and the old contact row). */
body.ke-home-v10 .top-slider-wrapper,
body.ke-home-v10 .ke-mobile-topbar,
body.ke-home-v11 .top-slider-wrapper,
body.ke-home-v11 .ke-mobile-topbar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* The mobile top bar otherwise adds body padding-top: 82px at max-width 768px. */
@media (max-width: 768px) {
  body.ke-home-v10 {
    padding-top: 0 !important;
  }
}


/* ========== v11 clarity (local copy only, not live until approved) ========== */
/* Stronger secondary text: #5C6775 on cream felt washed out. */
:root { --muted:#3F4B59; }

/* Hide the leftover TranslatePress edge tab. Language is already in the header. */
body.ke-home-v10 .trp-language-switcher.trp-floating-switcher,
body.ke-home-v10 .trp-floating-switcher,
body.ke-home-v11 .trp-language-switcher.trp-floating-switcher,
body.ke-home-v11 .trp-floating-switcher {
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* One language control: keep the header switch, drop the duplicate in the top bar. */
.topbar .lang { display:none; }

/* Hero: brighter intro and chip labels so the opening block is easier to read. */
.hero .sub { color:#E8EEF6; font-size:1.08rem; line-height:1.65; }
.hero .popular .lab { color:#D5DEE9; }
.hs-count { color:#D5DEE9; }
.hs-range { color:#F2F6FB; }
.hs-meta { color:#D5DEE9; }
.hs-note { font-size:.85rem; color:#D5DEE9; line-height:1.55; margin-top:12px; }

/* Trust strip: labels and supporting lines were 11px grey-on-navy. */
.trust-item { padding:24px 20px 26px; }
.trust-item .lab { font-size:.75rem; color:#C5D2E3; letter-spacing:.10em; }
.trust-item span { font-size:.9rem; color:#E4EBF3; margin-top:6px; }

/* Course catalogue: four columns on desktop so titles are not a cramped wall of text. */
.cards { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.card .body { padding:16px 16px 18px; gap:10px; }
.card h3 { font-size:.95rem; line-height:1.35; -webkit-line-clamp:3; }
.card .when { font-size:.82rem; color:var(--muted); line-height:1.45; }
.card .price { font-size:1.2rem; }
@media (max-width:1100px) { .cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:820px) { .cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
@media (max-width:560px) { .card h3 { font-size:.9rem; } .card .when { font-size:.8rem; } }

/* CIPS slim row and other muted lines */
.cips-slim p, .lede, .video-caption, .date-note, .date-card p, .g-badge { color:var(--muted); }
.legal { color:#B7C4D6; }

/* Mobile contact bar: keep it, but sit it above leftover plugin chrome. */
@media (max-width:820px) {
  :root { --bottom-bar:72px; }
  .mobile-bar { z-index:70; }
}


/* ========== 2026-11-22: mobile 3-up grids, location flags (t170u/t171u) ========== */

/* --- Location flags (desktop + mobile, EN + AR) --- */
.city-tile .flag {
  width:22px; height:16.5px; flex-shrink:0; display:block;
  border-radius:3px; object-fit:cover;
  box-shadow:0 0 0 1px rgba(15,42,92,.14), 0 1px 3px rgba(15,42,92,.18);
}
.city-tile .city-name { min-width:0; line-height:1.3; }


/* --- MOBILE ONLY: 3 per row for categories and locations --- */
@media (max-width:820px) {
  .cat-grid, .city-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:8px !important; }

  .cat-tile {
    flex-direction:column; align-items:center; justify-content:flex-start; text-align:center;
    gap:7px; padding:12px 6px 11px; border-radius:12px;
    font-size:.74rem; line-height:1.25; font-weight:600;
    overflow-wrap:anywhere; hyphens:auto; min-height:92px;
  }
  .cat-tile svg { width:20px; height:20px; }

  .city-tile {
    flex-direction:column; align-items:center; justify-content:flex-start; text-align:center;
    gap:6px; padding:10px 5px; border-radius:11px;
    font-size:.72rem; line-height:1.25; overflow-wrap:anywhere; min-height:72px;
  }
  .city-tile .flag { width:24px; height:18px; }

}
@media (max-width:374px) {
  .cat-tile { font-size:.69rem; padding:11px 4px 10px; }
  .city-tile { font-size:.68rem; padding:9px 4px; }
}
html[dir="rtl"] .cat-tile, html[dir="rtl"] .city-tile { letter-spacing:0; }
