/* =========================================================
   Challenge Coins Landing Page
========================================================= */

.challenge-jump-nav {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d8e0e8;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.challenge-jump-nav__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #132d4d;
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.challenge-jump-nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
}

.challenge-jump-nav__links a {
  display: inline-block;
  padding: 0.38rem 0.72rem;
  border: 1px solid #b9c7d5;
  border-radius: 999px;
  color: #132d4d;
  background: #f8fafc;
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.challenge-jump-nav__links a:hover,
.challenge-jump-nav__links a:focus-visible {
  border-color: #b59b55;
  background: #faf7ed;
  color: #0f2d4d;
}

.challenge-jump-nav__links a:focus-visible {
  outline: 2px solid #173f69;
  outline-offset: 2px;
}

.collection-engraving-note {
  margin: 0 0 0.65rem;
  padding: 0.7rem 1rem;
  color: #132d4d;
  background: #faf7ed;
  border: 1px solid #d8c99b;
  border-left: 4px solid #b59b55;
  border-radius: 8px;
  font-size: 1.08rem;
  line-height: 1.4;
  text-align: center;
}

.collection-engraving-note + .cat-section {
  margin-top: 0.75rem;
}

.challenge-coin-section {
  scroll-margin-top: 1rem;
}

.challenge-coin-section + .challenge-coin-section {
  margin-top: 1.75rem;
}

.challenge-coin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.challenge-coin-grid .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.challenge-coin-image-wrap {
  position: relative;
  width: 100%;
}

.challenge-coin-grid .product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.challenge-coin-grid .product-card h3 {
  margin: 0.3rem 0 0.65rem;
  line-height: 1.25;
}

.challenge-coin-grid .card-action {
  margin-top: auto;
}

.coin-title-ending {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .challenge-coin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .challenge-jump-nav {
    padding: 0.75rem;
  }

  .challenge-jump-nav__links {
    gap: 0.4rem;
  }

  .challenge-jump-nav__links a {
    font-size: 0.84rem;
  }

  .challenge-coin-grid {
    grid-template-columns: 1fr;
  }
}
