/*
Theme Name: Вознесение
Description: Тема сайта прихода храма Вознесения Господня г. Курганинска: ближайшие службы на главной, расписание в админке, настройки контактов и сбора пожертвований.
Version: 1.2.25
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: voznesenie
*/

:root {
	--accent: #1f5135;
	--accent-dark: #123220;
	--ground: #f6f3ec;
	--surface: #fffdf8;
	--band: #eef1e9;
	--line: #e3ddcd;
	--line-soft: #ece6d8;
	--tint: #dce3d6;
	--text: #1e2a22;
	--text-2: #3e4740;
	--muted: #5a6158;
	--gold-text: #8a6a22;
	--gold-light: #e2cb8c;
	--on-accent: #f3ecd8;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--slav: "Ruslan Display", var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
}

img, video { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: 10px 16px; background: var(--surface); border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.icon { flex: none; }

/* Типографика и общие элементы */
.h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.15; color: var(--accent); }
.h2--large { font-size: 36px; }
.page-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; color: var(--accent); overflow-wrap: anywhere; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); }
.eyebrow--light { color: var(--gold-light); }
.meta { font-size: 14px; color: var(--muted); }
.section { padding-block: 56px; }
.section--flush { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; font-weight: 500; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 8px 24px; border-radius: 999px;
	font-weight: 600; text-decoration: none; border: 1.5px solid var(--accent);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--outline { color: var(--accent); }
.btn--outline:hover { background: var(--band); }
.btn--small { min-height: 44px; padding: 6px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Верхняя строка */
.topbar { background: var(--accent); color: var(--on-accent); font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: space-between; padding-block: 8px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar a { color: var(--on-accent); }
.topbar a:hover { color: #fff; }

/* Шапка */
.site-header { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--accent); text-decoration: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--slav); font-size: 26px; letter-spacing: 0.5px; }
.logo__place { margin-top: 4px; font-size: 14px; color: var(--muted); }

.site-nav { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-inline: -12px; font-size: 15px; font-weight: 500; }
.site-nav .menu, .site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.site-nav .menu a:hover { background: #e7ece2; color: var(--accent-dark); }
.site-nav .sub-menu {
	position: absolute; z-index: 20; top: 100%; left: 0; min-width: 260px; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
	box-shadow: 0 10px 28px rgba(30, 42, 34, 0.12);
	visibility: hidden; opacity: 0; transition: opacity 0.12s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.site-nav__cta { color: #fff; margin-left: auto; margin-right: 12px; }
.site-nav__extra { display: none; }
.menu-toggle {
	display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px;
	background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span { display: flex; }
.menu-toggle__close { display: none !important; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: flex !important; }

/* Поиск */
.search-form { display: flex; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 18px; border: 0; background: transparent; font: inherit; color: inherit; }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 2px solid var(--accent); }
.search-form button { width: 48px; border: 0; background: transparent; color: var(--accent); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Первый экран */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: center; padding-block: 56px 40px; }
.hero__text { display: flex; flex-direction: column; gap: 20px; }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; color: var(--accent); }
.hero__lead { margin: 0; max-width: 520px; font-size: 19px; color: var(--text-2); }
.hero__actions { margin-top: 8px; }
.hero__media { margin: 0; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #e3e9dd; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.church-art { width: 78%; height: auto; }

/* Службы и календарь */
.day-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; padding-block: 24px 56px; scroll-margin-top: 16px; }
.panel { display: flex; flex-direction: column; gap: 20px; align-items: stretch; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.tabs { display: flex; flex-direction: column; gap: 16px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.services { list-style: none; margin: 0; padding: 0; }
.service { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.service__time { font-weight: 600; font-size: 18px; color: var(--accent); }
.service__date { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.service__body { display: flex; flex-direction: column; gap: 2px; }
.service__title { font-weight: 600; font-size: 17px; }
.service__note { font-size: 14px; color: var(--muted); }
.service-empty { margin: 0; color: var(--muted); }
.service-feast { margin: 0 0 12px; font-weight: 600; color: var(--text); }
.service-feast__date { display: block; margin-bottom: 5px; color: var(--muted); font-size: 14px; font-weight: 500; }
.service-feast__date::first-letter { text-transform: uppercase; }
.service-day { margin-top: 18px; padding: 9px 12px; border-left: 4px solid var(--accent); border-radius: 0 6px 6px 0; background: var(--surface); color: var(--text); font-weight: 700; }
.service-day time { display: inline-block; }
.service-day time::first-letter { text-transform: uppercase; }
.service-day:first-child { margin-top: 0; }
.service-day + .service { border-top: 0; }
.service-day-feast { padding: 12px 0 4px; font-weight: 600; color: var(--text); }
.service-day-feast + .service { border-top: 0; }

.calendar { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--accent); color: var(--on-accent); }
.calendar__date { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: #fff; }
.calendar__info { font-size: 15px; }
.calendar__info b, .calendar__info strong { color: #fff; }
.calendar__readings { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(243, 236, 216, 0.3); font-size: 15px; }
.calendar a { color: #fff; }
.calendar__more { font-weight: 500; }

/* Требы */
.band { padding-block: 56px; background: var(--band); scroll-margin-top: 0; }
.treby { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: 28px; }
.treba { display: flex; flex-direction: column; gap: 12px; min-height: 160px; padding: 24px; background: var(--surface); border-radius: 16px; color: var(--text); text-decoration: none; }
.treba .icon { color: var(--accent); }
.treba:hover .treba__title { text-decoration: underline; }
.treba__title { margin: 0; font-size: 19px; font-weight: 600; }
.treba__text { margin: 0; font-size: 15px; color: var(--muted); }

/* Новости */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 32px 24px; margin-top: 28px; }
.card__link { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.card__link:hover .card__title { text-decoration: underline; }
.card__image { aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__image .logo-mark { width: 55%; height: auto; opacity: 0.55; }
.card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }

/* Помочь храму */
.help { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.help--single { grid-template-columns: minmax(0, 720px); }
.help__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.help__text p { margin: 0; color: var(--text-2); }
.progress { width: 100%; height: 12px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.help__qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.help__qr img { width: min(100%, 280px); height: auto; object-fit: contain; }
.help__qr figcaption { max-width: 280px; text-align: center; }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; }
.contacts__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .icon { color: var(--accent); margin-top: 2px; }
.contact-row p { margin: 6px 0 0; }
.contact-row__phones { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; }
.map { width: 100%; min-height: 380px; height: 100%; border: 0; border-radius: 20px; background: var(--tint); }

/* Подвал */
.site-footer { background: #17211a; color: #c9cfc4; font-size: 14px; }
.site-footer a { color: #e6eae2; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; padding-block: 40px; }
.site-footer__about, .site-footer__nav, .site-footer__contacts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer__name { font-family: var(--slav); font-size: 20px; color: var(--gold-light); }

/* Панель действий на телефоне */
.action-bar { display: none; }

/* Лента и записи */
.page-head { display: flex; flex-direction: column; gap: 16px; }
.page-head__desc p { margin: 0; color: var(--text-2); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; background: var(--surface); text-decoration: none; }
.page-numbers.current { background: var(--accent); color: #fff; }
.page-numbers.dots { background: transparent; }

.article { max-width: 840px; padding-block: 48px 64px; }
.article__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.article__head .meta { margin: 0; }
.article__image { margin: 0 0 28px; }
.article__image img { display: block; width: 100%; border-radius: 14px; }
.prose { font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-family: var(--serif); font-weight: 600; line-height: 1.3; color: var(--accent); }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 25px; }
.prose h4 { font-size: 21px; }
.prose h5 { font-size: 19px; }
.prose h6 { font-size: 18px; }
.prose img { border-radius: 8px; }
.godparents .announcement, .godparents .footer-contacts { padding: 20px 24px; margin: 24px 0; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface); }
.godparents .grid-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.godparents .rule-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.godparents .rule-card h4 { margin: 0 0 12px; }
.godparents .creed-box { padding: 20px 24px; margin: 24px 0; background: var(--surface); border-radius: 10px; }
.godparents .faq-item { padding: 0 0 12px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.godparents .faq-item h4 { margin-bottom: 8px; font-size: 21px; line-height: 1.3; }
.clergy-grid { margin: 20px 0 36px; }
.clergy-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 24px; }
.clergy-grid--rector { max-width: 230px; }
.clergy-card { margin: 0; }
.clergy-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.clergy-card figcaption { margin-top: 9px; font-weight: 600; line-height: 1.4; }
.clergy-source { font-size: 14px; color: var(--muted); }
.prose iframe, .prose embed, .prose object { max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { padding: 8px 12px; border: 1px solid var(--line); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold-light); color: var(--text-2); font-style: italic; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--muted); }
.prose::after { content: ""; display: block; clear: both; }
.wedding-note, .parish-note { margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface); }
.wedding-note p, .parish-note p { margin: 0; }
.newcomer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-block: 0 40px; padding: 28px; border-radius: 12px; background: var(--surface); }
.newcomer p { margin: 8px 0 0; }

/* Храмы района: оглавление, разделы и подписи фотографий. */
.district-toc { margin: 0 0 40px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.district-toc__title { margin: 0 0 12px; font-weight: 600; color: var(--accent); }
.district-toc ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.district-toc a { text-underline-offset: 3px; }
.district-section { padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.district-section > h2:first-child { margin: 0 0 20px; }
.district-section .wp-block-image { margin: 28px auto; }
.district-section .wp-block-image figure { max-width: 100%; }
.district-section .wp-block-image img { height: auto; }
.district-section .wp-block-image figcaption { max-width: 640px; margin: 10px auto 0; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: center; }

.post-navigation { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.post-navigation a { display: flex; flex-direction: column; gap: 2px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.comments { margin-top: 48px; }
.comment-list { padding-left: 20px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); }
.comment-form .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* Форма «Вопрос священнику» (WPForms) */
.wpforms-container input[type="text"], .wpforms-container input[type="email"], .wpforms-container textarea {
	width: 100% !important; max-width: 100% !important; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface);
}
.wpforms-container .wpforms-field { margin-bottom: 16px; }
.wpforms-container .wpforms-field-label { display: block; margin-bottom: 4px; font-weight: 600; }
.wpforms-container button[type="submit"] { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
div.wpforms-container-full button[type="submit"].wpforms-submit { background: var(--accent); color: #fff; border-radius: 999px; }

/* Страница расписания */
.schedule { display: flex; flex-direction: column; gap: 16px; }
.schedule__day { padding: 20px 24px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.schedule__day--sunday .schedule__date { color: #8f2b2b; }
.schedule__day--today { border: 2px solid var(--accent); }
.schedule__date { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; margin: 0 0 12px; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--accent); }
.schedule__date .meta { font-family: var(--sans); font-weight: 400; }
.schedule .service:last-child { padding-bottom: 12px; }
.schedule__archive { margin-top: 24px; }

/* Телефон и планшет */
@media (max-width: 1080px) {
	.site-header__inner { flex-wrap: nowrap; padding-block: 8px; }
	.logo { gap: 10px; min-width: 0; }
	.logo-mark { width: 36px; height: 36px; }
	.logo__name { font-size: 17px; letter-spacing: 0; }
	.logo__place { margin-top: 2px; font-size: 12px; }
	.menu-toggle { display: flex; flex: none; }

	.site-nav {
		display: none; position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin-inline: 0;
		max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto;
		padding: 8px clamp(16px, 4vw, 40px) 96px; background: var(--surface);
		border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(30, 42, 34, 0.14);
		flex-direction: column; align-items: stretch; flex-wrap: nowrap; font-size: 18px;
	}
	.menu-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.site-nav .menu a { display: flex; align-items: center; min-height: 52px; padding: 8px 0; border-radius: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line-soft); }
	.site-nav .menu a:hover { background: transparent; }
	.site-nav .sub-menu { position: static; visibility: visible; opacity: 1; min-width: 0; padding: 0 0 8px 16px; border: 0; box-shadow: none; background: transparent; font-size: 16px; font-weight: 400; }
	.site-nav .sub-menu a { min-height: 44px; }
	.site-nav__cta { margin: 16px 0 0; min-height: 52px; font-size: 16px; flex: none; }
	.site-nav__extra { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; font-size: 15px; }
	.site-nav__extra .search-form { max-width: none; }
	.site-nav__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
}

@media (max-width: 767px) {
	body { padding-bottom: 72px; }
	.topbar { font-size: 13px; }
	.topbar__links { display: none; }
	.logo__diocese { display: none; }
	.hero { gap: 16px; padding-block: 20px 16px; }
	.hero__text { gap: 0; }
	.hero .eyebrow, .hero__actions { display: none; }
	.hero__lead { margin-top: 10px; font-size: 16px; }
	.hero__media { aspect-ratio: 16 / 10; }
	.day-grid { padding-block: 12px 32px; gap: 16px; }
	.panel, .calendar { padding: 20px; border-radius: 18px; }
	.h2, .calendar__date { font-size: 26px; }
	.h2--large { font-size: 30px; }
	.tabs__list { flex-wrap: nowrap; }
	.tab { flex: 1; padding: 0 6px; font-size: 14px; }
	.tab { line-height: 1.15; }
	.service { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
	.service__time { font-size: 16px; }
	.section, .band { padding-block: 40px; }
	.section--flush { padding-top: 0; }
	.treby { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
	.treba { min-height: 92px; padding: 14px; gap: 8px; }
	.treba__title { font-size: 15px; line-height: 1.3; }
	.treba__text { display: none; }
	.cards { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px; }
	.card__link { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
	.card__image { grid-row: 1 / span 2; aspect-ratio: 1 / 1; border-radius: 10px; }
	.card__title { font-size: 15px; }
	.card .meta { font-size: 12px; }
	.map { min-height: 280px; }
	.article { padding-block: 28px 40px; }
	.prose { font-size: 16px; }
	.alignleft, .alignright { float: none; margin: 16px auto; display: block; }
	.schedule__day { padding: 16px 16px 4px; }

	.action-bar {
		position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 72px;
		display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
		background: var(--surface); border-top: 1px solid var(--line);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-2); font-size: 12px; font-weight: 500; text-decoration: none; }
	.action-bar a:first-child { color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
