@font-face{font-family:Manrope;src:url('fonts/Manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/Manrope-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/Manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/Manrope-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/Manrope-800.ttf') format('truetype');font-weight:800;font-display:swap}
@font-face{font-family:NotoArabic;src:url('fonts/NotoSansArabic-Regular.ttf') format('truetype');font-weight:400 500;font-display:swap}
@font-face{font-family:NotoArabic;src:url('fonts/NotoSansArabic-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap}
:root{--ink:#203c34;--muted:#606e65;--green:#177561;--green-dark:#115746;--mint:#e9f3ec;--cream:#faf9f4;--line:#e4e9e3;--violet:#64558e;--orange:#925a35;--radius:18px;--shadow:0 12px 40px #203c3409}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);font-size:15px;line-height:1.7;background:#fff;-webkit-font-smoothing:antialiased}
body:has(.mobile-nav:not([hidden])){overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button,summary{cursor:pointer}
button{color:inherit}
button:disabled{cursor:default}
img,svg{max-width:100%;vertical-align:middle}
img{height:auto}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:700;line-height:1.22;letter-spacing:-1.2px}
p{color:var(--muted)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #da9955;outline-offset:5px}
::selection{background:#d9eee2;color:var(--green-dark)}
[hidden]{display:none!important}
.container{width:min(1180px,calc(100% - 96px));margin-inline:auto}
.narrow{max-width:900px}
.icon{width:22px;height:22px;flex-shrink:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;inset-block-start:-90px;inset-inline-start:20px;z-index:1000;padding:12px 20px;background:var(--green);color:#fff;border-radius:8px}
.skip-link:focus{inset-block-start:15px}
.site-header{height:92px;border-bottom:1px solid #eef0eb;background:#fff;position:relative;z-index:20}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:35px}
.brand{display:flex;align-items:center;width:195px;flex-shrink:0}
.brand img{width:100%}
.desktop-nav{height:100%;display:flex;align-items:center;gap:30px}
.nav-link{position:relative;height:100%;display:flex;align-items:center;font-size:13px;font-weight:600;white-space:nowrap;color:#5d6660;transition:color .2s}
.nav-link::after{content:'';position:absolute;bottom:23px;left:0;right:0;height:2px;background:var(--green);transform:scaleX(0);transition:transform .2s}
.nav-link.is-active,.nav-link:hover{color:var(--green)}
.nav-link.is-active::after,.nav-link:hover::after{transform:scaleX(1)}
.header-tools{display:flex;align-items:center;gap:22px}
.language-switch{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:12px;color:#60635f}
.language-switch>.icon{width:17px;height:17px;color:#5a655d;margin-inline-end:2px}
.language-switch a{padding-block:6px}
.language-switch a.is-active{font-weight:800;color:var(--green)}
.language-switch a+a{border-inline-start:1px solid var(--line);padding-inline-start:11px;font-family:NotoArabic,Arial,sans-serif;font-size:11px}
.header-library{border-inline-start:1px solid var(--line);padding-inline-start:20px;display:flex;align-items:center}
.header-library .icon{width:20px}
.menu-toggle{display:none;border:0;background:none;padding:8px}
.mobile-nav{position:absolute;inset:79px 0 auto;background:#fff;padding:15px 25px 30px;box-shadow:0 15px 25px #203c3414;max-height:calc(100dvh - 79px);overflow:auto}
.mobile-nav a{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid var(--line)}
.mobile-nav a[aria-current]{color:var(--green);font-weight:700}
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;color:var(--green);line-height:1.6}
.eyebrow .icon{width:17px;height:17px}
.tiny-dot{height:6px;width:6px;flex-shrink:0;background:var(--green);border-radius:50%}
.hero{background:var(--cream);overflow:hidden;border-bottom:1px solid #f0f0e7}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:70px;padding-block:75px 48px}
.hero-copy h1{font-size:64px;line-height:1.15;letter-spacing:-3px;position:relative;margin-block:22px 29px;max-width:600px;white-space:nowrap}
.hero-copy h1>span{color:var(--green)}
.title-underline{display:block;position:absolute;bottom:-12px;width:92%;height:16px;inset-inline-start:2px;overflow:visible}
.title-underline path{stroke:#d5b987;stroke-width:3.5;stroke-linecap:round;fill:none}
.hero-description{font-size:15px;line-height:1.95;max-width:460px}
.hero-actions{display:flex;gap:23px;align-items:center;margin-block-start:29px;flex-wrap:wrap}
.button{min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:7px;padding:13px 21px;font-size:12px;font-weight:700;line-height:1.5;border:1px solid transparent;transition:background .2s,transform .2s,box-shadow .2s;text-align:center}
.button:hover{transform:translateY(-2px)}
.button .icon{width:18px;height:18px}
.button-primary{background:var(--green);color:#fff;box-shadow:0 4px 12px #17756112}
.button-primary:hover{background:var(--green-dark);box-shadow:0 6px 15px #17756125}
.button-light{background:#fff;color:var(--green-dark)}
.button-light:hover{background:#edf5ee}
.button-outline{border-color:#cddbd1;color:var(--green);background:#fff}
.button-outline:hover{background:var(--mint)}
.text-link{display:inline-flex;align-items:center;gap:9px;color:var(--green);font-size:12px;font-weight:700;line-height:1.7}
.text-link .icon{width:17px;height:17px;transition:transform .2s}
.text-link:hover .icon{transform:translateX(4px)}
.hero-actions .text-link{font-size:11px}
.hero-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#5f655d;margin-block-start:25px;flex-wrap:wrap}
.tunisia-mark{width:19px;height:19px;display:inline-flex;justify-content:center;align-items:center;background:#cb5352;color:#fff;border-radius:50%;font-size:17px;font-weight:bold;line-height:1}
.note-divider{width:1px;height:13px;background:#d9ddd3;margin-inline:4px}
.small-check{display:inline-flex;align-items:center;color:var(--green)}
.small-check .icon{width:13px;height:13px}
.hero-art{position:relative;min-height:425px;display:flex;justify-content:center;align-items:center;isolation:isolate;margin-top:5px}
.art-orbit{position:absolute;border:1px solid #dce6d4;border-radius:50%;width:440px;height:400px;z-index:-1;transform:rotate(-25deg)}
.orbit-two{width:485px;height:370px;transform:rotate(30deg);border-style:dashed;opacity:.65}
.floating-math{position:absolute;font-family:Georgia,serif;font-style:italic;font-weight:400;color:#57695c;z-index:1}
.math-pi{font-size:46px;top:3px;left:11px;transform:rotate(-12deg)}
.math-plus{font-size:37px;right:3px;top:50px;color:#70634b}
.math-x{font-size:34px;bottom:58px;left:-5px;transform:rotate(-15deg);color:#755f3f}
.math-notebook{width:355px;position:relative;background-color:#fffefb;background-image:linear-gradient(#e2e9de7a 1px,transparent 1px),linear-gradient(90deg,#e2e9de7a 1px,transparent 1px);background-size:23px 23px;border:1px solid #dae2d5;border-radius:10px;padding:19px 24px 13px;box-shadow:9px 15px 0 -2px #dfe9de85,0 13px 30px #254a3320;transform:rotate(-5deg)}
.notebook-label{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.4px;color:#51685c;font-weight:800}
.notebook-label>span:first-child{height:5px;width:5px;background:#7b9c82;border-radius:50%}
.notebook-dots{margin-inline-start:auto;font-size:15px;line-height:1}
.notebook-formula{font-family:Georgia,serif;font-style:italic;font-size:33px;color:var(--green);text-align:center;margin-top:27px;letter-spacing:2px}
.geometry-drawing{width:100%;display:block;height:212px;margin-top:2px}
.notebook-note{display:flex;justify-content:space-between;align-items:center;font-family:Georgia,serif;font-style:italic;font-size:12px;color:#5c6858;padding-top:11px;border-top:1px dashed #d6dfd0}
.notebook-note span{font-size:22px;line-height:1}
.art-badge{position:absolute;bottom:27px;inset-inline-end:-2px;display:flex;align-items:center;gap:11px;background:white;padding:14px 17px 14px 12px;box-shadow:0 7px 28px #334d3712;border:1px solid #e9ede4;border-radius:9px;transform:rotate(3deg);font-size:10px;font-weight:600;z-index:2}
.art-badge>span:first-child{color:var(--green);background:#eaf4ed;display:flex;padding:9px;border-radius:6px}
.art-badge .icon{width:18px;height:18px}
.badge-star{color:#77603a;font-size:18px}
.art-caption{position:absolute;bottom:-10px;font-family:Georgia,serif;font-style:italic;font-size:12px;color:#606759}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e6e8dd;padding-block:28px 31px}
.stats-row>div{display:flex;align-items:center;gap:13px;justify-content:center;border-inline-start:1px solid #e1e5d9}
.stats-row>div:first-child{border:0;justify-content:flex-start}
.stats-row>div:last-child{justify-content:flex-end}
.stats-row strong{font-size:29px;font-weight:700;line-height:1.3;letter-spacing:-1px;color:var(--green-dark);white-space:nowrap}
.stats-row strong>span{font-size:20px;color:#5c655a;margin-inline-start:1px}
.stats-row>div>span{font-size:10px;color:#5e655c;max-width:116px;line-height:1.6}
.section{padding-block:75px}
.section-heading{margin-bottom:30px}
.section-heading h2{font-size:32px;letter-spacing:-1.2px;margin-block:10px 13px}
.section-heading p{font-size:13px;line-height:1.9}
.centered{text-align:center}
.centered .eyebrow{justify-content:center}
.heading-row{display:flex;justify-content:space-between;align-items:center;gap:24px}
.heading-row>.text-link{align-self:flex-end;margin-bottom:4px;flex-shrink:0}
.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;margin-top:35px}
.path-card{display:block;border:1px solid #dce7df;background:#f3f8f4;border-radius:var(--radius);padding:27px;transition:transform .25s,box-shadow .25s}
.path-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.path-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.path-icon{border-radius:12px;padding:12px;background:#e1eee4;color:var(--green);display:inline-flex}
.path-icon .icon{width:26px;height:26px}
.path-number{font-family:Georgia,serif;color:#5a655d;font-size:29px;font-style:italic}
.path-card h3{font-size:25px;margin-bottom:6px;letter-spacing:-.6px}
.path-years{font-size:10px;font-weight:700;color:var(--green)}
.path-card p{font-size:12px;margin-top:15px;line-height:1.95;min-height:70px;max-width:280px}
.path-card-bottom{margin-top:26px;padding-top:19px;border-top:1px solid #dbe6dc;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;color:var(--green)}
.circle-link{width:32px;height:32px;border:1px solid #cadbce;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s,transform .2s}
.circle-link .icon{width:16px;height:16px}
a:hover>.circle-link,.circle-link:hover{background:#fff;transform:rotate(-25deg)}
.path-lycee{background:#f6f4fb;border-color:#e6e0f0}
.path-lycee .path-icon{background:#ebe5f4;color:var(--violet)}
.path-lycee h3{color:#51486f}
.path-lycee .path-number{color:#67626f}
.path-lycee .path-card-bottom,.path-lycee .path-years{color:var(--violet);border-color:#e5dfed}
.path-lycee .circle-link{border-color:#dbd3e9}
.path-olympiades{background:#fcf5eb;border-color:#efe2cc}
.path-olympiades .path-icon{background:#f5e9d6;color:var(--orange)}
.path-olympiades h3{color:#785938}
.path-olympiades .path-number{color:#6c6353}
.path-olympiades .path-card-bottom,.path-olympiades .path-years{color:var(--orange);border-color:#eddfc9}
.path-olympiades .circle-link{border-color:#e5d4b9}
.section-featured{padding-top:13px;padding-bottom:80px}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.resource-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:23px;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}
.resource-card:hover{border-color:#b8cfc0;box-shadow:0 8px 24px #203c3408}
.resource-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}
.type-badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;padding:4px 8px;border-radius:5px;background:#eef6ee;color:#306f4b;letter-spacing:.1px}
.type-badge .icon{width:12px;height:12px}
.type-exercise{background:#f8f0e5;color:#825c2b}
.type-test{background:#f0ecf8;color:#6e5996}
.resource-time{display:inline-flex;align-items:center;gap:4px;color:#61665f;font-size:9px;white-space:nowrap}
.resource-time .icon{width:12px;height:12px}
.resource-track{font-size:9px;color:#5e655c;text-transform:uppercase;letter-spacing:.7px;font-weight:600;margin-bottom:8px}
.resource-card h3{font-size:17px;line-height:1.5;letter-spacing:-.5px;margin-bottom:11px}
.resource-card h3 a:hover{color:var(--green)}
.resource-card p{font-size:11px;line-height:1.9;flex:1}
.resource-card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eff0eb;margin-top:25px;padding-top:14px}
.resource-card-bottom>span{font-size:9px;color:#5e655b}
.resource-card-bottom .circle-link{width:28px;height:28px;color:var(--green);border-color:#e1e7df}
.challenge-section{background:#1c5142;border-radius:var(--radius);display:grid;grid-template-columns:1.3fr 1fr;gap:70px;padding:51px 56px;position:relative;overflow:hidden}
.challenge-section::before{content:'∞';position:absolute;font-family:Georgia,serif;font-size:330px;line-height:1;color:#ffffff04;top:-55px;left:38%;pointer-events:none}
.challenge-copy{position:relative}
.challenge-copy .eyebrow{color:#bad3bd}
.challenge-copy h2{color:#fffdf5;font-size:34px;max-width:400px;margin-block:16px;line-height:1.25;letter-spacing:-1px}
.challenge-copy p{color:#b5ccc0;font-size:12px;line-height:1.95;max-width:400px}
.challenge-copy .button{font-size:10px;margin-top:24px}
.daily-challenge{align-self:center;background:#fffdf7;border-radius:12px;padding:23px 25px;transform:rotate(2deg);box-shadow:0 8px 30px #0b2b3325;transition:transform .2s}
.daily-challenge:hover{transform:rotate(0)}
.daily-challenge>.eyebrow{font-size:8px;color:#716245;letter-spacing:1.4px}
.challenge-months{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-block:17px;direction:ltr}
.challenge-months>span{background:#f0f2e9;border:1px solid #e6e9de;border-radius:5px;display:flex;justify-content:center;align-items:center;height:29px;color:#586956;font-size:17px;line-height:1}
.challenge-months>span:nth-child(8){color:#825b29;background:#f5e8ce;border-color:#ebd5ab;font-size:19px}
.daily-challenge h3{font-size:17px;letter-spacing:-.3px;line-height:1.5;margin-bottom:18px}
.daily-challenge .text-link{font-size:9px}
.daily-challenge .text-link .icon{width:14px}
.news-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:60px;align-items:start}
.news-grid>div h2{font-size:31px;margin-top:15px;max-width:300px}
.news-card{display:flex;align-items:start;gap:23px;background:#fafbf8;border:1px solid #e9ece3;border-radius:12px;padding:25px}
.news-icon{display:flex;padding:12px;background:#edf1e7;color:#5d6852;border-radius:10px}
.news-icon .icon{width:23px;height:23px}
.news-tag{font-size:9px;color:#5e6551;text-transform:uppercase;letter-spacing:1.3px;font-weight:700}
.news-card h3{font-size:16px;margin-block:9px 11px;letter-spacing:-.5px}
.news-card p{font-size:11px;line-height:1.9;margin-bottom:12px}
.news-card .text-link{font-size:10px}
.site-footer{background:#f5f7f2;border-top:1px solid #e6eae0;padding-top:54px}
.footer-grid{display:grid;grid-template-columns:2.2fr 1fr 1.4fr 1.2fr;gap:60px;padding-bottom:43px}
.footer-wordmark{font-size:29px;line-height:1.3;font-weight:800;letter-spacing:-1.5px;color:var(--green-dark);display:inline-block;margin-bottom:14px}
.footer-wordmark>span:first-child{font-weight:500}
.wordmark-dot{color:#775f3d}
.footer-brand p{font-size:11px;max-width:285px;line-height:1.9;margin-bottom:17px}
.footer-origin{display:flex;align-items:center;gap:6px;font-size:9px;color:#5e6556}
.footer-origin .tunisia-mark{width:15px;height:15px;font-size:13px}
.footer-grid h2{font-size:11px;font-weight:800;letter-spacing:0;margin-block:7px 19px}
.footer-grid>div>a:not(.footer-wordmark){font-size:10px;color:#5e6559;display:block;margin-bottom:10px}
.footer-grid>div>a:hover{color:var(--green)}
.footer-small{font-size:10px;line-height:1.8;margin-top:18px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-block:18px;border-top:1px solid #e0e6d9;color:#62665c;font-size:9px}
/* Interior pages */
.page-hero{background:var(--cream);padding-block:25px 55px;border-bottom:1px solid #efefe6}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:#5e675f;font-size:10px;margin-bottom:35px;line-height:1.7}
.breadcrumbs .icon{height:11px;width:11px;color:#61665f}
.breadcrumbs a:hover{color:var(--green);text-decoration:underline}
.breadcrumbs span{color:var(--ink)}
.page-hero h1{font-size:45px;letter-spacing:-1.7px;line-height:1.25;margin-block:16px 20px;max-width:800px}
.page-hero p{font-size:14px;line-height:1.9;max-width:650px}
.page-hero-grid{display:grid;grid-template-columns:1fr 220px;gap:60px;align-items:center}
.page-emblem{width:165px;height:165px;border-radius:35px;background:#e8f1e5;border:1px solid #dae7d4;display:flex;align-items:center;justify-content:center;transform:rotate(-8deg);justify-self:end;position:relative;color:var(--green)}
.page-emblem>.icon{width:72px;height:72px;stroke-width:1}
.page-emblem>span{position:absolute;top:-10px;right:-10px;font-size:42px;line-height:1;color:#726245}
.page-hero-lycee{background:#f8f6fb}
.page-hero-lycee .eyebrow{color:var(--violet)}
.page-hero-lycee .page-emblem{background:#ede7f7;border-color:#e1d8ee;color:var(--violet)}
.page-hero-olympiades{background:#fcf6ed}
.page-hero-olympiades .eyebrow{color:#855c2c}
.page-hero-olympiades .page-emblem{background:#f6ead5;border-color:#eddfc3;color:#855c2c}
.page-hero-books{background:#f5f7ef}
.track-list{display:flex;flex-direction:column;gap:15px}
.track-card{border:1px solid var(--line);padding:23px;display:flex;align-items:center;gap:23px;background:#fff;border-radius:13px;transition:border-color .2s,box-shadow .2s}
.track-card:hover{border-color:#98b7a3;box-shadow:var(--shadow)}
.track-card-symbol{width:56px;height:56px;border-radius:12px;display:flex;justify-content:center;align-items:center;background:#edf5ee;font-family:Georgia,serif;font-size:29px;font-style:italic;color:var(--green);flex-shrink:0}
.track-card-symbol .icon{width:26px;height:26px}
.track-card h3{font-size:18px;letter-spacing:-.4px;margin-bottom:7px;line-height:1.5}
.track-card p{font-size:10px;color:#5f665d}
.track-card p span{margin-inline:6px}
.track-card .circle-link{margin-inline-start:auto;color:var(--green)}
.year-group+.year-group{margin-top:45px}
.year-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.year-number{font-size:11px;font-weight:700;color:var(--violet);background:#f1ecf7;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.year-heading h3{font-size:18px;letter-spacing:-.3px}
.bac-badge{font-size:8px;font-weight:800;background:#f7ecdc;color:#7a5e34;border-radius:4px;padding:2px 5px;letter-spacing:1px}
.study-tip{display:flex;gap:20px;padding:27px;background:var(--cream);border:1px solid #eae9dc;border-radius:13px;margin-top:45px}
.study-tip>span{color:#646445}
.study-tip h3{font-size:16px;letter-spacing:-.3px;margin-bottom:10px}
.study-tip p{font-size:12px;line-height:1.9}
.filter-tabs{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:30px}
.filter-tabs a{display:flex;align-items:center;gap:10px;padding:12px 18px;font-size:12px;color:#5a655c;border-bottom:2px solid transparent;margin-bottom:-1px}
.filter-tabs a>span{background:#f1f4ee;border-radius:5px;padding:0 6px;font-size:10px}
.filter-tabs a.is-active{color:var(--green);border-color:var(--green);font-weight:700}
.filter-tabs a.is-active>span{background:#e5f1e8}
.domain-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.domain-card{border-radius:14px;border:1px solid #e4e8df;background:#fafbf7;padding:25px 22px;display:flex;flex-direction:column}
.domain-symbol{height:56px;width:56px;border:1px solid #dfe8d7;background:#edf3e5;color:#566841;border-radius:12px;display:flex;align-items:center;justify-content:center;font:31px Georgia,serif;margin-bottom:24px}
.domain-card h3{font-size:21px;letter-spacing:-.5px;margin-bottom:13px}
.domain-card h3 a:hover{color:var(--green)}
.domain-card p{font-size:11px;line-height:1.9;margin-bottom:24px;flex:1}
.domain-links{border-top:1px solid #e4e8dc;padding-top:12px}
.domain-links a{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:600;padding-block:7px;color:#526a4f}
.domain-links a:hover{color:var(--green)}
.domain-links .icon{width:14px;height:14px}
.domain-links .icon:last-child{margin-inline-start:auto}
.domain-geometrie{background:#f8f6fc;border-color:#eae4f2}
.domain-geometrie .domain-symbol{background:#ede6f6;border-color:#e1d8ef;color:#705b8d}
.domain-arithmetique{background:#fcf8f0;border-color:#eee4d2}
.domain-arithmetique .domain-symbol{background:#f5ecd9;border-color:#ebddbc;color:#7a5f30}
.domain-combinatoire{background:#f1f8f7;border-color:#dbe9e7}
.domain-combinatoire .domain-symbol{background:#dfeeea;border-color:#cde3dc;color:#436a60}
.section-tests,.related-section{background:#fafbf8;border-top:1px solid #eef1e8}
.tests-grid{grid-template-columns:repeat(4,1fr)}
.tests-grid .resource-card{padding:20px}
.tests-grid .resource-card-top{gap:5px;flex-wrap:wrap}
.search-form{padding:27px;background:#fafbf8;border:1px solid var(--line);border-radius:13px}
.search-input-wrap{display:flex;align-items:center;background:#fff;border:1px solid #cfdbcc;border-radius:8px;padding:7px;gap:16px}
.search-input-wrap>.icon{margin-inline-start:12px;color:#5a6956}
.search-input-wrap input{border:0;flex:1;min-width:0;background:transparent;color:var(--ink);padding:10px 0;font-size:14px}
.search-input-wrap input:focus{outline:0}
.search-input-wrap:focus-within{outline:3px solid #92b29f;outline-offset:3px}
.search-input-wrap input::placeholder{color:#62665d}
.search-filter-row{display:flex;align-items:flex-end;gap:18px;margin-top:23px;flex-wrap:wrap}
.search-filter-row label{font-size:10px;font-weight:600;color:#5e6857;min-width:190px;flex:1}
.search-filter-row select{display:block;width:100%;margin-top:7px;padding:10px 30px 10px 13px;min-height:43px;border:1px solid #d7e0d0;border-radius:6px;background:#fff;color:#435741;font-size:12px}
.search-filter-row .button{min-height:43px;font-size:11px;padding:10px 15px}
.reset-link{font-size:10px;padding:12px;color:#5b6852;text-decoration:underline}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-block:29px 24px;font-size:12px;color:#5c6557}
.result-heading strong{font-size:17px;color:var(--green);margin-inline-end:3px}
.empty-state{border:1px dashed #dbe4d3;padding:65px 25px;border-radius:12px;text-align:center}
.empty-state>.icon{width:40px;height:40px;color:#58674f;margin-bottom:20px}
.empty-state h2,.empty-state h3{font-size:25px;margin-bottom:15px}
.empty-state p{font-size:13px;margin-bottom:25px}
.resource-hero{background:var(--cream);padding-block:25px 43px;border-bottom:1px solid #e9ede3}
.resource-heading{max-width:920px}
.resource-heading>.type-badge{font-size:10px;padding:5px 10px}
.resource-heading h1{font-size:43px;line-height:1.25;margin-block:17px;letter-spacing:-1.5px}
.resource-heading>p{font-size:14px;line-height:1.9}
.resource-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:23px}
.resource-meta>span{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#5c6556}
.resource-meta .icon{width:16px;height:16px}
.reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:70px}
.lesson-content{min-width:0}
.editorial-note{display:flex;align-items:start;gap:12px;background:#f7f8f2;border:1px solid #e7ebdf;padding:14px 17px;border-radius:7px;margin-bottom:35px}
.editorial-note>.icon{width:15px;height:15px;color:#606653;margin-top:4px}
.editorial-note p{font-size:10px;line-height:1.9;color:#606554}
.lesson-part+.lesson-part{margin-top:40px}
.lesson-part-heading{display:flex;align-items:center;gap:15px;margin-bottom:19px}
.lesson-part-heading>span{display:flex;align-items:center;justify-content:center;background:#edf4e8;color:#516a48;border-radius:8px;width:32px;height:32px;flex-shrink:0;font-size:11px;font-weight:700}
.lesson-content h2{font-size:24px;letter-spacing:-.6px;line-height:1.5}
.lesson-content>h2{margin-bottom:18px}
.lesson-part>p{font-size:14px;line-height:2.1;color:#586956}
.math-formula{padding:28px 20px;background:#f5f8f0;border:1px solid #e4eadc;text-align:center;border-radius:9px;font-size:18px;margin-top:22px;color:#3c6540;overflow-x:auto;min-height:90px}
.katex-display{margin:0!important}
.math-formula .katex{white-space:nowrap}
.sidebar-card{border:1px solid var(--line);border-radius:12px;padding:23px;background:#fff;position:sticky;top:25px}
.sidebar-card>.eyebrow{font-size:8px;letter-spacing:1px}
.sidebar-card h2{font-size:17px;letter-spacing:-.4px;margin-block:15px 20px}
.sidebar-card nav{display:flex;flex-direction:column;margin-bottom:22px}
.sidebar-card nav>a{display:flex;gap:10px;align-items:center;padding-block:12px;border-bottom:1px solid #edf0e6;font-size:11px;color:#5a6751}
.sidebar-card nav>a:hover{color:var(--green)}
.sidebar-card nav>a>span{font-size:9px;color:#5f6557}
.sidebar-card .button{width:100%;font-size:10px;padding:12px 8px;gap:7px;min-height:45px}
.sidebar-card .button .icon{width:15px;height:15px}
.sidebar-back{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-top:20px;color:#5e6854}
.sidebar-back .icon{width:14px;height:14px}
.completion{border-top:1px solid var(--line);margin-top:45px;padding-top:25px}
.completion .button{font-size:11px}
.completion .button[aria-pressed=true]{background:var(--mint);color:var(--green);border-color:#a9c5b1}
.completion p{font-size:9px;color:#5f6657;margin-top:11px}
.lesson-intro{font-size:13px;color:#5c6756;line-height:2;margin-bottom:25px}
.exercise-block{border:1px solid var(--line);border-radius:12px;padding:25px;margin-top:23px}
.exercise-block>.eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:15px}
.exercise-block h3{font-size:17px;line-height:1.8;letter-spacing:-.2px;font-weight:600}
.working-space{height:73px;background:repeating-linear-gradient(transparent,transparent 24px,#edf0e6 25px);margin-bottom:23px}
.correction{border:1px solid #dfe8d9;border-radius:7px;background:#f8fbf4}
.correction summary{display:flex;align-items:center;gap:7px;list-style:none;padding:13px 15px;font-size:11px;font-weight:600;color:#4d6c46}
.correction summary::-webkit-details-marker{display:none}
.correction summary>.icon{width:15px;height:15px}
.correction summary>.icon:last-child{margin-inline-start:auto;transition:transform .2s}
.correction[open] summary>.icon:last-child{transform:rotate(180deg)}
.correction>div{padding:0 18px 18px}
.correction p{font-size:13px;line-height:2;color:#546b4c}
.quiz-question{border:1px solid var(--line);border-radius:12px;margin:30px 0;padding:24px;min-width:0}
.quiz-question legend{font-size:15px;font-weight:600;line-height:1.8;padding-inline:8px;max-width:100%}
.quiz-question legend>span{display:block;font-size:9px;color:#616756;letter-spacing:.6px;font-weight:700;margin-bottom:8px}
.quiz-choice{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #e5eadd;border-radius:7px;margin-bottom:11px;font-size:13px;cursor:pointer}
.quiz-choice:last-of-type{margin-bottom:0}
.quiz-choice:hover{background:#f8faf3}
.quiz-choice:has(input:checked){background:#eff5e8;border-color:#a3be93}
.quiz-choice input{accent-color:var(--green);margin:0;flex-shrink:0;width:16px;height:16px}
.quiz-choice.is-correct{background:#ecf6e8;border-color:#9cc28a;color:#456d32}
.quiz-choice.is-incorrect{background:#fbf0eb;border-color:#e4b8a6;color:#825b49}
.quiz-choice .choice-indicator{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:600;margin-inline-start:auto}
.choice-indicator .icon{width:13px;height:13px}
.quiz-question:disabled{opacity:1}
.quiz-question:disabled .quiz-choice{cursor:default}
.quiz-question:disabled input{opacity:.75}
.quiz-explanation{margin-top:20px;border-top:1px solid #e2e9d9;padding-top:17px}
.quiz-explanation strong{font-size:10px;color:#576a4b}
.quiz-explanation p{font-size:12px;line-height:1.9;margin-top:8px}
.quiz-result{background:#f0f7e9;border:1px solid #dce9cf;border-radius:12px;padding:25px;text-align:center;margin-bottom:35px}
.quiz-result>strong{display:block;font-size:58px;line-height:1.5;color:var(--green);letter-spacing:-2px}
.quiz-result>strong span{font-size:29px;color:#5c6950}
.quiz-result h2{font-size:19px;line-height:1.8;margin-bottom:15px}
.form-error{background:#fbf0ea;border:1px solid #e7bfae;color:#8f523b;padding:15px;font-size:12px;border-radius:7px;margin-bottom:30px}
.books-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:90px;align-items:center}
.book-illustration{margin:0;background:#f5f7ef;border-radius:20px;padding:40px;text-align:center;min-width:0}
.decorative-book{height:335px;width:235px;border:1px solid #375f49;border-radius:4px 10px 10px 4px;box-shadow:5px 5px 0 #d0d2be,9px 8px 0 #e7e5d5,14px 15px 22px #203c3425;background:#235542;color:#edead6;text-align:start;display:flex;flex-direction:column;padding:28px 25px;position:relative;margin-inline:auto;transform:rotate(-7deg)}
.decorative-book::before{position:absolute;content:'';inset:0 auto 0 7px;border-left:2px solid #56836a}
.decorative-book>span{font-size:11px;letter-spacing:1px}
.decorative-book>span:last-child{text-align:center;margin-top:auto;font-size:9px;color:#d8dec6}
.book-art{font:80px Georgia,serif;color:#c1c599;line-height:1.2;margin-top:20px;position:relative;height:115px}
.book-art span:first-child{font-size:45px;position:absolute;left:65px;top:4px;color:#819a78;transform:rotate(15deg)}
.book-art span:last-child{font-size:50px;position:absolute;left:100px;top:44px;color:#d9cba0}
.decorative-book strong{font-size:25px;line-height:1.2;font-weight:500;letter-spacing:-.5px;max-width:180px}
.book-illustration figcaption{font-size:9px;color:#626453;margin-top:34px}
.books-copy h2{font-size:35px;margin-block:20px;letter-spacing:-1px}
.books-copy p{font-size:14px;line-height:2;max-width:520px}
.books-copy .button{margin-top:25px}
.sitemap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.sitemap-column h2{font-size:19px;margin-bottom:20px;letter-spacing:-.5px}
.sitemap-column h2 .icon{width:18px;margin-inline-start:7px}
.sitemap-column ul{padding:0;list-style:none}
.sitemap-column li{border-bottom:1px solid var(--line);padding-block:11px;font-size:12px;color:#586850}
.sitemap-column li a:hover{color:var(--green);text-decoration:underline}
.sitemap-column ul ul{padding-inline-start:15px;margin-top:6px}
.sitemap-column ul ul li{border:0;font-size:10px;padding-block:5px}
.error-page{text-align:center;padding-block:50px}
.error-code{font:110px Georgia,serif;color:#5c6855}
.error-page h1{font-size:36px;margin-block:20px}
.error-page p{font-size:14px;margin-bottom:30px}
/* Arabic layout uses logical properties; formulas retain their mathematical direction. */
[dir=rtl] body{font-family:NotoArabic,Arial,sans-serif;line-height:1.9}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3{letter-spacing:0;line-height:1.65}
[dir=rtl] .eyebrow,[dir=rtl] .resource-track{letter-spacing:0}
[dir=rtl] .hero-copy h1{font-size:56px;line-height:1.65;letter-spacing:-1px;margin-block:12px 25px}
[dir=rtl] .title-underline{bottom:-4px;width:85%}
[dir=rtl] .hero-description{font-size:14px;line-height:2.1}
[dir=rtl] .hero-actions .text-link{font-size:10px}
[dir=rtl] .hero-grid{gap:55px}
[dir=rtl] .language-switch a+a{font-family:NotoArabic,Arial,sans-serif}
[dir=rtl] .icon:is(.text-link .icon,.button .icon,.circle-link .icon,.breadcrumbs .icon,.sidebar-back .icon,.domain-links .icon:last-child,.mobile-nav .icon,.sitemap-column h2 .icon){transform:scaleX(-1)}
[dir=rtl] .notebook-label,[dir=rtl] .art-badge,[dir=rtl] .notebook-note,[dir=rtl] .art-caption{font-family:NotoArabic,Arial,sans-serif;letter-spacing:0;font-style:normal}
[dir=rtl] .notebook-formula{font-family:Georgia,serif;letter-spacing:2px}
[dir=rtl] .math-pi{left:auto;right:0}
[dir=rtl] .art-badge{transform:rotate(-3deg);font-size:10px}
[dir=rtl] .stats-row strong{font-family:Manrope,Arial,sans-serif;direction:ltr}
[dir=rtl] .nav-link{font-size:12px}
[dir=rtl] .challenge-copy h2{font-size:30px}
[dir=rtl] .lesson-part>p{font-size:15px}
[dir=rtl] .decorative-book{border-radius:10px 4px 4px 10px}
[dir=rtl] .resource-card h3{line-height:1.85}
[dir=rtl] .choice-indicator{font-size:8px}
@media(min-width:1400px){.container{width:min(1230px,calc(100% - 140px))}.hero-grid{gap:100px;padding-top:90px}.hero-copy h1{font-size:68px}.hero-art{min-height:455px}.math-notebook{width:380px}.geometry-drawing{height:227px}.hero-grid{padding-bottom:60px}.stats-row{padding-block:32px}.section{padding-block:85px}.section-featured{padding-top:15px}}
@media(max-width:1150px){.container{width:calc(100% - 64px)}.header-inner{gap:20px}.brand{width:160px}.desktop-nav{gap:22px}.nav-link{font-size:12px}.header-tools{gap:15px}.hero-grid{gap:35px}.hero-copy h1{font-size:53px;letter-spacing:-2.6px}.hero-description{font-size:14px}.hero-actions{gap:15px}.hero-actions .text-link{font-size:10px}.hero-art{min-height:405px}.math-notebook{width:315px;padding-inline:20px}.notebook-formula{font-size:30px}.geometry-drawing{height:190px}.art-orbit{width:365px;height:350px}.orbit-two{width:390px;height:320px}.art-badge{font-size:9px;inset-inline-end:-4px;bottom:22px}.art-caption{font-size:11px}.math-x{left:0;bottom:36px}.stats-row>div{gap:10px}.stats-row strong{font-size:27px}.stats-row>div>span{font-size:9px;max-width:95px}.footer-grid{gap:35px}.path-card{padding:23px}.challenge-section{padding:45px;gap:40px}.domain-grid,.tests-grid{grid-template-columns:repeat(2,1fr)}.reading-layout{gap:40px}.sitemap-grid{grid-template-columns:repeat(3,1fr)}[dir=rtl] .hero-copy h1{font-size:47px}[dir=rtl] .hero-grid{gap:30px}}
@media(max-width:900px){.site-header{height:80px}.desktop-nav{gap:17px}.nav-link{font-size:11px}.brand{width:145px}.header-tools{gap:12px}.language-switch{gap:7px}.language-switch>.icon{display:none}.language-switch a+a{padding-inline-start:8px}.header-library{padding-inline-start:12px}.hero-grid{gap:25px;padding-block:58px 40px}.hero-copy h1{font-size:45px;letter-spacing:-2px}.hero-description{font-size:13px}.hero-actions{align-items:flex-start;flex-direction:column;gap:15px}.hero-actions .button{font-size:11px}.hero-note{font-size:9px;gap:6px;margin-top:20px}.hero-art{min-height:360px}.math-notebook{width:275px;padding:17px}.notebook-label{font-size:7px}.notebook-formula{font-size:26px;margin-top:24px}.geometry-drawing{height:165px}.notebook-note{font-size:10px}.art-orbit{width:305px;height:315px}.orbit-two{width:330px;height:290px}.math-pi{font-size:36px;top:0;left:0}.math-plus{font-size:28px;right:-8px}.math-x{font-size:29px;left:0;bottom:27px}.art-badge{font-size:8px;padding:10px;gap:8px;bottom:14px}.art-badge>span:first-child{padding:6px}.art-caption{bottom:-17px;font-size:9px}.stats-row{gap:14px;padding-block:25px}.stats-row>div{display:block;text-align:center}.stats-row>div:first-child,.stats-row>div:last-child{text-align:center}.stats-row>div>span{display:block;font-size:9px;max-width:none}.stats-row strong{font-size:25px}.section{padding-block:60px}.section-heading h2{font-size:29px}.path-grid{gap:15px}.path-card{padding:21px}.path-card-top{margin-bottom:20px}.path-card h3{font-size:22px}.path-card p{font-size:11px}.path-card-bottom{font-size:9px;gap:8px}.path-years{font-size:9px}.path-icon{padding:10px}.path-icon .icon{width:23px;height:23px}.resource-grid{gap:16px}.resource-card{padding:19px}.resource-card-top{gap:6px;flex-wrap:wrap;margin-bottom:20px}.type-badge{font-size:8px;padding-inline:6px}.resource-card h3{font-size:16px}.resource-card p{font-size:10px}.section-featured{padding-top:0}.challenge-section{gap:30px;padding:35px}.challenge-copy h2{font-size:29px}.challenge-copy .button{font-size:9px;padding-inline:15px}.daily-challenge{padding:19px}.daily-challenge h3{font-size:15px}.challenge-months{gap:4px}.challenge-months>span{height:25px}.news-grid{gap:35px;grid-template-columns:1fr 1.7fr}.news-grid>div h2{font-size:28px}.news-card{padding:20px;gap:15px}.footer-grid{grid-template-columns:2fr 1fr 1.3fr;gap:30px}.footer-grid>div:last-child{grid-column:2/4}.page-hero h1{font-size:37px}.page-hero-grid{grid-template-columns:1fr 160px;gap:30px}.page-emblem{width:135px;height:135px}.page-emblem>.icon{width:60px;height:60px}.page-hero p{font-size:13px}.reading-layout{grid-template-columns:minmax(0,1fr) 230px;gap:30px}.sidebar-card{padding:19px}.resource-heading h1{font-size:36px}.lesson-content h2{font-size:22px}.lesson-part>p{font-size:13px}.math-formula{font-size:14px}.quiz-question{padding:19px}.books-layout{gap:40px}.book-illustration{padding:30px 20px}.decorative-book{width:210px;height:300px}.books-copy h2{font-size:30px}.books-copy p{font-size:13px}[dir=rtl] .hero-copy h1{font-size:39px}[dir=rtl] .challenge-copy h2{font-size:25px}[dir=rtl] .nav-link{font-size:11px}[dir=rtl] .hero-art .art-badge{font-size:9px}}
@media(max-width:760px){.container{width:calc(100% - 40px)}.header-inner{gap:10px}.brand{width:160px}.desktop-nav{display:none}.menu-toggle{display:flex}.header-library{border:0;padding:7px}.header-tools{gap:10px}.language-switch{gap:10px}.language-switch>.icon{display:block;width:16px;height:16px}.language-switch a+a{padding-inline-start:10px}.language-switch a{font-size:11px}.hero-grid{grid-template-columns:1fr;gap:20px;padding-block:45px 35px}.hero-copy{max-width:540px;margin-inline:auto;text-align:center}.hero-copy>.eyebrow{font-size:9px;justify-content:center}.hero-copy h1{font-size:57px;letter-spacing:-2.7px;margin-block:20px 30px}.hero-description{font-size:14px;line-height:1.9;max-width:480px}.title-underline{width:90%;inset-inline-start:5%}.hero-actions{align-items:center;flex-direction:row;justify-content:center;gap:20px}.hero-actions .button{font-size:11px}.hero-actions .text-link{font-size:10px}.hero-note{justify-content:center;font-size:10px;margin-top:21px}.hero-art{width:360px;min-height:365px;max-width:100%;margin-inline:auto;margin-top:14px}.math-notebook{width:285px}.geometry-drawing{height:171px}.art-orbit{width:333px;height:320px}.orbit-two{width:350px;height:290px}.math-pi{left:-3px}.math-x{left:0;bottom:35px}.math-plus{right:0}.art-badge{inset-inline-end:-5px;font-size:9px;bottom:10px}.art-caption{bottom:-20px}.stats-row{grid-template-columns:repeat(2,1fr);gap:23px 10px;padding-block:27px 30px}.stats-row>div:nth-child(3){border:0}.stats-row strong{font-size:28px}.stats-row>div>span{font-size:10px}.section{padding-block:45px}.section-heading{margin-bottom:25px}.section-heading h2{font-size:28px;margin-block:9px 12px;letter-spacing:-1px}.section-heading p{font-size:12px}.eyebrow{font-size:9px;letter-spacing:1.2px}.path-grid{grid-template-columns:1fr;gap:16px;max-width:510px;margin-inline:auto;margin-top:28px}.path-card{padding:25px;position:relative}.path-card-top{margin-bottom:18px}.path-card h3{font-size:26px}.path-years{font-size:10px}.path-card p{font-size:12px;max-width:none;min-height:0;margin-top:13px}.path-card-bottom{font-size:11px;margin-top:20px;padding-top:16px}.path-icon{padding:11px}.path-number{font-size:28px}.resource-grid{grid-template-columns:repeat(2,1fr);gap:16px}.section-featured .resource-grid>.resource-card:last-child{display:none}.heading-row{align-items:flex-start;flex-direction:column;gap:5px}.heading-row>.text-link{align-self:flex-start;margin:0}.resource-card{padding:21px}.resource-card p{font-size:11px}.resource-card h3{font-size:17px}.resource-card-top{margin-bottom:22px}.resource-track{font-size:8px}.resource-card-bottom>span{font-size:9px}.type-badge{font-size:9px}.challenge-section{grid-template-columns:1fr;gap:30px;padding:32px;max-width:510px}.challenge-copy h2{font-size:30px;max-width:400px}.challenge-copy p{font-size:12px}.challenge-copy .button{font-size:10px}.daily-challenge{padding:23px;max-width:370px;justify-self:center}.daily-challenge h3{font-size:17px}.daily-challenge .eyebrow{font-size:9px}.daily-challenge .text-link{font-size:10px}.challenge-months>span{height:30px}.news-grid{grid-template-columns:1fr;gap:25px}.news-grid>div h2{max-width:none;font-size:28px;margin-top:10px}.news-card{padding:23px}.news-card p{font-size:12px}.news-card h3{font-size:17px}.news-card .text-link{font-size:11px}.footer-grid{grid-template-columns:repeat(3,1fr);gap:25px;padding-bottom:30px}.footer-grid>.footer-brand{grid-column:1/4}.footer-brand p{max-width:480px;font-size:12px}.footer-grid>div:last-child{grid-column:auto}.footer-grid>div>a:not(.footer-wordmark){font-size:10px}.footer-grid h2{font-size:11px}.footer-small{font-size:9px}.site-footer{padding-top:35px}.footer-bottom{font-size:8px;flex-wrap:wrap;gap:8px}.page-hero{padding-block:20px 37px}.breadcrumbs{font-size:9px;gap:7px;margin-bottom:28px}.page-hero-grid{grid-template-columns:1fr}.page-emblem{display:none}.page-hero h1{font-size:34px;letter-spacing:-1px;margin-block:13px 16px}.page-hero p{font-size:13px;line-height:1.95}.track-card{padding:20px;gap:15px}.track-card h3{font-size:16px}.track-card p{font-size:9px}.track-card-symbol{width:46px;height:46px;font-size:25px}.year-heading h3{font-size:16px}.year-group+.year-group{margin-top:35px}.study-tip{padding:22px;gap:14px;margin-top:30px}.study-tip h3{font-size:16px}.study-tip p{font-size:12px}.filter-tabs{gap:0}.filter-tabs a{padding:10px;font-size:11px;gap:6px}.domain-grid{grid-template-columns:repeat(2,1fr);gap:16px}.domain-card{padding:23px}.domain-card h3{font-size:20px}.domain-symbol{width:48px;height:48px;font-size:29px}.tests-grid{grid-template-columns:repeat(2,1fr)}.search-form{padding:20px}.search-input-wrap{gap:10px;padding:5px}.search-input-wrap .button{font-size:10px;min-height:42px;padding-inline:13px;gap:0}.search-input-wrap .button>.icon{display:none}.search-input-wrap>.icon{margin-inline-start:8px;width:18px;height:18px}.search-input-wrap input{font-size:12px}.search-filter-row{gap:14px;margin-top:18px}.search-filter-row label{min-width:150px}.search-filter-row .button{font-size:10px}.result-heading{font-size:10px;flex-wrap:wrap}.empty-state{padding:45px 20px}.empty-state h2,.empty-state h3{font-size:23px}.resource-hero{padding-block:20px 30px}.resource-heading h1{font-size:32px;letter-spacing:-1px}.resource-heading>p{font-size:13px}.resource-meta{gap:13px}.resource-meta>span{font-size:9px}.reading-layout{grid-template-columns:1fr;gap:30px}.lesson-sidebar{grid-row:1}.sidebar-card{padding:18px}.sidebar-card>.eyebrow,.sidebar-card h2,.sidebar-card nav{display:none}.sidebar-card{display:flex;align-items:center;justify-content:space-between;gap:15px}.sidebar-card .button{width:auto;padding:10px 13px;min-height:43px;font-size:9px}.sidebar-back{margin:0;font-size:9px;gap:7px}.resource-section{padding-top:25px}.editorial-note{margin-bottom:28px}.lesson-part-heading{gap:10px}.lesson-content h2{font-size:23px}.lesson-part>p{font-size:14px}.math-formula{font-size:16px;padding:23px 15px}.lesson-part+.lesson-part{margin-top:30px}.exercise-block{padding:22px}.exercise-block h3{font-size:17px}.quiz-question{padding:20px 17px}.quiz-question legend{font-size:14px}.quiz-result h2{font-size:20px}.quiz-choice{font-size:13px}.books-layout{grid-template-columns:1fr;gap:35px}.book-illustration{max-width:480px;width:100%;margin-inline:auto;padding:40px}.decorative-book{width:235px;height:325px}.books-copy h2{font-size:30px}.books-copy p{font-size:13px}.sitemap-grid{grid-template-columns:repeat(2,1fr);gap:30px}.sitemap-column h2{font-size:19px}.error-page h1{font-size:30px}[dir=rtl] .hero-copy h1{font-size:51px;line-height:1.65}[dir=rtl] .hero-grid{gap:25px}[dir=rtl] .hero-copy>.eyebrow{font-size:10px}[dir=rtl] .title-underline{width:82%;inset-inline-start:9%}[dir=rtl] .challenge-copy h2{font-size:28px}}
@media(max-width:440px){.container{width:calc(100% - 36px)}.brand{width:140px}.header-tools{gap:4px}.language-switch{gap:7px}.language-switch>.icon{display:none}.header-library .icon{width:18px;height:18px}.menu-toggle{padding:7px}.hero-copy h1{font-size:clamp(36px,11.5vw,45px);letter-spacing:-2.1px}.hero-description{font-size:13px}.hero-actions{gap:15px}.hero-actions .button{font-size:10px;padding-inline:16px}.hero-actions .text-link{font-size:9px;gap:3px}.hero-note{font-size:9px;gap:6px}.hero-art{width:310px;min-height:340px}.math-notebook{width:257px;padding:15px}.geometry-drawing{height:153px}.notebook-label{font-size:6px;letter-spacing:1.1px}.notebook-formula{font-size:25px}.art-orbit{width:290px;height:290px}.orbit-two{width:310px;height:270px}.notebook-note{font-size:9px}.math-pi{font-size:31px;top:2px;left:-3px}.math-plus{font-size:25px;right:0}.math-x{font-size:24px;bottom:24px}.art-badge{font-size:8px;inset-inline-end:-1px;bottom:8px;padding:9px}.art-badge .icon{width:15px;height:15px}.art-caption{font-size:9px;bottom:-18px}.section-heading h2{font-size:26px}.resource-grid,.tests-grid{grid-template-columns:1fr}.section-featured .resource-grid>.resource-card:last-child{display:flex}.resource-card{padding:23px}.resource-card-top{flex-wrap:nowrap}.resource-card h3{font-size:19px}.resource-card p{font-size:12px}.resource-track{font-size:9px}.resource-card-bottom>span{font-size:10px}.type-badge{font-size:9px}.resource-time{font-size:10px}.challenge-section{padding:27px}.challenge-copy h2{font-size:28px}.challenge-copy .button{font-size:9px;padding-inline:14px}.daily-challenge{padding:21px}.daily-challenge h3{font-size:16px}.news-card{padding:22px;gap:14px}.news-icon{padding:9px}.news-icon .icon{height:19px;width:19px}.news-card h3{font-size:16px}.news-card p{font-size:11px}.footer-grid{gap:20px 13px}.footer-grid h2{font-size:10px}.footer-grid>div>a:not(.footer-wordmark){font-size:9px}.footer-small{font-size:8px}.page-hero h1{font-size:30px}.track-card{padding:17px;gap:12px}.track-card h3{font-size:15px}.track-card p{font-size:8px}.track-card-symbol{width:40px;height:40px;font-size:22px}.track-card>.circle-link{height:27px;width:27px}.filter-tabs a{font-size:10px;padding:10px 7px;gap:5px}.filter-tabs a>span{font-size:9px;padding-inline:4px}.domain-grid{grid-template-columns:1fr}.domain-card{padding:25px}.domain-card h3{font-size:22px}.domain-card p{font-size:12px}.domain-links a{font-size:11px}.search-form{padding:16px}.search-input-wrap>.icon{display:none}.search-input-wrap input{padding-inline-start:9px}.search-filter-row label{min-width:100%}.search-filter-row .button{flex:1}.result-heading{display:block}.result-heading>span{display:block;margin-top:5px}.resource-heading h1{font-size:29px}.resource-meta{gap:14px}.resource-meta>span{font-size:9px}.resource-meta>span:first-child{width:100%}.lesson-content h2{font-size:21px}.math-formula{font-size:14px}.sidebar-card{gap:10px;padding:15px}.sidebar-back{font-size:8px}.sidebar-card .button{padding-inline:10px;font-size:8px;gap:5px}.sidebar-card .button .icon{width:13px;height:13px}.quiz-choice .choice-indicator{font-size:8px}.quiz-choice{padding:12px;font-size:12px;gap:9px}.book-illustration{padding:35px 20px}.decorative-book{width:215px;height:310px}.sitemap-grid{grid-template-columns:1fr}.sitemap-column li{font-size:13px}[dir=rtl] .hero-copy h1{font-size:clamp(35px,11.2vw,44px)}[dir=rtl] .hero-description{font-size:13px}[dir=rtl] .hero-actions .text-link{font-size:9px}[dir=rtl] .hero-art .art-badge{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{@page{margin:18mm}.site-header,.site-footer,.lesson-sidebar,.breadcrumbs,.related-section,.completion,.editorial-note,.quiz-form>.button,.hero-art{display:none!important}body{font-family:Arial,NotoArabic,sans-serif;color:#000;font-size:11pt}.container{width:100%;max-width:none}.section,.resource-hero{padding:0;background:none;border:0}.resource-hero{margin-bottom:25px}.reading-layout{display:block}.resource-heading h1{font-size:28pt}.resource-heading p,.lesson-part>p,.correction p{color:#222}.resource-meta{margin-bottom:20px}.lesson-part,.exercise-block,.quiz-question{break-inside:avoid}.math-formula{background:#fff!important;border:1px solid #bbb}.correction{display:block}.correction>div{display:block!important}.correction summary{color:#000}.working-space{height:20px}.exercise-block{border:1px solid #aaa}.resource-card,.path-card{break-inside:avoid}.lesson-part+.lesson-part{margin-top:25px}a{color:#000}.resource-section{padding-top:0}}
/* Editorial content managed from the administration. */
.news-home-list{display:flex;flex-direction:column;gap:18px;min-width:0}.news-index-link{margin-top:20px}.news-body-text{white-space:pre-wrap;font-size:16px;line-height:2;color:#526a53}.public-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.public-news-grid h2{font-size:21px;line-height:1.6;margin-block:20px}.public-news-grid p{font-size:13px;line-height:2;margin-bottom:25px}.public-books-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.public-book-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.public-book-cover{background:#f4f6ed;padding:35px;min-height:310px;display:flex;align-items:center;justify-content:center}.public-book-cover img{height:270px;max-width:100%;object-fit:contain;box-shadow:5px 8px 18px #203c3415}.public-book-placeholder{background:#27563d;color:#f2f0db;width:190px;min-height:260px;padding:22px;display:flex;flex-direction:column;border-radius:3px 8px 8px 3px;box-shadow:5px 7px 0 #d9ddc8;text-align:start;gap:20px}.public-book-placeholder>span:first-child{font-size:12px}.public-book-placeholder>.book-symbol{font:70px Georgia,serif;color:#bacb9f}.public-book-placeholder strong{font-size:21px;line-height:1.5;font-weight:600}.public-book-copy{padding:29px}.public-book-copy h2{font-size:25px;line-height:1.5;margin-bottom:14px}.public-book-copy p{font-size:13px;line-height:2;white-space:pre-wrap}.public-book-copy .book-byline{font-size:11px;color:#647d55;margin-bottom:17px}.book-isbn{display:block;font-size:10px;margin-top:18px;color:#5d7653}.public-book-copy .button{margin-top:20px}.resource-download{margin-bottom:30px}.lesson-part>p{white-space:pre-line}.footer-contact{display:inline-block;font-size:11px;margin-bottom:17px;color:#4f7544;overflow-wrap:anywhere}@media(max-width:760px){.public-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-books-grid{grid-template-columns:1fr;max-width:540px;margin-inline:auto}.public-book-copy h2{font-size:24px}.news-body-text{font-size:14px}}@media(max-width:500px){.public-news-grid{grid-template-columns:1fr}.public-book-copy{padding:24px}.public-book-copy h2{font-size:23px}}
