:root {
  --mint: #9be0d6;
  --mint-soft: #a9e2da;
  --lime: #ebf253;
  --orange: #d8643a;
  --purple: #21085a;
  --ink: #090909;
  --page: #f8fbfb;
  --shadow-sm: 0 8px 22px rgba(27, 18, 55, .10);
  --shadow-lg: 0 18px 45px rgba(27, 18, 55, .16);
  --focus: #4c2baa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}
.container { width: min(100% - 48px, 1280px); max-width: 1280px; padding-inline: 0; margin-inline: auto; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 9999; padding: .65rem 1rem;
  background: #fff; transform: translateY(-150%); border-radius: .3rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; background: var(--mint); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-top {
  min-height: 145px; padding: 24px 0 12px; position: relative;
  display: flex; align-items: flex-start; justify-content: center;
}
.top-link { position: absolute; top: 36px; font-size: 16px; font-weight: 700; text-decoration: none; }
.top-link-left { left: 0; }
.top-link-right { right: 0; }
.top-link-left span { display: inline-block; margin: 0 14px; }
.brand-logo { width: min(455px, 45vw); height: 100px; object-fit: contain; }
.main-nav { padding: 0 0 25px; }
.main-nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.nav-list { display: flex; flex: 1; align-items: center; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: clamp(17px, 1.2vw, 21px); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-list a:hover, .nav-list a:focus { color: var(--orange); }
.nav-list a[aria-current="page"] { color: var(--orange); }
.has-chevron::after { content: ""; display: inline-block; margin-left: 4px; border: 7px solid transparent; border-top-color: var(--orange); transform: translateY(5px); }
.menu-button { border: 0; background: transparent; width: 42px; height: 31px; padding: 0; margin-left: 25px; display: grid; align-content: space-between; }
.menu-button span { height: 3px; width: 100%; background: var(--ink); }

.events-hero {
  min-height: 410px; position: relative; display: flex; align-items: center;
  background: url("../images/events-hero.png") center/cover no-repeat;
  color: #fff;
}
.events-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.08) 100%);
}
.hero-content { position: relative; z-index: 1; padding-left: 50px; }
.events-hero h1 { margin: 0 0 12px; font-size: clamp(52px, 4.5vw, 72px); font-weight: 800; letter-spacing: -2px; text-shadow: 0 4px 4px #111; }
.events-hero p { max-width: 850px; margin: 0; font-size: clamp(20px, 1.55vw, 25px); font-weight: 700; text-shadow: 0 2px 3px #111; }
.section-space { padding: 70px 0 45px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading h2, .calendar-cta h2 { margin: 0; font-size: clamp(34px, 2.7vw, 46px); font-weight: 800; text-transform: uppercase; }
.view-switch { display: flex; padding: 5px; border: 1px solid #777; border-radius: 50rem; min-width: 420px; background: #fff; box-shadow: 0 5px 16px rgba(0,0,0,.05); }
.view-button { flex: 1; min-height: 54px; border: 0; border-radius: 50rem; background: transparent; font-size: 21px; }
.view-button { transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.view-button:hover:not(.active) { background: rgba(155, 224, 214, .35); }
.view-button.active { color: #fff; background: var(--orange); font-weight: 700; box-shadow: 0 5px 15px rgba(216,100,58,.25); }
.events-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.event-card {
  min-width: 0; min-height: 345px; padding: 34px 32px 28px; border: 1px solid rgba(33,8,90,.06);
  border-radius: 14px; color: var(--purple); background: var(--mint-soft); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.event-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.event-card:nth-child(3n + 2) { background: var(--lime); }
.event-date { font-size: 17px; margin-bottom: 9px; font-weight: 600; }
.event-card h3 { overflow-wrap: anywhere; font-size: clamp(25px, 1.8vw, 31px); line-height: 1.08; font-weight: 800; margin-bottom: 20px; }
.event-info { overflow-wrap: anywhere; font-size: clamp(17px, 1.25vw, 21px); line-height: 1.4; margin-bottom: 24px; }
.event-info p { margin: 0; }
.btn-eaba { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50rem; padding: 10px 38px; min-height: 52px; font-size: 20px; font-weight: 700; text-decoration: none; transition: transform .2s, filter .2s; }
.btn-eaba:hover, .btn-eaba:focus { color: inherit; filter: brightness(.95); transform: translateY(-2px); }
.btn-orange { color: #fff; background: var(--orange); }
.btn-mint { color: #000; background: var(--mint); }
.event-card .btn-eaba { width: 100%; margin-top: auto; }
.load-more-wrap { grid-column: 1 / -1; text-align: center; padding: 35px 0 10px; }
.load-more-wrap .btn-eaba { min-width: 320px; font-weight: 400; }

.calendar-panel { animation: content-in .35s ease both; }
.calendar-panel h3 { font-size: 38px; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.calendar-toolbar, .calendar-nav { display: flex; align-items: center; gap: 18px; color: var(--orange); font-weight: 700; }
.calendar-toolbar { justify-content: space-between; margin: 0 10px 25px; }
.calendar-toolbar button { border: 0; border-radius: 50rem; background: transparent; color: inherit; font-weight: inherit; padding: 7px 10px; }
.calendar-toolbar button:hover { background: rgba(216,100,58,.1); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #888; border-left: 1px solid #888; }
.calendar-weekday { color: var(--orange); font-weight: 700; text-align: center; padding: 12px 4px; border: 0; }
.calendar-day { min-width: 0; min-height: 170px; padding: 11px; border-right: 1px solid #888; border-bottom: 1px solid #888; background: #fff; transition: background-color .2s; }
.calendar-day.muted { color: #aaa; }
.calendar-day.has-event { background: #d7f5f0; }
.calendar-day.featured { background: #f3f69b; }
.calendar-event { margin-top: 8px; font-size: 14px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.calendar-event img { display: block; width: 100%; height: 62px; object-fit: cover; margin-bottom: 6px; }
.calendar-event .btn-eaba { margin-top: 7px; min-height: 30px; width: 100%; padding: 4px 8px; font-size: 12px; }

.calendar-cta-wrap { padding: 55px 0 75px; }
.calendar-cta {
  background: var(--mint-soft); border-radius: 28px; padding: 45px; display: grid;
  grid-template-columns: 40% 1fr; gap: 55px; align-items: center;
}
.calendar-cta { box-shadow: var(--shadow-sm); }
.calendar-cta img { width: 100%; max-height: 270px; object-fit: cover; border-radius: 15px; }
.calendar-cta h2 { line-height: 1.05; }
.calendar-cta p { max-width: 650px; margin: 22px 0; font-size: 19px; line-height: 1.3; }
.calendar-cta .btn-eaba { min-width: 285px; }

.newsletter {
  min-height: 470px; padding: 78px 20px 62px; color: #fff; text-align: center;
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("../20250322_094734.png") center/cover no-repeat;
}
.newsletter .eyebrow { font-size: 23px; font-weight: 700; }
.newsletter h2 { font-size: clamp(45px, 4.6vw, 70px); line-height: 1; font-weight: 800; margin: 16px 0 20px; }
.newsletter p { font-size: 19px; font-weight: 700; }
.newsletter-form { max-width: 820px; height: 68px; background: #fff; border-radius: 50rem; margin: 34px auto 0; padding: 8px; display: flex; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; border-radius: inherit; padding: 0 20px; font-size: 17px; outline: 0; }
.newsletter-form input.is-invalid { box-shadow: inset 0 0 0 3px #b42318; }
.newsletter-form button { width: 230px; border: 0; border-radius: 50rem; background: var(--mint); font-size: 17px; font-weight: 800; transition: background-color .2s, transform .2s; }
.newsletter-form button:hover { background: var(--lime); transform: translateY(-1px); }
.form-message { min-height: 1.5em; margin-top: 14px; font-weight: 700; }

.site-footer { background: var(--mint); padding: 45px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr 280px; gap: 65px; }
.footer-brand { width: 430px; max-width: 100%; height: 90px; object-fit: contain; object-position: left; }
.footer-copy { max-width: 700px; font-size: 18px; line-height: 1.35; margin: 22px 0 8px; }
.contact-list { margin: 0; font-size: 16px; line-height: 1.2; }
.contact-list dt { font-weight: 800; margin-top: 12px; }
.contact-list dd { margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 12px 0 25px; }
.footer-links a { font-size: 21px; line-height: 1.45; text-decoration: none; }
.footer-links a:hover, .contact-list a:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 4px; }
.social-link { display: inline-flex; width: 52px; height: 52px; margin-right: 12px; border-radius: 50%; align-items: center; justify-content: center; background: var(--lime); font-size: 25px; text-decoration: none; transition: transform .2s, background-color .2s; }
.social-link:hover { color: var(--ink); background: #fff; transform: translateY(-4px); }
.copyright { border-top: 1px solid rgba(0,0,0,.45); text-align: center; font-weight: 700; margin-top: 35px; padding-top: 24px; }

.detail-main { padding: 70px 0 60px; }
.eaba-breadcrumb { display: flex; list-style: none; gap: 13px; padding: 0; margin: 0 0 50px; font-size: 23px; }
.eaba-breadcrumb li:not(:last-child)::after { content: ">"; margin-left: 17px; }
.eaba-breadcrumb a { color: #444; text-decoration: none; }
.eaba-breadcrumb li:last-child { color: var(--orange); font-weight: 700; }
.event-detail { display: grid; grid-template-columns: 34% 1fr; gap: 32px; align-items: stretch; }
.poster-button { position: relative; padding: 0; border: 0; background: transparent; }
.poster-button > img { width: 100%; height: 100%; max-height: 910px; object-fit: cover; }
.poster-button span { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 120px; height: 75px; color: var(--purple); background: #fff; border-radius: 55% 45%; font-size: 48px; }
.event-detail-card { border: 1px solid #777; border-radius: 26px; padding: 52px 58px; color: var(--purple); background: #fff; box-shadow: 0 10px 35px rgba(33,8,90,.06); }
.event-detail-card h1 { font-size: clamp(42px, 4vw, 58px); font-weight: 800; margin: 0; }
.detail-date { font-size: 36px; margin: 8px 0 38px; }
.detail-meta p { display: flex; align-items: center; gap: 18px; font-size: 29px; margin: 16px 0; }
.detail-meta i { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; color: white; background: var(--orange); border-radius: 50%; font-size: 24px; }
.detail-copy { margin-top: 38px; color: #272727; font-size: 24px; line-height: 1.25; font-weight: 600; }
.back-button { min-width: 320px; margin-top: 45px; font-weight: 400; }
.modal-poster { max-height: 85vh; width: 100%; object-fit: contain; }

@keyframes content-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199.98px) {
  .header-top { min-height: 135px; }
  .main-nav { padding-bottom: 25px; }
  .nav-list a { font-size: 18px; }
  .events-list { gap: 28px; }
  .event-card { padding: 32px 28px 26px; }
  .footer-grid { grid-template-columns: 1fr 280px; }
  .event-detail-card { padding: 46px; }
  .detail-meta p { font-size: 30px; }
}

@media (max-width: 991.98px) {
  .header-top { min-height: 120px; padding: 18px 0; justify-content: flex-start; }
  .brand-logo { width: 390px; max-width: 72vw; height: 90px; }
  .top-link { display: none; }
  .main-nav { position: absolute; z-index: 10; right: 18px; top: 40px; padding: 0; }
  .main-nav-inner { display: block; }
  .menu-button { position: relative; z-index: 2; margin: 0; width: 44px; height: 34px; }
  .menu-button span { transition: transform .25s, opacity .2s; transform-origin: center; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(15px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-15px) rotate(-45deg); }
  .nav-list { position: fixed; inset: 0; z-index: 1; padding: 105px 30px 40px; background: var(--mint); flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 15px; transform: translateX(100%); transition: transform .25s; }
  .nav-list.open { transform: translateX(0); }
  .nav-list a { display: block; font-size: 28px; padding: 7px; }
  .events-hero { min-height: 420px; }
  .hero-content { padding-left: var(--bs-gutter-x,.75rem); }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 45px; }
  .view-switch { width: 100%; min-width: 0; }
  .events-list { grid-template-columns: repeat(2, 1fr); }
  .event-card:nth-child(3n + 2) { background: var(--mint-soft); }
  .event-card:nth-child(even) { background: var(--lime); }
  .calendar-grid { overflow-x: auto; grid-template-columns: repeat(7, minmax(130px, 1fr)); }
  .calendar-panel { overflow-x: auto; }
  .calendar-cta { padding: 45px; grid-template-columns: 1fr; gap: 35px; }
  .newsletter { min-height: 520px; padding-top: 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .event-detail { grid-template-columns: 1fr; }
  .poster-button > img { height: auto; max-height: 720px; object-fit: contain; }
}

@media (max-width: 767.98px) {
  .calendar-panel { overflow: visible; }
  .calendar-panel h3 { font-size: 38px; }
  .calendar-nav { width: 100%; justify-content: space-between; gap: 4px; font-size: 14px; }
  .calendar-grid { display: block; border: 0; overflow: visible; }
  .calendar-weekday, .calendar-day:not(.has-event) { display: none; }
  .calendar-day.has-event {
    min-height: 0; margin-bottom: 18px; padding: 18px; border: 0; border-radius: 16px;
    box-shadow: var(--shadow-sm);
  }
  .calendar-day.has-event > strong {
    display: inline-flex; margin-bottom: 12px; padding: 5px 12px; border-radius: 50rem;
    color: #fff; background: var(--orange);
  }
  .calendar-event { display: grid; grid-template-columns: 105px 1fr; column-gap: 16px; font-size: 17px; }
  .calendar-event img { grid-row: 1 / 5; height: 112px; border-radius: 9px; }
  .calendar-event .btn-eaba { width: fit-content; min-width: 150px; font-size: 15px; }
}

@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .container { --bs-gutter-x: 2rem; }
  .events-hero { min-height: 340px; background-position: 58% center; }
  .events-hero h1 { font-size: 48px; letter-spacing: -1px; }
  .events-hero p { font-size: 20px; }
  .section-space { padding: 55px 0 30px; }
  .section-heading h2, .calendar-cta h2 { font-size: 34px; }
  .view-button { min-height: 52px; font-size: 18px; }
  .events-list { grid-template-columns: 1fr; gap: 24px; }
  .event-card { min-height: 330px; padding: 30px 26px; }
  .event-card:nth-child(n) { background: var(--mint-soft); }
  .event-card:nth-child(even) { background: var(--lime); }
  .event-date { font-size: 18px; }
  .event-card h3 { font-size: 34px; }
  .event-info { font-size: 22px; }
  .btn-eaba { min-height: 56px; padding: 12px 25px; font-size: 21px; }
  .load-more-wrap .btn-eaba, .calendar-cta .btn-eaba, .back-button { min-width: 0; width: 100%; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .calendar-cta-wrap { padding: 45px 0 60px; }
  .calendar-cta { padding: 25px; border-radius: 22px; }
  .calendar-cta p { font-size: 19px; }
  .newsletter { padding: 65px 16px; min-height: 450px; }
  .newsletter .eyebrow { font-size: 22px; }
  .newsletter h2 { font-size: 44px; }
  .newsletter p { font-size: 18px; }
  .newsletter-form { height: auto; padding: 8px; flex-direction: column; border-radius: 22px; }
  .newsletter-form input, .newsletter-form button { width: 100%; height: 56px; border-radius: 17px; }
  .site-footer { padding-top: 40px; }
  .footer-copy { font-size: 19px; }
  .footer-links a { font-size: 24px; }
  .detail-main { padding: 55px 0; }
  .eaba-breadcrumb { margin-bottom: 40px; gap: 8px; font-size: 18px; }
  .eaba-breadcrumb li:not(:last-child)::after { margin-left: 8px; }
  .event-detail-card { padding: 35px 25px; border-radius: 20px; }
  .event-detail-card h1 { font-size: 42px; }
  .detail-date { font-size: 30px; margin-bottom: 35px; }
  .detail-meta p { align-items: flex-start; gap: 15px; font-size: 22px; }
  .detail-meta i { flex-basis: 44px; width: 44px; height: 44px; font-size: 22px; }
  .detail-copy { margin-top: 38px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.d-none { display: none !important; }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.event-card-more { display: none; }
.events-list.show-all .event-card-more { display: flex; }
.empty-events { grid-column: 1 / -1; text-align: center; padding: 55px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.poster-placeholder { min-height: 530px; display: grid; place-items: center; border-radius: 24px; color: var(--purple); background: var(--lime); font-size: 9rem; font-weight: 800; }
.poster-dialog { width: min(900px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: transparent; }
.poster-dialog::backdrop { background: rgba(10, 5, 25, .88); }
.poster-dialog img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.poster-dialog button { position: fixed; top: 18px; right: 24px; border: 0; color: #fff; background: transparent; font-size: 3rem; cursor: pointer; }
