/* Cards to the posts of a series, at the foot of each of its posts and in the
   blog list's dossier. The same cards as the newest articles draw for themselves. */

.series-read-next {
  max-width: 72rem;
  margin: 0 auto;
  padding: 24px var(--spacing-xl) 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.series-read-next h2 {
  margin: 0;
  font-family: var(--font-family-bricolage);
  font-size: 26px;
  letter-spacing: -0.02em;
}

.series-read-next__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  border-radius: 26px;
  background: white;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 10px 40px rgb(0 0 0 / 5%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.series-read-next__card:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgb(0 0 0 / 8%);
}

.series-read-next__shot {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 18px;
  background: #f7f7f5;
}

.series-read-next__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: white;
  box-shadow: 0 2px 12px rgb(0 0 0 / 6%);
}

.series-read-next__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 36px);
}

.series-read-next__chip {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 99px;
  background: #edf8ff;
  color: #0e3dd5;
  font-size: 12px;
  font-weight: 600;
}

.series-read-next__title {
  font-family: var(--font-family-bricolage);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.series-read-next__teaser {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.series-read-next__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
}

.series-read-next__points li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.series-read-next__points li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #9fe870;
  transform: translateY(-1px);
}

.series-read-next__cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--interactive-primary);
  color: white;
  font-size: 14.5px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .series-read-next__card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .series-read-next__card,
  .series-read-next__card:hover {
    transition: none;
    transform: none;
  }
}
