/*
Theme Name: Ezerkrasti Stitch
Theme URI: https://ezerkrasti.lv
Author: Ezerkrasti
Description: WordPress theme ported from stitch_ezerkrasti/code.html (Tailwind / Material). Dark camp layout, Montserrat, primary #B82124.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: ezerkrasti-stitch
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Inline Customizer: --st-primary, --st-primary-hover */

:root {
  --st-bg: #231f20;
  --st-on-bg: #ffffff;
  --st-surface: #2d292a;
  --st-surface-variant: #3d393a;
  --st-on-surface-variant: #d1cdce;
  --st-outline: #4d494a;
  --st-primary: #b82124;
  --st-primary-hover: #8f191c;
  --st-max: 80rem;
  --st-pad: clamp(1rem, 4vw, 2rem);
  --st-font: "Montserrat", system-ui, sans-serif;
}

::selection {
  background: var(--st-primary);
  color: #fff;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

html.stitch-dark {
  color-scheme: dark;
}

.stitch-body {
  margin: 0;
  font-family: var(--st-font);
  font-weight: 600;
  background: var(--st-bg);
  color: var(--st-on-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Full-bleed / cover images opt out of global img scaling */
.st-hero__img,
.st-hero__video,
.st-bento__img,
.st-cta__img {
  max-width: none;
}

a {
  color: var(--st-primary);
}

/* Film grain (from code.html) */
.st-grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 5;
}

.material-symbols-outlined,
.st-ms,
.st-ms-lg {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.st-ms--fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.st-ms-lg {
  font-size: 1.75rem;
}

/* Skip link */
.es-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
}

.es-skip-link:focus {
  left: var(--st-pad);
  top: 0.5rem;
  outline: 2px solid var(--st-primary);
}

.es-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  position: relative;
  z-index: 0;
}

.st-container {
  width: 100%;
  max-width: var(--st-max);
  margin: 0 auto;
  padding-left: var(--st-pad);
  padding-right: var(--st-pad);
}

/* —— Top nav —— */
.st-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem clamp(1rem, 4vw, 1rem);
  background: rgba(35, 31, 32, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 73, 74, 0.3);
  max-width: 100%;
}

body.admin-bar .st-topnav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .st-topnav {
    top: 46px;
  }
}

.st-topnav__brand .custom-logo-link {
  display: flex;
  align-items: center;
}

.st-topnav__brand .custom-logo {
  height: clamp(3rem, 12vw, 3rem);
  width: auto;
  object-fit: contain;
}

/* Optional: full invert for dark-on-dark artwork (Customizer checkbox) */
.ezk-logo-invert-custom .st-topnav__brand .custom-logo,
.ezk-logo-invert-custom .st-footer__logo .custom-logo {
  filter: invert(1);
}

.st-topnav__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.st-topnav__title:hover {
  color: var(--st-primary);
}

.st-topnav__center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.st-topnav__center::-webkit-scrollbar {
  display: none;
}

.st-topnav__menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-topnav__menu a {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.st-topnav__menu a:hover,
.st-topnav__menu .current-menu-item > a {
  color: var(--st-primary);
}

.st-topnav__menu a.is-active,
.st-topnav__menu .current-menu-item > a {
  color: var(--st-primary);
  border-bottom-color: var(--st-primary);
}

.st-topnav__trailing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.st-topnav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.st-topnav__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.st-topnav__toggle:focus-visible {
  outline: 2px solid var(--st-primary);
  outline-offset: 2px;
}

.st-topnav__toggle .st-ms {
  font-size: 1.5rem;
}

.st-topnav__toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.st-topnav__toggle-icon--close {
  display: none;
}

.st-topnav.is-open .st-topnav__toggle-icon--open {
  display: none;
}

.st-topnav.is-open .st-topnav__toggle-icon--close {
  display: inline-block;
}

@media (max-width: 900px) {
  .st-topnav {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .st-topnav__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .st-topnav__center {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    display: none;
    overflow-x: visible;
    overflow-y: auto;
    max-height: min(70vh, 24rem);
    -webkit-overflow-scrolling: touch;
    justify-content: stretch;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(77, 73, 74, 0.45);
  }

  .st-topnav.is-open .st-topnav__center {
    display: flex;
  }

  .st-topnav__toggle {
    display: inline-flex;
  }

  .st-topnav__menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .st-topnav__menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .st-topnav__menu li:last-child {
    border-bottom: none;
  }

  .st-topnav__menu a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: none;
  }

  .st-topnav__menu a:hover,
  .st-topnav__menu .current-menu-item > a {
    border-bottom-color: transparent;
  }

  .st-topnav__menu a.is-active,
  .st-topnav__menu .current-menu-item > a {
    border-bottom: none;
    border-left: 3px solid var(--st-primary);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
  }
}

body.st-topnav-open {
  overflow: hidden;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--st-font);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: filter 0.2s ease, transform 0.15s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.st-btn--nav {
  background: var(--st-primary);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.st-btn--nav:hover {
  filter: brightness(1.12);
  color: #fff;
}

.st-btn--hero {
  background: var(--st-primary);
  color: #fff;
  padding: 1.1rem 2.25rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.st-btn--hero:hover {
  transform: scale(1.03);
  color: #fff;
}

.st-btn--cta {
  background: #fff;
  color: var(--st-primary);
  padding: 1.75rem 3.25rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.2em;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.st-btn--cta:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--st-primary-hover);
}

/* —— Main hero —— */
.st-main {
  flex: 1;
}

.st-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: clamp(5rem, 14vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.st-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
}

.st-hero__img,
.st-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-hero__poster-fallback {
  z-index: 0;
}

.st-hero__video {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .st-hero__video {
    display: none;
  }
}

.st-hero__grad {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--st-bg) 0%,
    rgba(35, 31, 32, 0.4) 45%,
    transparent 100%
  );
}

.st-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.st-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .st-hero__copy {
    max-width: 66.666%;
  }
}

.st-kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--st-primary);
}

.st-hero__copy .st-kicker + .st-kicker {
  margin-top: 0.35rem;
}

.st-kicker--border {
  border-left: 2px solid var(--st-primary);
  padding-left: 1rem;
  letter-spacing: 0.2em;
}

.st-hero__title {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.st-hero__accent {
  color: var(--st-primary);
}

.st-hero__lead {
  margin: 0;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--st-on-surface-variant);
  line-height: 1.55;
  max-width: 36rem;
}

.st-hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Sections */
.st-section {
  padding: clamp(4rem, 10vw, 8rem) var(--st-pad);
  background: var(--st-bg);
}

.st-section-head--row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .st-section-head--row {
    flex-direction: row;
    align-items: baseline;
  }
}

.st-h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.st-h2--xl {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
}

.st-section-head__rule {
  width: 6rem;
  height: 4px;
  background: var(--st-primary);
  border-radius: 2px;
}

/* Bento */
.st-bento {
  display: grid;
  gap: 2rem;
}

.st-bento__stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .st-bento {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 600px;
    gap: 2rem;
  }

  .st-bento__large {
    grid-column: span 8;
    grid-row: 1 / span 2;
  }

  .st-bento__stack {
    grid-column: span 4;
    grid-row: 1 / span 2;
  }
}

.st-bento__large .st-bento__media-wrap {
  position: relative;
  height: min(70vh, 520px);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--st-surface);
}

@media (min-width: 768px) {
  .st-bento__large .st-bento__media-wrap {
    height: 100%;
    min-height: 280px;
  }
}

.st-bento__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.6; */
  transition: transform 0.7s ease;
  display: block;
}

.st-bento__media-wrap:hover .st-bento__img {
  transform: scale(1.05);
}

.st-bento__cap {
  position: absolute;
  inset: 0;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, var(--st-bg), transparent);
}

.st-bento__h {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.st-bento__p {
  margin: 0;
  max-width: 28rem;
  color: var(--st-on-surface-variant);
  font-weight: 600;
}

/* Front page map (Leaflet): Ezerkrasti + Jēkabpils POI */
.st-loc-map {
  margin-top: 2.5rem;
}

.st-loc-map,
.st-loc-map .leaflet-container {
  font-family: var(--st-font);
}

.st-loc-map__head {
  margin: 0;
}

.st-loc-map__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.st-loc-map__note {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--st-on-surface-variant);
  font-weight: 600;
}

.st-loc-map__canvas {
  margin-top: 1.25rem;
  height: min(420px, 55vh);
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--st-outline);
  background: var(--st-surface);
}

/* Leaflet divIcon markers ([ezk_map] kinds) */
.st-loc-map .leaflet-div-icon.ezk-map-divicon {
  background: transparent !important;
  border: none !important;
}

.ezk-map-divicon__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

/* Map legend (marker kinds — colours match assets/front-map.js KIND_SPECS) */
.st-loc-map__legend {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--st-on-surface-variant);
}

.st-loc-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.st-loc-map__sw {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.st-loc-map__sw--site {
  background: #b82124;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 2px;
}

.st-loc-map__sw--nature {
  background: #1b7f4c;
  border-radius: 50%;
}

.st-loc-map__sw--transport {
  background: #1565c0;
  border-radius: 2px;
  transform: rotate(45deg);
}

.st-loc-map__sw--sight {
  background: #5e35b1;
  border-radius: 5px;
}

/* Contact block ([ezk_contacts]) */
.st-contacts {
  padding: 0;
  margin: 0;
}

.st-contacts__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--st-on-bg);
}

.st-contacts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem 1rem;
}

.st-contacts__list--social {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--st-outline);
}

.st-contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.st-contacts__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.25rem;
  width: 1.25rem;
  color: var(--st-primary);
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.st-contacts__link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--st-on-surface-variant);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.st-contacts__link:hover,
.st-contacts__link:focus-visible {
  color: var(--st-primary);
  border-bottom-color: rgba(184, 33, 36, 0.45);
  outline: none;
}

.st-card {
  flex: 1;
  padding: 2rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 10rem;
}

.st-card--primary {
  background: var(--st-primary);
  color: #fff;
}

.st-card--primary .st-card__h {
  color: #fff;
}

.st-card--primary .st-card__p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.st-card--primary .st-ms {
  color: #fff;
  font-size: 2.25rem;
}

.st-card--border {
  background: var(--st-surface);
  border-left: 4px solid var(--st-primary);
}

.st-card--border .st-ms {
  color: var(--st-primary);
  font-size: 2.25rem;
}

.st-card__h {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
}

.st-card__p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--st-on-surface-variant);
  font-weight: 600;
}

/* Basecamp */
.st-basecamp--variant {
  background: var(--st-surface-variant);
  overflow: hidden;
}

.st-basecamp--dark {
  background: var(--st-bg);
  overflow: hidden;
}

.st-basecamp__grid {
  display: grid;
  gap: 4rem 6rem;
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .st-basecamp__grid {
    grid-template-columns: 1fr 1fr;
  }

  .st-basecamp__grid--img-end .st-basecamp__text {
    order: 1;
  }

  .st-basecamp__grid--img-end .st-basecamp__visual {
    order: 2;
  }
}

.st-basecamp__visual {
  position: relative;
}

.st-basecamp__frame {
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  background: var(--st-surface);
}

.st-basecamp__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-basecamp__deco {
  display: none;
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 66%;
  aspect-ratio: 1;
  background: var(--st-bg);
  border-radius: 0.75rem;
  z-index: 1;
  border: 8px solid var(--st-surface-variant);
  padding: 2rem;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .st-basecamp__deco {
    display: flex;
  }
}

.st-basecamp__deco-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(184, 33, 36, 0.2);
  margin-bottom: 0.75rem;
}

.st-basecamp__deco-p {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--st-on-surface-variant);
}

.st-basecamp__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.st-prose {
  margin: 0;
  font-size: 1.05rem;
  color: var(--st-on-surface-variant);
  line-height: 1.65;
}

.st-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}

@media (min-width: 520px) {
  .st-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.st-mini-grid__h {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--st-primary);
}

.st-mini-grid__p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--st-on-surface-variant);
}

/* Stay / features */
.st-stay__head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 5rem;
}

.st-stay__intro {
  margin: 1rem 0 0;
  color: var(--st-on-surface-variant);
}

.st-features {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .st-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.st-feature {
  background: var(--st-surface);
  padding: 3rem;
  border-radius: 0.75rem;
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s ease;
}

.st-feature:hover {
  border-bottom-color: var(--st-primary);
}

.st-feature__icon {
  width: 4rem;
  height: 4rem;
  background: var(--st-bg);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--st-primary);
  transition: transform 0.2s ease;
}

.st-feature:hover .st-feature__icon {
  transform: scale(1.1);
}

.st-feature__h {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
}

.st-feature p {
  margin: 0;
  color: var(--st-on-surface-variant);
  font-size: 0.95rem;
}

/* CTA band */
.st-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) var(--st-pad);
  text-align: center;
  overflow: hidden;
  min-height: min(90vh, 52rem);
}

.st-cta__bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.st-cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-cta__tint {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--st-primary) 80%, transparent);
  mix-blend-mode: multiply;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .st-cta__tint {
    background: rgba(184, 33, 36, 0.78);
    mix-blend-mode: multiply;
  }
}

.st-cta__inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
}

.st-cta__title {
  margin: 0 0 2.5rem;
  font-size: clamp(2.75rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
}

/* Footer */
.st-footer {
  background: var(--st-bg);
  border-top: 1px solid rgba(77, 73, 74, 0.3);
  padding: 3rem var(--st-pad);
  margin-top: auto;
}

.st-footer__inner {
  max-width: var(--st-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .st-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.st-footer__logo .custom-logo {
  height: 6rem;
  width: auto;
  object-fit: contain;
}

.st-footer__site-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}

.st-footer__site-name:hover {
  color: var(--st-primary);
}

.st-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-footer__menu a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.st-footer__menu a:hover {
  color: var(--st-primary);
}

.st-footer__legal {
  margin: 0;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--st-primary);
  opacity: 0.85;
  text-align: center;
}

@media (min-width: 768px) {
  .st-footer__legal {
    text-align: right;
    max-width: 16rem;
  }
}

.st-footer__tag {
  display: block;
  margin-top: 0.35rem;
}

/* Inner pages */
.es-main--inner {
  flex: 1;
  width: 100%;
  max-width: var(--st-max);
  margin: 0 auto;
  padding: clamp(5.5rem, 12vw, 7rem) var(--st-pad) clamp(3rem, 8vw, 5rem);
}

.es-main--inner .entry-title,
.es-main--inner .page-title,
.page-header .page-title,
.es-page-title,
.es-main--inner .entry-content h2,
.es-main--inner .entry-content h3 {
  font-family: var(--st-font);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.es-main--inner .entry-content {
  color: var(--st-on-surface-variant);
}

.es-main--inner .entry-content a {
  color: var(--st-primary);
}

.es-meta {
  font-size: 0.9rem;
  color: var(--st-on-surface-variant);
}

.es-loop-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--st-outline);
}

.es-loop-item:last-of-type {
  border-bottom: none;
}

.es-loop-item .entry-title a {
  color: #fff;
  text-decoration: none;
}

.es-loop-item .entry-title a:hover {
  color: var(--st-primary);
}

/* Accommodations archive */
.es-acc-view-toggle {
  display: inline-flex;
  margin: 1rem 0 0;
  padding: 0.2rem;
  gap: 0.15rem;
  border-radius: 0.5rem;
  border: 1px solid var(--st-outline);
  background: color-mix(in srgb, var(--st-surface) 80%, transparent);
}

.es-acc-view-toggle__btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--st-on-surface-variant);
  border-radius: 0.35rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.es-acc-view-toggle__btn:hover {
  color: #fff;
}

.es-acc-view-toggle__btn.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--st-primary) 35%, var(--st-surface-variant));
}

.es-acc-filters {
  margin: 1.25rem 0 0;
}

.es-acc-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.es-acc-filters__link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--st-on-surface-variant);
  border-radius: 999px;
  border: 1px solid var(--st-outline);
  background: color-mix(in srgb, var(--st-surface) 70%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.es-acc-filters__link:hover {
  color: #fff;
  border-color: color-mix(in srgb, var(--st-primary) 50%, var(--st-outline));
}

.es-acc-filters__link.is-active {
  color: #fff;
  border-color: var(--st-primary);
  background: color-mix(in srgb, var(--st-primary) 40%, var(--st-surface-variant));
}

.es-acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  list-style: none;
  padding: 0;
}

/* List view: horizontal rows (image + details) */
.es-acc-grid--list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.es-acc-grid--list .es-acc-card {
  transition: border-color 0.2s ease;
}

.es-acc-grid--list .es-acc-card:hover {
  transform: none;
}

.es-acc-grid--list .es-acc-card a {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
}

.es-acc-grid--list .es-acc-card__img {
  flex: 0 0 min(38vw, 220px);
  width: min(38vw, 220px);
  max-width: 45%;
  aspect-ratio: 4 / 3;
  height: auto;
  align-self: stretch;
  object-fit: cover;
}

.es-acc-grid--list .es-acc-card__img--placeholder {
  flex: 0 0 min(38vw, 220px);
  width: min(38vw, 220px);
  max-width: 45%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  align-self: stretch;
}

.es-acc-grid--list .es-acc-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
}

.es-acc-grid--list .es-acc-card__excerpt {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

@media (max-width: 520px) {
  .es-acc-grid--list .es-acc-card a {
    flex-direction: column;
  }

  .es-acc-grid--list .es-acc-card__img,
  .es-acc-grid--list .es-acc-card__img--placeholder {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}

.es-acc-card {
  background: var(--st-surface);
  border-radius: 0.75rem;
  border: 1px solid var(--st-outline);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.es-acc-card:hover {
  border-color: var(--st-primary);
  transform: translateY(-2px);
}

.es-acc-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.es-acc-card__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
}

.es-acc-card__img--placeholder {
  min-height: 12rem;
  background: linear-gradient(145deg, var(--st-surface-variant), var(--st-surface));
}

.es-acc-card__body {
  padding: 1rem 1.15rem 1.2rem;
}

.es-acc-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}

.es-acc-card__pills li {
  padding: 0.2rem 0.55rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-on-surface-variant);
  background: var(--st-surface-variant);
  border: 1px solid rgba(77, 73, 74, 0.45);
  border-radius: 0.125rem;
}

.es-acc-card__pills .es-acc-card__pill-price {
  color: #fff;
  border-color: color-mix(in srgb, var(--st-primary) 45%, var(--st-outline));
}

.es-acc-card__title {
  font-family: var(--st-font);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: #fff;
}

.es-acc-card__excerpt {
  font-size: 0.9rem;
  color: var(--st-on-surface-variant);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single accommodation (stitch_ezerkrasti_cabins split layout) */
.es-main--cabin {
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(5.5rem, 12vw, 7.5rem) 0 0;
}

.es-cabin-article {
  margin: 0;
}

.es-cabin {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - clamp(5.5rem, 12vw, 7.5rem));
}

@media (min-width: 1024px) {
  .es-cabin {
    flex-direction: row;
    align-items: stretch;
    min-height: calc(100vh - clamp(5.5rem, 12vw, 7.5rem));
  }
}

.es-cabin__hero {
  flex: 1 1 60%;
  background: #2d292a;
  border-bottom: 1px solid rgba(77, 73, 74, 0.35);
}

@media (min-width: 1024px) {
  .es-cabin__hero {
    flex: 0 0 60%;
    max-width: 60%;
    border-bottom: none;
    border-right: 1px solid rgba(77, 73, 74, 0.35);
  }
}

.es-cabin__hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.es-cabin__header {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.es-cabin__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0.125rem;
  border: 1px solid color-mix(in srgb, var(--st-primary) 35%, transparent);
  background: color-mix(in srgb, var(--st-primary) 10%, transparent);
}

.es-cabin__badge-icon {
  font-size: 1.1rem;
  color: var(--st-primary);
}

.es-cabin__badge-text {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--st-primary);
}

.es-cabin__title {
  margin: 0;
  font-family: var(--st-font);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: none;
}

.es-cabin__title-line {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: #fff;
}

.es-cabin__title-accent {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: var(--st-primary);
}

.es-cabin__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.es-cabin__pill {
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-on-surface-variant);
  background: var(--st-surface-variant);
  border: 1px solid rgba(77, 73, 74, 0.45);
  border-radius: 0.125rem;
}

.es-cabin__bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: min(500px, 55vw);
  max-height: 32rem;
}

.es-cabin__bento--single {
  display: block;
  height: min(500px, 70vw);
  max-height: 32rem;
}

.es-cabin__bento-cell {
  position: relative;
  overflow: hidden;
  background: var(--st-surface-variant);
  border: 1px solid rgba(77, 73, 74, 0.45);
  border-radius: 0.125rem;
}

.es-cabin__bento-cell--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.es-cabin__bento-cell--wide {
  grid-column: span 2;
}

.es-cabin__bento-cell--solo {
  width: 100%;
  height: 100%;
  min-height: 12rem;
}

.es-cabin__bento-hit {
  appearance: none;
  -webkit-appearance: none;
  /* Grid stacks media + “+N” overlay in one cell so overlay stays above (transform on img would paint over absolute siblings). */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: stretch;
  place-content: stretch;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  text-align: inherit;
  isolation: isolate;
}

.es-cabin__bento-hit > * {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
}

.es-cabin__bento-hit > picture {
  display: block;
  margin: 0;
}

.es-cabin__bento-hit:focus {
  outline: 2px solid color-mix(in srgb, var(--st-primary) 85%, #fff);
  outline-offset: 2px;
}

.es-cabin__bento-hit:focus:not(:focus-visible) {
  outline: none;
}

.es-cabin__bento-hit:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--st-primary) 85%, #fff);
  outline-offset: 2px;
}

.es-cabin__bento-more-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 10, 11, 0.62);
  pointer-events: none;
}

.es-cabin__bento-more-count {
  font-family: var(--st-font);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.es-cabin__bento-img {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  filter: brightness(0.82);
  transition: filter 0.65s ease, transform 0.65s ease;
}

.es-cabin__bento-hit > picture .es-cabin__bento-img {
  width: 100%;
  height: 100%;
}

.es-cabin__bento-cell:hover .es-cabin__bento-img {
  filter: brightness(1);
  transform: scale(1.02);
}

/* Lightbox (single accommodation gallery) */
html.es-cabin-lb-open {
  overflow: hidden;
}

.es-cabin-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-cabin-lb[hidden] {
  display: none;
}

.es-cabin-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 7, 0.92);
  cursor: zoom-out;
}

.es-cabin-lb__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  max-width: min(96vw, 120rem);
  max-height: 100dvh;
  min-height: 0;
  padding: clamp(3.25rem, 10vw, 4.5rem) clamp(0.5rem, 2vw, 1.25rem);
  box-sizing: border-box;
}

.es-cabin-lb__fig {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-cabin-lb__img {
  display: block;
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: 100%;
  /* Fit entire image in viewport; reserve space for nav + padding (close is over stage, not in flow) */
  max-height: calc(100vh - clamp(5rem, 12vw, 7rem));
  max-height: calc(100dvh - clamp(5rem, 12vw, 7rem));
  object-fit: contain;
  object-position: center;
  border-radius: 0.125rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.es-cabin-lb__close {
  position: absolute;
  top: clamp(0.75rem, 2.5vw, 1.25rem);
  right: clamp(0.75rem, 2.5vw, 1.25rem);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.125rem;
  background: rgba(30, 26, 27, 0.85);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.es-cabin-lb__close:hover {
  background: rgba(50, 44, 45, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
}

.es-cabin-lb__close:focus-visible {
  outline: 2px solid var(--st-primary);
  outline-offset: 2px;
}

.es-cabin-lb__close .material-symbols-outlined {
  font-size: 1.5rem;
}

.es-cabin-lb__nav {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.125rem;
  background: rgba(30, 26, 27, 0.75);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  align-self: center;
}

.es-cabin-lb__nav:hover {
  background: rgba(50, 44, 45, 0.9);
  border-color: rgba(255, 255, 255, 0.45);
}

.es-cabin-lb__nav:focus-visible {
  outline: 2px solid var(--st-primary);
  outline-offset: 2px;
}

.es-cabin-lb__nav .material-symbols-outlined {
  font-size: 1.75rem;
}

@media (max-width: 639px) {
  .es-cabin-lb__nav {
    position: absolute;
    bottom: clamp(0.75rem, 4vw, 1.25rem);
    z-index: 2;
  }

  .es-cabin-lb__nav--prev {
    left: clamp(0.5rem, 3vw, 1rem);
  }

  .es-cabin-lb__nav--next {
    right: clamp(0.5rem, 3vw, 1rem);
  }
}

.es-cabin__prose {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--st-on-surface-variant);
}

.es-cabin__prose > *:first-child {
  margin-top: 0;
}

.es-cabin__prose a {
  color: var(--st-primary);
}

.es-cabin__spec {
  margin-top: 2.5rem;
}

.es-cabin__spec .ezk-spec-template {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: rgba(45, 41, 42, 0.65);
  border: 1px solid rgba(77, 73, 74, 0.45);
  border-radius: 0.25rem;
}

.es-cabin__spec .ezk-spec-template__title,
.es-cabin__spec .ezk-spec-template__sub {
  color: #fff;
  font-family: var(--st-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.es-cabin__spec .ezk-spec-template__dt {
  color: var(--st-on-surface-variant);
  font-size: 0.8rem;
}

.es-cabin__spec .ezk-spec-template__dd {
  color: #fff;
}

.es-cabin__spec .ezk-spec-template__li {
  color: var(--st-on-surface-variant);
}

.es-cabin__aside {
  position: relative;
  flex: 1 1 40%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
  background: var(--st-bg);
}

@media (min-width: 1024px) {
  .es-cabin__aside {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

.es-cabin__aside-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--st-primary) 8%, transparent) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.es-cabin__aside-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
}

.es-cabin__book-head {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .es-cabin__book-head {
    text-align: left;
  }
}

.es-cabin__book-title {
  margin: 0;
  font-family: var(--st-font);
  font-weight: 900;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
}

.es-cabin__book-title-pre {
  display: block;
}

.es-cabin__book-title-accent {
  display: block;
  color: var(--st-primary);
}

.es-cabin__book-lead {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--st-on-surface-variant);
}

.es-cabin__rate {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(77, 73, 74, 0.45);
  background: var(--st-surface);
}

.es-cabin__rate-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-on-surface-variant);
  opacity: 0.75;
}

.es-cabin__rate-value {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.es-cabin__booking-shell .ezk-booking-wrap {
  margin: 0;
}

.es-cabin__booking-shell .ezk-booking {
  margin: 0;
  padding: 0;
  max-width: none;
  border: none;
  background: transparent!important;
  box-shadow: none;
}

.es-cabin__booking-shell .ezk-booking__field {
  margin: 0 0 1.25rem;
}

.es-cabin__booking-shell .ezk-booking__field label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-primary);
  margin-bottom: 0.45rem;
}

.es-cabin__booking-shell .ezk-booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.es-cabin__booking-shell .ezk-booking__form > input[type="hidden"] {
  display: none;
}

.es-cabin__booking-shell .ezk-booking__form > .ezk-booking__field:nth-of-type(1),
.es-cabin__booking-shell .ezk-booking__form > .ezk-booking__field:nth-of-type(2) {
  grid-column: span 1;
}

.es-cabin__booking-shell .ezk-booking__form > .ezk-booking__field:nth-of-type(n + 3) {
  grid-column: 1 / -1;
}

@media (max-width: 519px) {
  .es-cabin__booking-shell .ezk-booking__form {
    grid-template-columns: 1fr;
  }

  .es-cabin__booking-shell .ezk-booking__form > .ezk-booking__field:nth-of-type(1),
  .es-cabin__booking-shell .ezk-booking__form > .ezk-booking__field:nth-of-type(2),
  .es-cabin__booking-shell .ezk-booking__form > .ezk-booking__field:nth-of-type(n + 3) {
    grid-column: 1 / -1;
  }
}

.es-cabin__booking-shell .ezk-booking__field input,
.es-cabin__booking-shell .ezk-booking__field input[type="date"],
.es-cabin__booking-shell .ezk-booking__field input[type="number"],
.es-cabin__booking-shell .ezk-booking__field input[type="email"],
.es-cabin__booking-shell .ezk-booking__field input[type="tel"],
.es-cabin__booking-shell .ezk-booking__field input[type="text"] {
  width: 100%;
  max-width: none;
  padding: 0.9rem 1rem;
  font-family: var(--st-font);
  font-weight: 700;
  color: #fff;
  background: #332e2f;
  border: none;
  border-bottom: 2px solid var(--st-outline);
  border-radius: 0.125rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.es-cabin__booking-shell .ezk-booking__field input:focus {
  border-bottom-color: var(--st-primary);
}

.es-cabin__booking-shell .ezk-booking__hint {
  color: var(--st-on-surface-variant);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.es-cabin__booking-shell .ezk-booking__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.15rem 1.25rem;
  font-family: var(--st-font);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--st-primary);
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--st-primary) 28%, transparent);
  transition: filter 0.2s ease, transform 0.1s ease;
  grid-column: span 2;
}

.es-cabin__booking-shell .ezk-booking__submit:hover {
  filter: brightness(1.08);
}

.es-cabin__booking-shell .ezk-booking__submit:active {
  transform: scale(0.98);
}

.es-cabin__booking-shell .ezk-booking__note {
  grid-column: span 2;
  margin: 0.75rem 0 0;
  font-size: 0.7rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-on-surface-variant);
  opacity: 0.72;
}

.es-cabin__booking-shell .ezk-booking-notice--ok {
  grid-column: span 2;
  color: #6fcf97;
  font-weight: 600;
}

.es-cabin__booking-shell .ezk-booking-notice--err {
  grid-column: span 2;
  color: #ff8a8a;
  font-weight: 600;
}

/* Pagination */
.es-pagination--wp {
  margin: 2.5rem 0 0;
}

.es-pagination--wp .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.es-pagination--wp .page-numbers {
  padding: 0.45rem 0.85rem;
  border-radius: 0.25rem;
  border: 1px solid var(--st-outline);
  background: var(--st-surface);
  text-decoration: none;
  color: var(--st-on-bg);
  font-size: 0.9rem;
}

.es-pagination--wp a.page-numbers:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
}

.es-pagination--wp span.current,
.es-pagination--wp .page-numbers.current {
  background: var(--st-primary);
  color: #fff;
  border-color: var(--st-primary);
}

.es-pagination--wp .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
}

.es-404 {
  text-align: center;
  padding: 2rem 0;
}

.es-prose .alignfull {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* Ezerkrasti Booking */
.ezk-gallery,
.ezk-booking,
.ezk-spec-template {
  border-color: var(--st-outline) !important;
  background: var(--st-surface) !important;
}

.ezk-gallery__heading,
.ezk-spec-template__title,
.ezk-booking__title {
  font-family: var(--st-font) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

.ezk-spec-template__dt {
  color: #fff !important;
}

.ezk-spec-template__dd,
.ezk-spec-template__li {
  color: var(--st-on-surface-variant) !important;
}

.ezk-booking__field label {
  color: #fff !important;
}

.ezk-booking__field input {
  background: var(--st-surface-variant) !important;
  border: 1px solid var(--st-outline) !important;
  color: #fff !important;
}

.ezk-booking__hint,
.ezk-booking__note {
  color: var(--st-on-surface-variant) !important;
}

.ezk-booking__submit {
  background: var(--st-primary) !important;
  border-radius: 0.5rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.ezk-booking__submit:hover {
  filter: brightness(1.1) !important;
}

.ezk-gallery__link:hover,
.ezk-gallery__link:focus-visible {
  border-color: var(--st-primary) !important;
}

.ezk-acc-list__link {
  background: var(--st-surface) !important;
  border-color: var(--st-outline) !important;
}

.ezk-acc-list__link:hover {
  border-color: var(--st-primary) !important;
}

.ezk-acc-list__title {
  color: #fff !important;
}

.ezk-acc-list__type,
.ezk-acc-list__guests {
  color: var(--st-on-surface-variant) !important;
}

.ezk-acc-list__price {
  color: #fff !important;
}
