html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow: clip) {
  html, body {
    overflow-x: clip;
  }
}

body {
  min-width: 0;
  position: relative;
  width: 100%;
}

#content,
.elementor-location-footer {
  max-width: 100vw;
  min-width: 0;
}

@font-face {
  font-family: "Marcellus SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/media/fonts/marcellus-sc-latin.woff2") format("woff2");
}

/* Make homepage feature tiles behave like the navigation choices they present. */
.custom-boxes {
  cursor: pointer;
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}

.custom-boxes .resort-card-overlay {
  inset: 0;
  position: absolute;
  z-index: 3;
}

.custom-boxes:has(.resort-card-overlay:focus-visible) {
  outline: 3px solid #f7b023;
  outline-offset: 4px;
}

body:not(.home) .e-con,
body:not(.home) .e-con-inner,
body:not(.home) .elementor-widget,
body:not(.home) .elementor-widget-container {
  min-width: 0;
}

body:not(.home) .elementor-heading-title,
body:not(.home) .elementor-widget-text-editor {
  overflow-wrap: anywhere;
}

body:not(.home) .elementor-heading-title {
  text-wrap: balance;
}

body:not(.home) img,
body:not(.home) video,
body:not(.home) iframe {
  max-width: 100%;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .custom-boxes:hover {
    box-shadow: 0 18px 44px rgba(22, 28, 30, .18);
    transform: translateY(-3px);
  }
}

.elementor-element-3b979c9b {
  background-image: url("/wp-content/uploads/2023/03/kini-hotel-accommodation.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 100svh !important;
  --min-height: 100svh !important;
}

@media (max-width: 1024px) {
  .elementor-element-3b979c9b {
    height: 100svh !important;
    min-height: 100svh !important;
    --min-height: 100svh !important;
  }
}

.elementor-146 .elementor-element.elementor-element-7677a8e4 {
  justify-content: flex-end !important;
  --justify-content: flex-end !important;
}

.elementor-146 .elementor-element.elementor-element-1b0229d8 > .elementor-widget-container {
  padding: 0 0 clamp(3.5rem, 9svh, 6.5rem) !important;
}

.elementor-146 .elementor-element.elementor-element-1b0229d8 .elementor-heading-title {
  max-width: 780px;
  margin-inline: auto;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  text-wrap: balance;
}

@media (min-width: 1025px) {
  .elementor-location-header .elementor-button {
    min-width: 116px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .elementor-location-header .elementor-button {
    padding-inline: 6px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
}

/* Give the Eco Resort introduction a deliberate transition from the dark hero. */
.elementor-146 .elementor-element.elementor-element-652405d7 {
  --padding-top: clamp(4rem, 8vw, 6rem) !important;
}

.flatpickr-input.input-be {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23212529' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h.5A1.5 1.5 0 0 1 15 2.5v11a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 13.5v-11A1.5 1.5 0 0 1 2.5 1H3V.5a.5.5 0 0 1 .5-.5ZM2 4v9.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V4H2Zm.5-2a.5.5 0 0 0-.5.5V3h12v-.5a.5.5 0 0 0-.5-.5h-11Z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  padding-right: 36px !important;
}

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

.box-be-custom {
  inline-size: 100%;
  max-inline-size: 100%;
  overflow: clip;
}

.box-be-custom .booking-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
}

.box-be-custom .booking-field,
.box-be-custom .booking-action,
.box-be-custom .flatpickr-wrapper {
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
}

.box-be-custom .flatpickr-wrapper {
  display: block;
}

.box-be-custom .row,
.box-be-custom .row > * {
  min-width: 0;
}

.box-be-custom .input-be,
.box-be-custom .flatpickr-mobile {
  box-sizing: border-box !important;
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

@media (max-width: 575.98px) {
  .box-be-custom {
    max-width: 100%;
    padding: 20px !important;
    width: 100%;
  }

  .box-be-custom .booking-grid {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .box-be-custom .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }

  .box-be-custom .row > * {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .box-be-custom label {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .box-be-custom .input-be,
  .box-be-custom .flatpickr-mobile {
    font-size: 16px !important;
    height: 48px !important;
    line-height: 1.25;
    margin: 0 0 16px;
    min-height: 48px;
    padding: 0 42px 0 14px !important;
  }

  .box-be-custom .btn-book-now {
    font-size: 16px !important;
    height: 50px !important;
    line-height: 1.25;
    margin-top: 0 !important;
    min-height: 50px;
    width: 100% !important;
  }

  .box-be-custom .text-danger {
    margin-bottom: 12px !important;
    margin-top: -8px;
  }
}

/* Muted local film over the existing optimized hero poster. */
.elementor-element-3b979c9b {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.elementor-element-3b979c9b .resort-hero-video,
.elementor-element-3b979c9b .resort-hero-scrim {
  height: 100% !important;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100% !important;
}

.elementor-element-3b979c9b .resort-hero-video {
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.elementor-element-3b979c9b .resort-hero-scrim {
  background: linear-gradient(180deg, rgba(13, 25, 28, .16) 20%, rgba(13, 25, 28, .62) 100%);
  z-index: 1;
}

.elementor-element-3b979c9b > :not(.resort-hero-video, .resort-hero-scrim) {
  position: relative;
  z-index: 2;
}

/* Lightweight booking card with deliberate hierarchy and reliable mobile sizing. */
.elementor-146 .elementor-element.elementor-element-45b511ae {
  background: #f4f1eb;
  --padding-bottom: clamp(3rem, 6vw, 5rem);
  --padding-top: clamp(2rem, 4vw, 3.5rem);
}

.elementor-146 .elementor-element.elementor-element-45b511ae > .e-con-inner {
  max-width: 1120px;
}

.booking-card,
.booking-card * {
  box-sizing: border-box;
}

.booking-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(37, 51, 49, .11);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(26, 37, 38, .12);
  margin-inline: auto;
  max-width: 1080px;
  padding: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.booking-card__intro {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.booking-card__eyebrow {
  color: #8b691b;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 !important;
  text-transform: uppercase;
}

.booking-card h2 {
  color: #253331;
  font-family: "Marcellus SC", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.booking-card .booking-grid {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(210px, .8fr);
}

.booking-card .booking-field,
.booking-card .booking-action,
.booking-card .flatpickr-wrapper {
  min-width: 0;
  width: 100%;
}

.booking-card label {
  color: #253331;
  display: block;
  font-size: 13px !important;
  font-weight: 650;
  letter-spacing: .03em;
  margin: 0 0 7px;
}

.booking-card .input-be {
  background-color: #fbfaf7 !important;
  border: 1px solid rgba(37, 51, 49, .22) !important;
  border-radius: 10px !important;
  color: #253331;
  cursor: pointer;
  font-size: 16px !important;
  height: 56px !important;
  margin: 0;
  min-width: 0;
  padding: 0 44px 0 16px !important;
  width: 100% !important;
}

.booking-card .input-be:focus {
  border-color: #b88317 !important;
  box-shadow: 0 0 0 3px rgba(247, 176, 35, .2);
  outline: 0;
}

.booking-card .input-be[aria-invalid="true"] {
  border-color: #b42318 !important;
}

.booking-card .btn-book-now {
  align-items: center;
  background: #f7b023 !important;
  border: 1px solid #f7b023 !important;
  border-radius: 10px !important;
  color: #17140e !important;
  cursor: pointer;
  display: flex;
  font-size: 15px !important;
  font-weight: 700 !important;
  gap: 1rem;
  height: 56px !important;
  justify-content: space-between;
  letter-spacing: .02em;
  margin: 0 !important;
  padding: 0 18px !important;
  transition: background-color .2s ease, transform .2s ease;
  width: 100% !important;
}

.booking-card .btn-book-now:hover {
  background: #ffc45a !important;
  transform: translateY(-1px);
}

.booking-card .text-danger {
  color: #b42318 !important;
  font-size: 12px !important;
  line-height: 1.35;
  margin: 6px 0 0 !important;
}

.booking-card .text-danger[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .elementor-146 .elementor-element.elementor-element-45b511ae {
    --padding-left: 16px;
    --padding-right: 16px;
    --padding-top: 24px;
  }

  .booking-card {
    border-radius: 14px;
    padding: 20px 16px;
  }

  .booking-card__intro {
    align-items: start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
  }

  .booking-card .booking-grid {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .resort-hero-video {
    display: none !important;
  }

  .booking-card .btn-book-now {
    transition: none;
  }
}
