/* ==========================================================================
   Новини Кюстендил – основни стилове
   Палитра: черешово вино + минерален тюркоаз върху топъл крем
   ========================================================================== */

:root {
	--wine: #6d1230;
	--wine-d: #3e0819;
	--wine-dd: #2a0511;
	--cherry: #e3123f;
	--cherry-l: #ff3d5e;
	--mint: #0f9d92;
	--mint-l: #3fd0c2;
	--mint-bg: #e3f6f3;
	--gold: #f2b84b;
	--bg: #faf6f1;
	--paper: #ffffff;
	--paper-2: #f4ece6;
	--ink: #1d1418;
	--ink-2: #3b2c32;
	--muted: #6f6166;
	--line: #eadfd8;
	--shadow: 0 1px 2px rgba(62, 8, 25, .06), 0 8px 24px -12px rgba(62, 8, 25, .18);
	--shadow-lg: 0 18px 40px -18px rgba(62, 8, 25, .35);
	--radius: 14px;
	--radius-sm: 9px;
	--f-head: "Commissioner", "Segoe UI", system-ui, sans-serif;
	--f-body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
	--container: 1240px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--wine: #ff5c7f;
	--wine-d: #2b0a14;
	--wine-dd: #1a050c;
	--cherry: #ff4d6d;
	--mint: #3fd0c2;
	--mint-bg: #0f2a28;
	--bg: #130b0e;
	--paper: #1d1317;
	--paper-2: #26191e;
	--ink: #f4eaed;
	--ink-2: #dcccd1;
	--muted: #ac9aa0;
	--line: #34242a;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -14px rgba(0, 0, 0, .7);
	--shadow-lg: 0 18px 40px -18px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--wine: #ff5c7f;
		--wine-d: #2b0a14;
		--wine-dd: #1a050c;
		--cherry: #ff4d6d;
		--mint: #3fd0c2;
		--mint-bg: #0f2a28;
		--bg: #130b0e;
		--paper: #1d1317;
		--paper-2: #26191e;
		--ink: #f4eaed;
		--ink-2: #dcccd1;
		--muted: #ac9aa0;
		--line: #34242a;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -14px rgba(0, 0, 0, .7);
		--shadow-lg: 0 18px 40px -18px rgba(0, 0, 0, .8);
		color-scheme: dark;
	}
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wine); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.site-main { min-height: 60vh; padding-bottom: 40px; }

/* ---------- Бутони ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--wine); color: #fff; border: 0; border-radius: 999px;
	padding: 12px 22px; font-weight: 700; font-family: var(--f-head); font-size: 15px;
	transition: transform .15s, background .2s;
}
:root[data-theme="dark"] .btn { color: #1a050c; }
.btn:hover { background: var(--cherry); color: #fff; transform: translateY(-1px); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Горна лента ---------- */
.topbar { background: var(--wine-dd); color: #f3dfe5; font-size: 13.5px; }
.topbar__in { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.topbar__date { display: inline-flex; align-items: center; gap: 7px; opacity: .9; }
.topbar__date svg { width: 15px; height: 15px; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar__link { color: #f3dfe5; opacity: .85; }
.topbar__link:hover { color: #fff; opacity: 1; }
.wx-mini { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); padding: 3px 10px; border-radius: 999px; color: #fff; }
.wx-mini:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.wx-mini__t { font-weight: 700; }
.wx-mini__city { opacity: .8; }
.mode-toggle { background: transparent; border: 0; color: #f3dfe5; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.mode-toggle:hover { background: rgba(255, 255, 255, .12); }
.mode-toggle svg { width: 17px; height: 17px; fill: currentColor; }
.mode-toggle .i-sun { display: none; }
:root[data-theme="dark"] .mode-toggle .i-sun { display: block; }
:root[data-theme="dark"] .mode-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .mode-toggle .i-sun { display: block; }
	:root:not([data-theme="light"]) .mode-toggle .i-moon { display: none; }
}

/* ---------- Хедър ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(62, 8, 25, .45); }
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.site-logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.site-logo .logo-mark { border-radius: 14px; box-shadow: 0 6px 16px -8px rgba(109, 18, 48, .7); }
.site-logo__text { display: flex; flex-direction: column; line-height: 1; }
.site-logo__a { font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--mint); }
.site-logo__b { font-family: var(--f-head); font-weight: 900; font-size: 25px; letter-spacing: -.02em; color: var(--wine); margin-top: 3px; }
.site-logo--light .site-logo__b { color: #fff; }
.site-logo--light .site-logo__a { color: var(--mint-l); }
.custom-logo-link img { max-height: 54px; width: auto; }

.main-nav { flex: 1; min-width: 0; }
.main-nav .menu, .main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 9px 11px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink-2); border-radius: 9px; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--wine); background: var(--paper-2); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; max-width: 320px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 600; font-size: 14.5px; padding: 8px 12px; white-space: normal; }
.main-nav .menu > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }
.site-header__actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; }
.icon-btn:hover { background: var(--wine); color: #fff; }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; flex-direction: column; gap: 4px; place-items: initial; align-items: center; justify-content: center; }
.burger span { width: 19px; height: 2.4px; background: currentColor; border-radius: 2px; display: block; }
.search-panel { border-top: 1px solid var(--line); padding: 14px 0; background: var(--paper); }
.search-form { display: flex; gap: 8px; }
.search-form__input, .search-form input[type="search"] { flex: 1; min-width: 0; border: 2px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 11px 18px; font: inherit; }
.search-form__input:focus { border-color: var(--mint); outline: 0; }
.search-form__btn, .search-form button { border: 0; background: var(--wine); color: #fff; border-radius: 999px; padding: 0 20px; font-weight: 700; }

/* ---------- Бягаща лента ---------- */
.ticker { background: var(--paper); border-bottom: 1px solid var(--line); }
.ticker__in { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.ticker__label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--cherry); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: inline-flex; gap: 36px; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker__move:hover { animation-play-state: paused; }
.ticker__move a { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.ticker__move time { color: var(--mint); font-weight: 800; margin-right: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__move { animation: none; } }

/* ---------- Заглавия на секции ---------- */
.section-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 900; margin: 0 0 18px; }
.section-title span { position: relative; padding-left: 16px; }
.section-title span::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 6px; background: linear-gradient(var(--cherry), var(--wine)); }
.section-title::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.section-title--sm { font-size: 18px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 800; color: var(--wine); font-size: 15px; }
.more-link:hover { color: var(--cherry); }

/* ---------- Значка на категория ---------- */
.cat-badge { display: inline-block; font-family: var(--f-head); font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; background: var(--wine); color: #fff; padding: 4px 10px; border-radius: 6px; line-height: 1.3; }
.cat-badge:hover { background: var(--cherry); color: #fff; }
:root[data-theme="dark"] .cat-badge { color: #1a050c; }
.cat-badge.cat-dupnitsa { background: #8a3b12; }
.cat-badge.cat-oblast { background: #0b6f67; }
.cat-badge.cat-kriminalni { background: #1f1f2b; }
.cat-badge.cat-kultura { background: #6a2c91; }
.cat-badge.cat-sport { background: #0d6b3a; }
.cat-badge.cat-turizam { background: #0f7f8c; }
.cat-badge.cat-zdrave { background: #b4233c; }
.cat-badge.cat-ikonomika { background: #9a6a00; }
.cat-badge.cat-polezno { background: #34506e; }
:root[data-theme="dark"] .cat-badge[class*="cat-"] { color: #fff; }
.cat-badge--text { background: none !important; color: var(--cherry) !important; padding: 0; }

.meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.meta__dot { opacity: .6; }

/* ---------- Миниатюри ---------- */
.thumb-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 120px; background: radial-gradient(circle at 30% 20%, #8c1b3e, var(--wine-dd)); color: #fff; }
.thumb-fallback__mark .logo-mark { width: 46px; height: 46px; opacity: .9; }
.thumb-fallback__label { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ---------- Начало: слайдер (компактен) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--wine-dd); aspect-ratio: 16 / 9; max-height: 430px; box-shadow: var(--shadow-lg); }
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img, .slide__img img, .slide__img .thumb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide__img img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 30px; background: linear-gradient(transparent, rgba(26, 5, 12, .55) 35%, rgba(26, 5, 12, .94)); color: #fff; }
.slide__title { font-size: clamp(20px, 2.3vw, 30px); font-weight: 900; margin: 10px 0 8px; color: #fff; text-wrap: balance; }
.slide__title a:hover { color: #ffd6df; }
.slide__excerpt { margin: 0 0 8px; color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__overlay .meta { color: rgba(255, 255, 255, .75); }
.slider__arrow { position: absolute; top: 42%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; opacity: 0; transition: .2s; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
.slider__arrow:hover { background: var(--cherry); }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
.slider__dots { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; gap: 6px; }
.slider__dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: .25s; }
.slider__dots button.is-active { width: 26px; background: var(--mint-l); }
.slider__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255, 255, 255, .12); }
.slider__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint-l), var(--cherry-l)); }
.slider__bar span.run { animation: bar 6s linear forwards; }
@keyframes bar { to { width: 100%; } }
.hero__side { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 6px; align-self: start; }
.hero__side .row-card:last-child { border-bottom: 0; }
.hero__side { padding: 16px 18px 4px; }
.hero__side .section-title { margin-bottom: 6px; }
.hero__side .row-card { padding: 9px 0; gap: 12px; }
.hero__side .row-card__img { width: 84px; }
.hero__side .row-card__title { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__side .row-card .meta { font-size: 12px; }

/* ---------- Карти ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip4 { margin-top: 24px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body .cat-badge { align-self: flex-start; }
.card__title { font-size: 18.5px; font-weight: 800; margin: 0; text-wrap: pretty; }
.card__excerpt { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.55; }
.card__body .meta { margin-top: auto; }
.card--compact .card__title { font-size: 16px; }
.card--compact .card__body { padding: 12px 14px 14px; }
.card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.card--feature .card__img { aspect-ratio: auto; min-height: 280px; }
.card--feature .card__title { font-size: 26px; }
.card--feature .card__body { padding: 26px; justify-content: center; }

.row-card { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.row-card__img { flex-shrink: 0; width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.row-card__img img, .row-card__img .thumb-fallback { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.row-card__img .thumb-fallback__label { display: none; }
.row-card__img .logo-mark { width: 30px !important; height: 30px !important; }
.row-card__num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-head); font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--cherry), var(--wine)); }
.row-card__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-card__title { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.35; }
.row-card .cat-badge--text { font-size: 10.5px; }

/* ---------- Полезно: плочки ---------- */
.quick { margin-top: 36px; }
.quick__head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 14px; }
.quick__head .section-title { margin: 0; flex: 1; min-width: 240px; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; transition: .2s; }
.tile::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 76px; height: 76px; border-radius: 50%; background: var(--mint-bg); transition: .3s; }
.tile:hover { transform: translateY(-2px); color: var(--ink); }
.tile:hover::after { transform: scale(1.5); background: rgba(227, 18, 63, .1); }
.tile__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--wine); color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.tile__icon svg { width: 22px; height: 22px; }
.tile__t { font-family: var(--f-head); font-weight: 800; font-size: 15.5px; position: relative; z-index: 1; }
.tile__s { font-size: 12.5px; color: var(--muted); position: relative; z-index: 1; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.qlist a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.qlist a:hover { background: var(--paper-2); }
.qlist svg { width: 19px; height: 19px; color: var(--mint); flex-shrink: 0; }

/* ---------- Времето: лента ---------- */
.wx-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wx-strip__item { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "i c" "i t"; column-gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-size: 13px; }
.wx-strip__icon { grid-area: i; font-size: 24px; }
.wx-strip__city { grid-area: c; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-strip__t { grid-area: t; font-family: var(--f-head); font-weight: 900; font-size: 17px; color: var(--wine); }
.wx-strip__mm { display: none; }
.sidebar .wx-strip, .drawer .wx-strip { grid-template-columns: 1fr 1fr; }
.sidebar .wx-strip__item { box-shadow: none; background: var(--paper-2); }

/* ---------- Оформление с колона ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; margin-top: 36px; align-items: start; }
.layout__side { position: sticky; top: 96px; }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.widget { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.widget-title { font-size: 17px; font-weight: 900; margin: 0 0 10px; display: flex; align-items: center; gap: 9px; }
.widget-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cherry); box-shadow: 9px -5px 0 -1px var(--mint); margin-right: 8px; }
.widget--popular .row-card:last-child { border-bottom: 0; }
.widget--signal { background: linear-gradient(140deg, var(--wine), var(--wine-dd)); color: #f7e3e9; }
.widget--signal .widget-title { color: #fff; }
.widget--signal p { font-size: 15px; }
.widget--signal__mail { font-weight: 800; color: #fff; font-family: var(--f-head); background: rgba(255, 255, 255, .1); padding: 8px 12px; border-radius: 10px; word-break: break-all; }
:root[data-theme="dark"] .widget--signal { background: linear-gradient(140deg, #4a0d22, #1d0710); }

/* ---------- По раздели (табове) ---------- */
.region { margin-top: 38px; }
.region__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.region__tabs button { border: 0; background: var(--paper); box-shadow: var(--shadow); color: var(--ink-2); font-family: var(--f-head); font-weight: 800; padding: 9px 16px; border-radius: 999px; }
.region__tabs button[aria-selected="true"] { background: var(--wine); color: #fff; }
.region__panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 20px 18px; }
.region__panel .grid { gap: 0 24px; }

/* ---------- Тематични ленти ---------- */
.band { margin-top: 40px; padding: 30px 0; }
.band:nth-of-type(even) { background: linear-gradient(180deg, var(--paper-2), transparent); }
.band__head { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.band__head .section-title { flex: 1; margin-bottom: 14px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.discover { margin-top: 40px; }

.subpages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.subpage-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: .2s; }
.subpage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.subpage-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.subpage-card__img img, .subpage-card__img .thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.subpage-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; }
.subpage-card__body strong { font-family: var(--f-head); font-size: 16.5px; line-height: 1.3; }
.subpage-card__body span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.entry-content .subpages a { text-decoration: none; }

/* ---------- Трохи ---------- */
.breadcrumbs { margin: 20px 0 4px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumbs a:hover { color: var(--wine); }

/* ---------- Статия ---------- */
.layout:has(.entry) { margin-top: 14px; }
.entry { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 40px 30px; }
.entry-header { margin-bottom: 22px; }
.entry-title { font-size: clamp(27px, 3.3vw, 40px); font-weight: 900; margin: 12px 0 12px; text-wrap: balance; }
.entry--page .entry-title { margin-top: 0; }
.entry-lead { font-size: 19px; color: var(--ink-2); line-height: 1.55; font-weight: 500; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.entry-meta__by { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.entry-meta__by .logo-mark { width: 26px; height: 26px; border-radius: 8px; }
.entry-image { margin: 0 -40px 24px; }
.entry-image img { width: 100%; max-height: 560px; object-fit: cover; }
.img-credit { font-size: 12.5px; color: var(--muted); padding: 8px 40px 0; }
.img-credit a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.entry-content > * { max-width: 760px; }
.entry-content h2 { font-size: 26px; font-weight: 900; margin: 1.6em 0 .55em; color: var(--ink); }
.entry-content h3 { font-size: 21px; font-weight: 800; margin: 1.4em 0 .5em; color: var(--ink); }
.entry-content a { color: var(--wine); text-decoration: underline; text-decoration-color: rgba(227, 18, 63, .35); text-underline-offset: 3px; font-weight: 600; }
.entry-content a:hover { text-decoration-color: var(--cherry); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--cherry); }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 5px solid var(--mint); background: var(--mint-bg); border-radius: 0 12px 12px 0; font-size: 18.5px; color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.entry-content th { background: var(--wine); color: #fff; text-align: left; font-family: var(--f-head); padding: 10px 12px; white-space: nowrap; }
:root[data-theme="dark"] .entry-content th { color: #1a050c; }
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: var(--paper-2); }
.entry-content img { border-radius: 12px; }
.entry-content figure { margin: 1.5em 0; }
.entry-source { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 18px; }

.summary-box { margin: 0 0 26px; padding: 18px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--mint-bg), transparent 80%), var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.summary-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--mint), var(--cherry)); }
.summary-box__head { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); margin-bottom: 8px; }
.summary-box ul { margin: 0; padding-left: 1.1em; }
.summary-box li { margin-bottom: 4px; font-size: 16px; }
.summary-box p { margin: 0; }

.faq-box { margin-top: 34px; }
.faq-box h2 { font-size: 24px; font-weight: 900; }
.faq-box details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--paper); overflow: hidden; }
.faq-box summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; font-family: var(--f-head); font-weight: 800; font-size: 16.5px; position: relative; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--wine); font-size: 18px; }
.faq-box details[open] summary::after { content: "–"; background: var(--wine); color: #fff; }
.faq-box__a { padding: 0 18px 14px; color: var(--ink-2); font-size: 16px; }
.faq-box__a p:last-child { margin: 0; }

.info-box { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.info-box__title { display: block; font-family: var(--f-head); font-weight: 900; color: var(--wine); margin-bottom: 4px; }
.info-box p:last-child { margin: 0; }
.info-box--warning { background: #fff5e6; border-color: #f2d199; }
.info-box--warning .info-box__title { color: #9a5b00; }
:root[data-theme="dark"] .info-box--warning { background: #2a1e0b; border-color: #5a4316; }

/* ---------- Споделяне ---------- */
.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share__label { font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--muted); }
.share__btns { display: flex; gap: 7px; flex-wrap: wrap; }
.share__btn { position: relative; width: 38px; height: 38px; border-radius: 11px; border: 0; display: grid; place-items: center; color: #fff; transition: transform .15s; }
.share__btn:hover { transform: translateY(-2px); color: #fff; }
.share__btn svg { width: 18px; height: 18px; fill: currentColor; }
.share__btn--facebook { background: #1877f2; }
.share__btn--x { background: #111; }
.share__btn--viber { background: #7360f2; }
.share__btn--whatsapp { background: #25d366; }
.share__btn--telegram { background: #229ed9; }
.share__btn--linkedin { background: #0a66c2; }
.share__btn--email { background: #6b5a60; }
.share__btn--copy { background: var(--mint); }
.share__btn--native { background: var(--wine); display: none; }
.has-native-share .share__btn--native { display: grid; }
.share__copied { position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.share__btn.is-copied .share__copied { opacity: 1; }
.entry-footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.35; }
.post-nav small { color: var(--mint); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.post-nav__next { text-align: right; grid-column: 2; }
.related { margin-top: 38px; }
.related .grid--3 { gap: 16px; }
.related .card__excerpt { display: none; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 100; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint-l), var(--cherry)); }

/* ---------- Архиви ---------- */
.archive-header { margin: 10px 0 0; padding: 26px 30px; border-radius: var(--radius); background: linear-gradient(120deg, var(--wine), var(--wine-dd)); color: #fff; position: relative; overflow: hidden; }
.archive-header::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 208, 194, .35), transparent 70%); }
.archive-title { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin: 0 0 6px; }
.archive-desc { color: rgba(255, 255, 255, .85); max-width: 760px; font-size: 16px; }
.archive-desc p { margin: 0; }
.layout:has(.archive-grid) { margin-top: 26px; }
.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-weight: 700; }
.page-numbers.current { background: var(--wine); color: #fff; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 70px 20px; max-width: 640px; }
.notfound__code { font-family: var(--f-head); font-size: 120px; font-weight: 900; color: var(--wine); line-height: 1; }
.notfound__code span { color: var(--cherry); }
.notfound .search-form { margin: 20px 0; }

/* ---------- Времето: пълна прогноза ---------- */
.wx { margin: 1.2em 0 1.8em; max-width: none !important; }
.wx--error { padding: 16px; border-radius: 12px; background: var(--paper-2); }
.wx__now { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, #0b5e58, var(--wine-d)); color: #fff; }
.wx__now-main { display: flex; align-items: center; gap: 16px; }
.wx__big-icon { font-size: 64px; line-height: 1; }
.wx__place { font-size: 14px; opacity: .85; }
.wx__temp { font-family: var(--f-head); font-size: 52px; font-weight: 900; line-height: 1; }
.wx__desc { font-size: 15px; opacity: .9; }
.wx__stats { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wx__stats li { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; margin: 0 !important; }
.wx__stats span { font-size: 12.5px; opacity: .8; }
.wx__stats strong { font-family: var(--f-head); font-size: 16px; }
.entry-content .wx__h { font-size: 19px; margin: 22px 0 10px; }
.wx__hours { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.wx__hour { flex: 0 0 66px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border-radius: 12px; background: var(--paper-2); font-size: 13px; }
.wx__hour-i { font-size: 22px; }
.wx__hour strong { font-family: var(--f-head); font-size: 16px; color: var(--ink); }
.wx__hour-p { color: var(--mint); font-weight: 700; }
.wx__days { display: flex; flex-direction: column; gap: 6px; }
.wx__day { display: grid; grid-template-columns: 70px 36px 1fr 74px 90px; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; background: var(--paper-2); font-size: 15px; }
.wx__day-name { font-weight: 800; display: flex; flex-direction: column; line-height: 1.2; font-family: var(--f-head); }
.wx__day-name small { font-weight: 500; color: var(--muted); font-size: 12px; font-family: var(--f-body); }
.wx__day-icon { font-size: 24px; }
.wx__day-desc { color: var(--muted); font-size: 14px; }
.wx__day-rain { color: var(--mint); font-weight: 700; font-size: 14px; }
.wx__day-temp { text-align: right; }
.wx__day-temp strong { color: var(--cherry); font-family: var(--f-head); }
.wx__note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Реклама ---------- */
.ad-slot { margin: 26px auto; text-align: center; max-width: var(--container); padding: 0 20px; }
.ad-slot__label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.entry-content .ad-slot { padding: 0; }

/* ---------- Коментари ---------- */
.comments { margin-top: 36px; }
.comment-list { list-style: none; padding: 0; }

/* ---------- Футър ---------- */
.site-footer { position: relative; margin-top: 60px; background: var(--wine-dd); color: #e7d1d8; padding-top: 56px; }
:root[data-theme="dark"] .site-footer { background: #0d0608; }
.footer-cherries { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--cherry) 0 33%, var(--mint) 33% 66%, var(--gold) 66%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a { color: #e7d1d8; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-col--about p { font-size: 15px; margin-top: 16px; opacity: .85; }
.footer-mail { font-weight: 700; color: #fff; opacity: 1 !important; word-break: break-all; }
.footer-bottom { margin-top: 40px; padding: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; opacity: .75; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; }
.footer-bottom p { margin: 0; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--wine); color: #fff; font-size: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.cookie { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 90; max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .4); border: 1px solid var(--line); padding: 18px 20px; font-size: 14.5px; }
.cookie p { margin: 0 0 12px; }
.cookie strong { display: block; font-family: var(--f-head); font-size: 16px; margin-bottom: 4px; }
.cookie a { color: var(--wine); text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Мобилно меню ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(20, 5, 10, .55); backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--paper); padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; animation: slidein .25s ease-out; }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__menu, .drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer__menu a { display: block; padding: 11px 6px; font-family: var(--f-head); font-weight: 800; font-size: 17px; border-bottom: 1px solid var(--line); }
.drawer__menu .sub-menu a { font-weight: 600; font-size: 15px; padding-left: 20px; color: var(--ink-2); }

/* ---------- Админ мета кутия ---------- */
.nk-mb { font-family: inherit; }

/* ---------- Адаптивност ---------- */
@media (max-width: 1180px) {
	.main-nav a { padding: 8px 8px; font-size: 14px; }
	.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
	.main-nav { display: none; }
	.burger { display: flex; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.layout__side { position: static; }
	.sidebar { display: grid; grid-template-columns: 1fr 1fr; }
	.hero { grid-template-columns: minmax(0, 1fr); }
	.slider { max-height: none; }
	.hero__side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
	.hero__side .section-title { grid-column: 1 / -1; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.topbar__link { display: none; }
	.topbar__date { font-size: 12.5px; }
	.site-header__in { min-height: 62px; }
	.site-logo .logo-mark { width: 38px; height: 38px; }
	.site-logo__b { font-size: 21px; }
	.site-logo__a { font-size: 11px; }
	.grid--2, .grid--3, .subpages { grid-template-columns: minmax(0, 1fr); }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card--feature { grid-template-columns: 1fr; }
	.card--feature .card__img { min-height: 200px; }
	.card--feature .card__title { font-size: 21px; }
	.entry { padding: 22px 18px; border-radius: 0; margin: 0 -20px; box-shadow: none; }
	.entry-image { margin: 0 -18px 20px; }
	.img-credit { padding: 6px 18px 0; }
	.entry-content { font-size: 17px; }
	.entry-content h2 { font-size: 22px; }
	.wx__now { grid-template-columns: 1fr; }
	.wx__day { grid-template-columns: 56px 30px 1fr 70px; }
	.wx__day-desc { display: none; }
	.sidebar { grid-template-columns: minmax(0, 1fr); }
	.hero__side { grid-template-columns: minmax(0, 1fr); }
	.slide__overlay { padding: 50px 16px 20px; }
	.slide__excerpt { display: none; }
	.slider { aspect-ratio: 4 / 3; border-radius: 12px; }
	.slider__arrow { display: none; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
	.cookie__btns .btn { flex: 1; }
	.cookie { padding: 14px 16px; font-size: 13.5px; left: 10px; right: 10px; bottom: 10px; }
}
@media (max-width: 480px) {
	.container { padding: 0 14px; }
	.topbar .wx-mini__city { display: none; }
	.grid--4 { grid-template-columns: minmax(0, 1fr); }
	.strip4 .card { flex-direction: row; }
	.strip4 .card__img { width: 38%; flex-shrink: 0; aspect-ratio: auto; }
	.strip4 .card .meta { display: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.entry { margin: 0 -14px; }
	.archive-header { padding: 20px; }
}
@media print {
	.topbar, .site-header, .ticker, .sidebar, .site-footer, .share, .to-top, .cookie, .related, .post-nav, .ad-slot { display: none !important; }
	.layout { display: block; }
	.entry { box-shadow: none; padding: 0; }
}
