
:root{--navy:#071b4b;--purple:#7038ed;--teal:#13aeb5;--pink:#ef2c88;--orange:#ff8a00;--green:#79a932;--ink:#10244b;--muted:#58677f;--line:#e6e9f3;--surface:#fff;--page:#f7f9fe}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#fff 0,#f8fbff 68%,#fff 100%)}
button,a{font:inherit}.utility{height:38px;background:#061b4b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 4.4vw;font-size:13px}.utility .motto{font-weight:700}.utility .motto span{color:#ffc928;margin-right:8px}.utility-links{display:flex;height:100%;align-items:center;gap:24px}.utility-links a{color:#fff;text-decoration:none;font-weight:650}.utility-links .support{height:100%;display:flex;align-items:center;background:linear-gradient(135deg,#eb2f89,#f14b9e);padding:0 25px;margin-right:-4.4vw}
.nav{height:91px;display:flex;align-items:center;padding:0 3.2vw;background:#fff;border-bottom:1px solid #edf0f8;position:sticky;top:0;z-index:50;box-shadow:0 8px 30px rgba(14,38,87,.05)}.brand{display:flex;align-items:center;width:245px}.brand img{width:205px;height:74px;object-fit:contain}.navlinks{display:flex;gap:28px;align-items:center;flex:1;justify-content:center}.navlinks a{color:#071b4b;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap}.navlinks a.active{color:var(--purple);position:relative}.navlinks a.active:after{content:'';position:absolute;left:0;right:0;bottom:-17px;height:2px;background:var(--purple)}.nav-actions{display:flex;align-items:center;gap:22px}.login{border:0;color:#fff;background:linear-gradient(135deg,#7a42f4,#5631dd);padding:14px 22px;border-radius:28px;font-weight:800;box-shadow:0 10px 25px rgba(103,57,235,.23)}
.hero{min-height:405px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(89,212,255,.25),transparent 33%),linear-gradient(105deg,#f1efff 0%,#eefcff 48%,#e9f8ff 100%);display:grid;grid-template-columns:43% 57%;align-items:center;padding:36px 6vw 32px}.hero:before{content:'';position:absolute;width:250px;height:250px;border-radius:50%;background:#7650ef;left:-145px;top:-82px;opacity:.86}.hero:after{content:'';position:absolute;width:330px;height:210px;border-radius:50%;background:#2dc3df;right:-170px;bottom:-120px}.leaf{position:absolute;left:0;bottom:0;width:140px;height:170px;opacity:.9;background:radial-gradient(ellipse at 30% 80%,#08a7a8 0 18%,transparent 19%),radial-gradient(ellipse at 50% 58%,#12b0ae 0 16%,transparent 17%),radial-gradient(ellipse at 30% 35%,#1dbaa9 0 14%,transparent 15%);transform:rotate(-12deg)}.hero-copy{position:relative;z-index:2;max-width:510px;margin-left:7vw}.hero h1{font-size:52px;line-height:1.06;margin:0 0 17px;letter-spacing:-2.3px;color:#071b4b}.hero h1 .teal{color:#10a9b6}.hero h1 .purple{color:#6e39e8}.hero p{font-size:16px;line-height:1.62;color:#344765;max-width:460px}.hero-buttons{display:flex;gap:18px;margin:23px 0}.btn{border:0;border-radius:26px;padding:14px 23px;font-weight:800;cursor:pointer}.btn.primary{color:#fff;background:linear-gradient(135deg,#7946ef,#5631df);box-shadow:0 10px 25px rgba(103,57,235,.25)}.btn.secondary{background:#fff;color:#e72b83;box-shadow:0 8px 24px rgba(23,54,95,.14)}.trust{display:flex;gap:25px;font-size:13px;font-weight:750;color:#243a60}.trust span:before{content:'✓';display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#e9e4ff;color:#6843e5;margin-right:7px}.hero-art{position:relative;height:355px;z-index:2;max-width:690px}.blob{position:absolute;border-radius:50%}.b1{width:260px;height:260px;background:#198adf;left:115px;top:35px}.b2{width:230px;height:230px;background:#ef3993;left:38px;bottom:4px}.b3{width:245px;height:245px;background:#17b7a5;right:15px;bottom:0}.b4{width:145px;height:145px;background:#ffd238;right:120px;top:7px}.portrait{position:absolute;border-radius:50%;object-fit:cover;box-shadow:0 14px 35px rgba(12,36,83,.18);border:5px solid}.p1{width:165px;height:165px;left:90px;top:0;border-color:#f6a62c}.p2{width:165px;height:165px;right:55px;top:10px;border-color:#9685ef}.p3{width:180px;height:180px;left:23px;bottom:4px;border-color:#ed3c99}.p4{width:180px;height:180px;right:30px;bottom:0;border-color:#35ae96}.hero-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:260px;height:260px;border-radius:50%;background:#fff;padding:24px;object-fit:contain;box-shadow:0 20px 45px rgba(19,41,83,.19);z-index:5}.dotgrid{position:absolute;right:28px;top:14px;width:130px;height:80px;background-image:radial-gradient(#fff 2px,transparent 2px);background-size:16px 16px;opacity:.9}
.section{padding:27px 3.2vw 20px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section h2{margin:0;font-size:24px;letter-spacing:-.5px}.section h2 span{color:#7040ea}.view{border:1px solid #bca7fc;background:#fff;color:#6841db;border-radius:22px;padding:10px 19px;font-weight:800}.card-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:20px}.portal-card{background:#fff;border:1px solid #dfe5f2;border-radius:14px;overflow:hidden;min-height:214px;box-shadow:0 7px 18px rgba(29,51,93,.04);transition:.25s}.portal-card:hover{transform:translateY(-6px);box-shadow:0 17px 34px rgba(29,51,93,.13)}.portal-card img{width:100%;height:112px;object-fit:cover;display:block}.portal-body{padding:11px 12px 12px;position:relative;min-height:98px}.portal-body h3{font-size:14px;margin:0 0 7px}.portal-body p{font-size:11px;line-height:1.48;color:#263956;margin:0;padding-right:25px}.round{position:absolute;right:10px;bottom:10px;width:29px;height:29px;border:0;border-radius:50%;color:#fff;font-size:17px}.c1 h3{color:#1163cf}.c1 .round{background:#176ee2}.c2 h3{color:#ec2c83}.c2 .round{background:#ec2c83}.c3 h3{color:#11a4ae}.c3 .round{background:#12a8ac}.c4 h3{color:#f07800}.c4 .round{background:#ff8700}.c5 h3{color:#7640d7}.c5 .round{background:#7640d7}.c6 h3{color:#6e9e30}.c6 .round{background:#78aa33}.c7 h3{color:#ed2d87}.c7 .round{background:#ed2d87}.c8 h3{color:#1462ce}.c8 .round{background:#1462ce}
.fresh{padding-top:10px}.fresh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.fresh-card{height:180px;border-radius:15px;overflow:hidden;position:relative;box-shadow:0 10px 25px rgba(22,45,87,.09);cursor:pointer}.fresh-card img{width:100%;height:100%;object-fit:cover;transition:.35s}.fresh-card:hover img{transform:scale(1.05)}.fresh-card:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(4,14,35,.86))}.fresh-text{position:absolute;left:15px;right:55px;bottom:15px;z-index:2;color:#fff}.fresh-text h3{margin:0 0 4px;font-size:15px}.fresh-text p{font-size:12px;line-height:1.4;margin:0}.fresh-arrow{position:absolute;right:16px;bottom:16px;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:#11234c;font-size:20px;z-index:3}.footer{margin-top:30px;padding:22px 5vw;background:#071b4b;color:#fff;text-align:center;font-size:13px}.modal{position:fixed;inset:0;background:rgba(4,15,38,.65);display:none;align-items:center;justify-content:center;z-index:100}.modal.open{display:flex}.modal-box{width:min(520px,90vw);background:#fff;border-radius:20px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.25)}.modal-box h2{margin-top:0}.modal-box button{float:right;border:0;border-radius:20px;padding:10px 18px;background:#6d3de3;color:#fff;font-weight:800}
@media(max-width:1200px){.card-grid{grid-template-columns:repeat(4,1fr)}.navlinks{gap:15px}.hero h1{font-size:45px}.brand{width:190px}.brand img{width:170px}}
@media(max-width:850px){.utility-links a:not(.support),.navlinks{display:none}.nav{height:75px}.hero{grid-template-columns:1fr;padding:45px 25px}.hero-copy{margin:0}.hero-art{margin-top:30px;transform:scale(.85);transform-origin:left top}.card-grid{grid-template-columns:repeat(2,1fr)}.fresh-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:42px}}
@media(max-width:520px){.utility{padding-left:15px}.utility-links .support{margin-right:-15px;padding:0 14px}.brand img{width:145px}.login{padding:11px 14px}.hero-art{height:310px;transform:scale(.68);width:620px}.card-grid,.fresh-grid{grid-template-columns:1fr}.trust{flex-direction:column;gap:8px}.section{padding-left:18px;padding-right:18px}}

/* Services page */
.services-page{background:#fff}.services-hero{display:grid;grid-template-columns:42% 58%;min-height:360px;background:linear-gradient(105deg,#f3f7ff,#eefcff);overflow:hidden}.services-copy{padding:28px 4vw 28px 5vw;display:flex;flex-direction:column;justify-content:center}.breadcrumb{display:flex;gap:12px;font-size:13px;margin-bottom:22px}.breadcrumb a{color:var(--ink);text-decoration:none}.services-copy h1{font-size:48px;line-height:1;margin:0 0 18px;color:var(--navy);letter-spacing:-1.8px}.services-copy>p{font-size:18px;line-height:1.65;max-width:520px;color:#253b63;margin:0}.services-trust{display:flex;gap:24px;margin-top:30px;font-size:13px;font-weight:800}.services-trust span:before{content:'✓';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;background:#6d3de3;margin-right:8px}.services-trust span:nth-child(2):before{background:#12a8ac}.services-trust span:nth-child(3):before{background:#ed2d87}.services-hero-image{position:relative;overflow:hidden}.services-hero-image:before{content:'';position:absolute;inset:0 auto 0 -1px;width:125px;background:#eefcff;clip-path:ellipse(62% 65% at 0 50%);z-index:2}.services-hero-image img{width:100%;height:100%;object-fit:cover;display:block}.services-content{padding:28px 2.7vw 36px;background:#fff}.services-heading{text-align:center;margin-bottom:24px}.services-heading h2{font-size:31px;margin:0 0 7px;color:var(--navy)}.services-heading p{margin:0;color:#52627c}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1500px;margin:auto}.service-card{border:1px solid #dce4f1;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(20,44,89,.06);transition:.25s}.service-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(20,44,89,.13)}.service-card>img{display:block;width:100%;height:210px;object-fit:cover}.service-card>div{padding:19px 20px 20px;min-height:205px;display:flex;flex-direction:column}.service-card h3{font-size:20px;margin:0 0 10px}.service-card p{font-size:14px;line-height:1.55;color:#293d5e;margin:0 0 18px}.service-card a{margin-top:auto;text-decoration:none;font-weight:850;display:flex;justify-content:space-between;align-items:center}.service-card a span{font-size:25px}.service-card.purple h3,.service-card.purple a{color:#6335e6}.service-card.teal h3,.service-card.teal a{color:#0596a4}.service-card.pink h3,.service-card.pink a{color:#ef2c75}.service-card.green h3,.service-card.green a{color:#659626}.service-card.orange h3,.service-card.orange a{color:#ff7300}.service-card.blue h3,.service-card.blue a{color:#1463e5}.service-actions{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1500px;margin:28px auto 22px}.service-actions article{min-height:185px;border-radius:20px;padding:20px 28px;display:flex;align-items:center;gap:24px;background:linear-gradient(125deg,#f5f2ff,#edf5ff);border:1px solid #e5e6f6}.service-actions article:nth-child(2){background:linear-gradient(125deg,#fff7ed,#f0f7ff)}.service-actions img{width:150px;height:135px;object-fit:contain;border-radius:15px}.service-actions h3{font-size:24px;margin:0 0 8px}.service-actions p{line-height:1.5;color:#344765;margin:0 0 15px}.service-benefits{max-width:1500px;margin:auto;border:1px solid #dfe5f2;border-radius:18px;display:grid;grid-template-columns:repeat(5,1fr);padding:18px 12px;background:#fff}.service-benefits div{padding:4px 18px;border-right:1px solid #e6e9f3}.service-benefits div:last-child{border-right:0}.service-benefits strong{display:block;color:#173e93;margin-bottom:7px}.service-benefits span{display:block;font-size:12px;line-height:1.45;color:#52627c}
@media(max-width:1000px){.services-hero{grid-template-columns:1fr}.services-hero-image{height:320px}.services-grid{grid-template-columns:repeat(2,1fr)}.service-benefits{grid-template-columns:repeat(2,1fr);gap:18px}.service-benefits div{border-right:0}.service-actions{grid-template-columns:1fr}}
@media(max-width:620px){.services-copy h1{font-size:39px}.services-copy>p{font-size:16px}.services-trust{flex-direction:column;gap:10px}.services-grid{grid-template-columns:1fr}.service-card>img{height:220px}.service-actions article{flex-direction:column;text-align:center}.service-benefits{grid-template-columns:1fr}.services-content{padding-left:18px;padding-right:18px}}
.card-link{display:block;color:inherit;text-decoration:none;height:100%}.card-link .round{display:grid;place-items:center}

/* Parent Academy */
.pa-page{background:linear-gradient(#fff,#f8f9ff 45%,#fff);padding-bottom:34px}.pa-hero{display:grid;grid-template-columns:42% 58%;min-height:430px;background:linear-gradient(110deg,#f4f3ff,#eef8ff);overflow:hidden}.pa-hero-copy{padding:44px 3vw 35px 4vw;display:flex;justify-content:center;flex-direction:column}.pa-hero-copy small,.training-copy small{font-weight:900;color:#5c36dd;letter-spacing:.06em}.pa-hero h1{font-size:48px;line-height:1.08;letter-spacing:-1.8px;color:var(--navy);margin:12px 0 16px}.pa-hero h1 em{color:#6336e5;font-style:normal}.pa-hero-copy>p{font-size:16px;line-height:1.65;max-width:520px;color:#30435f}.pa-search{display:flex;align-items:center;gap:12px;margin-top:18px}.pa-search input{height:50px;min-width:0;flex:1;border:1px solid #e1e5f1;border-radius:28px;padding:0 20px;box-shadow:0 8px 20px rgba(23,45,90,.08)}.pa-search>button{height:46px;border:0;border-radius:25px;padding:0 18px;background:#6637e7;color:#fff;font-weight:900}.pa-search .pa-ai-btn{background:#071b4b;padding:0 22px}.pa-pills{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px;font-size:12px;font-weight:750;color:#334764}.pa-hero-photo{position:relative;min-height:430px}.pa-hero-photo>img{width:100%;height:100%;object-fit:cover}.pa-hero-photo:before{content:'';position:absolute;inset:0 auto 0 -1px;width:120px;background:#eef8ff;clip-path:ellipse(65% 66% at 0 50%);z-index:1}.pa-hero-photo aside{position:absolute;right:4%;top:42px;width:245px;padding:22px;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(20,42,87,.18)}.pa-hero-photo aside h3{margin:0 0 8px}.pa-hero-photo aside p{font-size:13px;line-height:1.5;color:#445570}.pa-hero-photo aside button,.coming-card button,.workspace-banner button,.ai-wide button{border:0;border-radius:25px;padding:13px 19px;background:linear-gradient(135deg,#733be9,#5130dc);color:#fff;font-weight:900}.pa-quick{margin:-1px 2.4vw 22px;position:relative;z-index:3;background:#fff;border:1px solid #e6e9f3;border-radius:18px;display:grid;grid-template-columns:repeat(6,1fr);box-shadow:0 12px 32px rgba(18,42,87,.08)}.pa-quick button{border:0;border-right:1px solid #edf0f7;background:#fff;display:flex;align-items:center;gap:12px;padding:19px 14px;text-align:left;color:var(--ink)}.pa-quick button:first-child{border-radius:18px 0 0 18px}.pa-quick button:last-child{border:0;border-radius:0 18px 18px 0}.pa-quick b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eee9ff;color:#6538e2;font-size:22px}.pa-quick span{font-size:11px;line-height:1.35;color:#61708a}.pa-quick strong{display:block;color:#10244b;font-size:12px;margin-bottom:4px}.pa-section{margin:18px 2.4vw;padding:25px 18px;background:#fff;border:1px solid #e5e8f2;border-radius:21px;box-shadow:0 7px 24px rgba(24,47,91,.045)}.pa-section.soft{background:linear-gradient(115deg,#fff,#fff7fb)}.pa-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.pa-title>div{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}.pa-title h2{margin:0;font-size:27px;color:var(--navy)}.pa-title p{grid-column:2;margin:3px 0 0;color:#58677f;font-size:13px}.pa-icon{grid-row:1/3;width:54px;height:54px;border-radius:14px;display:grid;place-items:center;color:#fff;font-size:25px;font-weight:900}.pa-icon.purple,.pa-dot.purple{background:#6334e7}.pa-icon.teal,.pa-dot.teal{background:#0aa2ac}.pa-icon.pink,.pa-dot.pink{background:#ef337f}.pa-dot.blue{background:#176be1}.pa-dot.orange{background:#ff8200}.pa-dot.green{background:#65a32c}.pa-scroll{display:flex;gap:16px;overflow-x:auto;padding:3px 2px 14px;scroll-snap-type:x proximity}.pa-scroll .pa-card{min-width:230px}.pa-card{background:#fff;border:1px solid #dfe4ef;border-radius:16px;overflow:hidden;box-shadow:0 7px 18px rgba(26,51,94,.055);transition:.22s;cursor:pointer;scroll-snap-align:start}.pa-card:hover{transform:translateY(-4px);box-shadow:0 17px 32px rgba(26,51,94,.13)}.pa-card>img{width:100%;height:190px;object-fit:cover;display:block}.pa-card.small>img{height:145px}.pa-card-body{padding:17px;position:relative;min-height:190px;display:flex;flex-direction:column}.pa-dot{position:absolute;right:15px;top:-19px;width:39px;height:39px;border-radius:50%;border:4px solid #fff}.pa-card h3{font-size:18px;margin:4px 0 9px;color:#122650}.pa-card p{font-size:13px;line-height:1.48;color:#52627c;margin:0 0 15px}.pa-card button{margin-top:auto;border:1px solid #bba8f7;background:#fff;color:#6336df;padding:10px;border-radius:10px;font-weight:900;display:flex;justify-content:center;gap:10px}.pa-split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 2.4vw}.pa-split .pa-section{margin:0}.pa-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pa-grid-6{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.pa-grid-3 .pa-card-body{min-height:175px}.training-coming{display:flex;justify-content:space-between;align-items:center;gap:30px;background:linear-gradient(115deg,#f2eeff,#eafcff);border:1px solid #dcd5ff}.training-copy{display:flex;align-items:flex-start;gap:20px}.training-copy h2{font-size:30px;margin:4px 0 10px}.training-copy p{max-width:850px;line-height:1.55;color:#40526f}.coming-tags{display:flex;gap:8px;flex-wrap:wrap}.coming-tags span{background:#fff;border:1px solid #dcdff0;border-radius:18px;padding:7px 12px;font-size:12px;font-weight:800}.coming-card{min-width:280px;background:#fff;border-radius:18px;padding:22px;box-shadow:0 13px 30px rgba(57,41,128,.12)}.coming-card>b{display:inline-block;color:#ef2d83;background:#ffe8f3;padding:7px 11px;border-radius:15px;font-size:11px}.coming-card h3{font-size:21px;margin:13px 0 7px}.coming-card p{font-size:13px;color:#596a83;line-height:1.45}.pa-card.resource>img{height:220px}.pa-card.journey>img{height:205px}.pa-card.tip>img,.pa-card.recommended>img,.pa-card.story>img,.pa-card.ai-example>img{height:190px}.ai-panel{background:linear-gradient(115deg,#f7f4ff,#f3fbff)}.ai-wide{margin-top:20px;border-radius:18px;background:linear-gradient(120deg,#f0edff,#fff);border:1px solid #dedaf7;display:flex;align-items:center;gap:20px;padding:20px 28px}.ai-bot{width:75px;height:75px;border-radius:50%;display:grid;place-items:center;background:#071b4b;color:#39e5e8;font-size:37px}.ai-wide h2{margin:0 0 5px}.ai-wide p{margin:0;color:#58677f}.ai-wide button{margin-left:auto}.workspace-banner{margin:25px 2.4vw 0;border-radius:22px;padding:26px 35px;background:linear-gradient(115deg,#fff1f7,#eef5ff);display:flex;justify-content:space-between;align-items:center;border:1px solid #f0dce8}.workspace-banner>div{display:flex;align-items:center;gap:20px}.workspace-banner>div>span{font-size:50px;color:#ef2c82}.workspace-banner h2{margin:0 0 5px}.workspace-banner p{margin:0;color:#576983}
@media(max-width:1200px){.pa-quick{grid-template-columns:repeat(3,1fr)}.pa-grid-6{grid-template-columns:repeat(3,1fr)}.pa-split{grid-template-columns:1fr}.pa-grid-3{grid-template-columns:repeat(3,1fr)}.training-coming{align-items:flex-start}.pa-hero{grid-template-columns:1fr}.pa-hero-photo{height:400px}.pa-hero-photo:before{display:none}}
@media(max-width:760px){.pa-hero h1{font-size:39px}.pa-search{flex-wrap:wrap}.pa-search input{flex-basis:75%}.pa-quick{grid-template-columns:1fr 1fr}.pa-grid-6,.pa-grid-3{grid-template-columns:1fr 1fr}.training-coming{flex-direction:column}.coming-card{min-width:0;width:100%}.pa-title{align-items:flex-start}.pa-title .view{font-size:11px}.pa-hero-photo aside{right:15px;top:25px}.workspace-banner,.ai-wide{align-items:flex-start;flex-direction:column}.ai-wide button{margin-left:0}}
@media(max-width:500px){.pa-grid-6,.pa-grid-3,.pa-quick{grid-template-columns:1fr}.pa-hero-copy{padding:35px 20px}.pa-section{margin-left:12px;margin-right:12px}.pa-split{margin-left:12px;margin-right:12px}.pa-title p{display:none}.pa-title h2{font-size:22px}.pa-icon{width:44px;height:44px}.pa-hero-photo aside{width:210px}.pa-scroll .pa-card{min-width:82vw}}


/* Parent Academy final UI fixes */
.pa-hero{border-radius:0 0 28px 28px;box-shadow:0 18px 42px rgba(30,50,100,.08)}
.pa-hero-photo>img{object-position:center 42%;transform:none!important}
.pa-hero-photo aside{z-index:3}
.pa-card{isolation:isolate}
.pa-card>img{height:210px;object-position:center 35%;transform:none!important;background:#eef2f8}
.pa-card.small>img{height:175px}
.pa-card.resource>img{height:235px}
.pa-card.journey>img{height:220px}
.pa-card.tip>img,.pa-card.recommended>img,.pa-card.story>img,.pa-card.ai-example>img{height:205px}
.pa-card-body{padding-top:18px}
.pa-dot{top:12px;right:12px;width:34px;height:34px;border:3px solid rgba(255,255,255,.96);box-shadow:0 5px 14px rgba(20,35,80,.18);z-index:4}
.training-coming{position:relative;overflow:hidden;padding:32px;background:linear-gradient(120deg,#f2eeff 0%,#eafcff 56%,#fff 100%)}
.training-coming:after{content:'COMING SOON';position:absolute;right:-20px;top:-24px;font-size:64px;font-weight:1000;color:rgba(99,52,231,.06);letter-spacing:-3px;pointer-events:none}
.training-copy,.coming-card{position:relative;z-index:2}
.coming-card input{width:100%;height:44px;border:1px solid #d9def0;border-radius:22px;padding:0 16px;margin:8px 0 12px;outline:none}
.coming-card button{width:100%}
.pa-quick button,.pa-card button,.view,.login,.support{cursor:pointer}
@media(max-width:760px){.pa-card>img{height:205px}.pa-hero-photo>img{object-position:center}.training-coming{padding:24px}.training-coming:after{font-size:42px}}

/* Parent courses visual UI */
.parent-courses{background:linear-gradient(180deg,#fff,#fbfaff);padding:28px 22px}.course-title{margin-bottom:24px}.course-strip{display:grid;grid-template-columns:repeat(6,minmax(210px,1fr));gap:18px;overflow-x:auto;padding:3px 2px 14px}.course-card{position:relative;background:#fff;border:1px solid #e1e5f0;border-radius:17px;overflow:hidden;box-shadow:0 9px 24px rgba(25,47,91,.07);min-width:220px;transition:.22s}.course-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px rgba(25,47,91,.13)}.course-card>img{width:100%;height:205px;object-fit:cover;display:block}.course-badge{position:absolute;top:184px;left:16px;width:48px;height:48px;border-radius:50%;border:4px solid #fff;display:grid;place-items:center;color:#fff;font-size:21px;font-weight:900;z-index:2}.course-badge.blue{background:#176be1}.course-badge.green{background:#34a334}.course-badge.pink{background:#ef337f}.course-badge.purple{background:#6b3ce4}.course-badge.orange{background:#ff7a00}.course-badge.teal{background:#0c9bad}.course-content{padding:28px 16px 16px;display:flex;flex-direction:column;min-height:310px}.course-content h3{margin:0 0 10px;color:#11285b;font-size:19px;line-height:1.22}.course-content p{margin:0 0 17px;color:#4f607b;font-size:13px;line-height:1.5}.course-meta{display:flex;justify-content:space-between;gap:8px;margin-top:auto;font-size:11px;color:#263a62;font-weight:750}.level{display:inline-block;align-self:flex-start;margin:12px 0 13px;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:850}.level.beginner{background:#e9f6e5;color:#258327}.level.intermediate{background:#f0eaff;color:#6a35df}.course-card button{border:0;border-radius:10px;padding:11px 12px;background:#eee9ff;color:#5b31db;font-weight:900}.course-ai-banner{position:relative;margin-top:12px;border:1px solid #e3dcff;border-radius:18px;background:linear-gradient(110deg,#f4efff,#fff,#edf8ff);padding:18px 24px;display:flex;align-items:center;gap:18px;overflow:hidden}.course-bot{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#12144f;color:#42e0e6;font-size:34px;box-shadow:0 8px 18px rgba(64,42,150,.18)}.course-ai-banner h3{margin:0 0 5px;font-size:23px;color:#111d52}.course-ai-banner p{margin:0;color:#50617d}.course-ai-banner button{margin-left:auto;border:0;border-radius:14px;padding:15px 24px;background:linear-gradient(135deg,#6f35e9,#4c28ce);color:#fff;font-weight:900;font-size:16px}.coming-pill{position:absolute;right:20px;top:10px;color:rgba(102,55,228,.12);font-size:30px;font-weight:1000;letter-spacing:-1px;pointer-events:none}.pa-hero-photo>img{object-position:center 45%}
@media(max-width:1200px){.course-strip{grid-template-columns:repeat(3,minmax(220px,1fr))}.course-ai-banner{flex-wrap:wrap}.course-ai-banner button{margin-left:0}.coming-pill{display:none}}
@media(max-width:760px){.course-strip{display:flex}.course-card{min-width:255px}.course-card>img{height:220px}.course-badge{top:199px}.course-ai-banner{align-items:flex-start;flex-direction:column}.course-ai-banner button{width:100%}}

/* Home page premium upgrade */
.home-page main{overflow:hidden}.home-hero{margin:20px 2.2vw 0;border-radius:26px;min-height:510px;display:grid;grid-template-columns:46% 54%;background:linear-gradient(115deg,#f7f4ff 0%,#f3fbff 58%,#fff 100%);border:1px solid #e4e7f1;overflow:hidden;box-shadow:0 20px 50px rgba(26,47,91,.08)}.home-hero-copy{padding:58px 48px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}.eyebrow,.section-kicker{display:inline-block;color:#6835e4;font-size:12px;font-weight:950;letter-spacing:.08em;margin-bottom:10px}.home-hero h1{font-size:54px;line-height:1.04;letter-spacing:-2.4px;color:#071b4b;margin:0 0 18px}.home-hero h1 span{color:#6835e4}.home-hero-copy>p{font-size:17px;line-height:1.62;color:#40516e;max-width:600px;margin:0 0 22px}.home-search{display:flex;background:#fff;border:1px solid #dfe4ef;border-radius:28px;padding:5px;box-shadow:0 10px 25px rgba(29,48,91,.08);max-width:580px}.home-search input{flex:1;border:0;outline:0;padding:0 18px;font-size:14px;background:transparent;min-width:0}.home-search button{border:0;border-radius:22px;padding:12px 22px;color:#fff;background:linear-gradient(135deg,#7140ed,#502bcf);font-weight:900;cursor:pointer}.home-hero-actions{display:flex;gap:12px;margin:22px 0 18px}.home-hero-actions a{text-decoration:none}.home-trust{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;font-weight:800;color:#394d6a}.home-hero-media{position:relative;min-height:510px}.home-hero-media>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.home-hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,244,255,.82),transparent 25%,transparent 100%)}.hero-float-card{position:absolute;right:24px;top:24px;width:235px;padding:21px;border-radius:19px;background:rgba(255,255,255,.94);box-shadow:0 15px 38px rgba(14,32,75,.16);display:flex;flex-direction:column;gap:10px;z-index:2}.hero-float-card strong{font-size:17px;color:#0b2051}.hero-float-card span{font-size:12px;color:#4d607e}.hero-float-card a{text-decoration:none;background:linear-gradient(135deg,#7140ed,#502bcf);color:#fff;text-align:center;padding:11px;border-radius:20px;font-weight:900;margin-top:4px}.hero-stat{position:absolute;left:22px;bottom:22px;background:rgba(9,32,80,.92);color:#fff;border-radius:17px;padding:14px 18px;z-index:2;display:flex;align-items:center;gap:10px}.hero-stat b{font-size:27px}.hero-stat span{font-size:11px;max-width:70px;line-height:1.2}.home-quick{margin:16px 2.2vw 0;display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #e2e6f0;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(28,48,90,.045)}.home-quick>a{display:flex;align-items:center;gap:12px;padding:17px;text-decoration:none;color:#142653;border-right:1px solid #e8ebf3}.home-quick>a:last-child{border-right:0}.home-quick>a:hover{background:#fbfaff}.home-quick b{display:block;font-size:13px}.home-quick small{display:block;color:#68758b;margin-top:4px}.home-quick em{margin-left:auto;font-style:normal;font-weight:950}.quick-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900}.quick-icon.teal{background:#0aa4ad}.quick-icon.purple{background:#6835e4}.quick-icon.blue{background:#176be1}.quick-icon.pink{background:#ef337f}.quick-icon.orange{background:#ff7a00}.home-section{padding:66px 3vw}.soft-section{background:linear-gradient(180deg,#faf9ff,#fff)}.home-section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.home-section-head h2,.academy-preview h2,.resource-band h2,.ai-home h2,.trust-section h2,.support-cta h2{font-size:36px;line-height:1.12;letter-spacing:-1.3px;color:#0b1f4e;margin:0 0 8px}.home-section-head p{margin:0;color:#586a84;max-width:720px;line-height:1.55}.home-section-head>a,.text-link{border:0;background:transparent;color:#6333df;font-weight:900;text-decoration:none;cursor:pointer;white-space:nowrap}.home-card-grid{display:grid;gap:18px}.home-card-grid.four{grid-template-columns:repeat(4,1fr)}.home-card-grid.three{grid-template-columns:repeat(3,1fr)}.home-feature-card,.article-card,.mini-card{background:#fff;border:1px solid #e0e5ef;border-radius:18px;overflow:hidden;box-shadow:0 9px 25px rgba(25,47,91,.06);transition:.24s}.home-feature-card:hover,.article-card:hover,.mini-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px rgba(25,47,91,.13)}.home-feature-card{text-decoration:none;color:inherit}.home-feature-card>img{width:100%;height:220px;object-fit:cover;display:block}.home-feature-card>div{padding:18px}.tag{display:inline-block;border-radius:16px;padding:5px 9px;font-size:10px;font-weight:950;background:#edf1ff}.tag.teal{color:#087d85;background:#e5f7f8}.tag.purple{color:#6333df;background:#eee9ff}.tag.orange{color:#c85f00;background:#fff0df}.tag.pink{color:#cf236c;background:#ffe9f2}.home-feature-card h3{font-size:20px;margin:11px 0 7px;color:#102650}.home-feature-card p{font-size:13px;line-height:1.52;color:#596b84;margin:0 0 17px}.home-feature-card b{color:#6333df;font-size:13px}.article-card>img{width:100%;height:245px;object-fit:cover;display:block}.article-card>div{padding:20px}.article-card span{color:#6333df;font-size:11px;font-weight:950}.article-card h3{font-size:22px;margin:8px 0 9px;color:#102650}.article-card p{font-size:13px;line-height:1.55;color:#586a83}.article-card button,.mini-card button{border:0;background:transparent;color:#6333df;font-weight:900;padding:0;cursor:pointer}.academy-preview{margin:24px 2.2vw;padding:42px;background:linear-gradient(115deg,#f0ebff,#f2fcff);border:1px solid #dedff0;border-radius:24px;display:grid;grid-template-columns:32% 68%;gap:30px;align-items:center}.academy-copy p{color:#53647d;line-height:1.55;margin-bottom:22px}.academy-copy a{text-decoration:none;display:inline-block}.academy-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.academy-cards a{background:#fff;border-radius:15px;overflow:hidden;text-decoration:none;color:#122653;box-shadow:0 8px 20px rgba(28,48,90,.08);transition:.2s}.academy-cards a:hover{transform:translateY(-4px)}.academy-cards img{width:100%;height:150px;object-fit:cover;display:block}.academy-cards span{display:block;padding:12px;font-size:12px;font-weight:900}.home-card-grid.compact .mini-card{padding-bottom:16px}.mini-card img{width:100%;height:180px;object-fit:cover;display:block}.mini-card h3,.mini-card p,.mini-card button{margin-left:16px;margin-right:16px}.mini-card h3{font-size:18px;margin-top:15px;margin-bottom:6px}.mini-card p{font-size:13px;color:#5c6c83;min-height:36px}.resource-band{margin:24px 2.2vw;padding:40px;display:grid;grid-template-columns:36% 64%;align-items:center;gap:25px;border-radius:24px;background:linear-gradient(120deg,#fff4f8,#eef8ff);border:1px solid #e6e2ed}.resource-band p{color:#53647d;line-height:1.55}.resource-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.resource-thumbs img{width:100%;height:180px;object-fit:cover;border-radius:14px;box-shadow:0 8px 20px rgba(26,47,91,.1)}.ai-home{margin:60px 2.2vw 30px;padding:30px 36px;border-radius:24px;background:linear-gradient(110deg,#f0ebff,#fff,#ecf9ff);border:1px solid #ddd9ef;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}.ai-robot{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;font-size:48px;background:#111b55;box-shadow:0 10px 24px rgba(56,39,142,.2)}.ai-home p{color:#53647d;margin:0 0 14px;max-width:760px}.ai-prompts{display:flex;gap:8px;flex-wrap:wrap}.ai-prompts button{border:1px solid #d7d9e9;background:#fff;color:#5530c6;border-radius:17px;padding:7px 11px;font-weight:800;font-size:11px;cursor:pointer}.trust-section{padding:65px 4vw;background:#0a2052;color:#fff;display:grid;grid-template-columns:38% 62%;gap:50px;align-items:start}.trust-section h2{color:#fff}.trust-copy p{color:#d9e2f5;line-height:1.65}.trust-points{display:grid;grid-template-columns:1fr 1fr;gap:16px}.trust-points div{padding:20px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13)}.trust-points b{display:block;margin-bottom:7px}.trust-points span{color:#d6e0f4;font-size:13px;line-height:1.45}.support-cta{margin:34px 2.2vw 48px;padding:34px 40px;border-radius:23px;background:linear-gradient(115deg,#f7f3ff,#effbff);border:1px solid #e0e2ed;display:flex;justify-content:space-between;align-items:center;gap:20px}.support-cta p{margin:0;color:#566780}.support-cta>div:last-child{display:flex;gap:12px}.support-cta a{text-decoration:none}.text-link{font-size:13px}
@media(max-width:1200px){.home-hero{grid-template-columns:1fr}.home-hero-media{min-height:430px}.home-quick{grid-template-columns:repeat(3,1fr)}.home-card-grid.four{grid-template-columns:repeat(2,1fr)}.academy-preview{grid-template-columns:1fr}.resource-band{grid-template-columns:1fr}.trust-section{grid-template-columns:1fr}.ai-home{grid-template-columns:auto 1fr}.ai-home>.btn{grid-column:2}.academy-cards{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.home-hero{margin:10px;border-radius:20px}.home-hero-copy{padding:38px 22px}.home-hero h1{font-size:40px}.home-hero-media{min-height:360px}.hero-float-card{width:210px}.home-hero-actions{flex-direction:column}.home-quick{margin:12px;grid-template-columns:1fr 1fr}.home-section{padding:48px 16px}.home-section-head{align-items:flex-start;flex-direction:column}.home-card-grid.four,.home-card-grid.three{grid-template-columns:1fr}.academy-preview{margin:18px 12px;padding:24px}.academy-cards{grid-template-columns:1fr 1fr}.resource-band{margin:18px 12px;padding:24px}.resource-thumbs{grid-template-columns:1fr 1fr}.ai-home{margin:45px 12px 24px;padding:24px;grid-template-columns:1fr}.ai-home>.btn{grid-column:auto}.trust-section{padding:48px 20px}.trust-points{grid-template-columns:1fr}.support-cta{margin:24px 12px 35px;padding:26px;flex-direction:column;align-items:flex-start}.support-cta>div:last-child{flex-direction:column;width:100%}.support-cta a{text-align:center}.home-search{flex-direction:column;border-radius:16px}.home-search input{padding:15px}.home-search button{border-radius:12px}.home-section-head h2,.academy-preview h2,.resource-band h2,.ai-home h2,.trust-section h2,.support-cta h2{font-size:30px}}
@media(max-width:480px){.home-quick{grid-template-columns:1fr}.academy-cards{grid-template-columns:1fr}.resource-thumbs{grid-template-columns:1fr 1fr}.hero-float-card{display:none}.home-hero-media{min-height:300px}.home-trust{gap:9px}.home-hero h1{font-size:35px}}

/* =========================================================
   Compass SEN Support — card & placeholder refinement pass
   Preserves the existing layout, content and interactions.
   ========================================================= */
:root{--card-radius:20px;--card-border:#dde4f0;--card-shadow:0 10px 28px rgba(16,40,84,.075);--card-shadow-hover:0 20px 42px rgba(16,40,84,.14)}
img{max-width:100%}
button,a{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(99,52,231,.28);outline-offset:3px}

/* HOME — hero uses a wide editorial image, not a generic card crop */
.home-hero{max-width:1600px;margin-left:auto;margin-right:auto;box-shadow:0 20px 54px rgba(26,47,91,.08)}
.home-hero-media{background:#eef3fa}
.home-hero-media>img{object-fit:contain;object-position:center center;background:linear-gradient(135deg,#f6f1ff,#edf9ff)}
.hero-float-card{backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.72)}
.home-page .hero-float-card{top:auto;right:0;bottom:22px;border-radius:19px 0 0 19px}
.home-page .hero-float-card.in-copy{position:static;width:100%;max-width:580px;margin-top:20px;padding:16px 18px;border:1px solid #dedff0;border-radius:18px;background:#fff;display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;box-shadow:0 10px 25px rgba(29,48,91,.08)}
.home-page .hero-float-card.in-copy strong{font-size:16px}
.home-page .hero-float-card.in-copy .journey-copy{display:flex;flex-direction:column;gap:8px}
.home-page .hero-float-card.in-copy .journey-points{display:flex;flex-wrap:wrap;gap:5px 14px}
.home-page .hero-float-card.in-copy span{white-space:nowrap}
.home-page .hero-float-card.in-copy a{margin:0;padding:10px 18px;white-space:nowrap}
@media(max-width:760px){.home-page .hero-float-card.in-copy{grid-template-columns:1fr}.home-page .hero-float-card.in-copy a{margin-top:4px}}

/* HOME — service cards are landscape cards */
.home-card-grid.four{align-items:stretch}
.home-feature-card{display:flex;flex-direction:column;border-radius:var(--card-radius);box-shadow:var(--card-shadow)}
.home-feature-card:hover{box-shadow:var(--card-shadow-hover)}
.home-feature-card>img{height:auto;aspect-ratio:1.78/1;object-fit:contain;object-position:center;background:#f3f6fb;padding:0}
.home-feature-card>div{display:flex;flex:1;flex-direction:column;padding:19px 20px 20px}
.home-feature-card p{min-height:60px}
.home-feature-card b{margin-top:auto}

/* HOME — knowledge articles use taller editorial artwork */
.article-card{display:flex;flex-direction:column;border-radius:var(--card-radius);box-shadow:var(--card-shadow)}
.article-card>img{height:auto;aspect-ratio:1/1.08;object-fit:contain;object-position:center;background:#f4f6fb}
.article-card>div{display:flex;flex:1;flex-direction:column;padding:21px}
.article-card p{min-height:62px}
.article-card button{margin-top:auto;align-self:flex-start}

/* HOME — course preview is compact square artwork */
.academy-cards a{display:flex;flex-direction:column;border:1px solid #e3e7f0;border-radius:17px;box-shadow:var(--card-shadow)}
.academy-cards img{height:auto;aspect-ratio:1/1.05;object-fit:contain;object-position:center;background:#f4f6fb}
.academy-cards span{margin-top:auto;padding:13px 14px 15px;line-height:1.35}

/* HOME — Kids Hub has true landscape activity cards */
.mini-card{display:flex;flex-direction:column;border-radius:var(--card-radius);box-shadow:var(--card-shadow)}
.mini-card img{height:auto;aspect-ratio:1.78/1;object-fit:contain;object-position:center;background:#f3f6fb}
.mini-card p{min-height:38px}
.mini-card button{margin-top:auto;align-self:flex-start}

/* HOME — printable previews should show the full sheet */
.resource-thumbs img{height:auto;aspect-ratio:1/1.18;object-fit:contain;object-position:center;background:#fff;padding:7px;border:1px solid #e1e6ef}

/* SERVICES — wide imagery with consistent content footers */
.services-hero{max-width:1600px;margin:0 auto;border-radius:0 0 28px 28px;box-shadow:0 18px 42px rgba(30,50,100,.07)}
.services-hero-image{background:#edf7fb}
.services-hero-image img{object-fit:contain;object-position:center;background:linear-gradient(135deg,#edf7ff,#effcfb)}
.services-grid{align-items:stretch}
.service-card{display:flex;flex-direction:column;border-radius:var(--card-radius);box-shadow:var(--card-shadow)}
.service-card:hover{box-shadow:var(--card-shadow-hover)}
.service-card>img{height:auto;aspect-ratio:1.78/1;object-fit:contain;object-position:center;background:#f3f6fb}
.service-card>div{flex:1;min-height:220px;padding:20px 21px 21px}
.service-card p{min-height:67px}
.service-card a{padding-top:4px}
.service-actions article{min-height:205px;border-radius:22px;box-shadow:0 9px 25px rgba(25,47,91,.055)}
.service-actions img{width:170px;height:155px;object-fit:contain;object-position:center;background:rgba(255,255,255,.72);padding:8px}

/* PARENT ACADEMY — section-specific media templates */
.pa-section{padding:27px 20px;border-radius:23px}
.pa-scroll{gap:18px;padding-bottom:16px}
.pa-card{display:flex;flex-direction:column;border-radius:18px;box-shadow:var(--card-shadow);background:#fff}
.pa-card:hover{box-shadow:var(--card-shadow-hover)}
.pa-card-body{flex:1;min-height:188px;padding:18px 18px 17px}
.pa-card p{min-height:58px}
.pa-card button{min-height:41px}

/* Topic cards: mixed source artwork gets contained, with template height by section */
.pa-section:not(.parent-courses) .pa-card:not(.resource):not(.journey):not(.tip):not(.recommended):not(.story):not(.ai-example)>img{height:auto;aspect-ratio:1/1.08;object-fit:contain;object-position:center;background:#f3f6fb}
.pa-card.small>img{height:auto;aspect-ratio:1.7/1;object-fit:contain;object-position:center;background:#f3f6fb}

/* Popular and New cards are square editorial tiles */
.pa-card:not(.resource):not(.journey):not(.tip):not(.recommended):not(.story):not(.ai-example)>img[src*="popular-"],
.pa-card:not(.resource):not(.journey):not(.tip):not(.recommended):not(.story):not(.ai-example)>img[src*="new-"]{height:auto;aspect-ratio:1/1.12;object-fit:contain;background:#f3f6fb}

/* Courses: near-square covers with a tighter, aligned footer */
.parent-courses .course-card{display:flex;flex-direction:column}
.parent-courses .course-card>img{height:auto;aspect-ratio:1/1.05;object-fit:contain;object-position:center;background:#f3f6fb}
.course-content{display:flex;flex:1;flex-direction:column}
.course-content .course-meta{margin-top:auto}

/* Resources: portrait printable pages, fully visible */
.pa-card.resource>img{height:auto;aspect-ratio:1/1.2;object-fit:contain;object-position:center;background:#fff;padding:8px;border-bottom:1px solid #e7eaf1}
.pa-card.resource .pa-card-body{min-height:178px}

/* Journeys: square scene cards */
.pa-card.journey>img{height:auto;aspect-ratio:1/1.02;object-fit:contain;object-position:center;background:#f3f6fb}
.pa-card.journey .pa-card-body{min-height:182px}

/* Tips: wide, fast-scan cards */
.pa-card.tip>img{height:auto;aspect-ratio:1.14/1;object-fit:contain;object-position:center;background:#f3f6fb}
.pa-card.tip .pa-card-body{min-height:165px}

/* Recommendations, AI examples and stories each retain their native proportions */
.pa-card.recommended>img{height:auto;aspect-ratio:1.08/1;object-fit:contain;background:#f3f6fb}
.pa-card.ai-example>img{height:auto;aspect-ratio:1.1/1;object-fit:contain;background:#f3f6fb}
.pa-card.story>img{height:auto;aspect-ratio:1.19/1;object-fit:contain;background:#f3f6fb}
.pa-card.recommended .pa-card-body,.pa-card.ai-example .pa-card-body,.pa-card.story .pa-card-body{min-height:170px}

/* Hero artwork is wide; show the whole composition */
.pa-hero-photo{background:linear-gradient(135deg,#f4f0ff,#edf9ff)}
.pa-hero-photo>img{object-fit:contain;object-position:center;background:transparent}
.pa-hero-photo aside{backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.75)}

/* Small polish without changing structure */
.pa-quick button:hover{background:#faf9ff;transform:translateY(-2px)}
.home-quick>a:hover{transform:translateY(-2px)}
.service-benefits{box-shadow:0 8px 24px rgba(24,47,91,.045)}

@media(max-width:1200px){
  .home-hero-media>img,.services-hero-image img,.pa-hero-photo>img{object-fit:contain}
  .home-feature-card p,.service-card p,.article-card p{min-height:0}
}
@media(max-width:760px){
  .home-feature-card>img,.service-card>img,.mini-card img{aspect-ratio:1.6/1}
  .article-card>img{aspect-ratio:1.1/1}
  .resource-thumbs img{aspect-ratio:1/1.18}
  .pa-card-body,.pa-card.resource .pa-card-body,.pa-card.journey .pa-card-body,.pa-card.tip .pa-card-body,.pa-card.recommended .pa-card-body,.pa-card.ai-example .pa-card-body,.pa-card.story .pa-card-body{min-height:0}
  .pa-card p{min-height:0}
  .service-card>div{min-height:0}
  .service-actions img{width:min(190px,100%);height:auto;aspect-ratio:1/1;object-fit:contain}
}
@media(max-width:500px){
  .pa-scroll .pa-card{min-width:min(84vw,350px)}
  .home-hero-media>img,.services-hero-image img,.pa-hero-photo>img{object-fit:contain}
}

/* =========================================================
   SECTION CONSISTENCY REFINEMENT
   Cards may differ between sections, never within a section.
   ========================================================= */

/* Browse by Topic: one consistent landscape template */
#topics .pa-scroll{
  align-items:stretch;
}
#topics .pa-card{
  flex:0 0 230px;
  width:230px;
  min-width:230px;
  height:380px;
}
#topics .pa-card>img{
  display:block;
  width:100%;
  height:190px;
  min-height:190px;
  max-height:190px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
  background:#eef2f8;
  border-bottom:1px solid #e7eaf1;
}
#topics .pa-card-body{
  flex:1;
  min-height:0;
  height:190px;
  padding:18px 16px 15px;
}
#topics .pa-card h3{
  min-height:44px;
  display:flex;
  align-items:flex-start;
  margin-bottom:7px;
}
#topics .pa-card p{
  min-height:58px;
  margin-bottom:12px;
}
#topics .pa-card button{
  width:100%;
  min-height:40px;
}

/* Shared grid sections: equal rows and identical media frames per card type */
.pa-grid-3,.pa-grid-6{align-items:stretch}
.pa-grid-3>.pa-card,.pa-grid-6>.pa-card{height:100%}

/* Popular / New This Week */
.pa-grid-3 .pa-card.small>img{
  width:100%;
  height:165px;
  min-height:165px;
  max-height:165px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
}
.pa-grid-3 .pa-card.small .pa-card-body{
  min-height:205px;
}

/* Five Minute Tips */
.pa-grid-6 .pa-card.tip>img{
  width:100%;
  height:170px;
  min-height:170px;
  max-height:170px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
}

/* Recommendations */
.pa-grid-6 .pa-card.recommended>img{
  width:100%;
  height:175px;
  min-height:175px;
  max-height:175px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
}

/* AI examples */
.pa-grid-6 .pa-card.ai-example>img{
  width:100%;
  height:175px;
  min-height:175px;
  max-height:175px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
}

/* Success stories */
.pa-grid-6 .pa-card.story>img{
  width:100%;
  height:180px;
  min-height:180px;
  max-height:180px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
}

/* Journey cards */
.pa-grid-6 .pa-card.journey>img{
  width:100%;
  height:185px;
  min-height:185px;
  max-height:185px;
  aspect-ratio:auto;
  padding:0;
  object-fit:cover;
  object-position:center;
}

/* Printable resources retain the full artwork, but in equal-sized frames */
.pa-grid-6 .pa-card.resource>img{
  box-sizing:border-box;
  width:100%;
  height:220px;
  min-height:220px;
  max-height:220px;
  aspect-ratio:auto;
  padding:8px;
  object-fit:contain;
  object-position:center;
  background:#fff;
}

/* Keep headings, descriptions and controls aligned inside each grid */
.pa-grid-6 .pa-card-body{
  min-height:190px;
}
.pa-grid-6 .pa-card h3{
  min-height:44px;
}
.pa-grid-6 .pa-card p{
  min-height:58px;
}
.pa-grid-6 .pa-card button{
  margin-top:auto;
}

@media(max-width:760px){
  #topics .pa-card{
    flex-basis:min(82vw,330px);
    width:min(82vw,330px);
    min-width:min(82vw,330px);
    height:395px;
  }
  #topics .pa-card>img{
    height:205px;
    min-height:205px;
    max-height:205px;
  }
  #topics .pa-card-body{height:190px}
  .pa-grid-3 .pa-card.small>img,
  .pa-grid-6 .pa-card.tip>img,
  .pa-grid-6 .pa-card.recommended>img,
  .pa-grid-6 .pa-card.ai-example>img,
  .pa-grid-6 .pa-card.story>img,
  .pa-grid-6 .pa-card.journey>img{
    height:210px;
    min-height:210px;
    max-height:210px;
  }
  .pa-grid-6 .pa-card.resource>img{
    height:240px;
    min-height:240px;
    max-height:240px;
  }
}


/* =========================================================
   HOME + PARENT ACADEMY ONLY — final section consistency pass
   No rules below apply to Services or any other page.
   ========================================================= */

/* Shared page rhythm */
.home-page main,
.parent-academy-page .pa-page{overflow:hidden}
.home-page .home-section,
.parent-academy-page .pa-section{box-sizing:border-box}

/* HOME: cards in each section share one exact template */
.home-page #services-preview .home-card-grid{grid-auto-rows:1fr}
.home-page #services-preview .home-feature-card{height:100%;overflow:hidden}
.home-page #services-preview .home-feature-card>img{
  width:100%;height:210px;min-height:210px;max-height:210px;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.home-page #services-preview .home-feature-card>div{min-height:220px}
.home-page #services-preview .home-feature-card h3{min-height:50px}
.home-page #services-preview .home-feature-card p{min-height:62px}

.home-page #knowledge .home-card-grid{grid-auto-rows:1fr}
.home-page #knowledge .article-card{height:100%;overflow:hidden}
.home-page #knowledge .article-card>img{
  width:100%;height:270px;min-height:270px;max-height:270px;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.home-page #knowledge .article-card>div{min-height:230px}
.home-page #knowledge .article-card h3{min-height:54px}
.home-page #knowledge .article-card p{min-height:64px}

.home-page .academy-cards{align-items:stretch}
.home-page .academy-cards a{height:100%;overflow:hidden}
.home-page .academy-cards img{
  width:100%;height:165px;min-height:165px;max-height:165px;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.home-page .academy-cards span{min-height:46px;display:flex;align-items:center}

.home-page #kids .home-card-grid{grid-auto-rows:1fr}
.home-page #kids .mini-card{height:100%;overflow:hidden;padding-bottom:17px}
.home-page #kids .mini-card img{
  width:100%;height:190px;min-height:190px;max-height:190px;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.home-page #kids .mini-card h3{min-height:44px}
.home-page #kids .mini-card p{min-height:42px}

.home-page .resource-thumbs{align-items:stretch}
.home-page .resource-thumbs img{
  box-sizing:border-box;width:100%;height:235px;min-height:235px;max-height:235px;
  aspect-ratio:auto;object-fit:contain;object-position:center;padding:10px;background:#fff
}

/* HOME: hero stays wide, balanced and uncropped */
.home-page .home-hero{align-items:stretch}
.home-page .home-hero-media{min-height:540px;overflow:hidden}
.home-page .home-hero-media>img{width:100%;height:100%;object-fit:cover;object-position:center}

/* PARENT ACADEMY: universal internal alignment, section-specific media sizes */
.parent-academy-page .pa-card{height:100%;overflow:hidden}
.parent-academy-page .pa-card-body{display:flex;flex:1;flex-direction:column;box-sizing:border-box}
.parent-academy-page .pa-card-body button{margin-top:auto}
.parent-academy-page .pa-grid-3,
.parent-academy-page .pa-grid-6{align-items:stretch;grid-auto-rows:1fr}

/* Browse by Topic — identical landscape cards */
.parent-academy-page #topics .pa-scroll{align-items:stretch}
.parent-academy-page #topics .pa-card{
  flex:0 0 230px;width:230px;min-width:230px;height:390px
}
.parent-academy-page #topics .pa-card>img{
  width:100%;height:190px;min-height:190px;max-height:190px;
  padding:0;aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.parent-academy-page #topics .pa-card-body{height:200px;min-height:200px;padding:17px 16px 15px}
.parent-academy-page #topics .pa-card h3{min-height:44px;margin:0 0 7px}
.parent-academy-page #topics .pa-card p{min-height:56px;margin:0 0 12px}
.parent-academy-page #topics .pa-card button{min-height:40px;width:100%}

/* Popular and New This Week */
.parent-academy-page .pa-grid-3 .pa-card.small>img{
  width:100%;height:180px;min-height:180px;max-height:180px;
  padding:0;aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.parent-academy-page .pa-grid-3 .pa-card.small .pa-card-body{min-height:215px}
.parent-academy-page .pa-grid-3 .pa-card.small h3{min-height:48px}
.parent-academy-page .pa-grid-3 .pa-card.small p{min-height:58px}

/* Six-column sections each use one fixed media frame */
.parent-academy-page .pa-grid-6 .pa-card.tip>img{
  width:100%;height:172px;min-height:172px;max-height:172px;padding:0;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.parent-academy-page .pa-grid-6 .pa-card.recommended>img,
.parent-academy-page .pa-grid-6 .pa-card.ai-example>img{
  width:100%;height:178px;min-height:178px;max-height:178px;padding:0;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.parent-academy-page .pa-grid-6 .pa-card.story>img{
  width:100%;height:184px;min-height:184px;max-height:184px;padding:0;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.parent-academy-page .pa-grid-6 .pa-card.journey>img{
  width:100%;height:190px;min-height:190px;max-height:190px;padding:0;
  aspect-ratio:auto;object-fit:cover;object-position:center;background:#eef3f8
}
.parent-academy-page .pa-grid-6 .pa-card.resource>img{
  box-sizing:border-box;width:100%;height:225px;min-height:225px;max-height:225px;
  padding:10px;aspect-ratio:auto;object-fit:contain;object-position:center;background:#fff
}
.parent-academy-page .pa-grid-6 .pa-card-body{min-height:195px}
.parent-academy-page .pa-grid-6 .pa-card h3{min-height:46px}
.parent-academy-page .pa-grid-6 .pa-card p{min-height:60px}

/* Hero image remains a true wide image, not a card crop */
.parent-academy-page .pa-hero{align-items:stretch}
.parent-academy-page .pa-hero-photo{min-height:515px;overflow:hidden}
.parent-academy-page .pa-hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:center}

@media(max-width:1200px){
  .home-page .home-hero-media{min-height:440px}
  .parent-academy-page .pa-hero-photo{min-height:430px}
}
@media(max-width:760px){
  .home-page #services-preview .home-feature-card>img,
  .home-page #knowledge .article-card>img,
  .home-page #kids .mini-card img{height:220px;min-height:220px;max-height:220px}
  .home-page .academy-cards img{height:180px;min-height:180px;max-height:180px}
  .home-page .resource-thumbs img{height:245px;min-height:245px;max-height:245px}
  .home-page .home-hero-media{min-height:360px}

  .parent-academy-page #topics .pa-card{
    flex-basis:min(82vw,330px);width:min(82vw,330px);min-width:min(82vw,330px);height:410px
  }
  .parent-academy-page #topics .pa-card>img{height:210px;min-height:210px;max-height:210px}
  .parent-academy-page #topics .pa-card-body{height:200px;min-height:200px}
  .parent-academy-page .pa-grid-3 .pa-card.small>img,
  .parent-academy-page .pa-grid-6 .pa-card.tip>img,
  .parent-academy-page .pa-grid-6 .pa-card.recommended>img,
  .parent-academy-page .pa-grid-6 .pa-card.ai-example>img,
  .parent-academy-page .pa-grid-6 .pa-card.story>img,
  .parent-academy-page .pa-grid-6 .pa-card.journey>img{
    height:215px;min-height:215px;max-height:215px
  }
  .parent-academy-page .pa-grid-6 .pa-card.resource>img{height:250px;min-height:250px;max-height:250px}
  .parent-academy-page .pa-hero-photo{min-height:350px}
}

/* =========================================================
   HOME + PARENT ACADEMY — screenshot correction v2
   Strong page-scoped overrides. Other pages remain untouched.
   ========================================================= */

/* HOME — Knowledge Centre: equal landscape media and compact equal bodies */
.home-page #knowledge .home-card-grid.three {
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}
.home-page #knowledge .article-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}
.home-page #knowledge .article-card > img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 235px !important;
  min-height: 235px !important;
  max-height: 235px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #eef2f8 !important;
}
.home-page #knowledge .article-card > div {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 205px !important;
  padding: 19px 18px 17px !important;
}
.home-page #knowledge .article-card h3 {
  min-height: 50px !important;
  margin-bottom: 10px !important;
}
.home-page #knowledge .article-card p {
  min-height: 54px !important;
  margin-bottom: 14px !important;
}
.home-page #knowledge .article-card button {
  margin-top: auto !important;
}

/* HOME — all card media in the same section fill identical frames */
.home-page #services-preview .home-feature-card > img,
.home-page #kids .mini-card > img,
.home-page .academy-cards a > img {
  display: block !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* PARENT ACADEMY — Popular and New This Week: landscape, edge-to-edge images */
.parent-academy-page .pa-split .pa-grid-3 {
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}
.parent-academy-page .pa-split .pa-grid-3 > .pa-card.small {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}
.parent-academy-page .pa-split .pa-grid-3 > .pa-card.small > img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 178px !important;
  min-height: 178px !important;
  max-height: 178px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 38% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #eef2f8 !important;
  border-bottom: 1px solid #e5e9f1 !important;
}
.parent-academy-page .pa-split .pa-grid-3 > .pa-card.small .pa-card-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 190px !important;
  padding: 17px 16px 15px !important;
}
.parent-academy-page .pa-split .pa-grid-3 > .pa-card.small h3 {
  min-height: 46px !important;
  margin: 3px 0 8px !important;
}
.parent-academy-page .pa-split .pa-grid-3 > .pa-card.small p {
  min-height: 54px !important;
  margin: 0 0 12px !important;
}
.parent-academy-page .pa-split .pa-grid-3 > .pa-card.small button {
  width: 100% !important;
  min-height: 39px !important;
  margin-top: auto !important;
}

/* PARENT ACADEMY — Browse by Topic: identical edge-to-edge landscape frames */
.parent-academy-page #topics .pa-card > img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 40% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #eef2f8 !important;
}
.parent-academy-page #topics .pa-card {
  height: 375px !important;
}
.parent-academy-page #topics .pa-card-body {
  height: 195px !important;
  min-height: 195px !important;
}

@media (max-width: 760px) {
  .home-page #knowledge .article-card > img {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }
  .parent-academy-page .pa-split .pa-grid-3 > .pa-card.small > img,
  .parent-academy-page #topics .pa-card > img {
    height: 205px !important;
    min-height: 205px !important;
    max-height: 205px !important;
  }
  .parent-academy-page #topics .pa-card {
    height: 400px !important;
  }
}


/* HOME — portrait-safe Knowledge Centre media (Home page only) */
.home-page #knowledge .article-card > .article-media {
  position: relative !important;
  width: 100% !important;
  height: 235px !important;
  min-height: 235px !important;
  max-height: 235px !important;
  overflow: hidden !important;
  background: #e9edf5 !important;
}
.home-page #knowledge .article-card > .article-media.portrait-safe::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-image: var(--media-image);
  background-size: cover;
  background-position: center 26%;
  filter: blur(18px) saturate(.9);
  transform: scale(1.12);
  opacity: .58;
}
.home-page #knowledge .article-card > .article-media.portrait-safe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.20), rgba(255,255,255,.05), rgba(255,255,255,.20));
}
.home-page #knowledge .article-card > .article-media.portrait-safe > img {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Neutralise the older direct-child image rule for the wrapped portrait card. */
.home-page #knowledge .article-card > .article-media + div {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}
@media (max-width:760px){
  .home-page #knowledge .article-card > .article-media {
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
  }
}

/* HOME — Knowledge Centre layout v4 only */
.home-page .knowledge-layout-v4{
  padding-top:clamp(48px,6vw,82px);
  padding-bottom:clamp(54px,7vw,90px);
}
.home-page .knowledge-heading-v4{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:26px;
}
.home-page .knowledge-heading-v4 h2{margin:7px 0 5px;max-width:760px}
.home-page .knowledge-heading-v4 p{margin:0;max-width:760px}
.home-page .knowledge-grid-v4{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.home-page .knowledge-card-v4{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #dfe6f2;
  border-radius:20px;
  box-shadow:0 14px 34px rgba(25,49,92,.08);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.home-page .knowledge-card-v4:hover{
  transform:translateY(-4px);
  border-color:#cfc4ff;
  box-shadow:0 20px 42px rgba(52,37,122,.13);
}
.home-page .knowledge-image-v4{
  position:relative;
  width:100%;
  aspect-ratio:16/7;
  overflow:hidden;
  background:#eef2f8;
}
.home-page .knowledge-image-v4 img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.home-page .knowledge-icon-v4{
  position:absolute;
  right:16px;
  bottom:14px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:6px solid rgba(255,255,255,.96);
  border-radius:50%;
  background:#6b35f4;
  color:white;
  font-size:19px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(34,24,95,.18);
}
.home-page .knowledge-icon-v4.pink{background:#ef3d86}
.home-page .knowledge-icon-v4.blue{background:#6b35f4;letter-spacing:1px;font-size:16px}
.home-page .knowledge-body-v4{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:19px 20px 18px;
  min-height:214px;
}
.home-page .knowledge-body-v4>span{
  color:#6232ed;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  text-transform:none;
}
.home-page .knowledge-body-v4 h3{
  margin:8px 0 9px;
  font-size:clamp(18px,1.35vw,22px);
  line-height:1.18;
  min-height:52px;
}
.home-page .knowledge-body-v4 p{
  margin:0 0 15px;
  font-size:14px;
  line-height:1.52;
  color:#5a6881;
}
.home-page .knowledge-body-v4 button{
  margin-top:auto;
  padding:0;
  border:0;
  background:transparent;
  color:#6030e8;
  font:inherit;
  font-weight:800;
  text-align:left;
  cursor:pointer;
}
@media(max-width:900px){
  .home-page .knowledge-grid-v4{grid-template-columns:1fr 1fr}
  .home-page .knowledge-card-v4:last-child{grid-column:1/-1}
  .home-page .knowledge-image-v4{aspect-ratio:16/8}
}
@media(max-width:620px){
  .home-page .knowledge-heading-v4{align-items:flex-start;flex-direction:column;gap:12px}
  .home-page .knowledge-grid-v4{grid-template-columns:1fr}
  .home-page .knowledge-card-v4:last-child{grid-column:auto}
  .home-page .knowledge-image-v4{aspect-ratio:16/9}
  .home-page .knowledge-body-v4{min-height:0}
  .home-page .knowledge-body-v4 h3{min-height:0}
}


/* COMPASS V7 MASTER RESTORATION — scoped refinements only */
.section-title-badge{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:17px;margin-bottom:10px;color:#fff;font-size:26px;box-shadow:0 9px 22px rgba(20,44,89,.14)}
.section-title-badge.teal{background:#0aa2ac}
.parent-academy-page #topics .pa-title>div,.parent-academy-page #popular .pa-title>div,.parent-academy-page #tips .pa-title>div{display:block}
.parent-academy-page #topics .pa-title .pa-icon,.parent-academy-page #popular .pa-title .pa-icon,.parent-academy-page #tips .pa-title .pa-icon{display:none!important}
.parent-academy-page #journeys .pa-title .pa-icon,.parent-academy-page #recommended .pa-title .pa-icon,.parent-academy-page #ai .pa-title .pa-icon,.parent-academy-page #stories .pa-title .pa-icon{width:56px!important;height:56px!important;min-width:56px!important;border-radius:16px!important;font-size:25px!important}
.services-page .service-card .symbol-mask-badge,.services-page .service-card .pa-dot{transform:scale(1.12);transform-origin:center}
.home-page #services-preview .section-title-badge{width:58px;height:58px}
/* consistent, non-destructive image fitting */
.home-page .home-feature-card>img,.home-page .knowledge-image-v4 img,.parent-academy-page .pa-card>img,.services-page .service-card>img{object-position:center center}
.parent-academy-page .pa-card>img{background:#f2f5fa}
.parent-academy-page #topics .pa-card>img,.parent-academy-page #journeys .pa-card>img,.parent-academy-page #recommended .pa-card>img,.parent-academy-page #ai .pa-card>img,.parent-academy-page #stories .pa-card>img{object-fit:contain!important}
@media(max-width:760px){.section-title-badge{width:52px;height:52px;font-size:23px}.parent-academy-page #journeys .pa-title .pa-icon,.parent-academy-page #recommended .pa-title .pa-icon,.parent-academy-page #ai .pa-title .pa-icon,.parent-academy-page #stories .pa-title .pa-icon{width:52px!important;height:52px!important;min-width:52px!important}}

/* Knowledge Centre restoration */
.knowledge-page{background:#f7f9fd;color:var(--ink)}
.kc-main{max-width:1600px;margin:auto}
.kc-hero{display:grid;grid-template-columns:48% 52%;min-height:430px;background:linear-gradient(115deg,#f4f0ff,#eefaff);overflow:hidden;border-radius:0 0 30px 30px}
.kc-hero-copy{padding:58px 5vw;display:flex;flex-direction:column;justify-content:center}
.kc-hero h1{font-size:clamp(38px,4.6vw,64px);line-height:1.02;letter-spacing:-2px;color:var(--navy);margin:10px 0 18px;max-width:700px}
.kc-hero p{font-size:17px;line-height:1.65;color:#405372;max-width:650px}
.kc-hero-media{min-height:430px;background:#eef5fb;overflow:hidden}
.kc-hero-media img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.kc-search{display:flex;gap:10px;max-width:700px;margin-top:20px;background:#fff;padding:8px;border-radius:18px;box-shadow:0 12px 30px rgba(30,50,95,.12)}
.kc-search input{flex:1;border:0;outline:0;padding:13px 15px;font:inherit;min-width:0}
.kc-search button{border:0;border-radius:13px;padding:0 22px;background:#6235e7;color:#fff;font-weight:850;cursor:pointer}
.kc-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.kc-stats span{background:rgba(255,255,255,.8);border:1px solid #e0e5ef;border-radius:999px;padding:8px 12px;font-size:12px;color:#4c5d78}.kc-stats b{color:#5c30db}
.kc-browser,.kc-guides{padding:68px 4vw}.kc-browser-head{display:flex;justify-content:space-between;gap:20px;align-items:end}.kc-browser-head h2,.kc-guides-head h2,.kc-feature-band h2{font-size:clamp(29px,3vw,43px);margin:7px 0 8px;color:var(--navy)}.kc-browser-head p,.kc-guides-head p{margin:0;color:#5c6b82}.kc-browser-head>span{font-weight:850;color:#6334e7;background:#eee8ff;padding:9px 14px;border-radius:999px}
.kc-filters{display:flex;gap:9px;flex-wrap:wrap;margin:26px 0}.kc-filters button{border:1px solid #dce3ee;background:#fff;border-radius:999px;padding:10px 15px;font-weight:800;color:#3d4f6c;cursor:pointer}.kc-filters button.active{background:#6034e4;color:#fff;border-color:#6034e4}
.kc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.kc-topic-card{background:#fff;border:1px solid #dfe5ef;border-radius:21px;overflow:hidden;box-shadow:0 12px 32px rgba(25,48,90,.07);transition:.2s}.kc-topic-card:hover{transform:translateY(-4px);box-shadow:0 19px 40px rgba(25,48,90,.12)}.kc-topic-card[hidden]{display:none}.kc-topic-card a{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}.kc-card-media{height:225px;background:#f0f3f8;overflow:hidden}.kc-card-media img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.kc-card-body{padding:20px;display:flex;flex:1;flex-direction:column;min-height:210px}.kc-card-body span{font-size:12px;font-weight:850;color:#6635e6}.kc-card-body h2{font-size:22px;margin:8px 0;color:var(--navy)}.kc-card-body p{color:#5b6a80;line-height:1.55;margin:0 0 18px}.kc-card-body b{margin-top:auto;color:#6034df}.kc-empty{text-align:center;padding:55px;background:#fff;border-radius:20px;border:1px dashed #ccd5e4}
.kc-feature-band{margin:0 4vw 30px;padding:34px 38px;border-radius:24px;background:linear-gradient(115deg,#0a2052,#243b77);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px}.kc-feature-band h2{color:#fff}.kc-feature-band p{color:#dce5f5;max-width:850px}.kc-feature-band a{white-space:nowrap;text-decoration:none;background:#fff;color:#5d31df;padding:13px 19px;border-radius:999px;font-weight:850}
.kc-guides{padding-top:35px}.kc-guides-head{text-align:center;max-width:850px;margin:0 auto 32px}.kc-guide{background:#fff;border:1px solid #dfe5ef;border-radius:24px;overflow:hidden;margin:0 0 26px;box-shadow:0 12px 32px rgba(25,48,90,.06);scroll-margin-top:100px}.kc-guide-hero{display:grid;grid-template-columns:34% 66%;min-height:260px;background:linear-gradient(110deg,#f3f6fb,#f5f0ff)}.kc-guide-hero img{width:100%;height:100%;max-height:300px;object-fit:contain;background:#eef2f7}.kc-guide-hero div{padding:36px;display:flex;flex-direction:column;justify-content:center}.kc-guide-hero span{font-size:12px;font-weight:850;color:#6635e6}.kc-guide-hero h2{font-size:34px;color:var(--navy);margin:8px 0}.kc-guide-hero p{color:#52627c;line-height:1.6;max-width:760px}.kc-guide-content{display:grid;grid-template-columns:1fr 330px;gap:34px;padding:34px}.kc-guide-content h3{color:var(--navy);margin-top:0}.kc-guide-content ul{padding-left:20px;line-height:1.75;color:#3f516d}.kc-guide-content aside{background:#f6f3ff;border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:11px}.kc-guide-content aside a{text-decoration:none;color:#5e33dd;font-weight:750}.kc-guide-content aside button{margin-top:8px;border:0;border-radius:13px;padding:12px;background:#6034e4;color:#fff;font-weight:850;cursor:pointer}
.site-footer{background:#081b49;color:#fff;padding:38px 5vw;display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer img{width:160px;border-radius:12px}.site-footer p{color:#d6e0f2}.site-footer div{display:flex;flex-direction:column;gap:9px}.site-footer a{color:#dce4f4;text-decoration:none}.site-footer b{margin-bottom:5px}
@media(max-width:1000px){.kc-hero{grid-template-columns:1fr}.kc-hero-media{min-height:320px}.kc-grid{grid-template-columns:repeat(2,1fr)}.kc-guide-content{grid-template-columns:1fr}.kc-guide-hero{grid-template-columns:42% 58%}}
@media(max-width:650px){.kc-hero-copy,.kc-browser,.kc-guides{padding-left:20px;padding-right:20px}.kc-hero h1{font-size:40px}.kc-search{flex-direction:column}.kc-search button{padding:13px}.kc-browser-head,.kc-feature-band{align-items:flex-start;flex-direction:column}.kc-grid{grid-template-columns:1fr}.kc-card-media{height:220px}.kc-guide-hero{grid-template-columns:1fr}.kc-guide-hero img{height:240px}.kc-guide-hero div,.kc-guide-content{padding:24px}.kc-feature-band{margin-left:20px;margin-right:20px;padding:27px}.site-footer{grid-template-columns:1fr}.kc-stats{display:none}}

/* KNOWLEDGE CENTRE V2 — Parent Academy structure, adapted as a knowledge library */
.knowledge-v2-page .kc-hero .pa-hero-photo>img{object-fit:cover;object-position:center 38%;background:#eef4f8}.knowledge-v2-page .kc-filter-row{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 24px}.knowledge-v2-page .kc-filter-row button{border:1px solid #dce2ec;background:#fff;color:#27385d;border-radius:999px;padding:10px 15px;font-weight:800;cursor:pointer}.knowledge-v2-page .kc-filter-row button.active,.knowledge-v2-page .kc-filter-row button:hover{background:#4e31c5;color:#fff;border-color:#4e31c5}.knowledge-v2-page .kc-count{background:#f0ecff;border-radius:999px;padding:9px 14px;color:#472bbb;font-size:13px}.knowledge-v2-page .kc-topic-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;align-items:stretch}.knowledge-v2-page .kc-topic-grid .pa-card{display:flex;flex-direction:column;height:100%;min-width:0}.knowledge-v2-page .kc-topic-grid .pa-card>img{width:100%;height:178px;min-height:178px;max-height:178px;object-fit:contain;object-position:center;background:#f2f5f9;padding:0;display:block}.knowledge-v2-page .kc-topic-grid .pa-card-body{display:flex;flex:1;flex-direction:column;min-height:210px}.knowledge-v2-page .kc-topic-grid .pa-card h3{min-height:46px}.knowledge-v2-page .kc-topic-grid .pa-card p{min-height:66px}.knowledge-v2-page .kc-topic-grid .pa-card button{margin-top:auto;width:100%}.knowledge-v2-page .kc-empty{text-align:center;padding:45px;border:2px dashed #d9ddeb;border-radius:20px;background:#fff}.knowledge-v2-page .coming-soon-card{position:relative;overflow:hidden}.knowledge-v2-page .coming-soon-ribbon{position:absolute;z-index:4;top:18px;right:-42px;width:175px;text-align:center;transform:rotate(35deg);padding:8px 0;background:linear-gradient(135deg,#5032c7,#7c5cff);color:white;font-size:11px;font-weight:1000;letter-spacing:.08em;box-shadow:0 5px 16px rgba(46,29,130,.25)}.knowledge-v2-page .kc-course-grid .course-card>img{width:100%;height:230px;min-height:230px;max-height:230px;object-fit:contain;object-position:center;background:#f2f5f9;display:block}.knowledge-v2-page .kc-course-grid .course-content{min-height:270px}.knowledge-v2-page .kc-course-grid button[disabled]{opacity:1;background:#ebe8f7;color:#5c4c94;cursor:not-allowed}.knowledge-v2-page .pa-grid-6 .pa-card>img{width:100%;height:210px;min-height:210px;max-height:210px;object-fit:contain;object-position:center;background:#f3f6fa;display:block}.knowledge-v2-page .pa-grid-6 .pa-card.resource>img{height:245px;min-height:245px;max-height:245px}.knowledge-v2-page .modal-box{max-width:720px}.knowledge-v2-page .kc-modal-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.knowledge-v2-page .kc-modal-sections>div{background:#f6f7fb;border-radius:14px;padding:15px}.knowledge-v2-page .kc-modal-sections h3{font-size:15px;margin:0 0 7px}.knowledge-v2-page .kc-modal-sections p{font-size:13px;line-height:1.55;margin:0}@media(max-width:1350px){.knowledge-v2-page .kc-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:980px){.knowledge-v2-page .kc-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.knowledge-v2-page .kc-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.knowledge-v2-page .kc-topic-grid .pa-card>img{height:155px;min-height:155px;max-height:155px}.knowledge-v2-page .kc-modal-sections{grid-template-columns:1fr}.knowledge-v2-page .kc-course-grid .course-card>img,.knowledge-v2-page .pa-grid-6 .pa-card>img{height:210px;min-height:210px;max-height:210px}}@media(max-width:460px){.knowledge-v2-page .kc-topic-grid{grid-template-columns:1fr}.knowledge-v2-page .kc-topic-grid .pa-card>img{height:220px;min-height:220px;max-height:220px}}

.parent-academy-page .coming-soon-card{position:relative;overflow:hidden}.parent-academy-page .coming-soon-ribbon{position:absolute;z-index:5;top:18px;right:-42px;width:175px;text-align:center;transform:rotate(35deg);padding:8px 0;background:linear-gradient(135deg,#5032c7,#7c5cff);color:#fff;font-size:11px;font-weight:1000;letter-spacing:.08em;box-shadow:0 5px 16px rgba(46,29,130,.25)}.parent-academy-page .course-card>img{width:100%;object-fit:contain!important;object-position:center!important;background:#f3f6fb}.parent-academy-page .course-card button[disabled]{opacity:1;background:#ebe8f7;color:#5c4c94;cursor:not-allowed}

/* PARENT ACADEMY IMAGE CORRESPONDENCE + FULL-VISIBILITY FIX */
.parent-academy-page #topics .pa-card>img,
.parent-academy-page .pa-grid-3 .pa-card.small>img,
.parent-academy-page .pa-grid-6 .pa-card.tip>img,
.parent-academy-page .pa-grid-6 .pa-card.recommended>img,
.parent-academy-page .pa-grid-6 .pa-card.ai-example>img,
.parent-academy-page .pa-grid-6 .pa-card.story>img,
.parent-academy-page .pa-grid-6 .pa-card.journey>img{
  object-fit:contain;
  object-position:center;
  background:linear-gradient(135deg,#f7f8fc,#edf3f8);
  padding:6px;
  box-sizing:border-box;
}
.parent-academy-page .pa-grid-6 .pa-card.resource>img{
  object-fit:contain;
  object-position:center;
  padding:10px;
  background:#fff;
}
.parent-academy-page .parent-courses .course-card>img{
  object-fit:contain;
  object-position:center;
  background:linear-gradient(135deg,#f7f8fc,#edf3f8);
  padding:6px;
  box-sizing:border-box;
}
.parent-academy-page .pa-hero-photo>img{
  object-fit:contain;
  object-position:center;
  background:linear-gradient(135deg,#f2f7fb,#edf8f7);
  padding:8px;
  box-sizing:border-box;
}
/* Parent Academy custom image library: consistent landscape photos with clear subjects */
.pa-card > img,
.pa-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pa-card.small > img,
.pa-card.tip > img,
.pa-card.recommended > img,
.pa-card.ai-example > img,
.pa-card.story > img {
  height: 150px;
}
.pa-hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Printable cards retain their full designed preview. */
.pa-card img[src*="print-"],
.pa-card img[src*="token"],
.pa-card img[src*="choice-board"],
.pa-card img[src*="passport"],
.pa-card img[src*="pecs"] {
  object-fit: contain;
  background: #f7f4ff;
}
