/* Cser TOP5 — an editorial shelf, not a commerce card grid. */
.cser-top5 {
  box-sizing: border-box;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 40px 40px 48px;
  color: var(--brand-dark, #192321);
}

.cser-top5 *,
.cser-top5 *::before,
.cser-top5 *::after {
  box-sizing: border-box;
}

.cser-top5__heading {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  margin: 0 0 38px;
  color: var(--brand-dark, #192321);
  font-family: var(--font-title, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-align: center;
}

.cser-top5__heading::before,
.cser-top5__heading::after {
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  background: var(--border-color, rgba(25, 35, 33, 0.16));
  content: "";
}

.cser-top5__heading span {
  color: var(--brand-teal, #14777a);
}

.cser-top5__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cser-top5__item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.cser-top5__link {
  display: block;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.cser-top5__link:focus-visible {
  outline: 3px solid var(--brand-teal, #14777a);
  outline-offset: 5px;
}

.cser-top5__art {
  position: relative;
  display: flex;
  height: clamp(200px, 23vw, 305px);
  align-items: flex-end;
  justify-content: center;
  padding: 48px 0 0 22%;
  isolation: isolate;
}

.cser-top5__rank {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  color: #d7e5dc;
  font-family: var(--font-title, Georgia, serif);
  font-size: clamp(110px, 13.5vw, 188px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1;
  pointer-events: none;
}

.cser-top5__cover {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 180ms ease;
}

.cser-top5__title {
  margin: 18px 0 0;
  color: inherit;
  font-family: var(--font-body, sans-serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.cser-top5__author {
  margin: 9px 0 0;
  color: var(--text-muted, rgba(25, 35, 33, 0.66));
  font-family: var(--font-body, sans-serif);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-align: center;
}

.cser-top5__link:hover .cser-top5__title,
.cser-top5__link:focus-visible .cser-top5__title {
  color: var(--brand-teal, #14777a);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (hover: hover) {
  .cser-top5__link:hover .cser-top5__cover {
    transform: translateY(-3px);
  }
}

@media (max-width: 1000px) {
  .cser-top5 {
    padding-right: 24px;
    padding-left: 24px;
  }

  .cser-top5__list {
    gap: 32px 16px;
  }
}

@media (max-width: 767px) {
  .cser-top5 {
    padding: 32px 20px 40px;
  }

  .cser-top5__heading {
    gap: 12px;
    margin-bottom: 28px;
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  }

  .cser-top5__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .cser-top5__art {
    height: clamp(175px, 48vw, 290px);
    padding-top: 38px;
    padding-left: 20%;
  }

  .cser-top5__rank {
    font-size: clamp(100px, 29vw, 172px);
  }

  .cser-top5__title {
    margin-top: 14px;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cser-top5__cover {
    transition: none;
  }

  .cser-top5__link:hover .cser-top5__cover {
    transform: none;
  }
}