/*
Theme Name: The English Academy Fez — Rich Homepage V3
Theme URI: https://theenglishacademy.ma/
Author: The English Academy
Description: Authentic Academy website with original server-verified 60-second word-search, course pages, founder timeline and authentic premises imagery.
Version: 9.0.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: english-academy-v2
*/
:root{--navy:#061d3e;--blue:#0758c9;--gold:#ffbe23;--ink:#10264a;--muted:#586a83;--line:#dce6f2;--bg:#f3f7fc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:white}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.wrap{width:min(1180px,calc(100% - 36px));margin:auto}.topline{background:var(--navy);color:#cbdcf5;font-size:12px;padding:9px 0}.topline .wrap{display:flex;justify-content:space-between;gap:12px}.site-head{position:sticky;top:0;z-index:20;background:#fffefaee;backdrop-filter:blur(16px);box-shadow:0 4px 24px #071d3c13}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}.brand img{width:220px;max-height:72px;object-fit:contain}.links{display:flex;align-items:center;gap:24px;font-weight:700;font-size:13px}.links a:hover{color:var(--blue)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:14px 20px;font-weight:800;font-size:14px;border:1px solid transparent;transition:.2s}.btn:hover{transform:translateY(-2px)}.btn-gold{background:var(--gold);color:#092347}.btn-blue{background:var(--blue);color:white}.btn-light{border-color:#b5c9e3;background:#fff;color:var(--navy)}.menu-toggle{display:none}.hero{background:radial-gradient(circle at 75% 10%,#164b89 0%,transparent 36%),linear-gradient(125deg,#061a38,#082d61);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:28px;align-items:center;padding:54px 0 48px}.eyebrow{display:inline-flex;align-items:center;gap:8px;letter-spacing:2px;text-transform:uppercase;font-size:11px;font-weight:800;color:var(--gold)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,5.5vw,75px);letter-spacing:-3px;line-height:1.04;margin:17px 0 19px}h1 em{font-style:normal;color:var(--gold)}.lead{font-size:17px;line-height:1.7;color:#d2e1f5;max-width:580px}.actions{display:flex;flex-wrap:wrap;gap:11px;margin:26px 0}.hero-proof{display:flex;gap:16px;flex-wrap:wrap;color:#dbe9fa;font-size:12px;font-weight:700}.hero-proof span:before{content:'✦';color:var(--gold);margin-right:7px}.hero-visual{position:relative}.hero-visual>img{width:100%;height:425px;object-fit:cover;border-radius:22px;box-shadow:0 26px 50px #0005}.float-card{position:absolute;bottom:-16px;left:-18px;background:white;color:var(--navy);padding:15px 20px;border-radius:12px;box-shadow:0 15px 40px #0004;font-size:13px;font-weight:800}.float-card b{font-size:25px;color:var(--blue);display:block}.ribbon{background:var(--gold);color:var(--navy);padding:13px 0;font-size:12px;font-weight:900;letter-spacing:.6px}.ribbon .wrap{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.section{padding:68px 0}.section.soft{background:var(--bg)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.kicker{color:var(--blue);font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:900;margin-bottom:9px}h2{font-size:clamp(29px,3.4vw,44px);letter-spacing:-1.5px;line-height:1.13;margin-bottom:10px}.sub{color:var(--muted);line-height:1.65;max-width:650px}.challenge-shell{display:grid;grid-template-columns:.88fr 1.12fr;background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 22px 65px #123a6715}.challenge-info{padding:35px;background:linear-gradient(145deg,#082856,#0a4b9d);color:white}.challenge-info .kicker{color:var(--gold)}.challenge-info h2{font-size:36px}.challenge-info p{color:#d4e6ff;line-height:1.65}.offer{border:1px solid #ffffff40;background:#ffffff13;padding:18px;border-radius:14px;margin:24px 0}.offer strong{display:block;font-size:33px;color:var(--gold)}.rules{padding-left:20px;color:#e2edfc;line-height:2;font-size:13px}.challenge-game{padding:28px;min-width:0}.game-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.timer{background:#fff2c9;color:#7c4d00;padding:10px 14px;border-radius:10px;font-weight:900;font-variant-numeric:tabular-nums}.level-select{border:1px solid #cbd9ea;border-radius:8px;padding:10px;max-width:190px;width:100%}.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;touch-action:none;user-select:none;max-width:310px;margin:auto}.cell{aspect-ratio:1;min-width:0;border:0;border-radius:3px;background:#eaf1f9;color:#16335b;font-size:clamp(18px,2vw,25px);font-weight:800;padding:0}.cell.selected{background:#ffd46b}.cell.found{background:#1876c6;color:white}.clues{margin:15px 0;display:flex;flex-wrap:wrap;gap:6px}.clue{font-size:11px;padding:6px 9px;border-radius:20px;background:#eaf1f9;color:#365272}.clue.done{background:#d6f4e8;color:#11724e;text-decoration:line-through}.game-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.game-status{font-size:13px;color:var(--muted)}.game-status strong{color:var(--blue)}.program-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.program{background:white;border:1px solid var(--line);padding:22px 16px;border-radius:15px;transition:.2s;min-height:206px}.program:hover{transform:translateY(-4px);box-shadow:0 12px 30px #103e7220}.program .emoji{font-size:29px;margin-bottom:13px}.program h3{font-size:19px;margin:0 0 4px}.age{color:var(--blue);font-size:12px;font-weight:900;margin-bottom:12px}.program p{font-size:13px;color:var(--muted);line-height:1.6}.story{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}.story-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px}.story-photos img{height:290px;width:100%;object-fit:cover;border-radius:14px}.story-photos img:first-child{height:340px}.story-photos img:last-child{margin-top:40px}.benefits{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.benefit{padding:15px;border:1px solid var(--line);border-radius:11px}.benefit b{display:block;margin-bottom:6px}.benefit span{font-size:12px;color:var(--muted);line-height:1.5}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:center}.form-box{background:white;border:1px solid var(--line);box-shadow:0 12px 35px #0b356017;padding:25px;border-radius:16px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field label{font-size:12px;font-weight:800}.field input,.field select{width:100%;border:1px solid #cad7e7;border-radius:8px;padding:12px;background:white}.small{font-size:12px;color:var(--muted);line-height:1.6}.consent{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.5;margin:12px 0}.consent input{margin-top:3px}.success{background:#e7f7ef;border:1px solid #98d8b9;color:#11623d;padding:12px;border-radius:10px;margin-top:12px}.error{background:#fff0ec;color:#922e19;padding:12px;border-radius:10px;margin-top:12px}.footer{background:var(--navy);color:#dce8f7;padding:35px 0}.footer-grid{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer a{text-decoration:underline}.footer small{color:#b7c9e2}.winner-panel{background:#f0f9ef;padding:16px;border:1px solid #add9aa;border-radius:12px;margin-top:15px}.winner-panel h3{color:#1b6530}.hidden{display:none!important}@media(max-width:980px){.program-grid{grid-template-columns:repeat(3,1fr)}.links{gap:12px}.brand img{width:165px}.hero-grid{grid-template-columns:1fr 1fr}.hero-visual>img{height:360px}.challenge-shell{grid-template-columns:1fr}.challenge-info{padding:25px}.challenge-info .rules{columns:2}}@media(max-width:720px){.topline{display:none}.nav{min-height:65px}.menu-toggle{display:block;border:1px solid var(--line);background:white;border-radius:8px;padding:9px}.links{display:none;position:absolute;top:65px;left:0;right:0;background:white;box-shadow:0 15px 25px #0002;padding:20px;flex-direction:column;align-items:stretch}.links.open{display:flex}.hero-grid,.story,.contact-grid{grid-template-columns:1fr}.hero-grid{padding:38px 0}.hero-visual>img{height:270px}.float-card{left:8px}.program-grid{grid-template-columns:repeat(2,1fr)}.section{padding:48px 0}.section-head{display:block}.challenge-game{padding:15px}.game-grid{gap:1px}.cell{font-size:20px}.field-row{grid-template-columns:1fr}.story-photos img,.story-photos img:first-child{height:230px}.story-photos img:last-child{margin-top:20px}.footer-grid{display:block}.benefits{grid-template-columns:1fr 1fr}}@media(max-width:390px){.program-grid{grid-template-columns:1fr}.hero-proof{gap:8px}.challenge-info .rules{columns:1}}

/* Challenge Edition v3 enhancements */
.brand img{width:230px;max-height:72px;object-fit:contain}.nav{min-height:90px}.float-card{max-width:220px}.program{padding:0 0 17px;overflow:hidden;min-height:0}.program-image{width:100%;height:125px;object-fit:cover;background:#e8f2ff;margin-bottom:15px}.program h3,.program .age,.program p{margin-left:16px;margin-right:16px}.program p{margin-bottom:0}.contact-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start;margin-top:18px}.map-card{display:flex;align-items:center;gap:12px;width:min(100%,440px);border:1px solid #cfdef0;background:white;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px #0b356015}.map-card img{width:122px;height:90px;object-fit:cover}.map-card span{display:flex;flex-direction:column;gap:5px;padding-right:10px}.map-card small{color:#506682}.game-grid{width:100%;gap:5px}.cell{border-radius:8px}.section{padding-top:54px;padding-bottom:54px}.game-status{line-height:1.5}@media(max-width:720px){.brand img{width:190px}.nav{min-height:78px}.program-image{height:135px}.game-grid{max-width:290px}.cell{font-size:21px}}

/* Challenge V4 */
.brand img{width:310px;max-height:88px}.nav{min-height:98px}.game-grid{grid-template-columns:repeat(8,minmax(0,1fr));max-width:400px;gap:3px}.cell{font-size:clamp(14px,1.55vw,20px);border-radius:5px}.challenge-game{padding:25px}.clue{font-size:12px}.site-head .wrap{width:min(1240px,calc(100% - 30px))}@media(max-width:980px){.brand img{width:235px}}@media(max-width:720px){.brand img{width:205px;max-height:70px}.nav{min-height:78px}.game-grid{max-width:340px;gap:2px}.cell{font-size:16px}.challenge-game{padding:15px}}

/* Version 6: identity-first homepage */
.topflex,.topcontacts{display:flex;align-items:center;justify-content:space-between;gap:18px}.topcontacts a{color:white}.lang-trigger{border:1px solid #ffffff66;border-radius:7px;background:#ffffff17;color:white;padding:5px 10px}.site-head{position:relative}.nav{min-height:58px}.mini-brand{font-weight:900;letter-spacing:.09em;color:#062e64;font-size:13px}.mini-brand span{color:#c89200}.links{gap:20px}.links .btn{padding:10px 16px}
.new-hero{position:relative;min-height:510px;background:#0b2244 url('assets/lobby.jpg') center 50%/cover no-repeat;color:white}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,#071b36a8 0%,#07172eb0 65%,#061b38e6 100%)}.hero-center{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:32px 0 54px;gap:12px}.hero-logo{height:auto;width:min(590px,85%);max-height:165px;object-fit:contain;filter:drop-shadow(0 7px 15px #0005)}.hero-copy{max-width:790px}.hero-kicker{font-size:12px;letter-spacing:2px;color:#ffe17d;font-weight:900}.new-hero h1{font-size:clamp(42px,5.3vw,72px);margin:8px 0 7px;letter-spacing:-2.5px;text-shadow:0 3px 12px #0006}.new-hero h1 em{color:#ffca27}.hero-second{font-weight:850;color:#ffdd70;font-size:clamp(16px,2.1vw,24px);margin:0 0 9px}.hero-description{font-size:clamp(14px,1.5vw,17px);line-height:1.55;max-width:680px;margin:0 auto;color:#f3f7ff}.hero-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px}.hero-buttons .btn{box-shadow:0 5px 18px #0003}
.challenge-band{background:linear-gradient(145deg,#f2f8ff,#fff9e9);padding:36px 0 40px}.challenge-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.challenge-intro h2{margin:0}.prize-label{background:#ffcd23;border-radius:13px;color:#092b57;padding:12px 18px;display:flex;flex-direction:column;box-shadow:0 5px 15px #daa70026}.prize-label span{font-size:19px;font-weight:950}.prize-label strong{font-size:12px}.challenge-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:16px}.challenge-explain{background:#092d61;color:white;border-radius:19px;padding:24px}.challenge-icon{font-size:32px}.challenge-explain h3{font-size:25px;margin:10px 0}.challenge-explain p{font-size:14px;line-height:1.65;color:#dce8fa}.challenge-stat-row{display:flex;justify-content:space-between;gap:10px;margin:18px 0}.challenge-stat-row span{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:23px;color:#ffcd23}.challenge-stat-row b{font-size:19px;color:white}.challenge-stat-row small{font-size:11px;color:#d9e9ff}.challenge-explain .offer-small{font-size:11px}.challenge-game{background:white;border:1px solid #dbe8f4;border-radius:19px;padding:20px;box-shadow:0 15px 35px #06264a12}.puzzle-zone{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.78fr);gap:20px;align-items:center;margin:14px 0}.game-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;max-width:340px;gap:3px}.cell{font-size:clamp(13px,1.5vw,20px);border-radius:5px}.clue-panel{align-self:stretch;background:#f2f7fe;border-radius:13px;padding:13px}.clue-panel>b{font-size:13px}.clues{display:flex;flex-direction:column;align-items:stretch;gap:6px}.clue{font-size:12px;border-radius:7px}.game-foot .btn{padding:12px 14px}.timer{background:#0c3977;color:white;font-size:19px}
.programmes-section{padding:42px 0 48px;background:#fff}.section-heading{text-align:center;margin-bottom:22px}.section-heading h2{margin:3px 0}.section-heading p{color:#61728a;margin:0}.new-program-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.new-program{overflow:hidden;background:white;border:1px solid #dbe5f1;border-radius:15px;box-shadow:0 10px 30px #0d33510d}.new-program img{height:156px;width:100%;object-fit:cover}.program-content{padding:15px 13px 17px;text-align:center}.program-content h3{font-size:20px;margin:0 0 4px}.program-content .age{font-size:13px;margin:0 0 7px}.program-content p{font-size:12px;line-height:1.5;color:#566b85;min-height:55px;margin:0 0 12px}.program-content a{display:block;background:#e6f2ff;border-radius:8px;padding:10px;font-size:12px;font-weight:900;color:#063c82}.new-program:nth-child(even) .program-content a{background:#fff1b8}
.academy-section{background:#edf5ff;padding:42px 0}.academy-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:center}.academy-layout>img{height:290px;width:100%;object-fit:cover;object-position:center 60%;border-radius:16px}.academy-layout p{line-height:1.65;color:#556980}.feature-tags{display:grid;grid-template-columns:1fr 1fr;gap:9px}.feature-tags span{padding:10px 12px;background:white;border-radius:9px;font-size:13px;font-weight:700}
.location-section{display:grid;grid-template-columns:34% 66%;min-height:365px}.location-details{background:#082954;color:white;display:flex;justify-content:flex-end}.location-content{width:min(390px,100%);padding:36px 28px}.location-content h2{margin-bottom:20px}.location-content p{line-height:1.65;color:#e1edff}.location-content .btn{font-size:12px;padding:12px}.location-map iframe{display:block;width:100%;height:100%;min-height:365px;border:0}.contact-section{padding:42px 0;background:#f5f9ff}.contact-section .contact-grid{align-items:start}.contact-section .contact-grid>div:first-child{padding-top:25px}.contact-section .contact-grid p{color:#546a83;line-height:1.6}.ea-hp{position:absolute;left:-9999px;height:1px;width:1px;overflow:hidden}
.language-backdrop{position:fixed;inset:0;background:#06152ccc;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.language-dialog{background:white;border-radius:20px;padding:28px;max-width:490px;width:100%;text-align:center;box-shadow:0 20px 80px #0006}.modal-logo{width:260px;height:110px;object-fit:contain;margin:0 auto}.language-dialog h2{font-size:24px;letter-spacing:-.5px}.language-dialog p{font-size:13px;color:#586a83}.lang-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.lang-options button{background:#f2f7ff;border:1px solid #c8d8ed;border-radius:10px;padding:15px 4px;font-weight:800}.lang-options button:hover{background:#ffe4a0}
@media(max-width:980px){.new-program-grid{grid-template-columns:repeat(3,1fr)}.challenge-layout{grid-template-columns:1fr}.new-hero{min-height:440px}.topflex{flex-wrap:wrap}.location-section{grid-template-columns:40% 60%}}
@media(max-width:720px){.topline{display:block}.topflex{flex-direction:column;align-items:center;gap:5px}.topcontacts{gap:12px;flex-wrap:wrap;justify-content:center}.mini-brand{font-size:11px}.new-hero{min-height:0}.hero-center{padding:24px 0 42px}.hero-logo{width:min(95%,430px);max-height:135px}.new-hero h1{font-size:43px}.hero-description{font-size:14px}.challenge-intro{flex-direction:column;align-items:flex-start}.puzzle-zone{grid-template-columns:1fr}.clues{display:grid;grid-template-columns:repeat(2,1fr)}.game-grid{max-width:340px}.new-program-grid{grid-template-columns:repeat(2,1fr)}.academy-layout,.location-section{grid-template-columns:1fr}.academy-layout>img{height:250px}.location-details{justify-content:center}.location-content{width:100%;padding:28px}.location-map iframe{min-height:300px}.program-content p{min-height:0}.feature-tags{grid-template-columns:1fr 1fr}}
@media(max-width:410px){.new-program-grid{grid-template-columns:1fr 1fr;gap:8px}.new-program img{height:110px}.program-content{padding:12px 8px}.program-content h3{font-size:17px}.challenge-game{padding:12px}.game-grid{gap:2px}.lang-options{gap:5px}.language-dialog{padding:16px}}

/* ================================================
   THE ENGLISH ACADEMY · EDUARCHITECT V2
   Genuine supplied images, real Academy identity
   ================================================ */
/*
Theme Name: The English Academy Fez — Rich Homepage V3
Theme URI: https://theenglishacademy.ma/
Author: The English Academy
Description: SEO-oriented WordPress theme with authentic premises, original 60-second word-search, founder story, two-teacher approach, and populated course pages.
Version: 9.0.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: english-academy-v2
*/
:root{--navy:#071d40;--blue:#0b58c7;--gold:#ffc52c;--ink:#10294c;--muted:#576d86;--line:#dce7f2;--bg:#f4f8ff;--tea-surface:#f1f6fd}
body{background:#fff;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.6}h1,h2,h3{line-height:1.13}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffbf24;outline-offset:3px}.tea-skip{position:absolute;top:-100px;left:16px;z-index:999;background:#fff;color:#071d40;padding:10px 16px;border-radius:8px}.tea-skip:focus{top:8px}.wrap{width:min(1210px,calc(100% - 40px))}.tea-topbar{background:#071d40;color:#d7e9ff;font-size:11px}.tea-top-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;min-height:30px}.tea-topbar a{text-decoration:underline}.site-head.tea-site-head{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.97);box-shadow:0 7px 30px rgba(14,41,79,.12);backdrop-filter:blur(10px)}body.admin-bar .tea-site-head{top:32px}.tea-nav{min-height:80px;gap:16px}.tea-logo{flex:0 0 auto}.tea-logo img{width:235px;height:83px;object-fit:contain}.tea-links{display:flex;gap:17px;align-items:center;font-size:12px}.tea-links>a:not(.btn){white-space:nowrap}.tea-links>a:not(.btn):hover{color:#0759bc}.tea-links .tea-nav-cta{padding:13px 18px;white-space:nowrap}.tea-menu-toggle{font-size:12px}
.tea-hero{min-height:645px;position:relative;color:#fff;isolation:isolate;overflow:hidden;background:#082654}.tea-hero-backdrop{position:absolute;inset:-16px;z-index:-3;background:url('assets/real-classroom.webp') center 48%/cover no-repeat;filter:blur(3.8px) saturate(96%)}.tea-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(5,22,52,.98) 0%,rgba(7,34,76,.91) 42%,rgba(7,35,79,.54) 100%),linear-gradient(0deg,rgba(2,18,40,.62),transparent 55%)}.tea-hero-layout{min-height:595px;padding-top:79px;padding-bottom:68px;display:grid;grid-template-columns:1.3fr .65fr;gap:40px;align-items:center}.tea-hero-content{max-width:810px}.tea-hero-eyebrow{font-weight:900;font-size:12px;letter-spacing:2.4px;color:#ffe185;display:flex;align-items:center;gap:10px}.tea-pulse{width:10px;height:10px;border-radius:50%;background:#ffd02b;box-shadow:0 0 0 5px #ffd02b30}.tea-hero h1{font-size:clamp(43px,5.2vw,73px);margin:22px 0 22px;letter-spacing:-2.6px;font-weight:900}.tea-hero h1 span{color:#ffce3b}.tea-hero-description{font-size:clamp(15px,1.45vw,18px);line-height:1.75;color:#e9f3ff;max-width:710px}.tea-hero-description strong{color:white}.tea-action-row{display:flex;gap:13px;flex-wrap:wrap;margin:28px 0 25px}.tea-btn-lg{padding:17px 23px;font-size:14px;border-radius:10px}.tea-btn-white{background:#fff;color:#083062;box-shadow:0 8px 30px #0002}.tea-hero-pills{display:flex;flex-wrap:wrap;gap:10px}.tea-hero-pills span{background:#ffffff15;border:1px solid #ffffff44;padding:6px 11px;border-radius:100px;color:#edf6ff;font-size:12px;font-weight:700}.tea-hero-side{display:flex;flex-direction:column;align-items:stretch;gap:18px;align-self:end}.tea-hero-side-card{border:1px solid #ffcf465c;border-radius:23px;background:rgba(6,32,74,.87);backdrop-filter:blur(14px);box-shadow:0 25px 70px #0003;display:flex;align-items:center;gap:14px;padding:22px;transform:rotate(1deg)}.tea-hero-side-icon{font-weight:950;font-size:39px;color:#ffcd37;line-height:1}.tea-hero-side-icon span{font-size:18px}.tea-hero-side-card>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.tea-hero-side-card small{color:#ffd95e;letter-spacing:1.3px;font-size:9px;font-weight:900}.tea-hero-side-card strong{font-size:17px;line-height:1.2}.tea-hero-side-card span{font-size:11px}.tea-hero-side-card>a{font-size:24px;color:#ffcf3e}.tea-real-photo{font-size:10px;text-align:right;color:#f5f7fd;letter-spacing:.6px}.tea-hero-bottom{padding:13px 20px;background:#ffd038;color:#072750;text-align:center;font-size:12px;letter-spacing:2.5px;font-weight:900}.tea-hero-bottom b{color:#1353a1;margin:0 23px}
.tea-course-strip{padding:65px 0 77px;background:#fff}.tea-course-strip-head{text-align:center;margin-bottom:28px}.tea-course-strip-head>span{font-size:11px;color:#1767c7;letter-spacing:2px;font-weight:900}.tea-course-strip-head h2{font-size:clamp(30px,3.5vw,44px);margin:10px 0}.tea-path-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.tea-path{min-height:234px;border:1px solid #dfe8f3;background:#fff;border-radius:17px;padding:20px 17px;position:relative;box-shadow:0 8px 26px #0826500b;transition:transform .18s,box-shadow .18s}.tea-path:hover{transform:translateY(-5px);box-shadow:0 14px 30px #113d711c}.tea-path-icon{height:49px;width:49px;border-radius:15px;background:#e7f1ff;color:#0c59be;display:grid;place-items:center;font-size:28px;font-weight:900;margin-bottom:18px}.tea-path:nth-child(even) .tea-path-icon{background:#fff3c7;color:#9c6d00}.tea-path strong{display:block;font-size:16px;margin-bottom:9px}.tea-path p{font-size:12px;color:#51647f;line-height:1.65}.tea-round-arrow{width:28px;height:28px;border-radius:100px;background:#ffcf42;position:absolute;right:12px;bottom:12px;display:grid;place-items:center;font-weight:900}
.tea-game-highlight{background:#071d40;padding:51px 0 69px}.tea-game-titlebar{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-bottom:28px;color:white}.tea-section-kicker{font-weight:950;font-size:11px;letter-spacing:2px;color:#1c67bd;display:block;margin-bottom:13px}.tea-kicker-yellow{color:#ffcd42}.tea-game-titlebar h2{color:white;font-size:clamp(32px,4.1vw,55px);margin:6px 0 12px;letter-spacing:-2px}.tea-game-titlebar h2 em{color:#ffcb32;font-style:normal}.tea-game-titlebar p{color:#d9e8fb;font-size:15px;max-width:610px}.tea-prize-stamp{display:flex;flex-direction:column;align-items:center;text-align:center;background:#ffd03a;color:#071d40;border-radius:18px;padding:15px 23px;box-shadow:0 10px 0 #e19d0f;transform:rotate(2deg)}.tea-prize-stamp span{font-size:10px;letter-spacing:1.3px;font-weight:900}.tea-prize-stamp strong{font-size:35px;line-height:1.25}.tea-prize-stamp small{font-size:12px;font-weight:800}.tea-challenge-layout{grid-template-columns:.75fr 1.25fr;gap:20px}.tea-game-explain{padding:29px;background:linear-gradient(150deg,#0b438e,#092a5c);border:1px solid #335fa0;display:flex;flex-direction:column;align-items:flex-start}.tea-game-super{font-weight:900;font-size:10px;letter-spacing:2px;color:#ffcb39}.tea-game-watch{font-size:83px;margin:10px 0;line-height:1.15}.tea-game-explain h3{font-size:clamp(26px,3vw,38px);line-height:1.18;letter-spacing:-1px}.tea-game-explain h3 span{color:#ffcd38}.tea-game-explain p{font-size:14px}.tea-challenge-game{box-shadow:0 25px 55px #0002;padding:27px}.tea-level-label{display:flex;flex-direction:column;font-weight:800;font-size:12px;color:#123962;gap:4px}.tea-level-label select{max-width:240px}.tea-game-highlight .game-grid{max-width:385px}.tea-game-highlight .cell{background:#ecf3ff;border:1px solid #d5e4f5;border-radius:7px;font-size:clamp(13px,1.4vw,19px)}.tea-game-highlight .cell.selected{background:#ffe278}.tea-game-highlight .cell.found{background:#0b6aba;color:white}.tea-game-highlight .clue-panel{background:#f2f7ff}.tea-game-highlight .game-foot .btn{font-weight:900}.tea-game-highlight .game-status{font-size:12px}.ea-hp{position:absolute;left:-9999px;overflow:hidden;height:1px;width:1px}
.tea-section{padding:91px 0}.tea-why{background:linear-gradient(145deg,#f7faff,#edf4fe)}.tea-why-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:62px;align-items:center}.tea-section h2{font-size:clamp(33px,3.8vw,50px);letter-spacing:-1.7px;margin-bottom:19px}.tea-section h2 span{color:#125bb9}.tea-section p{font-size:15px;line-height:1.85;color:#566b85}.tea-lead-text{font-size:18px!important;line-height:1.6!important;color:#183960!important}.tea-steps-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin:26px 0}.tea-steps-grid>div{border:1px solid #cfdef0;border-radius:14px;background:white;padding:18px}.tea-steps-grid span{font-size:12px;font-weight:900;color:#1268cd;display:block;margin-bottom:8px}.tea-steps-grid strong{display:block;font-size:15px;color:#092b56}.tea-steps-grid small{color:#5b7190;display:block;font-size:12px;line-height:1.5;margin-top:5px}.tea-text-link{display:inline-flex;gap:13px;align-items:center;color:#0d58b3;font-size:14px;font-weight:900;border-bottom:2px solid #ffc62e;padding-bottom:7px}.tea-why-visual{position:relative}.tea-why-visual img{width:100%;height:510px;object-fit:cover;border-radius:25px;box-shadow:0 26px 55px #0a326128}.tea-why-label{position:absolute;bottom:-23px;left:-31px;border-radius:16px;background:#ffd13a;padding:19px 26px;box-shadow:0 17px 36px #071e3c26;display:flex;flex-direction:column;transform:rotate(-2deg)}.tea-why-label b{font-size:11px;letter-spacing:1px}.tea-why-label strong{font-size:22px;color:#082a60;line-height:1.25}
.tea-founder-section{background:white}.tea-founder-top{display:grid;grid-template-columns:315px 1fr;gap:50px;align-items:center}.tea-founder-photo{position:relative;background:#e4edf8;border-radius:24px;overflow:hidden}.tea-founder-photo img{height:343px;width:100%;object-fit:cover;object-position:center 10%;filter:saturate(96%)}.tea-founder-photo-caption{background:#0c4ca1;color:white;text-align:center;padding:12px;font-size:11px;font-weight:850;letter-spacing:1px}.tea-founder-top .btn{margin-top:12px}.tea-timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:58px;position:relative}.tea-timeline:before{content:"";position:absolute;height:3px;background:#bad6f8;top:13px;left:5%;right:5%}.tea-timeline>div{position:relative;text-align:center;padding:36px 7px 0}.tea-timeline>div:before{content:"";position:absolute;top:6px;left:calc(50% - 8px);height:16px;width:16px;border-radius:50%;background:#105fc4;border:4px solid white;box-shadow:0 0 0 2px #105fc4}.tea-timeline span{display:block;font-size:12px;color:#0a56b0;font-weight:950}.tea-timeline b{display:block;font-size:13px;color:#082957;margin:5px 0}.tea-timeline small{font-size:11px;color:#667b91;line-height:1.45;display:block}
.tea-b2b-section{padding:77px 0;background:radial-gradient(circle at 90% 15%,#174d86,transparent 48%),linear-gradient(115deg,#061c3c,#092d5d);color:white}.tea-b2b-grid{display:grid;grid-template-columns:.99fr 1.01fr;gap:65px;align-items:center}.tea-b2b-section h2{font-size:clamp(33px,4vw,51px);letter-spacing:-1.8px}.tea-b2b-section h2 em{font-style:normal;color:#ffce41}.tea-b2b-section p{font-size:15px;line-height:1.75;color:#d7e7fa}.tea-b2b-section ul{padding-left:20px;margin:20px 0 26px;line-height:2.2;color:#dbe8fa}.tea-b2b-media{min-height:295px;background:linear-gradient(140deg,#ffffff10,#ffffff06);border:1px solid #b5d4ff55;border-radius:22px;padding:27px;box-shadow:0 15px 45px #0003}.tea-video-badge{background:#fff1b5;color:#082d61;font-weight:950;font-size:10px;padding:9px 13px;border-radius:99px;letter-spacing:1.2px}.tea-video-icon{margin:20px 0 10px;background:#ffcc2e;color:#08214c;display:grid;place-items:center;width:60px;height:60px;border-radius:18px;font-size:27px}.tea-b2b-media h3{font-size:24px;line-height:1.32;margin-bottom:11px}.tea-b2b-media a{color:#ffdc71;font-size:14px;font-weight:900}
.tea-premises-section{background:#f5f8fd}.tea-section-line{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}.tea-section-line p{max-width:720px}.tea-premises-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.tea-premises-grid figure{margin:0;background:white;border-radius:19px;overflow:hidden;box-shadow:0 12px 34px #092e5d17}.tea-premises-grid img{width:100%;height:350px;object-fit:cover}.tea-premises-grid figcaption{font-size:13px;font-weight:800;padding:15px 18px;color:#184276}
.tea-contact{background:linear-gradient(135deg,#082450,#0b3979);color:white;padding:75px 0}.tea-contact .contact-grid{gap:72px}.tea-contact h2{font-size:clamp(35px,4vw,53px);color:#fff;letter-spacing:-1.6px}.tea-contact h2 em{font-style:normal;color:#ffcf42}.tea-contact .contact-grid>div:first-child p{font-size:17px;color:#d8e8fc}.tea-contact-info{display:flex;flex-direction:column;gap:11px;margin-top:28px;color:#eff6ff;font-size:14px}.tea-form-box{background:#fff;padding:29px}.tea-form-title{display:flex;gap:13px;margin-bottom:17px}.tea-form-title>span{height:50px;width:50px;border-radius:16px;background:#e9f2ff;display:grid;place-items:center;color:#0a60c4;font-size:23px}.tea-form-title h3{font-size:22px;color:#092852;margin:0 0 4px}.tea-form-title p{font-size:12px;color:#687c95;margin:0}.tea-submit{width:100%}
.tea-footer{background:#05162f;color:#d6e5f9;padding:54px 0 25px}.tea-footer-grid{display:grid;grid-template-columns:1.4fr .7fr .9fr;gap:55px}.tea-footer-logo{height:auto;width:270px;max-width:100%;margin:0 0 15px;filter:drop-shadow(0 4px 10px #0002)}.tea-footer-grid h3{font-size:17px;color:white;margin-bottom:18px}.tea-footer-grid a{display:block;color:#d7e7fd;margin-bottom:10px;font-size:13px}.tea-footer-grid a:hover{color:#ffcf4a}.tea-footer-grid p{font-size:13px;line-height:1.7;color:#d1e0f3}.tea-muted-light{color:#acc5e2!important}.tea-footer-bottom{border-top:1px solid #375070;padding-top:20px;margin-top:39px;display:flex;gap:20px;justify-content:space-between;font-size:11px;color:#b2c6e0}.tea-footer-bottom a{text-decoration:underline}
/* Inner content templates populated on first theme activation. */
.tea-inner-banner{background:#092950;position:relative;padding:84px 0 79px;color:white;isolation:isolate;overflow:hidden}.tea-inner-banner:before{content:"";position:absolute;inset:-15px;z-index:-2;background:url('assets/real-classroom.webp') center/cover;filter:blur(7px)}.tea-inner-banner:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071d40ee,#0c3d7ddf)}.tea-inner-banner .tea-section-kicker{color:#ffce40}.tea-inner-banner h1{font-size:clamp(36px,4.6vw,60px);max-width:850px;letter-spacing:-1.5px;margin:13px 0 18px}.tea-inner-banner p{color:#e9f3ff;font-size:17px;max-width:760px;line-height:1.75}.tea-inner-body{background:linear-gradient(180deg,#f6f9fd,white);padding:50px 0 90px}.tea-inner-paper{max-width:1000px;margin:0 auto;background:white;padding:55px;box-shadow:0 18px 57px #0e366513;border:1px solid #e0eaf4;border-radius:20px}.tea-inner-paper h2{font-size:30px;color:#082a58;letter-spacing:-.8px;margin:32px 0 13px}.tea-inner-paper h2:first-child{margin-top:0}.tea-inner-paper h3{font-size:19px;color:#0b509c;margin:26px 0 10px}.tea-inner-paper p,.tea-inner-paper li{font-size:15px;line-height:1.9;color:#455e79}.tea-inner-paper ul,.tea-inner-paper ol{padding-left:24px}.tea-inner-paper .tea-content-lead{font-size:19px;color:#254568;line-height:1.75}.tea-content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;margin:25px 0}.tea-content-card{border:1px solid #dce9f7;background:#f5f9ff;border-radius:14px;padding:21px}.tea-content-card h3{margin:0 0 7px}.tea-content-card p{margin:0;font-size:14px}.tea-content-cta{border-radius:18px;background:#082e64;color:#fff;padding:30px;margin-top:33px}.tea-inner-paper .tea-content-cta h2,.tea-inner-paper .tea-content-cta h3{color:white;margin:0 0 12px}.tea-inner-paper .tea-content-cta p{color:#d8e8ff}.tea-inner-paper .tea-content-cta a{display:inline-flex;padding:12px 20px;border-radius:9px;background:#ffce3e;color:#072752;font-weight:900;font-size:14px;margin:9px 0 0}.tea-career-list{list-style:none!important;padding-left:0!important;position:relative}.tea-career-list li{padding:9px 0 20px 32px;border-left:3px solid #d4e5fb;margin-left:8px;position:relative}.tea-career-list li:before{content:"";position:absolute;left:-9px;top:13px;width:14px;height:14px;border-radius:50%;background:#ffca2f;border:3px solid #1155ae}.tea-career-list li strong{display:block;font-size:15px;color:#103f84}.tea-career-list li span{display:block}.tea-inner-media{width:100%;border-radius:15px;margin:20px 0;height:auto}.tea-video-embed{aspect-ratio:16/9;width:100%;border-radius:15px;overflow:hidden;background:#092e5f;margin:27px 0}.tea-video-embed iframe{width:100%;height:100%;border:0;display:block}.tea-callout{border-left:5px solid #ffc32c;background:#fff8e6;border-radius:0 10px 10px 0;padding:17px 21px;margin:23px 0;color:#163f78;font-weight:700}.tea-inner-paper a:not(.tea-content-cta a){color:#0855a7;text-decoration:underline;text-underline-offset:3px}.tea-page-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:25px 0}.tea-page-gallery img{width:100%;border-radius:13px}.tea-breadcrumbs{font-size:12px;margin-bottom:14px;color:#c5dbf8}.tea-breadcrumbs a{color:#fff}.tea-faq details{border:1px solid #dce6f1;border-radius:9px;padding:15px;margin:10px 0;background:#f8fbff}.tea-faq summary{font-size:15px;font-weight:850;cursor:pointer;color:#143c75}
@media(max-width:1200px){.tea-links{gap:11px;font-size:11px}.tea-logo img{width:195px;height:71px}.tea-path-grid{grid-template-columns:repeat(3,1fr)}.tea-nav{min-height:72px}}
@media(max-width:960px){.tea-links{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 14px 30px #061e3f24;padding:22px;flex-direction:column;align-items:stretch;gap:14px;font-size:14px}.tea-links.open{display:flex}.tea-menu-toggle{display:inline-flex;gap:8px;align-items:center;border:1px solid #d9e5f1;padding:10px 14px;border-radius:9px;background:white}.tea-hero-layout{grid-template-columns:1fr}.tea-hero-side{display:none}.tea-why-grid,.tea-b2b-grid{grid-template-columns:1fr;gap:35px}.tea-why-visual img{height:370px}.tea-founder-top{grid-template-columns:240px 1fr;gap:30px}.tea-game-titlebar{flex-direction:column;align-items:flex-start}.tea-challenge-layout{grid-template-columns:1fr}.tea-prize-stamp{transform:none}.tea-top-inner{flex-wrap:wrap;padding:6px 0}.tea-section-line{display:block}}
@media(max-width:700px){.wrap{width:min(100% - 32px,1200px)}.tea-topbar{display:none}.tea-logo img{width:175px;height:60px}.tea-hero-layout{min-height:590px;padding:70px 0 48px}.tea-hero h1{font-size:clamp(40px,9.4vw,62px);letter-spacing:-1.8px}.tea-hero-backdrop{background-position:55% center}.tea-hero-shade{background:linear-gradient(90deg,#061b3eef,#072b59df)}.tea-hero-bottom{letter-spacing:1px;font-size:9px}.tea-hero-bottom b{margin:0 7px}.tea-path-grid{grid-template-columns:repeat(2,1fr)}.tea-path{min-height:230px}.tea-game-titlebar h2{font-size:36px}.tea-game-highlight .game-grid{max-width:350px}.tea-challenge-game{padding:16px}.tea-game-explain{padding:22px}.tea-section{padding:65px 0}.tea-why-label{left:12px;bottom:-21px}.tea-founder-top{grid-template-columns:1fr}.tea-founder-photo{max-width:290px}.tea-founder-photo img{height:300px}.tea-timeline{grid-template-columns:repeat(3,1fr);gap:18px 0}.tea-timeline:before{display:none}.tea-b2b-section{padding:65px 0}.tea-premises-grid{grid-template-columns:1fr}.tea-premises-grid img{height:auto;max-height:350px}.tea-contact .contact-grid{grid-template-columns:1fr;gap:25px}.tea-footer-grid{grid-template-columns:1fr 1fr;gap:20px}.tea-footer-grid>div:first-child{grid-column:1/-1}.tea-inner-paper{padding:27px}.tea-content-grid,.tea-page-gallery{grid-template-columns:1fr}.tea-inner-banner{padding:56px 0}}
@media(max-width:410px){.tea-path-grid{grid-template-columns:1fr 1fr;gap:9px}.tea-path{min-height:234px;padding:15px}.tea-path strong{font-size:14px}.tea-path p{font-size:11px}.tea-hero-pills{gap:6px}.tea-hero-pills span{font-size:10px}.tea-action-row .btn{width:100%}.tea-game-highlight .game-grid{gap:2px}.tea-game-highlight .cell{font-size:14px}.tea-footer-grid{grid-template-columns:1fr}.tea-footer-bottom{flex-direction:column}.tea-founder-photo{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:0.01ms!important;animation-duration:0.01ms!important}}

.tea-footer-logo{background:#ffffffee;border-radius:11px;padding:8px 12px;}
