/* Newsletter signup. The field and the button come from the shared styles in global.css. */

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section {
  width: 100%;
  padding: var(--space-md) 0;
  background-color: var(--color-surface-alt);
  color: var(--color-text-primary);
}

/* Optional hairlines that separate the section from its neighbours */
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--divider-top { border-top: 1px solid var(--color-border); }
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--divider-bottom { border-bottom: 1px solid var(--color-border); }

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__eyebrow {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  color: var(--color-accent-dark);
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__heading {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--sec-heading-size, var(--text-h2));
  font-weight: var(--sec-heading-weight, var(--heading-weight));
  line-height: 1.15;
  letter-spacing: var(--sec-heading-tracking, var(--tracking-tight));
  color: var(--color-text-primary);
  text-wrap: balance;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__description {
  margin: 0 auto var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--sec-body-size, var(--text-body-lg));
  line-height: var(--sec-body-leading, 1.6);
  color: var(--color-text-secondary);
  max-width: var(--content-narrow);
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__form {
  /* anchors the visually hidden label */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
  margin: 0 0 var(--space-sm);
}

/* Layout only; the look is the shared .field */
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__input {
  flex: 1 1 auto;
}

/* Layout only; the look is the shared .btn */
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__submit {
  flex-shrink: 0;
  white-space: nowrap;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__error {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-error);
  text-wrap: pretty;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__disclaimer {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__success-icon {
  color: var(--color-success);
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__success .newsletter-section__heading {
  margin: 0;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__success .newsletter-section__description {
  margin: 0;
}

/* From tablets up the field and the button sit on one line, joined */
@media (min-width: 768px) {
  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section {
    padding: var(--space-lg) 0;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__form {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right-width: 0;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__submit {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__eyebrow, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__heading, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__description, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__form, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__error, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__disclaimer {
    opacity: 0;
    animation: cc_JsHSjQyQmG_R6eGl6WLuY_newsletter-fade-up var(--duration) var(--ease) forwards;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__eyebrow {
    animation-delay: 0ms;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__heading {
    animation-delay: 80ms;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__description {
    animation-delay: 160ms;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__form {
    animation-delay: 240ms;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__error {
    animation-delay: 240ms;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__disclaimer {
    animation-delay: 320ms;
  }

  .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__success {
    animation: cc_JsHSjQyQmG_R6eGl6WLuY_newsletter-fade-up var(--duration) var(--ease) both;
  }
}

@keyframes cc_JsHSjQyQmG_R6eGl6WLuY_newsletter-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Background image ("Arka Plan Türü = Görsel"): image, overlay, then the content on top ─── */
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__bg, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text on the image: light (white) or dark; the field and the button keep their own colors */
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--tone-light { --newsletter-ink: var(--color-white); }
.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--tone-dark { --newsletter-ink: var(--color-black); }

.cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--image .newsletter-section__eyebrow, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--image .newsletter-section__heading, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--image .newsletter-section__description, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--image .newsletter-section__disclaimer, .cc_JsHSjQyQmG_R6eGl6WLuY .newsletter-section--image .newsletter-section__success-icon {
  color: var(--newsletter-ink);
}
