.req:after {
  content: "*";
  color: #f00;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Italic-Cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Italic-Latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  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;
}

#tToTop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(157, 77, 56, .2);
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
#tToTop:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(157, 77, 56, .28);
}

.hero__backdrop {
  background-image: linear-gradient(180deg, rgba(251, 247, 239, .28), rgba(30, 21, 16, .12)), var(--hero-background);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wpcf7 .submit-wrapper {
    position: relative;
    width: 100%;
}

.wpcf7-spinner {
    position: absolute;
    top: 18px;
    right: 20px;
}

.wpcf7 form.invalid .wpcf7-response-output{
  display: none;
}

/* Fixed footer */
html,
html body.admin-bar {
  height: calc(100vh - 32px) !important;
}

html body {
  height: 100vh !important;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
}

/* /Fixed footer */
.popup-form-callback {
  --popup-width: 600px;
}
.popup-success {
  --popup-width: 350px;
  text-align: center;
}
.popup__wrap {
  padding: var(--popup-padding, 1rem) !important;
  border-radius: var(--popup-border-radius, 1rem) !important;
  width: var(--popup-width, 100%) !important;
  max-width: var(--popup-max-width, 900px) !important;
  --fancybox-content-color: var(--popup-color, #171717);
  --fancybox-content-bg: var(--popup-bg, #fff);
}
.popup__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
  border: none;
  color: #222;
}
.popup__icon {
  font-size: 4rem;
  color: #484;
  margin: 1rem 0;
}
.popup__icon svg {
  fill: currentColor;
}
.popup__title {
  font-size: 2rem;
}
.sprite-icon {
  height: 1em;
  width: 1em;
  fill: currentColor;
}
/* 
.square {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
}
.square-child {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -o-object-fit: contain;
     object-fit: contain;
} */

/* .rect {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
}
.rect-16-9 {
  aspect-ratio: 16/9;
}
.rect-9-16 {
  aspect-ratio: 9/16;
}
.rect-2-1 {
  aspect-ratio: 2/1;
}
.rect-4-3 {
  aspect-ratio: 4/3;
}
.rect-3-4 {
  aspect-ratio: 3/4;
}
.rect-child {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -o-object-fit: contain;
     object-fit: contain;
}

.circle {
  border-radius: 50%;
} */

/* FancyBox */
.fancybox__container {
  --fancybox-bg: rgba(23, 23, 23, 0.76);
  width: 100vw;
}

.fancybox__slide.has-html .fancybox__content {
  padding: 0;
}

/* Bootstrap-compatible responsive table wrapper. */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive > .table {
  margin-bottom: 0;
}

/* Excursion popup opened through Core.Modal / Fancybox. */
.popup-tour {
  --popup-width: 1240px;
  --popup-max-width: 1240px;
  --popup-padding: 0;
  --popup-border-radius: 0;
  --popup-bg: transparent;
}
.fancybox__slide.has-html .fancybox__content:has(.popup-tour) {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.tour-popup {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
}
.tour-popup__gallery {
  min-height: 600px;
  background: #ddd;
}
.tour-popup__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-popup__content {
  display: flex;
  flex-direction: column;
  padding: 70px 48px 40px;
}
.tour-popup__content h2 {
  font-size: clamp(38px, 4vw, 64px);
}
.tour-popup__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ddd;
}
.tour-popup__facts span {
  padding: 9px 14px;
  border: 1px solid #ddd;
}
.tour-popup__content > p {
  margin: 24px 0 40px;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}
.tour-popup__cta {
  width: 100%;
  margin-top: auto;
}
.popup-tour .popup__close,
.popup-tour .modal__close {
  z-index: 3;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff !important;
  background-color: #fff !important;
  color: #17130f;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
@media (max-width: 820px) {
  .popup-tour {
    --popup-width: calc(100vw - 32px);
  }
  .tour-popup {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
  }
  .tour-popup__gallery {
    min-height: 260px;
  }
  .tour-popup__content {
    padding: 38px 24px 24px;
  }
}

/* Match the excursion popup from tours_v14: a fixed two-column dialog,
   separate scrolling description and a CTA that never scrolls away. */
.popup-tour .modal__dialog {
  position: relative;
  inset: auto;
  transform: none;
  width: 100%;
  height: min(680px, calc(100vh - 40px));
  max-height: none;
  overflow: hidden;
}
.popup-tour .modal__gallery {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.popup-tour .modal__content {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.tour-popup__description {
  flex: 1 1 auto;
  min-height: 0;
  margin: 24px 0 28px;
  padding-right: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 74, 52, .38) transparent;
}
.tour-popup__description > :first-child { margin-top: 0; }
.tour-popup__description > :last-child { margin-bottom: 0; }
.tour-popup__description::-webkit-scrollbar { width: 6px; }
.tour-popup__description::-webkit-scrollbar-track { background: transparent; }
.tour-popup__description::-webkit-scrollbar-thumb { background: rgba(31, 74, 52, .32); border-radius: 999px; }
.popup-tour .modal__cta { flex: 0 0 auto; margin-top: 0; }
@media (max-width: 820px) {
  .popup-tour .modal__dialog {
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 34%) minmax(0, 66%);
  }
  .popup-tour .modal__gallery {
    grid-row: 1;
    height: auto;
    min-height: 0;
  }
  .popup-tour .modal__content {
    grid-row: 2;
    height: auto;
    min-height: 0;
  }
  .tour-popup__description { margin: 18px 0 22px; }
}
@media (max-width: 580px) {
  .popup-tour .modal__dialog {
    grid-template-rows: minmax(190px, 30%) minmax(0, 70%);
  }
  .popup-tour .modal__gallery { min-height: 0; }
  .popup-tour .modal__content { height: auto; padding-bottom: 20px; }
  .popup-tour .modal__content h2 { font-size: clamp(30px, 8vw, 38px); }
  .popup-tour .modal__facts { gap: 8px; padding-bottom: 16px; }
  .popup-tour .modal__facts span { width: auto; padding: 7px 10px; }
  .tour-popup__description { font-size: 16px; line-height: 1.55; }
}

/* The request form already has its own .request-modal__dialog card.
   Fancybox must remain only as a viewport/overlay, otherwise it draws a
   second white container around the dialog. */
.popup-form-callback {
  --popup-width: 620px;
  --popup-padding: 0;
  --popup-border-radius: 0;
  --popup-bg: transparent;
}
.fancybox__slide.has-html .fancybox__content:has(.popup-form-callback) {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.popup-form-callback .request-modal__dialog {
  width: 100%;
}
/* Keep Fancybox's working close handler, but present it like the source
   request-modal close button and avoid rendering a duplicate control. */
.popup-form-callback > .popup__close {
  z-index: 2;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #17130f;
  font-size: 27px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.popup-form-callback > .popup__close:hover {
  background: #fff;
  transform: rotate(4deg);
}
.popup-form-callback .request-modal__close {
  display: none;
}
.popup-success {
  --popup-width: 620px;
  --popup-padding: 0;
  --popup-border-radius: 0;
  --popup-bg: transparent;
  text-align: left;
}
.fancybox__slide.has-html .fancybox__content:has(.popup-success) {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.popup-success .request-success {
  width: 100%;
  overflow: hidden;
  min-height: 530px;
  padding-bottom: 300px;
}
.popup-success > .popup__close {
  z-index: 3;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #17130f;
  font-size: 27px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.popup-success > .popup__close:hover {
  background: #fff;
  transform: rotate(4deg);
}
@media (max-width: 580px) {
  .popup-success {
    --popup-width: calc(100vw - 32px);
  }
  .popup-success .request-success {
    min-height: 500px;
    padding-bottom: 265px;
  }
}
@media (max-height: 620px) {
  .popup-success .request-success {
    min-height: auto;
    padding-bottom: 36px;
  }
  .popup-success .request-success__deer {
    display: none;
  }
}
.request-form .wpcf7-form {
  display: grid;
  gap: 16px;
}
.request-form .wpcf7-form > p {
  margin: 0;
}
.request-form .wpcf7-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.request-form .wpcf7-form-control-wrap {
  display: block;
}
.request-form .wpcf7-form input.wpcf7-text,
.request-form .wpcf7-form input.wpcf7-tel {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(40, 30, 23, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.request-form .wpcf7-form input.wpcf7-text:focus,
.request-form .wpcf7-form input.wpcf7-tel:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(157, 77, 56, 0.1);
}
.popup-form-callback .request-form input.wpcf7-submit,
.popup-form-callback .request-form input[type="submit"] {
  width: 100%;
  margin-top: 4px;
  min-height: 50px;
  height: auto;
  border: 1px solid var(--accent) !important;
  border-radius: 10px;
  background-color: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  padding: 12px 25px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.popup-form-callback .request-form input.wpcf7-submit:hover,
.popup-form-callback .request-form input[type="submit"]:hover {
  transform: translateY(-2px);
  background-color: var(--accent-dark) !important;
  box-shadow: 0 10px 26px rgba(157, 77, 56, 0.2);
}
.popup-form-callback .request-form input.wpcf7-submit:disabled,
.popup-form-callback .request-form input[type="submit"]:disabled {
  background-color: color-mix(in srgb, var(--accent) 58%, #fff) !important;
  border-color: color-mix(in srgb, var(--accent) 58%, #fff) !important;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
.popup-form-callback .request-form input.wpcf7-submit:disabled:hover,
.popup-form-callback .request-form input[type="submit"]:disabled:hover {
  transform: none;
  background-color: color-mix(in srgb, var(--accent) 58%, #fff) !important;
  box-shadow: none;
}
.request-form .wpcf7-acceptance {
  display: block;
}
.request-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}
.request-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.request-form .wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid rgba(40, 30, 23, 0.35);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  accent-color: var(--accent);
}
.request-form .wpcf7-acceptance .wpcf7-list-item-label {
  display: block;
}
.request-form .wpcf7-acceptance a {
  color: inherit;
  border-bottom: 1px solid rgba(40, 30, 23, 0.35);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.request-form .wpcf7-acceptance a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.request-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
}
.request-form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}
@media (max-width: 580px) {
  .popup-form-callback {
    --popup-width: calc(100vw - 32px);
  }
}

/* WordPress */
/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
/* .gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
} */

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* .header {
  border-bottom: 1px solid var(--bs-secondary-bg);
  padding: 1rem 0;
}

.footer {
  background: var(--bs-secondary-bg);
  color: var(--bs-secondary-text);
  padding: 1rem 0;
} */

.cookiegdpr {
  --gdpr-btn-color: #fff;
  --gdpr-btn-bg: #9d4d38;
  --gdpr-btn-border: 1px solid #9d4d38;
  --gdpr-btn-border-radius: .375rem;
  --gdpr-btn-padding: .375rem .75rem;
  --gdpr-btn-bg-hover: #fff;
  --gdpr-btn-color-hover: #9d4d38;
  --gdpr-btn-border-color-hover: #fff;
  --gdpr-bottom: 1rem;
  --gdpr-border-radius: .375rem;
  --gdpr-z-index: 10001;
  --gdpr-bg: rgba(255, 255, 255, .88);
  --gdpr-padding: .625rem;
  --gdpr-link-color: #9d4d38;
}

/* Additional gallery images stay in the Fancybox group without appearing in the preview grid. */
.home-gallery-extra {
  display: none;
}

/* Keep form fields aligned while allowing visitors to expand the message height. */
textarea {
  resize: vertical;
}
