.avx-seo-landing,
.avx-seo-state {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avx-seo-landing,
.avx-seo-state {
  box-sizing: border-box;
  width: min(100% - 2rem, 72rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0 4rem;
  color: #f8fafc;
}

.avx-seo-landing *,
.avx-seo-state * {
  box-sizing: border-box;
}

.avx-seo-header {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.avx-seo-header::before {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgb(248 113 113 / 35%);
  border-radius: 999px;
  color: #fecaca;
  background: rgb(127 29 29 / 24%);
  content: "Agenda AVX";
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.avx-seo-header h1,
.avx-seo-state h1 {
  max-width: 18ch;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.avx-seo-header p,
.avx-seo-state p {
  margin: 0.6rem 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
}

.avx-seo-inventory {
  padding: 1.25rem 0 2.5rem;
}

.avx-seo-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avx-seo-event {
  min-width: 0;
}

.avx-seo-event article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%));
  box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 25%);
}

.avx-seo-event h2 {
  margin: 0.9rem 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.avx-seo-event h2:first-child {
  margin-top: 0;
}

.avx-seo-event img {
  order: -1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.9rem;
  object-fit: cover;
  background: #1f2937;
}

.avx-seo-event a,
.avx-seo-related a,
.avx-seo-state a {
  color: #f8fafc;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.avx-seo-event-meta {
  margin: 0 0 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.avx-seo-event-cta,
.avx-seo-state button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.7rem 1rem;
  border: 1px solid #f87171;
  border-radius: 999px;
  color: #fff;
  background: #b91c1c;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.avx-seo-empty {
  padding: 1.25rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1rem;
  color: #cbd5e1;
  background: rgb(255 255 255 / 5%);
  line-height: 1.6;
}

.avx-seo-related {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.avx-seo-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avx-seo-related a,
.avx-seo-state > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.avx-seo-state {
  display: flex;
  max-width: 42rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

.avx-seo-state button {
  margin-top: 0.5rem;
}

.avx-seo-event a:focus-visible,
.avx-seo-related a:focus-visible,
.avx-seo-landing summary:focus-visible,
.avx-seo-state a:focus-visible,
.avx-seo-state button:focus-visible {
  outline: 3px solid #fde68a;
  outline-offset: 4px;
}

.avx-seo-today,
.avx-seo-weekend,
.avx-seo-zones,
.avx-seo-genres,
.avx-seo-halloween-guide,
.avx-seo-faqs {
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 4%);
  overflow-wrap: anywhere;
}

.avx-seo-landing details {
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding: 0.85rem 0;
}

.avx-seo-landing summary { cursor: pointer; font-weight: 700; }
.avx-seo-landing ul,
.avx-seo-landing ol { max-width: 100%; padding-inline-start: 1.25rem; }

@media (hover: hover) {
  .avx-seo-event-cta:hover,
  .avx-seo-state button:hover {
    background: #dc2626;
  }

  .avx-seo-event h2 a:hover,
  .avx-seo-related a:hover,
  .avx-seo-state a:hover {
    color: #fecaca;
  }
}

@media (max-width: 52rem) {
  .avx-seo-events {
    grid-template-columns: 1fr;
  }

  .avx-seo-event article {
    min-height: 0;
  }
}

@media (max-width: 20rem) {
  .avx-seo-landing,
  .avx-seo-state {
    width: calc(100% - 1.25rem);
  }

  .avx-seo-today,
  .avx-seo-weekend,
  .avx-seo-zones,
  .avx-seo-genres,
  .avx-seo-halloween-guide,
  .avx-seo-faqs { padding: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .avx-seo-landing *,
  .avx-seo-state * {
    scroll-behavior: auto !important;
  }
}
