.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription {
  width: 100%;
  box-sizing: border-box;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-frame {
  position: relative;
  width: 100%;
  /* visible so the content can grow the frame past the aspect ratio; children carry the radius */
  overflow: visible;
  border-radius: var(--ta-radius-lg);
  background-color: var(--ta-color-bg-tint);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-frame.is-plain {
  background-color: var(--ta-color-bg-soft);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

/* Scrim: fills the frame, content centred on top of it */
.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-circle {
  position: relative;
  height: 100%;
  min-height: inherit;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ta-space-xl) var(--ta-space-lg);
  border-radius: inherit;
  text-align: center;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-content {
  min-width: min(100%, 360px);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ta-space-md);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  color: inherit;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-description {
  margin: 0;
  color: inherit;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: var(--ta-space-sm);
  text-align: left;
}

/* Dark circle: form field stays light, consent text follows the circle colour */
.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form .newsletter-field {
  background-color: var(--ta-color-bg-surface);
  box-shadow: none;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form .newsletter-input {
  color: var(--ta-color-text-strong);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form .newsletter-input::placeholder {
  color: var(--ta-color-text-secondary);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form {
  --ta-checkbox-color: #FFFFFF;
  --ta-checkbox-check: #000000;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form .newsletter-consent {
  color: inherit;
  font-size: 12px;
  line-height: 1.5;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form .newsletter-message {
  color: inherit;
  text-align: center;
}

/* Strip layout */
.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: var(--ta-space-xl);
  padding: calc(var(--ta-space-xl) * 1.5) calc(var(--ta-space-xl) * 1.5);
  border-radius: var(--ta-radius-lg);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-text, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form {
  position: relative;
  z-index: 1;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-text {
  display: flex;
  flex-direction: column;
  gap: var(--ta-space-sm);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-title, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-description {
  margin: 0;
  color: inherit;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-title {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form {
  display: flex;
  flex-direction: column;
  gap: var(--ta-space-sm);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form .newsletter-field {
  background-color: var(--ta-color-bg-surface);
}

/* Entrance: panel, text and form rise one after another once the section scrolls into view */
.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated .newsletter-strip-title, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated .newsletter-strip-description, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated .newsletter-strip-form {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible .newsletter-strip-title, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible .newsletter-strip-description, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible .newsletter-strip-form {
  opacity: 1;
  transform: none;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible .newsletter-strip-title {
  transition-delay: 150ms;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible .newsletter-strip-description {
  transition-delay: 260ms;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated.is-visible .newsletter-strip-form {
  transition-delay: 370ms;
}

/* Field lifts slightly while typing */
.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form .newsletter-field {
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms ease;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form .newsletter-field:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated .newsletter-strip-title, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated .newsletter-strip-description, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip.is-animated .newsletter-strip-form {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form .newsletter-field, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form .newsletter-field:focus-within {
    transform: none;
    transition: none;
  }
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip-form .newsletter-consent {
  color: inherit;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-strip {
    grid-template-columns: 1fr;
    gap: var(--ta-space-lg);
    padding: var(--ta-space-xl) var(--ta-space-lg);
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-frame {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    aspect-ratio: auto !important;
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-image {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-circle {
    height: auto;
    border-radius: 0;
    /* solid on mobile: the photo is not behind it */
    background-color: var(--newsletter-scrim-solid) !important;
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-content {
    width: 100% !important;
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-subscription-form {
    max-width: none;
  }
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornaments {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  color: inherit;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament {
  position: absolute;
  display: block;
  opacity: 0.22;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--moon {
  top: 14px;
  right: 22px;
  width: 34px;
  animation: cc_5eyhtjn9_rSy7NOssy1_newsletter-float 7s ease-in-out infinite;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--sparkle-a {
  top: 22px;
  left: 46%;
  width: 16px;
  animation: cc_5eyhtjn9_rSy7NOssy1_newsletter-twinkle 4.2s ease-in-out infinite;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--sparkle-b {
  bottom: 20px;
  right: 18%;
  width: 12px;
  animation: cc_5eyhtjn9_rSy7NOssy1_newsletter-twinkle 5s ease-in-out 1.2s infinite;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--sparkle-c {
  bottom: 38px;
  left: 44%;
  width: 10px;
  animation: cc_5eyhtjn9_rSy7NOssy1_newsletter-twinkle 4.6s ease-in-out 2.4s infinite;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--cloud {
  bottom: 14px;
  left: 20px;
  width: 58px;
  animation: cc_5eyhtjn9_rSy7NOssy1_newsletter-drift 9s ease-in-out infinite;
}

.cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--dots {
  top: 14px;
  left: 56%;
  width: 96px;
}

@keyframes cc_5eyhtjn9_rSy7NOssy1_newsletter-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-6px) rotate(6deg);
  }
}

@keyframes cc_5eyhtjn9_rSy7NOssy1_newsletter-twinkle {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.6) rotate(0);
  }

  50% {
    opacity: 0.45;
    transform: scale(1) rotate(45deg);
  }
}

@keyframes cc_5eyhtjn9_rSy7NOssy1_newsletter-drift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }
}

@media (max-width: 768px) {
  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--dots, .cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--sparkle-c {
    display: none;
  }

  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament--sparkle-a {
    left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_5eyhtjn9_rSy7NOssy1 .newsletter-ornament {
    animation: none;
  }
}
