/* =========================================
   BUSH BAGS - NEWSLETTER
========================================= */

.bb-newsletter {
  --bb-newsletter-olive: #626149;

  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 380px;
  overflow: hidden;
  background: var(--bb-newsletter-olive);
  color: #fff;
}

/* LEFT HEADING PANEL */

.bb-newsletter-heading {
  min-height: 400px;
  background-image: url("/wp-content/uploads/2026/10/newsletter-1.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  /* background-size: auto 100%; */
  background-size: cover;
  background-color: var(--bb-newsletter-olive);
  display: flex;
  align-content: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-left: 10%;
}

/* Hide the accessible heading visually */
.bb-newsletter-heading .screen-reader-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.bb-newsletter-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-newsletter-olive);

  font-size: clamp(28px, 3.2vw, 55px);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

/* RIGHT CONTENT */

.bb-newsletter-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 55px 8% 40px;
  text-align: center;
  justify-content: center;
}

.bb-newsletter-intro {
  max-width: 650px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.8;
}

/* FORM */

.bb-newsletter-form {
  display: flex;
  width: min(100%, 420px);
  flex-direction: column;
  align-items: center;
}

.bb-newsletter-email {
  display: flex;
  align-items: center;
  width: min(100%, 285px);
  height: 38px;
  overflow: hidden;
  border-radius: 7px;
  background: #f3f3f3;
  color: #777;
}

.bb-newsletter-envelope {
  padding: 0 10px;
  font-size: 24px;
}

.bb-newsletter-email input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 10px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font: inherit;
}

.bb-newsletter-email input::placeholder {
  color: #888;
  letter-spacing: 1px;
}

.bb-newsletter-privacy {
  margin: 28px 0 14px;

  line-height: 1.6;
}

.bb-newsletter-privacy a {
  color: inherit;
  text-decoration: none;
}

.bb-newsletter-privacy a:hover {
  text-decoration: underline;
}

.bb-newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin-bottom: 30px;
  text-align: left;

  line-height: 1.6;
}

.bb-newsletter-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--bb-newsletter-olive);
}

.bb-newsletter-submit {
  min-width: 116px;
  padding: 11px 24px;
  border: 0;
  border-radius: 7px;
  background: #f0f0f0;
  color: #222;

  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.bb-newsletter-submit:hover {
  background: #fff;
}

/* DECORATIVE PLANE */

.bb-newsletter-plane {
  position: absolute;
  z-index: 2;
  left: -24px;
  bottom: 25px;
  width: 140px;
  height: auto;
  pointer-events: none;
}

/* TABLET */

@media (max-width: 800px) {
  .bb-newsletter {
    grid-template-columns: 32% 68%;
  }

  .bb-newsletter-heading {
    padding: 70px 15px 40px;
  }

  .bb-newsletter-content {
    padding: 45px 6% 35px;
  }

  .bb-newsletter-plane {
    width: 105px;
    bottom: 12px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .bb-newsletter {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .bb-newsletter-heading {
    justify-content: center;
    background-image: url("/wp-content/uploads/2026/10/newsletter-mobi.png");
    margin: 0;
    padding: 30px 20px 24px;
    border-radius: 0 0 45% 0 / 0 0 20% 0;
    background-position: left;
    background-size: cover;
    min-height: 32vh;
    align-content: flex-start;
  }

  .bb-newsletter-heading h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .bb-newsletter-content {
    padding: 30px 22px 55px;
  }

  .bb-newsletter-intro {
    margin-bottom: 24px;

    line-height: 1.7;
  }

  .bb-newsletter-privacy {
    margin-top: 22px;
  }

  .bb-newsletter-consent {
    margin-bottom: 24px;
  }

  .bb-newsletter-plane {
    right: 12px;
    bottom: 8px;
    left: auto;
    width: 75px;
  }
}
