/* spline-sans-300 - latin */

@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Spline Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/spline-sans-v15-latin-300.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* spline-sans-regular - latin */

@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Spline Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/spline-sans-v15-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* spline-sans-600 - latin */

@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Spline Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/spline-sans-v15-latin-600.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rakkas-regular - latin */

@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rakkas";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/rakkas-v21-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* -------------------------- start fonts body main -------------------------- */

.content-wrapper a {
  transition: all 0.5s ease 0s;
  color: inherit;
}

.entry-content a {
  color: inherit;
}

html {
  font-size: var(--base-font-size);
}
p,
li {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.018em;
  line-height: 1.87;
  color: var(--ast-global-color-2);
}
a:hover,
a:focus {
  color: var(--ast-global-color-0);
}

/* -------------------------- end fonts body main -------------------------- */

/*------------------------ end fonts main navigation----------------------------*/

/*------------------------------ start fonts headlines ---------------------------*/

#footer h3,
.entry-content h1,
.entry-content h3 {
  font-family: var(--mainfont);
  font-size: var(--h1-font-size);
  color: var(--ast-global-color-4);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.155em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--gap-m);
  text-wrap: balance;
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.entry-content h1::before,
.entry-content h3::before,
#footer h3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/themes/astra-impuls-child/img/heading-before.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.entry-content h2,
.entry-content h4 {
  font-family: var(--headlinefont);
  font-size: var(--h2-font-size);
  font-weight: 400;
  line-height: 1.41;
  letter-spacing: 0.24px;
  color: var(--ast-global-color-2);
  text-wrap: balance;
}

.entry-content h5 {
  font-family: var(--mainfont);
  line-height: 1.25;
  letter-spacing: 0.088em;
  font-size: var(--base-font-size);
  text-transform: uppercase;
}

/* Listen */

.mitglieder-inhalt-wrapper ul {
  font-family: var(--mainfont);
  font-size: var(--base-font-size);
  font-weight: 300;
}

/*------------------------- end fonts headlines -------------------------------*/

/* -------------------------- end fonts custom -------------------------- */

@media (min-width: 1920px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1200px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 768px) {
  /*
  .entry-content h1::before,
  .entry-content h3::before,
  #footer h3::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/wp-content/themes/astra-impuls-child/img/heading-after-tablet.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
    pointer-events: none;
    height: 100%;
    width: 100%;
  }
  */
  .entry-content h1::before,
  .entry-content h3::before,
  #footer h3::before {
    background-image: url("/wp-content/themes/astra-impuls-child/img/heading-after-tablet.svg");
  }
  #chronik .slider-txt-content-wrapper {
    gap: calc(var(--gap-m) + var(--gap-m));
  }
  #chronik .chronik-txt-slider-wrapper {
    gap: calc(var(--gap-m) + var(--gap-s));
  }
}

@media (max-width: 576px) {
  #footer h3,
  .entry-content h1,
  .entry-content h3 {
    justify-content: center;
    padding-left: var(--gap-l);
  }
  #footer h3,
  .entry-content h1,
  .entry-content h3,
  .entry-content h5 {
    text-align: center !important;
  }
  .entry-content h1::before,
  .entry-content h3::before,
  #footer h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("/wp-content/themes/astra-impuls-child/img/heading-after-h1-mobile.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    z-index: -1;
    pointer-events: none;
    height: 50%;
    width: 100%;
  }
  .entry-content h1::after,
  .entry-content h3::after,
  #footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url("/wp-content/themes/astra-impuls-child/img/heading-after-h1-mobile.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    z-index: -1;
    pointer-events: none;
    height: 50%;
    width: 100%;
  }
}

@media (max-width: 420px) {
  #footer h3,
  .entry-content h1,
  .entry-content h3 {
    padding-left: var(--gap-m);
  }
}

@media (min-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
