/**
 * Use in order to make a set of rules only apply above
 * or below a certain breakpoint.
 * Standard usage:

 @include breakpoint(tablet){
 	// Applies to screen sizes tablet and LARGER
 }

 @include breakpoint(tablet up){
 	// Applies to screen sizes tablet and LARGER
 }

 @include breakpoint(tablet down){
 	// Applies to screen sizes tablet and SMALLER
 }
 *
 **/
/**
 * Set custom typography sizes (e.g. header)
 * @param  {int} $size        font-size
 * @param  {int} $line-height line-height
 * @param  {int} $av          AV letter-spacing from XD
 * @return {void}
 */
/**
 * Converts a pixel, percentage, rem or em value to a unitless value based on a given font size. Ideal for working out unitless line heights.
 *
 * @param {Number} $value - Value to convert to a unitless line height
 * @param {Number} $base - The font size to use to work out the line height - defaults to $rem-font-size
 *
 * @return {Number} - Unitless number
 */
/**
 * AV letter spacing measurement convertor from Adobe applications
 * https://scotch.io/tutorials/converting-photoshop-letter-spacing-to-css
 */
/*
 * https://every-layout.dev/layouts/stack/
 */
.h-stack > * {
  margin-block: 0;
}
.h-stack > * + * {
  margin-top: var(--unit);
}
.h-stack--zero > * {
  margin-block: 0;
}
.h-stack--small > * {
  margin-block: 0;
}
.h-stack--small > * + * {
  margin-top: var(--unit-small);
}
.h-stack--xsmall > * {
  margin-block: 0;
}
.h-stack--xsmall > * + * {
  margin-top: var(--unit-xsmall);
}
.h-stack--medium > * {
  margin-block: 0;
}
.h-stack--medium > * + * {
  margin-top: var(--unit-medium);
}
.h-stack--large > * {
  margin-block: 0;
}
.h-stack--large > * + * {
  margin-top: var(--unit-large);
}
.h-stack--xlarge > * {
  margin-block: 0;
}
.h-stack--xlarge > * + * {
  margin-top: var(--unit-xlarge);
}

.h-stack2 > * {
  margin-block: 0;
}
.h-stack2 > * + * {
  margin-top: var(--unit2);
}
.h-stack2--small > * {
  margin-block: 0;
}
.h-stack2--small > * + * {
  margin-top: calc(var(--unit2) / 2);
}
.h-stack2--medium > * {
  margin-block: 0;
}
.h-stack2--medium > * + * {
  margin-top: calc(var(--unit2) * 2);
}

.h-stack-row > * {
  margin-inline: 0;
}
.h-stack-row > * + * {
  margin-left: var(--unit);
}

.h-stack-row--xsmall > * {
  margin-inline: 0;
}
.h-stack-row--xsmall > * + * {
  margin-left: var(--unit-xsmall);
}

.wp-block-sht-newsletter-teaser {
  position: relative;
  transform: translateX(-20px);
  width: 100vw;
  padding: var(--unit2) var(--unit2-small) var(--unit2) 0;
  background-color: var(--wp--preset--color--blue-5);
  margin-top: 6.0625rem;
}
.wp-block-sht-newsletter-teaser > * {
  margin-block: 0;
}
.wp-block-sht-newsletter-teaser > * + * {
  margin-top: var(--unit);
}
@media screen and (min-width: 41.6875em) {
  .wp-block-sht-newsletter-teaser {
    transform: translateX(0);
    width: 100%;
  }
}
@media screen and (min-width: 48em) {
  .wp-block-sht-newsletter-teaser {
    padding: var(--unit2) var(--unit2-medium) var(--unit-medium);
  }
}
.wp-block-sht-newsletter-teaser__content > * {
  margin-block: 0;
}
.wp-block-sht-newsletter-teaser__content > * + * {
  margin-top: var(--unit);
}
.wp-block-sht-newsletter-teaser__content a,
.wp-block-sht-newsletter-teaser__content a:hover {
  color: inherit;
}
.wp-block-sht-newsletter-teaser__contentwrapper {
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--blue);
  border-radius: var(--radius);
  padding: var(--unit);
  position: relative;
  width: 60%;
}
.wp-block-sht-newsletter-teaser__contentwrapper > * {
  margin-block: 0;
}
.wp-block-sht-newsletter-teaser__contentwrapper > * + * {
  margin-top: var(--unit);
}
@media screen and (min-width: 41.6875em) {
  .wp-block-sht-newsletter-teaser__contentwrapper {
    width: 70%;
  }
}
.wp-block-sht-newsletter-teaser__contentwrapper::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: -0.75rem;
  width: 0.8125rem;
  height: 1.3125rem;
  background: url("../../../img/newsletter-title-before.min.svg") center/contain no-repeat;
}
.wp-block-sht-newsletter-teaser__inner > * {
  margin-block: 0;
}
.wp-block-sht-newsletter-teaser__inner > * + * {
  margin-top: var(--unit);
}
.wp-block-sht-newsletter-teaser__title, .wp-block-sht-newsletter-teaser__text {
  font-size: 1.25rem;
  line-height: 1.15;
  font-family: var(--font-family-handwriting);
}
.wp-block-sht-newsletter-teaser__title {
  position: relative;
}
.wp-block-sht-newsletter-teaser__titlewrapper {
  background: url("../../../img/waving-fox.png") calc(var(--unit2-small) * -1)/contain no-repeat;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-height: 10.5625rem;
  transform: translateX(calc(var(--unit2) * -1));
  width: calc(100% + var(--unit2-medium));
}
.wp-block-sht-newsletter-teaser__titlewrapper > * {
  margin-block: 0;
}
.wp-block-sht-newsletter-teaser__titlewrapper > * + * {
  margin-top: var(--unit);
}
@media screen and (min-width: 41.6875em) {
  .wp-block-sht-newsletter-teaser__titlewrapper {
    transform: translateX(0);
    width: 100%;
    justify-content: flex-end;
  }
}