/* NewsNet — общий шаблон новостного сайта (по согласованному макету). Шрифт и стили отдаются с самого домена. */
@font-face{font-family:'Golos Text';font-style:normal;font-display:optional;font-weight:400 900;src:url(fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-display:optional;font-weight:400 900;src:url(fonts/golos-text-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--accent:#c76532;--ink:#222522;--muted:#82847d;--paper:#fbfaf7;--line:#e5e5de;--soft:#efeee8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Golos Text',Arial,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}a:hover{color:var(--accent)}.wrap{max-width:1280px;margin:auto;padding:0 40px}.utility{border-bottom:1px solid var(--line);font-size:11px;color:#777a73}.utility .wrap{display:flex;justify-content:space-between;align-items:center;height:38px}.utility i{display:inline-block;width:3px;height:3px;background:#999;border-radius:50%;vertical-align:middle;margin:0 10px}.masthead{display:flex;align-items:center;gap:46px;height:126px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand svg{width:64px;height:58px}.brand>span{font-size:28px;line-height:.95;font-weight:900;letter-spacing:-1.5px}.brand>span>span{display:block;font-size:27px;letter-spacing:-1px;margin-top:5px}.brand-dot{color:var(--accent)}.nav-shell{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}nav{display:flex;gap:33px;align-items:center;height:57px}nav a{font-size:13px;font-weight:550;height:100%;display:flex;align-items:center;border-bottom:2px solid transparent}nav a.active{color:var(--accent);border-color:var(--accent)}.live-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:7px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 20px}.section-heading h1,.section-heading h2{font-size:23px;letter-spacing:-.6px;margin:0;font-weight:650}.section-heading .date{color:var(--muted);font-size:12px}.top-grid{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:32px}.home-primary{min-width:0}.hero{display:block;position:relative;aspect-ratio:1.94;overflow:hidden;background:#52655a;color:white}.hero img,.visual-card img,.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.hero:hover img,.visual-card:hover img,.news-card:hover img{transform:scale(1.025)}.hero:after,.visual-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 25%,rgba(0,0,0,.76) 100%)}.hero-text{position:absolute;bottom:30px;left:30px;right:30px;z-index:1}.tag{display:inline-block;text-transform:uppercase;letter-spacing:1.4px;font-size:9px;font-weight:650}.hero .tag{background:var(--accent);padding:7px 10px;margin-bottom:14px}.hero h2{font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-.9px;max-width:620px;margin:0 0 14px}.hero:hover,.visual-card:hover{color:#fff}.hero .meta{color:#e0e3dc}.meta{display:flex;gap:13px;align-items:center;font-size:10px;color:var(--muted);line-height:1.5}.meta .dot{width:3px;height:3px;background:currentColor;border-radius:50%}.small-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.card-image{aspect-ratio:1.52;overflow:hidden;background:var(--soft)}.news-card .tag{color:var(--accent);margin-top:16px;font-size:9px}.news-card h3{font-size:16px;font-weight:550;line-height:1.4;letter-spacing:-.3px;margin:8px 0 12px}.news-card .meta{margin-top:10px}.news-card{min-width:0}.feed{border-left:1px solid var(--line);padding-left:25px}.feed-heading{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--ink);padding:2px 0 17px;font-size:17px;font-weight:650;letter-spacing:-.5px}.feed-heading .live-dot{margin-right:0}.feed-date{font-size:9px;letter-spacing:1.3px;color:#92958c;margin:19px 0 3px}.feed-item{display:block;padding:14px 0;border-bottom:1px solid var(--line)}.feed-item time{display:block;color:var(--accent);font-size:10px;margin-bottom:7px}.feed-item .feed-title{font-size:12px;line-height:1.65;font-weight:500;margin:0}.feed-more{display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid var(--line);padding:12px 14px;margin-top:18px;background:transparent;font-size:11px;font-weight:550}.latest-section{margin-top:42px;padding-top:0;border-top:1px solid var(--ink)}.latest-section .section-heading{margin-top:22px}.section-link{font-size:11px;color:var(--muted)}.latest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.latest-grid .news-card h3{font-size:17px}.latest-grid .card-image{aspect-ratio:1.5}.category-strip{display:flex;gap:10px;margin:0 0 28px;flex-wrap:wrap}.category-strip a{padding:9px 16px;border:1px solid var(--line);font-size:11px}.category-strip a.active{background:var(--ink);border-color:var(--ink);color:#fff}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 24px}.breadcrumbs{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted);margin:29px 0}.article-grid{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:60px}.article-header .tag{color:var(--accent);margin-bottom:17px}.article-header h1{font-size:42px;line-height:1.14;letter-spacing:-1.4px;font-weight:650;margin:0 0 22px;max-width:850px}.article-header .lead{font-size:18px;line-height:1.65;color:#71756c;margin:25px 0}.article-photo{width:100%;aspect-ratio:1.65;object-fit:cover;margin-top:26px}.caption{font-size:10px;color:var(--muted);margin-top:9px}.article-body{max-width:690px;font-size:17px;line-height:1.85}.article-body h2{font-size:25px;line-height:1.4;margin-top:28px;letter-spacing:-.6px}.article-body blockquote{margin:25px 0;border-left:3px solid var(--accent);padding:7px 0 7px 25px;font-size:21px;line-height:1.55}.share-row{display:flex;align-items:center;gap:15px;border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:12px}.share-row button{border:1px solid var(--line);padding:9px 15px;background:transparent}.empty{padding:60px 0;color:var(--muted)}.layout-left .top-grid{grid-template-columns:276px minmax(0,1fr)}.layout-left .feed{grid-column:1;grid-row:1;border-left:0;border-right:1px solid var(--line);padding-left:0;padding-right:25px}.layout-left .home-primary{grid-column:2}.layout-wide .top-grid{grid-template-columns:1fr}.layout-wide .feed{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.layout-wide .feed-list{display:grid;grid-template-columns:repeat(4,1fr);gap:0 22px}.layout-wide .feed-date{display:none}.layout-wide .hero{aspect-ratio:2.55}.layout-wide .feed-more{width:220px}footer{margin-top:65px;border-top:1px solid var(--line);padding-bottom:80px;background:#f3f2ed}.footer-inner{min-height:110px;display:flex;align-items:center;gap:30px}.footer-brand{font-weight:800;letter-spacing:-.6px;font-size:18px}.footer-brand span{color:var(--accent)}.footer-inner p{font-size:11px;color:var(--muted);margin-right:auto}.footer-inner>a:not(.footer-brand){font-size:11px}.footer-bottom{border-top:1px solid var(--line);padding-top:18px;padding-bottom:18px;display:flex;gap:30px;color:var(--muted);font-size:10px}.footer-bottom span:last-child{margin-left:auto}main{min-height:55vh}.info-page{max-width:700px;padding:20px 0 80px;line-height:1.8}.info-page h1{font-size:36px;letter-spacing:-1px}main:focus{outline:0}button:hover{filter:brightness(.94)}
@media(min-width:1450px){.wrap{max-width:1380px}.hero h2{font-size:36px}.top-grid{grid-template-columns:minmax(0,1fr) 300px}.hero{aspect-ratio:2}}
@media(max-width:1000px){.wrap{padding-left:24px;padding-right:24px}.masthead{height:108px}nav{gap:23px}.top-grid{grid-template-columns:minmax(0,1fr) 235px;gap:23px}.hero h2{font-size:26px}.hero-text{bottom:22px;left:22px;right:22px}.hero{aspect-ratio:1.5}.small-grid{gap:12px}.news-card h3{font-size:14px}.feed{padding-left:20px}.latest-grid{gap:17px}.latest-grid .news-card h3{font-size:14px}.article-grid{grid-template-columns:minmax(0,1fr) 235px;gap:30px}.article-header h1{font-size:35px}.layout-left .top-grid{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:720px){.wrap{padding-left:20px;padding-right:20px}.utility .wrap{height:30px;font-size:9px}.masthead{height:98px;gap:10px}.brand svg{width:47px;height:46px}.brand>span{font-size:23px}.brand>span>span{font-size:22px}.nav-shell nav{overflow:auto;gap:25px;height:48px;scrollbar-width:none}nav a{font-size:12px;white-space:nowrap}.section-heading{margin:24px 0 17px}.section-heading h1,.section-heading h2{font-size:21px}.section-heading .date{font-size:10px}.top-grid,.layout-left .top-grid{display:flex;flex-direction:column;gap:30px}.hero,.layout-wide .hero{aspect-ratio:1.1}.hero h2{font-size:28px;letter-spacing:-.6px}.hero-text{left:22px;bottom:23px;right:20px}.hero .tag{margin-bottom:11px}.small-grid{grid-template-columns:1fr;margin-top:22px;gap:18px}.small-grid .news-card{display:grid;grid-template-columns:115px 1fr;column-gap:16px;border-bottom:1px solid var(--line);padding-bottom:18px}.small-grid .card-image{grid-row:1 / 4;aspect-ratio:1.13}.small-grid .tag{margin-top:2px;font-size:8px}.small-grid h3{font-size:14px;line-height:1.45;margin:6px 0}.small-grid .meta{margin-top:0;font-size:9px}.feed,.layout-left .feed{padding:0;border:0;border-top:1px solid var(--ink);padding-top:20px}.feed-list,.layout-wide .feed-list{display:grid;grid-template-columns:1fr 1fr;gap:0 19px}.feed-item .feed-title{font-size:12px}.feed-more{margin-top:17px}.latest-section{margin-top:35px}.latest-grid,.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px}.latest-grid .news-card h3,.category-grid .news-card h3{font-size:14px}.news-card .tag{font-size:8px;margin-top:12px}.news-card .meta{font-size:9px;gap:7px}.article-grid{display:block}.article-grid>.feed{margin-top:40px}.article-header h1{font-size:32px;letter-spacing:-.9px}.article-header .lead{font-size:16px}.article-body{font-size:16px}.article-body blockquote{font-size:19px}.article-photo{aspect-ratio:1.25}.footer-inner{flex-wrap:wrap;gap:18px;padding-top:28px;padding-bottom:26px}.footer-inner p{width:100%;order:3;margin:0}.footer-brand{font-size:16px;margin-right:auto}.footer-bottom{flex-wrap:wrap;gap:12px;font-size:9px}.category-strip{gap:6px}.category-strip a{padding:8px 11px}.breadcrumbs{font-size:10px;line-height:1.6}.layout-wide .feed-more{width:100%}}
/* Entertainment edition */
:root{--accent:#e64065;--ink:#202027;--muted:#86848d;--paper:#fff;--line:#eceaee;--soft:#f6f3f6}.utility{background:#f8f6f8}.masthead{height:116px}.brand{gap:12px}.brand .brand-symbol{font-size:63px;line-height:1;color:var(--accent);font-weight:400;letter-spacing:-4px}.brand>span:not(.brand-symbol){font-size:38px;letter-spacing:-2.4px;line-height:1;font-weight:900}.brand>span>.brand-dot{display:inline;font-size:42px;letter-spacing:-2px;margin:0;color:var(--accent)}.nav-shell{border-top:0;border-bottom:1px solid var(--ink)}nav{justify-content:space-between;gap:22px;height:54px}nav a:last-child{margin-left:auto;color:var(--accent);font-size:11px}.section-heading h1{font-size:30px;font-weight:750;letter-spacing:-1.2px}.section-heading h2{font-size:26px;font-weight:700}.section-heading{margin:28px 0 18px}.hero{aspect-ratio:1.92;background:#3b333e}.hero:after{background:linear-gradient(180deg,#17102200 25%,#171022bb 100%)}.hero h2{font-size:38px;max-width:610px;line-height:1.08;font-weight:750;letter-spacing:-1.1px}.hero .tag{padding:7px 10px}.hero .meta{font-size:9px}.news-card h3{font-size:17px;font-weight:600;line-height:1.3}.small-grid .card-image{aspect-ratio:1.32}.small-grid .news-card .meta{font-size:9px}.feed-item .feed-title{font-size:12px;font-weight:450}.latest-section{margin-top:42px}.latest-grid .news-card h3{font-size:18px;font-weight:600}.latest-grid .card-image{aspect-ratio:1.35}.sport-section{background:#f7f6f9;border-top:3px solid var(--accent);padding:0 24px 27px}.sports-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.sports-grid .card-image{aspect-ratio:1.65}.sports-grid .news-card h3{font-size:20px;line-height:1.3}.section-deck{font-size:12px;color:#83808b;margin:-6px 0 22px}.heading-dot{color:var(--accent)}.article-photo{aspect-ratio:1.4}.caption a{text-decoration:underline;text-underline-offset:3px}.article-header h1{font-size:45px;font-weight:750}.category-grid .card-image{aspect-ratio:1.25}footer{background:#f8f6f8}.footer-brand{font-size:23px;font-weight:900;letter-spacing:-1.1px}.layout-wide .hero{aspect-ratio:2.65}.layout-wide .hero img{object-position:50% 0%!important}
@media(max-width:1000px){.brand>span:not(.brand-symbol){font-size:33px}.hero h2{font-size:31px}nav{gap:18px}nav a{font-size:12px}.sports-grid .news-card h3{font-size:17px}}
@media(max-width:720px){.masthead{height:93px}.brand{gap:10px}.brand .brand-symbol{font-size:46px}.brand>span:not(.brand-symbol){font-size:30px;letter-spacing:-1.8px}.brand>span>.brand-dot{font-size:33px}nav{justify-content:flex-start;gap:24px}nav a:last-child{margin-left:0;font-size:12px}.section-heading h1{font-size:25px;letter-spacing:-.8px}.section-heading h2{font-size:23px}.section-heading .date{font-size:9px}.hero,.layout-wide .hero{aspect-ratio:.97}.hero h2{font-size:34px;line-height:1.08;letter-spacing:-1px}.hero-text{bottom:24px;left:23px}.small-grid .card-image{aspect-ratio:1}.small-grid .news-card h3{font-size:15px}.small-grid .news-card .meta{font-size:9px}.latest-grid .news-card h3{font-size:15px}.sport-section{padding:0 16px 22px}.sports-grid{grid-template-columns:1fr;gap:23px}.sports-grid .news-card{display:grid;grid-template-columns:112px 1fr;column-gap:15px}.sports-grid .card-image{grid-row:1/4;aspect-ratio:1}.sports-grid .news-card h3{font-size:15px;margin:6px 0}.sports-grid .tag{margin-top:0}.sports-grid .meta{margin-top:0}.article-header h1{font-size:35px}.article-photo{aspect-ratio:1.1}.footer-brand{font-size:21px}.section-deck{line-height:1.6}.utility .wrap{justify-content:space-between}.article-body{font-size:16px}}

/* Дополнения для рабочей версии */
.feed-item .feed-title{display:block}.feed-empty{font-size:12px;color:var(--muted);padding:14px 0}
.brand-logo img{display:block;max-height:64px;max-width:280px;width:auto;height:auto}
.no-image{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--soft),#e9e4ea)}
.hero .no-image{background:linear-gradient(135deg,#3b333e,#6b5a6e)}
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:40px 0 0;font-size:12px}.pager a,.pager span{min-width:40px;text-align:center;padding:10px 14px;border:1px solid var(--line)}.pager span[aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}.pager .gap{border-color:transparent}
.article-body img{max-width:100%;height:auto}.article-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.article-body figure{margin:25px 0}.article-body figcaption{font-size:11px;color:var(--muted);margin-top:8px}
.article-body h3{font-size:20px;line-height:1.4;margin-top:24px;letter-spacing:-.4px}.article-body ul,.article-body ol{padding-left:22px}
.video-embed{position:relative;aspect-ratio:16/9;margin:25px 0;background:#000}.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.info-page .feed-more{display:inline-flex;gap:30px;width:auto}
.sports-grid{margin-bottom:0}.collection-section:not(.sport-section){border-top:1px solid var(--ink)}
footer{padding-bottom:20px}
.hero img,.card-image img{object-position:50% 25%}
.card-image{display:block;position:relative}.card-image img{display:block}.hero img{display:block}

/* SEO-гид: читаемость и стабильность вёрстки */
:root{--muted:#5f5c66}
.meta,.news-card .meta,.small-grid .news-card .meta,.hero .meta,.caption,.section-link,.section-deck,.breadcrumbs,.feed-item time,.footer-bottom,.utility,.utility .wrap{font-size:12px}
.tag,.news-card .tag,.small-grid .tag,.hero .tag{font-size:12px;letter-spacing:1px}
.feed-item .feed-title{font-size:14px;line-height:1.5}
.feed-more,.category-strip a,.pager{font-size:13px}
.article-body{max-width:40rem;font-size:18px;line-height:1.6}
.article-body p{margin:0 0 1.1em}
.article-header .lead{line-height:1.6}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.card-image img,.hero img,.article-photo{height:auto}
.card-image img,.hero img{height:100%}
.inline-related{border-left:3px solid var(--accent);padding:6px 0 6px 18px;font-size:16px;line-height:1.5}
.inline-related span{display:block;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.inline-related a{color:var(--ink);text-decoration:none;font-weight:600}
.toc{margin:24px 0;border:1px solid var(--line);padding:14px 18px;max-width:40rem}
.toc summary{cursor:pointer;font-weight:600}
.toc ol{margin:12px 0 0;padding-left:20px;line-height:1.7}
.toc a{text-decoration:underline;text-underline-offset:3px}
.info-links{line-height:1.9}
@media(max-width:720px){.meta,.news-card .meta,.small-grid .news-card .meta,.sports-grid .meta,.utility .wrap,.footer-bottom,.breadcrumbs{font-size:12px}.tag,.news-card .tag,.small-grid .tag{font-size:11px}.article-body{font-size:17px}}

/* 1.2: рамки карточек в пропорциях готовых миниатюр (3:2, 1:1, 2:1) — файл не шире карточки и без растяжения */
.card-image picture,.hero picture{display:block;width:100%;height:100%}
.card-image,.latest-grid .card-image,.sports-grid .card-image,.category-grid .card-image,.small-grid .card-image{aspect-ratio:3/2}
.hero{aspect-ratio:2}.layout-wide .hero{aspect-ratio:2.65}
@media(max-width:720px){.hero,.layout-wide .hero{aspect-ratio:1}.small-grid .news-card,.sports-grid .news-card{grid-template-columns:112px minmax(0,1fr)}.small-grid .card-image,.sports-grid .card-image{aspect-ratio:1;width:112px}}

/* 1.2: страница статьи — слева последние, справа популярные, внизу похожие */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.article-main{min-width:0}
@media(min-width:601px) and (max-width:1199px){.article-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}.article-main{grid-column:1/-1}}
@media(min-width:1200px){.article-layout{grid-template-columns:220px minmax(0,1fr) 220px;grid-template-areas:"latest main popular";gap:40px}.article-main{grid-area:main}.side-latest{grid-area:latest}.side-popular{grid-area:popular}.side-block{position:sticky;top:20px;align-self:start}}
.side-title{font-size:17px;font-weight:650;letter-spacing:-.4px;margin:0;padding-bottom:12px;border-bottom:1px solid var(--ink)}
.compact-list{list-style:none;margin:0;padding:0}
.compact{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}
.compact-thumb{display:block;width:72px;height:72px;overflow:hidden;background:var(--soft)}
.compact-thumb img{display:block;width:72px;height:72px;object-fit:cover}
.compact-thumb .no-image{width:72px;height:72px}
.compact-title{display:block;font-size:14px;line-height:1.4;font-weight:550;overflow-wrap:anywhere}
.compact time{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.article-figure{margin:26px 0 24px}
.article-figure .article-photo{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:initial;margin:0}
.article-figure figcaption{font-size:13px;line-height:1.5;color:var(--muted);margin-top:8px}
.meta-author{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.author-box{display:flex;gap:16px;align-items:flex-start;border:1px solid var(--line);padding:18px;margin:32px 0;max-width:40rem}
.author-box img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.author-box p{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--muted)}
.author-name{font-weight:650;text-decoration:underline;text-underline-offset:3px}
.author-head{display:flex;gap:20px;align-items:center;margin:0 0 28px}
.author-head img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:none}
.author-head h1{margin:0 0 6px}.author-head p{margin:0 0 6px;max-width:40rem;line-height:1.55}
.similar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
@media(max-width:1000px){.similar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(max-width:720px){.similar-grid{grid-template-columns:1fr;gap:18px}.similar-grid .news-card{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:15px}.similar-grid .card-image{grid-row:1/4;aspect-ratio:1;width:112px}.similar-grid .tag{margin-top:0}.similar-grid h3{font-size:15px;margin:6px 0}}
.info-page h1{margin-top:0}

/* 1.2: подвал — служебные страницы и изолированные счётчики */
.footer-links{display:flex;flex-wrap:wrap;gap:8px 20px}.footer-links a{text-decoration:underline;text-underline-offset:3px}
.nn-counters{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;overflow:hidden;contain:layout paint;padding:4px 0 12px}
.nn-counters iframe{display:block;border:0;max-width:100%;overflow:hidden;background:transparent}
/* Общие правила nav (меню) не относятся к хлебным крошкам и ссылкам подвала */
.breadcrumbs,.footer-links,.pager{justify-content:flex-start;height:auto}
.breadcrumbs{gap:9px;flex-wrap:wrap}

/* Rich editor formatting. Tables scroll inside the article; grids stack on phones. */
.article-body{overflow-wrap:anywhere;min-width:0}
.article-body h1{font-size:2em;line-height:1.25}.article-body h4{font-size:1.1em}.article-body h5,.article-body h6{font-size:1em}
.article-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:1.5em 0}
.article-body th,.article-body td{border:1px solid var(--line);padding:.5em .75em;min-width:80px;vertical-align:top}
.article-body th{background:var(--soft);font-weight:650}.article-body td p,.article-body th p{margin:0}
.article-body pre{max-width:100%;overflow-x:auto;white-space:pre;padding:1em;background:var(--soft);border-radius:4px}
.article-body code{font-family:monospace;font-size:.9em;background:var(--soft);padding:.1em .25em}
.article-body pre code{padding:0}.article-body mark{background:#fff09a;color:inherit}
.article-body small{font-size:.8em}.article-body .lead{font-size:1.2em;line-height:1.65}
.article-body hr{border:0;border-top:1px solid var(--line);margin:1.5em 0}
.article-body details{border:1px solid var(--line);padding:.75em 1em;margin:1em 0}
.article-body summary{cursor:pointer;font-weight:600}.article-body details[open]>summary{margin-bottom:.75em}
.article-body .grid-layout{display:grid;gap:1em}.article-body .grid-layout-col{min-width:0}
@media(max-width:1023px){.article-body .grid-layout:not([data-from-breakpoint="default"]):not([data-from-breakpoint="sm"]):not([data-from-breakpoint="md"]){display:block}}
@media(max-width:767px){.article-body .grid-layout[data-from-breakpoint="md"]{display:block}}
@media(max-width:639px){.article-body .grid-layout[data-from-breakpoint="sm"]{display:block}}
@media(max-width:1279px){.article-body .grid-layout[data-from-breakpoint="xl"]{display:block}}
@media(max-width:1535px){.article-body .grid-layout[data-from-breakpoint="2xl"]{display:block}}

.article-body img{height:auto!important}
