/* Только юридические страницы; общие site.css и brand.css не меняются. */
body.legal-page{margin:0;background:#F1EBDD;color:#123C2E;font-family:'Golos Text',sans-serif;line-height:1.7}
.legal-main{padding:24px 20px 32px}.legal-sheet{max-width:900px;margin:auto;padding:30px 42px;background:#fff;border:1px solid #e2dfd4;border-radius:12px}
.legal-sheet *{box-sizing:border-box}.legal-brand{display:flex;align-items:center;gap:20px;border-bottom:1px solid #e2dfd4;padding-bottom:16px}.legal-brand img{width:100px;height:100px;object-fit:contain}.legal-brand p{margin:0}.legal-brand .legal-brand-name{font-family:'Literata',serif;font-size:clamp(22px,3vw,32px);font-weight:700}
.legal-requisites{padding:16px 0;border-bottom:1px solid #e2dfd4}.legal-requisites dl{display:grid;grid-template-columns:minmax(180px,0.9fr) 1.4fr;gap:5px 20px;margin:0;font-size:14px}.legal-requisites dt{color:#544636}.legal-requisites dd{margin:0;overflow-wrap:anywhere}
.legal-sheet h1,.legal-sheet h2,.legal-sheet h3{font-family:'Literata',serif;color:#123C2E;line-height:1.35;max-width:none;text-wrap:pretty}.legal-sheet h1{font-size:clamp(25px,3vw,36px);margin:22px 0 12px;text-align:center}.legal-content h2,.legal-toc h2{font-size:24px;margin:26px 0 12px;padding-bottom:8px;border-bottom:1px solid #e2dfd4;text-align:center;scroll-margin-top:160px}.legal-sheet p,.legal-sheet li{font-size:16px}.legal-content{max-width:78ch;margin:auto;overflow-wrap:anywhere}.legal-content p{margin:0 0 14px}.legal-content ul{padding-left:24px;margin:0 0 14px}.legal-sheet a{color:#246B48;text-decoration:underline;text-underline-offset:3px}.legal-sheet a:focus-visible{outline:2px solid #246B48;outline-offset:3px}
.legal-version{text-align:center;font-size:14px!important}.legal-status{padding:12px 16px;background:#F1EBDD;border-left:3px solid #246B48;font-size:14px!important}.legal-toc{margin:22px 0}.legal-toc ol{columns:2;column-gap:30px;padding-left:24px}.legal-toc li{break-inside:avoid;margin-bottom:5px}.legal-related{border-top:1px solid #e2dfd4;padding-top:16px;margin-top:24px;display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px}
@media(max-width:600px){.legal-main{padding:16px 10px 24px}.legal-sheet{padding:20px 16px;border-radius:8px}.legal-brand{gap:12px;align-items:flex-start}.legal-brand img{width:66px;height:66px}.legal-brand p{font-size:13px}.legal-brand .legal-brand-name{font-size:21px}.legal-requisites dl{grid-template-columns:1fr;gap:2px}.legal-requisites dt{margin-top:7px}.legal-toc ol{columns:1}.legal-content h2{font-size:22px}.legal-sheet h1{font-size:26px}}
@page{size:A4;margin:18mm 16mm 20mm;@bottom-left{content:string(legal-title);font-family:serif;font-size:8pt;color:#000}@bottom-right{content:'выкормыш.рф · ' counter(page);font-family:serif;font-size:8pt;color:#000}}
@media print{body.legal-page{background:#fff!important;color:#000!important;padding:0!important}.capsule-header-holder,.mobile-menu-drawer,body>footer,.cookie-banner,.lux-modal-overlay,.vk-bottombar{display:none!important}.legal-main{padding:0!important}.legal-sheet{max-width:none;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}.legal-sheet,.legal-sheet h1,.legal-sheet h2,.legal-sheet h3,.legal-sheet a,.legal-requisites dt{color:#000!important}.legal-heading{break-inside:avoid}.legal-sheet h1{string-set:legal-title content(text);font-size:20pt}.legal-sheet h2{font-size:14pt;break-after:avoid;page-break-after:avoid;scroll-margin-top:0}.legal-sheet h3{break-after:avoid}.legal-sheet p,.legal-sheet li{font-size:10pt;orphans:3;widows:3}.legal-content{max-width:none}.legal-status{background:#fff;border-color:#000}.legal-toc{break-inside:avoid}.legal-toc ol{columns:1}.legal-brand img{width:24mm;height:24mm}.legal-sheet a[href]:not([href^='#'])::after{content:' (' attr(href) ')';font-size:8pt;overflow-wrap:anywhere}.legal-sheet a[href^='/']::after{content:' (https://выкормыш.рф' attr(href) ')'}.legal-related{display:block}.legal-related a{display:block}.legal-requisites a::after{content:none!important}}
