.athleteMoments {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(64px, 8vw, 104px) auto 96px;
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid #e3eee7;
  border-radius: 28px;
  background: linear-gradient(145deg, #f7fbf8 0%, #fff 54%, #eef7f1 100%);
  box-shadow: 0 24px 70px rgba(18, 73, 44, .08);
}

.athleteMomentsHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.athleteMomentsEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #18834b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.athleteMomentsEyebrow::before {
  width: 22px;
  height: 2px;
  background: #f1a72c;
  content: "";
}

.athleteMomentsHead h2 {
  margin: 10px 0 7px;
  color: #123d2a;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.athleteMomentsHead p {
  margin: 0;
  color: #607269;
  font-size: 15px;
}

.athleteMomentsCount {
  display: grid;
  min-width: 82px;
  padding: 12px 15px;
  justify-items: center;
  border: 1px solid #d9e9df;
  border-radius: 16px;
  background: rgba(255, 255, 255, .8);
  color: #166b40;
}

.athleteMomentsCount b {
  font-size: 25px;
  line-height: 1;
}

.athleteMomentsCount small {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.athleteMomentsGrid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 176px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.athleteMoment {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #dce9df;
  color: white;
  isolation: isolate;
}

.athleteMomentFeatured {
  grid-column: span 2;
  grid-row: span 2;
}

.athleteMoment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.athleteMomentShade {
  position: absolute;
  z-index: 1;
  inset: 25% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 24, 16, .76) 100%);
}

.athleteMomentCaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: grid;
  gap: 6px;
}

.athleteMomentCaption small {
  color: #d8f1df;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.athleteMomentCaption small i {
  padding: 0 3px;
  color: #ffc45e;
  font-style: normal;
}

.athleteMomentCaption strong {
  max-width: 27ch;
  font-size: 14px;
  line-height: 1.3;
}

.athleteMomentFeatured .athleteMomentCaption strong {
  font-size: 20px;
}

.athleteMomentArrow {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(10, 37, 25, .22);
  font-size: 17px;
  transition: background .2s ease, transform .2s ease;
}

.athleteMoment:hover img,
.athleteMoment:focus-visible img {
  transform: scale(1.055);
}

.athleteMoment:hover .athleteMomentArrow,
.athleteMoment:focus-visible .athleteMomentArrow {
  transform: rotate(45deg);
  background: #16824b;
}

.athleteMoment:focus-visible {
  outline: 3px solid #f1a72c;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .athleteMomentsGrid {
    grid-auto-rows: 160px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .athleteMoments {
    width: min(100% - 28px, 520px);
    margin: 52px auto 64px;
    padding: 24px 16px 18px;
    border-radius: 22px;
  }

  .athleteMomentsHead {
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .athleteMomentsHead p {
    max-width: 28ch;
    font-size: 13px;
    line-height: 1.5;
  }

  .athleteMomentsCount {
    min-width: 66px;
    padding: 10px;
  }

  .athleteMomentsGrid {
    grid-auto-rows: 145px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .athleteMomentFeatured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .athleteMoment,
  .athleteMomentFeatured {
    border-radius: 14px;
  }

  .athleteMomentCaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .athleteMomentCaption strong,
  .athleteMomentFeatured .athleteMomentCaption strong {
    font-size: 13px;
  }

  .athleteMomentCaption small {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .athleteMoment img,
  .athleteMomentArrow {
    transition: none;
  }
}
