/* 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}.article-source{max-width:690px;margin:22px 0 0;font-size:13px;color:var(--muted)}.article-source a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}.article-source a:hover{color:var(--accent)}.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}
/* Рекламные места: контейнер не шире колонки; место без кода для этого устройства не выводится и не занимает места. */
.nn-ad{display:block;max-width:100%;margin:28px auto;overflow:hidden;text-align:center;min-height:var(--nn-ad-hd,0px)}.nn-ad iframe,.nn-ad img,.nn-ad video,.nn-ad>div{max-width:100%}.article-body .nn-ad{margin:26px auto}.nn-ad-side{margin:24px 0 0}.side-col{min-width:0}.side-col .side-block{position:static}
@media(min-width:1200px){.side-col-left{grid-area:latest}.side-col-right{grid-area:popular}.side-col{position:sticky;top:20px;align-self:start}}
@media(min-width:721px){.nn-ad:not(.nn-ad-d){display:none}}
@media(max-width:720px){.nn-ad{min-height:var(--nn-ad-hm,0px)}.nn-ad:not(.nn-ad-m){display:none}}
@media(max-width:1199px){.nn-ad-side{display:none}}

/* Справочник: раскрывающееся меню и таблицы транспорта. */
.nav-shell{position:relative;z-index:25}.nav-shell nav{overflow:visible}.reference-nav{position:relative;flex-shrink:0;font-size:12px}.reference-nav>summary{cursor:pointer;list-style:none;font-weight:600;padding:17px 0}.reference-nav>summary::-webkit-details-marker{display:none}.reference-nav>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.reference-menu{position:absolute;top:100%;left:0;width:300px;max-width:calc(100vw - 40px);padding:8px;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 25px #0002;z-index:50;max-height:65vh;overflow:auto}.nav-shell .reference-menu a{display:block;white-space:normal;margin:0;padding:10px 12px;font-size:13px;color:var(--ink);line-height:1.4}.reference-menu a:hover,.reference-menu a[aria-current=page]{background:var(--soft);color:var(--accent)}.info-page{min-width:0}.reference-note,.reference-sources{font-size:13px;color:var(--muted);line-height:1.7}.reference-warning{padding:14px 16px;background:#fff5df;border-left:3px solid #d99516;font-size:14px;line-height:1.6}.reference-table{width:100%;overflow-x:auto;margin:12px 0 24px}.reference-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}.reference-table td,.reference-table th{padding:10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.reference-table th{background:var(--soft)}.transport-route{border-bottom:1px solid var(--line);margin:10px 0}.transport-route>summary{padding:14px 0;cursor:pointer;font-weight:600;line-height:1.5}.reference-sources{margin-top:36px;border-top:1px solid var(--line);padding-top:15px}.reference-sources h2{font-size:17px}.transport-schedule h2{font-size:25px}.transport-schedule h3{margin-top:28px}.transport-schedule h4{margin:20px 0 6px}.reference-index li{margin:14px 0}
@media(max-width:720px){.nav-shell nav{height:auto;min-height:48px;flex-wrap:wrap;gap:0 22px;padding-top:7px;padding-bottom:7px}.nav-shell nav>a{padding:10px 0}.reference-nav>summary{padding:10px 0}.reference-menu{left:0;right:auto}.reference-table td,.reference-table th{padding:8px;font-size:12px}.transport-schedule h2{font-size:22px}}

/* Главная: независимые рубрики по одной или две карточки, без повторов. */
.small-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.small-grid-1{grid-template-columns:1fr}
.home-collections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 26px;margin-top:40px}
.home-collections .collection-section{min-width:0;border-top:2px solid var(--ink);padding-top:16px;grid-column:span 4}
.home-collections .collection-size-1{grid-column:span 1}.home-collections .collection-size-2{grid-column:span 2}
.collection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}.collection-heading h2{font-size:24px;line-height:1.2;margin:0;letter-spacing:-.6px}.collection-heading>a{color:var(--accent);font-size:20px;flex-shrink:0}
.collection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.collection-size-1 .collection-cards{grid-template-columns:1fr}.collection-size-2 .collection-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-size-4 .collection-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.collection-cards .card-image{aspect-ratio:3/2}.collection-cards .news-card h3{font-size:17px;line-height:1.4;margin:12px 0}.collection-cards .news-card>.tag{display:none}.collection-cards .meta{flex-wrap:wrap;gap:8px}.collection-accent .collection-heading h2{color:var(--accent)}.home-collections .collection-accent{border-color:var(--accent)}
@media(max-width:1000px){.home-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}.home-collections .collection-section{grid-column:span 2}.home-collections .collection-size-1{grid-column:span 1}.collection-heading h2{font-size:22px}}
@media(max-width:720px){.home-collections{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:30px}.home-collections .collection-section{grid-column:span 1}.collection-cards,.collection-size-2 .collection-cards,.collection-size-4 .collection-cards{grid-template-columns:1fr;gap:18px}.collection-cards .news-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:0 16px}.collection-cards .card-image{grid-row:1/4;aspect-ratio:1;width:112px}.collection-cards .news-card h3{font-size:16px;margin:0 0 10px}.collection-heading{margin-bottom:16px}.collection-cards .meta{margin-top:0}.small-grid-2{grid-template-columns:1fr}.category-nav .reference-menu{left:auto;right:0}}

.top-grid .feed-item{padding-top:11px;padding-bottom:11px}.top-grid .feed-title{font-size:13px;line-height:1.45}
@media(max-width:720px){.hero,.layout-wide .hero{aspect-ratio:auto;background:var(--paper);color:var(--ink);overflow:visible}.hero:hover{color:var(--ink)}.hero:after{display:none}.hero>picture{aspect-ratio:1;height:auto;overflow:hidden}.hero>picture img{aspect-ratio:1;height:100%}.hero>img,.hero>.no-image{aspect-ratio:1;height:auto}.hero-text{position:static;padding:16px 0 0}.hero h2{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin-bottom:12px}.hero .meta{color:var(--muted)}.hero .tag{color:#fff}.top-grid .feed-title{font-size:14px}}

/* Полезные ссылки находятся в одной верхней строке. */
.utility{position:relative;z-index:40}.utility .utility-links{height:40px;justify-content:flex-end;gap:24px;font-size:12px}.utility .reference-nav>summary{padding:10px 0;font-size:12px}.utility .reference-menu{left:auto;right:0;text-align:left}.utility .reference-menu a{display:block;white-space:normal;padding:10px 12px;font-size:13px;line-height:1.4;color:var(--ink)}.utility a:hover{color:var(--accent)}
.feedback-page{max-width:720px;margin:28px 0 60px}.feedback-page h1{font-size:36px;line-height:1.2}.feedback-page>p{font-size:16px;line-height:1.6}.feedback-form{display:grid;gap:20px;margin-top:26px}.feedback-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.feedback-form label{display:grid;gap:8px;font-size:14px;font-weight:600;min-width:0}.feedback-form input:not([type=checkbox]):not([type=hidden]),.feedback-form textarea{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:4px;padding:12px;font:inherit;background:var(--paper);color:var(--ink)}.feedback-form textarea{resize:vertical}.feedback-form input:focus,.feedback-form textarea:focus{outline:2px solid var(--accent);outline-offset:2px}.feedback-form .feedback-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.6}.feedback-consent input{margin-top:5px;flex-shrink:0}.feedback-form button{justify-self:start;border:0;border-radius:4px;padding:13px 22px;color:#fff;background:var(--accent);font:inherit;cursor:pointer}.feedback-success,.feedback-error{padding:14px 16px;margin:18px 0;border-left:3px solid;line-height:1.6}.feedback-success{background:#edf8ef;color:#256236}.feedback-error{background:#fff0eb;color:#8a3829}.feedback-honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.feedback-captcha{width:100%;max-width:100%;min-width:0}.feedback-captcha .smart-captcha{min-height:100px}.feedback-captcha iframe{max-width:100%}
@media(max-width:720px){.utility .utility-links{font-size:12px;gap:22px}.feedback-page h1{font-size:28px}.feedback-row{grid-template-columns:1fr}.feedback-form button{width:100%}.feedback-captcha{overflow-x:auto}.utility .reference-menu{width:280px;max-width:calc(100vw - 40px)}}

/* Shared header: utility navigation left, local clock right, heading beside the logo. */
.utility .utility-links{height:auto;min-height:40px;justify-content:space-between;flex-wrap:wrap;gap:0 24px}.utility-nav{display:flex;align-items:center;gap:24px;min-width:0}.utility-clock{margin-left:auto;white-space:nowrap;font-size:12px;color:var(--muted);padding:10px 0}.masthead{height:auto;min-height:116px;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:32px;padding-top:22px;padding-bottom:22px}.site-heading{margin:0;max-width:900px;font-size:clamp(23px,2.2vw,31px);line-height:1.2;letter-spacing:-.8px;font-weight:750;overflow-wrap:anywhere}.nav-shell nav{justify-content:flex-start}.nav-shell nav .nav-all{margin-left:0;color:var(--ink);font-size:13px}.nav-shell nav .nav-all[aria-current=page]{color:var(--accent)}#main>.top-grid:first-child{margin-top:26px}
@media(max-width:720px){.utility .utility-links{gap:0 16px}.utility-nav{gap:18px}.utility-clock{font-size:11px;padding:7px 0}.masthead{min-height:100px;grid-template-columns:minmax(0,130px) minmax(0,1fr);gap:18px;padding-top:18px;padding-bottom:18px}.masthead .brand{max-width:130px;min-width:0;gap:7px}.masthead .brand-logo img{max-width:130px;max-height:64px}.masthead .brand .brand-symbol{font-size:30px}.masthead .brand>span:not(.brand-symbol){font-size:22px;letter-spacing:-1px}.masthead .brand>span>.brand-dot{font-size:24px}.site-heading{font-size:19px;line-height:1.25;letter-spacing:-.4px}.nav-shell nav .nav-all{font-size:12px}#main>.top-grid:first-child{margin-top:20px}}
@media(max-width:380px){.masthead{grid-template-columns:minmax(0,105px) minmax(0,1fr);gap:14px}.masthead .brand-logo img{max-width:105px}.masthead .brand .brand-symbol{font-size:23px}.masthead .brand>span:not(.brand-symbol){font-size:18px}.site-heading{font-size:18px}}

/* Breadcrumb links stay together when the article title is omitted. */
nav.breadcrumbs a:last-child{margin-left:0;color:inherit;font-size:inherit}

/* chechnyainfo: imported long headlines */
.news-card h2,.news-card h2 a,.news-card h3,.news-card h3 a,.article-header h1{overflow-wrap:anywhere}

/* chechnyainfo reference directory 20261027 start */
.info-page{max-width:1100px;margin-inline:auto}
.info-page>h1{max-width:880px;font-size:clamp(28px,3.6vw,44px);line-height:1.15;letter-spacing:-.025em;margin-bottom:24px;overflow-wrap:anywhere}
.info-page .article-body{max-width:none;width:100%;font-size:16px;line-height:1.7}
.info-page .article-body>.lead{max-width:900px;color:var(--muted);font-size:19px;line-height:1.65}
.info-page .article-body>h2{font-size:26px;margin:38px 0 12px;letter-spacing:-.02em}
.info-page .article-body blockquote{margin:24px 0;padding:18px 22px;border:1px solid #ead8b0;border-left:4px solid #c39038;border-radius:12px;background:#fffbf1;color:#594a2b;font-size:14px}
.info-page .article-body blockquote p{margin:0}
.info-page .article-body>.grid-layout[data-cols="4"]{gap:12px;margin:28px 0}
.info-page .article-body>.grid-layout[data-cols="4"]>.grid-layout-col{border:1px solid var(--line);border-radius:12px;padding:16px 18px;background:var(--paper)}
.info-page .article-body>.grid-layout[data-cols="4"] p{font-size:13px;line-height:1.5;margin:0}
.info-page .article-body>.grid-layout[data-cols="4"] strong{font-size:32px;font-weight:750;line-height:1.35;color:var(--accent)}
.info-page .article-body details{border:1px solid var(--line);border-radius:12px;margin:0;background:var(--paper);padding:0;min-width:0}
.info-page .article-body>details{margin:14px 0;box-shadow:0 3px 12px #00000004}
.info-page .article-body summary{cursor:pointer;padding:16px 18px;line-height:1.5;overflow-wrap:anywhere}
.info-page .article-body>details>summary{font-size:19px;background:var(--soft);border-radius:12px}
.info-page .article-body summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.info-page .article-body details[open]>summary{border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}
.info-page .article-body>details>.grid-layout{padding:0 18px 18px;gap:12px;align-items:start}
.info-page .article-body>details>p{padding:0 18px;margin:16px 0}
.info-page .article-body .grid-layout-col>details>summary{font-size:15px;font-weight:650;padding:14px}
.info-page .article-body summary small{display:inline-block;margin-top:6px;padding:3px 7px;background:#fff1df;color:#79501f;border-radius:5px;font-size:12px;font-weight:500}
.info-page .article-body .grid-layout-col>details>p{padding:0 14px;font-size:13px;color:#79501f}
.info-page .article-body table{display:table;width:100%;max-width:100%;table-layout:fixed;margin:0;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.55}
.info-page .article-body table th,.info-page .article-body table td{min-width:0;padding:10px 12px;border:0;border-bottom:1px solid var(--line);text-align:left;overflow-wrap:anywhere}
.info-page .article-body table th{width:42%;font-weight:500;color:var(--muted);background:var(--soft)}
.info-page .article-body table tr:last-child th,.info-page .article-body table tr:last-child td{border-bottom:0}
.info-page .article-body table tr:last-child th{border-bottom-left-radius:12px}
.info-page .article-body table tr:last-child td{border-bottom-right-radius:12px}
.info-page .article-body>.grid-layout[data-cols="2"]>.grid-layout-col{border:1px solid var(--line);border-radius:12px;padding:18px}
.info-page .article-body>.grid-layout[data-cols="2"] h3{font-size:18px;margin:0 0 12px}
.info-page .article-body>.grid-layout[data-cols="2"] p{margin:0;font-size:14px}
.info-page .reference-sources{padding:20px 0;margin-top:32px;font-size:12px;overflow-wrap:anywhere}
.info-page .reference-sources ul{padding-left:18px}
.info-page .reference-sources li{margin:8px 0}
@media(max-width:1023px){
 .info-page .article-body>.grid-layout[data-cols="4"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
 .info-page .article-body{font-size:15px}
 .info-page .article-body>.lead{font-size:17px}
 .info-page .article-body>.grid-layout[data-cols="4"]>.grid-layout-col{padding:13px}
 .info-page .article-body>.grid-layout[data-cols="4"] strong{font-size:28px}
 .info-page .article-body blockquote{padding:14px;font-size:13px}
 .info-page .article-body>details>summary{font-size:17px;padding:14px}
 .info-page .article-body>details>.grid-layout{padding:0 10px 10px}
 .info-page .article-body>details>.grid-layout>.grid-layout-col+ .grid-layout-col{margin-top:10px}
 .info-page .article-body>.grid-layout[data-cols="2"]>.grid-layout-col+ .grid-layout-col{margin-top:12px}
 .info-page .article-body table th,.info-page .article-body table td{padding:9px 10px;font-size:12px}
}
/* chechnyainfo reference directory 20261027 end */
