/* Общие блоки сайта. Bootstrap остаётся основным набором компонентов. */
:root { --site_ink: #17243b; --site_muted: #526174; --site_accent: #2458c7; }
.site_body { background: #f8fafc; color: var(--site_ink); min-height: 100vh; display: flex; flex-direction: column; }
.site_header, .site_footer { background: #fff; }
.site_main { padding-top: 2.5rem; padding-bottom: 4rem; flex: 1; }
.site_brand { color: var(--site_ink); font-size: 1.4rem; font-weight: 800; letter-spacing: -.035em; white-space: normal; }
.site_header .nav-link { color: #364358; }
.site_footer a { color: #364358; text-decoration: none; }
.site_footer a:hover, .site_header .nav-link:hover { color: var(--site_accent); }
.skip_link { display: block; background: white; padding: .7rem 1rem; }
.hero_block { padding: clamp(1.5rem, 4vw, 4rem); background: #eaf0fc; border-radius: 1.4rem; }
.hero_eyebrow { color: #345895; font-size: .85rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.hero_title { max-width: 900px; margin: .8rem 0 1rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 750; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero_lead { max-width: 800px; color: #3e506b; font-size: 1.15rem; line-height: 1.7; }
.section_label { font-size: 1.4rem; font-weight: 700; }
.post_card { border-radius: 1rem; overflow: hidden; }
.post_card_title { color: var(--site_ink); font-weight: 700; line-height: 1.35; font-size: 1.25rem; text-decoration: none; overflow-wrap: anywhere; }
.post_card_title:hover { color: var(--site_accent); }
.post_cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e7edf6; }
.post_card_description { color: var(--site_muted); font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.category_text { max-width: 850px; line-height: 1.8; overflow-wrap: anywhere; }
.article_block { max-width: 850px; }
.article_title { font-weight: 750; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1.12; overflow-wrap: anywhere; }
.article_meta { color: var(--site_muted); font-size: .9rem; }
.article_lead { font-size: 1.2rem; line-height: 1.8; color: #44536b; }
.article_cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article_body { font-size: 1.08rem; line-height: 1.85; overflow-wrap: anywhere; }
.article_body h2, .article_body h3, .article_body h4 { margin: 2rem 0 1rem; font-weight: 700; line-height: 1.3; }
.article_body img { max-width: 100%; height: auto; border-radius: .5rem; }
.article_body pre { padding: 1.2rem; background: #eaf0f8; border-radius: .7rem; overflow: auto; }
.article_body blockquote { border-left: 4px solid #94afe5; padding: .5rem 1.3rem; color: #44536b; }
.article_body table { display: block; overflow-x: auto; max-width: 100%; margin: 1rem 0; }
.article_body td, .article_body th { border: 1px solid #ccd5e2; padding: .5rem .8rem; }
.static_page { max-width: 850px; line-height: 1.8; }
.static_page h1 { margin-bottom: 1.5rem; font-weight: 750; }
.static_page h2 { font-size: 1.5rem; margin-top: 2rem; }
.cookie_notice { background: white; border-top: 1px solid #ccd5e2; position: sticky; bottom: 0; z-index: 1030; font-size: .9rem; }
.cookie_notice[hidden] { display: none !important; }
.admin_body { background: #f3f6fa; }
.admin_main { padding-bottom: 4rem; }
.editor_text { min-height: 30rem; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; line-height: 1.65; }
.upload_preview { width: 100%; height: 220px; object-fit: contain; background: #edf1f7; border-radius: .5rem; }
@media (max-width: 575px) { .site_main { padding-top: 1.5rem; } .hero_block { border-radius: 1rem; } .article_body { font-size: 1rem; } }
