/*
 * zpolya-farm — правки адаптива и типографики (16.10.2026).
 * Подключается после style.css (functions.php → zpolya_farm_scripts).
 */

/* ===== Заголовки H2: толщина 800 (ExtraBold) → 600 (Bold) ===== */
h2,
.live__title h2,
body.page-template-page-text .page .container h2 {
	font-weight: 600;
}

/* ===================================================================
 * АДАПТИВ
 * =================================================================== */

/* Общие страховки от горизонтального переполнения */
img,
video,
iframe:not([src*="travelline"]) {
	max-width: 100%;
}
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"] {
	max-width: 100%;
	box-sizing: border-box;
}

/* Одиночные записи без отдельного шаблона (single.php, отзывы, комментарии) */
.single .comment-respond,
.single .comments-area {
	max-width: 100%;
}
.single .comment-form textarea {
	width: 100%;
}

/* Сниппет «Simple Custom CSS» для списков (ul без класса) задевал звёзды рейтинга
   в отзывах и ссылки в подвале: лишние точки, отступы и вылет за край экрана */
.reviews-page-item .reviews-page-item__rating ul,
.footer .footer-copyright ul {
	margin: 0 !important;
}
.reviews-page-item .reviews-page-item__rating ul li,
.footer .footer-copyright ul li {
	padding-left: 0;
}
.reviews-page-item__rating ul li::before,
.footer-copyright ul li::before {
	content: none;
	display: none;
}

/* ---------- Ноутбуки и планшеты (≤ 1024px) ---------- */
@media (max-width: 1024px) {
	.single-event__photos,
	.promotion-news__photo {
		max-width: 100%;
	}
}

/* ---------- Планшеты и небольшие ноутбуки (≤ 1024px) ---------- */
@media (max-width: 1024px) {
	/* «О нас» / «Наши животные»: картинки с отрицательными отступами вылезали за экран */
	.about__img:nth-child(1),
	.farm-products .about__img:nth-child(1) {
		margin-left: 0;
		overflow: hidden;
	}
	.about__img:nth-child(1) img {
		max-width: 100%;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.animals__images,
	.products .about__images,
	.cheese-factory .about__images {
		grid-template-columns: 1fr 1fr;
		max-width: 100%;
	}
	.animals__img:nth-child(3) {
		margin-right: 0;
	}
	.animals__img:nth-child(3) img {
		max-width: 100%;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

/* ---------- Планшеты (≤ 768px) ---------- */
@media (max-width: 768px) {
	/* Текстовые страницы (шаблон «Текстовая страница») */
	body.page-template-page-text .page .container h1,
	body.page-template-page-text .page .container h2 {
		font-size: 36px;
		line-height: 40px;
		margin-bottom: 30px;
	}
}

/* Планшет в портрете: домики и номера по два в ряд, а не по одному на весь экран */
@media (min-width: 481px) and (max-width: 768px) {
	.rent-item {
		width: calc(50% - 10px);
	}
	.rent-item__img {
		height: 240px;
	}
	.rent-item__body {
		padding: 20px;
	}
	.rent-item__btns {
		padding: 0 20px 20px;
		flex-direction: column;
	}
	.rent-item__price {
		margin-bottom: 120px;
	}
	.rent-item__btns .btn-green,
	.rent-item__btns .btn-orange-border {
		max-width: 100%;
		width: 100%;
		height: 42px;
		flex: none;
	}
}

/* ---------- Телефоны (≤ 480px) ---------- */
@media (max-width: 480px) {
	/* Базовый текст: в теме было 10px — нечитаемо */
	body {
		font-size: 14px;
		line-height: 20px;
	}
	h2 {
		font-size: 22px;
		line-height: 28px;
	}
	body.page-template-page-text .page .container h1,
	body.page-template-page-text .page .container h2 {
		font-size: 26px;
		line-height: 30px;
		margin-bottom: 20px;
	}
	body.page-template-page-text .page .container p,
	body.page-template-page-text .page .container li {
		font-size: 15px;
		line-height: 21px;
	}

	/* Кнопки */
	.btn-green,
	.btn-orange,
	.btn-orange-border,
	.btn-white {
		font-size: 12px;
		line-height: 12px;
		height: 38px;
	}
	.header-bottom__mob .btn-green {
		font-size: 11px;
		line-height: 11px;
		height: 32px;
	}

	/* Хлебные крошки */
	.breadcrumbs a,
	.breadcrumbs span {
		font-size: 12px;
		line-height: 16px;
	}

	/* Подписи блоков */
	.gallery__title p,
	.questions-form__title p,
	.live__title p,
	.restaurant-desc__title p,
	.reviews-page__title p,
	.events-page p,
	.assortment__block p,
	.error-page__content p,
	#policy .modal__window p {
		font-size: 14px;
		line-height: 20px;
	}
	.dog-friendly__text p {
		font-size: 14px;
		line-height: 20px;
	}

	/* Домики / номера */
	.rent-item__desc h3 {
		font-size: 16px;
		line-height: 22px;
	}
	.rent-item__people,
	.rent-item__price,
	.about__desc .rent-item__people,
	.about__desc .rent-item__price {
		font-size: 14px;
		line-height: 20px;
	}
	.rent-item__price {
		margin-bottom: 70px;
	}
	.rent-item__people svg,
	.rent-item__price svg {
		width: 16px;
		height: 16px;
	}

	/* Ассортимент */
	.assortment-item__text h3 {
		font-size: 12px;
		line-height: 15px;
	}
	.assortment-item__text p {
		font-size: 11px;
		line-height: 14px;
	}

	/* Услуги (баня, конный клуб, рыбалка и т.п.) — по одной карточке в ряд */
	.service {
		width: 100%;
	}
	.service__img {
		height: 200px;
	}
	.service__desc {
		padding: 0 15px;
	}
	.service__desc h3 {
		font-size: 16px;
		line-height: 20px;
	}
	.service__desc p {
		font-size: 14px;
		line-height: 19px;
	}
	.service__info {
		padding: 0 15px 15px;
	}
	.page-template-horse-club .service__desc {
		margin-bottom: 0;
	}

	/* Мероприятия, новости, акции — по одной карточке в ряд */
	.events-page-item {
		width: 100%;
	}
	.events-page-item__img {
		height: 200px;
	}
	.events-page-item__title,
	.events-page-item__text {
		padding: 0 15px;
	}
	.events-page-item__title h3 {
		font-size: 16px;
		line-height: 20px;
	}
	.events-page-item__text p {
		font-size: 14px;
		line-height: 19px;
	}
	.events-page-item__bottom {
		padding: 15px;
	}
	.events-page-item__link a {
		font-size: 13px;
		line-height: 16px;
		gap: 4px;
	}
	.events-page-item__link a svg {
		width: 12px;
		height: 12px;
	}
	.events-page-item__date {
		font-size: 13px;
		line-height: 16px;
	}
	.events-item__title {
		font-size: 14px;
		line-height: 18px;
	}
	.live-item__text,
	.horse-club-item__text {
		font-size: 13px;
		line-height: 17px;
	}

	/* Отдельная запись (мероприятие, новость, акция) */
	.single-event__content h1 {
		font-size: 22px;
		line-height: 28px;
	}
	.promotion-news .single-event__content h1 {
		font-size: 18px;
		line-height: 24px;
	}
	.single-event__content h3 {
		font-size: 15px;
		line-height: 22px;
	}
	.single-event__content ul li {
		font-size: 14px;
		line-height: 20px;
	}
	.prev-single,
	.next-single {
		height: 40px;
		font-size: 12px;
		line-height: 16px;
	}
	.prev-single svg,
	.next-single svg {
		width: 12px;
		height: 12px;
	}

	/* Меню ресторана */
	.restaurant-nav li a {
		font-size: 12px;
	}
	.restaurant-menu-item__name {
		font-size: 13px;
		line-height: 16px;
	}
	.restaurant-menu-item__info .gram,
	.restaurant-menu-item__info .price {
		font-size: 12px;
	}

	/* Отзывы — по одному в ряд, читаемый текст */
	.reviews-page-item {
		width: 100%;
		padding: 20px 15px;
	}
	.reviews-page-item__img {
		width: 90px;
		height: 90px;
	}
	.reviews-page-item__name {
		font-size: 15px;
		line-height: 20px;
	}
	.reviews-page-item__rating {
		flex-wrap: wrap;
		gap: 6px 10px;
		max-width: 100%;
	}
	.reviews-page-item__rating svg {
		width: 14px;
		height: 14px;
	}
	.reviews-page-item__date {
		font-size: 12px;
	}
	.reviews-page-item__text {
		font-size: 14px;
		line-height: 19px;
	}

	/* Форма «Остались вопросы?» */
	.questions-form__title p {
		font-size: 13px;
		line-height: 18px;
	}

	/* Подвал */
	.footer__navs ul {
		gap: 14px 10px;
	}
	.footer__navs ul li {
		width: calc(50% - 5px);
	}
	.footer__navs ul li a {
		font-size: 14px;
		line-height: 20px;
	}
	.footer__contacts {
		flex-direction: column;
	}
	.footer__contact h3 {
		font-size: 13px;
		line-height: 16px;
	}
	.footer__contact a,
	.footer__contact p {
		font-size: 14px;
		line-height: 20px;
	}
	.footer-copyright p,
	.footer-copyright ul li a {
		font-size: 11px;
		line-height: 15px;
	}
	.footer-copyright ul {
		flex-wrap: wrap;
		gap: 8px 16px;
	}
}

/* ===================================================================
 * МОБИЛЬНАЯ ВЕРСИЯ — правки 19.10.2026
 * Слайдеры: «Ознакомьтесь с ассортиментом» (главная, ресторан, продукция),
 * «Организация мероприятий» (главная), «Конный клуб» (главная, ферма, чем заняться).
 * Сделаны на CSS (горизонтальная прокрутка пальцем с «примагничиванием»),
 * без дополнительных скриптов.
 * =================================================================== */
@media (max-width: 480px) {

	/* --- Общая механика слайдера --- */
	.assortment__list,
	.events__list,
	.horse-club__list {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.assortment__list::-webkit-scrollbar,
	.events__list::-webkit-scrollbar,
	.horse-club__list::-webkit-scrollbar {
		display: none;
	}
	.assortment-item,
	.events-item,
	.horse-club-item {
		scroll-snap-align: start;
		flex-shrink: 0;
	}

	/* --- 1. Ассортимент --- */
	.assortment__list {
		gap: 12px;
		padding: 0 20px 6px;
		scroll-padding: 0 20px;
	}
	.assortment-item {
		flex: 0 0 120px;
		width: 120px;
		max-width: none;
	}
	.assortment-item__img {
		width: 90px;
		height: 90px;
	}
	.assortment-item__text h3 {
		font-size: 13px;
		line-height: 16px;
	}
	.assortment-item__text p {
		font-size: 12px;
		line-height: 15px;
	}

	/* --- 2. Организация мероприятий --- */
	.events__list {
		gap: 10px;
		padding-bottom: 6px;
	}
	.events-item {
		flex: 0 0 72%;
		width: 72%;
		height: 300px;
	}
	.events-item__title {
		padding: 20px 15px;
		font-size: 15px;
		line-height: 19px;
	}
	.events-item-other {
		padding: 15px;
	}
	.events-item-other h3 {
		font-size: 17px;
		line-height: 22px;
	}
	.events-item-other .btn-green {
		font-size: 12px;
		line-height: 12px;
		height: 38px;
	}

	/* --- 3. Конный клуб --- */
	.horse-club__list {
		gap: 12px;
		padding: 25px 15px;
		scroll-padding: 0 15px;
	}
	.horse-club-item {
		flex: 0 0 120px;
		width: 120px;
	}
	.horse-club-item__img {
		width: 90px;
		height: 90px;
	}
	.horse-club-item__text {
		font-size: 12px;
		line-height: 15px;
	}

	/* --- 4. Отзывы: фото слева, рядом имя + звёзды + дата, текст ниже по левому краю --- */
	.reviews-page-item,
	.reviews-slider .reviews-page-item {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas:
			"img name"
			"img rating"
			"text text";
		grid-template-rows: auto 1fr auto;
		column-gap: 14px;
		row-gap: 4px;
		align-items: start;
		text-align: left;
		padding: 15px;
	}
	.reviews-page-item__img {
		grid-area: img;
		width: 72px;
		height: 72px;
		margin: 0;
	}
	.reviews-page-item__name {
		grid-area: name;
		align-self: end;
		margin: 0;
		text-align: left;
		min-width: 0;
	}
	.reviews-page-item__rating {
		grid-area: rating;
		justify-content: flex-start;
		align-items: center;
		flex-wrap: nowrap;
		gap: 8px;
		margin: 0;
	}
	.reviews-page-item__rating ul {
		gap: 2px;
		flex-shrink: 0;
	}
	.reviews-page-item__rating svg {
		width: 15px;
		height: 15px;
	}
	.reviews-page-item__date {
		font-size: 12px;
		white-space: nowrap;
	}
	.reviews-page-item__text {
		grid-area: text;
		margin-top: 12px;
		text-align: left;
	}
	.reviews-page-item__text p {
		text-align: left;
	}

	/* --- 5. Футер: телефон и иконки соцсетей крупнее --- */
	.footer-white {
		height: auto;
		min-height: 64px;
		padding: 10px 12px;
	}
	.footer-white__contacts {
		gap: 6px;
		align-items: flex-end;
	}
	.footer-white .social {
		gap: 8px;
	}
	.footer-white .social a {
		width: 30px;
		height: 30px;
	}
	.footer-white .social a svg {
		width: 15px;
		height: 15px;
	}
	.footer-white .phones a {
		font-size: 16px;
		line-height: 22px;
		font-weight: 500;
	}
}

/* ===================================================================
 * МОБИЛЬНАЯ ВЕРСИЯ — правки 19.10.2026 (2)
 * =================================================================== */
@media (max-width: 480px) {

	/* Слайдеры: на любом телефоне видно 2 плашки и край третьей,
	   чтобы было понятно, что ряд листается */
	.assortment-item,
	.horse-club-item {
		flex: 0 0 38%;
		width: 38%;
	}
	.events-item {
		flex: 0 0 74%;
		width: 74%;
	}

	/* Отзывы: дата под звёздами */
	.reviews-page-item__rating {
		flex-direction: column;
		align-items: flex-start;
		gap: 3px;
	}

	/* Футер: логотип по высоте = иконки + телефон,
	   отступ над иконками = отступу под телефоном */
	.footer-white {
		height: auto;
		min-height: 0;
		padding: 12px 12px;
		align-items: center;
	}
	.footer-white__contacts {
		gap: 6px;
		justify-content: center;
	}
	.footer-white .phones a {
		white-space: nowrap;
	}
	.footer-white__contacts {
		flex-shrink: 0;
	}
	.footer-white__logo {
		max-width: none;
		height: 58px; /* 30px иконки + 6px отступ + 22px телефон */
		display: flex;
		align-items: center;
	}
	.footer-white__logo a,
	.footer-white__logo .custom-logo-link {
		display: block;
		height: 100%;
	}
	.footer-white__logo img,
	.footer-white__logo .custom-logo {
		height: 100%;
		width: auto;
		max-width: none;
		display: block;
	}
}

/* >>> AUTO: мобильный текст +2px (сгенерировано) */
@media (max-width: 480px) {
	html body .banner__text em { font-size: 82px; }
	html body .input input { font-size: 17px; line-height: 19px; }
	html body .input input::placeholder { font-size: 17px; line-height: 19px; }
	html body .agree p { font-size: 14px; line-height: 16px; }
	html body .input-text textarea { font-size: 17px; line-height: 19px; }
	html body .input-text textarea::placeholder { font-size: 17px; line-height: 19px; }
	html body #policy .modal__window-title h2 { font-size: 26px; line-height: 34px; }
	html body #policy .modal__window li { font-size: 18px; line-height: 22px; }
	html body .banner__text h1 { font-size: 27px; line-height: 37px; }
	html body .banner__text h3 { font-size: 18px; line-height: 22px; }
	html body .dog-friendly__text h2 { font-size: 22px; line-height: 32px; }
	html body .reservation h2 { font-size: 16px; line-height: 38px; }
	html body .phones a { font-size: 12px; line-height: 20px; }
	html body .live__title h2 { font-size: 20px; line-height: 30px; }
	html body .restaurant-menu-sidebar__menu a { font-size: 13px; line-height: 26px; }
	html body .restaurant-menu-block h3 { font-size: 15px; line-height: 16px; }
	html body .archive-page .archive-description h1 { font-size: 20px; line-height: 30px; }
	html body .modal__window h3 { font-size: 18px; line-height: 22px; }
	html body .reviews-form__rating p { font-size: 14px; line-height: 20px; }
	html body .reviews-page__title h1 { font-size: 20px; line-height: 30px; }
	html body .error-page__content h1 { font-size: 22px; line-height: 29px; }
	html body #policy .modal__window h2 { font-size: 20px; line-height: 30px; }
	html body { font-size: 16px; line-height: 22px; }
	html body.page-template-page-text .page .container h1 { font-size: 28px; line-height: 32px; }
	html body.page-template-page-text .page .container h2 { font-size: 28px; line-height: 32px; }
	html body.page-template-page-text .page .container p { font-size: 17px; line-height: 23px; }
	html body.page-template-page-text .page .container li { font-size: 17px; line-height: 23px; }
	html body .breadcrumbs a { font-size: 14px; line-height: 18px; }
	html body .breadcrumbs span { font-size: 14px; line-height: 18px; }
	html body .gallery__title p { font-size: 16px; line-height: 22px; }
	html body .live__title p { font-size: 16px; line-height: 22px; }
	html body .restaurant-desc__title p { font-size: 16px; line-height: 22px; }
	html body .reviews-page__title p { font-size: 16px; line-height: 22px; }
	html body .events-page p { font-size: 16px; line-height: 22px; }
	html body .assortment__block p { font-size: 16px; line-height: 22px; }
	html body .error-page__content p { font-size: 16px; line-height: 22px; }
	html body #policy .modal__window p { font-size: 16px; line-height: 22px; }
	html body .dog-friendly__text p { font-size: 16px; line-height: 22px; }
	html body .rent-item__desc h3 { font-size: 18px; line-height: 24px; }
	html body .rent-item__people { font-size: 16px; line-height: 22px; }
	html body .rent-item__price { font-size: 16px; line-height: 22px; }
	html body .about__desc .rent-item__people { font-size: 16px; line-height: 22px; }
	html body .about__desc .rent-item__price { font-size: 16px; line-height: 22px; }
	html body .service__desc h3 { font-size: 18px; line-height: 22px; }
	html body .service__desc p { font-size: 16px; line-height: 21px; }
	html body .events-page-item__title h3 { font-size: 18px; line-height: 22px; }
	html body .events-page-item__text p { font-size: 16px; line-height: 21px; }
	html body .events-page-item__link a { font-size: 15px; line-height: 18px; }
	html body .events-page-item__date { font-size: 15px; line-height: 18px; }
	html body .live-item__text { font-size: 15px; line-height: 19px; }
	html body .single-event__content h1 { font-size: 24px; line-height: 30px; }
	html body .promotion-news .single-event__content h1 { font-size: 20px; line-height: 26px; }
	html body .single-event__content h3 { font-size: 17px; line-height: 24px; }
	html body .single-event__content ul li { font-size: 16px; line-height: 22px; }
	html body .prev-single { font-size: 14px; line-height: 18px; }
	html body .next-single { font-size: 14px; line-height: 18px; }
	html body .restaurant-nav li a { font-size: 14px; line-height: 22px; }
	html body .reviews-page-item__name { font-size: 17px; line-height: 22px; }
	html body .reviews-page-item__text { font-size: 16px; line-height: 21px; }
	html body .questions-form__title p { font-size: 15px; line-height: 20px; }
	html body .footer__navs ul li a { font-size: 16px; line-height: 22px; }
	html body .footer__contact h3 { font-size: 15px; line-height: 18px; }
	html body .footer__contact a { font-size: 16px; line-height: 22px; }
	html body .footer__contact p { font-size: 16px; line-height: 22px; }
	html body .footer-copyright p { font-size: 13px; line-height: 17px; }
	html body .footer-copyright ul li a { font-size: 13px; line-height: 17px; }
	html body .assortment-item__text h3 { font-size: 15px; line-height: 18px; }
	html body .assortment-item__text p { font-size: 14px; line-height: 17px; }
	html body .events-item__title { font-size: 17px; line-height: 21px; }
	html body .events-item-other h3 { font-size: 19px; line-height: 24px; }
	html body .horse-club-item__text { font-size: 14px; line-height: 17px; }
	html body .reviews-page-item__date { font-size: 14px; }
	html body .footer-white .phones a { font-size: 18px; line-height: 24px; }
	html body h2 { font-size: 20px; }
	html body h3 { font-size: 20px; }
	html body h4 { font-size: 20px; }
	html body h5 { font-size: 20px; }
	html body h6 { font-size: 20px; }
	html body p) { font-size: 20px; }
	html body .farm-assortment .farm-assortment__note { font-size: 16px; }
	html body .farm-assortment .farm-assortment__eyebrow { font-size: 13px; }
	html body .farm-assortment .assortment__block > h2 { font-size: 30px; }
	html body .farm-assortment .assortment__block > .farm-assortment__intro { font-size: 18px; }
	html body .farm-assortment .assortment-item__text h3 { font-size: 21px; }
	html body .farm-assortment .assortment-item__text p { font-size: 17px; }
	html body .page-template-page-text .page .container h1 { font-size: 49px; line-height: 52px; }
	html body .page-template-page-text .page .container h2 { font-size: 49px; line-height: 52px; }
	html body .page-template-page-text .page .container h3 { font-size: 20.72px; line-height: 24px; }
	html body .page-template-page-text .page .container h4 { font-size: 20.72px; line-height: 24px; }
	html body .page-template-page-text .page .container p { font-size: 18px; line-height: 24px; }
	html body .page-template-page-text .page .container li { font-size: 18px; line-height: 24px; }
	html body .services--landing .service__info .rent-item__price li { font-size: 20px; }
	html body .services--landing .service__date { font-size: 22px; }
	html body .services--landing .service__title { font-size: 20px; }
	html body .services--landing .service__desc h3 { font-size: 20px; }
	html body .landing-notice__icon { font-size: 22px; }
	html body .landing-activities .live-item__text { font-size: 16px; line-height: 20px; }
	html body .landing-notice__title { font-size: 26px; }
	html body .landing-notice__text { font-size: 18px !important; }
	html body .landing-notice__text p { font-size: 18px !important; }
	html body .landing-notice__text li { font-size: 18px !important; }
	html body .landing-notice__text span { font-size: 18px !important; }
	html body .landing-notice__text a { font-size: 18px !important; }
}
/* <<< AUTO */

/* ===================================================================
 * МОБИЛЬНАЯ ВЕРСИЯ — единая система заголовков (20.10.2026)
 * H1 на баннере → 30px; H1 страницы → 28px; H2 раздела → 26px;
 * H3 карточки → 18px (заглавные, Medium); H3 подзаголовок в тексте → 19px.
 * Везде шрифт Futura, H1/H2 — Bold (600), заглавными.
 * =================================================================== */
@media (max-width: 480px) {

	/* H1 на баннере */
	html body .banner__text h1 {
		font-family: 'futura', sans-serif;
		font-weight: 800;
		font-size: 30px;
		line-height: 36px;
		text-transform: uppercase;
	}

	/* H1 — заголовок страницы (без баннера) */
	html body .archive-page .archive-description h1,
	html body .reviews-page__title h1,
	html body .error-page__content h1,
	html body .single-event__content h1,
	html body .promotion-news .single-event__content h1,
	html body.page-template-page-text .page .container h1 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 28px;
		line-height: 32px;
		text-transform: uppercase;
		letter-spacing: 0;
	}
	/* у акции заголовок в карточке рядом с датой — чуть меньше */
	html body .promotion-news .single-event__content h1 {
		font-size: 22px;
		line-height: 27px;
	}

	/* H2 — заголовок раздела */
	html body h2,
	html body .live__title h2,
	html body .dog-friendly__text h2,
	html body .assortment__block h2,
	html body .questions-form__title h2,
	html body #policy .modal__window-title h2,
	html body .farm-assortment .assortment__block > h2,
	html body.page-template-page-text .page .container h2 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 26px;
		line-height: 30px;
		text-transform: uppercase;
		letter-spacing: 0;
	}

	/* H3 — заголовок карточки */
	html body .event-venues__card h3,
	html body .rent-item__desc h3,
	html body .events-page-item__title h3,
	html body .service__desc h3,
	html body .restaurant-menu-block h3,
	html body .events-item-other h3,
	html body .modal__window h3 {
		font-family: 'futura', sans-serif;
		font-weight: 500;
		font-size: 18px;
		line-height: 22px;
		text-transform: uppercase;
	}
	/* в плашках ассортимента */
	html body .assortment-item__text h3,
	html body .farm-assortment .assortment-item__text h3 {
		font-family: 'futura', sans-serif;
		font-weight: 500;
		font-size: 15px;
		line-height: 18px;
		text-transform: uppercase;
	}

	/* H3 — подзаголовок внутри текста */
	html body .about__desc h3,
	html body .single-event__content h3,
	html body.page-template-page-text .page .container h3,
	html body.page-template-page-text .page .container h4 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 19px;
		line-height: 24px;
		text-transform: none;
	}
}

/* ===================================================================
 * «Ознакомьтесь с ассортиментом» (новый блок главной, css/home-assortment.css):
 * заголовок приводим к общему стилю H2 на всех ширинах (20.10.2026)
 * =================================================================== */
html body .farm-assortment .assortment__block > h2 {
	font-family: 'futura', sans-serif;
	font-weight: 600;
	font-size: 47px;
	line-height: 50px;
	text-transform: uppercase;
	letter-spacing: 0;
	color: #1A1919;
}
@media (max-width: 768px) {
	html body .farm-assortment .assortment__block > h2 {
		font-size: 40px;
		line-height: 50px;
	}
}
@media (max-width: 480px) {
	html body .farm-assortment .assortment__block > h2 {
		font-size: 26px;
		line-height: 30px;
	}
}

/* Текстовые страницы (page.php / «Текстовая страница»): хлебные крошки
   оформлены как на остальных страницах — убираем лишний отступ над H1 */
html body.page-template-page-text .page .container {
	padding-top: 10px;
}

/* «Ознакомьтесь с ассортиментом»: «с ассортиментом» всегда одной строкой,
   на узких телефонах заголовок плавно уменьшается, чтобы строка помещалась */
.zp-nowrap {
	white-space: nowrap;
}
@media (max-width: 480px) {
	html body .farm-assortment .assortment__block > h2 {
		font-size: min(26px, calc(9vw - 6px));
		line-height: 1.15;
	}
}

/* «Ознакомьтесь с ассортиментом» на мобильных: фон блока почти на всю ширину
   экрана — 4px от краёв (контейнер даёт 15px, расширяем на 11px с каждой стороны) */
@media (max-width: 767px) {
	html body .farm-assortment .assortment__block {
		margin-left: -11px;
		margin-right: -11px;
	}
}

/* ===================================================================
 * Правки 22.10.2026
 * =================================================================== */

/* Галерея: картинки открываются крупно (fancybox) — ссылка занимает всю плашку */
.gallery-item > a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

/* Шапка (десктоп): «Как добраться · На карте» вместо адреса */
.header__address-sep {
	margin: 0 6px;
	opacity: .7;
}

/* Подвал: ссылка «Как добраться» под «Мы находимся» */
.footer__route {
	margin-top: 6px;
}
.footer__route a {
	text-decoration: none;
}

/* Блок с адресом и соцсетями для мобильного меню — на десктопе не нужен */
.zp-nav-contacts {
	display: none;
}

@media (max-width: 1024px) {
	/* Мобильная шапка: убираем оранжевую полосу с адресом и соцсетями — они переехали в меню */
	html body .header-top {
		display: none;
	}

	/* В меню под телефоном: «Как добраться · На карте» и соцсети */
	.zp-nav-contacts {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 12px;
		width: 100%;
	}
	.zp-nav-contacts__address {
		display: flex;
		align-items: center;
		gap: 6px;
	}
	.zp-nav-contacts__address i {
		display: flex;
	}
	.zp-nav-contacts__address svg {
		width: 18px;
		height: 18px;
	}
	.zp-nav-contacts__address svg path {
		fill: #F19A3E;
	}
	.zp-nav-contacts__address p {
		margin: 0;
		font-size: 16px;
		line-height: 22px;
		color: #1A1919;
	}
	.zp-nav-contacts__address a {
		color: #1A1919;
		text-decoration: underline;
		text-underline-offset: 3px;
	}
	.zp-nav-contacts .social {
		display: flex;
		gap: 10px;
		justify-content: flex-end;
	}
	html body .zp-nav-contacts .social a {
		width: 36px;
		height: 36px;
		background: #1A1919;
	}
	html body .zp-nav-contacts .social a svg {
		width: 17px;
		height: 17px;
	}

	/* Кнопка «Проверить даты» в меню — текст всегда в одну строку */
	html body .zp-nav-footer .zp-book {
		white-space: nowrap;
	}
}

@media (max-width: 380px) {
	html body .zp-nav-footer .zp-book {
		letter-spacing: .06em;
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (max-width: 767px) {
	/* «Сохраняйте спокойствие и ловите рыбу»: больше воздуха между кнопкой и баннером */
	html body .fishing__text {
		padding-bottom: 32px;
	}

	/* Конный клуб: плашки как в «Ознакомьтесь с ассортиментом» */
	html body .horse-club__block {
		margin-left: -11px;
		margin-right: -11px;
		background: #f6f7f1;
		box-shadow: none;
		border-radius: 8px;
	}
	html body .horse-club__list {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 10px;
		padding: 16px;
		overflow: visible;
		scroll-snap-type: none;
	}
	html body .horse-club-item {
		display: grid;
		grid-template-columns: 68px minmax(0, 1fr);
		align-items: center;
		gap: 16px;
		width: 100%;
		min-width: 0;
		flex: none;
		min-height: 100px;
		padding: 16px;
		box-sizing: border-box;
		background: #fff;
		border-radius: 8px;
		text-align: left;
		scroll-snap-align: none;
	}
	html body .horse-club-item__img {
		width: 68px;
		height: 68px;
		margin: 0;
		border-radius: 6px;
	}
	html body .horse-club-item__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transform: none;
	}
	html body .horse-club-item__text {
		text-align: left;
		font-size: 17px;
		line-height: 21px;
		font-weight: 500;
		text-transform: uppercase;
		color: #29301f;
	}
	html body .horse-club__btn {
		padding: 8px 16px 20px;
	}
	html body .horse-club__btn .btn-orange {
		border-radius: 6px;
		height: 48px;
	}
}

html body .reviews-page-item .reviews-page-item__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    line-clamp: 9;
    overflow: hidden;
    height: auto;
    max-height: 9lh;
}
.zp-review-source {
    display: inline-block;
    grid-column: 1 / -1;
    margin-top: 8px;
    color: #526a22;
    text-decoration: underline;
}

/* ===================================================================
 * Главная (22.10.2026): фон-картинка перед «Ознакомьтесь с ассортиментом» на всю ширину
 * =================================================================== */
html body .bg-green:before {
	width: 100%;
	background-size: cover;
	background-position: center;
}

/* ===================================================================
 * «Конный клуб» на главной (планшет/десктоп): фото-плитки как в «Ознакомьтесь с ассортиментом»
 * =================================================================== */
@media (min-width: 768px) {
	html body .horse-club__block {
		background: #f6f7f1;
		box-shadow: none;
		border-radius: 8px;
		padding: 28px;
		overflow: visible;
	}
	html body .horse-club__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
		padding: 0;
	}
	html body .horse-club-item {
		position: relative;
		isolation: isolate;
		min-height: 240px;
		width: auto;
		margin: 0;
		padding: 22px;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: flex-start;
		text-align: left;
		border-radius: 8px;
		overflow: hidden;
		background: #293421;
	}
	html body .horse-club-item::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: -1;
		background: linear-gradient(180deg, rgba(18,32,21,0) 10%, rgba(20,32,19,.31) 40%, rgba(20,32,19,.92) 100%);
		pointer-events: none;
	}
	html body .horse-club-item__img {
		position: absolute;
		inset: 0;
		z-index: -2;
		width: 100%;
		height: 100%;
		margin: 0;
		border-radius: 0;
	}
	html body .horse-club-item__img img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		transition: transform .4s ease;
	}
	html body .horse-club-item:hover .horse-club-item__img img {
		transform: scale(1.04);
	}
	html body .horse-club-item__text {
		margin: 0;
		color: #fff;
		font-family: 'futura', sans-serif;
		font-size: 21px;
		line-height: 1.15;
		font-weight: 600;
		text-transform: none;
		text-align: left;
	}
	html body .horse-club-item__text::first-letter {
		text-transform: uppercase;
	}
	html body .horse-club__btn {
		margin-top: 26px;
		padding-top: 24px;
		border-top: 1px solid #e5e8de;
	}
	html body .horse-club__btn .btn-orange {
		display: inline-flex;
		width: auto;
		max-width: 100%;
		height: auto;
		min-height: 48px;
		padding: 13px 20px;
		border-radius: 6px;
		gap: 26px;
		font-size: 16px;
		line-height: 1.3;
		text-transform: none;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	html body .horse-club__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Плитки-фото («Ознакомьтесь с ассортиментом», «Конный клуб»): при наведении картинка чуть приближается */
html body .farm-assortment .assortment-item__img,
html body .horse-club-item__img {
	overflow: hidden;
}
html body .farm-assortment .assortment-item__img img,
html body .horse-club-item__img img {
	transition: transform .45s ease;
}
html body .farm-assortment .assortment-item:hover .assortment-item__img img,
html body .horse-club-item:hover .horse-club-item__img img {
	transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
	html body .farm-assortment .assortment-item:hover .assortment-item__img img,
	html body .horse-club-item:hover .horse-club-item__img img {
		transform: none;
	}
}

/* «Конный клуб»: кнопка как «Перейти в магазин» + подпись справа (как в «Ассортименте») */
.horse-club__note {
	color: #626658;
	font-size: 14px;
	line-height: 1.35;
}
@media (min-width: 768px) {
	html body .horse-club__btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
	}
	html body .horse-club__btn .btn-orange {
		box-sizing: border-box;
		min-height: 48px;
		height: auto;
		padding: 13px 20px;
		font-size: 16px;
		line-height: 1.3;
		font-weight: 400;
		letter-spacing: normal;
	}
	html body .horse-club__btn .btn-orange svg {
		width: 18px;
		height: 18px;
		top: 0;
	}
	html body .horse-club__note {
		text-align: right;
	}
}
@media (max-width: 767px) {
	html body .horse-club__btn {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	html body .horse-club__note {
		font-size: 15px;
	}
}

/* Галерея (десктоп): при наведении картинка чуть приближается */
@media (hover: hover) and (min-width: 1025px) {
	html body .gallery-item {
		overflow: hidden;
	}
	html body .gallery-item img {
		transition: transform .45s ease;
	}
	html body .gallery-item:hover img {
		transform: scale(1.06);
	}
}
@media (prefers-reduced-motion: reduce) {
	html body .gallery-item:hover img {
		transform: none;
	}
}

/* ===================================================================
 * ВНУТРЕННИЕ СТРАНИЦЫ ПО АНАЛОГИИ С ГЛАВНОЙ (22.10.2026)
 * =================================================================== */

/* --- Первый экран (баннер) — как слайдер главной: фото с затемнением слева,
       текст и кнопка по левому краю --- */
html body .banner:not(.home-banner) {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	height: auto;
	min-height: 500px;
	padding: 0;
	background-color: #233025;
	background-size: cover;
	background-position: center;
	box-sizing: border-box;
}
html body .banner:not(.home-banner)::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(18,29,19,.82), rgba(18,29,19,.4) 50%, rgba(18,29,19,.06));
	pointer-events: none;
}
html body .banner:not(.home-banner) > .container {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: 56px;
	padding-bottom: 56px;
	box-sizing: border-box;
}
html body .banner:not(.home-banner) .banner__text {
	width: min(100%, 650px);
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	text-align: left;
	color: #fff;
}
html body .banner:not(.home-banner) .banner__text > * {
	margin: 0;
	padding: 0;
}
html body .banner:not(.home-banner) .banner__text h1 {
	color: #fff;
	text-align: left;
	font-family: 'futura', sans-serif;
	font-size: clamp(40px, 3.9vw, 56px);
	line-height: 1.1;
	letter-spacing: -.6px;
	font-weight: 600;
	text-transform: uppercase;
	text-shadow: none;
	padding: 0;
	margin: 0;
}
html body .banner:not(.home-banner) .banner__text h1::before {
	content: none;
}
html body .banner:not(.home-banner) .banner__text h3 {
	color: #fff;
	text-align: left;
	font-family: 'futura', sans-serif;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	max-width: 520px;
}
html body .banner:not(.home-banner) .banner__text h3::first-letter {
	text-transform: uppercase;
}
/* переносы <br> из админки в заголовке/подзаголовке баннера работают; на телефоне (≤480) — убираются, текст переносится сам */
html body .banner:not(.home-banner) .banner__text br {
	display: inline;
}
@media (max-width: 480px) {
	html body .banner:not(.home-banner) .banner__text br { display: none; }
}
html body .banner:not(.home-banner) .banner__text a.btn-green,
html body .banner:not(.home-banner) .banner__text a.btn-orange {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	width: auto;
	max-width: 100%;
	height: auto;
	min-height: 50px;
	margin-top: 8px;
	padding: 13px 22px;
	border: 1px solid #718b32;
	border-radius: 6px;
	background: #718b32;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-sizing: border-box;
}
html body .banner:not(.home-banner) .banner__text a.btn-green:hover,
html body .banner:not(.home-banner) .banner__text a.btn-orange:hover {
	background: #5d7528;
	border-color: #5d7528;
}
html body .banner:not(.home-banner) .banner__text a.btn-green::first-letter {
	text-transform: uppercase;
}
@media (min-width: 768px) and (max-width: 1024px) {
	html body .banner:not(.home-banner) > .container {
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media (max-width: 767px) {
	html body .banner:not(.home-banner) {
		min-height: 440px;
		background-position: 58% center;
	}
	html body .banner:not(.home-banner)::after {
		background: linear-gradient(90deg, rgba(18,29,19,.78), rgba(18,29,19,.4));
	}
	html body .banner:not(.home-banner) > .container {
		padding: 40px 24px;
	}
	html body .banner:not(.home-banner) .banner__text {
		width: 100%;
		gap: 16px;
	}
	html body .banner:not(.home-banner) .banner__text h1 {
		font-size: clamp(28px, 8.2vw, 34px);
		line-height: 1.1;
		letter-spacing: -.3px;
	}
	html body .banner:not(.home-banner) .banner__text h3 {
		font-size: 17px;
	}
	html body .banner:not(.home-banner) .banner__text a.btn-green,
	html body .banner:not(.home-banner) .banner__text a.btn-orange {
		min-height: 48px;
		padding: 12px 20px;
		gap: 22px;
	}
}

/* --- Блоки с круглыми картинками («У нас живут», «Чем заняться у нас»,
       «Дополните отдых любимыми занятиями») → прямоугольные плашки как на главной.
       Скрипт (js/scripts.js) ставит списку класс:
       zp-live--tiles — крупные прямоугольные фото → фото-плитки как «Конный клуб»;
       zp-live--cards — мелкие/круглые картинки → белые плашки с миниатюрой. --- */
html body .live__block {
	background: #f6f7f1;
	box-shadow: none;
	border-radius: 8px;
	padding: 40px 28px 36px;
}
html body .live__title {
	text-align: left;
	margin-bottom: 30px;
}
html body .live__title h2 {
	margin-bottom: 16px;
}
html body .live__title p {
	color: #626658;
	font-size: 17px;
	line-height: 1.45;
}
html body .live__list.zp-live--tiles,
html body .live__list.zp-live--cards {
	display: grid;
	gap: 14px;
}
html body .live__list.zp-live--tiles {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
html body .live__list.zp-live--cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* общие сбросы для плашек */
html body .live__list.zp-live--tiles .live-item,
html body .live__list.zp-live--cards .live-item {
	width: auto;
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
	border-radius: 8px;
	overflow: hidden;
}
html body .live__list.zp-live--tiles .live-item__img,
html body .live__list.zp-live--cards .live-item__img {
	border-radius: 6px;
	overflow: hidden;
}
html body .live__list .live-item__img img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .45s ease;
}
html body .live__list .live-item__img img.zp-cutout {
	transform: scale(1.42);
}
html body .live__list .live-item:hover .live-item__img img {
	transform: scale(1.06);
}
html body .live__list .live-item:hover .live-item__img img.zp-cutout {
	transform: scale(1.5);
}
/* фото-плитки */
html body .live__list.zp-live--tiles .live-item {
	position: relative;
	isolation: isolate;
	min-height: 240px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 0;
	background: #293421;
}
html body .live__list.zp-live--tiles .live-item::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(18,32,21,0) 10%, rgba(20,32,19,.31) 40%, rgba(20,32,19,.92) 100%);
	pointer-events: none;
}
html body .live__list.zp-live--tiles .live-item__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	border-radius: 0;
}
html body .live__list.zp-live--tiles .live-item__text {
	color: #fff;
	text-align: left;
	font-family: 'futura', sans-serif;
	font-size: 21px;
	line-height: 1.15;
	font-weight: 600;
	text-transform: none;
}
html body .live__list.zp-live--tiles .live-item__text::first-letter {
	text-transform: uppercase;
}
/* белые плашки с миниатюрой */
html body .live__list.zp-live--cards .live-item {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	min-height: 100px;
	padding: 16px;
	background: #fff;
}
html body .live__list.zp-live--cards .live-item__img {
	width: 68px;
	height: 68px;
}
html body .live__list.zp-live--cards .live-item__text {
	text-align: left;
	font-size: 17px;
	line-height: 21px;
	font-weight: 500;
	text-transform: uppercase;
	color: #29301f;
}
@media (max-width: 1024px) {
	html body .live__list.zp-live--tiles,
	html body .live__list.zp-live--cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	html body .live__block {
		margin-left: -11px;
		margin-right: -11px;
		padding: 28px 16px;
	}
	html body .live__title p {
		font-size: 16px;
	}
	/* на телефоне фото-плитки превращаются в плашки списком, как «Конный клуб» */
	html body .live__list.zp-live--tiles {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	html body .live__list.zp-live--tiles .live-item {
		display: grid;
		grid-template-columns: 68px minmax(0, 1fr);
		align-items: center;
		gap: 16px;
		min-height: 100px;
		padding: 16px;
		background: #fff;
	}
	html body .live__list.zp-live--tiles .live-item::after {
		content: none;
	}
	html body .live__list.zp-live--tiles .live-item__img {
		position: static;
		width: 68px;
		height: 68px;
		border-radius: 6px;
	}
	html body .live__list.zp-live--tiles .live-item__text {
		color: #29301f;
		font-size: 17px;
		line-height: 21px;
		font-weight: 500;
		text-transform: uppercase;
	}
	/* животные — по две плашки в ряд, компактно */
	html body .live__list.zp-live--cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	html body .live__list.zp-live--cards .live-item {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 10px;
		min-height: 72px;
		padding: 12px;
	}
	html body .live__list.zp-live--cards .live-item__img {
		width: 48px;
		height: 48px;
	}
	html body .live__list.zp-live--cards .live-item__text {
		font-size: 14px;
		line-height: 17px;
	}
}

/* ===================================================================
 * ЕДИНАЯ СИСТЕМА ЗАГОЛОВКОВ H1–H4 — десктоп и планшет (22.10.2026)
 * (мобильная версия ≤480px — блок «единая система заголовков» выше)
 *   H1 страницы ......... 52px (планшет 40px), Bold, заглавные
 *   H1 на баннере ....... как на главной (clamp 40–56px)
 *   H2 раздела .......... 47px (планшет 40px), Bold, заглавные
 *   H3 карточки ......... 20px, Medium, заглавные
 *   H3/H4 в тексте ...... 20px / 18px, Bold, обычный регистр
 *   Заголовки на фото-плитках — 21px, как в «Ассортименте»
 * =================================================================== */
@media (min-width: 481px) {
	html body .archive-page .archive-description h1,
	html body .archive-description h1,
	html body .reviews-page__title h1,
	html body .error-page__content h1,
	html body .error-page__text h1,
	html body .single-event__content h1,
	html body.page-template-page-text .page .container h1 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 52px;
		line-height: 56px;
		letter-spacing: 0;
		text-transform: uppercase;
	}
	/* у акции заголовок внутри карточки рядом с датой — компактнее */
	html body .promotion-news .single-event__content h1 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 26px;
		line-height: 32px;
		text-transform: uppercase;
	}

	html body h2,
	html body .live__title h2,
	html body .dog-friendly__text h2,
	html body .questions-form__title h2,
	html body.page-template-page-text .page .container h2 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 47px;
		line-height: 50px;
		letter-spacing: 0;
		text-transform: uppercase;
	}

	html body .event-venues__card h3,
	html body .rent-item__desc h3,
	html body .events-page-item__title h3,
	html body .service__desc h3,
	html body .services--landing .service__desc h3,
	html body .services--landing .service__title {
		font-family: 'futura', sans-serif;
		font-weight: 500;
		font-size: 20px;
		line-height: 26px;
		letter-spacing: 0;
		text-transform: uppercase;
	}
	html body .restaurant-menu-block h3 {
		font-family: 'futura', sans-serif;
		font-weight: 500;
		font-size: 22px;
		line-height: 28px;
		text-transform: uppercase;
	}
	html body .events-item-other h3 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 24px;
		line-height: 30px;
		text-transform: uppercase;
	}

	html body .about__desc h3,
	html body .single-event__content h3,
	html body.page-template-page-text .page .container h3 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 20px;
		line-height: 26px;
		text-transform: none;
	}
	html body .about__desc h4,
	html body .single-event__content h4,
	html body.page-template-page-text .page .container h4 {
		font-family: 'futura', sans-serif;
		font-weight: 600;
		font-size: 18px;
		line-height: 24px;
		text-transform: none;
	}
}
@media (min-width: 481px) and (max-width: 768px) {
	html body .archive-page .archive-description h1,
	html body .archive-description h1,
	html body .reviews-page__title h1,
	html body .error-page__content h1,
	html body .error-page__text h1,
	html body .single-event__content h1,
	html body.page-template-page-text .page .container h1 {
		font-size: 40px;
		line-height: 46px;
	}
	html body h2,
	html body .live__title h2,
	html body .dog-friendly__text h2,
	html body .questions-form__title h2,
	html body.page-template-page-text .page .container h2 {
		font-size: 40px;
		line-height: 46px;
	}
	html body .events-item-other h3 {
		font-size: 20px;
		line-height: 26px;
	}
}

@media (max-width: 480px) {
	html body .event-venues__card h3,
	html body .services--landing .service__desc h3,
	html body .services--landing .service__title {
		font-family: 'futura', sans-serif;
		font-weight: 500;
		font-size: 18px;
		line-height: 22px;
		text-transform: uppercase;
	}
}

/* ===================================================================
 * Акции (/category/akczii/) — 22.10.2026
 * =================================================================== */
/* плашка — бежевая, как плашки блоков на главной */
html body.category-akczii .events-page-item {
	background: #f6f7f1;
	box-shadow: none;
	border-radius: 8px;
}
html body.category-akczii .events-page-item__img {
	border-radius: 8px 8px 0 0;
}
/* заголовок акции чуть жирнее */
html body.category-akczii .events-page-item__title h3 {
	font-weight: 600;
}
/* описание чуть меньше */
html body.category-akczii .events-page-item__text,
html body.category-akczii .events-page-item__text p {
	font-size: 15px;
	line-height: 21px;
	color: #3a3633;
}
/* больше расстояние между акциями по горизонтали */
html body.category-akczii .events-page__list {
	column-gap: 32px;
	row-gap: 24px;
}
@media (min-width: 769px) {
	html body.category-akczii .events-page-item {
		width: calc((100% - 64px) / 3);
	}
}
@media (min-width: 481px) and (max-width: 768px) {
	html body.category-akczii .events-page-item {
		width: calc((100% - 32px) / 2);
	}
}
@media (max-width: 480px) {
	html body.category-akczii .events-page-item__text,
	html body.category-akczii .events-page-item__text p {
		font-size: 15px;
		line-height: 20px;
	}
}
@media (max-width: 480px) {
	/* дата и «Узнать условия акции» — на одной линии с текстом карточки */
	html body.category-akczii .events-page-item__bottom {
		padding: 0 15px 15px;
		gap: 6px;
	}
}
@media (max-width: 480px) {
	/* дата и ссылка идут после текста, а не поверх него */
	html body.category-akczii .events-page-item__bottom {
		position: static;
		padding: 0 15px 16px;
	}
	html body.category-akczii .events-page-item__text {
		margin-bottom: 14px;
	}
}

/* ===================================================================
 * Жирный текст в текстах (22.10.2026): <strong>/<b> по умолчанию «bolder»
 * и в Futura попадал в ExtraBold (800) — делаем Bold (600), чуть тоньше
 * =================================================================== */
html body strong,
html body b {
	font-weight: 600;
}
html body .error-page__content p {
	font-weight: 600;
}
html body .landing-notice__title {
	font-weight: 600;
}
html body .services--landing .service__date {
	font-weight: 600;
}

/* «Дополните отдых любимыми занятиями» (лендинг): описание под названием занятия */
.live-item__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.live-item__desc {
	font-size: 15px;
	line-height: 1.4;
	color: #626658;
	text-align: left;
}
html body .live__list.zp-live--tiles .live-item {
	min-height: 320px;
}
html body .live__list.zp-live--tiles .live-item__desc {
	color: rgba(255,255,255,.92);
	font-size: 15px;
	line-height: 1.4;
}
@media (max-width: 767px) {
	html body .live__list.zp-live--tiles .live-item {
		align-items: start;
		min-height: 0;
	}
	html body .live__list.zp-live--tiles .live-item__desc {
		color: #626658;
		font-size: 15px;
		line-height: 1.4;
	}
	html body .live__list.zp-live--tiles .live-item__body {
		gap: 6px;
	}
}
/* 8 занятий — по 4 в ряд, без пустой ячейки */
@media (min-width: 1200px) {
	html body .landing-activities .live__list.zp-live--tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
/* с описанием текста больше — затемнение снизу плотнее, чтобы читалось на светлых фото */
@media (min-width: 768px) {
	html body .landing-activities .live__list.zp-live--tiles .live-item::after {
		background: linear-gradient(180deg, rgba(18,32,21,0) 0%, rgba(20,32,19,.45) 35%, rgba(20,32,19,.95) 100%);
	}
}

/* ===================================================================
 * Лендинг: блок «Плашки: картинка + название» (5 в линию) — 22.10.2026
 * =================================================================== */
.zp-highlights__title {
	margin-bottom: 30px;
}
.zp-highlights__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}
.zp-highlight {
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: #1A1919;
	text-decoration: none;
}
.zp-highlight__img {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: #f6f7f1;
}
.zp-highlight__img img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .45s ease;
}
.zp-highlight__title {
	font-family: 'futura', sans-serif;
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
	transition: color .2s;
}
a.zp-highlight:hover .zp-highlight__title {
	color: #F19A3E;
}
@media (hover: hover) {
	a.zp-highlight:hover .zp-highlight__img img {
		transform: scale(1.06);
	}
}
@media (max-width: 1024px) {
	.zp-highlights__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	/* на телефоне — в линию слайдером, видна часть следующей плашки */
	.zp-highlights__list {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 0 -15px;
		padding: 0 15px 6px;
		scroll-padding: 0 15px;
	}
	.zp-highlights__list::-webkit-scrollbar {
		display: none;
	}
	.zp-highlight {
		flex: 0 0 42%;
		scroll-snap-align: start;
		gap: 10px;
	}
	.zp-highlight__title {
		font-size: 15px;
		line-height: 19px;
	}
}

/* ===================================================================
 * «Как добраться»: Яндекс.Карта справа от текста на треть ширины
 * =================================================================== */
.zp-route {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.zp-route__map {
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.zp-route__map iframe {
	display: block;
	width: 100%;
	height: 560px;
	max-width: 100%;
	border: 0;
	border-radius: 8px;
	background: #f6f7f1;
}
.zp-route__open {
	font-size: 15px;
	color: #829D3F;
	text-decoration: none;
}
.zp-route__open:hover {
	color: #F19A3E;
}
@media (max-width: 1024px) {
	.zp-route {
		gap: 24px;
	}
	.zp-route__map iframe {
		height: 460px;
	}
}
@media (max-width: 767px) {
	/* на телефоне карта под текстом на всю ширину */
	.zp-route {
		grid-template-columns: 1fr;
	}
	.zp-route__map {
		position: static;
	}
	.zp-route__map iframe {
		height: 360px;
	}
}

/* Ресторан (мобильный): переключатель «Основное меню / Барная карта / Детское меню» —
   три равные кнопки, текст не вылезает за кнопку, высота по тексту */
@media (max-width: 767px) {
	html body .restaurant-nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 20px;
	}
	html body .restaurant-nav li {
		display: flex;
	}
	html body .restaurant-nav li a {
		flex: 1;
		height: auto;
		min-height: 48px;
		padding: 8px 6px;
		box-sizing: border-box;
		border-radius: 6px;
		font-size: 13px;
		line-height: 16px;
		letter-spacing: 0;
		text-align: center;
	}
}

/* Карточки услуг (мобильный, одна колонка): фиксированные 44px между описанием
   и строкой «кол-во человек» вместо «прижать к низу карточки» */
@media (max-width: 480px) {
	html body .services__list .service .service__desc {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	html body .services__list .service .service__desc > *:last-child {
		margin-bottom: 0;
	}
	/* 39px + 5px (gap карточки) = 44px */
	html body .services__list .service .service__info {
		margin-top: 39px;
		padding-top: 0;
	}
}
.service__desc p.zp-empty {
	display: none;
}

/* «У нас живут» и другие плашки с миниатюрой (мобильный): по одной плашке в строку,
   как «Конный клуб» и «Ассортимент» */
@media (max-width: 767px) {
	html body .live__list.zp-live--cards {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	html body .live__list.zp-live--cards .live-item {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 16px;
		min-height: 100px;
		padding: 16px;
	}
	html body .live__list.zp-live--cards .live-item__img {
		width: 68px;
		height: 68px;
	}
	html body .live__list.zp-live--cards .live-item__text {
		font-size: 17px;
		line-height: 21px;
	}
}

/* ===================================================================
 * Главная, первый экран (22.10.2026):
 * текст на 2/3 ширины; теги из админки работают (жирный, курсив, переносы,
 * уровни заголовков H1–H6 различаются по размеру)
 * =================================================================== */
html body .home-banner .home-banner__content {
	width: min(100%, 66.666%);
}
html body .home-banner .banner__text h6 {
	max-width: none;
}
/* курсив / жирный / подчёркнутый */
html body .home-banner .banner__text em,
html body .home-banner .banner__text i {
	font-style: italic;
}
html body .home-banner .banner__text strong,
html body .home-banner .banner__text b {
	font-weight: 800;
}
html body .home-banner .banner__text u {
	text-decoration: underline;
	text-underline-offset: .12em;
}
/* переносы строк — и на телефоне тоже */
html body .home-banner .banner__text br {
	display: inline;
}
/* уровни заголовков: H1/H2 — главный заголовок, H3–H5 — поменьше, H6 и абзац — подзаголовок */
html body .home-banner .banner__text h3 {
	font-size: clamp(30px, 2.8vw, 40px);
	line-height: 1.15;
}
html body .home-banner .banner__text h4 {
	font-size: clamp(26px, 2.3vw, 32px);
	line-height: 1.2;
}
html body .home-banner .banner__text h5 {
	font-size: clamp(22px, 1.8vw, 26px);
	line-height: 1.25;
}
html body .home-banner .banner__text h6,
html body .home-banner .banner__text p {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
}
@media (max-width: 1024px) {
	html body .home-banner .home-banner__content {
		width: min(100%, 80%);
	}
}
@media (max-width: 767px) {
	html body .home-banner .home-banner__content {
		width: 100%;
	}
	html body .home-banner .banner__text h3 {
		font-size: clamp(24px, 6.8vw, 28px);
	}
	html body .home-banner .banner__text h4 {
		font-size: clamp(21px, 5.8vw, 24px);
	}
	html body .home-banner .banner__text h5 {
		font-size: 20px;
	}
	html body .home-banner .banner__text h6,
	html body .home-banner .banner__text p {
		font-size: 17px;
	}
}

/* ===================================================================
 * Слайдеры до запуска скрипта (пока грузится страница): показываем только
 * то, что будет видно после запуска, без «второго экрана» под слайдером
 * =================================================================== */
.banner-slider:not(.slick-initialized) > .banner-slide:not(:first-child) {
	display: none;
}
.banner-slider:not(.slick-initialized) {
	overflow: hidden;
}
.reviews-slider:not(.slick-initialized) {
	display: flex;
	gap: 20px;
	overflow: hidden;
	margin-left: 0;
	margin-right: 0;
}
.reviews-slider:not(.slick-initialized) > * {
	flex: 0 0 calc((100% - 40px) / 3);
	min-width: 0;
}
@media (max-width: 1024px) {
	.reviews-slider:not(.slick-initialized) > * {
		flex-basis: calc((100% - 20px) / 2);
	}
}
@media (max-width: 480px) {
	.reviews-slider:not(.slick-initialized) > * {
		flex-basis: 100%;
	}
}

/* Мобильное меню: иконки соцсетей — на белом фоне (как в верхней полосе на десктопе),
   при наведении — чёрный кружок */
@media (max-width: 1024px) {
	html body .zp-nav-contacts .social a {
		background: #fff;
		border: 1px solid #E5E1DA;
		box-sizing: border-box;
		transition: background .25s, border-color .25s;
	}
	html body .zp-nav-contacts .social a path {
		fill: #F19A3E;
		transition: fill .25s;
	}
	html body .zp-nav-contacts .social a:hover,
	html body .zp-nav-contacts .social a:focus-visible {
		background: #1A1919;
		border-color: #1A1919;
	}
	html body .zp-nav-contacts .social a:hover path,
	html body .zp-nav-contacts .social a:focus-visible path {
		fill: #fff;
	}
}

/* ===================================================================
 * Мобильная шапка прилипает к верху экрана (22.10.2026)
 * overflow-x: hidden на html/body ломает position: sticky, поэтому
 * заменяем его на clip — горизонтальная прокрутка так же не появляется
 * =================================================================== */
@media (max-width: 1024px) {
	html,
	body {
		overflow-x: clip !important;
	}
	html body .header {
		position: sticky;
		top: 0;
		z-index: 1000;
		background: #fff;
	}
	html body .header .header-bottom {
		box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	}
}

/* Открытое мобильное меню: блокируем прокрутку на <html>, а не на <body> —
   иначе <body> становится отдельной областью прокрутки и «прилипшая» шапка уезжает */
@media (max-width: 1024px) {
	html:has(body.zp-nav-open) {
		overflow: hidden !important;
	}
	html body.zp-nav-open {
		overflow: visible !important;
		overflow-x: clip !important;
	}
}


/* ===== Блок «Важно» (layout notice) — общие стили для лендингов и страниц услуг ===== */
.landing-notice__box { display: flex; gap: 24px; align-items: flex-start; padding: 28px 32px; background: #f4f7ec; border-left: 6px solid #829D3F; border-radius: 16px; }
.landing-notice__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #829D3F; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; line-height: 1; }
.landing-notice__body { flex: 1 1 auto; min-width: 0; }
.landing-notice__title { margin: 0 0 10px; font-size: 22px; text-transform: uppercase; color: #829D3F; }
.landing-notice__text > *:first-child { margin-top: 0; }
.landing-notice__text > *:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
	.landing-notice__box { padding: 20px 18px; gap: 14px; }
	.landing-notice__icon { flex-basis: 36px; width: 36px; height: 36px; }
}

/* Баннеры внутренних страниц на десктопе: блок заголовка шириной под самую длинную строку
   («каникулы в «Заокских Полях»» ≈ 19.8 × размер шрифта H1); текст под заголовком — той же ширины */
@media (min-width: 1025px) {
	html body .banner:not(.home-banner) .banner__text { width: calc(19.8 * clamp(40px, 3.9vw, 56px)); max-width: 100%; }
	html body .banner:not(.home-banner) .banner__text > * { max-width: 100%; width: 100%; box-sizing: border-box; }
	html body .banner:not(.home-banner) .banner__text :is(h2, h3, h4, h5, h6, p) { max-width: 100%; }
	html body .banner:not(.home-banner) .banner__text > a,
	html body .banner:not(.home-banner) .banner__text > .btn-green,
	html body .banner:not(.home-banner) .banner__text > div:has(> a) { width: auto; }
}

/* «Мероприятия»: фото в баннере первого экрана отзеркалено по горизонтали (текст не трогаем; картинка — из админки) */
html body .banner.events-banner { isolation: isolate; overflow: hidden; }
html body .banner.events-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: inherit;
	transform: scaleX(-1);
	pointer-events: none;
}

/* Callback and residence photo galleries. */
.zp-callback-link {
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}
.footer .zp-callback-link {
    transition: background-color .2s, color .2s, border-color .2s;
}
.footer .zp-callback-link:is(:hover, :focus-visible) {
    background: #1a1919;
    color: #fff;
    border-color: #1a1919;
}
/* Shared corner radius for theme buttons, form controls and icon buttons. */
html body :is(button, input[type="submit"], input[type="button"], a[role="button"],
    .btn-green, .btn-orange, .btn-orange-border, .btn-white, .home-banner__cta,
    .farm-assortment__store, .zp-callback-link, .zp-winter-help__actions summary,
    .social a) {
    border-radius: 5px !important;
}

.footer-white__contacts {
    align-items: flex-end;
}
.footer-white__contacts .phones {
    justify-content: flex-end;
    flex-wrap: wrap;
}
.footer-white .footer-contact-actions .social { gap: 3px; }
.footer-contact-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
@media (max-width: 540px) {
    .footer-white:has(.zp-callback-link) { flex-wrap: wrap; gap: 10px; }
    .footer-white:has(.zp-callback-link) .footer-white__contacts {
        width: 100%;
        align-items: flex-end;
    }
    .footer-contact-actions { flex-wrap: wrap; }
}
@media (min-width: 1025px) {
    .header-top .zp-callback-link {
        background: #fff;
        color: #F19A3E;
        border-color: #fff;
        transition: background-color .2s, color .2s, border-color .2s;
    }
    .header-top .zp-callback-link:is(:hover, :focus-visible) {
        background: #1a1919;
        color: #fff;
        border-color: #1a1919;
    }
}
@media (max-width: 1024px) {
    html body .nav-close {
        background: #fff;
        border: 1px solid #deded8;
        width: 36px;
        height: 36px;
        padding: 0;
    }
    html body .nav-close:focus-visible { outline: 2px solid #829d3f; }
}
.zp-residence-gallery { position: relative; }
.zp-residence-gallery .about__img > a { display: block; height: 100%; }
.zp-residence-gallery__pages {
    position: absolute;
    inset: auto 12px 12px auto;
    display: flex;
    gap: 6px;
}
.zp-residence-gallery__pages {
    z-index: 1;
    max-width: calc(100% - 24px);
    flex-wrap: wrap;
    justify-content: flex-end;
    background: rgba(0,0,0,.55);
    border-radius: 5px;
}
.zp-residence-gallery__pages button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.zp-residence-gallery__pages button::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,.6);
}
.zp-residence-gallery__pages button[aria-current="true"]::before {
    width: 24px;
    background: #fff;
}
.zp-compact-menu { display: none; }

@media (min-width: 1025px) {
    html, body { overflow-x: clip; }
    html body .header { position: relative; }
    .zp-compact-menu:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0 0 auto;
        z-index: 1000;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    }
    body.admin-bar .zp-compact-menu { top: 32px; }
    .zp-compact-menu .header-top__left {
        display: flex;
        align-items: center;
        gap: clamp(12px, 2vw, 28px);
    }
    .zp-compact-logo a { display: block; }
    .zp-compact-menu .header-top { height: 54px; }
    .zp-compact-logo img {
        display: block;
        height: 42px;
        width: auto;
        filter: brightness(0) invert(1);
    }
    .zp-compact-navigation { background: #fff; }
    .zp-compact-navigation .header-menu {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px 20px;
        padding-block: 6px;
    }
    .zp-compact-navigation .header-menu li a {
        flex-direction: row;
        gap: 8px;
        padding-block: 8px;
    }
    .zp-compact-navigation .header-menu li a > svg {
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
    }
    .zp-compact-navigation .header-menu li.current-menu-item > a { text-decoration: underline; }
}

.questions-form .wpcf7-acceptance .wpcf7-list-item-label,
.questions-form .wpcf7-acceptance .wpcf7-list-item-label a {
    color: #fff;
}

/* Equal spacing around contact form consent rows. */
.wpcf7-form .inputs-row:has(+ .zp-data-consent) .input,
.wpcf7-form .input-text:has(+ .zp-data-consent) {
    margin-bottom: 0;
}
.wpcf7-form :is(.zp-data-consent, .zp-newsletter-consent) {
    margin-block: 0.75rem;
}
.wpcf7-form .zp-newsletter-consent .wpcf7-list-item { margin: 0; }
.wpcf7-form .zp-newsletter-consent input[type="checkbox"] {
    appearance: auto;
    margin: 0 0.4rem 0 0;
}
.wpcf7-form .zp-newsletter-consent + .input-submit { margin-top: 0; }
@media (max-width: 767px) {
    .wpcf7-form :is(.zp-data-consent, .zp-newsletter-consent) {
        width: 100%;
        margin-inline: 0;
        text-align: left;
    }
    .wpcf7-form :is(.zp-data-consent, .zp-newsletter-consent) .wpcf7-list-item {
        display: block;
        margin-inline: 0;
        text-align: left;
    }
    .wpcf7-form :is(.zp-data-consent, .zp-newsletter-consent) label {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
    .wpcf7-form :is(.zp-data-consent, .zp-newsletter-consent) input[type="checkbox"] {
        flex: 0 0 auto;
        margin-top: 0.2em;
    }
}

/* Mirror the farm hero photograph while keeping its content readable. */
.page-template-farm .farm-banner,
.page-template-farm .farm-banner > .container {
    transform: scaleX(-1);
}

/* Footer legal links and supplied legal documents (23.11.2026). */
.footer .footer-copyright__link { flex-direction: column; align-items: stretch; gap: 24px; width: 100%; }
.footer .footer-copyright ul.footer-legal-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 30px; width: 100%; }
.footer .footer-legal-links li { min-width: 0; }
.footer .footer-legal-links a { display: inline-block; line-height: 1.4; }
.zp-legal-table { margin: 24px 0 36px; overflow-x: auto; }
.zp-legal-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.zp-legal-table th, .zp-legal-table td { border: 1px solid #d9d9d9; padding: 16px 20px; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.zp-legal-table th { width: 30%; background: #f6f7f1; font-weight: 500; }
.zp-legal-table p:last-child { margin-bottom: 0 !important; }
@media (max-width: 1024px) { .footer .footer-copyright ul.footer-legal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
 .footer .footer-copyright ul.footer-legal-links { grid-template-columns: minmax(0, 1fr); gap: 14px; }
 .zp-legal-table th, .zp-legal-table td { padding: 12px; }
 .zp-legal-table th { width: 32%; }
}

.zp-legal-content { overflow-wrap: anywhere; }

/* Promotion archive: the same 4:3 image frame at every breakpoint. */
html body.category-akczii .events-page-item__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}
html body.category-akczii .events-page-item__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
