/**
 * Zengin metin — cards/rich_text/card.css
 * Genel .pb-block padding: assets/css/style.css
 */

/* Metin bloğu konteyner genişliğini kullanır; 48rem'lik eski sınır metni
   sayfanın ortasında dar bir sütuna sıkıştırıyordu. */
.pb-block__prose {
  max-width: 100%;
}
.pb-block__prose .rte-align-left { text-align: left; }
.pb-block__prose .rte-align-center { text-align: center; }
.pb-block__prose .rte-align-right { text-align: right; }
.pb-block__prose .pb-rte-figure {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: .65rem 0;
  vertical-align: top;
  box-sizing: border-box;
}
.pb-block__prose .pb-rte-figure[data-align="left"] {
  float: left;
  margin: .35rem 1.25rem .75rem 0;
}
.pb-block__prose .pb-rte-figure[data-align="right"] {
  float: right;
  margin: .35rem 0 .75rem 1.25rem;
}
.pb-block__prose .pb-rte-figure[data-align="center"] {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  float: none;
}
.pb-block__prose .pb-rte-figure img.pb-rte-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/**
 * cta_band — cards/cta_band/card.css
 */

.cta-band {
  --treatment-section-title-size: var(--text-3xl);
  --cta-band-accent: var(--primary);
}

.pb-block.pb-block--cta-band::before {
  background-color: var(--primary);
}

.pb-block.pb-block--cta-band.cta-band--bg-theme,
.pb-block.pb-block--cta-band.cta-band--bg-custom {
  background-color: var(--primary);
  color: var(--white);
}

.cta-band--bg-theme,
.cta-band--bg-custom {
  background-color: var(--primary);
  color: var(--white);
}

.cta-band .treatment-section__title,
.cta-band__title {
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--white);
  margin-top: 0;
  margin-bottom: var(--heading-title-gap);
  text-transform: none;
}

.cta-band p {
  margin: 0;
  font-size: var(--text-section-lead);
  line-height: 1.4;
  max-width: 42rem;
  opacity: 0.9;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.cta-band__copy {
  flex: 0 0 auto;
}

.cta-band__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  width: 100%;
}

.cta-band__btn {
  width: 100%;
  min-width: 0;
}

.cta-band__btn span {
  text-align: center;
  line-height: 1.25;
}

.cta-band .btn {
  padding: 0.55rem 0.75rem;
  min-height: 40px;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
}

.cta-band--bg-theme .btn--outline,
.cta-band--bg-custom .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.cta-band--bg-theme .btn--outline:hover,
.cta-band--bg-theme .btn--outline:focus-visible,
.cta-band--bg-custom .btn--outline:hover,
.cta-band--bg-custom .btn--outline:focus-visible {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.cta-band--bg-theme .btn--primary,
.cta-band--bg-custom .btn--primary {
  background: var(--white);
  color: var(--cta-band-accent);
  border-color: var(--white);
}

.cta-band--bg-theme .btn--primary:hover,
.cta-band--bg-theme .btn--primary:focus-visible,
.cta-band--bg-custom .btn--primary:hover,
.cta-band--bg-custom .btn--primary:focus-visible {
  background: var(--bg-soft);
  color: var(--cta-band-accent);
  border-color: var(--bg-soft);
}

@media (max-width: 768px) {
  .cta-band__inner {
    gap: 0.45rem;
  }

  .cta-band__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .cta-band__btn--form {
    grid-column: 1 / -1;
  }
}

/* --- Stil 2+ (eski Tema 2) --- */
/* Emergency CTA — theme.css */

