/* Reader-first visual correction, v3.2.0. Loaded after every managed surface. */
body.sblp-layout-active .sblp-layout__shell,
body.sblp-layout-active .sblp-archive-shell,
body.sblp-layout-active .sblp-home-shell,
body.sblp-layout-active .sblp-category-shell{width:min(100% - clamp(24px,5vw,88px),1480px);max-width:1480px;margin-inline:auto}
body.sblp-layout-active .sblp-layout-hero{gap:clamp(14px,2vw,24px);padding:clamp(28px,4.5vw,68px);border-radius:clamp(24px,3vw,38px)}
body.sblp-layout-active .sblp-layout-hero .sblp-post-title,
body.sblp-layout-active .sblp-post-title{width:100%!important;max-width:none!important;margin:0!important;font-size:clamp(2rem,3vw,3.25rem)!important;line-height:1.07!important;letter-spacing:-.035em!important;text-wrap:pretty;overflow-wrap:anywhere}
body.sblp-layout-active .sblp-post-lead{max-width:1050px!important;margin:0!important;font-size:clamp(1rem,1.25vw,1.22rem)!important;line-height:1.58!important}
body.sblp-layout-active .sblp-prose{width:100%;max-width:920px;font-size:clamp(1rem,1.05vw,1.12rem);line-height:1.72}
body.sblp-layout-active .sblp-prose h2{max-width:none;margin:2.1em 0 .7em;font-size:clamp(1.55rem,2.2vw,2.25rem);line-height:1.16;letter-spacing:-.025em;text-wrap:pretty}
body.sblp-layout-active .sblp-prose h3{max-width:none;margin:1.8em 0 .6em;font-size:clamp(1.3rem,1.6vw,1.7rem);line-height:1.24;letter-spacing:-.015em}
body.sblp-layout-active .sblp-prose p,
body.sblp-layout-active .sblp-prose ul,
body.sblp-layout-active .sblp-prose ol{margin-block:0 1.15em}
body.sblp-layout-active :where(.sblp-type-pill,.sblp-breaking-badge,.sblp-category-list a,.sblp-news-topics a){min-height:30px;padding:5px 10px;border-radius:999px;font-size:.75rem;line-height:1.15}
body.sblp-layout-active :where(.sblp-featured-media,.sblp-post-card,.sblp-archive-card,.sblp-home-card,.sblp-topic-card){border-radius:clamp(20px,2vw,30px)}

/* Archive/home typography: broad lines and moderate hierarchy instead of display-size headlines. */
body.sblp-layout-active :where(.sblp-archive-hero,.sblp-home-hero,.sblp-category-hero,.sblp-topic-hero) :where(h1,.sblp-archive-title,.sblp-home-title,.sblp-category-title,.sblp-topic-title){width:100%!important;max-width:none!important;font-size:clamp(2.1rem,3.15vw,3.35rem)!important;line-height:1.06!important;letter-spacing:-.04em!important;text-wrap:pretty;overflow-wrap:anywhere}
body.sblp-layout-active :where(.sblp-archive-section,.sblp-home-section,.sblp-category-section,.sblp-editorial-block) :where(h2,.sblp-section-title){max-width:none!important;font-size:clamp(1.65rem,2.55vw,2.65rem)!important;line-height:1.12!important;letter-spacing:-.03em!important;text-wrap:pretty}
body.sblp-layout-active :where(.sblp-archive-card,.sblp-home-card,.sblp-post-card,.sblp-topic-card) :where(h2,h3,.sblp-card-title){max-width:none!important;font-size:clamp(1.05rem,1.25vw,1.32rem)!important;line-height:1.3!important;letter-spacing:-.012em!important;text-wrap:pretty}
body.sblp-layout-active :where(.sblp-archive-hero,.sblp-home-hero,.sblp-category-hero,.sblp-topic-hero){border-radius:clamp(26px,3vw,40px)!important}
body.sblp-layout-active :where(.sblp-archive-card,.sblp-home-card,.sblp-post-card,.sblp-topic-card){overflow:hidden;border-radius:28px!important}
body.sblp-layout-active :where(.sblp-archive-card,.sblp-home-card,.sblp-post-card,.sblp-topic-card) :where(.sblp-card-body,.sblp-card__body,.sblp-archive-card__body,.sblp-home-card__body){padding:clamp(18px,2vw,28px)!important}

/* News opens with the story; editorial/technical data follows the article in one quiet strip. */
body.sblp-layout-active .sblp-layout__shell--news{max-width:1480px}
body.sblp-layout-active .sblp-news-hero{padding:clamp(28px,4vw,64px)!important}
body.sblp-layout-active .sblp-news-hero .sblp-post-title{max-width:none!important;font-size:clamp(2rem,3vw,3.25rem)!important}
body.sblp-layout-active .sblp-news-body{width:min(100%,980px);max-width:980px;margin-inline:auto}
body.sblp-layout-active .sblp-news-body>.sblp-news-known{margin:clamp(24px,4vw,46px) 0 0}
body.sblp-layout-active .sblp-news-technical{display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center;margin-top:clamp(24px,4vw,46px);padding-top:16px;border-top:1px solid var(--sblp-border,rgba(90,101,115,.24));font-size:.72rem;line-height:1.35}
body.sblp-layout-active .sblp-news-technical .sblp-post-meta--news{display:flex!important;flex:0 1 auto;flex-wrap:wrap;gap:7px!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:inherit!important}
body.sblp-layout-active .sblp-news-technical .sblp-post-meta--news>*{display:inline-flex!important;gap:4px;align-items:center;min-height:28px;padding:4px 9px!important;border:1px solid var(--sblp-border,rgba(90,101,115,.22))!important;border-radius:999px!important;background:var(--sblp-surface-subtle,var(--sblp-surface,#fff))!important;color:var(--sblp-text-muted,var(--sblp-text,#303944))!important;box-shadow:none!important}
body.sblp-layout-active .sblp-news-technical .sblp-post-meta__label{display:inline!important;margin:0!important;color:inherit!important;font-size:.66rem!important;letter-spacing:.02em!important;text-transform:none!important}
body.sblp-layout-active .sblp-news-technical .sblp-post-meta__separator{display:none!important}
body.sblp-layout-active .sblp-news-facts{flex:1 1 360px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.sblp-layout-active .sblp-news-facts__list{display:flex!important;flex-wrap:wrap;gap:7px!important;margin:0!important}
body.sblp-layout-active .sblp-news-facts__item{display:inline-flex!important;gap:4px!important;align-items:center;min-height:28px;width:auto!important;margin:0!important;padding:4px 9px!important;border:1px solid var(--sblp-border,rgba(90,101,115,.22))!important;border-radius:999px!important;background:var(--sblp-surface-subtle,var(--sblp-surface,#fff))!important;color:var(--sblp-text-muted,var(--sblp-text,#303944))!important;box-shadow:none!important}
body.sblp-layout-active .sblp-news-facts__item dt,
body.sblp-layout-active .sblp-news-facts__item dd{display:inline!important;margin:0!important;color:inherit!important;font-size:inherit!important;line-height:1.3!important}
body.sblp-layout-active .sblp-news-facts__item dt{font-size:.66rem!important;font-weight:650!important;letter-spacing:.01em!important;text-transform:none!important}
body.sblp-layout-active .sblp-news-facts__item a{color:var(--sblp-link,var(--sblp-accent,#155fd4))!important;text-decoration-thickness:1px;text-underline-offset:2px}

/* Netology-inspired controls: pill actions and calm, soft surfaces. */
body.sblp-layout-active :where(.sblp-button,.sblp-cta-button,.sblp-archive-button,.sblp-home-button){min-height:44px;padding:10px 18px;border-radius:999px!important;font-size:.88rem;font-weight:680}
body.sblp-layout-active :where(.sblp-pagination a,.sblp-pagination span){border-radius:12px!important}

@media(max-width:782px){body.sblp-layout-active .sblp-layout__shell,body.sblp-layout-active .sblp-archive-shell,body.sblp-layout-active .sblp-home-shell,body.sblp-layout-active .sblp-category-shell{width:min(100% - 20px,1480px)}body.sblp-layout-active .sblp-layout-hero{padding:24px 20px;border-radius:24px}body.sblp-layout-active .sblp-layout-hero .sblp-post-title,body.sblp-layout-active .sblp-post-title,body.sblp-layout-active .sblp-news-hero .sblp-post-title{font-size:clamp(1.75rem,8.6vw,2.45rem)!important;line-height:1.1!important}body.sblp-layout-active :where(.sblp-archive-hero,.sblp-home-hero,.sblp-category-hero,.sblp-topic-hero) :where(h1,.sblp-archive-title,.sblp-home-title,.sblp-category-title,.sblp-topic-title){font-size:clamp(1.9rem,9vw,2.65rem)!important}body.sblp-layout-active .sblp-news-technical{align-items:flex-start;flex-direction:column}body.sblp-layout-active .sblp-news-facts{flex-basis:auto}body.sblp-layout-active .sblp-news-facts__list,body.sblp-layout-active .sblp-news-technical .sblp-post-meta--news{gap:6px!important}}
