/**
 * Credit Card as a Service (Tailwind) — só o que não cobrimos com utilities:
 * Owl Carousel (stage / largura do card / dots), mídia do content-card (495×280),
 * gráfico decorativo da seção teal e tamanhos de h2/h3 em HTML vindo do ACF (WYSIWYG).
 */

/* ACF/WYSIWYG: mesmos escalares que text-2xl! / md:text-3xl! e text-xl! (global.css não gera [&_h2]) */
.tw-ccaas .ccaas-prose :where(h2) {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
  font-weight: 700 !important;
}

@media (min-width: 768px) {
  .tw-ccaas .ccaas-prose :where(h2) {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
  }
}

.tw-ccaas .ccaas-prose :where(h3) {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
  font-weight: 700 !important;
}

/* Proporção legada content-card (280/495) — não depende de aspect-* no bundle Tailwind */
.tw-content-card__media {
  padding-bottom: 56.5656565657%;
}

.tw-ccaas .owl-content-card.owl-carousel .owl-stage {
  display: flex;
}

.tw-ccaas .owl-content-card.owl-carousel .owl-item {
  display: flex;
  height: auto;
  width: calc(33.333% - 10px);
  margin-right: 10px;
}

.tw-ccaas .owl-content-card .tw-content-card {
  width: 100%;
  min-width: 260px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .tw-ccaas .owl-content-card .tw-content-card {
    max-width: none !important;
  }
}

.tw-ccaas .owl-content-card .owl-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 2.5rem;
}

.tw-ccaas .owl-content-card .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.25);
}

.tw-ccaas .owl-content-card .owl-dot.active {
  width: 12px;
  height: 12px;
  background: #000;
}

.tw-ccaas .owl-content-card .owl-nav {
  display: none !important;
}

.tw-ccaas .owl-content-card .owl-stage {
  display: flex;
  gap: 0;
}

/* Gráfico lateral (equivalente a .bg-element.right em styles legados) */
.tw-ccaas__solucao-completa {
  position: relative;
}

.tw-ccaas__grafismo {
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 0;
  width: min(976px, 55vw);
  max-width: none;
  transform: translateY(-50%);
  opacity: 1;
}

@media (max-width: 1023px) {
  .tw-ccaas__grafismo {
    display: none;
  }
}

.tw-ccaas__solucao-completa .container {
  position: relative;
  z-index: 1;
}