.ae-page {
  --ae-blue: #0878e8;
  --ae-deep: #09295f;
  --ae-ink: #18345d;
  --ae-muted: #77869b;
  max-width: 1240px;
  margin: 38px auto 76px;
  padding: 0 24px;
  color: var(--ae-ink);
  font-family: inherit;
}

.ae-heading {
  position: relative;
  min-height: 236px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 42px 58px;
  border-radius: 20px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(3, 15, 43, .90) 0%, rgba(5, 27, 70, .64) 40%, rgba(5, 27, 70, .10) 78%), url('../images/arenaevents-background.png');
  background-color: #071b3d;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  box-shadow: 0 18px 44px #08275826;
}

.ae-heading::before,
.ae-heading::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.ae-heading::before {
  width: 330px;
  height: 330px;
  right: 11%;
  top: -200px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #ffffff09, 0 0 0 70px #ffffff08;
}

.ae-heading::after {
  width: 280px;
  height: 280px;
  right: 4%;
  bottom: -230px;
  border: 1px solid #ffffff27;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #ffffff09, 0 0 0 70px #ffffff07;
}

.ae-heading-inner { position: relative; z-index: 1; }
.ae-eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; color: #b9d7ff; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.ae-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: #60b4ff; }
.ae-heading h1 { margin: 0; color: #fff; font-size: clamp(42px, 6vw, 68px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.ae-heading-inner > p:last-child { margin: 15px 0 0; color: #d2e4ff; font-size: 17px; }
.ae-heading-mark { position: absolute; right: 10%; top: 50%; color: #ffffff0d; font-size: 310px; font-weight: 800; line-height: .8; transform: translateY(-43%); user-select: none; }

.ae-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 28px 0 22px; }
.ae-filter-chip { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid #e1e8f1; border-radius: 999px; background: #fff; color: #536883; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.ae-filter-chip:hover { border-color: #9bcaff; color: var(--ae-blue); transform: translateY(-1px); }
.ae-filter-chip.is-active { border-color: var(--ae-blue); background: var(--ae-blue); color: #fff; box-shadow: 0 6px 16px #0878e82b; }

.ae-calendar { margin: 0 0 46px; padding: 24px 30px 26px; border: 1px solid #e8edf3; border-radius: 16px; background: #f8fafc; }
.ae-calendar-head { display: flex; align-items: center; justify-content: space-between; max-width: 870px; margin: 0 auto 20px; text-align: center; }
.ae-calendar-head > div > span { color: #8897aa; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.ae-calendar-head h2 { margin: 5px 0 0; color: #173d78; font-size: 23px; font-weight: 600; text-transform: capitalize; }
.ae-calendar-head > a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dce6f2; border-radius: 50%; background: #fff; color: #316da9; font-size: 26px; line-height: 1; text-decoration: none; transition: all .18s ease; }
.ae-calendar-head > a:hover { border-color: var(--ae-blue); background: var(--ae-blue); color: #fff; }
.ae-calendar-grid { display: grid; max-width: 1000px; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin: 0 auto; }
.ae-weekdays { margin-bottom: 8px; color: #8795a8; font-size: 11px; font-weight: 700; text-align: center; text-transform: uppercase; }
.ae-weekdays span { padding: 3px; }
.ae-day, .ae-empty { min-width: 0; min-height: 60px; }
.ae-day { overflow: hidden; border: 1px solid transparent; border-radius: 9px; background: #fff; color: #435774; font-size: 13px; text-align: center; }
.ae-day > span, .ae-day > a { display: flex; height: 100%; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; padding: 5px 2px; color: inherit; text-decoration: none; }
.ae-day.has-event { border-color: #c8e1ff; background: #eaf4ff; color: #086fda; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.ae-day.has-event:hover { transform: translateY(-2px); box-shadow: 0 5px 12px #1479d921; }
.ae-day small { display: block; max-width: 100%; margin-top: 4px; color: #4387c8; font-size: 8px; font-weight: 700; letter-spacing: .08em; }

.ae-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.ae-list-heading > div > p { margin: 0 0 5px; color: #8496aa; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.ae-list-heading h2 { margin: 0; color: var(--ae-deep); font-size: clamp(25px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; }
.ae-list-heading > span { padding-bottom: 4px; color: #8491a2; font-size: 13px; }
.ae-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ae-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #e6ebf1; border-radius: 15px; background: #fff; box-shadow: 0 8px 26px #0b2b560b; scroll-margin-top: 30px; transition: box-shadow .2s ease, transform .2s ease; }
.ae-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px #0b2b561c; }
.ae-poster { position: relative; display: block; overflow: hidden; aspect-ratio: 1.62; background: #e7edf4; }
.ae-poster::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(0deg, #061a3880, transparent); pointer-events: none; }
.ae-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ae-card:hover .ae-poster img { transform: scale(1.035); }
.ae-date-ribbon { position: absolute; z-index: 1; top: 14px; left: 14px; display: flex; width: 54px; height: 62px; flex-direction: column; align-items: center; justify-content: center; border-radius: 9px; background: #fff; color: #123b79; box-shadow: 0 5px 17px #00132d35; }
.ae-date-ribbon b { font-size: 25px; line-height: 1; }
.ae-date-ribbon small { margin-top: 4px; color: #71839c; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.ae-image-category { position: absolute; z-index: 1; right: 13px; bottom: 12px; padding: 6px 10px; border: 1px solid #ffffff70; border-radius: 999px; background: #09244b85; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .05em; backdrop-filter: blur(8px); }
.ae-card-content { display: flex; flex: 1; flex-direction: column; padding: 18px 19px 17px; }
.ae-event-date { color: #73849a; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.ae-card h3 { margin: 7px 0 11px; color: #123773; font-size: 20px; font-weight: 600; line-height: 1.28; }
.ae-detail { margin: 2px 0; color: #7a899b; font-size: 13px; }
.ae-detail b { color: #405977; font-weight: 600; }
.ae-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.ae-link, .ae-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 700; }
.ae-link { color: #176fc5; }
.ae-link:hover { color: #094f9b; }
.ae-button { padding: 0 15px; border-radius: 7px; background: var(--ae-blue); color: #fff; box-shadow: 0 5px 13px #0878e82c; transition: background .18s ease, transform .18s ease; }
.ae-button:hover { transform: translateY(-1px); background: #0562c3; color: #fff; }
.ae-empty-state { padding: 45px 20px; border: 1px dashed #d7e0eb; border-radius: 14px; background: #f8fafc; color: #6c7f97; text-align: center; }

.ae-home-widget { max-width: 1240px; margin: 26px auto; padding: 0 18px; }
.ae-home-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 15px; color: #123778; font-size: 25px; }
.ae-home-title a { color: #0878e8; font-size: 13px; font-weight: 600; text-decoration: none; }
.ae-home-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.ae-home-card { overflow: hidden; border: 1px solid #e5eaf0; border-radius: 11px; background: #fff; box-shadow: 0 5px 18px #163b7f0b; }
.ae-home-card img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.ae-home-card div { padding: 11px 13px 13px; }
.ae-home-card time { color: #72849b; font-size: 11px; }
.ae-home-card a { display: block; margin-top: 5px; color: #153b7a; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.ae-home-card a:hover { color: #0878e8; }

@media (max-width: 900px) {
  .ae-heading { min-height: 205px; padding: 36px 38px; }
  .ae-heading-mark { right: 5%; font-size: 250px; }
  .ae-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .ae-home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .ae-page { margin: 20px auto 48px; padding: 0 13px; }
  .ae-heading { min-height: 178px; padding: 29px 23px; border-radius: 14px; }
  .ae-eyebrow { margin-bottom: 13px; font-size: 9px; }
  .ae-heading h1 { font-size: 45px; }
  .ae-heading-inner > p:last-child { max-width: 220px; font-size: 14px; }
  .ae-heading-mark { right: 1%; font-size: 190px; }
  .ae-filter { flex-wrap: nowrap; overflow-x: auto; margin: 20px -13px 16px; padding: 2px 13px 7px; scrollbar-width: thin; }
  .ae-filter-chip { min-height: 38px; flex: 0 0 auto; padding: 0 14px; font-size: 12px; }
  .ae-calendar { margin-bottom: 34px; padding: 18px 11px; border-radius: 12px; }
  .ae-calendar-head { margin-bottom: 14px; }
  .ae-calendar-head h2 { font-size: 19px; }
  .ae-calendar-head > a { width: 33px; height: 33px; }
  .ae-calendar-grid { gap: 4px; }
  .ae-weekdays { font-size: 9px; }
  .ae-day, .ae-empty { min-height: 46px; }
  .ae-day > span, .ae-day > a { min-height: 44px; }
  .ae-day small { font-size: 7px; letter-spacing: 0; }
  .ae-list-heading { margin-bottom: 15px; }
  .ae-list-heading h2 { font-size: 26px; }
  .ae-list-heading > span { font-size: 11px; }
  .ae-cards { grid-template-columns: 1fr; gap: 15px; }
  .ae-poster { aspect-ratio: 1.72; }
  .ae-card-content { padding: 15px 16px; }
  .ae-card h3 { font-size: 19px; }
  .ae-home-widget { padding: 0 13px; }
  .ae-home-title { font-size: 21px; }
  .ae-home-cards { gap: 9px; }
  .ae-home-card img { aspect-ratio: 1.35; }
  .ae-home-card div { padding: 8px; }
  .ae-home-card a { font-size: 12px; }
}

/* Calendar event thumbnails and date panel below event posters */
.ae-day,.ae-empty{min-height:92px}.ae-day>span,.ae-day>a{min-height:90px}.ae-day>a{justify-content:flex-start;padding:6px 4px}.ae-day-number{display:block;line-height:1.1}.ae-day-images{display:grid;width:100%;height:38px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:2px;margin-top:4px;overflow:hidden;border-radius:5px}.ae-day-images--single{grid-template-columns:1fr;grid-template-rows:1fr}.ae-day-image{position:relative;display:block;min-width:0;min-height:0;overflow:hidden}.ae-day-image img{display:block;width:100%;height:100%;object-fit:cover}.ae-day-image--more b{position:absolute;inset:0;display:grid;place-items:center;background:#09244bbd;color:#fff;font-size:11px}.ae-day small{margin-top:3px;font-size:7px}.ae-card-meta{padding:9px 18px;background:#f1f6fc;border-top:1px solid #e1eaf4;border-bottom:1px solid #e1eaf4}.ae-card-meta .ae-event-date{display:block;color:#315f97;font-size:12px;font-weight:700;letter-spacing:.02em}.ae-card-content{padding-top:14px}.ae-date-ribbon{display:none}
@media(max-width:560px){.ae-day,.ae-empty{min-height:80px}.ae-day>span,.ae-day>a{min-height:78px}.ae-day-images{height:30px}.ae-card-meta{padding:8px 15px}}

/* Homepage events carousel */
.ae-home-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px}.ae-home-title{margin:0}.ae-home-controls{display:flex;align-items:center;gap:8px}.ae-home-arrow{display:inline-grid;width:36px;height:36px;place-items:center;padding:0;border:1px solid #d2dfef;border-radius:50%;background:#fff;color:#164883;font-size:24px;line-height:1;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.ae-home-arrow:hover:not(:disabled){transform:translateY(-1px);border-color:#0878e8;background:#0878e8;color:#fff;box-shadow:0 5px 13px #0878e82b}.ae-home-arrow:disabled{opacity:.42;cursor:not-allowed}.ae-home-all{margin-left:8px;color:#0878e8;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}.ae-home-all:hover{color:#0757ae;text-decoration:underline}.ae-home-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}.ae-home-viewport::-webkit-scrollbar{display:none}.ae-home-cards{display:flex!important;gap:15px}.ae-home-card{flex:0 0 calc((100% - 45px)/4);scroll-snap-align:start}.ae-home-card .ae-home-poster{display:block;margin:0!important;padding:0;aspect-ratio:1.65;overflow:hidden;background:#e7edf4}.ae-home-card .ae-home-poster img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .35s ease}.ae-home-card:hover .ae-home-poster img{transform:scale(1.035)}.ae-home-card-content{padding:11px 13px 13px}.ae-home-card-content time{color:#72849b;font-size:11px}.ae-home-card .ae-home-card-title{display:block;margin:5px 0 0!important;color:#153b7a;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none}.ae-home-card .ae-home-card-title:hover{color:#0878e8}.ae-add-event{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}.ae-add-event:hover{transform:translateY(-2px) scale(1.02)!important;filter:brightness(1.09);box-shadow:0 9px 20px rgba(8,120,232,.38)!important}.ae-poster-dialog-close{transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.ae-poster-dialog-close:hover{transform:scale(1.08);background:#0878e8;color:#fff;box-shadow:0 6px 18px #0006}
@media(max-width:900px){.ae-home-card{flex-basis:calc((100% - 15px)/2)}}
@media(max-width:560px){.ae-home-header{align-items:center;gap:8px}.ae-home-title{font-size:21px}.ae-home-controls{gap:5px}.ae-home-arrow{width:32px;height:32px;font-size:21px}.ae-home-all{margin-left:3px;font-size:11px}.ae-home-cards{gap:9px}.ae-home-card{flex-basis:86%}.ae-home-card-content{padding:8px}.ae-home-card .ae-home-card-title{font-size:13px}}

/* Large carousel arrows at both slider edges */
.ae-home-slider{position:relative}.ae-home-slider>.ae-home-arrow{position:absolute!important;top:50%!important;z-index:5!important;display:grid!important;width:60px!important;height:60px!important;place-items:center!important;padding:0!important;transform:translateY(-50%)!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#174a84!important;font-size:42px!important;font-weight:400!important;line-height:1!important;box-shadow:0 6px 22px rgba(9,37,74,.25)!important;backdrop-filter:blur(6px);cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important}.ae-home-slider>.ae-home-arrow--prev{left:14px!important}.ae-home-slider>.ae-home-arrow--next{right:14px!important}.ae-home-slider>.ae-home-arrow:hover:not(:disabled),.ae-home-slider>.ae-home-arrow:focus-visible{transform:translateY(-50%) scale(1.1)!important;background:#0878e8!important;color:#fff!important;box-shadow:0 9px 26px rgba(8,120,232,.42)!important}.ae-home-slider>.ae-home-arrow:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:560px){.ae-home-slider>.ae-home-arrow{width:46px!important;height:46px!important;font-size:34px!important}.ae-home-slider>.ae-home-arrow--prev{left:7px!important}.ae-home-slider>.ae-home-arrow--next{right:7px!important}}

.ae-day.has-event.is-past{border-color:#cbd1da;background:#dfe3e9;color:#6b7481;cursor:default;filter:saturate(.3)}.ae-day.has-event.is-past:hover{transform:none;box-shadow:none}.ae-day.has-event.is-past .ae-day-images{filter:grayscale(1) brightness(.74)}.ae-day.has-event.is-past small{color:#77818e}.ae-day-past-content{cursor:default;pointer-events:none}
.ae-day.has-event.is-past{opacity:.68!important;filter:grayscale(.8)!important;cursor:default!important}.ae-day.has-event.is-past:hover{transform:none!important;box-shadow:none!important}.ae-day.has-event.is-past>.ae-day-past-content{display:flex;width:100%;height:100%;min-height:90px;flex-direction:column;align-items:center;justify-content:flex-start;padding:6px 4px;pointer-events:none;cursor:default}.ae-day.has-event.is-past .ae-day-images{filter:grayscale(1) brightness(.72)}

/* Home carousel heading links to the full events page in the same visual language as homepage feature blocks. */
.ae-home-header { justify-content: flex-start; max-width: 1240px; margin: 0 auto 22px; padding: 0 18px; }
.ae-home-title { margin: 0; color: #173f78; font-size: clamp(32px, 3.1vw, 42px); font-weight: 600; line-height: 1.12; }
.ae-home-title-link { display: inline-flex; align-items: center; gap: 13px; color: inherit !important; font-size: inherit !important; font-weight: inherit !important; text-decoration: none !important; transition: color .2s ease; }
.ae-home-title-link:hover, .ae-home-title-link:focus-visible { color: #0879e8 !important; }
.ae-home-title-arrow { color: #0879e8; font-size: .78em; font-weight: 400; transition: transform .2s ease; }
.ae-home-title-link:hover .ae-home-title-arrow, .ae-home-title-link:focus-visible .ae-home-title-arrow { transform: translateX(7px); }
@media (max-width: 560px) { .ae-home-header { margin-bottom: 15px; } .ae-home-title { font-size: clamp(27px, 7vw, 34px); } }

/* Align the events heading with the 1110px homepage feature headings. */
.ae-home-header {
  width: min(1110px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto 22px;
  padding: 0;
}
.ae-home-title {
  font-size: clamp(34px, 3.4vw, 50px);
}
@media (max-width: 560px) {
  .ae-home-header {
    width: calc(100% - 36px);
    margin-bottom: 16px;
  }
  .ae-home-title {
    font-size: clamp(30px, 8vw, 38px);
  }
}

/* Events removed from listings remain dimmed and inactive in the calendar. */
.ae-day.has-event.is-inactive { border-color: #cbd1da; background: #dfe3e9; color: #6b7481; opacity: .68; filter: grayscale(.8); cursor: default; }
.ae-day.has-event.is-inactive:hover { transform: none; box-shadow: none; }
.ae-day.has-event.is-inactive > .ae-day-inactive-content { display: flex; width: 100%; height: 100%; min-height: 90px; flex-direction: column; align-items: center; justify-content: flex-start; padding: 6px 4px; pointer-events: none; cursor: default; }
.ae-day.has-event.is-inactive .ae-day-images { filter: grayscale(1) brightness(.72); }
.ae-day-inactive-content { pointer-events: none; cursor: default; }
.ae-poster--sport-template{aspect-ratio:1.65}.ae-poster--sport-template img{object-fit:contain}
