body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #092354;
  color: #111827;
}

header {
  background: #f3f4f6;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-logo img {
  height: 88px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: #111827;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

nav a:hover {
  color: #006d85;
}

a {
  color: #006d85;
  text-decoration: underline;
  cursor: pointer;
}

[data-route],
[data-lightbox-src] {
  cursor: pointer;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1.5rem;
  background: #ffffff;
}

h1,
h2 {
  color: #006d85;
}

.highlight {
  border: 2px solid #006d85;
  padding: 1.2rem;
  border-radius: 14px;
  background: #ffffff;
}

.banner {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.carousel {
  position: relative;
  margin-bottom: 1.5rem;
}

.carousel img {
  display: block;
  width: 100%;
  height: 320px;
  aspect-ratio: 11 / 3.2;
  object-fit: cover;
  border-radius: 14px;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 8px;
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}

.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-intro {
  font-size: 1.125rem;
}

.event-meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.event-meta-icons img,
.community-link img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.community-link img {
  width: 32px;
  height: 32px;
  margin-right: 0.35rem;
}

.compact-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(90px, 130px);
  gap: 0.75rem;
  align-items: center;
}

.compact-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.compact-event-details p {
  margin: 0.25rem 0 0;
}

.compact-event-image {
  display: block;
  width: 100%;
  height: 70px;
  aspect-ratio: 13 / 7;
  object-fit: cover;
  border-radius: 8px;
  margin: 0;
}

.mailing-list-frame {
  width: 100%;
  height: 275px;
  border: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.list-img {
  display: block;
  width: 100%;
  height: 140px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1rem;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}

.ticket-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #006d85;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.cta-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

input[type=email] {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  width: 100%;
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
  background: #f3f4f6;
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.9rem;
}

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

  .carousel img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  header {
    padding: 0.8rem 1rem;
  }

  .carousel img {
    height: 180px;
  }

  .compact-event {
    grid-template-columns: 1fr;
  }

  .compact-event-actions {
    order: 3;
  }

}

/* Oxford identity; the original layout remains intentionally familiar. */
:root { color-scheme: light; }
body { line-height: 1.6; }
header { border-bottom: 4px solid #f2b313; }
.site-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #092354; font-size: 1.4rem; font-weight: 800; line-height: 1.15; }
.site-logo img { flex-shrink: 0; }
h1, h2 { line-height: 1.25; }
nav a[aria-current=page] { color: #006d85; text-decoration: underline; text-underline-offset: 0.35rem; }
.container { min-height: 55vh; }
.banner, .list-img, .carousel img { object-fit: contain; background: #f3f4f6; }
.banner { aspect-ratio: 1172 / 373; }
.carousel { background: #f3f4f6; border-radius: 14px; overflow: hidden; }
.carousel img { height: auto; aspect-ratio: 1172 / 373; }
.carousel-caption { display: block; padding: 0.5rem 3.5rem; margin: 0; text-align: center; font-size: 0.9rem; color: #092354; }
.carousel button { top: auto; bottom: 0.3rem; transform: none; font-size: 1.2rem; }
.carousel .pause { position: static; transform: none; display: block; margin: 0 auto 0.5rem; padding: 0.2rem 0.7rem; font-size: 0.85rem; }
.ticket-btn { background: #f2b313; color: #092354; }
.ticket-btn:hover { background: #ffdc78; }
:focus-visible { outline: 3px solid #006d85; outline-offset: 4px; }
.empty-state { border-left: 4px solid #f2b313; background: #f6f8fa; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
footer { color: #374151; overflow-wrap: anywhere; }
.card h2 a { text-decoration: none; }
@media (max-width: 600px) { .site-logo { font-size: 1.2rem; } .site-logo img { height: 72px; } nav { gap: 0.6rem 1rem; } .container h1 { font-size: 1.65rem; } }
