/* ===== Новостной сайт: тема по макету (светлая, тёмно-синие шапка и меню) ===== */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-var.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --bg: #f2f4f7;
  --paper: #ffffff;
  --ink: #141b26;
  --ink-2: #3d4757;
  --muted: #6b7484;
  --line: #e3e7ee;
  --navy: #1c2738;
  --navy-2: #243247;
  --blue: #1f5fc4;
  --blue-soft: #e8eef8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 27, 38, .06), 0 6px 18px rgba(20, 27, 38, .05);
  --head: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.ico { flex-shrink: 0; }

/* ---- Верхняя полоса ---- */
.topbar { background: var(--navy); color: #c9d1de; font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 16px; }
.today { font-weight: 500; color: #dfe5ee; }
.clock { margin-left: 18px; color: #8f9bb0; font-variant-numeric: tabular-nums; }
.toplinks { display: flex; align-items: center; gap: 22px; }
.toplinks a { color: #e8edf5; font-weight: 500; }
.toplinks a:hover { color: #fff; opacity: .8; }
.toplinks .soc { display: inline-flex; }
.toplinks .sep { width: 1px; height: 18px; background: #4a5870; }

/* ---- Шапка ---- */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-in { display: flex; align-items: center; gap: 28px; min-height: 116px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 64px; height: auto; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.02; letter-spacing: -.01em; max-width: 9.5em; }
.brand.small img { width: 44px; }
.brand.small .brand-name { font-size: 20px; }
.tagline { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); max-width: 15em; padding-left: 24px; border-left: 1px solid var(--line); }
.wx { display: flex; align-items: center; gap: 12px; margin-left: auto; color: var(--blue); padding-right: 26px; border-right: 1px solid var(--line); }
.wx b { display: block; font-family: var(--head); font-size: 26px; line-height: 1.1; color: var(--ink); font-weight: 700; }
.wx small { display: block; white-space: nowrap; color: var(--muted); font-size: 13.5px; }
.city { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.city .ico { color: var(--ink); }
.search { display: flex; align-items: center; background: var(--bg); border-radius: 999px; padding: 4px 6px 4px 20px; min-width: 300px; }
.mast-in .search { margin-left: 8px; }
.mast-in .city { margin-left: auto; }
.mast-in .wx ~ .city { margin-left: 0; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); padding: 10px 0; min-width: 0; }
.search input:focus { outline: none; }
.search button { border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 8px 10px; display: inline-flex; }
.search button .ico { width: 24px; height: 24px; }
.search:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.search.big { max-width: 560px; margin-top: 16px; background: var(--paper); border: 1px solid var(--line); }
.search.big button { background: var(--blue); color: #fff; border-radius: 999px; padding: 9px 22px; font-weight: 600; }

/* ---- Главное меню ---- */
.mainnav { background: var(--navy-2); position: sticky; top: 0; z-index: 20; }
.nav-in { display: flex; align-items: stretch; min-height: 58px; }
.mainnav .home { display: inline-flex; align-items: center; justify-content: center; width: 64px; background: var(--blue); color: #fff; }
.mainnav .home .ico { width: 26px; height: 26px; }
.mainnav .home:hover { color: #fff; filter: brightness(1.1); }
.nav-cats { display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; padding-left: 10px; }
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cats a { display: inline-flex; align-items: center; padding: 0 15px; white-space: nowrap; color: #f2f5fa; font-family: var(--head); font-weight: 600; font-size: 15.5px; border-bottom: 3px solid transparent; }
.nav-cats a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cats a.on { border-bottom-color: #5d9bff; color: #fff; }
.more { position: relative; display: flex; }
.more summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 0 4px 0 18px; color: #f2f5fa; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 15.5px; }
.more summary::-webkit-details-marker { display: none; }
.more summary .ico:last-child { width: 16px; }
.more-menu { position: absolute; right: 0; top: 100%; background: var(--paper); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); padding: 8px; min-width: 220px; display: flex; flex-direction: column; z-index: 30; }
.more-menu a { padding: 10px 14px; border-radius: 8px; font-weight: 500; }
.more-menu a:hover { background: var(--bg); color: var(--ink); }

/* ---- Сетка страницы ---- */
main.wrap { padding-top: 26px; padding-bottom: 60px; min-height: 60vh; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.main-col { min-width: 0; }
.section { margin-top: 36px; }
.section-title { font-family: var(--head); font-size: 22px; font-weight: 700; margin: 0 0 16px; padding-left: 14px; border-left: 4px solid var(--blue); line-height: 1.2; }

/* ---- Плашки рубрик ---- */
.badge { display: inline-block; font-family: var(--head); font-size: 13px; font-weight: 600; color: #fff; background: var(--blue); padding: 4px 11px; border-radius: 7px; line-height: 1.4; }
.b-main, .b-ekonomika { background: #1f5fc4; }
.b-politika { background: #4b3aa8; }
.b-obschestvo { background: #2e7d3a; }
.b-proisshestviya { background: #b3261e; }
.b-zhkh { background: #c26a00; }
.b-transport { background: #00798c; }
.b-priroda { background: #3f7d20; }
.b-kultura-sport { background: #a3247a; }

.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.meta .ico { width: 17px; height: 17px; }
.views { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.meta .views { margin-left: 16px; }
.views .ico { width: 18px; height: 18px; }

/* ---- Слайдер ---- */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.slides { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; aspect-ratio: 16 / 8.6; min-height: 340px; }
.slide a, .slide a:hover { color: #fff; display: block; height: 100%; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 36, .88) 0%, rgba(14, 22, 36, .55) 45%, rgba(14, 22, 36, .05) 80%), linear-gradient(0deg, rgba(14, 22, 36, .6), transparent 45%); }
.slide-body { position: absolute; left: 0; bottom: 0; top: 0; z-index: 1; padding: 32px 40px 28px; max-width: 680px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }
.slide-body .badge { align-self: flex-start; font-size: 15px; padding: 5px 12px; }
.slide h1 { font-family: var(--head); font-size: clamp(24px, 2.7vw, 38px); line-height: 1.14; font-weight: 700; margin: 20px 0 12px; letter-spacing: -.01em; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.slide p { font-size: 17px; line-height: 1.45; margin: 0; color: #e9eef6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .meta { color: #e1e7f0; font-size: 15px; margin-top: auto; padding-top: 16px; }
.slide .meta .views { color: #e1e7f0; font-size: 15px; }
.dots { position: absolute; right: 26px; bottom: 22px; display: flex; gap: 10px; z-index: 2; }
.dots a { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .2s; }
.dots a.on { width: 26px; border-radius: 6px; background: #4f8cf0; }

/* ---- Карточки ---- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--blue); }
.ph { position: relative; aspect-ratio: 16 / 9; background: var(--blue-soft); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-link:hover .ph img { transform: scale(1.03); }
.badge.on-img { position: absolute; left: 14px; top: 14px; }
.card.no-img .ph { aspect-ratio: auto; height: 52px; background: transparent; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card h3 { font-family: var(--head); font-size: 19px; line-height: 1.28; font-weight: 700; margin: 0; flex: 1; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: 13.5px; }
.card .meta .views { margin-left: 12px; font-size: 13.5px; }

/* ---- Лента ---- */
.feed { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feed-day { font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--muted); padding: 14px 20px 10px; text-transform: uppercase; letter-spacing: .06em; background: #f8f9fb; border-bottom: 1px solid var(--line); }
.feed-item + .feed-item { border-top: 1px solid var(--line); }
.feed-link { display: flex; gap: 20px; padding: 18px 20px; align-items: flex-start; }
.feed-link:hover { color: inherit; background: #fafbfd; }
.feed-link:hover .feed-title { color: var(--blue); }
.feed-link img { width: 200px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.feed-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feed-top { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.feed-top .badge { font-size: 12px; padding: 3px 9px; }
.feed-title { font-family: var(--head); font-size: 19px; line-height: 1.3; font-weight: 700; transition: color .15s; }
.feed-lead { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { text-align: center; margin: 22px 0 0; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow); }
.btn-outline .ico { width: 18px; }

/* ---- Правая колонка ---- */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 78px; }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 14px; }
.panel-head h2 { margin: 0; font-family: var(--head); font-size: 19px; white-space: nowrap; font-weight: 700; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.15; display: flex; align-items: center; gap: 10px; }
.panel-head.tint { background: var(--blue-soft); }
.panel-head.tint h2 { border-left: 0; padding-left: 0; }
.panel-head.tint h2 .ico { color: var(--blue); width: 24px; height: 24px; stroke-width: 3; }
.all { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14px; }
.all .ico { width: 18px; }
.latest { list-style: none; margin: 0; padding: 0 0 6px; }
.latest li { display: grid; grid-template-columns: 58px 1fr; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.latest time { color: var(--muted); font-variant-numeric: tabular-nums; }
.latest a { font-weight: 500; }
.promo { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); color: #fff; min-height: 200px; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 100%, #2f6fd6 0%, rgba(47, 111, 214, 0) 55%), linear-gradient(135deg, #1c2738 0%, #26395a 100%); box-shadow: var(--shadow); }
.promo::after { content: ""; position: absolute; right: -10px; bottom: -6px; width: 210px; height: 120px; opacity: .22;
  background: url("logo.svg") no-repeat right bottom / contain; filter: brightness(3) grayscale(1); }
.promo:hover { color: #fff; }
.promo-title { font-family: var(--head); font-size: 24px; line-height: 1.2; font-weight: 700; max-width: 11em; position: relative; z-index: 1; }
.promo-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px; padding: 9px 18px; font-weight: 600; position: relative; z-index: 1; }
.promo:hover .promo-btn { background: #fff; color: var(--navy); }
.promo-btn .ico { width: 18px; }
.pop { list-style: none; margin: 0; padding: 6px 0; }
.pop li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 12px 20px; }
.pop li + li { border-top: 1px solid var(--line); }
.pop .num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-top: 2px; }
.pop a { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.3; color: #1d3a6e; margin-bottom: 6px; }
.pop a:hover { color: var(--blue); }

/* ---- Страница рубрики / поиска ---- */
.page-head { margin-bottom: 4px; }
.page-head h1 { font-family: var(--head); font-size: clamp(28px, 3.4vw, 40px); margin: 0; font-weight: 800; letter-spacing: -.01em; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; font-size: 15px; }
.pager a { font-weight: 600; padding: 9px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* ---- Статья ---- */
.article { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 40px 34px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }
.article-head h1 { font-family: var(--head); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.012em; margin: 14px 0 14px; text-wrap: balance; }
.article-lead { font-size: 19px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; }
.article-cover { margin: 22px 0 26px; }
.article-cover img { width: 100%; border-radius: 12px; }
.prose { font-size: 18px; line-height: 1.72; color: #1f2733; max-width: 760px; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3 { font-family: var(--head); line-height: 1.25; margin: 1.5em 0 .6em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.prose pre, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--bg); border-radius: 6px; }
.prose code { padding: 2px 5px; }
.prose pre { padding: 14px; overflow-x: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 24px 0; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.share { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.sh { padding: 7px 14px; border-radius: 999px; color: #fff; font-weight: 600; }
.sh:hover { color: #fff; filter: brightness(1.1); }
.sh.tg { background: #229ed9; } .sh.vk { background: #0077ff; } .sh.ok { background: #ee8208; }
.article .section .grid3 { margin-top: 0; }
.article .card { box-shadow: none; border: 1px solid var(--line); }
.about h1 { font-family: var(--head); font-size: 34px; margin: 0 0 18px; }

/* ---- Прочее ---- */
.empty { text-align: center; padding: 80px 0; }
.empty h1 { font-family: var(--head); }
.big-num { font-family: var(--head); font-size: 96px; font-weight: 800; color: var(--blue); margin: 0; line-height: 1; }
.btn-link { font-weight: 600; color: var(--blue); }

.site-footer { background: var(--navy); color: #b9c3d3; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 30px; padding-top: 32px; padding-bottom: 38px; flex-wrap: wrap; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.foot p { margin: 14px 0 0; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; max-width: 560px; }
.foot-links a { color: #dfe5ee; }
.foot-links a:hover { color: #fff; }


/* ===== Анимации ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Слайдер: текст «выплывает», фото медленно приближается */
.slide-body > * { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.slide-body > :nth-child(2) { animation-delay: .08s; }
.slide-body > :nth-child(3) { animation-delay: .16s; }
.slide-body > :nth-child(4) { animation-delay: .24s; }
.slide img { animation: kenburns 14s ease-out both alternate infinite; }
.slide a:hover h1 { color: #cfe0ff; }
.slide h1 { transition: color .2s; }

/* Карточки: приподнимаются, тень растёт, фото приближается */
.card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; will-change: transform; }
.card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(20,27,38,.06), 0 16px 34px rgba(20,27,38,.12); }
.ph img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card-link:hover .ph img { transform: scale(1.06); }
.badge { transition: transform .2s; }
.card:hover .badge, .feed-link:hover .badge { transform: translateY(-2px); }

/* Лента: полоска слева и сдвиг */
.feed-link { position: relative; transition: background .2s, padding-left .25s; }
.feed-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transition: transform .25s; transform-origin: center; }
.feed-link:hover::before { transform: scaleY(1); }
.feed-link img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.feed-link:hover img { transform: scale(1.04); }

/* Правая колонка */
.latest li { transition: background .2s; }
.latest li:hover { background: #f6f8fc; }
.latest a { transition: color .15s; }
.pop li { transition: background .2s; }
.pop li:hover { background: #f6f8fc; }
.pop .num { transition: transform .25s; }
.pop li:hover .num { transform: scale(1.12); }
.promo { transition: transform .25s, box-shadow .25s; }
.promo:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(28,39,56,.25); }
.promo-btn, .promo-btn .ico { transition: background .2s, color .2s, transform .2s; }
.promo:hover .promo-btn .ico, .all:hover .ico, .btn-outline:hover .ico { transform: translateX(4px); }
.all .ico, .btn-outline .ico { transition: transform .2s; }
.btn-outline { transition: transform .2s, box-shadow .2s; }
.btn-outline:hover { transform: translateY(-2px); }

/* Меню: подчёркивание выезжает */
.nav-cats a { position: relative; transition: background .2s, color .2s; }
.nav-cats a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -3px; height: 3px; background: #5d9bff; transform: scaleX(0); transition: transform .25s; }
.nav-cats a:hover::after { transform: scaleX(1); }
.mainnav { transition: box-shadow .25s; }
.mainnav.scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.more-menu { animation: fadeUp .18s ease-out both; }
.search { transition: box-shadow .2s, background .2s; }
.share .sh { transition: transform .2s, filter .2s; }
.share .sh:hover { transform: translateY(-2px); }
.dots a { transition: width .3s, background .3s; }

/* Появление блоков при прокрутке (классы ставит app.js) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Адаптив ---- */
@media (max-width: 1200px) {
  .tagline { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .city { display: none; }
  .search { min-width: 0; flex: 1; max-width: 340px; margin-left: auto !important; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 14px; }
  .toplinks a:not(.soc), .clock { display: none; }
  .mast-in { min-height: 76px; gap: 12px; }
  .brand img { width: 44px; }
  .brand-name { font-size: 19px; }
  .wx { padding-right: 0; border: 0; gap: 6px; }
  .wx .wx-ico { width: 32px; height: 32px; }
  .wx b { font-size: 18px; }
  .wx small { display: none; }
  .mast-in .search { display: none; }
  .nav-in { min-height: 50px; }
  .mainnav .home { width: 50px; }
  .nav-cats a { padding: 0 12px; font-size: 14.5px; }
  .more summary span { display: none; }
  .slide { aspect-ratio: auto; min-height: 420px; }
  .slide a::after { background: linear-gradient(0deg, rgba(14, 22, 36, .92) 15%, rgba(14, 22, 36, .35) 70%, rgba(14, 22, 36, .1)); }
  .slide-body { padding: 20px; justify-content: flex-end; top: auto; }
  .slide p { display: none; }
  .slide h1 { margin: 12px 0 0; font-size: 22px; -webkit-line-clamp: 5; }
  .slide .meta { margin-top: 12px; }
  .dots { top: 18px; bottom: auto; right: 18px; }
  .grid3 { grid-template-columns: 1fr; }
  .feed-link { padding: 14px; gap: 14px; flex-direction: row-reverse; }
  .feed-link img { width: 96px; }
  .feed-lead { display: none; }
  .feed-title { font-size: 16.5px; }
  .article { padding: 20px 16px 26px; border-radius: 0; margin: 0 -14px; box-shadow: none; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---- Инфо-карточки: погода, пробки, курсы ---- */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.info-card { display: flex; flex-direction: column; min-height: 132px; padding: 14px 16px; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; }
.info-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 27, 38, .06), 0 12px 26px rgba(20, 27, 38, .09); }
.ic-head { display: flex; align-items: center; gap: 7px; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); }
.ic-head .ico { width: 17px; height: 17px; color: var(--blue); }
.ic-date { margin-left: auto; font-family: var(--sans); font-weight: 400; font-size: 12.5px; color: var(--muted); }
.ic-wx-body { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--blue); }
.ic-big { font-family: var(--head); font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); }
.ic-small { white-space: nowrap; display: flex; flex-direction: column; margin-left: 4px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.ic-note { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--ink-2); }
.ic-traffic { padding-bottom: 0; }
.ic-map { flex: 1 1 auto; display: block; width: calc(100% + 32px); height: 96px; margin: 10px -16px 0; border: 0; background: var(--blue-soft); }
.ic-link:hover { color: var(--ink); }
.ic-traffic-off { display: flex; align-items: center; gap: 14px; margin: auto 0; padding-bottom: 14px; font-weight: 600; font-size: 15px; }
.ic-traffic-off small { display: inline-flex; align-items: center; gap: 4px; font-weight: 400; color: var(--blue); font-size: 13px; }
.ic-traffic-off small .ico { width: 14px; height: 14px; }
.tl { display: flex; flex-direction: column; gap: 3px; padding: 5px; border-radius: 8px; background: var(--navy); }
.tl i { width: 9px; height: 9px; border-radius: 50%; background: #e5383b; }
.tl i + i { background: #f2b705; }
.tl i + i + i { background: #2fb24a; }
.ic-rates table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 14px; }
.ic-rates th { width: 44px; padding: 3px 0; text-align: left; font-weight: 600; color: var(--muted); }
.ic-rates .rv { padding: 3px 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ic-rates .rd { padding: 3px 0; text-align: right; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.ic-rates .rd.up { color: #1e9e45; }
.ic-rates .rd.down { color: #d6363a; }
@media (max-width: 900px) {
  .info-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-left: 14px; scrollbar-width: none;
    padding-bottom: 6px; margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .info-card { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .info-card { transition: none; } .info-card:hover { transform: none; } }

/* ---- Фото внутри текста статьи (из .docx) ---- */
.prose .inline-img { margin: 26px 0; }
.prose .inline-img img { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow); }
.prose .inline-img a { display: block; }
