/* ================================
   FAQ SECTION
   Fully Scoped to .astroFAQ
================================ */

.astroFAQ{
  padding:100px 20px;
  background:#f7eeee;
}

.astroFAQ__container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(360px, .9fr);
  gap:48px;
  align-items:stretch;
}

/* LEFT CONTENT */
.astroFAQ__content{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-width:0;
}

.astroFAQ__title{
  font-size:40px;
  font-weight:900;
  color:#111;
  margin:0 0 14px;
  line-height:1.15;
}

.astroFAQ__title span{
  color:#b10000;
}

.astroFAQ__subtitle{
  color:#555;
  margin:0 0 34px;
  line-height:1.7;
  font-size:18px;
  max-width:720px;
}

.astroFAQ__accordion{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.astroFAQ__item{
  background:#fff;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.astroFAQ__question{
  width:100%;
  padding:20px 24px;
  text-align:left;
  font-size:16px;
  font-weight:700;
  line-height:1.45;
  border:none;
  background:none;
  cursor:pointer;
  color:#111;
}

.astroFAQ__answer{
  max-height:0;
  overflow:hidden;
  padding:0 24px;
  transition:max-height .4s ease, padding .4s ease;
  color:#555;
  line-height:1.7;
  font-size:15px;
}

.astroFAQ__item.active .astroFAQ__answer{
  padding:0 24px 20px;
  max-height:240px;
}

/* RIGHT IMAGE */
.astroFAQ__image{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  box-shadow:0 25px 60px rgba(0,0,0,.15);

  /* important */
  height:100%;
  min-height:620px;
}

.astroFAQ__image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width:1100px){
  .astroFAQ__container{
    grid-template-columns:1fr 430px;
    gap:34px;
  }

  .astroFAQ__title{
    font-size:36px;
  }

  .astroFAQ__subtitle{
    font-size:17px;
  }

  .astroFAQ__image{
    min-height:580px;
  }
}

@media (max-width:900px){
  .astroFAQ{
    padding:70px 16px;
  }

  .astroFAQ__container{
    grid-template-columns:1fr;
    gap:28px;
  }

  .astroFAQ__title{
    font-size:32px;
  }

  .astroFAQ__subtitle{
    font-size:16px;
    margin-bottom:26px;
  }

  .astroFAQ__image{
    min-height:420px;
    height:420px;
  }

  .astroFAQ__question{
    font-size:15px;
    padding:17px 18px;
  }

  .astroFAQ__answer{
    font-size:14px;
    padding:0 18px;
  }

  .astroFAQ__item.active .astroFAQ__answer{
    padding:0 18px 18px;
    max-height:280px;
  }
}

@media (max-width:576px){
  .astroFAQ{
    padding:55px 14px;
  }

  .astroFAQ__title{
    font-size:28px;
  }

  .astroFAQ__subtitle{
    font-size:15px;
    line-height:1.65;
  }

  .astroFAQ__accordion{
    gap:14px;
  }

  .astroFAQ__item{
    border-radius:12px;
  }

  .astroFAQ__question{
    font-size:14px;
    line-height:1.5;
    padding:15px 16px;
  }

  .astroFAQ__answer{
    font-size:14px;
    padding:0 16px;
  }

  .astroFAQ__item.active .astroFAQ__answer{
    padding:0 16px 16px;
    max-height:320px;
  }

  .astroFAQ__image{
    height:340px;
    min-height:340px;
    border-radius:16px;
  }
}