@charset "UTF-8";
:root{--green:#064c3e;--green-dark:#073b34;--ink:#163d36;--text:#283f3b;--muted:#586c65;--paper:#fafbf7;--white:#fff;--line:#dce5db;--soft:#eef3e9;--gold:#edca72;--radius:14px;color-scheme:light;font:18px/1.65 Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--text)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-underline-offset:4px}img{max-width:100%;height:auto}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}:focus-visible{outline:3px solid #b28b25;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);line-height:1.18}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:clamp(2.25rem,4vw,4rem);letter-spacing:-.03em}h2{font-size:clamp(1.65rem,2.5vw,2.4rem)}h3{font-size:1.15rem}p{margin-bottom:1.1rem}small,.eyebrow{font-size:.75rem}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--muted);margin-bottom:.8rem}.skip{position:fixed;top:-90px;left:12px;padding:12px;background:white;z-index:20}.skip:focus{top:10px}
.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:25px;background:var(--green-dark);color:white;padding:16px 4%;border-bottom:1px solid #ffffff22;min-height:98px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:white;flex-shrink:0}.brand img{width:62px;height:62px;object-fit:contain;border-radius:50%;background:white}.brand>span>span,.brand strong{display:block}.brand strong{font-family:Georgia,serif;font-size:1.3rem;font-weight:400;line-height:1.3}.brand>span>span{font-size:.78rem;color:#d6e7df}.site-header nav{display:flex;gap:8px;align-items:center}.site-header nav a{color:white;text-decoration:none;padding:10px 15px;border-radius:7px;font-size:.88rem}.site-header nav a:hover,.site-header nav a[aria-current=page]{background:#ffffff17}.menu-toggle{display:none;color:white;background:none;border:1px solid #ffffff66;border-radius:7px;padding:8px 15px}.site-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:28px 4%;font-size:.8rem;color:var(--muted)}.site-footer p{margin:0}.loading,.error-view{padding:75px 5%;min-height:65vh}.wrap{width:92%;max-width:1800px;margin:0 auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border:1px solid transparent;border-radius:7px;background:var(--green);color:white;font-weight:600;padding:12px 22px;min-height:48px;line-height:1.35}.button:hover{background:var(--green-dark)}.button.gold{background:var(--gold);color:#173c31}.button.gold:hover{background:#f4d890}.button.outline{background:transparent;color:var(--green);border-color:#b0c1ad}.button.outline:hover{background:var(--soft)}.text-link{font-weight:600;font-size:.9rem}.link-back{display:inline-block;margin-bottom:22px;color:var(--green);font-size:.85rem}.hero{min-height:480px;display:flex;align-items:center;background:linear-gradient(90deg,#064c3efa 0%,#064c3ee8 32%,#064c3e50 62%,#064c3e00 100%),url('/assets/biologia-hero.webp') right 50% / cover no-repeat;color:white;padding:70px 5%}.hero-copy{width:min(660px,65%)}.hero .eyebrow{color:#e7d29a}.hero h1{color:white;font-size:clamp(2.7rem,5vw,4.8rem);margin-bottom:22px}.hero p:not(.eyebrow){font-size:1.08rem;max-width:520px;color:#edf3e8}.hero .button{margin-top:12px}.section{padding-top:48px;padding-bottom:48px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.section-heading h2{margin:0}.section-heading p{color:var(--muted);font-size:.9rem;margin:0}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.subject-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white}.subject-card>a{display:block;overflow:hidden}.subject-card img{display:block;width:100%;aspect-ratio:1.8;object-fit:cover;transition:transform .25s}.subject-card>a:hover img{transform:scale(1.035)}.subject-card-body{display:flex;flex:1;flex-direction:column;align-items:start;padding:26px}.subject-card h3{font-family:Georgia,serif;font-size:1.65rem;font-weight:400;margin-bottom:12px}.subject-card h3 a{text-decoration:none;color:var(--ink)}.subject-card p{font-size:.94rem;color:var(--muted);flex:1}.subject-meta{font-size:.78rem;color:var(--muted);margin-bottom:10px}.subject-card .button{margin-top:8px}.resources-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.resource-link{display:flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none;border:1px solid var(--line);border-radius:var(--radius);padding:28px 30px;background:var(--soft);color:var(--ink)}.resource-link strong{display:block;font-family:Georgia,serif;font-size:1.45rem;font-weight:400}.resource-link span{display:block;color:var(--muted);font-size:.9rem}.resource-icon{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:var(--green);border-radius:9px;color:white;font-size:1.2rem}.team-section{padding-top:25px}.team-list{display:flex;flex-wrap:wrap;gap:10px 30px;padding:0;list-style:none;color:var(--muted);font-size:.88rem}.team-list li{padding:10px 0;border-bottom:1px solid var(--line)}
.subject-banner{display:flex;align-items:center;min-height:270px;position:relative;isolation:isolate;overflow:hidden;background:var(--green-dark);color:white;padding:42px 5%}.subject-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.subject-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#073b34ef,#073b3480 65%,#073b3415);z-index:-1}.subject-banner h1{color:white;margin-bottom:12px;max-width:1000px}.subject-banner p{margin:0;max-width:740px;color:#f1f5eb}.subject-banner .eyebrow{color:#eddfb6;margin-bottom:10px}.subject-shell{display:grid;grid-template-columns:290px minmax(0,1fr);gap:38px;align-items:start;padding-top:36px;padding-bottom:65px}.curriculum{position:sticky;top:124px;max-height:calc(100vh - 150px);overflow:auto;padding-right:8px;scrollbar-width:thin}.curriculum h2{font-size:1.5rem;margin-bottom:15px}.subject-picker{width:100%;padding:11px 13px;font:inherit;font-size:.9rem;color:var(--ink);border:1px solid var(--line);border-radius:7px;background:white;margin-bottom:16px}.topic-list{list-style:none;margin:0;padding:0}.topic-list li+li{margin-top:4px}.topic-list a{display:block;font-size:.87rem;line-height:1.45;text-decoration:none;color:var(--text);padding:13px 14px;border-radius:7px;border-left:3px solid transparent}.topic-list a:hover{background:var(--soft)}.topic-list a[aria-current=true]{background:#e8efdf;border-left-color:#638847;color:var(--green);font-weight:600}.mobile-topics{display:none}.subject-main{min-width:0}.study-header{display:flex;align-items:start;justify-content:space-between;gap:22px;margin-bottom:26px}.study-header h2{margin-bottom:8px}.study-header p{font-size:.9rem;color:var(--muted);margin:0}.study-header .button{flex-shrink:0;font-size:.85rem}.lesson{border:1px solid var(--line);border-radius:11px;background:white;margin-bottom:14px;scroll-margin-top:120px;overflow:clip}.lesson>summary{font-family:Georgia,serif;font-size:clamp(1.2rem,1.75vw,1.8rem);line-height:1.35;color:var(--ink);padding:23px 24px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:22px}.lesson>summary::-webkit-details-marker{display:none}.lesson>summary::after{content:"+";font-family:Arial,sans-serif;font-size:1.7rem;font-weight:400;flex-shrink:0;color:var(--green)}.lesson[open]>summary{background:var(--soft);border-bottom:1px solid var(--line)}.lesson[open]>summary::after{content:"−"}.lesson-body{padding:28px clamp(20px,3vw,42px);font-size:1.1rem;line-height:1.75}.goal{background:#f0f5ed;border-left:4px solid #6b9855;border-radius:0 8px 8px 0;padding:18px 22px;margin:0 0 24px}.goal strong{display:block;font-size:.9rem;margin-bottom:7px;color:var(--green)}.goal p{margin:0}.lesson-tabs{display:flex;flex-wrap:wrap;gap:6px;background:#f0f2eb;border-radius:7px;padding:6px;margin-bottom:26px}.lesson-tabs a{text-decoration:none;font-size:.8rem;padding:7px 12px;color:var(--green);border-radius:5px}.lesson-tabs a:hover{background:white}.lesson-section{margin-top:40px;scroll-margin-top:130px}.lesson-section>h2{font-size:1.9rem;margin-bottom:24px}.lesson-section h3{font-size:1.15rem;margin-top:28px;margin-bottom:11px;line-height:1.4}.lesson-section p{max-width:110ch}.lesson-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin:22px 0 32px}.lesson-figures.single{grid-template-columns:1fr}.lesson-figures figure{margin:0;background:#f5f8f5;border:1px solid #e5ebe2;border-radius:8px;padding:10px}.lesson-figures img{display:block;width:100%;max-height:450px;object-fit:contain}.practice-list{padding-left:1.4em}.practice-list li{margin-bottom:24px;padding-left:6px}.answer{background:#f1f5ec;border-radius:7px;margin:14px 0 0;padding:12px 16px;font-size:.92em}.reference-list{padding-left:1.2em}.reference-list li{margin-bottom:22px}.reference-list p{font-size:.88rem;color:var(--muted);margin:6px 0 0}.end-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:28px}.video-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.video-poster{position:relative;display:block;width:100%;padding:0;border:0;background:var(--green-dark);color:white;aspect-ratio:16/8;overflow:hidden}.video-poster img{width:100%;height:100%;object-fit:cover;opacity:.55}.play-circle{position:absolute;inset:0;margin:auto;width:70px;height:70px;border-radius:50%;background:#ffffffeb;display:grid;place-items:center;color:var(--green);font-size:29px;padding-left:5px}.video-poster:hover .play-circle{background:var(--gold)}.video-frame{display:block;width:100%;aspect-ratio:16/9;border:0}.video-info{padding:22px 25px}.video-info h3{margin:0 0 9px;font-family:Georgia,serif;font-size:1.35rem;font-weight:400}.video-info p{font-size:.85rem;color:var(--muted);margin:0 0 12px}.video-info a{font-size:.85rem}.video-note{font-size:.85rem;color:var(--muted)}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.collection-title{padding-top:45px;margin-bottom:28px}.collection-title h1{margin-bottom:12px}.collection-title p{color:var(--muted)}
.quiz-page{padding-top:32px;padding-bottom:60px}.quiz-layout{width:min(1060px,100%);margin:0 auto}.quiz-box{border:1px solid var(--line);border-top:5px solid var(--green);border-radius:var(--radius);background:white;padding:clamp(24px,4vw,48px)}.quiz-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.quiz-top .eyebrow{margin:0}.quiz-counter{font-size:.85rem;color:var(--muted)}.quiz-box h1{font-size:clamp(2rem,3vw,3rem);margin:22px 0 12px}.quiz-box .lead{font-size:.95rem;color:var(--muted)}.quiz-progress{width:100%;height:7px;display:block;border:0;border-radius:7px;margin:25px 0 34px;accent-color:var(--green)}.quiz-progress::-webkit-progress-bar{background:#edf2e8;border-radius:7px}.quiz-progress::-webkit-progress-value{background:var(--green);border-radius:7px}.quiz-body{display:grid;grid-template-columns:minmax(0,1fr) 30%;gap:30px}.quiz-fieldset{border:0;padding:0;margin:0;min-width:0}.quiz-fieldset legend{font-family:Georgia,serif;color:var(--ink);font-size:1.45rem;line-height:1.4;margin-bottom:20px;padding:0;width:100%}.quiz-option{display:flex;align-items:start;gap:13px;padding:15px 17px;border:1px solid var(--line);border-radius:8px;margin-bottom:12px;background:white;cursor:pointer;font-size:1rem;line-height:1.5}.quiz-option:has(input:checked){background:#edf4e9;border-color:var(--green)}.quiz-option:has(input:focus-visible){outline:2px solid var(--green);outline-offset:3px}.quiz-option input{margin:6px 0 0;accent-color:var(--green);flex-shrink:0;min-width:18px;min-height:18px}.quiz-option.correct{border-color:#277342;background:#edf6ea}.quiz-option.incorrect{border-color:#b15f25;background:#fff2e8}.quiz-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.feedback{margin-top:20px;background:#f0f4ed;border-radius:8px;padding:18px;font-size:.96rem;line-height:1.6}.feedback:empty{display:none}.feedback[data-result=wrong]{background:#fff1df;color:#73401c}.feedback[data-result=correct]{background:#e6f3e7;color:#154a32}.quiz-visual{border:1px solid var(--line);background:#f7f8f2;border-radius:8px;padding:0 14px;align-self:start}.quiz-visual summary{padding:14px 0;cursor:pointer;font-size:.85rem;color:var(--green);font-weight:600}.quiz-visual svg{display:block;width:100%;height:auto;margin:10px 0 18px}.result-score{font-family:Georgia,serif;font-size:3.8rem;color:var(--green);margin-bottom:15px}.review-list{margin:32px 0}.review-list li{margin:20px 0}.review-list strong{display:block;font-size:1rem}.review-list p{font-size:.9rem;margin-top:8px}.result-actions{display:flex;gap:15px;flex-wrap:wrap}.error-view h1{font-size:2.2rem}.error-view p{max-width:650px}
@media(min-width:1600px){.subject-shell{grid-template-columns:320px minmax(0,1fr);gap:48px}.lesson-body{font-size:1.18rem}.lesson>summary{font-size:1.85rem}}
@media(max-width:1080px){.site-header{gap:16px;padding-inline:3%}.brand strong{font-size:1.15rem}.site-header nav{gap:0}.site-header nav a{font-size:.78rem;padding:10px}.subject-shell{grid-template-columns:240px minmax(0,1fr);gap:25px}.hero-copy{width:65%}.subject-grid{gap:18px}.subject-card-body{padding:21px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-body{grid-template-columns:minmax(0,1fr) 28%}}
@media(max-width:780px){:root{font-size:17px}.site-header{min-height:85px;padding:12px 5%;flex-wrap:wrap}.brand img{width:50px;height:50px}.brand strong{font-size:1.2rem}.brand>span>span{font-size:.72rem}.menu-toggle{display:block}.site-header nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding-bottom:6px}.site-header nav.open{display:flex}.site-header nav a{font-size:.95rem;padding:11px 0}.hero{min-height:410px;background:linear-gradient(90deg,#064c3efa,#064c3eb0),url('/assets/biologia-hero.webp') 65% center/cover;padding:44px 6%}.hero-copy{width:100%}.hero h1{font-size:clamp(2.7rem,8vw,3.8rem)}.hero p:not(.eyebrow){max-width:470px}.wrap{width:90%}.section{padding-block:33px}.section-heading{align-items:start;flex-direction:column;gap:8px}.subject-grid{grid-template-columns:1fr}.subject-card>a img{aspect-ratio:2.4}.subject-card-body{padding:23px}.subject-card h3{font-size:1.75rem}.subject-card p{font-size:1rem}.resources-grid{grid-template-columns:1fr;gap:16px}.resource-link{padding:23px}.site-footer{flex-direction:column;gap:6px;padding:24px 5%}.subject-banner{min-height:220px;padding:32px 5%}.subject-banner h1{font-size:clamp(2.2rem,6vw,3.2rem)}.subject-shell{display:block;padding-top:25px}.curriculum{position:static;max-height:none;overflow:visible;padding:0;margin-bottom:24px}.curriculum>.link-back{margin-bottom:15px}.curriculum h2{display:none}.mobile-topics{display:flex;justify-content:space-between;align-items:center;min-height:48px;width:100%;font:inherit;font-weight:600;color:var(--green);background:#eaf0e0;border:1px solid var(--line);border-radius:7px;padding:12px 15px;text-align:left}.curriculum-content{display:none;background:white;border:1px solid var(--line);border-radius:8px;padding:15px;margin-top:8px}.curriculum-content.open{display:block}.topic-list a{font-size:1rem}.study-header{flex-direction:column;gap:14px}.study-header .button{font-size:.95rem}.lesson{scroll-margin-top:100px}.lesson>summary{font-size:1.3rem;padding:19px 16px}.lesson-body{padding:22px 18px;font-size:1.06rem;line-height:1.7}.lesson-tabs{gap:0}.lesson-tabs a{font-size:.82rem;padding:8px 10px}.goal{padding:16px}.lesson-figures{grid-template-columns:1fr}.lesson-section>h2{font-size:1.8rem}.lesson-section h3{font-size:1.13rem}.lesson-section{scroll-margin-top:110px}.video-grid{grid-template-columns:1fr}.quiz-box{padding:23px 18px}.quiz-top{align-items:start;flex-wrap:wrap;gap:10px}.quiz-body{grid-template-columns:1fr;gap:22px}.quiz-visual{grid-row:1}.quiz-visual svg{max-height:200px}.quiz-visual summary{font-size:.95rem}.quiz-fieldset legend{font-size:1.5rem}.quiz-actions .button{flex:1 1 auto}.quiz-page{padding-top:22px}.quiz-option{font-size:1rem;padding:14px 12px}.quiz-counter{font-size:.9rem}.result-score{font-size:3.5rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quiz-visual img{display:block;width:100%;height:auto;margin:10px 0 18px}
.study-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.subject-shell.reading-expanded{grid-template-columns:minmax(0,1fr)}.reading-expanded .curriculum{display:none}@media(max-width:780px){.reading-expand{display:none}.reading-expanded .curriculum{display:block}.study-actions{justify-content:flex-start}}
#asignaturas{scroll-margin-top:115px}

/* The official crest remains visible behind the cover without competing with text. */
.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#043e33,#075947 70%,#166b56)}
.hero-seal{position:absolute;z-index:-1;width:clamp(420px,48vw,690px);max-width:none;height:auto;right:6%;top:50%;transform:translateY(-50%);opacity:.17;border-radius:50%;filter:grayscale(.2);pointer-events:none}
.hero-copy{position:relative;width:min(720px,70%)}
.concept{margin-block:36px 54px}
.concept-figure{margin:25px 0 38px;max-width:800px}
.concept-figure img{display:block;width:100%;height:auto;border:1px solid #d5e4dc;border-radius:8px}
.concept-figure figcaption{font-size:.9rem;line-height:1.6;color:#47665b;padding:12px 2px 0}
.lesson{overflow-anchor:none}
.image-enlarge{background:transparent;border:0;color:var(--green);text-decoration:underline;text-underline-offset:4px;padding:9px 0;font-size:.9rem;min-height:44px}
.image-viewing{overflow:hidden}
#illustration-dialog{width:min(1000px,96vw);max-width:96vw;max-height:94dvh;padding:24px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:white}
#illustration-dialog::backdrop{background:#052d27c9}
.illustration-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.illustration-toolbar h2{font-size:1.6rem;margin:0}
.illustration-controls{display:flex;gap:15px;align-items:center;margin-bottom:12px}
.illustration-canvas{max-height:55dvh;overflow:auto;border:1px solid var(--line);background:#f1f6f3;overscroll-behavior:contain}
.illustration-canvas img{display:block;max-width:none;height:auto}
.illustration-canvas .image-zoom-1{width:100%}.illustration-canvas .image-zoom-2{width:200%}.illustration-canvas .image-zoom-3{width:300%}
@media(max-width:600px){#illustration-dialog{padding:16px}.illustration-toolbar h2{font-size:1.2rem}.illustration-toolbar .button{padding:10px 14px}.illustration-controls{justify-content:space-between;gap:8px}.illustration-controls .button{padding:10px 14px}.illustration-canvas{max-height:48dvh}}
@media(max-width:780px){.hero{background:linear-gradient(110deg,#043e33,#075947)}.hero-copy{width:100%}.hero-seal{width:520px;right:-120px;opacity:.13}.concept{margin-block:28px 42px}.concept-figure{margin-block:20px 30px}.concept-figure figcaption{font-size:.95rem}}
.lesson,.lesson-section,#asignaturas{scroll-margin-top:var(--header-offset,120px)}
.illustrated-boards{align-items:start;gap:24px}
.subject-board{--board:#16634e;--board-soft:#e5f2dc;--board-light:#f5faee;background:linear-gradient(150deg,var(--board-soft),var(--board-light));border:1px solid color-mix(in srgb,var(--board),white 62%);border-radius:20px;padding:18px;box-shadow:0 10px 28px #163d3612;overflow:hidden}
.board-lang{--board:#713784;--board-soft:#f0dcef;--board-light:#fcf4fb}
.board-chem{--board:#19599b;--board-soft:#d6eafb;--board-light:#f0f7ff}
.board-heading{padding:8px 5px 20px;text-align:center}
.board-meta{display:block;font-size:.78rem;font-weight:700;color:var(--board);letter-spacing:.04em;margin-bottom:8px}
.board-heading h3{font:400 clamp(1.55rem,2.1vw,2.2rem)/1.12 Georgia,serif;margin:0 0 10px}
.board-heading h3 a{color:var(--board);text-decoration:none}
.board-heading p{font-size:.87rem;margin:0;color:var(--board)}
.board-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.illustrated-topic{display:flex;flex-direction:column;text-decoration:none;color:#243b39;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #ffffffc9;box-shadow:0 4px 11px #15362d15;transition:transform .18s,box-shadow .18s}
.illustrated-topic:hover{transform:translateY(-4px);box-shadow:0 10px 18px #15362d28}
.illustrated-topic img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover}
.illustrated-topic>span{padding:12px 10px;font-size:.9rem;font-weight:700;line-height:1.35;text-align:center;overflow-wrap:anywhere;flex:1;display:flex;align-items:center;justify-content:center;min-height:70px}
.board-all{display:block;margin-top:18px;padding:13px 9px;border-radius:9px;background:var(--board);color:white;text-align:center;font-size:.9rem;font-weight:700;text-decoration:none}
.board-all:hover{filter:brightness(.92)}
.board-bio .illustrated-topic:last-child{grid-column:1/-1}
.board-bio .illustrated-topic:last-child img{aspect-ratio:1.9}
.lesson-cover{max-width:1100px;margin-top:26px}
.lesson-cover img{border-radius:15px;box-shadow:0 10px 25px #143b2c16}
@media(max-width:1080px) and (min-width:781px){.illustrated-boards{gap:14px}.subject-board{padding:12px}.board-topics{gap:9px}.illustrated-topic>span{font-size:.82rem;padding:10px 7px}}
@media(max-width:780px){.illustrated-boards{gap:25px}.subject-board{padding:16px}.board-heading h3{font-size:2rem}.board-heading p{font-size:1rem}.illustrated-topic>span{font-size:.95rem;min-height:75px}.board-meta{font-size:.85rem}.board-all{font-size:1rem}.lesson-cover{margin-inline:-6px}}

/* Cover palette follows Biology, Language and Chemistry. */
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;min-height:590px;padding:55px 5% 64px;background:linear-gradient(110deg,#eef7e9 0%,#faf5fb 52%,#e3f0fc 100%);color:#283f3b}
.hero-copy{grid-column:1;z-index:1;width:100%;max-width:660px}
.hero h1{font-size:clamp(2.8rem,5vw,4.5rem);line-height:1.06;margin-bottom:24px;letter-spacing:-.035em}
.hero h1>span{display:block}
.hero .hero-biology{color:#16634e}
.hero .hero-language{color:#713784}
.hero .hero-chemistry{color:#19599b}
.hero .eyebrow{color:#4b5367;font-size:.78rem;letter-spacing:.1em}
.hero p:not(.eyebrow){color:#344b50;font-size:1.08rem;max-width:510px}
.hero .button.gold{background:#19599b;border-color:#19599b;color:#fff;box-shadow:0 5px 15px #19599b20}
.hero .button.gold:hover{background:#124779;border-color:#124779}
.hero-seal{z-index:0;width:clamp(300px,38vw,540px);height:auto;right:5%;top:50%;transform:translateY(-50%);opacity:.88;border-radius:50%;mix-blend-mode:multiply;filter:drop-shadow(0 12px 22px #19599b18)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;background:linear-gradient(90deg,#16634e 0%,#16634e 33.333%,#713784 33.333%,#713784 66.666%,#19599b 66.666%,#19599b 100%)}
@media(max-width:1080px) and (min-width:781px){.hero{gap:22px;padding-inline:4%;min-height:540px}.hero h1{font-size:3.7rem}.hero-seal{right:3%;width:35vw}}
@media(max-width:780px){.hero{display:block;min-height:0;padding:36px 6% 274px;background:linear-gradient(140deg,#eef7e9,#f7eef9 52%,#deedfb)}.hero-copy{width:100%;max-width:none}.hero h1{font-size:clamp(2.7rem,9vw,3.8rem);margin-bottom:20px}.hero .eyebrow{font-size:.77rem}.hero p:not(.eyebrow){font-size:1.05rem}.hero-seal{width:242px;right:calc(50% - 121px);top:auto;bottom:20px;transform:none;opacity:.9;filter:drop-shadow(0 7px 14px #19599b20)}}
/* Comfortable reading sizes, with a preference shared by every page. */
:root{font-size:125%;line-height:1.75}
:root[data-reading-size=larger]{font-size:150%}
:root[data-reading-size=largest]{font-size:175%}
.reading-tools{background:#eef3e9;border-bottom:1px solid #c7d5c4;color:#173f35}
.reading-tools-inner{width:92%;max-width:1800px;margin:auto;padding:14px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.reading-tools-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.reading-tools-title strong{font-size:1.05rem}
#reading-size-status{font-size:.95rem;background:#dbe9d6;border-radius:6px;padding:2px 10px}
.reading-controls{display:flex;flex-wrap:wrap;gap:8px}
.reading-controls button{min-width:60px;min-height:52px;padding:8px 14px;border:1px solid #52725b;border-radius:7px;background:white;color:#173f35;font-size:1rem;font-weight:700}
#reading-larger{background:#19599b;border-color:#19599b;color:white}
.site-header{flex-wrap:wrap;max-height:85dvh;overflow-y:auto}
.brand{min-width:0;max-width:100%;flex-shrink:1}.brand img{flex-shrink:0}.brand>span{min-width:0}
.brand strong{font-size:clamp(1rem,3.8vw,1.3rem)}.brand>span>span{font-size:.9rem}
.site-header nav a{font-size:1rem}
.button{min-height:52px;white-space:normal;max-width:100%;text-align:center}
h1,h2,h3,.brand,.button,.resource-link,.illustrated-topic,.quiz-option{overflow-wrap:anywhere;hyphens:auto}
.hero h1{font-size:3.5rem}.hero .eyebrow{font-size:.95rem}
.lesson-body{font-size:1.1rem;line-height:1.85;overflow-wrap:anywhere;hyphens:auto}.lesson-section p{max-width:75ch}
.topic-list a,.subject-picker,.lesson-tabs a,.goal strong,.study-header p,.study-header .button,.concept-figure figcaption,.reference-list p,.video-info p,.video-info a,.video-note,.image-enlarge,.quiz-box .lead,.feedback,.review-list p,.review-list strong,.board-meta,.subject-meta,.team-list,.site-footer,.link-back,.text-link,.quiz-counter,.quiz-visual summary,.section-heading p,.board-heading p,.board-all,.resource-link span,.subject-card p{font-size:1rem}
.illustrated-topic>span{font-size:1rem;line-height:1.5}
.curriculum{top:var(--header-offset,124px);max-height:calc(100dvh - var(--header-offset,124px) - 20px)}
.illustration-toolbar,.illustration-controls{flex-wrap:wrap}.quiz-option input{min-width:22px;min-height:22px}
.quiz-body>*{min-width:0}.quiz-fieldset legend,.quiz-option span,.feedback{overflow-wrap:anywhere;hyphens:auto}
:root[data-reading-size=largest] .board-topics{grid-template-columns:1fr}
:root[data-reading-size=largest] .board-bio .illustrated-topic:last-child{grid-column:auto}
@media(max-width:1180px){.menu-toggle{display:block}.site-header nav{display:none;width:100%;flex-direction:column;align-items:stretch}.site-header nav.open{display:flex}}
@media(max-width:780px){:root{font-size:125%}.hero h1{font-size:2.3rem}.hero .eyebrow{font-size:.95rem}.lesson-body{font-size:1.1rem;line-height:1.85}.curriculum{max-height:none;overflow:visible}.lesson-section>h2{font-size:1.55rem}.reading-tools-inner{width:90%}.study-header .button{flex-shrink:1}.resource-link{flex-wrap:wrap}}
@media(max-width:600px){.board-topics{grid-template-columns:1fr}.board-bio .illustrated-topic:last-child{grid-column:auto}.board-heading{flex-wrap:wrap}.quiz-body{grid-template-columns:minmax(0,1fr)}}
