.home-hero,
.events-archive,
.event-single,
.submit-wrap {
  max-width: 1800px;
  width: 80vw;
  margin: 0 auto;
}

.events-navbar a,
.events-links a,
.events-archive a,
.event-single a,
.submit-wrap a,
.home-hero a {
  text-decoration: none;
}

.home-hero h1,
.events-archive h1,
.event-single h1 {
  font-size: 158px;
  text-transform: uppercase;
  color: black;
}

.events-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #E8FF00;
  border-bottom: 2px solid #000;
}

.events-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
}

.burger {
  position: relative;
  width: 24px;
  height: 18px;
  display: none;
  padding: 6px;
  background-color: transparent;
  border: none;
}

.burger span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }

.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.events-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 64px;
  flex: 1;
  justify-content: center;
  transition: max-height .25s ease;
}

.events-links a {
  display: block;
  color: #000;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 18px;
  padding-bottom: 6px;
}

.events-links a.active { border-bottom: 3px solid #000; }
.events-links a:hover { opacity: .85; }

.events-pill {
  display: inline-block;
  background: #000;
  color: #E8FF00;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  max-width: 250px;
}

.events-archive {
  padding: 32px 0;
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: black;
}

.event-row {
  display: grid;
  grid-template-columns: 140px 1fr 200px;
  gap: 64px;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding-bottom: 34px;
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.month {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}

.day {
  font-size: 120px;
  font-weight: 900;
  line-height: .85;
}

.event-title {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.event-desc {
  font-size: 20px;
  opacity: .9;
  margin-bottom: 12px;
}

.event-time {
  font-size: 18px;
  opacity: .7;
}

.cta-col { text-align: right; }
.cta-col .events-pill { white-space: nowrap; }

.event-single {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
}

.event-single .hero { margin-bottom: 16px; }
.event-single .meta { opacity: .8; margin-bottom: 12px; }

.submit-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px;
}

.submit-title {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 16px;
  color: black;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin: 8px 0 14px;
}

.alert.ok { background: #ecffe0; border: 1px solid #b9e3a1; color: black}
.alert.err { background: #ffecec; border: 1px solid #f5b5b5; color: black}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 70px;
  margin-bottom: 48px;
}

.form-grid .row-full { grid-column: 1 / -1; color: black}

.field label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: black;
}

.field input[type="text"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.actions { margin-top: 16px; }
.meta { font-size: 16px; }

.subtitle,
.desc {
  font-size: 36px;
  margin-bottom: 36px;
  color: black;
}

.home-hero {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 32px 0 48px;
}

.button-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.events-submit-page .entry-title,
.events-submit-page .page-title {
  display: none;
}

@media (max-width: 1025px) {
  .home-hero h1,
  .events-archive h1,
  .event-single h1 {
    margin-bottom: 78px;
    font-size: 58px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: anywhere;
  }

  .events-archive { padding: 0; }

  .event-row {
    gap: 24px;
    grid-template-columns: 1fr;
    grid-template-areas: "date" "title" "main" "cta";
  }

  .date-badge {
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: start;
    gap: 12px;
  }

  .month { font-size: 22px; }
  .day { transform: translateY(4px); font-size: 64px; }
  .event-title { font-size: 28px; }
  .event-desc { font-size: 18px; }

  .submit-wrap {
    max-width: 100%;
    width: 92vw;
    padding: 16px 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-grid .row-full { grid-column: 1; }

  .field input[type="text"],
  .field input[type="date"],
  .field select,
  .field textarea {
    font-size: 18px;
  }

  .submit-title { font-size: 32px; margin-bottom: 24px; }

  .submit-wrap .events-pill {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .events-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #E8FF00;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 2px solid #000;
  }
  .events-links.open { max-height: 300px; }
  .events-links li { border-top: 1px solid rgba(0,0,0,0.15); }
  .events-links a { padding: 14px 16px; }
}
