/* Growth v1.0.7 — FAQ geometry, clean footer, contrast correction.
   The original Builder layout/typography remain unchanged. */
/* FAQ: a text span NEVER rotates, even for previously saved pages where
   legacy markup lacks .growth-faq-title / data-bvb-faq-question. */
.growth-agento-site .faqs details summary > span,
.growth-agento-site .faqs details[open] summary > span,
.growth-agento-site .faqs summary :is(.growth-faq-title,[data-bvb-faq-question],[data-bvb-text]),
.growth-pb .faqs details summary > span,
.growth-pb .faqs details[open] summary > span {
  transform:none!important;
  rotate:none!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
}
.growth-agento-site .faqs details summary,
.growth-pb .faqs details summary {align-items:center;text-align:left;}
.growth-agento-site .faqs details summary > :is(.growth-faq-title,[data-bvb-faq-question],[data-bvb-text]):not(.growth-faq-icon),
.growth-pb .faqs details summary > :is(.growth-faq-title,[data-bvb-faq-question],[data-bvb-text]):not(.growth-faq-icon) {
  display:block;flex:1 1 auto;min-width:0;line-height:1.5;
  white-space:normal;overflow-wrap:break-word;
}
/* New markup uses explicit icon; legacy markup rotates only the final +. */
.growth-agento-site .faqs details summary > .growth-faq-icon,
.growth-pb .faqs details summary > .growth-faq-icon,
.growth-agento-site .faqs details summary > span:last-child:not(:first-child):not(.growth-faq-title):not([data-bvb-faq-question]):not([data-bvb-text]),
.growth-pb .faqs details summary > span:last-child:not(:first-child):not(.growth-faq-title):not([data-bvb-faq-question]):not([data-bvb-text]) {
  display:inline-flex;flex:0 0 28px;justify-content:center;align-items:center;
  transform:none!important;transition:transform .2s ease;
}
.growth-agento-site .faqs details[open] summary > .growth-faq-icon,
.growth-pb .faqs details[open] summary > .growth-faq-icon,
.growth-agento-site .faqs details[open] summary > span:last-child:not(:first-child):not(.growth-faq-title):not([data-bvb-faq-question]):not([data-bvb-text]),
.growth-pb .faqs details[open] summary > span:last-child:not(:first-child):not(.growth-faq-title):not([data-bvb-faq-question]):not([data-bvb-text]) {
  transform:rotate(45deg)!important;
}
/* Remove the two former arbitrary stock/team pictures at the footer bottom,
   including Pages saved before updating the builder. Other images are intact. */
.growth-agento-site .footer-bottom .certs,
.growth-pb .footer-bottom .certs {display:none!important;}
/* Dark CTA (Kết nối đối tác thật dễ dàng): set BACKGROUND and text together.
   This also covers original or previously-saved Builder sections. */
.growth-agento-site section.integrations,
.growth-agento-site .integrations,
.growth-pb .growth-pb-section.integrations,
.growth-pb .integrations,
.growth-pb .growth-pb-section.red-section.integrations {
  background:#002254!important;
  background-color:#002254!important;
  color:#fff!important;
}
.growth-agento-site .integrations :is(h1,h2,h3,h4,h5,h6,.growth-visual-heading),
.growth-pb .integrations :is(h1,h2,h3,h4,h5,h6,.growth-visual-heading) {
  color:#fff!important;
}
.growth-agento-site .integrations :is(p,li,small),
.growth-pb .integrations :is(p,li,small){color:#d7effe!important;}
.growth-agento-site .integrations :is(.tag,.tag-light),
.growth-pb .integrations :is(.tag,.tag-light){background:#143e72!important;color:#eaf7ff!important;border:1px solid #4a85b8!important;}
.growth-agento-site .integrations :is(.btn,.btn-brown,.btn-pill),
.growth-pb .integrations :is(.btn,.btn-brown,.btn-pill){background:#7cc3f7!important;color:#002254!important;border-color:transparent!important;}
.growth-agento-site .integrations :is(.btn,.btn-brown,.btn-pill):hover,
.growth-pb .integrations :is(.btn,.btn-brown,.btn-pill):hover{background:#a9dcff!important;color:#002254!important;}
/* Surface-aware contrast for every known light feature/card/FAQ background. */
.growth-agento-site :is(.faq,.faq-inner,.faqs,.clarity,.guidance,.success,.worldclass,.partnerships,.influence,.price-section,.inner-sec,.support,.testimonial-lead) :is(h2,h3,h4,h5,h6),
.growth-pb :is(.faq,.faq-inner,.faqs,.clarity,.guidance,.success,.worldclass,.partnerships,.influence,.price-section,.inner-sec,.support,.testimonial-lead) :is(h2,h3,h4,h5,h6){color:#002254;}
/* Explicitly restore white text where dark cards are nested in a light section. */
.growth-agento-site :is(.guide-card-d,.testimonial-list,.hiring-strip,.leadership,.footer) :is(h2,h3,h4,h5,h6),
.growth-pb :is(.guide-card-d,.testimonial-list,.hiring-strip,.leadership,.footer) :is(h2,h3,h4,h5,h6){color:#fff!important;}
