.restoration-laureates {
  --restoration-laureates-accent: #922936;
  --restoration-laureates-gold: #bfa36e;
  --restoration-laureates-text: #29292a;
  color: var(--restoration-laureates-text);
  width: 100%;
}

.restoration-laureates__caption {
  color: var(--restoration-laureates-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  margin: 0 0 8px;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .restoration-laureates__caption {
    margin-bottom: 15px;
  }
}

.restoration-laureates__title {
  font-family: "PlayfairDisplay", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 28px;
}

.restoration-laureates__viewport {
  height: 620px;
  height: clamp(420px, 60vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}

.restoration-laureates__viewport::-webkit-scrollbar {
  display: none;
}

.restoration-laureates__list {
  border-left: 1px solid var(--restoration-laureates-gold);
  margin-left: 5px;
  overflow-anchor: none;
  padding-left: 18px;
}

.restoration-laureates__item {
  margin: 0 0 28px;
  position: relative;
}

.restoration-laureates__item::before {
  background: #fff;
  border: 2px solid var(--restoration-laureates-gold);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: -24px;
  position: absolute;
  top: 24px;
  width: 10px;
  z-index: 2;
}

.restoration-laureates__item:last-child {
  margin-bottom: 0;
}

.restoration-laureates__card {
  background: #f7f4ee;
  box-shadow: 0 6px 18px rgba(41, 41, 42, 0.08);
  overflow: hidden;
}

.restoration-laureates__media {
  aspect-ratio: 3 / 2;
  outline: none;
  position: relative;
}

.restoration-laureates__media:focus-visible {
  box-shadow: 0 0 0 3px var(--restoration-laureates-gold);
}

.restoration-laureates__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.restoration-laureates__address {
  align-items: center;
  background: rgba(41, 41, 42, 0.82);
  color: #fff;
  display: flex;
  font-size: 13px;
  inset: 0;
  justify-content: center;
  line-height: 1.35;
  opacity: 0;
  padding: 20px;
  position: absolute;
  text-align: center;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.restoration-laureates__media:hover .restoration-laureates__address,
.restoration-laureates__media:focus .restoration-laureates__address {
  opacity: 1;
}

.restoration-laureates__year {
  background: var(--restoration-laureates-accent);
  bottom: -18px;
  color: #fff;
  font-family: "PlayfairDisplay", serif;
  font-size: 22px;
  font-weight: 600;
  left: 16px;
  line-height: 36px;
  padding: 0 10px;
  position: absolute;
  z-index: 2;
}

.restoration-laureates__body {
  min-height: 178px;
  padding: 32px 16px 16px;
}

.restoration-laureates__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.restoration-laureates__card-title {
  font-family: "PlayfairDisplay", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 14px;
}

.restoration-laureates__link {
  color: var(--restoration-laureates-accent);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.restoration-laureates__link:hover,
.restoration-laureates__link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .restoration-laureates {
    margin-bottom: 36px;
  }

  .restoration-laureates__title {
    font-size: 24px;
    margin-bottom: 20px;
    max-width: 420px;
  }

  .restoration-laureates__viewport {
    height: auto !important;
    overflow: visible;
  }

  .restoration-laureates__list {
    border-left: 0;
    display: flex;
    gap: 16px;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 0 14px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--restoration-laureates-gold) #f0ece4;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .restoration-laureates__address {
    inset: auto 0 0;
    justify-content: flex-start;
    min-height: 40px;
    opacity: 1;
    padding: 8px 12px 8px 72px;
    text-align: left;
  }

  .restoration-laureates__item {
    flex: 0 0 clamp(240px, 72vw, 300px);
    margin: 0;
    scroll-snap-align: start;
  }

  .restoration-laureates__item::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .restoration-laureates__title {
    font-size: 22px;
  }

  .restoration-laureates__item {
    flex-basis: min(82vw, 280px);
  }
}

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

  .restoration-laureates__viewport {
    scrollbar-color: var(--restoration-laureates-gold) #f0ece4;
    scrollbar-width: thin;
  }

  .restoration-laureates__viewport::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
}
