/* ==========================================================================
   newsletter.css — "Stay Updated" subscribe banner (dark green)
   Self-contained, includes its own responsive rules.
   ========================================================================== */

.tp-news {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 2.25rem 2.5rem;
  color: var(--tp-white);
  background:
    radial-gradient(90% 130% at 18% 10%, #14592c 0%, #0c4a24 45%, #073a1c 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* faint decorative leaves */
.tp-news::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side, rgba(95, 207, 142, 0.10), transparent) 90% -10% / 240px 240px no-repeat,
    radial-gradient(closest-side, rgba(95, 207, 142, 0.08), transparent) 8% 120% / 220px 220px no-repeat;
  pointer-events: none;
}

.tp-news__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.tp-news__media {
  flex: 0 0 auto;
  width: 120px;
}

.tp-news__media img {
  width: 100%;
  height: auto;
}

.tp-news__body {
  flex: 1 1 auto;
  min-width: 220px;
}

.tp-news__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--tp-white);
}

.tp-news__text {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 30em;
}

/* ---- Form ---- */
.tp-news__form-wrap {
  flex: 0 0 auto;
  width: 440px;
  max-width: 100%;
}

.tp-news__form {
  display: flex;
  gap: 0.6rem;
}

.tp-news__input {
  flex: 1 1 auto;
  height: 52px;
  padding: 0 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--tp-text);
  background: var(--tp-white);
  border: 2px solid transparent;
  border-radius: 0.6rem;
  outline: none;
  transition: box-shadow 0.15s ease;
}

.tp-news__input::placeholder { color: #9ca3af; }

.tp-news__input:focus {
  box-shadow: 0 0 0 4px rgba(95, 207, 142, 0.35);
}

.tp-news__btn {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 1.5rem;
}

.tp-news__assure {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.9rem;
}

.tp-news__assure span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.tp-news__assure img {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Responsive — newsletter
   ========================================================================== */
@media (max-width: 991.98px) {
  .tp-news__inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .tp-news__text { margin-left: auto; margin-right: auto; }

  .tp-news__form-wrap { width: 100%; max-width: 520px; }

  .tp-news__assure { justify-content: center; }
}

@media (max-width: 575.98px) {
  .tp-news {
    padding: 1.75rem 1.25rem;
  }

  .tp-news__form {
    flex-direction: column;
  }

  .tp-news__btn {
    width: 100%;
  }
}
