/* Next.js integration tweaks (keep minimal, override-only) */

/* Swiper slides: make cards equal height by stretching slide content */
.formats_slider .swiper-wrapper,
.client_slider .swiper-wrapper {
  align-items: stretch;
}

.formats_slider .swiper-slide,
.client_slider .swiper-slide {
  height: auto;
  display: flex;
}

.formats_slider .formats_item,
.client_slider .client_item {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Keep author block pinned to bottom in reviews */
.client_slider .client_prof {
  margin-top: auto;
}

/* Gallery rules live in /front/css/gallery.css — shared with the TikTok
   microsite, which does not load this file. */

/* FAQ accordion: smooth open/close */
.wrap_faq .collapse_content,
.wrap_faq_ooh .collapse_content {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 220ms ease, transform 220ms ease;
  opacity: 0;
  transform: translateY(-4px);
}

.wrap_faq .collapse_content.active,
.wrap_faq_ooh .collapse_content.active {
  opacity: 1;
  transform: translateY(0);
}
