/* new style responsive */
/* Base: make the section fluid and prevent horizontal overflow */
#parentWapper {
  width: 100%;
}
#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;
}
/* Wrapper for the title area */
.booking-header {
    margin-bottom: 0.75rem;
     text-align: center;
}

/* First line: Unit name */
.booking-unit-name {
    margin: 0;
    font-family: "Avenir Next", "Avenir Next LT Pro", "Nunito Sans", sans-serif;
    font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.6rem);  /* responsive but not huge */
    font-weight: 500;
    line-height: 1.2;
    color: #333;

    /* Prevent tall wrapping if names are long */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Second line: Resort name (smaller, softer) */
.booking-resort-name {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.days30flex {
  text-align: center;
  margin-bottom: 10px;
}
.days30flex > small {
  font-family: 'Raleway';
}
.flex-note-text {
    display: block;          /* allow wrapping & width control */
    text-align: center;      /* center text on each line      */
  
    max-width: 400px;        /* adjust until you like the 2-line break */
    margin: 0.25rem auto 0;  /* centers the block itself */

    line-height: 1.3;
}
/******* flex note  version 2 ******/
/* Container */
.flex-note-promo-attn {
    text-align: center !important;
    width: 90%;
    max-width: 480px;
    margin: 1rem auto 1rem;
    line-height: 1.1;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    background: rgba(213, 75, 134, 0.06);   /* soft pink glow */
     font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Make sure numbers behave like the letters */
    font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Base line style */
.flex-note-promo-attn .flex-note-line {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* First three lines: pink */
.flex-note-top,
.flex-note-main {
  color: #54AFC4;
}
.flex-note-mid {
    color: #D54B86;
}

/* Line 1 */
.flex-note-top {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

/* Line 2 – biggest */
.flex-note-main {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

/* Line 3 – same size as top */
.flex-note-mid {
    font-size: 1.25rem;
    margin-bottom: 0.1rem;
    text-align: center !important;
}

/* Line 4 – blue + slightly smaller */
.flex-note-bottom {
    font-size: 0.85rem;       /* a bit smaller */
    color: #54AFC4;
    margin-bottom: 0.25rem;
    text-align: center !important;
}

/* Disclaimer */
.flex-note-disclaimer {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #4c4c4c;
}

/* Small screens */
@media (max-width: 480px) {
    .flex-note-promo-attn {
        width: 90%;
        padding: 0.6rem 0.25rem;
        
    }
    .flex-note-main {
        font-size: 1.5rem;
    }
}



/***** end flex note *****/

/* ----------------------------------------- */
/* 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; }

/* applying style for calendar */
.tab-pane>#datepicker>.ui-datepicker-inline {
    width: 100% !important;
}

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

/* property details improved by Keith */
.mainInfo {padding: 0px 0px 0px 0px;}
section .main-body {
    padding: 10px 10px 10px 10px;
}

@media screen and (max-width: 460px) {
 .mainInfo {padding: 0px 0px 0px 0px;}
}
@media screen and (max-width: 460px) {
 .banner-images .box img {border-radius: 5px;}
 .banner-images .box:nth-child(even) img {border-radius: 5px;}
.banner-images .box-left .box img {border-radius: 10px;}
 .banner-images .box-left .box img {border-radius: 5px;}
 .banner-images {flex-direction: column;}
 .banner-images .box-left {width: 100%;}
 .banner-images .box-right {width: 100%;}
}

/* no images gallery */
/* Light placeholder “image” */

.banner-placeholder {
    width: 100%;
    margin: 0 20px;
    aspect-ratio: 9 / 1;
    background: linear-gradient(135deg, #f5f7fb, #e8f2f8);
    border-radius: 0.5rem;
    border: 1px dashed rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-placeholder-inner {
    text-align: center;
    padding: 0.75rem 1rem;
    max-width: 80%;
}

/* SVG icon wrapper */
.banner-placeholder-icon {
    margin-bottom: 0.35rem;
    color: #7a90a5; /* icon color via currentColor */
}

/* SVG itself */
.banner-placeholder-house {
    width: 2.5rem;
    height: 2.5rem;
}

/* Title & subtitle (unchanged) */
.banner-placeholder-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f82;
    margin-bottom: 0.1rem;
}

.banner-placeholder-subtitle {
    font-size: 0.8rem;
    color: #8a9bae;
}

/* Optional: match card edges */
.card .banner-placeholder {
    border-radius: 0;
}







