.hero-ranker-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
  margin-top: 13px;
  padding: 8px 12px;
  border: 1px solid #7891b4;
  border-radius: 7px;
  background: #152a4b;
  color: #f9fbff;
  font-size: .83rem;
  font-weight: 750;
  line-height: 1.28;
  text-decoration: none;
}

.hero-ranker-link:hover {
  border-color: #ffc4a5;
  background: #1c3861;
  text-decoration: underline;
  text-underline-offset: .17em;
}

.hero-ranker-ranks {
  color: #ffd2b9;
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-ranker-link .icon {
  color: #ffb991;
}

.hero-ranker-link + .hero-note {
  margin-top: 8px;
}

.rankers-section.section {
  padding-block: clamp(33px, 4.7vw, 66px) clamp(43px, 6.1vw, 83px);
  border-bottom: 1px solid #e3ebf5;
  background: linear-gradient(180deg, #edf5ff 0%, #f6faff 59%, #fff 100%);
}

.rankers-section .section-head {
  max-width: 770px;
  margin-bottom: clamp(19px, 2.25vw, 30px);
}

.rankers-section .section-title {
  font-size: clamp(1.95rem, 3.45vw, 3.1rem);
  line-height: 1.11;
  text-wrap: balance;
}

.ranker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.ranker-card {
  --ranker-photo-size: clamp(160px, 17.4vw, 224px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cfdeef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 21px #1738590c;
}

.ranker-rank {
  display: flex;
  min-height: 81px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px clamp(14px, 1.75vw, 24px);
  border-bottom: 1px solid #2f547b;
  background: linear-gradient(106deg, #0c1b36, #173663);
  color: #fff;
}

.ranker-air {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(5px, .65vw, 9px);
  color: #eef4ff;
  font-size: clamp(.76rem, 1.3vw, .96rem);
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap;
}

.ranker-air strong {
  color: #ffad82;
  font-size: clamp(2.55rem, 4.25vw, 3.85rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: .99;
  letter-spacing: -.064em;
}

.ranker-year {
  max-width: 13ch;
  color: #e4efff;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.36;
  text-align: right;
  text-wrap: balance;
}

.ranker-card .mentor-photo {
  height: var(--ranker-photo-size);
  aspect-ratio: auto;
  margin-top: 12px;
  justify-items: center;
}

.ranker-card .mentor-photo img {
  width: min(100%, var(--ranker-photo-size));
  object-position: center top;
}

.ranker-name {
  margin: 3px 10px 18px;
  color: var(--ink);
  font-size: clamp(1.03rem, 1.65vw, 1.32rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.ranker-team {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: clamp(15px, 2.1vw, 23px);
  padding: 9px clamp(10px, 1.65vw, 21px);
  border: 1px solid #d5e2f1;
  border-radius: 8px;
  background: #f6faff;
}

.ranker-team-photo {
  display: block;
  width: 55px;
  height: 55px;
  overflow: hidden;
  margin: 0;
  border: 1px solid #ccdaec;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  object-position: center top;
}

.ranker-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ranker-team strong {
  color: var(--ink);
  font-size: .93rem;
  font-weight: 800;
  line-height: 1.4;
}

.ranker-team p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.45;
}

.ranker-team .section-link {
  margin-top: 0;
}

.rankers-section .rank-source {
  margin-top: 12px;
  font-size: .8rem;
}

@media (max-width: 650px) {
  .ranker-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .ranker-card {
    --ranker-photo-size: 92px;
    display: grid;
    grid-template-columns: calc(var(--ranker-photo-size) + 20px) minmax(0, 1fr);
    align-items: center;
  }

  .ranker-rank {
    grid-column: 1 / -1;
    min-height: 61px;
    padding-block: 7px;
  }

  .ranker-air strong {
    font-size: 2.55rem;
  }

  .ranker-card .mentor-photo {
    margin: 4px 0 3px 8px;
  }

  .ranker-name {
    margin: 8px 12px 8px 0;
    font-size: 1.12rem;
    text-align: left;
    text-wrap: wrap;
  }

  .ranker-team {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px 10px;
  }

  .ranker-team-photo {
    width: 48px;
    height: 48px;
  }

  .ranker-team .section-link {
    grid-column: 2;
    font-size: .81rem;
  }
}

@media (max-width: 570px) {
  .hero-ranker-link {
    gap: 3px 7px;
    margin-top: 8px;
    padding: 6px 9px;
    font-size: .73rem;
  }

  .hero-ranker-ranks {
    font-size: .7rem;
  }
}
