/* ==========================================================================
   Новини Разград – основни стилове
   Палитра: варовик (фон), чернозем (текст), лудогорска гора, жито
   Шрифтове: Unbounded (заглавия), Golos Text (текст) – локално хоствани
   ========================================================================== */

@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-400-normal.woff2) format("woff2"); 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-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-cyrillic-500-normal.woff2) format("woff2"); 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-weight: 500; font-display: swap; src: url(../fonts/golos-text-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-cyrillic-600-normal.woff2) format("woff2"); 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-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/golos-text-cyrillic-700-normal.woff2) format("woff2"); 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-weight: 700; font-display: swap; src: url(../fonts/golos-text-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/unbounded-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/unbounded-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/unbounded-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/unbounded-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--paper: #EEF1EC;       /* варовик */
	--surface: #FFFFFF;
	--ink: #1F1A17;         /* чернозем */
	--ink-2: #3B3531;
	--muted: #5B655F;
	--line: #D3DAD2;
	--forest: #12493A;      /* лудогорска гора */
	--forest-2: #1B5E4A;
	--moss: #2E7A5F;
	--wheat: #E9B949;       /* жито */
	--wheat-soft: #F6E6B5;
	--alert: #B8322A;
	--link: #155C47;
	--on-forest: #F2F4EF;
	--shadow: 0 1px 0 rgba(31, 26, 23, .06), 0 10px 24px -18px rgba(18, 73, 58, .45);

	--f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--f-text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--step--1: .8125rem;
	--step-0: 1rem;
	--step-1: 1.125rem;
	--step-2: 1.375rem;
	--step-3: 1.75rem;
	--step-4: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);

	--gap: clamp(16px, 2.4vw, 28px);
	--wrap: 1240px;
	--r-img: 12px;
	--r-pill: 999px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0E1814;
		--surface: #15221D;
		--ink: #ECEFE9;
		--ink-2: #CBD3CC;
		--muted: #97A59D;
		--line: #26372F;
		--link: #8FD3B6;
		--forest: #12493A;
		--forest-2: #1B5E4A;
		--shadow: 0 1px 0 rgba(0, 0, 0, .3);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #0E1814;
	--surface: #15221D;
	--ink: #ECEFE9;
	--ink-2: #CBD3CC;
	--muted: #97A59D;
	--line: #26372F;
	--link: #8FD3B6;
	--shadow: 0 1px 0 rgba(0, 0, 0, .3);
	color-scheme: dark;
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-text);
	font-size: var(--step-0);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.18; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 24px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wheat); color: #1F1A17; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Горна лента ---------- */
.topbar { background: var(--forest); color: var(--on-forest); font-size: var(--step--1); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.topbar__date { opacity: .85; text-transform: none; }
.topbar__date::first-letter { text-transform: uppercase; }
.topbar a { color: var(--on-forest); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__wx { display: inline-flex; align-items: center; gap: 6px; }
.topbar__wx strong { color: var(--wheat); font-weight: 600; }
.topbar__wx [data-wx-icon] svg { width: 16px; height: 16px; }
.topbar__links { margin-left: auto; display: flex; gap: 16px; }
@media (max-width: 640px) { .topbar__date { display: none; } .topbar__links { gap: 12px; } }

/* ---------- Хедър ---------- */
.mast { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.mast__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand__img { height: 52px; width: auto; }
.brand__img--dark { display: none; }
:root[data-theme="dark"] .brand__img--light { display: none; }
:root[data-theme="dark"] .brand__img--dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .brand__img--light { display: none; }
	:root:not([data-theme="light"]) .brand__img--dark { display: block; }
}
.nav { flex: 1 1 auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 0; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: 10px 10px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-category-ancestor > a, .nav__list .current-menu-ancestor > a { background: var(--paper); color: var(--forest); }
:root[data-theme="dark"] .nav__list .current-menu-item > a { color: var(--wheat); }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; z-index: 50; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { display: block; }
.nav__list .sub-menu a { font-weight: 500; }
.mast__tools { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--forest); color: var(--forest); }
.icon-btn--menu { display: none; }

@media (max-width: 1220px) {
	.icon-btn--menu { display: inline-grid; }
	.nav__list { flex-wrap: wrap; }
	.brand__img { height: 44px; }
	.nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--surface); padding: 84px 16px 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; box-shadow: -20px 0 40px -30px rgba(0,0,0,.5); z-index: 45; }
	.nav.is-open { transform: none; }
	.nav__list { flex-direction: column; }
	.nav__list a { font-size: 1.05rem; padding: 12px; }
	.nav__list .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; background: transparent; }
	.mast__tools { position: relative; z-index: 46; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

.search-panel { border-top: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.searchform { display: flex; gap: 8px; max-width: 720px; }
.searchform input[type="search"] { flex: 1; font: inherit; padding: 12px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); color: var(--ink); min-width: 0; }
.searchform button { font: inherit; font-weight: 600; padding: 12px 20px; border-radius: var(--r-pill); border: 0; background: var(--forest); color: var(--on-forest); cursor: pointer; }
.searchform button:hover { background: var(--forest-2); }

/* ---------- Лента „Общини“ – запомнящият се елемент ---------- */
.ludogorie {
	background-color: var(--forest);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='60' viewBox='0 0 600 60'%3E%3Cg fill='none' stroke='%232E7A5F' stroke-width='1.2' opacity='.55'%3E%3Cpath d='M0 44C90 20 170 58 270 34S470 6 600 30'/%3E%3Cpath d='M0 56C100 34 180 66 280 46S480 18 600 42'/%3E%3Cpath d='M0 30C80 6 160 44 260 22S460-6 600 18'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 600px 60px;
	color: var(--on-forest);
}
.ludogorie__in { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.ludogorie__label { font-family: var(--f-display); font-weight: 600; font-size: .8rem; color: var(--wheat); flex: 0 0 auto; }
.ludogorie__list { list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ludogorie__list::-webkit-scrollbar { display: none; }
.town-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); color: var(--on-forest); text-decoration: none; white-space: nowrap; border: 1px solid rgba(242, 244, 239, .18); background: rgba(14, 24, 20, .18); font-weight: 500; font-size: .92rem; }
.town-chip:hover, .town-chip.is-current { background: var(--wheat); color: #1F1A17; border-color: var(--wheat); }
.town-chip__temp { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wheat); }
.town-chip:hover .town-chip__temp, .town-chip.is-current .town-chip__temp { color: #1F1A17; }

/* ---------- Последно ---------- */
.ticker { background: var(--wheat-soft); color: #1F1A17; border-bottom: 1px solid rgba(31, 26, 23, .08); }
:root[data-theme="dark"] .ticker { background: #2A2614; color: var(--ink); }
.ticker__in { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ticker__label { flex: 0 0 auto; font-weight: 700; font-size: .85rem; background: var(--alert); color: #fff; padding: 3px 10px; border-radius: var(--r-pill); }
.ticker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker__list::-webkit-scrollbar { display: none; }
.ticker__list time { font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 4px; }
.ticker__list a { color: inherit; text-decoration: none; font-weight: 500; }
.ticker__list a:hover { text-decoration: underline; }

.site-main { padding-bottom: 56px; }

/* ---------- Карти ---------- */
.cat-label { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--moss); text-decoration: none; margin-bottom: 6px; }
:root[data-theme="dark"] .cat-label { color: var(--wheat); }
.cat-label--kriminalni { color: var(--alert); }
.cat-label:hover { text-decoration: underline; }
.story { position: relative; }
.story__media { display: block; overflow: hidden; border-radius: var(--r-img); background: var(--line); aspect-ratio: 16 / 10; }
.story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: var(--forest); }
.thumb-fallback img { width: 56px; height: 56px; opacity: .9; }
.story__title { font-size: var(--step-1); }
.story__title a { color: var(--ink); text-decoration: none; }
.story__title a:hover { color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; }
:root[data-theme="dark"] .story__title a:hover { color: var(--wheat); }
.story__dek { color: var(--ink-2); margin: 10px 0 0; }
.story__meta { margin: 8px 0 0; font-size: var(--step--1); color: var(--muted); }

.story--card .story__body { padding-top: 12px; }

.story--lead .story__media { aspect-ratio: 16 / 9; border-radius: 16px; }
.story--lead .story__body { padding-top: 16px; }
.story--lead .story__title { font-size: var(--step-4); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.story--lead .story__dek { font-size: var(--step-1); max-width: 62ch; }

.story--row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.story--row .story__media { aspect-ratio: 4 / 3; border-radius: 10px; }
.story--row .story__title { font-size: 1rem; font-family: var(--f-text); font-weight: 600; line-height: 1.35; }
.story--row .cat-label { margin-bottom: 2px; }
@media (min-width: 900px) { .story--row { grid-template-columns: 160px 1fr; } }

.story--text { padding: 16px 0; border-top: 1px solid var(--line); }
.story--text .story__title { font-size: var(--step-1); }

/* ---------- Начална: водещи ---------- */
.hero { display: grid; gap: var(--gap); padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; } }
.hero__side .story--row:first-of-type { border-top: 0; }

.section-title { font-size: var(--step-2); font-weight: 700; }
.section-title a { color: inherit; text-decoration: none; }
.section-title a:hover { text-decoration: underline; }
.section-title--small { font-size: 1rem; color: var(--muted); font-family: var(--f-text); font-weight: 600; margin-bottom: 4px; }

/* ---------- Лудогорие днес ---------- */
.towns-band { background: var(--forest); color: var(--on-forest); padding: 40px 0 44px; margin: 12px 0 40px; position: relative; overflow: hidden; }
.towns-band::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='240' viewBox='0 0 800 240'%3E%3Cg fill='none' stroke='%232E7A5F' stroke-width='1.3' opacity='.5'%3E%3Cpath d='M0 200C140 150 260 230 420 180S680 110 800 150'/%3E%3Cpath d='M0 170C150 120 270 200 430 150S690 80 800 120'/%3E%3Cpath d='M0 140C160 90 280 170 440 120S700 50 800 90'/%3E%3Cpath d='M0 110C170 60 290 140 450 90S710 20 800 60'/%3E%3C/g%3E%3C/svg%3E"); background-size: 800px 240px; background-position: center bottom; pointer-events: none; }
.towns-band .wrap { position: relative; }
.towns-band__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.towns-band__title { color: var(--on-forest); font-size: var(--step-3); font-weight: 700; }
.towns-band__lede { margin: 0; color: rgba(242, 244, 239, .78); }
.towns-band__grid { display: grid; gap: 1px; background: rgba(242, 244, 239, .16); border: 1px solid rgba(242, 244, 239, .16); border-radius: 16px; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.town { background: rgba(14, 40, 32, .82); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.town__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.town__name { font-size: 1.05rem; }
.town__name a { color: var(--wheat); text-decoration: none; }
.town__name a:hover { text-decoration: underline; }
.town__wx { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.town__wx svg { width: 20px; height: 20px; }
.town__news { color: var(--on-forest); text-decoration: none; font-weight: 500; line-height: 1.35; font-size: .95rem; }
.town__news:hover { text-decoration: underline; }
.town__news--empty { opacity: .7; margin: 0; }
.town__time { font-size: var(--step--1); color: rgba(242, 244, 239, .65); }
.town__guide { margin-top: auto; font-size: var(--step--1); color: rgba(242, 244, 239, .85); }

/* ---------- Колони ---------- */
.with-aside { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.with-aside__main { min-width: 0; }
@media (min-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.with-aside__side { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1000px) { .with-aside__side > :first-child { position: static; } }

.block { margin-bottom: 44px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 3px solid var(--ink); }
.block__more { font-weight: 600; font-size: .9rem; color: var(--link); }
.block__grid { display: grid; gap: 0 28px; }
@media (min-width: 720px) {
	.block__grid { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto auto; }
	.block__grid > .story--card { grid-row: 1 / span 3; }
	.block__grid > .story--row:nth-child(2) { border-top: 0; padding-top: 0; }
	.block__grid > .story--card:only-child { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
	.block__grid > .story--card:only-child .story__body { padding-top: 0; }
	.block__grid > .story--card:only-child .story__title { font-size: var(--step-3); }
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 28px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 0 32px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Странична колона ---------- */
.side-box { background: var(--surface); border-radius: 16px; padding: 18px 18px 14px; border: 1px solid var(--line); }
.side-box__title { font-size: 1rem; margin-bottom: 10px; }
.popular { list-style: none; counter-reset: pop; margin: 0; padding: 0; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.popular li:first-child { border-top: 0; }
.popular li::before { content: counter(pop); font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--wheat); line-height: 1.1; -webkit-text-stroke: .6px var(--forest); }
.popular a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.popular a:hover { text-decoration: underline; }
.quick { list-style: none; margin: 0; padding: 0; }
.quick li { border-top: 1px solid var(--line); }
.quick li:first-child { border-top: 0; }
.quick a { display: block; padding: 10px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.quick a:hover { color: var(--forest); text-decoration: underline; }

/* ---------- Времето ---------- */
.wx-region { display: grid; gap: 2px; }
.wx-region__item { display: grid; grid-template-columns: 1fr 26px 48px; align-items: center; gap: 6px; padding: 7px 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.wx-region__item:first-child { border-top: 0; }
.wx-region__item:hover .wx-region__name { text-decoration: underline; }
.wx-region__name { font-weight: 500; }
.wx-region__temp { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-region__desc { display: none; }
.wx-region__icon svg { width: 22px; height: 22px; }
.prose .wx-region { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; margin: 1.4em 0; }
.prose .wx-region__item { grid-template-columns: 1fr 26px 52px minmax(0, 1.4fr); }
.prose .wx-region__desc { display: block; color: var(--muted); font-size: var(--step--1); }

.wx { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 0 0 1.6em; }
.wx__now { display: grid; gap: 16px; }
@media (min-width: 700px) { .wx__now { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.wx__place { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wx__label { font-weight: 700; }
.wx__updated { color: var(--muted); font-size: var(--step--1); }
.wx__main { display: flex; align-items: center; gap: 14px; }
.wx__icon svg { width: 64px; height: 64px; }
.wx__temp { font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wx__desc { color: var(--ink-2); font-weight: 500; }
.wx__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
.wx__facts dt { color: var(--muted); font-size: var(--step--1); }
.wx__facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.wx__block { margin-top: 22px; }
.prose .wx__h, .wx__h { font-size: 1rem; margin: 0 0 10px; font-family: var(--f-text); font-weight: 700; }
.wx__hours { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.wx__hour { flex: 0 0 64px; text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--paper); font-variant-numeric: tabular-nums; }
.wx__hour.is-night { background: color-mix(in srgb, var(--forest) 12%, var(--paper)); }
.wx__hour time { display: block; font-size: var(--step--1); color: var(--muted); }
.wx__hour svg { width: 26px; height: 26px; margin: 4px auto; display: block; }
.wx__hour b { display: block; }
.wx__hour small { display: block; color: #2867B2; font-size: .75rem; min-height: 1em; }
:root[data-theme="dark"] .wx__hour small { color: #8DB8F2; }
.wx__days { display: grid; gap: 0; }
.wx__day { display: grid; grid-template-columns: minmax(92px, 1fr) 30px minmax(0, 2fr) 80px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.wx__day:first-child { border-top: 0; }
.wx__day svg { width: 26px; height: 26px; }
.wx__day-name { font-weight: 600; }
.wx__day-name small { display: block; color: var(--muted); font-weight: 400; }
.wx__day-desc { color: var(--ink-2); font-size: .92rem; }
.wx__day-desc small { color: #2867B2; display: block; }
:root[data-theme="dark"] .wx__day-desc small { color: #8DB8F2; }
.wx__day-t { text-align: right; }
.wx__day-t span { color: var(--muted); margin-left: 6px; }
.wx__src { color: var(--muted); font-size: var(--step--1); margin: 14px 0 0; }

/* ---------- Статия ---------- */
.crumbs { padding-top: 18px; font-size: var(--step--1); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; opacity: .5; }
.crumbs a { color: var(--muted); }
.article__head { padding-top: 16px; padding-bottom: 20px; max-width: 980px; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.article__title { font-size: var(--step-4); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 2px 0 14px; max-width: 26ch; }
.article--page .article__title { max-width: 30ch; }
.article__dek { font-size: var(--step-2); line-height: 1.45; color: var(--ink-2); max-width: 60ch; font-weight: 400; margin-bottom: 14px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step--1); color: var(--muted); }
.article__meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--wheat); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.article__figure { margin-top: 4px; margin-bottom: 30px; }
.article__figure img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 16px; display: block; }
.article__figure--page img { max-height: 420px; }
.article__figure figcaption, .prose figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }
.photo-credit a { color: var(--muted); }

.prose { font-size: 1.125rem; line-height: 1.7; max-width: 68ch; }
.prose > * + * { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: var(--step-2); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--moss); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--wheat); font-size: 1.2rem; color: var(--ink-2); }
.prose img { border-radius: 12px; }
.prose figure { margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.2em 0 1.6em; font-variant-numeric: tabular-nums; }
.prose .table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; }
.prose .table-wrap table { margin: 0; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--surface); border-bottom: 2px solid var(--ink); }
.prose tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.prose .lead { font-size: 1.25rem; color: var(--ink-2); }
.prose .note { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--forest); border-radius: 12px; padding: 14px 18px; margin: 1.4em 0; font-size: 1rem; }
.prose .note p:last-child { margin-bottom: 0; }
.prose .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 1.4em 0; padding: 0; list-style: none; }
.prose .facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; font-size: .95rem; }
.prose .facts b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--forest); }
:root[data-theme="dark"] .prose .facts b { color: var(--wheat); }
.prose details.faq { border-top: 1px solid var(--line); padding: 4px 0; }
.prose details.faq:last-of-type { border-bottom: 1px solid var(--line); }
.prose details.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.prose details.faq summary::-webkit-details-marker { display: none; }
.prose details.faq summary::after { content: "+"; font-family: var(--f-display); color: var(--moss); }
.prose details.faq[open] summary::after { content: "–"; }
.prose details.faq > *:not(summary) { margin-top: 0; }
.prose .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 1.6em; font-size: 1rem; }
.prose .toc ul { margin: 0; }
.prose .src { color: var(--muted); font-size: .95rem; }

.article__foot { margin: 28px 0 36px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 68ch; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-weight: 600; margin-right: 4px; }
.share__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.share__btn:hover { border-color: var(--forest); color: var(--forest); }
.article__tip { margin: 16px 0 0; color: var(--muted); }
.related { margin-top: 12px; }
.related .section-title { margin-bottom: 8px; }

.subpages { margin-top: 32px; }
.subpages__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .subpages__list { grid-template-columns: 1fr 1fr; } }
.subpages__list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.subpages__list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.subpages__list a:hover { text-decoration: underline; color: var(--forest); }
.subpages__list p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Архиви ---------- */
.archive-head { padding: 18px 0 26px; display: grid; gap: 18px; }
@media (min-width: 900px) { .archive-head--town { grid-template-columns: 1fr auto; align-items: end; } }
.archive-head__title { font-size: var(--step-4); font-weight: 700; letter-spacing: -.02em; }
.archive-head__desc { color: var(--ink-2); max-width: 70ch; margin-top: 10px; }
.archive-head__desc p:last-child { margin: 0; }
.archive-head__town { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--forest); color: var(--on-forest); padding: 12px 16px; border-radius: 14px; }
.archive-head__town a { color: var(--wheat); font-weight: 600; }
.archive-head__wx { display: inline-flex; align-items: center; gap: 6px; }
.archive-head__wx svg { width: 24px; height: 24px; }
.archive-list .story--lead { margin-bottom: 18px; }
.archive-list .story--lead .story__title { font-size: var(--step-3); }
.empty { color: var(--muted); }

.pagination, .navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
a.page-numbers:hover { border-color: var(--forest); }

.notfound { padding: 60px 16px 40px; max-width: 720px; }
.notfound__code { font-family: var(--f-display); font-weight: 700; font-size: 5rem; color: var(--wheat); line-height: 1; margin-bottom: 8px; -webkit-text-stroke: 1px var(--forest); }

/* ---------- Футър ---------- */
.foot { background: var(--forest); color: var(--on-forest); position: relative; padding-top: 70px; margin-top: 20px; }
.foot__contours { position: absolute; left: 0; top: 0; width: 100%; height: 120px; }
.foot__contours path { fill: none; stroke: var(--moss); stroke-width: 1.3; opacity: .6; }
.foot__grid { position: relative; display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot__logo img { height: 48px; width: auto; }
.foot__brand p { color: rgba(242, 244, 239, .82); max-width: 42ch; margin-top: 14px; }
.foot a { color: var(--on-forest); }
.foot__mail a { color: var(--wheat); }
.foot__title { font-size: .95rem; color: var(--wheat); margin-bottom: 12px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot__list a { text-decoration: none; opacity: .9; }
.foot__list a:hover { text-decoration: underline; opacity: 1; }
.foot__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(242, 244, 239, .16); font-size: var(--step--1); color: rgba(242, 244, 239, .72); }
.foot__bottom p { margin: 0; }
.foot__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.foot__legal a { color: rgba(242, 244, 239, .85); text-decoration: none; }
.foot__legal a:hover { text-decoration: underline; }

/* ---------- WordPress ---------- */
.alignleft { float: left; margin: .4em 1.2em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: var(--step--1); color: var(--muted); }
.sticky .story__title::after { content: ""; }

@media print {
	.topbar, .mast, .ludogorie, .ticker, .with-aside__side, .foot, .share, .related { display: none !important; }
	body { background: #fff; }
}
