/*
Theme Name: На просторах Полесья
Description: Тема агроусадьбы в Лаховке.
Version: 1.8.20
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: polesye
*/

@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/pt-serif-italic-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/pt-serif-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/pt-serif-normal-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/pt-serif-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f3eb;
  --ink: #1b3029;
  --muted: #4f6056;
  --line: #dcded2;
  --white: #fffcf5;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
  --text-body: 1.125rem;
  --text-ui: 1rem;
  --text-label: .9375rem;
  --text-caption: .875rem;
  --text-eyebrow: .8125rem;
  --gutter: clamp(18px, 4.4vw, 72px);
  --content-width: min(1280px, calc(100% - 2 * var(--gutter)));
  --radius: 28px;
}

@media (min-width: 1001px) {
  :root { --text-body: 1.1875rem; }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--text-body)/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; vertical-align: middle; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #a26026; outline-offset: 4px; }
[hidden] { display: none !important; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; left: 12px; top: 12px; background: var(--white); padding: 12px; }
.wrap { width: var(--content-width); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.3125rem, 1rem + 4vw, 4.5rem); letter-spacing: -.022em; }
h2 em { color: #596e56; }
h3 { font-size: clamp(1.625rem, 1rem + 1.8vw, 2.375rem); letter-spacing: -.013em; }
.eyebrow { font-size: var(--text-eyebrow); font-weight: 700; line-height: 1.45; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 27px; height: 1px; margin-right: 7px; background: currentColor; vertical-align: middle; }

.site-header {
  position: relative;
  z-index: 2;
  max-width: 1510px;
  min-height: 80px;
  padding: 12px clamp(14px, 2.6vw, 40px);
  margin: 20px auto;
  width: calc(100% - 2 * clamp(14px, 2.3vw, 38px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
body.polesye-front {
  position: relative;
  --frame-edge: clamp(22px, 4vw, 64px);
  --frame-top: clamp(34px, 4.5vw, 72px);
  --frame-width: min(1480px, calc(100% - 2 * var(--frame-edge)));
}
.polesye-front .site-header {
  position: absolute;
  inset: calc(var(--frame-top) + 14px) 0 auto;
  width: var(--frame-width);
  min-height: 57px;
  margin-block: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  padding: 4px clamp(18px, 2.6vw, 38px);
}
.polesye-front .site-header > .brand { justify-self: start; }
@media (min-width: 1001px) and (max-width: 1350px) {
  .polesye-front .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
  .polesye-front .site-menu > a,
  .polesye-front .site-menu > details > summary { padding-inline: 2px; }
  .polesye-front .site-menu { gap: 3px; }
}
.polesye-front .site-menu {
  padding: 5px;
  border: 1px solid #fff9;
  border-radius: 50px;
  background: #fffdf0e8;
  backdrop-filter: blur(14px);
}
.polesye-front .site-menu a[aria-current] { color: var(--white); background: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 9px; justify-self: end; }
.header-social { flex-wrap: nowrap; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; line-height: 1.15; flex: none; }
.brand small { display: block; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.brand strong { display: block; font: 1.25rem/1.08 var(--serif); letter-spacing: -.025em; }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; background: var(--ink); color: #f5edda; border-radius: 50%; }
.brand-mark svg { width: 24px; height: 24px; }
.site-menu { display: flex; justify-content: center; gap: clamp(1px, .45vw, 7px); }
.site-menu a, .leisure-menu summary { border-radius: 50px; padding: 8px clamp(8px, 1vw, 16px); font-size: var(--text-ui); font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; }
.site-menu a:hover, .site-menu a[aria-current], .leisure-menu summary:hover, .leisure-menu[open] summary { background: #e6eadf; }
.menu-toggle { display: none; }
.button { display: inline-flex; min-height: 51px; padding: 8px 20px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 50px; text-decoration: none; font-size: var(--text-ui); font-weight: 650; line-height: 1.35; transition: background-color .18s, color .18s; }
.button svg { width: 19px; height: 19px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #385548; }
.button-light { background: #fff7e6; color: #21352d; }
.button-light:hover { background: #f3dbb5; }
.button-outline { border-color: #aab3a3; }
.button-outline:hover { background: #e6eadf; }
.header-call { min-height: 43px; padding: 0 5px 0 15px; gap: 10px; flex: none; }
.button-icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink); background: #f5edda; border-radius: 50%; }
.button-icon svg { width: 15px; height: 15px; }

.hero {
  position: relative;
  isolation: isolate;
  padding: var(--frame-top) 0 clamp(27px, 4vw, 62px);
  background: #546559;
  color: #202c26;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.hero-frame {
  position: relative;
  width: var(--frame-width);
  margin-inline: auto;
  padding: 0 clamp(12px, 2vw, 29px) clamp(13px, 1.9vw, 28px);
  border: 1px solid #ffffffe0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse 78% 94% at 1% 26%, #fff4e2 5%, #f7e7d2e8 35%, #f7e7d26e 64%, transparent 96%), linear-gradient(0deg, #f6e8d880, transparent 44%);
  box-shadow: 0 20px 55px #172a3352;
}
.hero-inner { padding: clamp(96px, 8.5vw, 130px) clamp(18px, 3.3vw, 58px) clamp(50px, 5vw, 85px); }
.hero-place { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 17px; color: #37473b; }
.hero-place svg { width: 17px; height: 17px; }
.hero h1 { font-size: clamp(3.75rem, 1rem + 6.3vw, 7.625rem); line-height: 1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.hero h1 em { color: #774b28; padding-right: .09em; }
.hero-description { max-width: 42ch; margin: 23px 0; font-size: var(--text-body); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-caption { position: absolute; top: clamp(100px, 9vw, 145px); right: clamp(18px, 3vw, 44px); margin: 0; border-left: 1px solid #fff9; padding: 2px 0 2px 12px; color: #fff9ec; text-shadow: 0 1px 5px #1a2b23; font-size: var(--text-eyebrow); line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.quick-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  width: min(1110px, 88%);
  margin: 0 auto 16px;
  padding: 8px;
  background: #fffaf1f2;
  border: 1px solid white;
  box-shadow: 0 10px 38px #233c2535;
  border-radius: 55px;
}
.hero-cards { display: grid; grid-template-columns: 1.14fr 1.8fr .94fr; gap: 12px; }
.hero-feature, .hero-services { position: relative; min-width: 0; border-radius: 23px; overflow: hidden; }
.hero-feature { display: flex; flex-direction: column; text-decoration: none; }
.hero-feature h2, .hero-services h2 { font-size: clamp(1.5rem, .95rem + 1.35vw, 2.375rem); }
.hero-feature-copy { position: relative; padding: 10px 42px 5px 4px; }
.hero-feature-copy p { margin: 0; }
.hero-feature-copy p:last-of-type:not(.eyebrow) { margin-top: 6px; color: var(--muted); font-size: var(--text-label); line-height: 1.5; }
.hero-feature .eyebrow, .hero-services .eyebrow { margin: 0 0 6px; }
.hero-feature-stay { padding: 8px; background: #fffaf2f2; }
.hero-feature-stay img { width: 100%; height: clamp(93px, 9vw, 141px); object-fit: cover; border-radius: 16px; }
.hero-feature-arrow { position: absolute; right: 3px; bottom: 7px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; }
.hero-feature-arrow svg { width: 15px; height: 15px; }
.hero-feature:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.hero-services { padding: clamp(14px, 1.85vw, 28px); background: #fffaf2e8; }
.hero-services > .eyebrow { color: var(--muted); }
.hero-services ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 15px 0 0; padding: 0; list-style: none; }
.hero-services li { border-top: 1px solid #a6b2a5; }
.hero-services a { display: flex; justify-content: space-between; gap: 3px; padding: 8px 4px 2px 0; text-decoration: none; }
.hero-services strong { display: block; font-size: var(--text-ui); line-height: 1.35; }
.hero-services small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--text-caption); line-height: 1.45; }
.hero-services a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hero-services a > svg { width: 14px; height: 14px; }
.hero-service-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 7px; border-radius: 50%; color: var(--ink); background: #e9eee1; }
.hero-service-icon svg { width: 17px; height: 17px; }
.hero-feature-river { justify-content: end; color: var(--white); background: #243d32; isolation: isolate; }
.hero-feature-river img, .hero-feature-river::before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-feature-river::before { content: ""; z-index: 0; background: linear-gradient(0deg, #152b23ed, #152b2390 45%, transparent 80%); }
.hero-feature-river .hero-feature-copy { padding: 13px clamp(31px, 4vw, 50px) 14px 15px; }
.hero-feature-river .hero-feature-arrow { right: 12px; bottom: 15px; }
.quick-link { display: flex; align-items: center; gap: 12px; padding: 8px clamp(9px, 1.65vw, 24px); text-decoration: none; border-right: 1px solid var(--line); }
.quick-link:last-child { border-right: 0; }
.quick-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.quick-link small, .quick-link strong { display: block; }
.quick-link small { color: var(--muted); font-size: var(--text-caption); line-height: 1.45; }
.quick-link strong { font-size: 1.0625rem; line-height: 1.4; }
.quick-icon { display: grid; place-items: center; flex: none; background: #ecefe5; width: 40px; height: 40px; border-radius: 50%; }
.quick-icon svg { width: 19px; height: 19px; }

.section { margin-top: clamp(65px, 8vw, 125px); }
.section-heading { display: flex; gap: 18px 32px; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.section-heading > p { margin: 0 0 3px; max-width: 31ch; color: var(--muted); }
.section-heading .eyebrow, .about .eyebrow { color: var(--muted); margin: 0 0 12px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 27px); }
.experience-card { display: flex; flex-direction: column; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 23px; text-decoration: none; }
.card-image { overflow: hidden; border-radius: 16px; }
.card-image img { width: 100%; aspect-ratio: 1.57; object-fit: cover; transition: transform .3s; }
.experience-card:hover img { transform: scale(1.045); }
.card-body { position: relative; flex: 1; padding: 14px 54px 15px 12px; overflow-wrap: anywhere; }
.card-body .eyebrow { margin: 0 0 8px; color: var(--muted); }
.card-body p:last-of-type { margin: 8px 0 0; color: var(--muted); font-size: var(--text-ui); }
.card-arrow { position: absolute; right: 6px; top: 23px; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; border: 1px solid #dce1d4; }
.card-arrow svg { width: 18px; height: 18px; }
.experience-card:hover .card-arrow { color: var(--white); background: var(--ink); }
.activity-links { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 20px 0 0; list-style: none; }
.activity-links a { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 50px; font-size: var(--text-ui); text-decoration: none; }
.activity-links a:hover { background: #e7ebdf; }
.activity-links svg, .contact-directions svg { width: 14px; height: 14px; }
.activity-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(9px, 1.4vw, 18px); margin-top: 18px; }
.activity-feature { display: grid; grid-template-columns: clamp(74px, 9vw, 135px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-decoration: none; }
.activity-feature img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 11px; }
.activity-feature span { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: var(--text-ui); font-weight: 650; overflow-wrap: anywhere; }
.activity-feature svg { width: 16px; height: 16px; }
.activity-feature:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .activity-feature { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 6px; border-radius: 14px; }
  .activity-feature span { font-size: var(--text-label); }
  .activity-feature svg { display: none; }
}

.about { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 6vw, 94px); }
.about > img { width: 100%; height: 100%; max-height: 510px; object-fit: cover; border-radius: var(--radius); }
.about-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted); }
.about-copy .button { margin-top: 6px; }
.contact-panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 25px; padding: clamp(26px, 5vw, 68px); border-radius: var(--radius); background: #213b31; color: var(--white); overflow-wrap: anywhere; }
.contact-panel > div:first-child { flex: 1 1 16rem; min-width: 0; }
.contact-panel p { margin-bottom: 0; }
.contact-panel .eyebrow { margin: 0 0 12px; color: #f6dfb8; }
.contact-panel h2 { font-size: clamp(2.1875rem, 1rem + 3.8vw, 3.9375rem); }
.contact-actions { display: grid; justify-items: center; gap: 11px; flex: none; max-width: 100%; }
.contact-directions { font-size: var(--text-ui); text-underline-offset: 4px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 50px; padding-block: 22px 30px; border-top: 1px solid var(--line); font-size: var(--text-ui); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { text-underline-offset: 4px; }
.footer-brand { flex: 0 1 260px; min-width: 0; }
.brochure-logo { display: block; max-width: 100%; height: auto; }
.footer-brand .brochure-logo { width: 260px; }
.entry-content > .brochure-logo { margin-bottom: 24px; }

.interior { min-height: 57vh; }
.interior-heading { padding: clamp(22px, 5vw, 65px) 0 clamp(18px, 3.5vw, 48px); border-block: 1px solid var(--line); margin-bottom: 24px; }
.interior-heading h1 { font-size: clamp(2.625rem, 1rem + 5.8vw, 6rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.interior-heading .eyebrow { margin: 0 0 12px; color: var(--muted); }
.interior-heading .eyebrow a { text-underline-offset: 3px; }
.entry-content { max-width: 820px; margin-inline: auto; overflow-wrap: anywhere; }
.entry-content > :where(p:not(:has(img, iframe, video, embed)), ul, ol) { max-inline-size: 80ch; }
.entry-content a { text-underline-offset: 4px; }
.entry-content h2, .archive-list h2 { font-size: clamp(1.8125rem, 1rem + 2.7vw, 2.875rem); }
.entry-content h4 { margin: 1em 0 .4em; }
.entry-content figure { max-width: 100%; margin-inline: auto; }
.entry-content img { border-radius: 12px; }
.service-photo img { width: 100%; max-height: 410px; object-fit: cover; }
.entry-content a:empty { display: none; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }

.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: 0 16px 12px 0; }
.entry-content .alignright { float: right; margin: 0 0 12px 16px; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.entry-content .gallery-item { margin: 0; }
.entry-content:after { content: ""; display: block; clear: both; }
.archive-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.archive-list article { padding: 18px; background: var(--white); border-radius: 16px; overflow-wrap: anywhere; }
.archive-list p { margin-bottom: 0; color: var(--muted); }
.pagination { margin: 22px 0; }
.search-form input, .comments input, .comments textarea { max-width: 100%; }
.comments { margin-top: 35px; }

@media (max-width: 1200px) {
  .header-call { padding: 4px; min-height: 0; }
  .header-call-label { display: none; }
  .header-call .button-icon { width: 34px; height: 34px; }
  .quick-link { gap: 8px; }
  .quick-icon { width: 33px; height: 33px; }
  .card-body { padding-right: 12px; }
  .card-arrow { top: 9px; width: 27px; height: 27px; }
  .card-arrow svg { width: 14px; height: 14px; }
  .card-body .eyebrow { padding-right: 22px; }
  .card-body h3:first-child { padding-right: 30px; }
}
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; gap: 10px; padding-inline: 12px; }
  .polesye-front .site-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; padding-inline: 12px; }
  .polesye-front .site-menu { grid-column: 1 / -1; border-radius: 15px; }
  .header-actions { order: 1; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 5px; margin-left: auto; padding: 5px 9px; min-height: 44px; background: #e9ede1; border: 0; border-radius: 50px; color: var(--ink); font-size: var(--text-caption); font-weight: 650; cursor: pointer; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .site-menu { order: 2; flex: 0 0 100%; justify-content: flex-start; flex-wrap: wrap; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .site-menu { display: none; }
  .leisure-menu[open] { grid-column: 1 / -1; }
  .leisure-menu[open] .leisure-links { position: static; min-width: 0; box-shadow: none; padding: 4px; }
  .hero-caption { display: none; }
  .quick-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: 19px; width: 100%; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-services { grid-column: 1 / -1; }
  .hero-feature-stay { grid-row: 2; }
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-link { border: 0; }
}
@media (max-width: 600px) {
  .site-header { margin-block: 10px; }
  body.polesye-front { --frame-edge: 12px; --frame-top: 17px; }
  .polesye-front .site-header { inset-block-start: calc(var(--frame-top) + 2px); margin: 0 auto; }
  .brand { gap: 7px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand strong { font-size: clamp(1rem, .75rem + 1vw, 1.1875rem); }
  .menu-toggle span { position: absolute; clip-path: inset(50%); }
  .menu-toggle { width: 44px; min-height: 44px; padding: 5px; }
  .site-menu { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-media img { object-position: 55% center; }
  .hero-frame { border-radius: 20px; background: linear-gradient(160deg, #fff5e6f5, #f6e8d0d9 27%, #f6e8d025 56%, #f6e8d055); }
  .hero-inner { padding: 91px 5px 50px; }
  .hero h1 { font-size: clamp(2.5625rem, 1rem + 8vw, 4.3125rem); }
  .hero-description { margin: 18px 0; }
  .hero-actions { gap: 10px 13px; }
  .hero-actions .button { padding-inline: 13px; gap: 7px; min-height: 46px; }
  .hero-cards { gap: 8px; }
  .hero-feature, .hero-services { border-radius: 17px; }
  .hero-feature-copy { padding-right: 25px; }
  .hero-feature-arrow { width: 24px; height: 24px; right: 0; }
  .hero-feature-arrow svg { width: 12px; height: 12px; }
  .hero-services ul { margin-top: 10px; }
  .hero-services a > svg { display: none; }
  .quick-link { padding: 6px 3px; gap: 5px; flex-direction: column; align-items: flex-start; }
  .quick-icon { width: 26px; height: 26px; }
  .quick-icon svg { width: 15px; height: 15px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading > p { margin-top: 12px; }
  .experience-grid, .about { grid-template-columns: 1fr; }
  .card-body { padding-right: 48px; }
  .card-body h3:first-child { padding-right: 0; }
  .card-arrow { width: 35px; height: 35px; }
  .about > img { aspect-ratio: 1.6; height: auto; }
  .contact-panel, .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-brand { flex-basis: auto; max-width: 100%; }
  .contact-panel > div:first-child { flex-basis: auto; }
  .contact-actions { justify-items: start; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 359px) {
  .site-header, .polesye-front .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    padding-inline: 9px;
  }
  .hero-services ul { grid-template-columns: 1fr; }
  .hero-services a > svg { display: block; }
  .hero-service-icon { display: none; }
  .site-header .brand { min-width: 0; gap: 5px; }
  .site-header .brand strong { font-size: .9375rem; }
  .site-header .site-menu { grid-column: 1 / -1; }
}

:root { scroll-padding-top: 104px; }
.header-anchor {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  display: flow-root;
  z-index: 8;
}
.polesye-front .header-anchor { height: 0; }
.site-header.is-pinned,
.polesye-front .site-header.is-pinned {
  min-height: 57px;
  margin-block: 0;
  border-radius: 24px;
  background: #fffdf3f8;
  box-shadow: 0 5px 24px #1b302925;
}
.polesye-front .site-header.is-pinned { inset-block-start: 6px; }
body:not(.polesye-front) .site-header {
  --header-inset: 10px;
  width: calc(var(--content-width) + 2 * var(--header-inset));
  min-height: 57px;
  margin-block: 0;
  padding: 7px var(--header-inset);
}
body:not(.polesye-front) .header-anchor { margin-block: 14px; }
.leisure-menu { position: relative; }
.leisure-menu summary { display: flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; }
.leisure-menu summary::-webkit-details-marker { display: none; }
.leisure-menu summary svg { width: 17px; height: 17px; }
.leisure-menu[open] summary svg { transform: rotate(180deg); }
.leisure-links {
  position: absolute;
  z-index: 2;
  top: calc(100% + 7px);
  left: 0;
  display: grid;
  gap: 2px;
  min-width: 205px;
  padding: 7px;
  border: 1px solid #dce1d4;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px #1b302925;
}
.leisure-links a { display: block; border-radius: 9px; }

.interior-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(170px, 22vw, 270px);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.interior-nav { margin-bottom: 12px; }
.side-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 2px;
  padding: 5px;
  border: 1px solid #d9dfd2;
  border-radius: 20px;
  background: linear-gradient(155deg, #fffdf6, #eef2e8);
  box-shadow: 0 8px 24px #1b302912;
}
.side-menu a, .side-menu summary { padding: 7px 11px; border-radius: 11px; white-space: normal; }
.side-menu > a[aria-current="page"], .side-menu .leisure-links a[aria-current="page"] { color: var(--white); background: var(--ink); }
.side-menu summary { justify-content: space-between; }
.side-menu summary svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fffaf1; transition: transform .25s ease; }
.side-menu .leisure-links { position: static; min-width: 0; margin: 3px 0 4px 9px; padding: 2px 0 2px 7px; border: 0; border-left: 1px solid #becabb; border-radius: 0; background: transparent; box-shadow: none; }
.side-menu .leisure-links a { font-size: var(--text-label); font-weight: 500; padding-block: 7px; }
@supports (interpolate-size: allow-keywords) {
  .side-menu details::details-content {
    interpolate-size: allow-keywords;
    block-size: 0;
    overflow: clip;
    transition: block-size .25s ease, content-visibility .25s allow-discrete;
  }
  .side-menu details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .side-menu details::details-content { transition: none; }
}
.mobile-menu-contacts, .mobile-menu-booking, .site-header .excursions-menu { display: none; }
.interior-main { min-width: 0; }
.interior-layout .interior-heading h1 { font-size: clamp(2.375rem, 1rem + 4.5vw, 5rem); }
.interior-sidebar { display: grid; gap: 12px; padding-top: 18px; }
.interior-sidebar h2 { font-size: clamp(1.5625rem, 1rem + 1.65vw, 2.25rem); }
.sidebar-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-decoration: none; }
.sidebar-card img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.sidebar-card span { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 11px; font-size: var(--text-ui); font-weight: 650; }
.sidebar-card:hover span { text-decoration: underline; text-underline-offset: 3px; }
.sidebar-card svg { width: 16px; height: 16px; }
.stay-house-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.stay-house-nav .button { flex: 1 1 125px; max-width: 220px; flex-direction: column; gap: 2px; padding-inline: 12px; text-align: center; }
.stay-house-nav small { font-size: var(--text-label); font-weight: 400; }
.stay-type { padding: clamp(15px, 3vw, 28px); margin: 25px 0; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.stay-type .stay-capacity { display: inline-block; margin: 10px 0 0; padding: 4px 11px; border-radius: 30px; background: #e8eee3; font-size: var(--text-label); font-weight: 650; }
.entry-content .gallery { margin: 19px 0; }
.entry-content .gallery img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.entry-content .gallery a { display: block; cursor: zoom-in; }
.entry-content .gallery-columns-1 { max-width: 430px; }
@media (min-width: 601px) {
  .post-219 .entry-content .gallery-columns-3,
  .entry-content .stay-winter .gallery-columns-3,
  .entry-content .estate-winter-photos .gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.entry-content .stay-type .button { text-decoration: none; }

.site-dialog { max-height: calc(100dvh - 30px); border: 0; border-radius: 21px; color: var(--ink); background: var(--white); box-shadow: 0 20px 65px #101d1b55; }
.site-dialog::backdrop { background: #10241bd1; }
body:has(.site-dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--ink); background: #e8eee3; font-size: 25px; line-height: 1; cursor: pointer; }
.booking-dialog { width: min(530px, calc(100% - 28px)); padding: clamp(20px, 4vw, 36px); border-radius: 32px; background: linear-gradient(145deg, #fffdf6, #f0f2e8); }
.booking-dialog h2 { font-size: clamp(2.125rem, 1rem + 3.7vw, 2.9375rem); padding-right: 25px; }
.booking-request > p, .booking-confirmation > p { color: var(--muted); }
.booking-confirmation-note { padding: 12px 16px; border-radius: 16px; background: #e8eee3; font-weight: 650; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 20px 0 18px; }
.booking-fields label { display: grid; align-content: start; gap: 4px; min-width: 0; font-size: var(--text-label); font-weight: 650; }
.booking-fields input:not([type="radio"]), .booking-house summary { width: 100%; min-width: 0; min-height: 52px; padding: 11px 16px; border: 1px solid #abb7a9; border-radius: 22px; color: var(--ink); background: #fff; font: var(--text-ui)/1.35 var(--sans); }
.booking-name, .booking-phone { grid-column: 1 / -1; }
@media (max-width: 380px) {
  .booking-date, .booking-house-field { grid-column: 1 / -1; }
}
.booking-form button { cursor: pointer; }
.booking-form button:disabled { cursor: wait; opacity: .7; }
.booking-status { margin: 12px 0 0; color: #294f37; }
.booking-status.is-error { color: #942d24; }
.gallery-dialog { width: min(1050px, calc(100% - 26px)); padding: 53px 10px 10px; color: var(--white); background: #182b23; }
.gallery-stage { position: relative; display: grid; place-items: center; touch-action: pan-y; }
.gallery-stage img { width: 100%; height: min(72dvh, 680px); object-fit: contain; }
.gallery-dialog.is-expanded { width: min(1440px, calc(100% - 26px)); }
.gallery-dialog.is-expanded .gallery-stage img { height: calc(100dvh - 135px); }
.gallery-control { position: absolute; inset-block-start: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fffaf1ed; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.gallery-control[data-step="-1"] { left: 3px; }
.gallery-control[data-step="1"] { right: 3px; }
.gallery-count { margin: 6px 0 0; text-align: center; }

@media (max-width: 1150px) and (min-width: 1001px) {
  .site-header .brand strong { font-size: 1.0625rem; }
  .site-menu a, .leisure-menu summary { padding-inline: 8px; }
  .header-actions .header-call {
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .header-actions .header-call .button-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #7d9584;
    background: #f4f6ee;
  }
  .header-actions .header-call:hover .button-icon { background: #dce7d7; }
}
@media (max-width: 1000px) {
  .polesye-front .site-menu, .site-header .site-menu {
    max-height: var(--menu-available-height, calc(100dvh - 120px));
    overflow: auto;
    background: #fffdf3fa;
    border-radius: 15px;
  }

}
@media (max-width: 600px) {
  .header-anchor { top: 0; }
  .entry-content .gallery:not(.gallery-columns-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .interior-layout { display: block; }
  .interior-sidebar { display: none; }
}

.contact-card, .contact-location {
  margin-bottom: 25px;
  padding: clamp(17px, 4vw, 33px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.contact-card { background: linear-gradient(140deg, #fffaf1, #edf1e7); }
.contact-card .eyebrow, .contact-location .eyebrow { margin: 0 0 7px; color: var(--muted); }
.contact-card-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.contact-card-links .button, .contact-location .button { text-decoration: none; max-width: 100%; }
.contact-location-heading { display: flex; flex-wrap: wrap; align-items: start; gap: 10px 20px; margin-bottom: 17px; }
.contact-location h2 { font-size: clamp(1.5625rem, 1rem + 1.8vw, 2.375rem); }
.contact-location p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .mobile-menu-contacts { display: grid; flex: 0 0 100%; grid-column: 1 / -1; margin-top: 5px; padding: 9px; border-top: 1px solid var(--line); background: #eef2e9; border-radius: 12px; }
  .mobile-menu-contacts .eyebrow { margin: 0 0 2px 9px; }
  .mobile-menu-contacts > a { display: flex; align-items: center; gap: 8px; min-height: 40px; white-space: normal; font-size: var(--text-ui); }
  .mobile-menu-contacts > a svg { width: 16px; height: 16px; }
}

.guide-intro {
  margin: 0 0 27px;
  padding: 16px 20px;
  border-left: 3px solid #728771;
  border-radius: 0 16px 16px 0;
  background: #eaf0e5;
  font-size: 1.0625em;
}
.entry-content .guide-intro ~ h2 { margin-top: 28px; }
.entry-content .guide-intro ~ h3 { margin-top: 22px; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.0625rem); }
.guide-sources { color: var(--muted); font-size: var(--text-label); }

.stay-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: 7px;
  padding: 0;
  margin: 17px 0;
  list-style: none;
}
.stay-amenities li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: #eef2e8; font-size: var(--text-ui); }
.stay-amenities svg { width: 20px; height: 20px; }
.entry-content .stay-type .gallery-columns-1 { max-width: none; }
.entry-content .stay-featured .gallery-item:first-child { grid-column: 1 / -1; }

.contact-map { display: block; width: 100%; height: clamp(255px, 38vw, 410px); border: 1px solid var(--line); border-radius: 17px; background: #e8eee3; }
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.contact-card .social-links { margin-top: 16px; }
.mobile-menu-contacts .social-links { margin: 6px 0 0 7px; }
.social-links .social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dce3d7;
  border-radius: 50%;
  color: var(--social-color);
  background: #fffdf5;
  text-decoration: none;
}
.social-links .social-link:hover { color: #fff; background: var(--social-color); }
.social-link svg { width: 23px; height: 23px; }
.social-link-telegram { --social-color: #0876ab; }
.social-link-viber { --social-color: #6850a1; }
.social-link-whatsapp { --social-color: #187949; }
.social-link-instagram { --social-color: #ab365c; }
@media (max-width: 1000px) {
  .header-social { display: none; }
  .site-header .excursions-menu { display: block; }
}

.booking-house-field {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  font-size: var(--text-label);
  font-weight: 650;
}
.booking-house { position: relative; }
.booking-house summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}
.booking-house summary::-webkit-details-marker { display: none; }
.booking-house summary svg { width: 18px; height: 18px; }
.booking-house[open] summary svg { transform: rotate(180deg); }
.booking-house-options {
  position: absolute;
  z-index: 2;
  inset: calc(100% + 6px) 0 auto;
  padding: 6px;
  border: 1px solid #c4cec0;
  border-radius: 20px;
  background: #fffdf6;
  box-shadow: 0 7px 22px #172d2430;
}
.booking-house-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  cursor: pointer;
}
.booking-house-options label:hover, .booking-house-options label:has(input:checked) { background: #e9efe4; }
.booking-house-options input { flex: none; margin: 0; accent-color: var(--ink); }
.booking-house-options small { display: block; color: var(--muted); font-size: var(--text-caption); font-weight: 500; }
@media (max-width: 1000px) {
  .header-actions .header-call {
    width: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent;
  }
  .header-actions .header-call .button-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #d6e0d0;
    color: var(--ink);
    background: #e8eee3;
  }
  .header-actions .header-call:hover .button-icon { background: #dce7d7; }
  .header-actions .header-call svg { width: 22px; height: 22px; }
}

@media (max-width: 1000px) {
  .site-header,
  .polesye-front .site-header {
    padding: 12px clamp(14px, 3vw, 20px);
  }
  body:not(.polesye-front) .site-header { padding-block: 12px; }
  .site-header:has(.menu-toggle[aria-expanded="true"]) {
    border-radius: 22px;
    background: #fffdf3;
    box-shadow: 0 5px 24px #1b302918;
  }
  .site-header #site-menu {
    position: absolute;
    inset: calc(100% + 9px) 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 14px;
    margin: 0;
    border: 1px solid #dce3d5;
    border-radius: 22px;
    background: #fffdf3;
    box-shadow: 0 10px 30px #1b302925;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .site-header .menu-toggle:not([hidden])[aria-expanded="false"] + #site-menu { display: none; }
  #site-menu > a, #site-menu .leisure-menu > summary { padding: 12px 14px; min-height: 44px; border-radius: 14px; white-space: normal; }
  #site-menu .leisure-links { min-width: 0; }
  #site-menu .leisure-links a { display: block; padding: 10px 13px; border-radius: 11px; white-space: normal; }
  #site-menu .mobile-menu-booking {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
    min-height: 49px;
    padding: 12px 15px;
    border-radius: 25px;
    color: var(--ink);
    background: #eef2e9;
    border: 1px solid var(--line);
  }
  #site-menu .mobile-menu-booking:hover { background: #e3eadc; }
  .mobile-menu-contacts { min-width: 0; margin-top: 7px; padding: 12px; border-radius: 17px; }
  .mobile-menu-contacts > a { padding: 10px; overflow-wrap: anywhere; }
  .mobile-menu-contacts .social-links { margin: 9px 0 0; gap: 9px; }
  .mobile-menu-contacts .social-link { width: 50px; height: 50px; border-radius: 50%; }
  .mobile-menu-contacts .social-link svg { width: 27px; height: 27px; }
  .header-actions .header-call { border: 0; }
  .header-actions .header-call .button-icon {
    border: 1px solid #7d9584;
    background: #f4f6ee;
  }
  .header-actions .header-call svg { stroke-width: 1.25; }
  .header-actions .header-call:focus-visible { outline-width: 2px; outline-offset: 1px; border-radius: 50%; }
}
@media (max-width: 359px) {
  .site-header, .polesye-front .site-header, body:not(.polesye-front) .site-header { padding-inline: 10px; gap: 5px; }
  .site-header #site-menu { padding: 10px; }
  .mobile-menu-contacts .social-links { gap: 7px; }
  .mobile-menu-contacts .social-link { width: 46px; height: 46px; }
  .mobile-menu-contacts > a { padding-inline: 5px; }
}

.leisure-catalog-section { margin-top: 30px; }
.leisure-catalog-section > h2 { margin-bottom: 16px; }
.leisure-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.leisure-catalog-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 21px; background: var(--white); text-decoration: none; }
.leisure-catalog-card .catalog-photo { width: 100%; aspect-ratio: 1.7; object-fit: cover; border-radius: 0; }
.catalog-copy { position: relative; flex: 1; padding: 16px 43px 17px 16px; }
.catalog-copy h3 { font-size: clamp(1.5625rem, 1rem + 1.55vw, 2.0625rem); }
.catalog-copy p { margin: 9px 0 0; font-size: var(--text-ui); color: var(--muted); }
.catalog-copy > svg { position: absolute; top: 20px; right: 14px; width: 18px; height: 18px; }
.leisure-catalog-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.catalog-art { display: grid; place-items: center; aspect-ratio: 1.7; background: linear-gradient(145deg, #e6eddf, #f4eddf); }
.catalog-art svg { width: 48px; height: 48px; color: #647a62; }
.booking-guests-field { display: grid; align-content: start; gap: 4px; min-width: 0; }
.guest-stepper { display: flex; align-items: center; gap: 2px; min-height: 52px; padding: 3px; border: 1px solid #abb7a9; border-radius: 22px; background: #fff; }
.booking-fields .guest-stepper input { flex: 1; min-width: 0; width: 0; min-height: 42px; padding: 4px 0; border: 0; border-radius: 12px; text-align: center; }
.guest-stepper:has(button:not([hidden])) input { appearance: textfield; -moz-appearance: textfield; }
.guest-stepper:has(button:not([hidden])) input::-webkit-inner-spin-button, .guest-stepper:has(button:not([hidden])) input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.guest-stepper button { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eaf0e4; color: var(--ink); font-size: 24px; line-height: 1; }
.guest-stepper button:hover { background: #dce7d4; }
.guest-stepper button[aria-disabled="true"] { opacity: .45; }
@media (max-width: 480px) {
  .leisure-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .quick-panel { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 9px; }
  .quick-link { flex-direction: row; align-items: center; gap: 12px; min-height: 68px; padding: 9px 12px; border-radius: 13px; }
  .quick-link:hover { background: #eaf0e3; }
  .quick-icon { width: 40px; height: 40px; }
  .quick-icon svg { width: 24px; height: 24px; }
  .hero-services ul { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .hero-services a { min-height: 64px; padding: 10px 2px; }
  .hero-services a > span { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 2px 11px; }
  .hero-service-icon { display: grid; grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; }
  .hero-service-icon svg { width: 24px; height: 24px; }
  .hero-services strong { grid-column: 2; }
  .hero-services small { grid-column: 2; margin: 0; }
}
@media (max-width: 380px) {
  .hero-cards { grid-template-columns: minmax(0, 1fr); }
  .hero-feature-stay { grid-row: auto; }
  .hero-feature-river { min-height: 220px; }
}

.excursion-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.excursion-facts span { padding: 4px 9px; border-radius: 20px; color: #3d5745; background: #eaf0e3; font-size: var(--text-label); line-height: 1.5; }

.interior-main .entry-content { max-width: none; }
