@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--navy:#091337;--blue:#008cff;--mint:#00b98a;--ink:#293653;--muted:#62708b;--paper:#f6f9fc;--line:#e4eaf2}body{font-family:'DM Sans',sans-serif;color:var(--ink);line-height:1.7;background:#fff}h1,h2,h3,h4,h5,h6,.navbar-brand{font-family:'Outfit',sans-serif;color:var(--navy);letter-spacing:-.025em}a{color:#086fc5}a:hover{color:#064f8b}.brand-accent{color:var(--mint)}.top-strip{background:var(--navy);color:#d7e5ff;font-size:.8rem;padding:.38rem 0}.top-strip a{color:#fff;text-decoration:none}.navbar{box-shadow:0 5px 22px #0913370a}.navbar-brand{font-weight:800;display:flex;align-items:center;gap:.6rem;font-size:1.4rem}.navbar-brand img{max-height:44px;max-width:54px;object-fit:contain}.nav-link{font-weight:600;font-size:.91rem;color:var(--navy)}.btn{border-radius:12px;padding:.7rem 1.2rem;font-weight:700}.btn-brand{background:var(--mint);color:#072b29;border:1px solid var(--mint)}.btn-brand:hover{background:#00a67d;color:#fff}.btn-outline-brand{border:1px solid var(--mint);color:var(--navy)}.btn-outline-brand:hover{background:var(--mint);color:#fff}.hero{background:radial-gradient(circle at 90% 10%,#d7fff0,transparent 40%),linear-gradient(130deg,#f3f9ff,#fff);padding:6rem 0 5rem}.hero h1{font-size:clamp(2.7rem,5.5vw,5rem);line-height:1.09;font-weight:800}.eyebrow{font-size:.77rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#078f70}.lead{color:#52627c}.section-pad{padding:5rem 0}.soft-section{background:var(--paper)}.feature-card,.article-card,.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:2rem;height:100%;box-shadow:0 8px 25px #09133708}.feature-card .number{font-size:2.5rem;color:var(--mint);font-family:Outfit;font-weight:800}.article-card{display:flex;flex-direction:column}.article-card h3{font-size:1.35rem}.article-card p{flex:1}.tag{display:inline-block;font-size:.75rem;font-weight:700;background:#e0f8ef;color:#09664e;padding:.3rem .75rem;border-radius:20px}.page-hero{background:linear-gradient(115deg,#edf9f7,#f4f8ff);padding:4.5rem 0}.prose{max-width:850px;margin:auto}.prose h2,.prose h3{margin-top:2rem}.prose img{max-width:100%;height:auto}.site-footer{background:var(--navy);color:#bdc9e0}.site-footer a{display:block;color:#dce7f9;text-decoration:none;margin:.4rem 0}.site-footer a:hover{color:#64e5bf}.site-footer hr{border-color:#61708c}.skip-link{position:absolute;top:-80px;left:10px;background:#fff;padding:12px;z-index:999}.skip-link:focus{top:10px}input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #008cff;outline-offset:2px}@media(max-width:767px){.hero{padding:4rem 0}.section-pad{padding:3.5rem 0}.feature-card,.article-card{padding:1.5rem}}



/* v1.4 refined site design — consistent rhythm, surfaces and footer */
:root{--navy:#10274b;--blue:#1879b6;--mint:#00a98c;--ink:#243651;--muted:#61728b;--paper:#f4f8fc;--line:#dce7f0;--pale-blue:#eaf4fc;--card-shadow:0 4px 18px rgba(16,39,75,.045)}
html{scroll-padding-top:105px}body{background:#edf5fa url('../images/hero-area/banner-bg.png') center top/cover fixed no-repeat;color:var(--ink);line-height:1.68}
h1,h2,h3,h4,h5,h6{color:var(--navy);line-height:1.22}p{margin-bottom:1.15rem}a{color:#116b9d}a:hover{color:#075079}
.container{max-width:1160px}.top-strip{background:#10274b;padding:.5rem 0}.navbar{background:#fff!important;box-shadow:0 3px 16px rgba(16,39,75,.06);padding:.8rem 0}.navbar-brand img{width:170px;max-width:170px;max-height:70px;height:auto;object-fit:contain}.nav-link{padding:.65rem .8rem!important}.nav-link:hover{color:#087f9e}
main{width:min(1320px,calc(100% - 64px));margin:34px auto 52px;background:#fff;border:1px solid #dbe6ef;border-radius:20px;box-shadow:0 18px 48px rgba(20,56,90,.085);overflow:hidden}
.hero,.page-hero{background:linear-gradient(120deg,#eaf5ff 0%,#f4f9ff 64%,#eaf8f5 100%);border-bottom:1px solid #dce9f3}.hero{padding:5rem 0}.page-hero{padding:3.5rem 0}.hero h1{font-size:clamp(2.6rem,5vw,4.5rem);letter-spacing:-.045em}.page-hero h1{max-width:900px}.lead{color:#536983;line-height:1.6}.eyebrow{color:#087e8b;letter-spacing:.105em}
.section-pad{padding:4.4rem 0;background:#fff}.section-pad.soft-section{background:#f6f9fd}.section-pad .container>.mb-5:first-child,.section-pad .container>.mb-4:first-child{border:0;padding-bottom:0;margin-bottom:2.2rem!important}.section-pad h2{margin-bottom:1rem}.section-pad .row{--bs-gutter-x:1.5rem;--bs-gutter-y:1.5rem}
.feature-card,.article-card,.panel{background:#fff;border:1px solid #dbe7f0;border-radius:14px;padding:1.75rem;box-shadow:var(--card-shadow);height:100%;transition:box-shadow .2s,border-color .2s}.feature-card:hover,.article-card:hover{border-color:#b6d5e7;box-shadow:0 9px 26px rgba(16,39,75,.08)}.feature-card h3,.article-card h3{font-size:1.22rem;margin:0 0 .85rem}.feature-card .number{font-size:2rem;color:#1383ae;margin-bottom:1rem}.article-card p{color:#586b80}.panel h2,.panel h3{color:#17466c}.tag{background:#e9f6fa;color:#11647b;border:1px solid #cfe8f1}
.btn{border-radius:9px;padding:.7rem 1.2rem}.btn-brand{background:#087ca9;color:#fff;border-color:#087ca9}.btn-brand:hover{background:#08658b;border-color:#08658b;color:#fff}.btn-outline-brand{color:#14658b;border-color:#a9cfe0;background:#fff}.btn-outline-brand:hover{background:#e7f4fb;border-color:#7db5d2;color:#124a6c}
.prose{max-width:820px;line-height:1.85}.prose h2,.prose h3{margin-top:2.3rem;margin-bottom:1rem}.prose blockquote{background:#f2f8fd;border-left:4px solid #76b9d8;border-radius:8px;padding:1.3rem 1.5rem}.form-control,.form-select{border:1px solid #ccdde9;border-radius:9px}.form-control:focus,.form-select:focus{border-color:#4c9cc4;box-shadow:0 0 0 .2rem rgba(24,121,182,.12)}
/* Full-bleed footer outside the central white main surface */
.site-footer{width:100%;margin:0!important;background:#10274b;color:#c9d8e8;border-top:4px solid #1385aa}.site-footer .footer-inner{max-width:1160px}.site-footer h2,.site-footer h3{color:#fff}.site-footer p{max-width:430px;color:#c9d8e8}.site-footer a{color:#e3eff9;line-height:1.55;margin:.65rem 0}.site-footer a:hover{color:#7de3d0}.site-footer hr{border-color:#6c829c;opacity:.5}
/* CMS: avoid nested framing, consistent spacing */
.cms-page .cms-topbar{background:#fff;border-bottom:1px solid #dbe7f0}.cms-page main.cms-main{padding:0!important}.cms-page .cms-page-heading{background:#eaf4fc;border-bottom:1px solid #d1e4f2;padding:1.7rem 2rem;margin:0!important}.cms-page .cms-main-content{padding:2rem}.cms-page .panel{padding:1.65rem}.cms-page .panel>h2:first-child,.cms-page .panel>h3:first-child{margin:-1.65rem -1.65rem 1.4rem!important;padding:1rem 1.65rem;background:#eaf4fc;border-bottom:1px solid #d1e4f2;border-radius:14px 14px 0 0;font-size:1.1rem}.cms-page .table thead th{background:#eaf4fc;color:#17466c}
@media(max-width:991px){main{width:calc(100% - 36px);margin:20px auto 36px}.hero{padding:3.8rem 0}.section-pad{padding:3.2rem 0}}
@media(max-width:767px){body{background-attachment:scroll}main{width:calc(100% - 20px);margin:12px auto 25px;border-radius:12px}.hero,.page-hero{padding:2.7rem 0}.section-pad{padding:2.6rem 0}.feature-card,.article-card,.panel{padding:1.35rem}.cms-page .cms-main-content{padding:1.1rem}.cms-page .cms-page-heading{padding:1.2rem}.site-footer .footer-inner{padding-top:2.7rem!important;padding-bottom:2rem!important}}

/* v1.5: Editorial media and Quality Mark tiers */
.prose--wide{max-width:none;width:100%;margin:0;line-height:1.85}
.prose--wide .article-body{width:100%}
.article-hero-image{display:block;width:100%;max-height:430px;object-fit:cover;border-radius:14px;margin:0 0 2rem}
.article-inline-image{display:block;max-width:100%;width:auto;max-height:520px;object-fit:contain;border-radius:12px;margin:2rem auto}
.article-inline-image--top{margin-top:0}
.article-card--media{padding:0!important;overflow:hidden;display:flex;flex-direction:column}
.article-card__image{display:block;width:100%;height:195px;object-fit:cover;border-bottom:1px solid #dbe7f0}
.article-card__body{padding:1.6rem;display:flex;flex:1;flex-direction:column}
.article-card__body p{flex:1}
.quality-tier{padding:0!important;overflow:hidden;display:flex;flex-direction:column;border-color:var(--tier-border)!important}
.quality-tier__head{display:flex;align-items:center;gap:.65rem;padding:1.2rem 1.45rem;font-weight:800;background:var(--tier-bg);color:var(--tier-ink);border-bottom:1px solid var(--tier-border)}
.quality-tier__symbol{font-size:1.25rem}
.quality-tier__body{padding:1.45rem;display:flex;flex:1;flex-direction:column}
.quality-tier__body p:first-of-type{flex:1}
.quality-tier__body a{font-weight:700;color:var(--tier-ink)}
.quality-tier--commitment{--tier-bg:#e4f5fb;--tier-ink:#12607d;--tier-border:#b8deed}
.quality-tier--bronze{--tier-bg:#f4e3d7;--tier-ink:#89512c;--tier-border:#dcb89c}
.quality-tier--silver{--tier-bg:#eef1f5;--tier-ink:#485a70;--tier-border:#c9d1db}
.quality-tier--gold{--tier-bg:#fff1c7;--tier-ink:#806019;--tier-border:#ead08b}
@media(max-width:767px){.article-card__body{padding:1.3rem}.article-card__image{height:175px}.article-hero-image{max-height:280px}}

/* v1.7.8 homepage school offering split */
.school-offering{border:1px solid #d9e7ed;border-radius:14px;padding:1rem;background:#f5fafd;display:flex;flex-direction:column;gap:.35rem;min-width:0}.school-offering p{flex:1}.school-offering a{font-size:.88rem;font-weight:700;overflow-wrap:anywhere}

@media print{.top-strip,.navbar,.site-footer,.page-hero,#examFilters,#examResults,#selectAll,#clearAll,#printTimetable,.panel:has(#examResults),.panel:has(#examFilters){display:none!important}#personalTimetable{display:block!important;box-shadow:none!important;border:0!important}body{background:#fff!important}#personalTimetable .table{font-size:11px}}

/* v1.9.2 - Your exams. Our support. */
.meb-support-intro{max-width:820px}.meb-support-intro .lead{color:#52677b;line-height:1.7}
.meb-audience-card{border:1px solid #d9e7f0;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(16,39,75,.045);display:flex;flex-direction:column}
.meb-audience-visual{height:235px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:20px 30px 0}
.meb-audience-visual--learner{background:linear-gradient(130deg,#e5f4fc,#d4eee9)}
.meb-audience-visual--family{background:linear-gradient(130deg,#e9f1fc,#f1e9f8)}
.meb-audience-visual img{width:auto;max-width:100%;height:100%;object-fit:contain;object-position:center bottom}
.meb-audience-content{padding:2rem;display:flex;flex:1;flex-direction:column;gap:.6rem}
.meb-audience-content h3,.meb-schools-heading h3{font-size:clamp(1.45rem,2.1vw,1.85rem);font-weight:750;line-height:1.25;margin:.2rem 0}
.meb-audience-content p{color:#536b7c;line-height:1.75;margin-bottom:1.5rem}
.meb-schools-panel{background:#eef6fc;border:1px solid #d4e5f1;border-radius:20px;padding:2.2rem}
.meb-schools-heading{margin-bottom:1.6rem;max-width:760px}.meb-schools-heading p{color:#536b7c}
.meb-school-solution{border:1px solid #dce8f0;background:#fff;border-radius:16px;padding:1.75rem;display:flex;flex-direction:column;gap:.7rem}
.meb-solution-icon{width:48px;height:48px;border-radius:12px;background:#e6f5fb;color:#087ca9;display:flex;align-items:center;justify-content:center}
.meb-solution-icon svg{width:26px;height:26px}.meb-school-solution h4{font-size:1.2rem;font-weight:750;margin:0}.meb-school-solution p{color:#536b7c;line-height:1.7;margin:0 0 1rem}
@media(max-width:767px){.meb-audience-visual{height:190px}.meb-audience-content{padding:1.45rem}.meb-schools-panel{padding:1.25rem}.meb-school-solution{padding:1.35rem}}

/* v1.11.2 Quality Mark landing page */
.qm-landing-hero{background:linear-gradient(115deg,#e9f5ff 0%,#f7f8ff 60%,#e9f8f4 100%)}
.qm-strand-panel{padding:1.35rem;height:100%}
.qm-strand-panel h3{margin-bottom:.45rem}
.qm-award-card{height:100%}
.qm-award-card .quality-tier__body p{margin-bottom:0}
.qm-public-card{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;height:100%}
.qm-public-card p{flex:1}
@media(max-width:767px){.qm-landing-hero .btn{width:100%;text-align:center}}
