/* ======================================================
   TWILIGHT RESORT
   FAQ PAGE
   FULL CLEAN REPLACEMENT
====================================================== */


/* ======================================================
   01. OWNERREZ RESET
====================================================== */

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


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

  margin:0!important;

  background:#F5F3E8!important;

  overflow:visible!important;
}


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

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

  background:#F5F3E8!important;

  overflow:visible!important;
}


/* Hide OwnerRez native title */

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

  width:0!important;
  height:0!important;

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

  overflow:hidden!important;
}


html:has(main.tr-faq-page)
#content h1.page-header,
html:has(main.tr-faq-page)
#content p.lead{
  display:none!important;
}


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

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

  margin:0;
  padding:0;

  background:#F5F3E8;
  color:#292B27;

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


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


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

  font-family:'Sora',Arial,sans-serif!important;

  font-weight:600!important;

  letter-spacing:-.04em!important;
}


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


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

  margin:0 auto;
}


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

  color:#B79A62!important;

  font-family:'Sora',Arial,sans-serif!important;

  font-size:11px;
  line-height:1.3;

  font-weight:600;

  letter-spacing:.17em;

  text-transform:uppercase;
}


/* ======================================================
   03. FAQ LAYOUT
====================================================== */

.tr-faq-intro{
  padding:76px 0 84px;
}


.tr-faq-intro-grid{
  display:grid;

  grid-template-columns:
    minmax(300px,.72fr)
    minmax(0,1.28fr);

  gap:100px;

  align-items:stretch;
}


/* ======================================================
   04. LEFT STICKY INTRO
====================================================== */

.tr-faq-intro-copy{
  position:sticky;

  top:120px;

  align-self:start;

  max-width:470px;

  padding-top:10px;
}


html:has(main.tr-faq-page)
#content
.tr-faq-page
.tr-faq-intro-copy h1{
  max-width:470px;

  color:#173329!important;
  -webkit-text-fill-color:#173329!important;

  background:none!important;

  font-size:clamp(42px,4vw,58px)!important;
  line-height:1.04!important;

  letter-spacing:-.045em!important;
}


.tr-faq-intro-copy > p{
  max-width:420px;

  margin-top:20px;

  color:#62675F;

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


.tr-faq-intro-links{
  display:flex;

  flex-wrap:wrap;

  gap:20px;

  margin-top:28px;

  padding-top:24px;

  border-top:1px solid #D0CCBF;
}


.tr-faq-small-link{
  display:inline-flex;

  align-items:center;

  gap:8px;

  color:#173329!important;

  font-family:'Sora',Arial,sans-serif!important;

  font-size:11px;
  font-weight:600;

  text-decoration:none!important;
}


.tr-faq-small-link span{
  color:#B79A62;

  font-size:17px;
}


/* ======================================================
   05. FAQ LIST
====================================================== */

.tr-faq-list{
  min-width:0;

  border-top:1px solid #CFCABD;
}


.tr-faq-item{
  margin:0;

  border-bottom:1px solid #CFCABD;
}


.tr-faq-item summary{
  display:grid;

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

  gap:18px;

  align-items:center;

  min-height:104px;

  padding:22px 4px;

  cursor:pointer;

  list-style:none;
}


.tr-faq-item summary::-webkit-details-marker{
  display:none;
}


.tr-faq-item summary::marker{
  display:none;
}


/* ======================================================
   ICON
====================================================== */

.tr-faq-question-icon{
  display:flex;

  align-items:center;
  justify-content:center;

  width:40px;
  height:40px;

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


.tr-faq-question-icon svg{
  width:19px;
  height:19px;

  fill:none;

  stroke:#9E8352;

  stroke-width:1.6;

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


/* ======================================================
   QUESTION
====================================================== */

html:has(main.tr-faq-page)
#content
.tr-faq-page
.tr-faq-question{
  display:block!important;

  width:100%!important;

  padding-right:20px!important;

  color:#173329!important;
  -webkit-text-fill-color:#173329!important;

  font-family:'Sora',Arial,sans-serif!important;

  font-size:20px!important;
  line-height:1.35!important;

  font-weight:600!important;

  letter-spacing:-.025em!important;

  word-break:normal!important;
  overflow-wrap:normal!important;
}


/* ======================================================
   PLUS / MINUS
====================================================== */

.tr-faq-toggle{
  position:relative;

  display:block;

  width:24px;
  height:24px;
}


.tr-faq-toggle::before,
.tr-faq-toggle::after{
  content:"";

  position:absolute;

  top:50%;
  left:50%;

  width:15px;
  height:1.5px;

  background:#173329;

  transform:translate(-50%,-50%);

  transition:transform .2s ease;
}


.tr-faq-toggle::after{
  transform:
    translate(-50%,-50%)
    rotate(90deg);
}


.tr-faq-item[open]
.tr-faq-toggle::after{
  transform:
    translate(-50%,-50%)
    rotate(0deg);
}


/* ======================================================
   ANSWER
====================================================== */

.tr-faq-answer{
  padding:
    0 58px 27px 60px;
}


.tr-faq-answer p{
  max-width:720px;

  color:#62675F;

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


.tr-faq-answer p + p{
  margin-top:12px;
}


/* answer links */

.tr-faq-answer a{
  color:#173329!important;

  font-weight:600;

  text-decoration:none!important;

  border-bottom:1px solid rgba(183,154,98,.65);

  transition:
    color .18s ease,
    border-color .18s ease;
}


.tr-faq-answer a:hover,
.tr-faq-answer a:focus{
  color:#9E8352!important;

  border-color:#9E8352;

  text-decoration:none!important;
}


/* subtle active state */

.tr-faq-item[open]
summary{
  padding-bottom:15px;
}


.tr-faq-item[open]
.tr-faq-question{
  color:#173329!important;
}


/* ======================================================
   06. FINAL CTA
====================================================== */

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


.tr-faq-cta-panel{
  display:grid;

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

  gap:54px;

  align-items:center;

  padding:46px 50px;

  background:#E8EADC;

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


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


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

  color:#173329!important;
  -webkit-text-fill-color:#173329!important;

  font-size:clamp(37px,3.3vw,48px)!important;
  line-height:1.05!important;
}


.tr-faq-cta p{
  max-width:600px;

  margin-top:14px;

  color:#5D625C;

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


.tr-faq-cta-actions{
  display:flex;

  flex-wrap:wrap;

  gap:10px;
}


/* ======================================================
   07. BUTTONS
====================================================== */

.tr-faq-btn{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:49px;

  padding:0 23px;

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

  font-family:'Sora',Arial,sans-serif!important;

  font-size:12px;
  line-height:1;

  font-weight:600;

  text-decoration:none!important;
}


.tr-faq-btn-primary{
  background:#173329;

  border-color:#173329;

  color:#FFFFFF!important;
}


.tr-faq-btn-primary:hover,
.tr-faq-btn-primary:focus{
  background:#B79A62;

  border-color:#B79A62;

  color:#171714!important;

  text-decoration:none!important;
}


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

  border-color:#173329;

  color:#173329!important;
}


.tr-faq-btn-secondary:hover,
.tr-faq-btn-secondary:focus{
  background:#173329;

  color:#FFFFFF!important;

  text-decoration:none!important;
}


/* ======================================================
   08. TABLET
====================================================== */

@media(max-width:1100px){

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


  .tr-faq-intro-grid{
    grid-template-columns:
      minmax(270px,.7fr)
      minmax(0,1.3fr);

    gap:60px;
  }


  html:has(main.tr-faq-page)
  #content
  .tr-faq-page
  .tr-faq-question{
    font-size:18px!important;
  }

}


/* ======================================================
   09. MOBILE
====================================================== */

@media(max-width:760px){

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


  .tr-faq-intro{
    padding:56px 0 60px;
  }


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

    gap:42px;
  }


  .tr-faq-intro-copy{
    position:static;

    max-width:none;

    padding-top:0;
  }


  html:has(main.tr-faq-page)
  #content
  .tr-faq-page
  .tr-faq-intro-copy h1{
    max-width:540px;

    font-size:38px!important;
    line-height:1.05!important;
  }


  .tr-faq-intro-copy > p{
    max-width:540px;

    font-size:15.5px;
  }


  .tr-faq-item summary{
    grid-template-columns:
      38px minmax(0,1fr) 24px;

    gap:13px;

    min-height:92px;

    padding:19px 0;
  }


  .tr-faq-question-icon{
    width:36px;
    height:36px;
  }


  .tr-faq-question-icon svg{
    width:17px;
    height:17px;
  }


  html:has(main.tr-faq-page)
  #content
  .tr-faq-page
  .tr-faq-question{
    padding-right:4px!important;

    font-size:17px!important;
    line-height:1.35!important;
  }


  .tr-faq-answer{
    padding:
      0 37px 23px 51px;
  }


  .tr-faq-answer p{
    font-size:15.5px;
  }


  /* CTA */

  .tr-faq-cta{
    padding-bottom:20px;
  }


  .tr-faq-cta-panel{
    grid-template-columns:1fr;

    gap:25px;

    padding:31px 24px;

    border-radius:18px;
  }


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


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

    width:100%;
  }


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

}


/* ======================================================
   10. SMALL MOBILE
====================================================== */

@media(max-width:480px){

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


  html:has(main.tr-faq-page)
  #content
  .tr-faq-page
  .tr-faq-intro-copy h1{
    font-size:34px!important;
  }


  .tr-faq-item summary{
    grid-template-columns:
      34px minmax(0,1fr) 22px;

    gap:11px;
  }


  .tr-faq-question-icon{
    width:32px;
    height:32px;
  }


  html:has(main.tr-faq-page)
  #content
  .tr-faq-page
  .tr-faq-question{
    font-size:16px!important;
  }


  .tr-faq-answer{
    padding:
      0 28px 22px 45px;
  }


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

}