/* Manava Widget — FAQ (category tabs + accordion) base styles.
   Mirrors the original design exactly; Elementor's control-generated
   CSS layers on top of this per widget instance. Scoped under a class
   (not an ID) so the widget can be dropped onto a page more than once. */

.mh-faq-section{
  --mh-bg-cream:#f5f1e8;
  --mh-bg-white:#ffffff;
  --mh-text-green:#1e3a2e;
  --mh-text-terracotta:#a8632f;
  --mh-btn-gold:#ba9959;
  --mh-btn-terracotta:#c1794a;

  background:var(--mh-bg-cream);
  padding:80px 24px;
  font-family:'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  box-sizing:border-box;
}
.mh-faq-section *{box-sizing:border-box;}

.mh-faq-inner{
  max-width:840px;
  margin:0 auto;
  text-align:center;
}

.mh-faq-eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:3px;
  color:var(--mh-text-terracotta);
  margin:0 0 14px;
  text-transform:uppercase;
}

.mh-faq-title{
  font-family:'Playfair Display', Georgia, serif;
  font-size:32px;
  color:var(--mh-text-green);
  margin:0 0 12px;
  font-weight:800;
}

.mh-faq-subline{
  font-size:14.5px;
  color:var(--mh-text-green);
  opacity:0.6;
  margin:0 0 36px;
  line-height:1.6;
}

.mh-faq-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:34px;
}

.mh-faq-tab{
  background:var(--mh-bg-white);
  border:1px solid rgba(30,58,46,0.14);
  color:var(--mh-text-green);
  font-size:13.5px;
  font-weight:600;
  padding:10px 18px;
  border-radius:24px;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.mh-faq-tab:hover{
  border-color:var(--mh-btn-terracotta);
}
.mh-faq-tab.active{
  background:var(--mh-btn-terracotta);
  border-color:var(--mh-btn-terracotta);
  color:#ffffff;
}

.mh-faq-panel{
  display:none;
  text-align:left;
  flex-direction:column;
  gap:12px;
}
.mh-faq-panel.active{
  display:flex;
}

.mh-faq-item{
  background:var(--mh-bg-white);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(30,58,46,0.06);
}

.mh-faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:none;
  border:none;
  text-align:left;
  padding:18px 20px;
  font-size:15px;
  font-weight:600;
  color:var(--mh-text-green);
  cursor:pointer;
  transition:color .2s ease;
}
.mh-faq-q:hover{
  color:var(--mh-btn-gold);
}

.mh-faq-icon{
  flex-shrink:0;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--mh-bg-cream);
  color:var(--mh-text-terracotta);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .3s ease, background .3s ease, color .3s ease;
}
.mh-faq-icon svg{width:15px;height:15px;}

.mh-faq-item.open .mh-faq-icon{
  transform:rotate(180deg);
  background:var(--mh-btn-terracotta);
  color:#ffffff;
}

.mh-faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}
/* A generous cap rather than a small fixed height, so longer answers
   (or answer copy edited later in Elementor) never get clipped. */
.mh-faq-item.open .mh-faq-a{
  max-height:600px;
}

.mh-faq-a p{
  margin:0;
  padding:0 20px 20px;
  font-size:14px;
  line-height:1.65;
  color:var(--mh-text-green);
  opacity:0.72;
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px){
  .mh-faq-section{padding:56px 16px;}
  .mh-faq-title{font-size:25px;}
  .mh-faq-tabs{gap:8px;}
  .mh-faq-tab{padding:8px 14px;font-size:12.5px;}
  .mh-faq-q{font-size:14px;padding:16px;}
}
