/* =========================
   RESET
   ========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   BASE (MATCH HOME)
   ========================= */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.5;
}

/* =========================
   NAV
   ========================= */

.home-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  border-bottom: 1px solid #e5e5e5;
}

.home-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #0066cc;
}

.home-nav a.active {
  text-decoration: underline;
}

/* =========================
   HERO
   ========================= */

.racing-hero {
  max-width: 1200px;
  margin: 36px auto 20px;
  padding: 0 24px;
}

.racing-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* =========================
   INTRO
   ========================= */

.racing-intro {
  max-width: 900px;
  margin: 48px auto;
  padding: 0 24px;
  text-align: center;
}

.racing-intro h1 {
  font-size: 34px;
  margin-bottom: 14px;
}

.racing-intro p {
  font-size: 18px;
  color: #444;
}

/* =========================
   TILE GRID (3 x 2)
   ========================= */

.racing-grid {
  max-width: 1200px;
  margin: 60px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.racing-tile {
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.racing-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.racing-tile span {
  display: block;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
}

.racing-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .racing-grid {
    grid-template-columns: 1fr;
  }

  .racing-hero img {
    height: 240px;
  }
}
