/* home-plus v1.0 · "Most booked" stamp on the TEFL card, TEFL / Speaking Dose tabs for the wheel, accreditation logos, rating badge */
:root{--hp-coral:#FF6B4A;--hp-coral-2:#FF9A5C}

/* the TEFL card gets a coral edge and a stamp: one accent colour that breaks the violet + yellow rhythm */
#hot .hot-card.a{border-color:rgba(255,154,92,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 0 0 1px rgba(255,107,74,.3),0 30px 70px -30px rgba(255,107,74,.55)}
#hot .hot-card.a h3{padding-inline-end:96px}
#hot .hot-card.a .hot-save{top:auto;bottom:24px}
.hp-stamp{position:absolute!important;top:14px;inset-inline-end:14px;z-index:3!important;width:92px;height:92px;border-radius:50%;display:grid;place-content:center;justify-items:center;gap:2px;text-align:center;color:#fff;background:radial-gradient(circle at 30% 25%,var(--hp-coral-2),var(--hp-coral) 55%,#E2452B);box-shadow:0 12px 26px -10px rgba(226,69,43,.8),inset 0 0 0 3px rgba(255,255,255,.18);transform:rotate(-12deg);animation:hpStamp 3.4s ease-in-out infinite}
.hp-stamp::before{content:"";position:absolute;inset:6px;border-radius:50%;border:1.5px dashed rgba(255,255,255,.7)}
.hp-stamp svg{width:26px;height:20px;fill:#FAE559;filter:drop-shadow(0 0 6px rgba(250,229,89,.8))}
.hp-stamp b{max-width:66px;font:800 11px/1.05 Poppins,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.hp-stamp small{font:700 10.5px/1.1 var(--f-ar,'IBM Plex Sans Arabic',sans-serif)}
@keyframes hpStamp{0%,100%{transform:rotate(-12deg) scale(1)}50%{transform:rotate(-7deg) scale(1.06)}}

/* wheel: pick the course */
.wh-tabs{display:inline-grid;grid-template-columns:1fr 1fr;gap:6px;margin:24px 0 4px;padding:6px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18)}
.wh-tabs button{display:grid;gap:2px;justify-items:start;min-height:56px;padding:10px 18px;border:0;border-radius:13px;background:transparent;color:#fff;font:700 16px/1.2 Poppins,sans-serif;text-align:start;cursor:pointer;transition:background .25s,color .25s,box-shadow .25s}
.wh-tabs button small{font:500 12.5px/1.3 Poppins,sans-serif;opacity:.78}
.wh-tabs button:hover{background:rgba(255,255,255,.1)}
.wh-tabs button[aria-selected=true]{background:#FAE559;color:#160C4E;box-shadow:0 10px 24px -12px rgba(250,229,89,.9)}
.wh-tabs button:focus-visible{outline:2px solid #FAE559;outline-offset:2px}
.wh-panels [data-wheel][hidden]{display:none!important}

/* accreditation stat with the two logos */
.stat-acc .acc-logos{display:flex;gap:8px;margin-top:10px}
.stat-acc .acc-logos img{width:46px;height:46px;padding:4px;border-radius:12px;background:#fff;object-fit:contain;box-shadow:0 6px 16px -10px rgba(22,12,78,.5)}

/* rating badge (shown only with enough approved reviews) */
.rt-badge{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;width:fit-content;max-width:100%;margin:0 auto clamp(28px,4vw,44px);padding:14px 28px;border-radius:999px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#24187A,#4430BC);box-shadow:0 0 0 1px rgba(250,229,89,.45),0 0 40px -6px rgba(250,229,89,.55),0 24px 50px -24px rgba(22,12,78,.7);animation:rtGlow 3s ease-in-out infinite}
.rt-badge[hidden]{display:none}
.rt-num{font:900 34px/1 Poppins,sans-serif;color:#FAE559;text-shadow:0 0 22px rgba(250,229,89,.7)}
.rt-num small{font-size:16px;font-weight:700;color:#E4DFFB;text-shadow:none}
.rt-stars{position:relative;display:inline-block;font-size:24px;line-height:1;letter-spacing:3px;color:rgba(255,255,255,.25)}
.rt-stars i{position:absolute;inset:0 auto 0 0;overflow:hidden;white-space:nowrap;font-style:normal;color:#FAE559;text-shadow:0 0 14px rgba(250,229,89,.85)}
.rt-txt{font:600 14.5px Poppins,sans-serif;color:#E4DFFB}
.rt-badge:hover .rt-txt{text-decoration:underline}
@keyframes rtGlow{50%{box-shadow:0 0 0 1px rgba(250,229,89,.75),0 0 64px -4px rgba(250,229,89,.75),0 24px 50px -24px rgba(22,12,78,.7)}}

@media (max-width:820px){
 #hot .hot-card.a h3{padding-inline-end:84px}
 .hp-stamp{width:80px;height:80px;top:12px;inset-inline-end:12px}
 .hp-stamp b{font-size:10px;max-width:58px}
 .wh-tabs{display:grid;width:100%}
 .rt-badge{border-radius:24px;padding:14px 20px}
}
@media (prefers-reduced-motion:reduce){.hp-stamp,.rt-badge{animation:none}}
html.calm .hp-stamp,html.calm .rt-badge{animation:none}

/* ==== hero video v2 · 17 Nov 2026 · self-hosted clip, stronger on desktop, portrait clip on phones (home-fx.js 1.4) ==== */
section.hero .hero-broll{filter:saturate(.5) contrast(1.12) brightness(1.05);mix-blend-mode:luminosity}
section.hero .hero-broll.is-on{opacity:.62}
section.hero .hero-veil{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity 1.8s ease;background:linear-gradient(90deg,rgba(40,24,140,.78) 0%,rgba(40,24,140,.5) 42%,rgba(40,24,140,.08) 75%),linear-gradient(0deg,rgba(40,24,140,.55),rgba(40,24,140,0) 35%)}
section.hero.has-broll .hero-veil{opacity:1}
body.glow section.hero .hero-veil{background:linear-gradient(90deg,rgba(14,8,48,.85) 0%,rgba(14,8,48,.55) 42%,rgba(14,8,48,.1) 75%),linear-gradient(0deg,rgba(14,8,48,.6),rgba(14,8,48,0) 35%)}
/* phones and tall screens: portrait clip fills the first screen only, then fades into the hero colour */
section.hero .hero-broll.tall{height:min(100%,100svh);bottom:auto;object-position:50% 30%;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
section.hero .hero-broll.tall.is-on{opacity:.6}
section.hero .hero-broll.tall~.hero-veil{height:min(100%,100svh);bottom:auto;background:linear-gradient(180deg,rgba(40,24,140,.3) 0%,rgba(40,24,140,.55) 45%,rgba(40,24,140,0) 100%)}
body.glow section.hero .hero-broll.tall~.hero-veil{background:linear-gradient(180deg,rgba(14,8,48,.35) 0%,rgba(14,8,48,.6) 45%,rgba(14,8,48,0) 100%)}
/* ==== end hero video v2 ==== */
