/* Top Awarded Wines — 1:1 Figma spec */
.awards-top-wines {
  padding-top: clamp(60px, 6.25vw, 120px);
  padding-bottom: clamp(60px, 6.25vw, 120px);
  background-image: url("../../../assets/icons/hronology.png");
}

.awards-top-wines__wrapper {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: clamp(40px, 7.96875vw, 153px);
  align-items: start;
}

/* Left intro column — sticky */
.awards-top-wines__intro {
  padding-top: 15px;
  position: sticky;
  top: 120px;
  max-width: 440px;
}
.awards-top-wines__intro .subtitle__12 {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #272f0f;
  margin-bottom: 22px;
  line-height: 11.2px;
}
.awards-top-wines__title {
  font-family: "trajan-pro-3", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1.92px;
  line-height: 1.177;
  text-transform: uppercase;
  color: #272f0f;
  margin: 0 0 22px 0;
  max-width: 440px;
}
.awards-top-wines__description {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #2f3624;
  opacity: 0.8;
  letter-spacing: -0.14px;
  line-height: normal;
  max-width: 440px;
}
.awards-top-wines__description p:not(:last-of-type) {
  margin-bottom: 12px;
}

/* Right list column */
.awards-top-wines__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1077px;
}

/* Row layout per Figma — 125px high with border-bottom; first item has border-top */
.awards-top-wines__item {
  display: grid;
  grid-template-columns: 78px 1fr auto auto;
  column-gap: 18px;
  align-items: center;
  height: 125px;
  border-bottom: 1px solid rgba(47, 54, 36, 0.25);
  position: relative;
}
.awards-top-wines__item:first-child {
  border-top: 1px solid rgba(47, 54, 36, 0.25);
}

/* Rank — Cinzel 36px */
.awards-top-wines__rank {
  font-family: "trajan-pro-3", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1.44px;
  line-height: 54px;
  color: rgba(47, 54, 36, 0.45);
  padding: 0;
}
.awards-top-wines__rank::before {
  content: none;
}

/* Info column — name + varieties stacked */
.awards-top-wines__info {
  min-width: 0;
}
.awards-top-wines__info a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.2s ease;
}
.awards-top-wines__info a:hover {
  opacity: 0.7;
}
.awards-top-wines__name {
  font-family: "trajan-pro-3", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.84px;
  line-height: 42px;
  color: #2f3624;
  text-transform: none;
  margin: 0;
}
.awards-top-wines__varieties {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.52px;
  line-height: 19.5px;
  color: rgba(47, 54, 36, 0.65);
  margin: 0;
}

/* Medals — 14×14 round circles, three distinct colors (gold, silver, bronze) */
.awards-top-wines__medals {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: flex-end;
}
.awards-top-wines__medal {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d4a93e; /* default = gold */
  border: 1px solid #8a6d1c;
  box-shadow: inset 0 1px 2px 1px rgba(255, 255, 255, 0.5);
  display: inline-block;
  flex-shrink: 0;
}
.awards-top-wines__medal--gold {
  background: #d4a93e;
  border-color: #8a6d1c;
}
.awards-top-wines__medal--silver {
  background: #b8bbc0;
  border-color: #8e9197;
}
.awards-top-wines__medal--bronze {
  background: #b87333;
  border-color: #6f4112;
}

/* Count number — Cinzel 22px */
.awards-top-wines__medals-count {
  margin-left: 14px;
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.44px;
  line-height: 33px;
  color: #2f3624;
  min-width: 14px;
  text-align: right;
}

/* Responsive */
@media only screen and (max-width: 1100px) {
  .awards-top-wines__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .awards-top-wines__intro {
    position: static;
    max-width: 100%;
  }
  .awards-top-wines__title,
  .awards-top-wines__description {
    max-width: 100%;
  }
}
@media only screen and (max-width: 575px) {
  .awards-top-wines__item {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 8px;
    height: auto;
    padding: 20px 0;
    align-items: center;
  }
  .awards-top-wines__rank {
    font-size: 28px;
    line-height: 1;
    grid-row: 1 / span 2;
  }
  .awards-top-wines__name {
    font-size: 22px;
    line-height: 1.2;
  }
  .awards-top-wines__medals {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .awards-top-wines__medals-count {
    margin-left: 10px;
    font-size: 18px;
  }
}
