/* Cards Listing */
.featured-teasers__teasers > .field__items {
  --columns: 1;
  display: grid;
  gap: var(--spacing);
  grid-template-columns: repeat(var(--columns), 1fr);
}

@media screen and (min-width: 768px) {
  .featured-teasers__teasers > .field__items {
    --columns: 2;
  }
}

@media screen and (min-width: 1024px) {
  .featured-teasers__teasers > .field__items {
    --columns: 3;
  }
}

.featured-teasers__teasers > .field__items > .field__item + .field__item {
  margin-top: 0;
}

/* Teaser styling */
.featured-teaser {
  position: relative;
  border-radius: var(--border-radius);
}

.featured-teaser__image {
  position: relative;
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
}
.featured-teaser__image img {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.featured-teaser__link > a {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  border: var(--border);
  color: var(--color-white);
  border-color: var(--color-white);
  border-radius: 999rem;
  width: var(--spacing-largest);
  .lgd-icon svg {
    width: var(--spacing-small);
    position: relative;
    left: 2px;
  }
  .lgd-icon svg path {
    stroke: var(--color-white);
  }
}
.featured-teaser__link > a .lgd-icon svg {
  width: var(--spacing-small);
  position: relative;
  left: 2px;
}
.featured-teaser__link > a .lgd-icon svg path {
  stroke: var(--color-white);
}

.featured-teaser .featured-teaser__link > a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.lgd-page-section .featured-teaser {
  background-color: var(--color-accent-dark);
  color: var(--color-white);
  transition: var(--transition-time);
}

.lgd-page-section .featured-teaser:has(.featured-teaser__link > a:focus),
.lgd-page-section .featured-teaser:has(.featured-teaser__link > a:hover) {
  background-color: var(--color-link);
  box-shadow: 0px 6px 12px 15px rgba(0, 0, 0, 0.15);
}
.lgd-page-section
  .featured-teaser:has(.featured-teaser__link > a:focus)
  .featured-teaser__image::after,
.lgd-page-section
  .featured-teaser:has(.featured-teaser__link > a:hover)
  .featured-teaser__image::after {
  display: none;
}
.lgd-page-section
  .featured-teaser:has(.featured-teaser__link > a:focus)
  .featured-teaser__link,
.lgd-page-section
  .featured-teaser:has(.featured-teaser__link > a:hover)
  .featured-teaser__link {
  > a {
    border-color: var(--color-yellow);
    background-color: var(--color-yellow);
  }
  > a .lgd-icon svg path {
    stroke: var(--color-black);
  }
}
.lgd-page-section
  .featured-teaser:has(.featured-teaser__link > a:focus)
  .featured-teaser__link
  a {
  box-shadow: none;
}
