/* Elementor hides animated widgets until its frontend script reveals them. */
.elementor-invisible {
  visibility: visible;
}

/* Full-screen phone/tablet menu. Black panel, white type, burgundy accent
   only on hover and the open row. The nav is moved to document.body so the
   header cannot clip it. */
@media (max-width: 1024px) {
  body.bvcc-menu-open {
    overflow: hidden;
  }
  .bvcc-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1000000;
    background: #000;
    color: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 76px 0 32px;
    box-sizing: border-box;
  }
  .bvcc-menu-close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1000001;
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent !important;
    color: #fff !important;
    font-family: Lustria, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
  }
  .bvcc-menu-close:hover,
  .bvcc-menu-close:focus-visible {
    color: #fff !important;
    background: #5a0c11 !important;
  }
  .bvcc-menu-overlay .hfe-nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .bvcc-menu-overlay .hfe-nav-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .bvcc-menu-overlay .hfe-has-submenu-container {
    display: flex !important;
    align-items: stretch;
    width: 100%;
  }
  .bvcc-menu-overlay a.hfe-menu-item,
  .bvcc-menu-overlay a.hfe-sub-menu-item {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-height: 48px;
    box-sizing: border-box;
    color: #fff !important;
    background: transparent;
    font-family: Lustria, "Times New Roman", serif;
    font-size: 19px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 20px;
  }
  .bvcc-menu-overlay a.hfe-sub-menu-item {
    font-size: 16px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78) !important;
    padding-left: 36px;
  }
  .bvcc-menu-overlay .sub-menu .sub-menu a.hfe-sub-menu-item {
    padding-left: 52px;
    font-size: 16px;
  }
  .bvcc-menu-overlay a.hfe-menu-item:hover,
  .bvcc-menu-overlay a.hfe-menu-item:focus-visible,
  .bvcc-menu-overlay a.hfe-sub-menu-item:hover,
  .bvcc-menu-overlay a.hfe-sub-menu-item:focus-visible,
  .bvcc-menu-overlay .bvcc-submenu-toggle:hover,
  .bvcc-menu-overlay .bvcc-submenu-toggle:focus-visible {
    background: #5a0c11 !important;
    color: #fff !important;
  }
  .bvcc-menu-overlay .menu-item.sub-menu-active > .hfe-has-submenu-container {
    box-shadow: inset 3px 0 0 #5a0c11;
  }
  .bvcc-menu-overlay .bvcc-submenu-toggle {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer;
    position: relative;
  }
  .bvcc-menu-overlay .bvcc-submenu-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -70%) rotate(45deg);
  }
  .bvcc-menu-overlay .menu-item.sub-menu-active > .hfe-has-submenu-container .bvcc-submenu-toggle::before {
    transform: translate(-50%, -30%) rotate(225deg);
  }
  .bvcc-menu-overlay .hfe-menu-toggle {
    display: none !important;
  }
  .bvcc-menu-overlay .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu,
  .bvcc-menu-overlay .hfe-nav-menu .menu-item-has-children .sub-menu,
  .bvcc-menu-overlay .sub-menu {
    display: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    list-style: none;
  }
  .bvcc-menu-overlay .menu-item.sub-menu-active > .sub-menu {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .bvcc-menu-overlay .sub-menu li,
  .bvcc-menu-overlay a.hfe-sub-menu-item {
    display: block !important;
    position: static !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }
  .bvcc-menu-overlay .sub-menu .hfe-has-submenu-container > a.hfe-sub-menu-item {
    display: flex !important;
  }
}

.elementor .elementor-background-video-container .elementor-background-video-hosted {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: none;
}

/* Cover the hero the way Elementor's background-video script sizes the iframe. */
.elementor .elementor-background-video-embed {
  width: 100vw;
  height: 56.25vw;
  min-width: 177.77vh;
  min-height: 100%;
  border: 0;
  pointer-events: none;
}

.elementor-gallery__container.e-gallery-grid {
  --columns: 4;
  --hgap: 10px;
  --vgap: 10px;
  --aspect-ratio: 66.66%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.elementor-gallery__container .e-gallery-image {
  background-position: center;
  background-size: cover;
  width: 100%;
  padding-bottom: 66.66%;
}
@media (max-width: 1024px) {
  .elementor-gallery__container.e-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .elementor-gallery__container.e-gallery-grid { grid-template-columns: 1fr; }
}

.elementor-widget-jkit_gallery {
  display: block !important;
}
.jkit-gallery .gallery-items,
.bvcc-jkit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.jkit-gallery .gallery-item-wrap {
  width: auto !important;
  min-width: 0;
  float: none !important;
}
.jkit-gallery .grid-item,
.bvcc-jkit-grid .grid-item { position: relative; width: 100%; }
.jkit-gallery .thumbnail-wrap,
.bvcc-jkit-grid .thumbnail-wrap {
  position: relative;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.jkit-gallery .thumbnail-wrap img,
.bvcc-jkit-grid .thumbnail-wrap img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jkit-gallery .video-wrap,
.bvcc-jkit-grid .video-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jkit-gallery .video-icon-bg,
.bvcc-jkit-grid .video-icon-bg { color: #fff; font-size: 48px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
@media (max-width: 1024px) {
  .jkit-gallery .gallery-items,
  .bvcc-jkit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .jkit-gallery .gallery-items,
  .bvcc-jkit-grid { grid-template-columns: 1fr; }
}

.ti-widget { opacity: 1 !important; height: auto !important; overflow: visible !important; }
.ti-reviews-container-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 16px;
}
.ti-review-item {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
}
.ti-name { font-weight: 700; }
.ti-stars img { width: 17px; height: 17px; display: inline-block; }
.ti-review-content, .ti-review-text { margin-top: 8px; }

#sb_instagram #sbi_images .sbi_item.sbi_new,
#sb_instagram #sbi_images .sbi_item.sbi_transition {
  opacity: 1 !important;
}
#sbi_images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
#sbi_images .sbi_photo {
  display: block;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
}
#sbi_images .sbi_photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 1 !important;
}
@media (max-width: 1024px) {
  #sbi_images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  #sbi_images { grid-template-columns: 1fr; }
}

.bvcc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000002;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bvcc-lightbox img, .bvcc-lightbox iframe {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  background: #000;
}
.bvcc-lightbox iframe { width: min(1100px, 92vw); height: min(70vh, 620px); border: 0; }
.bvcc-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}
h1.bvcc-seo-h1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
