/* ==========================================================================
   Нашата Каварна — основен стил
   Палитра: добруджанско жито, мида, Черно море, мъгла над брега.
   ========================================================================== */

@font-face {
	font-family: "Unbounded";
	src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Unbounded";
	src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-display: swap;
	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: "Onest";
	src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	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 {
	--mist: #EAF0EF;      /* фон: мъгла над морето */
	--surface: #FFFFFF;
	--ink: #1C2333;       /* мида */
	--ink-2: #3A4458;
	--muted: #5B6577;
	--line: #CFD9D8;
	--sea: #11616B;       /* Черно море край Калиакра */
	--sea-deep: #0B4249;
	--sun: #F2C230;       /* добруджанско жито и слънчоглед */
	--sun-ink: #1C2333;
	--alert: #C8203A;
	--focus: #0F7C88;

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

	--wrap: 1220px;
	--gut: clamp(16px, 3vw, 32px);
	--r: 6px;
	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: 2rem;
	--step-4: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
	--step-5: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--mist: #0F141D;
		--surface: #161D29;
		--ink: #E7ECF1;
		--ink-2: #C3CBD6;
		--muted: #97A2B2;
		--line: #273142;
		--sea: #56B6C0;
		--sea-deep: #1F6E77;
		--sun: #F2C230;
		--sun-ink: #1C2333;
		--focus: #7BD3DC;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--mist: #0F141D;
	--surface: #161D29;
	--ink: #E7ECF1;
	--ink-2: #C3CBD6;
	--muted: #97A2B2;
	--line: #273142;
	--sea: #56B6C0;
	--sea-deep: #1F6E77;
	--sun: #F2C230;
	--sun-ink: #1C2333;
	--focus: #7BD3DC;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
	margin: 0;
	background: var(--mist);
	color: var(--ink);
	font: 400 var(--step-0)/1.6 var(--f-text);
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--mist); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }

/* ---------- Горна лента ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.topbar__in { display: flex; align-items: center; gap: 20px; min-height: 40px; }
.topbar__date { text-transform: none; }
.topbar__wx { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.topbar__wx b { font-weight: 650; }
.topbar__sea { color: var(--muted); }
.topbar__tools { margin-left: auto; }
.iconbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.iconbtn:hover { border-color: var(--ink); }
@media (max-width: 560px) { .topbar__date { display: none; } }

/* ---------- Шапка: жълтото поле и носът ---------- */
.mast { position: relative; background: var(--sun); color: var(--sun-ink); overflow: hidden; }
.mast__in { position: relative; z-index: 1; padding-top: clamp(18px, 3vw, 30px); padding-bottom: clamp(44px, 6vw, 70px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 32px; }
.mast--home .mast__in { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(64px, 9vw, 120px); }
.brand { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .86; letter-spacing: -0.02em; }
.brand a { color: inherit; text-decoration: none; display: inline-flex; flex-direction: column; }
.brand__a { font-size: clamp(1rem, .7rem + 1.2vw, 1.6rem); font-weight: 500; letter-spacing: 0; line-height: 1.1; }
.brand__b { font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem); }
.mast--home .brand__b { font-size: var(--step-5); }
.mast__tag { margin: 0 0 .4em; max-width: 30ch; font-size: var(--step--1); font-weight: 500; line-height: 1.4; }
.mast--home .mast__tag { font-size: var(--step-0); max-width: 26ch; }
.mast__logo img { max-height: 80px; width: auto; }
.cape { width: 100%; height: clamp(34px, 6vw, 72px); }
.mast__cape { position: absolute; left: 0; right: 0; bottom: -1px; }
.mast--home .mast__cape { height: clamp(48px, 9vw, 120px); }
.cape__land { fill: var(--ink); }
.cape__sea { fill: var(--sea); }
.cape__light { stroke: var(--ink); stroke-width: 3; fill: none; }
:root[data-theme="dark"] .mast .cape__land { fill: #0F141D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mast .cape__land { fill: #0F141D; } }

/* ---------- Навигация ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--mist); }
:root[data-theme="dark"] .nav { background: #0F141D; border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav { background: #0F141D; border-bottom: 1px solid var(--line); } }
.nav__in { display: flex; align-items: center; gap: 12px; min-height: 54px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: 15px 12px; color: #E7ECF1; text-decoration: none; font-weight: 550; font-size: .97rem; white-space: nowrap; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list .current-category-ancestor > a { color: var(--sun); }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 14px 30px -12px rgba(16, 24, 40, .35); display: none; }
.nav__list .sub-menu a { color: var(--ink); padding: 9px 12px; border-radius: 4px; font-weight: 500; }
.nav__list .sub-menu a:hover { background: var(--mist); color: var(--ink); }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { display: block; }
.nav__toggle { display: none; align-items: center; gap: 8px; background: none; border: 0; color: #E7ECF1; padding: 12px 0; cursor: pointer; font-weight: 600; }
.nav__search { margin-left: auto; display: flex; align-items: center; background: rgba(255,255,255,.08); border-radius: 999px; padding: 0 4px 0 14px; }
.nav__search input { background: transparent; border: 0; color: #E7ECF1; width: 150px; padding: 8px 0; outline: none; }
.nav__search input::placeholder { color: #A9B3C2; }
.nav__search button { background: none; border: 0; color: #E7ECF1; padding: 8px; cursor: pointer; display: grid; place-items: center; }
.nav__search:focus-within { outline: 2px solid var(--sun); }

@media (max-width: 980px) {
	.nav__toggle { display: inline-flex; }
	.nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); max-height: calc(100vh - 54px); overflow: auto; border-top: 1px solid rgba(255,255,255,.1); }
	.nav.is-open .nav__menu { display: block; }
	.nav__list { flex-direction: column; padding: 8px var(--gut) 20px; }
	.nav__list a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.nav__list .sub-menu { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.nav__list .sub-menu a { color: #C3CBD6; }
	.nav__search input { width: 110px; }
}

/* ---------- Общи блокове ---------- */
.main { padding-bottom: 64px; }
.sec { margin-top: clamp(40px, 6vw, 72px); }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; border-top: 3px solid var(--ink); padding-top: 12px; }
.sec__lede { margin: 0; color: var(--muted); font-size: var(--step--1); }
.sec-h { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.01em; }
.sec-h a { color: inherit; text-decoration: none; }
.sec-h a:hover { color: var(--sea); }
.sec-h--small { font-size: var(--step-1); margin-bottom: 14px; }
.kicker { display: inline-block; font-size: var(--step--1); font-weight: 650; color: var(--sea); text-decoration: none; margin-bottom: 6px; }
.kicker:hover { text-decoration: underline; }
.meta { margin: 8px 0 0; font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.more { display: inline-block; margin-top: 14px; font-weight: 650; }
.empty { padding: 32px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }

.grid3 { display: grid; gap: 28px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* Резервна "снимка" — носът върху морето */
.ph { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; background: var(--ph, var(--sea)); overflow: hidden; }
.ph__cape { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; }
.ph__cape .cape__land { fill: rgba(255,255,255,.14); }
.ph__cape .cape__sea { fill: rgba(255,255,255,.08); }
.ph__cape .cape__light { stroke: var(--sun); }
.card .ph__t, .strip .ph__t, .row .ph__t, .kid .ph__t { display: none; }
.ph__t { position: absolute; left: 14px; right: 14px; top: 12px; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1.2; opacity: .9; }

/* ---------- Водещи новини ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(24px, 4vw, 40px); }
.lead__img { display: block; }
.lead__img img, .lead__img .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.lead__body { padding-top: 16px; }
.lead__title { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.lead__title a { color: inherit; text-decoration: none; }
.lead__title a:hover { color: var(--sea); }
.lead__ex { margin: 12px 0 0; font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; line-height: 1.5; }
.lead__side { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.5vw, 32px); }
.latest { list-style: none; margin: 0; padding: 0; }
.latest__i { padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest__i:first-child { padding-top: 0; }
.latest__i time { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
.latest__i a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.latest__i a:hover { color: var(--sea); }
@media (max-width: 860px) {
	.lead { grid-template-columns: 1fr; }
	.lead__side { border-left: 0; padding-left: 0; border-top: 3px solid var(--ink); padding-top: 12px; }
}

/* ---------- Табло "Сега в Каварна" ---------- */
.board { margin-top: clamp(36px, 5vw, 56px); background: var(--surface); border-block: 1px solid var(--line); padding-bottom: 8px; }
.board__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board__cell { display: flex; flex-direction: column; gap: 2px; padding: 22px 20px 18px; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.board__cell:first-child { padding-left: 0; }
.board__cell:last-child { border-right: 0; }
.board__cell:hover .board__val { color: var(--sea); }
.board__lbl { font-size: var(--step--1); color: var(--muted); }
.board__val { font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1.1; font-variant-numeric: tabular-nums; }
.board__sub { font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 860px) {
	.board__in { grid-template-columns: 1fr 1fr; }
	.board__cell { padding: 16px 12px; border-bottom: 1px solid var(--line); }
	.board__cell:nth-child(2n) { border-right: 0; }
	.board__cell:nth-child(2n+1) { padding-left: 0; }
}
.useful { list-style: none; margin: 0; padding: 14px 0 10px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.useful a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; white-space: nowrap; background: var(--surface); }
.useful a:hover { border-color: var(--ink); }
.useful .ico { color: var(--sea); }
.useful--left { flex-wrap: wrap; overflow: visible; }

/* ---------- Карти ---------- */
.card { display: flex; flex-direction: column; }
.card__img { display: block; margin-bottom: 12px; }
.card__img img, .card__img .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.card__t { margin: 0; font-size: var(--step-1); line-height: 1.28; font-weight: 700; letter-spacing: -0.005em; text-wrap: pretty; }
.card__t a { color: var(--ink); text-decoration: none; }
.card__t a:hover { color: var(--sea); }
.card__x { margin: 8px 0 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.card--compact .card__t { font-size: 1.05rem; }

/* ---------- Брегът (хоризонтална лента) ---------- */
.coast { margin-top: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 44px) 0; background: var(--ink); color: #E7ECF1; }
:root[data-theme="dark"] .coast { background: #0B1018; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .coast { background: #0B1018; } }
.coast .sec__head { border-top-color: var(--sun); }
.coast .sec-h a { color: #fff; }
.coast .sec-h a:hover { color: var(--sun); }
.coast .sec__lede { color: #A9B3C2; }
.strip { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip__i { scroll-snap-align: start; }
.strip__i a { color: #fff; text-decoration: none; display: block; }
.strip__img img, .strip__img .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.strip__t { display: block; margin-top: 10px; font-weight: 650; }
.strip__i a:hover .strip__t { color: var(--sun); }

/* ---------- Селата ---------- */
.vlist { list-style: none; margin: 0; padding: 0; columns: 4 180px; column-gap: 24px; }
.vlist li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.vlist a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.vlist a:hover { color: var(--sea); }
.vlist--tight { columns: 3 160px; }

/* ---------- Архиви ---------- */
.crumbs { margin: 22px 0 0; 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-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); }
.arch-head { margin: 16px 0 28px; }
.arch-head__t { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: var(--step-4); line-height: 1.1; letter-spacing: -0.015em; }
.arch-head__d { color: var(--ink-2); max-width: 70ch; margin-top: 10px; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 550; }
.chips a:hover { border-color: var(--ink); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 0; }
.row__img img, .row__img .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.row__t { margin: 0; font-size: var(--step-1); line-height: 1.28; font-weight: 700; }
.row__t a { color: var(--ink); text-decoration: none; }
.row__t a:hover { color: var(--sea); }
.row__x { margin: 6px 0 0; color: var(--ink-2); }
@media (max-width: 600px) { .row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } .row__x { display: none; } .row__t { font-size: 1.05rem; } }
.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--surface); }
.page-numbers.current { background: var(--ink); color: var(--mist); border-color: var(--ink); }

/* ---------- Странична колона ---------- */
.layout__side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 980px) { .layout__side { position: static; } }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; }
.side-box__title { margin: 0 0 12px; font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.side-box--now { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.now { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.now__cell { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.now__cell--wide { grid-column: 1 / -1; border-top: 1px solid rgba(28,35,51,.2); padding-top: 10px; }
.now__val { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.now__lbl { font-size: .82rem; }
.toplist { margin: 0; padding-left: 1.4em; }
.toplist li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.toplist li:last-child { border-bottom: 0; }
.toplist a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.toplist a:hover { color: var(--sea); }
.toplist li::marker { font-family: var(--f-display); color: var(--sea); font-weight: 600; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side-links a { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 550; }
.side-links a:hover { background: var(--mist); }
.side-links .ico { color: var(--sea); flex: none; }

/* ---------- Статия ---------- */
.article__head { margin: 14px 0 22px; max-width: 760px; }
.page-t { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: var(--step-4); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.lede { margin: 14px 0 0; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.meta--article { margin-top: 14px; }
.hero { margin: 0 0 28px; }
.hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.hero figcaption, .prose figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.credit a { color: var(--muted); }

.prose { max-width: 72ch; font-size: 1.09rem; line-height: 1.72; }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 1.05em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { margin: 1.8em 0 0; font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.01em; }
.prose h3 { margin: 1.5em 0 0; font-size: var(--step-1); font-weight: 750; line-height: 1.3; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--sea); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sun); color: var(--ink-2); font-size: 1.12em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sea); padding: 14px 18px; border-radius: var(--r); }
.prose .facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.prose .facts dt { color: var(--muted); }
.prose .facts dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .prose .facts { grid-template-columns: 1fr; } .prose .facts dd { margin-bottom: 6px; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.prose table, table.bus { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.4; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--mist); font-weight: 650; font-size: .9rem; color: var(--ink-2); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; }
.bus__t { font-family: var(--f-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.bus tr.is-next td { background: color-mix(in srgb, var(--sun) 28%, transparent); }
.bus tr.is-past td { color: var(--muted); }
.bus tr.is-off td { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; font-size: .97rem; }
.toc__t { margin: 0 0 6px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li + li { margin-top: 3px; }

.kids { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kids li + li { margin-top: 0; }
.kid__link { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--ink); height: 100%; }
.kid__link:hover { border-color: var(--ink); }
.kid__img img, .kid__img .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.kid__img .ph__t { display: none; }
.kid__t { display: block; font-weight: 700; line-height: 1.3; }
.kid__x { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
@media (max-width: 640px) { .kids { grid-template-columns: 1fr; } }

.inline-posts { list-style: none; padding: 0 !important; }
.inline-posts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.inline-posts time { color: var(--muted); font-size: .9rem; white-space: nowrap; }

.article__foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 72ch; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.share__l { font-weight: 650; margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.related { margin-top: 44px; padding-top: 14px; border-top: 3px solid var(--ink); }

/* ---------- Времето ---------- */
.wx { margin: 1.2em 0 1.6em; }
.wx__now { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; background: var(--sun); color: var(--sun-ink); border-radius: var(--r); padding: 24px 28px; }
.wx__temp { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.4rem, 2rem + 6vw, 6rem); line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.wx__desc { margin: 0 0 10px !important; font-size: var(--step-1); font-weight: 650; }
.wx__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; margin: 0; }
.wx__facts dt { font-size: .82rem; opacity: .8; }
.wx__facts dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .wx__now { grid-template-columns: 1fr; padding: 20px; } .wx__facts { grid-template-columns: 1fr 1fr; } }
.wx__h { font-family: var(--f-display) !important; font-weight: 600 !important; font-size: 1.1rem !important; margin-top: 1.6em !important; }
.wx__hours { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-top: .6em; scrollbar-width: thin; }
.wx__hour { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: .86rem; font-variant-numeric: tabular-nums; }
.wx__hour b { font-size: 1.05rem; }
.wx__hour .wx__p { color: var(--sea); font-size: .78rem; }
.wx__hour svg, .wx__day svg { width: 28px; height: 28px; }
.wx__days { list-style: none; padding: 0 !important; margin-top: .6em !important; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.wx__day { display: grid; grid-template-columns: 9.5em 34px minmax(0, 1fr) 11.5em; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; margin: 0 !important; }
.wx__day:last-child { border-bottom: 0; }
.wx__d { font-weight: 650; }
.wx__d small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.wx__range { display: flex; align-items: center; gap: 10px; }
.wx__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--mist); position: relative; }
.wx__bar span { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, var(--sea), var(--sun)); }
.wx__lo { color: var(--muted); width: 2.6em; text-align: right; }
.wx__hi { font-weight: 700; width: 2.6em; }
.wx__rain { color: var(--sea); font-size: .86rem; white-space: nowrap; }
@media (max-width: 600px) { .wx__day { grid-template-columns: 7.2em 28px minmax(0, 1fr); } .wx__rain { grid-column: 3; } }
.wx__src { font-size: .84rem; color: var(--muted); }

/* ---------- Търсене, коментари, 404 ---------- */
.searchform { display: flex; gap: 8px; max-width: 520px; margin: 18px 0; }
.searchform input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.searchform button, .comment-form .submit { padding: 11px 18px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--mist); font-weight: 650; cursor: pointer; }
.searchform button:hover, .comment-form .submit:hover { background: var(--sea); color: #fff; }
.notfound { padding-top: 48px; }
.comments { margin-top: 44px; max-width: 72ch; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.comments__list { padding-left: 0; list-style: none; }
.comments__list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- Футър ---------- */
.foot { margin-top: 24px; color: #C3CBD6; }
.foot__cape { display: block; height: clamp(30px, 5vw, 60px); }
.foot__cape .cape__land { fill: var(--ink); }
:root[data-theme="dark"] .foot__cape .cape__land { fill: #0B1018; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot__cape .cape__land { fill: #0B1018; } }
.foot__body { background: var(--ink); padding: 28px 0 32px; margin-top: -1px; }
:root[data-theme="dark"] .foot__body { background: #0B1018; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot__body { background: #0B1018; } }
.foot a { color: #E7ECF1; }
.foot a:hover { color: var(--sun); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.brand--foot { color: var(--sun); font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }
.brand--foot a { flex-direction: row; gap: .3em; color: var(--sun); }
.brand--foot .brand__a, .brand--foot .brand__b { font-size: inherit; font-weight: 700; }
.foot__about p { max-width: 42ch; }
.foot__h { margin: 4px 0 12px; font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: #fff; }
.foot__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.foot__list li { padding: 4px 0; break-inside: avoid; }
.foot__list a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.foot__list .ico { color: var(--sun); }
.foot__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; color: #97A2B2; }

/* ---------- WordPress ---------- */
.alignleft { float: left; margin: .3em 1.4em .8em 0; }
.alignright { float: right; margin: .3em 0 .8em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .84rem; color: var(--muted); }
.sticky .card__t::before { content: ""; }
.bypostauthor { }
.gallery-caption { font-size: .84rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Форма за контакт ---------- */
.cf { max-width: 560px; }
.cf label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
.cf input, .cf select, .cf textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cf button { padding: 11px 18px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--mist); font-weight: 650; cursor: pointer; }
.cf button:hover { background: var(--sea); color: #fff; }
.cf__hp { position: absolute; left: -9999px; }
