:root{--paper:#f6f7f2;--white:#fff;--ink:#203b35;--muted:#626e68;--line:#dce3db;--green:#215c4e;--green-soft:#e8f0e8;--history:#915e38;--history-soft:#f5ebdd;--geography:#236858;--geography-soft:#e4efe7;--biology:#617238;--biology-soft:#eef0df;--radius:22px;--max:1180px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;line-height:1.55}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}svg{display:block}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bd7b31;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16}h1,h2{letter-spacing:-.035em}h1{font-size:clamp(38px,4.4vw,59px);font-family:Georgia,"Times New Roman",serif;font-weight:500}h2{font-size:30px;font-weight:650}h3{font-size:21px;letter-spacing:-.02em}p{color:var(--muted)}[hidden]{display:none!important}.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}.container{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.skip-link{position:fixed;left:16px;top:-90px;z-index:100;background:var(--ink);color:#fff;padding:14px 20px;border-radius:9px}.skip-link:focus{top:12px}.site-header{border-bottom:1px solid var(--line);background:#fcfdf9}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:91px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:43px;height:43px;border-radius:13px;background:var(--green);color:#fff;display:grid;place-items:center}.brand-mark svg{width:27px;height:27px}.brand-name{font-size:19px;font-weight:750;letter-spacing:-.035em;line-height:1.25}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.main-nav{display:flex;align-items:center;gap:6px}.main-nav a{padding:11px 15px;border-radius:10px;font-size:14px;font-weight:550;white-space:nowrap}.main-nav a:hover{background:var(--green-soft)}.main-nav a[aria-current=page]{background:var(--green);color:white}.hero{padding:55px 0 39px;display:grid;grid-template-columns:1.45fr 1fr;align-items:center;gap:60px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:750;color:var(--green);display:flex;align-items:center;gap:10px;margin-bottom:18px}.eyebrow:before{content:"";width:20px;height:1px;background:currentColor}.hero h1 em{font-style:normal;color:#3e7c62}.hero-copy>p{font-size:17px;max-width:545px;margin-top:22px;line-height:1.75}.hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px;font-size:12px;font-weight:650;color:var(--green)}.hero-meta .dot{width:3px;height:3px;border-radius:50%;background:#a3b4a8}.hero-art{position:relative;max-width:395px;justify-self:end;width:100%}.hero-art svg{width:100%;height:auto}.art-caption{position:absolute;right:12px;bottom:3px;background:#fffefb;border:1px solid var(--line);border-radius:12px;padding:9px 16px;box-shadow:0 5px 20px #294b3610;font-size:12px;display:flex;align-items:center;gap:10px}.art-caption>span{height:7px;width:7px;background:var(--green);border-radius:50%}.section-label{font-size:11px;color:var(--muted);letter-spacing:.13em;font-weight:750;text-transform:uppercase;margin-bottom:16px}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.subject-card{border:1px solid var(--line);border-radius:var(--radius);padding:25px;background:#fff;position:relative;transition:transform .18s,box-shadow .18s,border-color .18s;display:flex;flex-direction:column;min-height:227px}.subject-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px #273d2e09;border-color:#aebfb0}.subject-card.history{--accent:var(--history);--soft:var(--history-soft)}.subject-card.geography{--accent:var(--geography);--soft:var(--geography-soft)}.subject-card.biology{--accent:var(--biology);--soft:var(--biology-soft)}.subject-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.subject-icon{width:46px;height:46px;border-radius:14px;background:var(--soft);color:var(--accent);display:grid;place-items:center}.subject-icon svg{width:26px;height:26px}.count-badge{font-size:11px;font-weight:600;color:var(--muted);background:var(--paper);border-radius:99px;padding:5px 10px}.subject-card h3{color:var(--accent);margin-bottom:10px;font-size:24px}.subject-card p{font-size:13px;max-width:280px;line-height:1.7;margin-bottom:20px}.subject-link{font-size:12px;font-weight:700;color:var(--accent);display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto}.subject-link svg{width:19px;height:19px}.catalog{padding:48px 0 8px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.section-heading p{margin-top:9px;font-size:13px}.small-number{font-size:12px;color:var(--muted);white-space:nowrap;padding-bottom:4px}.catalog-tools{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.filter{border:1px solid var(--line);background:transparent;color:var(--muted);min-height:42px;border-radius:10px;padding:9px 14px;font-size:12px;font-weight:650}.filter:hover{background:var(--green-soft)}.filter[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.search-form{width:310px;max-width:100%;flex-shrink:0}.search-label{display:block;font-size:11px;font-weight:650;color:var(--muted);margin-bottom:6px}.search-box{position:relative;display:flex;align-items:center}.search-box>svg{position:absolute;left:15px;width:18px;height:18px;color:#75837a;pointer-events:none}.search-box input{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 42px 11px 42px;height:44px;background:#fff;color:var(--ink);font-size:13px}.search-box input::placeholder{color:#718078}.search-box input::-webkit-search-cancel-button{display:none}.clear-search{position:absolute;right:2px;top:2px;width:40px;height:40px;background:transparent;border:0;color:var(--muted);font-size:22px;border-radius:9px}.clear-search:hover{background:var(--green-soft)}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.topic-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:#fff;min-height:300px;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s;--accent:var(--geography);--soft:var(--geography-soft)}.topic-card.history{--accent:var(--history);--soft:var(--history-soft)}.topic-card.biology{--accent:var(--biology);--soft:var(--biology-soft)}a.topic-card:hover{transform:translateY(-3px);border-color:#a8b9a8;box-shadow:0 10px 26px #203b3509}.topic-content{padding:22px 23px 17px;display:flex;flex-direction:column;flex:1}.topic-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.topic-glyph{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--soft);color:var(--accent)}.topic-glyph svg{width:26px;height:26px}.topic-label{font-size:10px;letter-spacing:.065em;font-weight:700;text-transform:uppercase;color:var(--accent);text-align:right}.topic-meta{font-size:11px;color:var(--muted);margin-bottom:8px}.topic-card h3{font-size:20px;line-height:1.26;margin-bottom:12px;overflow-wrap:anywhere}.topic-description{font-size:13px;line-height:1.7;margin-bottom:20px}.topic-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}.topic-tags span{font-size:10px;color:var(--muted);border:1px solid #e5e9e2;border-radius:5px;padding:3px 6px}.topic-bottom{border-top:1px solid #edf0e9;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 23px;font-size:12px;font-weight:700;color:var(--accent)}.topic-bottom svg{width:18px;height:18px}.topic-card.placeholder{background:transparent;border:1px dashed #b6c7b8;box-shadow:none;min-height:250px}.placeholder .topic-content{justify-content:center;padding:28px}.placeholder .topic-glyph{background:#e8ede3;color:#6c7f69;margin-bottom:21px}.placeholder h3{font-size:18px;color:#556650}.placeholder p{font-size:13px;line-height:1.7;margin-bottom:18px}.planned-label{font-size:10px;font-weight:650;letter-spacing:.06em;color:#697962;text-transform:uppercase}.result-status{font-size:12px;color:var(--muted);min-height:20px;margin-top:15px}.empty-state{border:1px dashed #b6c7b8;padding:38px;border-radius:18px;background:#f0f3eb;text-align:center}.empty-state h3{margin-bottom:10px;font-size:22px}.empty-state p{max-width:510px;margin-inline:auto;font-size:14px}.empty-state a{display:inline-block;margin-top:20px;text-decoration:underline;text-underline-offset:4px;font-weight:600;font-size:13px}.reset-filter{margin-top:18px;padding:10px 18px;min-height:44px;border:1px solid #b9c6b8;border-radius:9px;background:#fff;color:var(--ink);font-size:13px}.learning-path{margin:43px 0 50px;padding:28px 32px;border:1px solid #d9e3d5;border-radius:20px;background:#edf2e8;display:grid;grid-template-columns:1fr 2fr;gap:35px}.learning-path h2{font-size:23px;letter-spacing:-.025em;margin-bottom:9px}.learning-path>div>p{font-size:13px;max-width:235px}.path-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.step-number{display:block;font-size:11px;color:#6e7e69;margin-bottom:8px}.path-steps h3{font-size:14px;margin-bottom:6px}.path-steps p{font-size:12px;line-height:1.7}.site-footer{border-top:1px solid var(--line);padding:25px 0 29px}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;font-size:11px;color:var(--muted)}.footer-inner strong{color:var(--ink);font-size:12px}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.footer-links a:hover{text-decoration:underline;text-underline-offset:4px}.breadcrumbs{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px;margin-top:30px}.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:3px}.subject-hero{padding:32px 0 35px;display:flex;justify-content:space-between;gap:40px;align-items:center}.subject-hero h1{font-size:54px;margin-bottom:17px}.subject-hero p{font-size:16px;line-height:1.8;max-width:650px}.subject-hero .subject-icon{width:112px;height:112px;flex-shrink:0;border-radius:30px;background:var(--geography-soft);color:var(--geography)}.subject-hero .subject-icon svg{width:58px;height:58px}.subject-hero .eyebrow{margin-bottom:12px}.subject-hero.history .subject-icon{background:var(--history-soft);color:var(--history)}.subject-hero.history .eyebrow{color:var(--history)}.subject-hero.biology .subject-icon{background:var(--biology-soft);color:var(--biology)}.subject-hero.biology .eyebrow{color:var(--biology)}.subject-catalog{border-top:1px solid var(--line);padding-top:29px}.biology-intro{padding:28px 32px;border-radius:18px;background:#eaf0df;border:1px solid #d9e2c7;margin-bottom:22px;display:flex;align-items:center;gap:25px}.biology-intro .intro-dot{display:block;width:9px;height:9px;background:#78894f;border-radius:50%;flex-shrink:0}.biology-intro h2{font-size:20px;margin-bottom:8px}.biology-intro p{font-size:14px;max-width:750px}.no-script{background:#fff5da;border:1px solid #d7bd79;padding:22px;border-radius:12px;margin:24px 0;font-size:14px}.no-script a{text-decoration:underline}.no-script li{margin:8px 0}
@media(min-width:1400px){.hero{padding-top:63px;padding-bottom:46px}}
@media(max-width:1000px){.container{width:calc(100% - 44px)}.hero{gap:30px}.hero-art{max-width:320px}.hero h1{font-size:46px}.main-nav a{padding:10px 11px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tools{align-items:start}.learning-path{grid-template-columns:1fr;gap:24px}.learning-path>div>p{max-width:none}.subject-card{padding:21px}.subject-card p{font-size:12px}.subject-card h3{font-size:22px}.search-form{width:280px}}
@media(max-width:720px){.container{width:calc(100% - 32px)}.header-inner{min-height:0;flex-wrap:wrap;padding:18px 0 13px;gap:16px}.brand-mark{width:37px;height:37px;border-radius:11px}.brand-name{font-size:18px}.brand-sub{font-size:9px}.main-nav{width:100%;justify-content:space-between;gap:3px}.main-nav a{padding:10px 11px;font-size:12px}.hero{display:block;padding:35px 0 31px}.hero h1{font-size:43px;max-width:520px}.hero-copy>p{font-size:15px;margin-top:18px}.hero-art{display:none}.hero-meta{margin-top:20px;font-size:11px;gap:10px}.eyebrow{font-size:10px;letter-spacing:.09em}.subject-grid{grid-template-columns:1fr;gap:12px}.subject-card{min-height:0;display:grid;grid-template-columns:1fr auto;gap:0 12px;padding:19px 20px}.subject-card-head{grid-row:1/4;grid-column:2;flex-direction:column;gap:11px;margin-bottom:0}.subject-card h3{grid-column:1;grid-row:1;margin-bottom:7px;font-size:22px}.subject-card p{grid-column:1;grid-row:2;margin-bottom:12px;font-size:12px;max-width:none}.subject-link{grid-column:1;grid-row:3;justify-content:start;font-size:11px;gap:10px}.subject-icon{width:42px;height:42px}.count-badge{font-size:10px;padding:4px 8px}.catalog{padding-top:35px}.section-heading{align-items:start;margin-bottom:20px}.section-heading h2{font-size:27px}.small-number{display:none}.section-heading p{font-size:12px}.catalog-tools{display:flex;flex-direction:column-reverse;gap:16px}.search-form{width:100%}.filters{gap:6px}.filter{padding:9px 12px;font-size:11px;min-height:42px}.topic-grid{grid-template-columns:1fr;gap:14px}.topic-card{min-height:0}.topic-content{padding:22px}.topic-card h3{font-size:21px}.topic-top{margin-bottom:17px}.topic-description{font-size:13px;margin-bottom:16px}.topic-bottom{padding:14px 22px}.topic-card.placeholder{min-height:220px}.learning-path{margin:30px 0 35px;padding:24px 22px;gap:24px}.path-steps{grid-template-columns:1fr;gap:18px}.path-steps>div{display:grid;grid-template-columns:24px 1fr;gap:0 12px}.step-number{grid-column:1;grid-row:1/3;margin:3px 0 0}.path-steps h3{grid-column:2}.path-steps p{grid-column:2}.footer-inner{align-items:start;flex-direction:column;gap:13px}.footer-links{gap:16px}.subject-hero{padding-top:25px;gap:16px;align-items:start}.subject-hero h1{font-size:43px}.subject-hero p{font-size:14px}.subject-hero>.subject-icon{width:65px;height:65px;border-radius:20px;margin-top:28px}.subject-hero>.subject-icon svg{width:34px;height:34px}.subject-hero .eyebrow{font-size:9px}.breadcrumbs{margin-top:24px;font-size:11px}.subject-catalog{padding-top:25px}.biology-intro{padding:22px;align-items:start;gap:15px}.biology-intro .intro-dot{margin-top:7px}.biology-intro h2{font-size:18px}.biology-intro p{font-size:13px}.empty-state{padding:30px 22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{.main-nav,.catalog-tools,.hero-art,.footer-links,.placeholder,.skip-link{display:none!important}.container{width:100%}.topic-grid,.subject-grid{grid-template-columns:repeat(2,1fr)}.topic-card,.subject-card{break-inside:avoid}.site-header{border:0}.hero{display:block}.hero h1{font-size:38px}.learning-path{margin-block:20px}.topic-card{box-shadow:none}body{background:white}}

/* Узкие экраны: меню и заголовок должны помещаться целиком. */
@media(max-width:720px){.main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.main-nav a{padding:10px 4px;text-align:center;min-width:0;font-size:12px}.subject-hero>div{min-width:0}.subject-hero h1{overflow-wrap:anywhere}}
@media(max-width:360px){.main-nav a{font-size:11px}.subject-hero>.subject-icon{width:48px;height:48px;border-radius:15px}.subject-hero>.subject-icon svg{width:27px;height:27px}.subject-hero h1{font-size:38px}}
.count-badge{max-width:190px;text-align:right;overflow-wrap:anywhere}
