/* ======================================================
   TWILIGHT RESORT
   RV CAMPING
   CLEAN FULL REPLACEMENT
====================================================== */


/* ======================================================
   01. OWNERREZ PAGE
====================================================== */

html:has(main.tr-rv-page),
html:has(main.tr-rv-page) body{
  background:#F5F3E8!important;
  color:#292B27!important;
}

html:has(main.tr-rv-page) #content.container{
  width:100%!important;
  max-width:none!important;

  margin:0!important;

  background:#F5F3E8!important;
}


/* Header offset is handled by Global CSS */

html:has(main.tr-rv-page)
#content > .body-content{
  width:100%!important;
  max-width:none!important;

  margin:0!important;
  padding:0!important;

  background:#F5F3E8!important;
  color:#292B27!important;
}


/* Hide native OwnerRez title */

html:has(main.tr-rv-page)
#content > .body-content > .row:first-child{
  display:none!important;

  margin:0!important;
  padding:0!important;
}


/* ======================================================
   02. PAGE BASE
====================================================== */

.tr-rv-page{
  width:100%;

  margin:0;
  padding:0;

  overflow:hidden;

  background:#F5F3E8;
  color:#292B27;

  font-family:'Alone Kaium',Arial,sans-serif;
}

.tr-rv-page *,
.tr-rv-page *::before,
.tr-rv-page *::after{
  box-sizing:border-box;
}

.tr-rv-page img{
  display:block;
  max-width:100%;
}

.tr-rv-page h1,
.tr-rv-page h2,
.tr-rv-page h3{
  margin:0!important;
  padding:0!important;

  font-family:'Sora',Arial,sans-serif!important;
  font-weight:600!important;
  letter-spacing:-.035em!important;
}

.tr-rv-page p{
  margin:0;
}

.tr-rv-inner{
  width:calc(100% - 96px);
  max-width:1320px;

  margin:0 auto;
}

.tr-rv-kicker{
  margin:0 0 14px;

  color:#B79A62;

  font-family:'Sora',Arial,sans-serif!important;
  font-size:11px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:.17em;

  text-transform:uppercase;
}

.tr-rv-kicker-light{
  color:#CDBA8C;
}


/* ======================================================
   03. HERO
====================================================== */

.tr-rv-hero{
  position:relative;

  width:calc(100% - 48px);
  max-width:1480px;

  height:570px;

  margin:24px auto 0;

  overflow:hidden;

  background:#0C1713;

  border-radius:30px;
}


/*
   Strong selector intentionally used here because
   OwnerRez/global image rules can otherwise override height.
*/

.tr-rv-hero > .tr-rv-hero-image{
  position:absolute!important;
  inset:0!important;

  display:block!important;

  width:100%!important;
  height:100%!important;

  min-width:100%!important;
  min-height:100%!important;

  max-width:none!important;
  max-height:none!important;

  object-fit:cover!important;

  /* Less sky, more campground */
  object-position:center 72%!important;
}

.tr-rv-hero-shade{
  position:absolute;
  inset:0;
  z-index:1;

  background:
    linear-gradient(
      90deg,
      rgba(9,20,16,.91) 0%,
      rgba(9,20,16,.72) 34%,
      rgba(9,20,16,.35) 60%,
      rgba(9,20,16,.08) 100%
    );
}

.tr-rv-hero-content{
  position:absolute;
  z-index:2;

  left:max(48px,calc((100% - 1320px) / 2));
  bottom:56px;

  width:min(640px,calc(100% - 96px));
}

.tr-rv-hero .tr-rv-kicker{
  color:#CDBA8C!important;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-hero h1{
  max-width:630px;

  color:#FFFFFF!important;

  font-size:clamp(50px,4.6vw,70px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}

.tr-rv-hero p{
  max-width:560px;

  margin-top:18px;

  color:rgba(255,255,255,.87)!important;

  font-size:18px;
  line-height:1.58;
}

.tr-rv-hero-actions{
  display:flex;
  flex-wrap:wrap;

  gap:10px;

  margin-top:24px;
}


/* ======================================================
   04. BUTTONS
====================================================== */

.tr-rv-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:50px;

  padding:0 24px;

  border:1px solid transparent;
  border-radius:999px;

  font-family:'Sora',Arial,sans-serif!important;
  font-size:12px;
  font-weight:600;
  line-height:1;

  text-decoration:none!important;
  white-space:nowrap;
}

.tr-rv-btn-primary{
  background:#B79A62;
  border-color:#B79A62;

  color:#171714!important;
}

.tr-rv-btn-primary:hover,
.tr-rv-btn-primary:focus{
  background:#9E8352;
  border-color:#9E8352;

  color:#171714!important;
}

.tr-rv-btn-outline{
  background:rgba(10,20,16,.12);

  border-color:rgba(255,255,255,.46);

  color:#FFFFFF!important;
}

.tr-rv-btn-outline:hover,
.tr-rv-btn-outline:focus{
  background:#FFFFFF;
  border-color:#FFFFFF;

  color:#173329!important;
}

.tr-rv-btn-dark{
  background:#173329;
  border-color:#173329;

  color:#FFFFFF!important;
}

.tr-rv-btn-dark:hover,
.tr-rv-btn-dark:focus{
  background:#B79A62;
  border-color:#B79A62;

  color:#171714!important;
}

.tr-rv-btn-secondary{
  background:transparent;

  border-color:#A9AA9E;

  color:#173329!important;
}

.tr-rv-btn-secondary:hover,
.tr-rv-btn-secondary:focus{
  background:#173329;
  border-color:#173329;

  color:#FFFFFF!important;
}


.tr-rv-btn:focus-visible{
  outline:2px solid #B79A62!important;
  outline-offset:3px!important;
}

.tr-rv-btn-primary:focus-visible{
  background:#9E8352!important;
  border-color:#9E8352!important;
  color:#171714!important;
}

.tr-rv-btn-outline:focus-visible{
  background:#FFFFFF!important;
  border-color:#FFFFFF!important;
  color:#173329!important;
}

.tr-rv-btn-dark:focus-visible,
.tr-rv-btn-secondary:focus-visible{
  background:#173329!important;
  border-color:#173329!important;
  color:#FFFFFF!important;
}


/* ======================================================
   05. INTRO
====================================================== */

.tr-rv-intro{
  padding:76px 0 70px;
}

.tr-rv-intro-layout{
  display:grid;

  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);

  gap:76px;
  align-items:start;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-intro h2{
  max-width:570px;

  color:#173329!important;

  font-size:clamp(40px,3.8vw,56px)!important;
  line-height:1.07!important;
}

.tr-rv-intro-copy{
  max-width:590px;

  padding-top:23px;
}

.tr-rv-intro-copy p{
  color:#555B54;

  font-size:17px;
  line-height:1.7;
}

.tr-rv-intro-copy p + p{
  margin-top:14px;
}


/* ======================================================
   06. FEATURE SPLIT
====================================================== */

.tr-rv-feature{
  width:calc(100% - 48px);
  max-width:1480px;

  margin:0 auto;

  overflow:hidden;

  background:#FAF8F1;

  border:1px solid #E4DFD2;
  border-radius:30px;
}

.tr-rv-feature-grid{
  display:grid;

  grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);

  min-height:500px;
}

.tr-rv-feature-media{
  min-height:500px;

  overflow:hidden;

  background:#DDD9CC;
}

.tr-rv-feature-media img{
  width:100%!important;
  height:100%!important;

  max-width:none!important;

  object-fit:cover!important;
  object-position:center!important;
}

.tr-rv-feature-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:56px 60px;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-feature-copy h2{
  max-width:500px;

  color:#173329!important;

  font-size:clamp(38px,3.4vw,51px)!important;
  line-height:1.07!important;
}

.tr-rv-feature-copy p{
  max-width:510px;

  margin-top:18px;

  color:#555B54;

  font-size:16.5px;
  line-height:1.7;
}

.tr-rv-text-link{
  display:inline-flex;
  align-items:center;

  gap:10px;

  width:max-content;

  margin-top:25px;

  color:#173329!important;

  font-family:'Sora',Arial,sans-serif!important;
  font-size:12px;
  font-weight:600;

  text-decoration:none!important;
}

.tr-rv-text-link span{
  color:#B79A62;
  font-size:18px;
}


/* ======================================================
   07. CAMPGROUND GALLERY
====================================================== */

.tr-rv-campground{
  padding:82px 0 86px;
}

.tr-rv-section-head{
  display:grid;

  grid-template-columns:minmax(0,1fr) minmax(320px,.62fr);

  gap:70px;
  align-items:end;

  margin-bottom:34px;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-section-head h2{
  max-width:670px;

  color:#173329!important;

  font-size:clamp(38px,3.5vw,52px)!important;
  line-height:1.07!important;
}

.tr-rv-section-head > p{
  padding-bottom:4px;

  color:#6B7068;

  font-size:15.5px;
  line-height:1.65;
}


/* CLEAN 3-CARD STRUCTURE */

.tr-rv-gallery{
  display:grid;

  grid-template-columns:repeat(3,minmax(0,1fr));

  gap:16px;
}

.tr-rv-gallery-card{
  overflow:hidden;

  background:#FAF8F1;

  border:1px solid #DDD9CC;
  border-radius:18px;
}


/*
   Images are NOT forced into a fixed-height crop.
   Their complete composition stays visible.
*/

.tr-rv-gallery-media{
  width:100%;

  overflow:hidden;

  background:#DDD9CC;
}

.tr-rv-gallery-media img{
  display:block!important;

  width:100%!important;
  height:auto!important;

  max-width:100%!important;
  max-height:none!important;

  object-fit:contain!important;
}


/* NO bottom overlay, NO grey band */

.tr-rv-gallery-copy{
  padding:22px 23px 24px;
}

.tr-rv-gallery-copy > span{
  display:block;

  margin-bottom:17px;

  color:#B79A62;

  font-family:'Sora',Arial,sans-serif!important;
  font-size:10px;
  font-weight:600;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-gallery-copy h3{
  color:#173329!important;

  font-size:21px!important;
  line-height:1.18!important;
}

.tr-rv-gallery-copy p{
  margin-top:10px;

  color:#62665F;

  font-size:14.5px;
  line-height:1.62;
}


/* ======================================================
   08. SHARED FACILITIES
====================================================== */

.tr-rv-facilities{
  padding:0 0 86px;
}

.tr-rv-facilities-panel{
  display:grid;

  grid-template-columns:64px minmax(0,1fr);
  gap:24px;
  align-items:start;

  padding:34px 38px;

  background:#E8EADC;

  border:1px solid #D5D7C8;
  border-radius:22px;
}

.tr-rv-facilities-icon{
  display:flex;
  align-items:center;
  justify-content:center;

  width:58px;
  height:58px;

  border:1px solid #B79A62;
  border-radius:50%;

  color:#9E8352;
}

.tr-rv-facilities-icon svg{
  width:26px;
  height:26px;

  fill:none;
  stroke:currentColor;

  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.tr-rv-facilities-copy{
  max-width:900px;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-facilities h2{
  color:#173329!important;

  font-size:clamp(32px,2.7vw,42px)!important;
  line-height:1.08!important;
}

.tr-rv-facilities p{
  max-width:820px;

  margin-top:13px;

  color:#5D625C;

  font-size:16px;
  line-height:1.68;
}


/* ======================================================
   09. WHY TWILIGHT
====================================================== */

.tr-rv-why{
  width:calc(100% - 48px);
  max-width:1480px;

  margin:0 auto;

  padding:68px 0;

  overflow:hidden;

  background:#173329;

  border:1px solid rgba(183,154,98,.24);
  border-radius:30px;
}

.tr-rv-why-layout{
  display:grid;

  grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);

  gap:86px;
  align-items:start;
}

.tr-rv-why-heading{
  max-width:500px;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-why-heading h2{
  color:#FFFFFF!important;

  font-size:clamp(40px,3.7vw,55px)!important;
  line-height:1.06!important;
}

.tr-rv-why-heading > p{
  max-width:430px;

  margin-top:18px;

  color:rgba(255,255,255,.68)!important;

  font-size:15.5px;
  line-height:1.68;
}


/* Editorial list instead of flat cards */

.tr-rv-why-list{
  border-top:1px solid rgba(255,255,255,.16);
}

.tr-rv-why-item{
  display:grid;

  grid-template-columns:46px minmax(0,1fr);

  gap:20px;

  padding:25px 0;

  border-bottom:1px solid rgba(255,255,255,.16);
}

.tr-rv-why-item > span{
  padding-top:2px;

  color:#D1B373;

  font-family:'Sora',Arial,sans-serif!important;
  font-size:11px;
  font-weight:600;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-why-item h3{
  color:#FFFFFF!important;

  font-size:19px!important;
  line-height:1.2!important;
}

.tr-rv-why-item p{
  max-width:570px;

  margin-top:8px;

  color:rgba(255,255,255,.66)!important;

  font-size:14.5px;
  line-height:1.65;
}

.tr-rv-why-item a{
  display:inline-flex;
  align-items:center;

  gap:8px;

  margin-top:12px;

  color:#D1B373!important;

  font-family:'Sora',Arial,sans-serif!important;
  font-size:11px;
  font-weight:600;

  text-decoration:none!important;
}


/* ======================================================
   10. CTA
====================================================== */

.tr-rv-cta{
  padding:26px 0 40px;
}

.tr-rv-cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:54px;

  padding:43px 46px;

  background:#E8EADC;

  border:1px solid #D5D7C8;
  border-radius:22px;
}

.tr-rv-cta-box > div:first-child{
  max-width:720px;
}

html:has(main.tr-rv-page)
#content .tr-rv-page
.tr-rv-cta h2{
  max-width:680px;

  color:#173329!important;

  font-size:clamp(34px,3vw,46px)!important;
  line-height:1.07!important;
}

.tr-rv-cta p{
  margin-top:13px;

  color:#5D625C;

  font-size:15.5px;
  line-height:1.6;
}

.tr-rv-cta-actions{
  display:flex;
  flex:0 0 auto;
  flex-wrap:wrap;

  gap:10px;
}


/* ======================================================
   11. TABLET
====================================================== */

@media(max-width:1100px){

  .tr-rv-inner{
    width:calc(100% - 64px);
  }

  .tr-rv-hero,
  .tr-rv-feature,
  .tr-rv-why{
    width:calc(100% - 32px);
  }

  .tr-rv-intro-layout{
    gap:52px;
  }

  .tr-rv-feature-grid{
    grid-template-columns:1fr 1fr;
  }

  .tr-rv-feature-copy{
    padding:44px;
  }

  .tr-rv-section-head{
    gap:48px;
  }

  .tr-rv-gallery{
    gap:12px;
  }

  .tr-rv-why-layout{
    gap:52px;
  }

  .tr-rv-facilities-panel{
    padding:30px 32px;
  }

  .tr-rv-cta-box{
    align-items:flex-start;
    flex-direction:column;

    gap:28px;
  }

}


/* ======================================================
   12. MOBILE
====================================================== */

@media(max-width:760px){

  .tr-rv-inner{
    width:calc(100% - 40px);
  }


  /* HERO */

  .tr-rv-hero,
  .tr-rv-feature,
  .tr-rv-why{
    width:calc(100% - 20px);

    border-radius:22px;
  }

  .tr-rv-hero{
    height:555px;

    margin-top:10px;
  }


  /*
     Force image to fill the ENTIRE hero.
     Fixes the dark empty bottom section.
  */

  .tr-rv-hero > .tr-rv-hero-image{
    position:absolute!important;
    inset:0!important;

    width:100%!important;
    height:100%!important;

    min-width:100%!important;
    min-height:100%!important;

    max-width:none!important;
    max-height:none!important;

    object-fit:cover!important;

    /*
       Keep campground visible on portrait crop.
       Slightly right and lower than centre.
    */
    object-position:58% 70%!important;
  }

  .tr-rv-hero-shade{
    background:
      linear-gradient(
        0deg,
        rgba(8,19,15,.92) 0%,
        rgba(8,19,15,.72) 50%,
        rgba(8,19,15,.24) 78%,
        rgba(8,19,15,.08) 100%
      );
  }

  .tr-rv-hero-content{
    left:24px;
    bottom:30px;

    width:calc(100% - 48px);
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-hero h1{
    max-width:430px;

    font-size:41px!important;
    line-height:1.04!important;
  }

  .tr-rv-hero p{
    max-width:440px;

    margin-top:15px;

    font-size:15.5px;
    line-height:1.56;
  }

  .tr-rv-hero-actions{
    margin-top:20px;
  }

  .tr-rv-btn{
    min-height:47px;
    padding:0 20px;
  }


  /* INTRO */

  .tr-rv-intro{
    padding:58px 0 54px;
  }

  .tr-rv-intro-layout{
    grid-template-columns:1fr;

    gap:23px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-intro h2{
    font-size:37px!important;
  }

  .tr-rv-intro-copy{
    padding-top:0;
  }

  .tr-rv-intro-copy p{
    font-size:16.5px;
  }


  /* FEATURE */

  .tr-rv-feature-grid{
    display:block;

    min-height:0;
  }

  .tr-rv-feature-media{
    min-height:0;
    height:300px;
  }

  .tr-rv-feature-copy{
    padding:34px 24px 38px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-feature-copy h2{
    font-size:36px!important;
  }

  .tr-rv-feature-copy p{
    font-size:16px;
  }


  /* GALLERY */

  .tr-rv-campground{
    padding:60px 0 64px;
  }

  .tr-rv-section-head{
    grid-template-columns:1fr;

    gap:17px;

    margin-bottom:26px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-section-head h2{
    font-size:37px!important;
  }

  .tr-rv-section-head > p{
    padding:0;
  }

  .tr-rv-gallery{
    grid-template-columns:1fr;

    gap:12px;
  }

  .tr-rv-gallery-copy{
    padding:20px 21px 23px;
  }


  /* FACILITIES */

  .tr-rv-facilities{
    padding:0 0 64px;
  }

  .tr-rv-facilities-panel{
    grid-template-columns:48px minmax(0,1fr);

    gap:16px;

    padding:26px 22px;

    border-radius:18px;
  }

  .tr-rv-facilities-icon{
    width:46px;
    height:46px;
  }

  .tr-rv-facilities-icon svg{
    width:21px;
    height:21px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-facilities h2{
    font-size:32px!important;
  }

  .tr-rv-facilities p{
    font-size:15.5px;
  }


  /* WHY */

  .tr-rv-why{
    padding:44px 0;
  }

  .tr-rv-why-layout{
    grid-template-columns:1fr;

    gap:30px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-why-heading h2{
    font-size:37px!important;
  }


  /* CTA */

  .tr-rv-cta{
    padding:20px 0;
  }

  .tr-rv-cta-box{
    display:block;

    padding:30px 23px;

    border-radius:18px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-cta h2{
    font-size:34px!important;
  }

  .tr-rv-cta-actions{
    flex-direction:column;

    width:100%;

    margin-top:24px;
  }

  .tr-rv-cta-actions .tr-rv-btn{
    width:100%;
  }

}


/* ======================================================
   13. SMALL MOBILE
====================================================== */

@media(max-width:480px){

  .tr-rv-inner{
    width:calc(100% - 28px);
  }

  .tr-rv-hero{
    height:570px;
  }

  .tr-rv-hero > .tr-rv-hero-image{
    object-position:60% 72%!important;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-hero h1{
    font-size:37px!important;
  }

  .tr-rv-hero-actions{
    width:100%;
  }

  .tr-rv-hero-actions .tr-rv-btn{
    flex:1 1 145px;
  }

  .tr-rv-feature-media{
    height:260px;
  }

  .tr-rv-facilities-panel{
    grid-template-columns:1fr;

    gap:14px;
  }

  .tr-rv-facilities-icon{
    margin-bottom:2px;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-why-heading h2{
    font-size:34px!important;
  }

  html:has(main.tr-rv-page)
  #content .tr-rv-page
  .tr-rv-cta h2{
    font-size:31px!important;
  }

}