.content-teaser-module {
    display: grid;
    gap: var(--space-s);
    margin-bottom: var(--space-m-l);
  --_color: var(--wvib-red, red);
  grid-template-columns: 100%;
}

.content-teaser-module.content-teaser-module--light,
.content-teaser-module.content-teaser-module--light .link {
  --_color: var(--wvib-white, #ffffff);
}

.content-teaser-module.content-teaser-module--light .swiper-nav svg {
 color: var(--wvib-white, #ffffff);
}

.content-teaser h3 {
  margin-top: 0;
  font-size: var(--font-size-2);
  font-weight: 500;
  color: var(--_color);
}

.content-teaser figure,
.content-teaser img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.content-teaser figure > img {
  height: 100%;
}

.content-teaser__text, .content-teaser__text a {
  margin-top: 1.5rem;
  color: var(--_color);
}

.content-teaser-module .card-grid.swiper-wrapper {
  display: flex;
  height: auto;
}

.content-teaser__heading--compact {
    font-size: var(--font-size-2);
    padding-block: 0.5em;
    border-top: 1.5px solid var(--_color);
    border-bottom: 1.5px solid var(--_color);
    margin-bottom: 1em;
    color: var(--_color);
}

.content-teaser-module .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-m-l);
    margin-bottom: var(--space-m-l);
}

.content-teaser-module .card {
    display: grid;
    border-radius: var(--space-s);
}

.content-teaser-module .card h3 {
    margin-top: 0;
  font-size: var(--font-size-3);
}

.content-teaser-module .card ul, .content-teaser-module .card ol {
 padding: 0 0 0 1rem; 
}

.content-teaser-module .card figure,
.content-teaser-module .card img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: var(--space-s);
}

.content-teaser-module .card * {
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
}

.content-teaser-module .card--teaser,
.content-teaser-module .card--gradient {
    transition: all .4s ease;
    background: linear-gradient(135deg, var(--wvib-red) 25%, var(--wvib-blue) 50%);
    background-size: 250%;
    background-position: 0%;
}

@supports (background-image: linear-gradient(in oklch to right, blue, red)) {
  .content-teaser-module .card--teaser,
  .content-teaser-module .card--gradient {
      background: linear-gradient(135deg in oklch, var(--wvib-red) 25%, var(--wvib-blue) 50%);
      background-size: 250%;
      background-position: 0%;
  }
}

.content-teaser-module .card--gradient:has(.card__link):hover {
    background-position: 45%;
}

.content-teaser-module .card--image {
    background: #000000;
}

.content-teaser-module .card--image.card--light {
    background: var(--merino-50, #F6F0E6);
}

.content-teaser-module .card--teaser a {
    display: flex;
    height: 100%;
}

.content-teaser-module .card--image a {
    position: relative;
    display: grid;
}

.content-teaser-module .card__text {
    width: 100%;
    grid-column: 1;
    grid-row: 1;
    align-content: end;
    padding: var(--space-m);
    z-index: 1;
    hyphens: auto;
}

.content-teaser-module .card--top .card__text {
    display: grid;
    align-content: start;
    grid-template-rows: auto 1fr;
}

.content-teaser-module .card--image .card__background {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    height: 100%;
    width: 100%;
    z-index: 0;
    border-radius: var(--space-s);
    overflow: hidden;
}

.content-teaser-module .card--image .card__background img {
    --_top: 30%;
    --_bottom: 84%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    mask-image: linear-gradient(
        to bottom,
        rgb(0 0 0) var(--_top),
        rgb(0 0 0 / 25%) var(--_bottom));
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.content-teaser-module .card--teaser:has(.card__link):hover {
   transform: scale(1.03) translateZ(0);
  cursor: pointer;
}

.content-teaser-module .card--image:has(.card__link):hover .card__background img {
    transform: scale(1.05) translateZ(0);
    --_top: 50%;
    --_bottom: 90%;
}

.content-teaser-module .card__description {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.content-teaser-module .card--teaser .card__arrow {
    float: right;
    margin-right: -0.5rem;
    margin-bottom: -0.75rem;
    width: 100%;
    height: auto;
    width: clamp(48px, 10vw, 80px);
    min-width: clamp(48px, 10vw, 80px);
    align-self: end;
    aspect-ratio: 1;
}

.content-teaser-module .card.swiper-slide {
  display: grid;
  height: initial;
}

.content-teaser-module .swiper.swiper {
    width: calc(100% - 16px);
    overflow: visible;
    margin-left: 0;
}

@media (min-width: 25em) {
  .content-teaser-module .swiper.swiper {
    width: calc(100% - 32px);
  }
}

@media (min-width: 40em) {
  .content-teaser-module .swiper.swiper {
    width: min(1266px, calc(100% - 100px));
  }
}

@media (min-width: 60em) {
  .content-teaser-module .swiper.swiper {
    width: min(1266px, calc(100% - 100px));
  }
}

.content-teaser-module .card-grid.swiper-wrapper {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.content-teaser-module .swiper-nav {
 color: var(--wvib-red); 
 display: flex;
  gap: 0.625rem;
  min-height: 48px;
}

.content-teaser-module .card-grid--light + .swiper-nav {
 color: white; 
}

.content-teaser-module .swiper--dormant .swiper-nav button {
  display: none;
}