/* =========================================================
   8MH Organic - Responsive layer
   Loaded last on every page so it can refine custom.css,
   8mh-custom.css and page-level <style> blocks.

   Breakpoints (Bootstrap 5):
     xl  >= 1200   lg 992-1199   md 768-991   sm 576-767   xs < 576
   ========================================================= */

/* ---------- Global safety ---------- */
body { overflow-x: hidden; }
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

img, video, iframe { max-width: 100%; }

a, button, .nav-link, .org-search-icon { -webkit-tap-highlight-color: transparent; }

/* Bootstrap g-5 rows pull 1.5rem past the container edge on phones,
   which causes sideways scrolling - tame the gutter on small screens */
@media (max-width: 767.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
  .row.g-5, .row.gy-5 { --bs-gutter-y: 2rem; }
}

/* Avoid iOS auto-zoom when focusing small inputs */
@media (max-width: 767.98px) {
  .form-control,
  .form-select,
  .search-bar-item input,
  .fe-subscribe-input,
  .custom-form-wrapper input,
  .org-search-input,
  .shoot-input { font-size: 16px; }
}


/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.navbar-custom .navbar-brand { padding: 0; margin-right: 1rem; }

/* Animated hamburger */
.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.nav-toggle:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
  .mobile-nav-head,
  .mobile-nav-foot,
  .nav-dropdown-toggle,
  .nav-backdrop { display: none !important; }

  .navbar-custom .navbar-nav > .nav-item > .nav-link { position: relative; }
  .navbar-custom .navbar-nav > .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .navbar-custom .navbar-nav > .nav-item > .nav-link:hover::before,
  .navbar-custom .navbar-nav > .nav-item > .nav-link.active::before { transform: scaleX(1); }
}

/* Laptop widths: keep everything on one line */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav { gap: 0; }
  .navbar-custom .nav-link { padding: 0.5rem 0.7rem; font-size: 0.84rem; }
  .navbar-custom .navbar-nav > .nav-item > .nav-link::before { left: 0.7rem; right: 0.7rem; }
  .org-search-icon { padding-right: 1.25rem; font-size: 20px; }
  .navbar-custom .btn-white { padding: 0.5rem 1.1rem; }
}

/* ---------- Mobile & tablet: off-canvas drawer from the left ---------- */
@media (max-width: 991.98px) {
  .navbar-custom { padding: 0.5rem 0; }
  .navbar-custom .container { flex-wrap: nowrap; }

  /* backdrop-filter would trap the fixed drawer inside the bar */
  .navbar-custom.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(74, 112, 89, 0.98);
  }

  body.nav-open { overflow: hidden; }

  .navbar-custom .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: min(86vw, 360px);
    height: 100vh;
    height: 100dvh;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #3d5c4a 0%, #324c3d 100%);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.38s;
  }
  .navbar-custom .navbar-collapse.show {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(12, 20, 15, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
  }

  /* Drawer header */
  .mobile-nav-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
    background: #3d5c4a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-nav-logo img { height: 44px; width: auto; display: block; }
  .mobile-nav-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .mobile-nav-close:hover { background: rgba(255, 255, 255, 0.22); transform: rotate(90deg); }

  /* Links */
  .navbar-custom .navbar-nav {
    width: 100%;
    gap: 0;
    margin: 0 0 1.5rem !important;
  }
  .navbar-custom .navbar-nav > .nav-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .navbar-custom .navbar-nav > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
  }
  .navbar-custom .navbar-nav > .nav-item > .nav-link.active {
    color: #fff;
    font-weight: 600;
  }
  .navbar-custom .navbar-nav > .nav-item > .nav-link.active::after {
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 0.6rem;
    border-radius: 50%;
    background: var(--accent);
  }

  /* Dropdowns become accordions */
  .navbar-custom .nav-dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .navbar-custom .nav-dropdown > .nav-link::after { display: none; }
  .nav-dropdown-toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.2s ease;
  }
  .nav-dropdown.is-open > .nav-dropdown-toggle {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.18);
  }
  .navbar-custom .nav-dropdown-menu,
  .navbar-custom .nav-dropdown:hover > .nav-dropdown-menu {
    grid-column: 1 / -1;
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 0.75rem;
    padding: 0.25rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.14);
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .navbar-custom .nav-dropdown.is-open > .nav-dropdown-menu {
    display: block;
    animation: navSubmenuIn 0.25s ease;
  }
  .navbar-custom .nav-dropdown-menu a {
    white-space: normal;
    padding: 0.7rem 0.85rem;
    font-size: 0.92rem;
  }

  /* Search becomes a labelled row */
  .navbar-collapse .org-search-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.85rem 0.25rem;
    margin: -1.5rem 0 1.5rem;
    font-size: 1.05rem;
    font-style: normal;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-collapse .org-search-icon::after {
    content: 'Search';
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
  }

  /* Sign in pinned to the bottom */
  .navbar-collapse > .btn-white {
    width: 100%;
    margin-top: auto;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .mobile-nav-foot {
    padding-top: 1.25rem;
  }
  .mobile-nav-foot-label {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
  }
  .mobile-nav-foot .social-links { gap: 0.75rem; }

  /* Staggered entrance */
  .navbar-collapse .navbar-nav > .nav-item,
  .navbar-collapse .org-search-icon,
  .navbar-collapse > .btn-white,
  .navbar-collapse .mobile-nav-foot {
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .navbar-collapse.show .navbar-nav > .nav-item,
  .navbar-collapse.show .org-search-icon,
  .navbar-collapse.show > .btn-white,
  .navbar-collapse.show .mobile-nav-foot {
    opacity: 1;
    transform: none;
  }
  .navbar-collapse.show .navbar-nav > .nav-item:nth-child(1) { transition-delay: 0.08s; }
  .navbar-collapse.show .navbar-nav > .nav-item:nth-child(2) { transition-delay: 0.12s; }
  .navbar-collapse.show .navbar-nav > .nav-item:nth-child(3) { transition-delay: 0.16s; }
  .navbar-collapse.show .navbar-nav > .nav-item:nth-child(4) { transition-delay: 0.20s; }
  .navbar-collapse.show .navbar-nav > .nav-item:nth-child(5) { transition-delay: 0.24s; }
  .navbar-collapse.show .navbar-nav > .nav-item:nth-child(6) { transition-delay: 0.28s; }
  .navbar-collapse.show .org-search-icon { transition-delay: 0.30s; }
  .navbar-collapse.show > .btn-white { transition-delay: 0.32s; }
  .navbar-collapse.show .mobile-nav-foot { transition-delay: 0.36s; }
}

@keyframes navSubmenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Search overlay (moved to <body> by site-nav.js) */
@media (max-width: 767.98px) {
  .org-search-input { width: calc(100% - 2.5rem); }
  .org-close-btn { top: 1rem; right: 1.25rem; }
}

/* Leftover template navbar on host-an-event.html */
.ehp-page > .ehp-navbar { display: none !important; }


/* =========================================================
   TYPOGRAPHY & SECTION RHYTHM
   ========================================================= */
@media (max-width: 991.98px) {
  .section { padding: 4rem 0; }
}

@media (max-width: 767.98px) {
  .section { padding: 3.25rem 0; }
  .section .mb-5 { margin-bottom: 2rem !important; }

  .section-title { font-size: 1.6rem; line-height: 1.25; }
  .section-subtitle,
  .partner-desc,
  .prive-subtitle,
  .cta-desc,
  .hero-subtitle { font-size: 1rem; }

  .partner-title,
  .prive-title,
  .cta-title { font-size: 1.5rem; }

  .page-header { padding-top: 6rem; }
  .page-title { font-size: 1.65rem; }
  .property-title { font-size: 1.6rem; }

  .cta-content.py-5 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
}

@media (max-width: 375.98px) {
  .section-title { font-size: 1.45rem; }
}


/* =========================================================
   HOME HERO
   ========================================================= */
.hero-title { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.5rem); }

@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-content {
    height: auto;
    min-height: inherit;
    padding: 6.5rem 0 3.5rem;
  }
  .scroll-indicator { display: none; }
  .feature-section { justify-content: flex-start; margin-bottom: 1.75rem; }
}

@media (max-width: 767.98px) {
  .hero-title { margin-bottom: 1rem; line-height: 1.2; }
  .hero-subtitle { margin-bottom: 1.25rem; }

  /* Three trust points side by side instead of a tall stack */
  .feature-section {
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0;
  }
  .feature-section .divider { display: none; }
  .feature-section .feature-item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0.75rem 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
  }
  .feature-section .feature-icon { width: 30px; height: 30px; margin: 0; }
  .feature-section .content h4 { font-size: 0.8rem; line-height: 1.2; margin-bottom: 2px; }
  .feature-section .content p { font-size: 0.72rem; margin: 0; }
}

/* ---------- Search bar (home: stacked, compact grid) ---------- */
@media (max-width: 991.98px) {
  .search-bar { padding: 0.75rem; border-radius: 1.25rem; }

  .search-bar:not(.search-bar-horizontal) .search-bar-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: stretch;
  }
  .search-bar:not(.search-bar-horizontal) .search-bar-divider { display: none; }
  .search-bar:not(.search-bar-horizontal) .search-bar-item {
    width: auto;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(74, 112, 89, 0.15);
    background: #fff;
  }
  .search-bar:not(.search-bar-horizontal) .search-bar-item:first-child { grid-column: 1 / -1; }
  .search-bar:not(.search-bar-horizontal) .search-btn {
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}

/* Properties page bar: horizontal on tablet, grid on phones */
@media (max-width: 767.98px) {
  .search-bar.search-bar-horizontal .search-bar-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: stretch;
  }
  .search-bar.search-bar-horizontal .search-bar-fields .search-bar-divider { display: none !important; }
  .search-bar.search-bar-horizontal .search-bar-fields .search-bar-item {
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(74, 112, 89, 0.15);
    background: #fff;
  }
  .search-bar.search-bar-horizontal .search-bar-fields .search-bar-item:first-child { grid-column: 1 / -1; }
  .search-bar.search-bar-horizontal .search-bar-fields .search-bar-item label { display: block; }
  .search-bar.search-bar-horizontal .search-bar-fields .search-bar-item .icon { font-size: 1.05rem; }
  .search-bar.search-bar-horizontal .search-bar-fields .search-btn {
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}


/* =========================================================
   HOME SECTIONS
   ========================================================= */

/* USP strip */
@media (max-width: 767.98px) {
  .fe-benefits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 16px;
  }
  .fe-benefit-item {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 14px;
  }
  .fe-benefit-icon img { width: 38px; height: 38px; }
  .fe-benefit-content h3 { font-size: 17px; }
  .fe-benefit-content p { font-size: 13px; }
}
@media (max-width: 359.98px) {
  .fe-benefits-section { grid-template-columns: 1fr; }
}

/* Swipeable card rows on phones (add .mobile-scroll-row to a .row) */
@media (max-width: 767.98px) {
  .mobile-scroll-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .mobile-scroll-row::-webkit-scrollbar { display: none; }
  .mobile-scroll-row > [class*="col"] {
    flex: 0 0 82%;
    width: 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }
  .mobile-scroll-row .lm-video-gallery-card { margin-bottom: 0; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .mobile-scroll-row > [class*="col"] { flex-basis: 58%; width: 58%; max-width: 58%; }
}

/* Property cards */
@media (max-width: 575.98px) {
  .card-img-wrapper { aspect-ratio: 1 / 1; }
  .card-title-custom { font-size: 1.05rem; }
}

/* Section heading row with "See all" link */
@media (max-width: 767.98px) {
  .section-head-row .section-subtitle { margin-bottom: 0; }
}

/* Testimonials */
@media (max-width: 575.98px) {
  .testimonial-carousel-container { padding: 0; }
  .testimonial-carousel-container .carousel-btn { display: none; }
  .testimonial-card { padding: 28px 20px; border-radius: 20px; }
  .testimonial-text { font-size: 15px; }
  .testimonial-dots { margin-top: 24px; }
}

/* Stats */
.stat-number { font-size: clamp(1.75rem, 1rem + 4vw, 3rem); }
@media (max-width: 767.98px) {
  .stat-label { font-size: 0.9rem; }
  .stats-section .h3 { font-size: 1.4rem; }
  .stats-section .h5 { font-size: 1rem; }
}

/* Video walkthroughs */
@media (max-width: 991.98px) {
  .lm-video-gallery-card img { height: 280px; }
}
@media (max-width: 767.98px) {
  .lm-video-gallery-card img { height: 240px; }
  .lm-video-gallery-play-btn { width: 58px; height: 58px; }
  .lm-video-gallery-play-btn i { font-size: 28px; }
}
.lm-video-frame {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  display: block;
}
@media (max-width: 575.98px) {
  .lm-video-modal .modal-dialog { margin: 0.75rem; }
  .lm-video-modal .modal-content { border-radius: 14px; }
}

/* Partner block */
@media (max-width: 767.98px) {
  .partner-video-play-btn { width: 58px; height: 58px; }
  .partner-video-play-btn i { font-size: 24px; }
}

/* Privé benefit cards: were fixed 290x210px and overflowed their column */
.prive-card {
  width: 100%;
  height: 100%;
  min-height: 210px;
}
@media (max-width: 767.98px) {
  .prive-card { min-height: 0; padding: 1.1rem; }
  .prive-card-icon { width: 40px; height: 40px; font-size: 1.05rem; margin-bottom: 0.75rem; }
  .prive-card h4 { font-size: 1rem; }
  .prive-card p { font-size: 0.875rem; }
}

/* Privé tier cards: shrink to fit instead of overflowing the column */
.wbx-tier-card {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: 32px 16px 28px;
}
@media (max-width: 991.98px) {
  .wbx-tier-wrapper { overflow: visible; align-items: stretch; padding-bottom: 0; }
  .wbx-tier-card { min-width: 0; }
}
@media (max-width: 767.98px) {
  .wbx-tier-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 4px 2px 10px;
  }
  .wbx-tier-wrapper::-webkit-scrollbar { display: none; }
  .wbx-tier-card,
  .wbx-tier-card.active {
    flex: 0 0 72%;
    min-height: 0;
    scroll-snap-align: start;
  }
  .wbx-tier-card p.m-3 { margin: 0.75rem 0 0 !important; }
}

/* Event cards */
@media (max-width: 767.98px) {
  .event-card { height: 340px; }
  .event-card-body { left: 20px; right: 20px; bottom: 20px; }
}

/* Featured In logos */
.featured-in-logo img {
  max-width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .featured-in-logo { flex: 0 0 130px; }
  .featured-in-logo img { max-height: 40px; }
}

/* Instagram */
@media (max-width: 991.98px) {
  .wbx-insta-section { padding-top: 0; padding-bottom: 0; }
}
@media (max-width: 767.98px) {
  .wbx-insta-full-card { border-radius: 16px; }
}

/* Promo popup */
.custom-form-wrapper input,
.custom-form-wrapper button { width: 100%; }
@media (max-width: 575.98px) {
  .promo-popup { padding: 1.75rem 1.25rem 1.25rem; }
  .promo-title { font-size: 1.3rem; padding-right: 1.5rem; margin-bottom: 1rem; }
  .promo-subtitle { font-size: 0.7rem; }
  .custom-form-wrapper { gap: 10px; }
  .custom-form-wrapper input,
  .custom-form-wrapper button { height: 48px; }
}


/* =========================================================
   INNER PAGE HEROES
   ========================================================= */
@media (max-width: 767.98px) {
  .about-hero { min-height: 400px; }
  .exp-hero { min-height: 440px; }
  .hw-hero-stats { gap: 1.25rem 2rem; margin-top: 1.75rem; }
  .hw-hero-stat .num { font-size: 1.6rem; }
  .hw-hero-stat .lbl { font-size: 0.75rem; }
}


/* =========================================================
   PROPERTIES PAGE
   ========================================================= */
.filter-toggle-btn { display: none; }

@media (max-width: 991.98px) {
  .filter-toggle-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .filter-toggle-caret { margin-left: auto; transition: transform 0.25s ease; }
  .filter-toggle-btn[aria-expanded="true"] .filter-toggle-caret { transform: rotate(180deg); }

  .filter-panel {
    position: static;
    display: none;
    margin-top: 0.75rem;
  }
  .filter-panel.is-open { display: block; }
}

.wbx-sort-select { padding-right: 28px; }
.wbx-sort-arrow svg path { stroke: #fff; }
@media (max-width: 575.98px) {
  .wbx-sort-label { font-size: 12px; letter-spacing: 1px; }
  .wbx-sort-select { font-size: 14px; }
}


/* =========================================================
   PROPERTY DETAIL PAGE
   ========================================================= */
.gallery-tall {
  position: relative;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-main { grid-column: 1 / -1; height: 360px; }
  .gallery-side {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 300px;
    gap: 12px;
  }
  .gallery-side-item { height: auto; }
  .gallery-tall { height: 300px; }

  .booking-widget { position: static; }
  .quick-nav { top: 64px; }
}

@media (max-width: 575.98px) {
  .gallery-grid { gap: 10px; border-radius: 14px; }
  .gallery-main { height: 240px; border-radius: 14px; }
  .gallery-side { height: 220px; gap: 10px; }
  .gallery-side-item,
  .gallery-tall { border-radius: 14px; }
  .gallery-tall { height: 220px; }
  .gallery-count-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    bottom: 10px;
    right: 10px;
  }

  .quick-nav-links { gap: 1.25rem; padding: 0.85rem 0.25rem; scrollbar-width: none; }
  .quick-nav-links::-webkit-scrollbar { display: none; }
  .content-card { padding: 1.15rem; }
  .booking-widget { padding: 1.15rem; }
  .host-buttons { flex-wrap: wrap; }
}

#location .d-flex.justify-content-between { flex-wrap: wrap; gap: 0.75rem; }

/* Reviews */
@media (max-width: 991.98px) {
  .wbx-review-top { margin-bottom: 2rem; gap: 1.25rem; }
  .wbx-review-title { font-size: 1.85rem; margin-bottom: 1rem; }
  .wbx-review-rating { font-size: 2.6rem; }
  .wbx-review-stars { font-size: 1.25rem; letter-spacing: 2px; }
  .wbx-review-count { font-size: 12px; letter-spacing: 2px; }
  .wbx-review-card { padding: 24px; border-radius: 18px; }
  .wbx-review-card p { font-size: 15px; line-height: 1.7; }
  .wbx-review-grid { gap: 16px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .wbx-review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .wbx-review-user { gap: 12px; margin-bottom: 16px; }
  .wbx-review-avatar { width: 48px; height: 48px; font-size: 20px; }
  .wbx-review-user h4 { font-size: 16px; }
  .wbx-review-user span { font-size: 14px; }
  .wbx-review-btn { height: 46px; padding: 0 28px; font-size: 16px; }

  .wbx-review-modal .modal-content { border-radius: 18px; }
  .wbx-modal-head { padding: 18px 20px; }
  .wbx-modal-head h3 { font-size: 1.3rem; }
  .wbx-modal-close { width: 38px; height: 38px; font-size: 15px; }
  .wbx-modal-body { padding: 20px; }
  .wbx-modal-review { padding: 18px; border-radius: 14px; }
  .wbx-modal-review p { font-size: 15px; }
}


/* =========================================================
   FORMS: ENQUIRY / SHOOT / HOST / EVENT
   ========================================================= */
@media (max-width: 575.98px) {
  .form-card { padding: 1.25rem; }
  .form-card h2 { font-size: 1.3rem; }
  .hw-form-panel { padding: 1.25rem; }

  /* Enquiry type tabs: one even row */
  .search-tab {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* Shoot page */
@media (max-width: 767.98px) {
  .shoot-img-big { height: 260px; }
  .shoot-img-small { height: 180px; }
}
@media (max-width: 575.98px) {
  .shoot-box { padding: 20px; border-radius: 18px; }
}

/* Host with 8MH: tabs scroll edge to edge */
@media (max-width: 575.98px) {
  .hw-tab { min-width: 0; padding: 0.65rem 0.9rem; font-size: 0.75rem; }
}

/* Privé page */
@media (max-width: 767.98px) {
  .prive-calc-box { padding: 1.5rem 1.1rem; }
  .prive-calc-amt { font-size: 1.85rem; }
  .pv-stat-n { font-size: 1.25rem; }
  .pv-stat-l { font-size: 0.68rem; }
  .prive-tier-card { padding: 1.5rem 1.25rem; }
  .prive-qa summary { font-size: 1rem; }
  .prive-qa p { font-size: 1rem; }
}
@media (max-width: 575.98px) {
  .prive-earn-row { flex-direction: column; gap: 0.35rem; }
  .prive-earn-row .r { text-align: left; white-space: normal; padding-top: 0; }
}

/* Host an event page */
@media (max-width: 991.98px) {
  .ehp-hero { padding: 7rem 0 4rem; }
  .ehp-hero .form-card { margin-top: 2.5rem; }
  .ehp-section { padding: 70px 0; }
  .ehp-section-title { font-size: 2.2rem; }
  .ehp-section-subtitle { margin-bottom: 40px; }
  .ehp-timeline { margin-top: 40px; }
  .ehp-timeline-step { width: calc(50% - 10px); }
}
@media (max-width: 767.98px) {
  .ehp-hero h1 { font-size: 2.1rem; line-height: 1.15; }
  .ehp-hero p { font-size: 1rem; }
  .ehp-section { padding: 56px 0; }
  .ehp-section-title { font-size: 1.65rem; }
  .ehp-floating-stats { gap: 12px; margin-top: 28px; }
  .ehp-stat-box { flex: 1 1 140px; min-width: 0; padding: 16px 18px; }
  .ehp-stat-box h3 { font-size: 1.5rem; }
  .ehp-glass-card { padding: 24px; }
  .ehp-event-content h4 { font-size: 1.4rem; }
  .ehp-event-content { left: 20px; right: 20px; bottom: 20px; }
  .ehp-timeline-icon { width: 70px; height: 70px; font-size: 1.5rem; margin-bottom: 14px; }
  .ehp-cta-box { padding: 48px 22px; border-radius: 24px; }
  .ehp-cta-box h2 { font-size: 1.75rem; }
}


/* =========================================================
   FOOTER
   ========================================================= */
.fe-subscribe-wrap { width: 100%; max-width: 240px; }

@media (max-width: 991.98px) {
  .footer { padding: 3rem 0 1.5rem; }
  .footer-title { padding-top: 0; margin-bottom: 0.75rem; }
  .footer-desc { max-width: none; }
  .footer .row > .col-6:has(.fe-subscribe-wrap) {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .fe-subscribe-wrap { max-width: 380px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer .row > .col-6.col-lg-2 {
    flex: 0 0 33.3333%;
    width: 33.3333%;
    max-width: 33.3333%;
  }
  .footer .row > .col-6.col-lg-2:has(.fe-subscribe-wrap) {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .footer .row.mb-5 { margin-bottom: 1.5rem !important; }
  h2.footertitle { font-size: 18px; line-height: 1.45; }
  .footer-logo { height: 42px; }
  .footer-links li { margin-bottom: 0.35rem; }
  .footer-links a { display: inline-block; padding: 0.2rem 0; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-bottom p { margin: 0; }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .navbar-custom .navbar-collapse,
  .navbar-collapse .navbar-nav > .nav-item,
  .navbar-collapse .org-search-icon,
  .navbar-collapse > .btn-white,
  .navbar-collapse .mobile-nav-foot,
  .nav-backdrop,
  .nav-toggle-bar { transition: none !important; }
  .featured-in-track { animation-duration: 60s; }
}
