/* Shared finishing details for the existing light course theme. */
:root{--bg:#f8f9fb}
.site-header{padding-inline:max(24px,calc((100vw - 1216px)/2));height:76px}
.brand-title{gap:5px}.brand-icon{border-radius:9px;background:#a51c30}
.brand-icon span{color:#fff}.brand-title small{font-size:9px;letter-spacing:.025em}
.nav-link{border:1px solid transparent;padding:9px 14px}.nav-link.active{background:#fff5f5;border-color:#eed5d9}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0d9488;outline-offset:4px}
.page-heading{margin-bottom:30px}.page-heading h1{letter-spacing:-.04em}.page-heading p{max-width:640px;line-height:1.75}
.catalog-card{box-shadow:0 4px 20px #15223803;transition:border-color .2s,box-shadow .2s}
.catalog-card:hover{border-color:#bfcec9;box-shadow:0 10px 30px #15223807}
.catalog-card h2{line-height:1.4}.catalog-card p{line-height:1.8}
.lesson-group{box-shadow:0 4px 20px #15223803}
.volumetric-footer{margin-top:24px}.footer-about{max-width:330px;line-height:1.85}
@media(max-width:900px){.site-header{height:68px;padding-inline:20px}.sidebar{top:68px}.brand-title strong{font-size:13px}}
@media(max-width:400px){.brand{gap:9px}.brand-title strong{font-size:12px}.brand-title small{font-size:8px}.menu-button{padding:6px 10px}}
@media(max-width:900px){.menu-button{display:grid;place-items:center;min-width:42px;min-height:42px;padding:0;background:#fff;border:1px solid #c8d3df;border-radius:10px;box-shadow:0 5px 15px rgba(15,23,42,.12);font-size:22px;line-height:1}.menu-button:hover,.menu-button:focus-visible{background:#f5f8fb;border-color:#9eafc0;box-shadow:0 7px 18px rgba(15,23,42,.16)}}
@media(max-width:900px){body.menu-open{overflow:hidden}.menu-backdrop{position:fixed;inset:68px 0 0;z-index:45;background:rgba(15,23,42,.24);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.menu-backdrop.visible{opacity:1;visibility:visible}.sidebar{position:fixed;top:80px;left:16px;right:16px;bottom:auto;width:auto;max-height:calc(100vh - 96px);overflow:auto;padding:10px;gap:3px;border:1px solid #c8d8d2;border-radius:16px;background:#fff;box-shadow:0 20px 46px rgba(15,23,42,.2);transform:translateY(-14px) scale(.98);opacity:0;visibility:hidden;pointer-events:none;transition:transform .2s ease,opacity .2s ease,visibility .2s ease;z-index:60}.sidebar.open{transform:translateY(0) scale(1);opacity:1;visibility:visible;pointer-events:auto}.sidebar .nav-link{margin:0;padding:13px 15px;border-radius:10px;font-size:15px}.sidebar .nav-link:hover{background:#f1f7f4}.sidebar .nav-link.active{background:#fff3f4;border-color:#f1ced3}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.catalog-card{transition:none}}
/* Keep footer columns readable independently of the surrounding page. */
.volumetric-footer .footer-grid{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:32px;align-items:start}
.footer-col{min-width:0}.footer-col-title{line-height:1.6;overflow-wrap:normal}.footer-tech-list li{display:flex;gap:10px;align-items:baseline}.footer-tech-list li span{margin:0;flex:none}.footer-nav-list a{display:inline-block;overflow-wrap:anywhere}.footer-bottom-links{flex-wrap:wrap}.footer-bottom-bar>span{line-height:1.7}
@media(max-width:1100px){.volumetric-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(max-width:540px){.volumetric-footer .footer-grid{grid-template-columns:1fr;gap:28px}.footer-container{padding:0 22px}.footer-bottom-links{gap:8px}}
.lesson-note-only{max-width:900px;margin:0 auto;display:grid;gap:24px;min-width:0}.attached-video{min-width:0;padding:24px;overflow:hidden;background:linear-gradient(145deg,#edf8f3,#fff);border-color:#cddfd7}.attached-video .eyebrow{display:block;margin-bottom:15px}.attached-video .video-player{display:block;width:100%;aspect-ratio:16/9;border:1px solid #c7d8d1;border-radius:12px;background:#edf3f0}.lesson-note-card{width:100%;min-width:0;padding:44px;box-shadow:0 12px 35px rgba(15,23,42,.05);background:linear-gradient(145deg,#fff,#fbfdfc)}.lesson-note-card h1{max-width:780px;margin:0 0 28px;padding-bottom:25px;border-bottom:1px solid #d9e8e1;font-size:clamp(30px,4vw,48px);line-height:1.18;letter-spacing:-.045em;color:var(--ink)}.lesson-note-card h1:not(:first-child){margin-top:46px;padding:18px 22px;border:1px solid #cfe1da;border-left:4px solid #0d9488;border-radius:12px;background:#f1faf6;font-size:clamp(24px,3vw,31px)}.lesson-note-card h2{margin:30px 0 14px;padding:14px 18px;border-radius:10px;background:#fff7e8;color:#8c5410;font-size:18px;line-height:1.45}.lesson-note-card p{max-width:760px;margin:16px 0;color:#43534e;font-size:16px;line-height:1.85}.lesson-note-card h1+p{font-size:18px;color:#273a34}.lesson-note-card a{display:inline-block;max-width:100%;padding:6px 10px;border-radius:7px;background:#edf8f3;color:#087c70;font-family:var(--font-mono);font-size:13px;line-height:1.55;overflow-wrap:anywhere;text-decoration:none}.lesson-note-card a:hover{background:#dff2ea}.lesson-note-card h2+p{margin-top:14px}.lesson-note-2 .lesson-note-card:before{content:'НАСТРОЙКА РАБОЧЕГО МЕСТА';display:inline-block;margin-bottom:18px;padding:7px 10px;border-radius:6px;background:#f2f6f4;color:#087c70;font:700 10px var(--font-mono);letter-spacing:.08em}.lesson-note-2 .lesson-note-card h1:first-child{color:#0f766e}.lesson-note-2 .lesson-note-card h1:nth-of-type(2){border-left-color:#b61d35;background:#fff4f4}.lesson-note-2 .lesson-note-card h2{border-left:3px solid #efb94c}.lesson-note-card>*:last-child{margin-bottom:0}
@media(max-width:740px){.attached-video{padding:16px}.lesson-note-card{padding:28px 22px}.lesson-note-card h1{font-size:30px;margin-bottom:23px;padding-bottom:20px}.lesson-note-card h1:not(:first-child){margin-top:32px;padding:15px 16px;font-size:24px}.lesson-note-card h2{font-size:16px}.lesson-note-card p{font-size:15px}.lesson-note-card a{font-size:12px}}
