/* M501 Newsletter Form – mobile number field (intl-tel-input).
   Same adjustments as the group booking form: intl-tel-input wraps the input
   in .iti, so the shift that makes room for the floating label has to move to
   the wrapper. Scoped to .m-newsletter so the group booking form keeps its
   own inline rules. */

.m-newsletter .c-form__capsule .iti {
  z-index: var(--zi-aboveContent);
}

.m-newsletter .c-form__capsule.js-capsule.is-focused .iti,
.m-newsletter .c-form__capsule.js-capsule.has-value .iti {
  transform: translateX(calc((150px - var(--sp-5x)) * -1));
  width: calc(100% + 150px - var(--sp-5x));
}

.m-newsletter .c-form__capsule.js-capsule.is-focused .iti input,
.m-newsletter .c-form__capsule.js-capsule.has-value .iti input {
  transform: translateX(0);
  width: 100%;
}
