/* ПотокBG — публичен сайт */
:root {
  --accent: #1463ff;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --surface: #ffffff;
  --text: #11151c;
  --text-2: #4a5361;
  --muted: #7a8494;
  --line: #e5e8ee;
  --chip-bg: color-mix(in srgb, var(--c, var(--accent)) 12%, transparent);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-read: "Source Serif 4", Georgia, "Times New Roman", serif;
  --breaking: #e5322d;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d1117;
  --bg-soft: #151b24;
  --surface: #151b24;
  --text: #eef1f6;
  --text-2: #b9c1cd;
  --muted: #8a94a3;
  --line: #262e3a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117;
    --bg-soft: #151b24;
    --surface: #151b24;
    --text: #eef1f6;
    --text-2: #b9c1cd;
    --muted: #8a94a3;
    --line: #262e3a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
/* Стандартни (руски) форми на кирилицата вместо българските „ръкописни“ варианти на шрифта */
*, *::before, *::after { font-feature-settings: "locl" 0 !important; }
button { font: inherit; }
.i { flex: none; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

/* ---------- Хедър ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.social { display: flex; gap: 4px; align-items: center; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); }
.social a:hover { color: var(--accent); background: var(--bg-soft); }
.social .i { width: 16px; height: 16px; }
.social.big .i { width: 20px; height: 20px; }
.social.big a { width: 38px; height: 38px; background: var(--bg-soft); }

.brandbar { display: flex; align-items: center; gap: 16px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark svg { display: block; }
.logo-text { font: 800 29px/1 var(--font-head); letter-spacing: -.035em; }
/* Червената точка „на живо“ леко пулсира */
.site-header .live-dot { transform-origin: 38.5px 9.5px; animation: live 2.8s ease-in-out infinite; }
@keyframes live { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.18); } 90% { transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) { .site-header .live-dot { animation: none; } }
.logo-text b { color: var(--accent); font-weight: 800; }
:root[data-theme="dark"] .logo-text b { color: color-mix(in srgb, var(--accent) 72%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-text b { color: color-mix(in srgb, var(--accent) 72%, #fff); } }
.logo-img { max-height: 48px; width: auto; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid transparent; border-radius: 999px; padding: 0 6px 0 16px; transition: border-color .2s; }
.search:focus-within { border-color: var(--accent); background: var(--surface); }
.search input { border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; width: 220px; height: 40px; outline: none; }
.search button { border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; line-height: 0; }
.icon-btn .i { display: block; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.t-dark, .t-light { place-items: center; }
.t-dark { display: grid; }
.t-light { display: none; }
:root[data-theme="dark"] .t-light { display: grid; }
:root[data-theme="dark"] .t-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-light { display: grid; }
  :root:not([data-theme="light"]) .t-dark { display: none; }
}
.menu-btn, .search-toggle { display: none; }

.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { position: relative; padding: 14px 12px; font: 600 15px/1 var(--font-head); color: var(--text-2); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c, var(--accent)); transform: scaleX(0); transition: transform .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.ticker { border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 14px; }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 42px; }
.ticker-label { flex: none; background: var(--breaking); color: #fff; font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: 6px; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 36px; width: max-content; animation: ticker 70s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { white-space: nowrap; color: var(--text-2); }
.ticker-move time { color: var(--breaking); font-weight: 600; margin-right: 4px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .ticker-track { overflow-x: auto; } }

/* ---------- Общи елементи ---------- */
.chip { display: inline-block; font: 700 11.5px/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--c, var(--accent)); }
.chip:hover { color: var(--c, var(--accent)); text-decoration: underline; }
.flag { display: inline-block; background: var(--breaking); color: #fff; font: 700 11px/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; margin-right: 8px; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.meta { font-size: 13px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.btn:hover { color: #fff; filter: brightness(1.08); }

.block { margin: 48px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--text); position: relative; }
.section-head::before { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--c, var(--accent)); }
.section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.section-head .more { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.section-head .more:hover { color: var(--accent); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 28px 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 70px; }

/* ---------- Картички ---------- */
.c { position: relative; min-width: 0; }
.c .media { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); aspect-ratio: 16 / 10; }
.c .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s ease; }
/* Плавно появяване на снимките, докато се зареждат (само ако JavaScript работи) */
.js .c .media img:not(.loaded), .js .cover img:not(.loaded) { opacity: 0; }
.c:hover .media img { transform: scale(1.04); }
.c .media.noimg { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--bg-soft)), var(--bg-soft)); }
.c .media.noimg::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 12c3.3-3 6.7-3 10 0s6.7 3 10 0M6 18c3.3-3 6.7-3 10 0s6.7 3 10 0M6 24c3.3-3 6.7-3 10 0s6.7 3 10 0' fill='none' stroke='white' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 48px no-repeat; }
.c h3 { font-weight: 700; letter-spacing: -.015em; }
.c h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s; }
.c h3 a:hover { color: inherit; background-size: 100% 1.5px; }
.c .sub { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }
.c .meta { margin-top: 8px; }

.c-card .body { padding-top: 14px; }
.c-card h3 { font-size: 18px; }

.c-hero .media { aspect-ratio: 16 / 9; border-radius: calc(var(--radius) + 4px); }
.c-hero .body { padding-top: 18px; }
.c-hero h3 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.c-hero .sub { font-size: 17px; margin-top: 12px; }

.c-side { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.c-side:first-child { padding-top: 0; }
.c-side:last-child { border-bottom: 0; }
.c-side .media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.c-side .body { grid-column: 1; grid-row: 1; }
.c-side h3 { font-size: 16.5px; }

.c-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-row:first-child { padding-top: 0; }
.c-row h3 { font-size: 20px; }
.c-row .media { aspect-ratio: 3 / 2; }

.c-compact { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-compact:first-child { padding-top: 0; }
.c-compact:last-child { border-bottom: 0; }
.c-compact .media { aspect-ratio: 1; border-radius: var(--radius-sm); }
.c-compact h3 { font-size: 15.5px; }
.c-compact .meta { margin-top: 4px; }

.c-overlay { border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; isolation: isolate; }
.c-overlay .media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -1; }
.c-overlay .media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .82)); z-index: 1; }
.c-overlay .body { padding: 24px; color: #fff; }
.c-overlay h3 { font-size: 26px; font-weight: 800; }
.c-overlay .meta { color: rgba(255, 255, 255, .8); }
.c-overlay .chip { color: #fff; }

/* ---------- Главна ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; }
.hero-side { display: flex; flex-direction: column; }
.feature-list { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
.popular ol { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.popular li:last-child { border-bottom: 0; }
.popular li::before { content: counter(pop); grid-row: span 2; font: 800 30px/1 var(--font-head); color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.popular li a { font: 700 15.5px/1.35 var(--font-head); }
.popular li .meta { margin-top: 4px; }
.block > .popular ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 32px; }
.block > .popular li:last-child { border-bottom: 1px solid var(--line); }

.empty-state { text-align: center; padding: 64px 16px; color: var(--text-2); }
.empty-state h1 { font-size: 32px; margin-bottom: 12px; color: var(--text); }
.empty-state a { color: var(--accent); }
.big-num { font: 800 96px/1 var(--font-head); color: var(--accent); margin: 0; }

/* ---------- Списъци / категория ---------- */
.page-head { padding: 40px 0 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 14px; }
.page-head h1::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--accent)); flex: none; }
.page-head p { color: var(--text-2); margin: 10px 0 0; font-size: 17px; }
.lead-item { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 48px 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pagination a:hover { border-color: var(--accent); }
.search-big { display: flex; gap: 10px; margin: 0 0 24px; }
.search-big input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 17px; }
.search-big input:focus { outline: none; border-color: var(--accent); }
.search-big .btn { height: 52px; }

/* ---------- Статия ---------- */
.preview-bar { background: #fff4d6; color: #6b4e00; text-align: center; padding: 10px 16px; font-size: 14px; }
.preview-bar a { text-decoration: underline; }
.article-head { padding-top: 40px; }
.article-head h1 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.article-head .lead { font: 400 21px/1.5 var(--font-read); color: var(--text-2); margin: 18px 0 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.byline span { display: inline-flex; align-items: center; gap: 6px; }
.byline .i { width: 16px; height: 16px; }
.byline .author { color: var(--text); font-weight: 600; }
.cover { max-width: 940px; margin: 32px auto 0; }
.cover-frame { position: relative; aspect-ratio: 16 / 9; max-height: 72vh; overflow: hidden; border-radius: calc(var(--radius) + 4px); background: var(--bg-soft); }
.cover-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.cover figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.share { display: flex; gap: 8px; margin: 28px 0 8px; flex-wrap: wrap; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 14px; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
.share .i { width: 17px; height: 17px; }

.prose { font: 400 19.5px/1.75 var(--font-read); color: var(--text); margin-top: 24px; overflow-wrap: break-word; }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; font-weight: 800; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .5em; font-weight: 700; }
.prose h4 { font-size: 19px; margin: 1.2em 0 .4em; font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--c, var(--accent)); font-size: 1.15em; font-style: italic; color: var(--text-2); }
.prose img { border-radius: var(--radius); margin: 1.5em auto; height: auto; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font: 13.5px/1.5 var(--font-ui); color: var(--muted); margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--font-ui); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.source-note { margin: 32px 0; padding: 18px 20px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14.5px; color: var(--text-2); }
.source-note a { color: var(--accent); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tags a { padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--text-2); }
.tags a:hover { background: var(--accent); color: #fff; }

/* ---------- Футър ---------- */
.site-footer { --logo-ring: var(--bg-soft); margin-top: 80px; background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid p { max-width: 380px; }
.footer-grid a:not(.logo) { color: var(--text-2); }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { margin-top: 40px; padding: 20px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- Адаптивност ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .feature-list { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .topbar { display: none; }
  .brandbar { height: 64px; gap: 10px; }
  .logo-text { font-size: 23px; }
  .logo-mark svg { width: 34px; height: 34px; }
  .menu-btn, .search-toggle { display: grid; }
  .site-header { position: relative; }
  body.menu-open .nav-in { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 8px; }
  body.menu-open .nav a::after { display: none; }
  .search { position: absolute; left: 16px; right: 16px; top: 64px; z-index: 40; display: none; padding-left: 16px; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
  .search input { width: 100%; }
  body.search-open .search { display: flex; }
  .tools { gap: 6px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .grid-4 .c-card, .grid-3 .c-card { display: grid; grid-template-columns: 1fr 112px; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .grid-4 .c-card .media, .grid-3 .c-card .media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .grid-4 .c-card .body, .grid-3 .c-card .body { grid-column: 1; grid-row: 1; padding-top: 0; }
  .grid-4 .c-card h3, .grid-3 .c-card h3 { font-size: 16.5px; }
  .grid-3 .c-card .sub { display: none; }
  .c-row { grid-template-columns: 1fr 112px; gap: 14px; }
  .c-row .media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .c-row .body { grid-column: 1; grid-row: 1; }
  .c-row h3 { font-size: 16.5px; }
  .c-row .sub { display: none; }
  .c-side { grid-template-columns: 1fr 112px; }
  .c-overlay { min-height: 300px; }
  .c-overlay h3 { font-size: 21px; }
  .hero-grid { margin-top: 16px; }
  .c-hero .media { border-radius: var(--radius); margin: 0 -16px; border-radius: 0; }
  .block { margin: 36px 0; }
  .prose { font-size: 18px; }
  .article-head { padding-top: 24px; }
  .article-head .lead { font-size: 18.5px; }
  .cover { padding: 0; }
  .cover-frame { border-radius: 0; }
  .cover figcaption { padding: 0 16px; }
  .share button span { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav a { padding: 13px 10px; font-size: 14.5px; }
}

/* ---------- Реклами ---------- */
.ad { margin: 28px auto; text-align: center; min-height: 100px; }
.ad-label { display: block; font: 600 10.5px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.ad-top { margin: 20px auto 0; min-height: 90px; }
.ad-sidebar { margin: 0 0 32px; min-height: 250px; }
.prose .ad { margin: 1.8em 0; }
.grid-ad { grid-column: 1 / -1; }
.grid-ad .ad { margin: 4px 0; }
.ad-preview { display: grid; place-items: center; min-height: 120px; border: 2px dashed var(--accent); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--accent); font: 700 14px var(--font-head); }
.ad-sidebar.ad-preview { min-height: 250px; }

/* ---------- Статични страници и футър ---------- */
.static-page .page-head { padding-bottom: 16px; margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-pages { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-pages a { color: var(--muted); }
.footer-pages a:hover { color: var(--accent); }
