:root {
  --hillcrest-navy: #0b2a4a;
  --hillcrest-gold: #c9a24d;
  --hillcrest-grey: #f4f6f8;
  --text-dark: #1a1a1a;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--hillcrest-grey);
  color: var(--text-dark);
}

header {
  background: var(--hillcrest-navy);
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 55px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 600;
}

.hero {
  background: white;
  padding: 60px 40px;
  text-align: center;
}

.hero h1 {
  color: var(--hillcrest-navy);
  margin-bottom: 10px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px;
}

.card {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--hillcrest-navy);
}

.card h3 {
  margin-top: 0;
}

.date {
  color: var(--hillcrest-gold);
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

footer {
  background: var(--hillcrest-navy);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }
  nav {
    margin-top: 10px;
  }

/* =========================
   Results Image Gallery
   Safe 16:9 Display
========================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: #000;
  border-radius: 6px;
}

/* Admin cards consistency */
.card {
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.date {
  font-size: 0.9em;
  color: #666;
}

}
