h1 { color: #23395d; }
p { color: #23395d; }

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0;
  padding: 24px;
}

nav {
  margin-bottom: 20px;
}

nav {
  text-align: center;
  background-color: #ffe9ef;
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 20px;
}

nav a {
  color: #ffd3d9;
  font-weight: bold;
  text-decoration: none;
  margin: 0 15px;
}

nav a:hover {
  color: white;
}

/* ✅ IMPORTANT: remove default list spacing and make 3 columns */
.cards {
  list-style: none;          /* hides 1,2,3 if you don't want them */
  padding: 0;
  margin: 20px 0 0 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card styling */
.card {
  border: 2px solid #ffd3d9;
  border-radius: 16px;
  padding: 16px;
}

/* Images fit the card */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 8px 0 12px 0;
}

.card h2 {
  color: #23395d;
  margin: 0 0 8px 0;
}

.page-header {
  text-align: center;
  border: 2px solid #23395d;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
}

.page-header h1:hover {
  color: #ffd3d9;
}

.card h2:hover {
  color: #ffd3d9;
}
.card a:hover {
  text-decoration: none;
}
.card a {
  text-decoration: none;
}
