.path-frontpage #main-content { 
  display: none;
}

.highlighted-top {
	background: url('/themes/custom/ipr/images/woodBack2.jpg') repeat top center;
}


/* =====================================================================
   SVG ANIMATED LOGO
   ===================================================================== */
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#logo-animated {
  width: 100%;
  max-width: 280px;
  height: auto;
}
/* Logo column — breathing room for mobile menu icon */
.header-logo-col {
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#logo-animated svg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
#logo-animated svg + svg {
  display: none !important;
}
/* HEADER PHONE  */
#block-ipr-iprheaderphone {
	text-align: right!important;
}
#block-ipr-iprheaderphone .content a {
	font-size: clamp(1.1rem, 2.2vw, 1.6rem);
	color: #F3C45D;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	padding: 0 1.5rem;
}
#block-ipr-iprheaderphone .content a:hover, 
#block-ipr-iprheaderphone .content a:visited {
	text-decoration: none;
}
/* FIXED CLICKABLE AREA ON HEADER-TOP */
  .header-top .block {
    position: relative;
    z-index: 1100;
    transform: translateZ(0);
  }
  .region-header-top-first {
    position: relative;
  }

/* =====================================================================
   HEADER TOOLBAR — Search + Icons unified
   ===================================================================== */
.header-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}
.header-toolbar .block {
  padding: 0 !important;
  margin: 0 !important;
}
.header-toolbar .site-search-form {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  margin: 0;
  display: flex;
}
.header-toolbar .site-search-input {
  flex: 1 1 0;
  min-width: 0;
  height: 46px;
  padding: 0 0.85rem;
  border: 2.5px solid #E8A838 !important;
  border-right: none !important;
  border-radius: 24px 0 0 24px !important;
  font-size: 0.9rem;
  color: #2B2B2B;
  background: #fff;
  outline: none;
  width: 100%;
}
.header-toolbar .site-search-input:focus {
  border-color: #F3C45D !important;
}
.header-toolbar .site-search-input::placeholder {
  color: #999;
}
.header-toolbar .site-search-submit {
  height: 46px;
  width: 46px;
  min-width: 46px;
  padding: 0;
  background: #F3C45D;
  border: 2.5px solid #E8A838 !important;
  border-left: none !important;
  border-radius: 0 24px 24px 0 !important;
  cursor: pointer;
  color: #2B2B2B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.header-toolbar .site-search-submit:hover {
  background: #e6b84f;
}
/* Popout trigger buttons — uniform 46px, bold border */
.header-popout-trigger {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: #F3C45D;
  border: 2.5px solid #E8A838;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.header-popout-trigger:hover {
  background: #e6b84f;
  transform: scale(1.06);
  box-shadow: 0 3px 12px rgba(243, 196, 93, 0.4);
}
.header-popout-trigger img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(12%) sepia(5%) saturate(10%) hue-rotate(0deg);
}
/* X icon when open */
.header-popout-trigger--open img {
  display: none;
}
.header-popout-trigger--open::after {
  content: '✕';
  font-size: 1.2rem;
  font-weight: 700;
  color: #2B2B2B;
  line-height: 1;
}

/* Popout panels — shared */
.header-popout-panel {
  position: absolute;
  z-index: 10000;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.95);
  transform-origin: top center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.header-popout-panel--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.header-popout-panel h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #2B2B2B;
  margin: 0 0 0.75rem;
  text-align: center;
}
/* Backdrop overlay */
.header-popout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.header-popout-backdrop--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Ensure toolbar column stacks above nav */
.header-toolbar {
  position: relative;
  z-index: 10001;
}

/* Override header search styles inside popout */
.header-popout-panel .header-search-fields {
  gap: 0.5rem;
}
.header-popout-panel .header-search-submit {
  width: 100%;
  flex: 1 1 100%;
  text-align: center;
  justify-content: center;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .header-popout-panel {
    width: calc(100% - 24px);
    left: 12px;
  }
}

/* =====================================================================
   CONTACT FORM POPOUT — match toolbar styling
   ===================================================================== */
#header-contact-container .block {
  padding: 0 !important;
  margin: 0 !important;
}
#header-contact-container .webform-submission-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
#header-contact-container .form-item {
  margin: 0;
}
#header-contact-container label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2B2B2B;
  margin-bottom: 0.2rem;
}
#header-contact-container .form-text,
#header-contact-container .form-email {
  width: 100%;
  height: 42px;
  padding: 0 0.85rem;
  border: 2.5px solid #E8A838;
  border-radius: 24px;
  font-size: 0.85rem;
  color: #2B2B2B;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}
#header-contact-container .form-text:focus,
#header-contact-container .form-email:focus {
  border-color: #F3C45D;
}
#header-contact-container .form-textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 2.5px solid #E8A838;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #2B2B2B;
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
  font-family: inherit;
}
#header-contact-container .form-textarea:focus {
  border-color: #F3C45D;
}
#header-contact-container .form-textarea-wrapper {
  margin: 0;
}
/* Name fields side by side */
#header-contact-container .webform-flexbox {
  display: flex;
  gap: 0.5rem;
}
#header-contact-container .webform-flex {
  flex: 1;
}
#header-contact-container .webform-flex--container {
  width: 100%;
}
#header-contact-container fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}
#header-contact-container .fieldset-wrapper {
  padding: 0;
}
/* Submit button */
#header-contact-container .form-actions {
  margin: 0.25rem 0 0;
}
#header-contact-container .form-submit {
  width: 100%;
  height: 46px;
  background: #F3C45D;
  color: #2B2B2B;
  border: 2.5px solid #E8A838;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}
#header-contact-container .form-submit:hover {
  background: #e6b84f;
  border-color: #e6b84f;
  box-shadow: 0 2px 8px rgba(243, 196, 93, 0.4);
}
.header-search-form {
  width: 100%;
}
.header-search-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
/* Date — full width row */
input.header-search-dates,
input.header-search-dates[readonly] {
  flex: 1 1 100%;
  height: 46px;
  padding: 0 0.85rem;
  border: 2.5px solid #E8A838 !important;
  border-radius: 24px !important;
  font-size: 0.9rem;
  font-weight: 400;
  color: #2B2B2B;
  background: #fff;
  text-align: center;
  cursor: pointer;
}
input.header-search-dates::placeholder {
  color: #999;
  font-weight: 400;
}
input.header-search-dates--active,
input.header-search-dates--active[readonly] {
  background: #F3C45D !important;
  color: #2B2B2B !important;
  border-color: #E8A838 !important;
  font-weight: 700 !important;
}
/* Guests + Search — row 2, forced inline */
.header-search-form select.header-search-sleeps {
  flex: 1 1 0;
  min-width: 0;
  height: 46px;
  padding: 0 1.8rem 0 0.85rem;
  border: 2.5px solid #E8A838 !important;
  border-radius: 24px !important;
  font-size: 0.9rem;
  background: #fff;
  color: #2B2B2B;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  line-height: 1.4;
}
.header-search-submit {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 1.2rem;
  background: #F3C45D;
  color: #2B2B2B;
  border: 2.5px solid #E8A838;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-search-submit:hover {
  background: #e6b84f;
  border-color: #e6b84f;
  box-shadow: 0 2px 8px rgba(243, 196, 93, 0.4);
}



/* =====================================================================
   MISC.
   ===================================================================== */

/*** Social Icons ***/
#block-ipr-iprsocialmediaicons .field--name-name {
	display: none;
}
/** Hero BG. **/
.page-view-type-showcases .banner {
	background-image: url('/themes/custom/ipr/images/mountains.jpg')!important;
	background-position: center center!important;
}
/* Remove Title in View with Entity Header */
.view-mt-showcases-grid.view-display-id-page_3 .view-header .field--name-title, 
.view-mt-showcases-grid.view-display-id-page_1 .view-header .field--name-title {
	display:none;
}


/* =====================================================================
   Matterport Embed Responsive
   ===================================================================== */
.matterport-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}
.matterport-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* =====================================================================
   HERO BACKGROUND VIDEO — rewritten
   ===================================================================== */

/* Hero block container */
.hero-video-block {
  position: relative;
  overflow: hidden;
}

/* Poster — injected by JS on desktop only */
.hero-video-block__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: opacity 0.8s ease;
}
.hero-video-block__poster--hidden {
  opacity: 0;
}

/* Video element — injected by JS on desktop only */
.hero-video-block__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay */
.hero-video-block__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Content layer */
.hero-video-block__content {
  position: relative;
  z-index: 2;
}
.hero-video-block__blocks {
  text-align: center;
}

/* Mobile: charcoal background since no poster/video loads */
@media (max-width: 767px) {
  .hero-video-block {
    background: #2B2B2B;
  }
}

/* =====================================================================
   HERO INLINE SEARCH FORM
   ===================================================================== */


.video-bg-title, .text-shadow  {
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.video-bg-subheading {
    padding: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: #F3C45C;
    display: block;
    font:18px 700 24px;
    text-shadow: none;
}
.background-video-block__section .container-fluid {
  --bs-gutter-x:0;
}

/* CLAUDE CSS for Video BG Hero */


/* Hero block container */
.hero-video-block {
  position: relative;
  overflow: hidden;
}

/* Poster — in HTML with @media query, only loads on desktop */
.hero-video-block__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: opacity 0.8s ease;
}
.hero-video-block__poster--hidden {
  opacity: 0;
}

/* Video element — injected by JS on desktop only */
.hero-video-block__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay */
.hero-video-block__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Content layer — big padding on desktop to show off the video */
.hero-video-block__content {
  position: relative;
  z-index: 2;
  padding: 6rem 1rem 5rem;
}
.hero-video-block__blocks {
  text-align: center;
}

/* Mobile: charcoal background, no poster/video, tighter padding */
@media (max-width: 767px) {
  .hero-video-block {
    background: #2B2B2B;
  }
  .hero-video-block__content {
    padding: 2rem 1rem 1.5rem;
  }
  .hero-video-block__poster {
    display: none;
  }
}

/* =====================================================================
   HERO INLINE SEARCH FORM
   ===================================================================== */
.hero-search {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0 1rem;
}
.hero-search__form {
  display: inline-block;
}
.hero-search__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* Date input */
.hero-search__field--dates {
  flex: 1 1 auto;
  min-width: 180px;
}
.hero-search__dates,
.hero-search__input,
input.hero-search__dates[readonly],
input.hero-search__input[readonly],
.hero-search__field--dates .flatpickr-input,
.hero-search__field--dates input.flatpickr-input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 2px solid #ddd !important;
  border-radius: 12px !important;
  font-size: 0.95rem;
  color: #2B2B2B;
  background: #fff;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}
.hero-search__dates:focus,
.hero-search__field--dates .flatpickr-input:focus {
  border-color: #F3C45D !important;
  outline: none;
}
.hero-search__dates--active,
input.hero-search__dates--active[readonly],
.hero-search__field--dates .flatpickr-input.active,
.hero-search__field--dates input[value]:not([value=""]) {
  border-color: #F3C45D !important;
  background: #fff !important;
  color: #2B2B2B !important;
  font-weight: 700;
}
/* Flatpickr altInput — the visible replacement input */
.hero-search__field--dates .flatpickr-alt-input,
.hero-search__field--dates input.flatpickr-input + input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 2px solid #ddd !important;
  border-radius: 12px !important;
  font-size: 0.95rem;
  color: #2B2B2B !important;
  background: #fff !important;
  text-align: center;
  box-sizing: border-box;
  font-weight: 600;
}

/* Guests select */
.hero-search__select {
  height: 48px;
  min-width: 130px;
  padding: 0 2rem 0 1rem;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #2B2B2B;
  background: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}
.hero-search__select:focus {
  border-color: #F3C45D;
  outline: none;
}

/* Submit button */
.hero-search__submit {
  height: 48px;
  padding: 0 1.5rem;
  background: #F3C45D;
  color: #2B2B2B;
  border: 2px solid #F3C45D;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.hero-search__submit:hover {
  background: #e6b84f;
  border-color: #e6b84f;
  box-shadow: 0 2px 12px rgba(243, 196, 93, 0.5);
}

/* --- Mobile: stack vertical, bottom margin --- */
@media (max-width: 767px) {
  .hero-search {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }
  .hero-search__form {
    width: 100%;
  }
  .hero-search__fields {
    flex-direction: column;
    border-radius: 12px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
  }
  .hero-search__field--dates,
  .hero-search__field--guests,
  .hero-search__select,
  .hero-search__submit {
    width: 100%;
    min-width: 0;
  }
  .hero-search__submit {
    text-align: center;
    justify-content: center;
  }
}

/* --- Desktop: inline pill row --- */
@media (min-width: 768px) {
  .hero-search__fields {
    flex-wrap: nowrap;
    border-radius: 28px;
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  }
  .hero-search__dates,
  input.hero-search__dates[readonly],
  .hero-search__field--dates .flatpickr-input {
    border-radius: 24px !important;
  }
  .hero-search__select {
    border-radius: 24px;
  }
  .hero-search__submit {
    border-radius: 24px;
    padding: 0 2rem;
  }
}

.path-frontpage .banner .container,
.path-frontpage .banner .container-fluid,
.path-frontpage .banner .row > * {
  padding-right: 0 !important;
  padding-left: 0 !important;
  max-width: 100% !important;
}

.path-frontpage .banner {
  overflow: hidden;
}

.hero-video-block__blocks h2,
.hero-video-block__blocks .video-bg-subheading {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}


