.history-page {
  min-height: 100vh;
  background: linear-gradient(110deg, #0b94f0 0%, #2f8a2f 100%) fixed;
}

/* Pink "Go to home" button in the nav pill */
.pill-nav a.home-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 28px 0 18px;
  background: #ff1f6d;
  border-radius: 999px;
}

.home-star {
  font-size: 1.3rem;
}

.history {
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 32px 90px;
  text-align: center;
}

.history h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.intro {
  max-width: 620px;
  margin: 0 auto 44px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.search {
  width: min(440px, 100%);
  height: 60px;
  padding: 0 28px;
  margin-bottom: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 45, 80, 0.45);
  color: #fff;
  font-family: inherit;
  font-size: 1.1rem;
  text-align: center;
  outline: none;
}

.search::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search:focus {
  background: rgba(0, 45, 80, 0.65);
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  text-align: left;
}

.status {
  margin-top: 30px;
  font-size: 1.1rem;
}

/* Edition card */
.edition-card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 45, 80, 0.45);
  border-radius: 28px;
  overflow: hidden;
}

.card-photo {
  height: 180px;
  background: rgba(0, 25, 40, 0.65);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 28px 28px;
}

.card-body h3 {
  font-family: "Kanit", "Segoe UI", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 1rem;
  line-height: 1.3;
}

/* Smaller country badge for the cards */
.edition-card .badge {
  position: static;
  margin-top: 14px;
}

.edition-card .star {
  width: 48px;
  height: 48px;
}

.edition-card .star::after {
  inset: 4px;
}

.edition-card .country {
  height: 32px;
  margin-left: -22px;
  padding: 0 16px 0 28px;
  font-size: 1rem;
}

@media (max-width: 700px) {
  .history {
    padding: 130px 18px 60px;
  }
}