/* new style responsive */
/* Base: make the section fluid and prevent horizontal overflow */
#fvhSectionParent {
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;   /* never wider than the viewport */
  margin: 0 auto;
  padding: 1rem;      /* tweak as needed */
}

/* Make all direct children respect the parent width */
#fvhSectionParent > * {
  box-sizing: border-box;
  max-width: 100%;
}

/* Images, videos, iframes: always scale to container */
#fvhSectionParent img,
#fvhSectionParent video,
#fvhSectionParent iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive video wrapper inside the FVH custom section */
#fvhSectionParent .fvh-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;   /* 16:9 aspect ratio (change if needed) */
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;         /* optional spacing */
}

#fvhSectionParent .fvh-embed iframe {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  border: 0;
}

#fvhSectionParent iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;  /* assumes YouTube-style 16:9 embeds */
  height: auto;
  border: 0;
}

/* ----------------------------------------- */
/* Mobile / small screens  (phones & small tablets) */
/* ----------------------------------------- */
@media (max-width: 767.98px) {
  #fvhSectionParent {
    padding: 0.75rem 0.1rem;   /* a bit tighter on small screens */
  }

  /* Force children to stack and fill the width */
  #fvhSectionParent > * {
    width: 100%;
    max-width: 100%;
    float: none;   /* just in case something uses floats */
  }
}

/* ----------------------------------------- */
/* Medium+ screens (tablets, desktops)       */
/* ----------------------------------------- */
@media (min-width: 768px) {
  #fvhSectionParent {
    padding: 1.5rem 0.5rem;
  }
}

/* end new style responsive */

/* ============================
   DETAIL AREA (title + 80/20 split)
   Children of .detail-container:
   - .page-title-container (top row)
   - .property-info-container (left)
   - .book-container (right)
   ============================ */
:root{
  --maxw: 1200px;
  --gap: clamp(12px, 2vw, 24px);
  --pad: clamp(12px, 3vw, 28px);
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.06);

  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;

  /* Sticky offset so it clears a fixed header if you have one */
  --sticky-offset: 20px;
}
.detail-container{
  display: grid;
  grid-template-columns: 8fr 2fr;          /* 80% / 20% on desktop */
  grid-template-areas:
    "title title"
    "info  book";
  gap: var(--gap);
}

/* Explicit area placement */
.page-title-container{ grid-area: title; }
.property-info-container{ grid-area: info; display: grid; gap: var(--gap); }
.book-container{
  grid-area: book;
  position: sticky;           /* sticky only on desktop; disabled on mobile below */
  top: var(--sticky-offset);
  align-self: start;
  height: fit-content;
}

/* Card styling reused by child sections */
.card{
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: var(--shadow);
}

/* Title sizes */
.page-title-container .title{ font-size: clamp(24px, 3.4vw, 42px); margin: 0; }
.h{ font-size: clamp(18px, 2.4vw, 28px); }

h1#staticBackdropLabelNightlyRates, #staticBackdropLabelNightlyRates {
    color: #6c757d;
}
/* Map iframe */
.map-embed iframe{ width: 100%; min-height: 340px; border: 0; border-radius: 12px; }

/* ---------- Mobile stacking (book at the end) ---------- */
@media (max-width: 1024px){
  .detail-container{
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "info"
      "book";                 /* book-container placed at the end on mobile */
  }
  .book-container{
    position: static;         /* no sticky on mobile */
    width: 100%;
  }
}

/* ============================
   Bootstrap underline tabs (inside .additional-detail)
   ============================ */
.additional-detail .nav-underline .nav-link{
  padding-inline: clamp(6px, 1.2vw, 12px);
  color: var(--muted);
}
.additional-detail .nav-underline .nav-link.active,
.additional-detail .nav-underline .nav-link:focus{
  color: var(--ink);
}
.additional-detail .nav-underline{
  --bs-nav-underline-border-width: 2px;
  --bs-nav-underline-link-active-color: var(--ink);
  --bs-nav-underline-border-color: var(--line);
}

/* Remove background fill on hover/focus for underline tabs */
.additional-detail .nav-underline .nav-link,
.additional-detail .nav-underline .nav-link:hover,
.additional-detail .nav-underline .nav-link:focus,
.additional-detail .nav-underline .nav-link:focus-visible {
  background-color: transparent !important;
  box-shadow: none !important;
}
/* Keep a visible focus using the underline (a11y) */
.additional-detail .nav-underline .nav-link:focus-visible {
  outline: none;
  border-bottom-color: currentColor;
  border-bottom-width: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* REVIEWS */
/* ---- Tokens (tweak to match your theme) ---- */
/* ===== Guest Reviews (mobile-first) ===== */
:root{
  --rv-bg:#fff; --rv-ink:#0f172a; --rv-muted:#475569; --rv-line:#e5e7eb;
  --rv-shadow:0 8px 24px rgba(0,0,0,.06);
  --rv-gap:clamp(10px,2.5vw,16px);
  --rv-pad:clamp(12px,3vw,18px);
  --rv-radius:14px;
}

/* wrapper + list */
.reviews{ display:grid; gap:var(--rv-gap); }
.reviews h2{ margin:0; font-size:clamp(18px,4.5vw,22px); }
.review-list{ list-style:none; padding:0; margin:0; display:grid; gap:var(--rv-gap); }

/* card */
.review{
  background:var(--rv-bg); border:1px solid var(--rv-line); border-radius:var(--rv-radius);
  padding:var(--rv-pad); box-shadow:var(--rv-shadow); display:grid; gap:8px;
}

/* header */
.review__head{ display:grid; grid-template-columns:1fr; gap:6px; align-items:center; }
.review__meta{ display:flex; gap:8px 12px; align-items:baseline; flex-wrap:wrap; }
.review__author{ font-weight:600; }
.review__date{ color:var(--rv-muted); font-size:.95rem; }

/* title + text */
.review__title{ margin:2px 0 0; font-size:1rem; }
.review__text{ margin:2px 0 0; color:var(--rv-ink); line-height:1.55; }

/* clamp for mobile long comments (JS toggles this class) */
.review__text--clamped{
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}
.review__toggle{
  appearance:none; border:0; background:none; color:#2563eb; padding:2px 0; font-weight:600; cursor:pointer;
}

/* ===== Single-SVG Rating (bulletproof; no wrapping possible) ===== */
.rating{
  --size:20px;              /* star height (mobile) */
  display:inline-block; vertical-align:middle; line-height:0;
}
.rating svg{ height:var(--size); width:auto; display:block; }

/* footer */
.reviews__footer{
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  border:1px solid var(--rv-line); border-radius:12px; padding:10px;
  background:#fff; box-shadow:var(--rv-shadow);
}
.reviews__more{
  appearance:none; border:1px solid var(--rv-line); background:#fff; color:var(--rv-ink);
  padding:10px 14px; border-radius:10px; font-weight:600; cursor:pointer;
}
.reviews__more:hover{ background:#f9fafb; }

/* sticky footer only for the mobile block when enabled */
.reviews--mobile[data-sticky-footer="true"] .reviews__footer{
  position:sticky; bottom:0; background:rgba(255,255,255,.92); backdrop-filter:saturate(150%) blur(6px);
}

/* Wider screens */
@media (min-width:600px){
  .review__head{ grid-template-columns:1fr auto; }
  .review__title{ font-size:1.05rem; }
  .rating{ --size:22px; }
}

/* Desktop block: hide any Read more buttons (JS won’t add them, but this is defensive) */
.reviews--desktop .review__toggle{ display:none !important; }
.reviews--desktop .review__text{ -webkit-line-clamp:unset; display:block; overflow:visible; }

#fvh-mobile-accordion.container {
    width: 100%;
    min-width: 600px !important;
}
/* Let accordion bodies grow when content is injected */
.accordion .accordion-body { overflow: visible; }


section .main-body {
    padding: 10px 20px 10px 10px;
}
/* applying style for calendar */
.tab-pane>#datepicker>.ui-datepicker-inline {
    width: 100% !important;
}

table.ui-datepicker-calendar {
    border: 0;
}






