:root {
  color-scheme: light;
  --bg: #0f1115;
  --surface: #151922;
  --surface-alt: #1b202c;
  --text: #f7f7f2;
  --muted: #b5bcc7;
  --accent: #f1c17b;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.events-hero {
  padding: 5rem 1.5rem 3rem;
  background: radial-gradient(circle at top, rgba(241, 193, 123, 0.2), transparent
        55%),
    var(--bg);
}

.events-hero__content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.events-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.events-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.events-hero__subtitle {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.events-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.events-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.events-section__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
}

.events-section__header p {
  color: var(--muted);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.event-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-card__date {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.event-card__title {
  font-size: 1.4rem;
  font-weight: 600;
}

.event-card__description {
  color: var(--muted);
}

.events-empty {
  margin-top: 2rem;
  padding: 2rem;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed var(--border);
  color: var(--muted);
  background: var(--surface-alt);
}

.footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
}

.footer__content a {
  color: var(--accent);
}

@media (min-width: 640px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-section__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .events-section__header p {
    max-width: 420px;
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
