.entry-teaser {
  font-size: 1rem;
  word-break: break-word;
  hyphens: auto;
  display: block;
  background: none;
  position: relative;
  inline-size: 100%;
  max-inline-size: var(--content-width-text);
}

@media print {
  .entry-teaser {
    page-break-inside: avoid;
  }
}

.entry-teaser:hover,
.entry-teaser:focus {
  color: #121314;
  animation: none;
  background: none;
}

.entry-teaser__header + .entry-teaser__image {
  margin-top: 1.5rem;
}

.entry-teaser__image {
  margin: 0;
  transition: transform 0.25s ease;
}
.entry-teaser__link:hover .entry-teaser__image,
.entry-teaser__link:focus .entry-teaser__image,
.entry-teaser--legacy-photo:hover .entry-teaser__image,
.entry-teaser--legacy-photo:focus .entry-teaser__image {
  transform: rotate(2.5deg);
}
.entry-teaser:nth-child(3n+1) .entry-teaser__link:hover .entry-teaser__image,
.entry-teaser:nth-child(3n+1) .entry-teaser__link:focus .entry-teaser__image {
  transform: rotate(-1.5deg);
}
.entry-teaser:nth-child(3n+2) .entry-teaser__link:hover .entry-teaser__image,
.entry-teaser:nth-child(3n+2) .entry-teaser__link:focus .entry-teaser__image {
  transform: rotate(1deg);
}
.entry-teaser__title {
  font-size: var(--font-size-3);
  margin-top: 0.1em;
  margin-bottom: 0;
  position: relative;
  hyphens: auto;
  display: inline;
}
.entry-teaser__title:after {
  content: '';
  position: absolute;
  left: 3%;
  right: -4%;
  bottom: -0.1em;
  height: 0.5em;
  background: #f8e09e;
  z-index: -1;
  transition: all 0.25s ease;
}
.entry-teaser__link {
  text-decoration: none;
}
.entry-teaser__link:hover .entry-teaser__title:after,
.entry-teaser__link:focus .entry-teaser__title:after {
  left: -1%;
  right: -1%;
  bottom: -0.2em;
  height: 0.2em;
  background: currentColor;
  animation: linkanimation 0.5s infinite linear;
  animation-direction: alternate;
}

.entry-teaser--legacy-photo {
  display: inline-block;
  max-width: 17.5rem;
  padding: 0 0 1.7em 0;
  border: 0;
}
.entry-teaser--legacy-photo img {
  display: block;
}
.entry-teaser--legacy-photo .entry-teaser__title {
  font-size: 1rem;
  font-weight: 400;
  position: absolute;
  bottom: 0.25em;
  left: 0.25em;
  padding: 0.25em;
  z-index: 1;
}
