/* ============================================
   Bülten kaydı (footer üstü)
   ============================================ */

.newsletter {
  background-color: var(--grey, #3e3739);
  padding: 96px 0;
}

.newsletter__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 48px 0 48px 0;
  padding: 56px;
}

.newsletter__content {
  flex: 1 1 50%;
  min-width: 0;
}

.newsletter__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 24px;
}

.newsletter__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.newsletter__check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--yellow, #faa31a);
  cursor: pointer;
}

.newsletter__check a {
  color: var(--yellow, #faa31a);
  text-decoration: underline;
}

.newsletter__action {
  flex: 1 1 45%;
  min-width: 0;
}

.newsletter__field {
  display: flex;
  background: #fff;
  border-radius: 100px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.newsletter__field:focus-within {
  border-color: var(--yellow, #faa31a);
}

.newsletter__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 15px;
  color: var(--grey, #3e3739);
  background: transparent;
}

.newsletter__field input[aria-invalid="true"] {
  color: var(--yellow-text, #a86400);
}

.newsletter__field button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0 28px;
  background: var(--yellow, #faa31a);
  color: var(--on-yellow, #3e3739);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.newsletter__field button:hover {
  opacity: 0.9;
}

.newsletter__field button:focus-visible,
.newsletter__check input:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.newsletter__message {
  margin: 14px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}

.newsletter__message--success {
  color: #ffffff;
}

.newsletter__message--error {
  color: #f3cfb2;
}

@media (max-width: 991px) {
  .newsletter {
    padding: 64px 0;
  }

  .newsletter__card {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 40px 32px;
    border-radius: 32px 0 32px 0;
  }

  .newsletter__title {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .newsletter__card {
    padding: 32px 20px;
  }

  .newsletter__field {
    flex-direction: column;
    border-radius: 20px;
  }

  .newsletter__field button {
    justify-content: center;
    padding: 14px 24px;
  }
}

/* Küçük dizüstü (992-1199): yan yana dizilimde e-posta alanı daralıp yer tutucu kesiliyordu; form başlığın altına iner */
@media (min-width: 992px) and (max-width: 1199px) {
  .newsletter__card {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
}
