/* ==========================================================================
   Тема «Єпархія» — основні стилі
   ========================================================================== */

/* ---------- Шрифти (локальні, лише кирилиця + латиниця) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-italic-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-italic-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токени ---------- */
:root {
	--bg: #faf7f0;
	--surface: #ffffff;
	--surface-2: #f3eee2;
	--ink: #1d1a15;
	--ink-2: #3d372d;
	--muted: #6e6557;
	--line: #e6dfcf;
	--line-strong: #d6cbb3;
	--gold: #b4953a;
	--gold-ink: #7a611b;      /* золото для тексту, контраст ≥ 4.5:1 */
	--gold-soft: #f4ecd6;
	--red: #9b2226;
	--dark: #231e17;
	--telegram: #229ed9;

	--font-serif: "Lora", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(35, 30, 23, .06), 0 4px 16px rgba(35, 30, 23, .06);
	--shadow-hover: 0 2px 4px rgba(35, 30, 23, .08), 0 10px 28px rgba(35, 30, 23, .10);

	--container: 1240px;
	--gutter: clamp(16px, 3vw, 32px);
	--gap: clamp(16px, 2vw, 28px);
	--header-h: 64px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.25; margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--dark); color: #fff; border-radius: var(--radius-sm);
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 10px 18px;
	border: 1px solid transparent; border-radius: 999px;
	font: 600 15px/1.2 var(--font-sans); white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--dark); color: #fff; }
.btn--primary:hover { background: var(--gold-ink); color: #fff; }
.btn--telegram { background: var(--telegram); color: #fff; }
.btn--telegram:hover { background: #1b87bb; color: #fff; }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--gold-soft); color: var(--dark); }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: 50%; background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .icon { width: 24px; height: 24px; }

/* ---------- Верхня панель ---------- */
.topbar { background: var(--dark); color: #d9d0bd; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__date { display: inline-flex; align-items: center; gap: 8px; }
.topbar__date .icon { color: var(--gold); }
.topbar-social { display: flex; gap: 4px; list-style: none; }
.topbar-social__link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #d9d0bd; }
.topbar-social__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.topbar-social .icon { width: 17px; height: 17px; }

/* ---------- Шапка ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.brand__logo { width: auto; height: 64px; }
.brand__tagline {
	font: 500 12px/1.35 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
	max-width: 11em; padding-left: 16px; border-left: 1px solid var(--line);
}
.header-search { position: relative; width: min(340px, 30vw); }
.header-search__input {
	width: 100%; height: 44px; padding: 0 46px 0 16px;
	background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
	transition: border-color .15s, background-color .15s;
}
.header-search__input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px var(--gold-soft); }
.header-search__btn {
	position: absolute; right: 4px; top: 4px; width: 36px; height: 36px;
	display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted);
}
.header-search__btn:hover { color: var(--ink); background: var(--surface-2); }
.menu-toggle { display: none; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Навігація */
.site-nav { border-top: 1px solid var(--line); background: var(--surface); }
.site-nav__inner { display: flex; align-items: center; }
.site-nav .menu { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; list-style: none; }
.site-nav .menu a {
	position: relative; display: block; padding: 14px 6px;
	font: 600 15px/1.2 var(--font-sans); color: var(--ink-2); white-space: nowrap;
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 3px;
	background: var(--gold); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .2s;
}
.site-nav .menu a:hover { color: var(--gold-ink); }
.site-nav .menu a:hover::after,
.site-nav .menu .current-menu-item > a::after,
.site-nav .menu .current-menu-ancestor > a::after { transform: scaleX(1); }
.site-nav .menu .current-menu-item > a { color: var(--ink); }
.nav-search, .site-nav__social { display: none; }

/* На десктопі при прокрутці лишається лише рядок меню. */
@media (min-width: 1024px) {
	.site-header__inner { height: 92px; }
	.site-header { position: sticky; top: -93px; }
	.site-header.is-scrolled .site-nav { box-shadow: 0 2px 12px rgba(35, 30, 23, .08); }
	.admin-bar .site-header { top: -61px; } /* під панеллю адміністратора (32px) */
}

/* ---------- Сітки та розмітка ---------- */
.site-main { min-height: 50vh; padding-bottom: clamp(40px, 6vw, 72px); }
.layout {
	display: grid; gap: clamp(28px, 4vw, 48px);
	grid-template-columns: minmax(0, 1fr) 340px; align-items: start;
}
.layout__main { min-width: 0; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack { display: grid; gap: var(--gap); }
.stack--rows { gap: 0; }
.stack--mini { gap: 14px; }

.block { margin-top: clamp(32px, 4vw, 48px); }
.block:first-child { margin-top: 0; }
.block-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong);
	position: relative;
}
.block-head::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px; background: var(--gold); border-radius: 2px;
}
.block-head__title { font-size: clamp(22px, 2.4vw, 28px); }
.block-head__title a:hover { color: var(--gold-ink); }
.block-head__more, .link-more {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	font: 600 14px/1.2 var(--font-sans); color: var(--gold-ink);
}
.block-head__more .icon, .link-more .icon { width: 16px; height: 16px; transition: transform .15s; }
.block-head__more:hover .icon, .link-more:hover .icon { transform: translateX(3px); }

/* ---------- Мітки, мета ---------- */
.label {
	display: inline-block; font: 700 11.5px/1.2 var(--font-sans); letter-spacing: .07em; text-transform: uppercase;
	color: var(--gold-ink);
}
a.label:hover { color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font: 400 13.5px/1.4 var(--font-sans); color: var(--muted); }
.meta > span { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Зображення-мініатюри ---------- */
.thumb { position: relative; display: block; overflow: hidden; background: var(--surface-2); border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.thumb__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong);
	background: linear-gradient(135deg, var(--surface-2), var(--gold-soft));
}
.thumb__placeholder .icon { width: 40%; height: 40%; max-width: 72px; }

/* ---------- Картки ---------- */
.card { position: relative; min-width: 0; }
.card__title { font-family: var(--font-serif); font-weight: 600; color: var(--ink); text-wrap: pretty; }
.card__title a { transition: color .15s; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* уся картка клікабельна */
.card__label { position: relative; z-index: 2; margin-bottom: 6px; }
.card:hover .card__title a { color: var(--gold-ink); }
.card:hover .thumb img { transform: scale(1.03); }
.card__excerpt { color: var(--ink-2); margin-top: 10px; }
.card__meta { margin-top: 10px; }

/* Велика картка */
.card--lead .card__thumb { aspect-ratio: 16 / 9; }
.card--lead .card__body { padding-top: 18px; }
.card--lead .card__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.card--lead .card__excerpt { font: 400 17px/1.6 var(--font-serif); }

/* Звичайна картка */
.card--card { display: flex; flex-direction: column; }
.card--card .card__thumb { aspect-ratio: 3 / 2; }
.card--card .card__body { padding-top: 14px; }
.card--card .card__title { font-size: 18px; line-height: 1.35; }

/* Рядок (мініатюра зліва) */
.card--row {
	display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start;
	padding-block: 20px; border-bottom: 1px solid var(--line);
}
.stack--rows > .card--row:first-child { padding-top: 0; }
.stack--rows > .card--lead { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.stack--rows > .card--lead + .card--row { padding-top: 24px; }
.card--row .card__thumb { aspect-ratio: 3 / 2; }
.card--row .card__title { font-size: 19px; line-height: 1.35; }
.card--row .card__excerpt { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Міні (у колонках) */
.card--mini { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; }
.card--mini .card__thumb { aspect-ratio: 1; border-radius: var(--radius-sm); }
.card--mini .card__title { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--mini .card__meta { margin-top: 6px; font-size: 13px; }

/* Лише текст */
.card--text { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.card--text:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card--text .card__title { font-size: 17px; line-height: 1.4; }

/* ---------- Головна: перший екран ---------- */
.hero {
	display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px);
	padding-block: clamp(24px, 3vw, 36px);
}
.hero__side { padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.hero__side .card--mini { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hero__side .card--mini:last-child { border-bottom: 0; padding-bottom: 0; }
.hero__side .card--mini .card__title { font-size: 16px; }

/* ---------- Головна: «Сьогодні» ---------- */
.today { background: var(--surface-2); border-block: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 48px); }
.today__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); padding-block: clamp(28px, 3vw, 40px); }
.today__title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; }
.today .card--row { padding: 0; border: 0; grid-template-columns: 200px minmax(0, 1fr); }
.today .card--row .card__title { font-size: 20px; }
.today__more { list-style: none; margin: 20px 0 16px; border-top: 1px solid var(--line-strong); }
.today__more li { border-bottom: 1px solid var(--line-strong); }
.today__more a { display: block; padding: 10px 0; font: 500 15px/1.45 var(--font-sans); color: var(--ink-2); }
.today__more a:hover { color: var(--gold-ink); }

/* ---------- Бокова колонка ---------- */
.sidebar { display: grid; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.widget__title {
	font: 700 13px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
	margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.widget__title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--gold); }
.hero__side .widget__title, .today .widget__title { margin-bottom: 18px; }

/* Читайте також */
.read-also { list-style: none; counter-reset: ra; }
.read-also__item + .read-also__item { border-top: 1px solid var(--line); }
.read-also__link { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding-block: 12px; align-items: start; }
.read-also__item:first-child .read-also__link { padding-top: 0; }
.read-also__item:last-child .read-also__link { padding-bottom: 0; }
.read-also__thumb { aspect-ratio: 1; border-radius: var(--radius-sm); }
.read-also__title {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	font: 600 15px/1.4 var(--font-serif); color: var(--ink); transition: color .15s;
}
.read-also__meta { margin-top: 4px; font-size: 12.5px; }
.read-also__link:hover .read-also__title { color: var(--gold-ink); }
.read-also__link:hover img { transform: scale(1.05); }

/* Соцмережі */
.social-cta__tg {
	display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 14px;
	border-radius: var(--radius); background: #e9f5fb; color: #0f5474; transition: background-color .15s;
}
.social-cta__tg:hover { background: #d8eef8; color: #0f5474; }
.social-cta__tg-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--telegram); color: #fff; flex: none; }
.social-cta__tg-icon .icon { width: 22px; height: 22px; margin-left: -2px; }
.social-cta__tg strong { display: block; font: 700 16px/1.3 var(--font-sans); }
.social-cta__tg small { display: block; font-size: 13.5px; line-height: 1.4; color: #2e6a86; }

.social { display: flex; gap: 8px; list-style: none; }
.social__link {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line); color: var(--ink-2); transition: all .15s;
}
.social__link:hover { border-color: var(--gold); color: var(--gold-ink); background: var(--gold-soft); }
.social__link .icon { width: 20px; height: 20px; }

/* ---------- Календар ---------- */
.calendar__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.calendar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.calendar__title { margin-bottom: 4px; }
.calendar__title::before { display: none; }
.calendar__date { font: 600 16px/1.4 var(--font-serif); color: var(--ink); }
.calendar__date .old-style { display: block; font: 400 13.5px/1.4 var(--font-sans); color: var(--muted); margin-top: 2px; }
.calendar.is-holiday .calendar__date { color: var(--red); }
.calendar__list { margin: 0; display: grid; gap: 12px; }
.calendar__row[hidden] { display: none; }
.calendar__row dt { font: 700 11.5px/1.3 var(--font-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.calendar__row dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.calendar__saints a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.calendar__saints a:hover { color: var(--gold-ink); border-color: var(--gold); }
.calendar__saints.is-collapsed { max-height: 168px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.calendar__more { margin-top: 6px; padding: 6px 0; border: 0; background: none; font: 600 14px/1.2 var(--font-sans); color: var(--gold-ink); }
.calendar__more:hover { color: var(--ink); }
.calendar__status { font-size: 14px; color: var(--muted); }
.calendar__status:empty { display: none; }
.calendar__links {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center;
	margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px;
}
.calendar__links > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold-ink); }
.calendar__links > a .icon { width: 14px; height: 14px; }
.calendar__source { font-size: 12.5px; color: var(--muted); }
.calendar__source a { text-decoration: underline; text-underline-offset: 2px; }
.calendar--band { align-self: start; }

/* ---------- Заголовок сторінки / «хлібні крихти» ---------- */
.breadcrumbs { padding-block: 18px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); margin-right: 2px; }
.breadcrumbs a:hover { color: var(--gold-ink); }
.breadcrumbs [aria-current] { color: var(--ink-2); max-width: 44ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-head { padding-block: 14px clamp(24px, 3vw, 36px); margin-bottom: clamp(24px, 3vw, 32px); border-bottom: 1px solid var(--line-strong); }
.page-head__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.page-head__desc { margin-top: 10px; max-width: 70ch; color: var(--ink-2); font: 17px/1.6 var(--font-serif); }
.page-head__meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.page-head .search-form { margin-top: 18px; max-width: 560px; }

/* ---------- Запис ---------- */
.entry__header { padding-top: 14px; margin-bottom: 24px; }
.entry__label { margin-bottom: 12px; }
.entry__title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; text-wrap: balance; }
.entry__meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.entry__thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry__thumb img { width: 100%; }
.entry__footer { margin-top: 36px; display: grid; gap: 24px; }

/* Текст запису */
.prose { font: 400 18.5px/1.75 var(--font-serif); color: #26211a; max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose p:empty { display: none; }
.prose a { color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.25em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote, .prose .wp-block-quote {
	margin-inline: 0; padding: 18px 24px; border-left: 3px solid var(--gold);
	background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic;
}
.prose blockquote p + p { margin-top: .8em; }
.prose blockquote cite { display: block; margin-top: 10px; font: normal 600 14px/1.4 var(--font-sans); color: var(--muted); }
.prose figure { margin-inline: 0; }
.prose .wp-block-image img, .prose > p img { border-radius: var(--radius); }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; font: 400 14px/1.5 var(--font-sans); color: var(--muted); text-align: center; }
.prose .wp-block-gallery { gap: 8px !important; }
.prose .wp-block-gallery .wp-block-image img { border-radius: var(--radius-sm); }
.prose .wp-block-embed iframe, .prose video { width: 100%; border-radius: var(--radius); }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font: 500 15px/1.4 var(--font-sans); }
.prose .wp-block-file__embed { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 4px; }
.prose .wp-block-file a:not(.wp-block-file__button) { color: var(--ink-2); text-decoration: none; }
.prose .wp-block-file .wp-block-file__button {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; margin: 0;
	border-radius: 999px; background: var(--dark); color: #fff; font: 600 14px/1.2 var(--font-sans); text-decoration: none;
}
.prose .wp-block-file .wp-block-file__button:hover { background: var(--gold-ink); color: #fff; }
.prose .wp-block-video video { background: #000; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--font-sans); }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose .aligncenter { margin-inline: auto; }

/* YouTube-превʼю */
.yt__btn, .yt__frame {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
	border-radius: var(--radius); overflow: hidden; background: #000;
}
.yt__img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt__btn:hover .yt__img { opacity: 1; }
.yt__title {
	position: absolute; left: 0; right: 0; top: 0; padding: 16px 20px 32px; text-align: left;
	font: 600 16px/1.4 var(--font-sans); color: #fff; background: linear-gradient(rgba(0, 0, 0, .7), transparent);
}
.yt__play {
	position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%);
	border-radius: 14px; background: rgba(33, 33, 33, .85); transition: background-color .2s;
}
.yt__play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt__btn:hover .yt__play, .yt__btn:focus-visible .yt__play { background: #f00; }

/* Перегляд фото */
.is-zoomable { cursor: zoom-in; }
.lightbox {
	position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
	background: rgba(20, 17, 13, .94); padding: 56px 64px;
}
.lightbox.is-open { display: grid; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.lightbox__btn {
	position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .1); color: #fff; font: 400 34px/1 var(--font-sans); transition: background-color .15s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 12px; right: 12px; font-size: 30px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #d9d0bd; font-size: 14px; }
@media (max-width: 767px) {
	.lightbox { padding: 56px 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
}

/* Мітки, поширення, сусідні записи */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); }
.tags a:hover { background: var(--gold-soft); color: var(--gold-ink); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 18px; border-block: 1px solid var(--line); }
.share__title { font: 600 14px/1.2 var(--font-sans); margin-right: 6px; }
.share__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
	font: 600 14px/1.2 var(--font-sans); color: var(--ink-2); transition: all .15s;
}
.share__btn .icon { width: 18px; height: 18px; }
.share__btn--facebook .icon { color: #1877f2; }
.share__btn--telegram .icon { color: var(--telegram); }
.share__btn--viber .icon { color: #7360f2; }
.share__btn:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--ink); }
.share__btn.is-done { border-color: #5c9e5a; color: #2d6a2b; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav__link { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.post-nav__link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: inherit; }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__dir { display: inline-flex; align-items: center; gap: 4px; font: 600 13px/1.2 var(--font-sans); color: var(--gold-ink); }
.post-nav__link--next .post-nav__dir { justify-content: flex-end; }
.post-nav__dir .icon { width: 16px; height: 16px; }
.post-nav__title { font: 600 15px/1.4 var(--font-serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related { margin-top: 48px; }

/* ---------- Пагінація ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
	font: 600 15px/1 var(--font-sans); color: var(--ink-2);
}
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold-ink); }
.pagination .current { background: var(--dark); border-color: var(--dark); color: #fff; }
.pagination .dots { border: 0; background: transparent; min-width: 24px; padding: 0; }
.pagination .icon { width: 18px; height: 18px; }

/* ---------- Пошук, 404, порожньо ---------- */
.search-form { display: flex; gap: 8px; }
.search-form__input {
	flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
}
.search-form__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.search-form .btn { min-height: 48px; }
.not-found { max-width: 640px; margin: clamp(32px, 6vw, 72px) auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.not-found__code { font: 700 clamp(64px, 12vw, 120px)/1 var(--font-serif); color: var(--gold); }
.not-found .search-form { width: 100%; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 14px/1.2 var(--font-sans); }
.chip:hover { border-color: var(--gold); color: var(--gold-ink); }
.empty { padding: 32px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- Збір коштів ---------- */
.donate { background: var(--dark); color: #efe7d6; }
.donate__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 28px; }
.donate__text { display: flex; align-items: center; gap: 16px; }
.donate__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(180, 149, 58, .18); color: var(--gold); flex: none; }
.donate__title { color: #fff; font-size: 22px; }
.donate__note { font-size: 14px; color: #bfb4a0; margin-top: 2px; }
.donate__card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.donate__number {
	font: 600 clamp(20px, 2.4vw, 26px)/1.2 var(--font-sans); letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums;
	padding: 10px 18px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: var(--radius-sm);
}
.donate .btn.is-done { background: #dff0dc; }

/* ---------- Підвал ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: clamp(36px, 5vw, 56px); }
.site-footer__brand img { width: 180px; margin-bottom: 14px; }
.site-footer__about p { max-width: 34ch; margin-bottom: 18px; color: var(--muted); }
.site-footer__title { font: 700 13px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-menu { list-style: none; columns: 2; column-gap: 24px; }
.footer-menu li { break-inside: avoid; }
.footer-menu a { display: inline-block; padding: 5px 0; }
.footer-menu a:hover { color: var(--gold-ink); }
.contacts { list-style: none; display: grid; gap: 14px; }
.contacts li { display: grid; gap: 2px; }
.contacts__label { font-size: 12.5px; color: var(--muted); }
.contacts a:hover { color: var(--gold-ink); }
.site-footer__bottom { display: grid; gap: 8px; padding-block: 20px 28px; border-top: 1px solid var(--line-strong); font-size: 13.5px; color: var(--muted); }
.site-footer__copyright { max-width: 110ch; }

/* ==========================================================================
   Адаптивність
   ========================================================================== */
@media (max-width: 1199px) {
	.layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.site-nav .menu a { font-size: 14px; padding-inline: 4px; }
	.header-telegram span { display: none; }
	.header-telegram { width: 44px; padding: 0; }
}

@media (max-width: 1023px) {
	:root { --header-h: 60px; }
	.topbar { display: none; }
	.site-header { position: sticky; top: 0; }
	.admin-bar .site-header { top: 32px; }
	.site-header__inner { padding-block: 8px; gap: 8px; min-height: var(--header-h); }
	.brand__logo { height: 44px; }
	.brand__tagline, .header-search, .header-telegram { display: none; }
	.menu-toggle { display: inline-grid; }
	.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(35, 30, 23, .08); }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.site-nav__inner { flex-direction: column; align-items: stretch; gap: 16px; padding-block: 16px 32px; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu li { border-bottom: 1px solid var(--line); }
	.site-nav .menu a { padding: 16px 4px; font-size: 18px; }
	.site-nav .menu a::after { display: none; }
	.site-nav .menu .current-menu-item > a { color: var(--gold-ink); }
	.nav-search { display: flex; position: relative; }
	.nav-search input { width: 100%; height: 48px; padding: 0 52px 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); }
	.nav-search button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--dark); color: #fff; }
	.site-nav__social { display: block; padding-top: 8px; }
	body.menu-open { overflow: hidden; }

	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar .calendar, .sidebar .widget--read-also { grid-column: 1 / -1; }

	.hero { grid-template-columns: minmax(0, 1fr); }
	.hero__side { padding-left: 0; border-left: 0; }
	.today__inner { grid-template-columns: minmax(0, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { inset: calc(var(--header-h) + 46px) 0 0 0; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	.card--lead .card__title { font-size: 23px; }
	.card--lead .card__excerpt { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.card--lead .card__thumb { border-radius: var(--radius-sm); }
	.page-head__title { font-size: 28px; }
	.entry__title { font-size: 25px; }
	.grid--3 { grid-template-columns: minmax(0, 1fr); }
	.card--row { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding-block: 16px; }
	.card--row .card__title { font-size: 16.5px; }
	.card--row .card__excerpt { display: none; }
	.card--row .card__label { margin-bottom: 4px; }
	.today .card--row { grid-template-columns: 110px minmax(0, 1fr); }
	.today .card--row .card__title { font-size: 17px; }
	.sidebar { grid-template-columns: minmax(0, 1fr); }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav__link--next { grid-column: auto; }
	.prose { font-size: 17.5px; line-height: 1.7; }
	.share__btn span { display: none; }
	.share__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.share__btn--copy span { display: none; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.donate__inner { padding-block: 24px; }
	.donate__card { width: 100%; }
	.donate__number { flex: 1; text-align: center; }
	.donate__card .btn { width: 100%; }
}

@media (max-width: 560px) {
	.grid--2 { grid-template-columns: minmax(0, 1fr); }
	.grid--2 .card--card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding-bottom: var(--gap); border-bottom: 1px solid var(--line); }
	.grid--2 .card--card:last-child { border-bottom: 0; padding-bottom: 0; }
	.grid--2 .card--card .card__body { padding-top: 0; }
	.grid--2 .card--card .card__title { font-size: 16.5px; }
	.breadcrumbs [aria-current] { max-width: 24ch; }
}

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

@media print {
	.topbar, .site-nav, .site-header .header-search, .header-telegram, .menu-toggle, .sidebar, .donate, .share, .post-nav, .related, .site-footer { display: none !important; }
	.layout { display: block; }
	body { background: #fff; }
}
