.awards {
  --awards-ground: #00203d;
  --awards-tint: #6fc9e8;
  background: var(--awards-ground);
  color: #fff;
  font-family: var(--font-poppins);
}

/* .awards__inner also carries .hku-container (theme-wide max-width +
   horizontal padding, incl. its own mobile breakpoint) - only the vertical
   padding and layout are this component's own. */
.awards__inner {
  padding-top: var(--spacing-80);
  padding-bottom: var(--spacing-80);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-40);
}

.awards__heading {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-10);
}

.awards__bar {
  width: 44px;
  height: 5px;
  background: var(--awards-tint);
}

.awards__title {
  margin: 0;
  font-family: var(--font-ptserif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.awards__layout {
  display: flex;
  align-items: stretch;
  gap: var(--spacing-20);
}

/* Left: one item shown at a time, swapped by JS (falls back to the first
   award, in full, if JS never runs). The rotated squares are a fixed
   background decoration, independent of which item is active. */
.awards__spotlight {
  position: relative;
  flex: 1 1 58%;
  min-height: 380px;
  border-radius: 8px;
  background: var(--color-dark-red);
  overflow: hidden;
}

.awards__spotlight::before,
.awards__spotlight::after {
  content: "";
  position: absolute;
  transform: rotate(45deg);
  pointer-events: none;
}

.awards__spotlight::before {
  right: -70px;
  bottom: -70px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.awards__spotlight::after {
  right: 150px;
  bottom: 44px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.14);
}

.awards__spotlight-item {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding: var(--spacing-40);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-20);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.awards__spotlight-item.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* Rank on the left, image/badge on the right. */
.awards__spotlight-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* The badge/image is the clearest tell that the highlighted award changed,
   so it stays large and up front rather than a small corner icon. */
.awards__spotlight .awards__badge {
  width: 88px;
  height: 88px;
}

.awards__spotlight .awards__badge img {
  width: 64px;
  height: 64px;
}

.awards__spotlight .awards__rank {
  font-size: 160px;
  color: #fff;
}

.awards__spotlight .awards__description {
  max-width: 420px;
  font-size: 36px;
}

/* Right: the compact list of every award - always vertical. */
.awards__list {
  flex: 1 1 42%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5);
  overflow-y: auto;
}

.awards__list-item {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-10);
  padding: var(--spacing-10) var(--spacing-20);
  border-radius: 6px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.awards__list-item:hover,
.awards__list-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.awards__list-item.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--awards-tint);
}

.awards__list-rank {
  flex-shrink: 0;
  font-family: var(--font-ptserif);
  font-weight: 700;
  font-size: 20px;
  color: var(--awards-tint);
}

.awards__list-desc {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/* Shared rank/badge/description parts, sized per context above. */
.awards__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
}

.awards__rank {
  display: flex;
  align-items: baseline;
  font-family: var(--font-ptserif);
  font-weight: 700;
  line-height: 0.85;
}

.awards__rank span {
  opacity: 0.5;
}

.awards__description {
  margin: 0;
  font-family: var(--font-ptserif);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 900px) {
  .awards__layout {
    flex-direction: column;
  }

  .awards__spotlight {
    min-height: 240px;
  }

  .awards__spotlight .awards__badge {
    width: 72px;
    height: 72px;
  }

  .awards__spotlight .awards__badge img {
    width: 52px;
    height: 52px;
  }

  .awards__spotlight .awards__rank {
    font-size: 72px;
  }

  .awards__spotlight .awards__description {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .awards__inner {
    padding-top: var(--spacing-40);
    padding-bottom: var(--spacing-40);
    gap: var(--spacing-20);
  }

  .awards__title {
    font-size: 28px;
  }

  .awards__list-desc {
    font-size: 13px;
  }
}
