/* =========================================================
   Rerollzone FAQ shortcode
========================================================= */

.gb-faq-page{
  --gb-faq-text: #111827;
  --gb-faq-muted: #6b7280;
  --gb-faq-border-soft: rgba(17, 24, 39, 0.1);
  --gb-faq-focus: rgba(171, 142, 197, 0.35);

  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  color: var(--gb-faq-text);
  font-family: var(--gb-font, "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
}

.gb-faq-section-title{
  margin: 42px 0 16px !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: var(--gb-faq-text) !important;
}

.gb-faq-group{
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
}

.gb-faq-item{
  border-bottom: 1px solid var(--gb-faq-border-soft);
  background: #fff;
}

.gb-faq-question{
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--gb-faq-text) !important;
  box-shadow: none !important;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.gb-faq-question:hover,
.gb-faq-question:active{
  background: transparent !important;
  color: var(--gb-faq-text) !important;
}

.gb-faq-question:focus{
  outline: none !important;
  box-shadow: none !important;
}

.gb-faq-question:focus-visible{
  outline: 2px solid var(--gb-faq-focus) !important;
  outline-offset: 3px;
}

.gb-faq-lefticon{
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gb-faq-text);
  opacity: 0.85;
}

.gb-faq-lefticon svg{
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.gb-faq-title{
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--gb-faq-text);
}

.gb-faq-chevron{
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gb-faq-text);
  opacity: 0.75;
  transition: transform 180ms ease;
}

.gb-faq-chevron svg{
  width: 20px;
  height: 20px;
  display: block;
}

.gb-faq-item.is-open .gb-faq-chevron{
  transform: rotate(180deg);
}

.gb-faq-answer{
  padding: 0 0 18px 34px;
  color: var(--gb-faq-muted);
  font-size: 15px;
  line-height: 1.65;
}

.gb-faq-answer[hidden]{
  display: none !important;
}

.gb-faq-answer p{
  margin: 0 0 12px !important;
  line-height: 1.65 !important;
}

.gb-faq-answer p:last-child{
  margin-bottom: 0 !important;
}

.gb-faq-answer ul,
.gb-faq-answer ol{
  margin: 0 0 0 18px !important;
  padding: 0 !important;
}

.gb-faq-answer li{
  margin: 0 0 7px !important;
  padding: 0 !important;
  line-height: 1.55;
}

.gb-faq-answer li:last-child{
  margin-bottom: 0 !important;
}

.gb-faq-contact{
  margin-top: 28px;
}

@media (max-width: 749px){
  .gb-faq-page{
    max-width: 100%;
  }

  .gb-faq-question{
    grid-template-columns: 20px 1fr 18px;
    gap: 10px;
    padding: 16px 0;
  }

  .gb-faq-title{
    font-size: 15px;
  }

  .gb-faq-answer{
    padding-left: 30px;
    font-size: 14px;
  }
}

/* Hide default page title/header on FAQs page */
body.page-id-160 article.page > .entry-header,
body.page-id-160 .entry-header,
body.page-id-160 .entry-title{
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-id-160 .entry-content{
  padding-top: 0 !important;
  margin-top: 0 !important;
}