/* =========================================================
   AAC Latest Events — featured story + list
   ========================================================= */
.aac-events {
  --ev-green: #007d45;
  --ev-deep: #063a33;
  --ev-gold: #ffcd00;
  --ev-ink: #10210f;
  --ev-ease: cubic-bezier(.22, 1, .36, 1);

  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 88px) 0;
  background: #fff;
}

/* ---------- Header ---------- */
.aac-events__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.aac-events__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 125, 69, .1);
  color: var(--ev-green);
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.aac-events__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ev-green);
  animation: aacEvPulse 2s ease-out infinite;
}

@keyframes aacEvPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 125, 69, .55); }
  100% { box-shadow: 0 0 0 12px rgba(0, 125, 69, 0); }
}

.aac-events__title {
  margin: 0;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ev-ink);
}

.aac-events__accent { color: var(--ev-green); }

.aac-events__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ev-deep);
  color: var(--ev-deep) !important;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .45s var(--ev-ease), color .45s, transform .45s var(--ev-ease);
}
.aac-events__all i { transition: transform .45s var(--ev-ease); }
.aac-events__all:hover { background: var(--ev-deep); color: #fff !important; transform: translateY(-3px); }
.aac-events__all:hover i { transform: rotate(45deg); }

/* ---------- Layout ---------- */
.aac-events__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(20px, 2.6vw, 36px);
  align-items: stretch;
}

/* full-card link */
.aac-ev__cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}
.aac-ev__cover:focus-visible { outline: 3px solid var(--ev-gold); outline-offset: 4px; }

.aac-ev__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 12px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-size: .82rem;
  font-weight: 500;
}
.aac-ev__meta span { display: inline-flex; align-items: center; gap: 6px; }

.aac-ev__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 600;
  font-size: .95rem;
  transition: gap .45s var(--ev-ease), color .45s;
}

/* ---------- Featured ---------- */
.aac-ev-feature {
  position: relative;
  height: auto;
  min-height: 340px;           /* stretches to the full height of the list beside it */
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--ev-deep);
  box-shadow: 0 40px 70px -40px rgba(4, 41, 31, .7);
}

.aac-ev-feature__media,
.aac-ev-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.aac-ev-feature__media img {
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ev-ease);
}
.aac-ev-feature:hover .aac-ev-feature__media img { transform: scale(1.12); }

.aac-ev-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4, 30, 22, .96) 0%, rgba(4, 30, 22, .75) 35%, rgba(4, 30, 22, .15) 70%, transparent 100%);
}

.aac-ev__date {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  padding: 10px 0 8px;
  border-radius: 18px;
  background: var(--ev-gold);
  color: var(--ev-ink);
  font-family: var(--font-secondary, "Poppins", sans-serif);
  line-height: 1;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.aac-ev__date strong { font-size: 1.7rem; font-weight: 800; }
.aac-ev__date span { margin-top: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.aac-ev-feature:hover .aac-ev__date { transform: rotate(-6deg) scale(1.06); }

.aac-ev-feature__tag {
  position: absolute;
  top: 26px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.aac-ev-feature__tag i { color: var(--ev-gold); animation: aacEvFlash 2.4s ease-in-out infinite; }
@keyframes aacEvFlash { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.aac-ev-feature__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(24px, 3vw, 40px);
}

.aac-ev-feature .aac-ev__meta { color: rgba(255, 255, 255, .78); }
.aac-ev-feature .aac-ev__meta i { color: var(--ev-gold); }

.aac-ev-feature__title {
  margin: 0 0 12px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aac-ev-feature__text {
  margin: 0 0 16px;
  max-width: 560px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-size: .98rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aac-ev-feature .aac-ev__more { color: var(--ev-gold); }
.aac-ev-feature:hover .aac-ev__more { gap: 16px; }

/* ---------- List ---------- */
.aac-ev-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: clamp(10px, 1.2vw, 16px);
}

.aac-ev-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(110px, 11vw, 150px) 1fr;
  gap: clamp(14px, 1.6vw, 20px);
  align-items: center;
  padding: 10px;
  border-radius: 22px;
  background: #f6f8f3;
  border: 1px solid transparent;
  transition: background-color .5s var(--ev-ease), border-color .5s, box-shadow .5s var(--ev-ease), transform .5s var(--ev-ease);
}

.aac-ev-item::before {            /* gold accent bar that grows on hover */
  content: "";
  position: absolute;
  left: 0; top: 22%;
  width: 4px; height: 56%;
  border-radius: 0 4px 4px 0;
  background: var(--ev-gold);
  transform: scaleY(0);
  transition: transform .5s var(--ev-ease);
}

.aac-ev-item:hover {
  background: #fff;
  border-color: rgba(0, 125, 69, .15);
  box-shadow: 0 24px 46px -28px rgba(4, 41, 31, .45);
  transform: translateX(6px);
}
.aac-ev-item:hover::before { transform: scaleY(1); }

.aac-ev-item__media {
  height: clamp(96px, 8vw, 118px);
  border-radius: 14px;
  overflow: hidden;
}
.aac-ev-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ev-ease);
}
.aac-ev-item:hover .aac-ev-item__media img { transform: scale(1.1); }

.aac-ev-item__body { padding-right: 8px; }
.aac-ev-item .aac-ev__meta { color: #5c6a5a; margin-bottom: 8px; }
.aac-ev-item .aac-ev__meta i { color: var(--ev-green); }

.aac-ev-item__title {
  margin: 0 0 10px;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 600;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.4;
  color: var(--ev-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .4s;
}
.aac-ev-item:hover .aac-ev-item__title { color: var(--ev-green); }

.aac-ev__more--small { font-size: .85rem; color: var(--ev-green); }
.aac-ev-item:hover .aac-ev__more--small { gap: 14px; }

/* ---------- Scroll-in choreography ---------- */
.aac-events.is-ready .aac-ev-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .9s var(--ev-ease), transform .9s var(--ev-ease), background-color .45s, color .45s;
}
.aac-events.is-ready [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.aac-events.is-ready [data-split] .w-in { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform .9s var(--ev-ease); }

.aac-events.is-ready .aac-ev-feature { clip-path: inset(100% 0 0 0 round 28px); transition: clip-path 1.3s var(--ev-ease); }
.aac-events.is-ready .aac-ev-feature__media img { transform: scale(1.3); }
.aac-events.is-ready .aac-ev-feature__body > *,
.aac-events.is-ready .aac-ev__date,
.aac-events.is-ready .aac-ev-feature__tag { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ev-ease), translate .8s var(--ev-ease), transform .5s cubic-bezier(.34, 1.56, .64, 1), gap .45s var(--ev-ease); }

.aac-events.is-ready .aac-ev-item { opacity: 0; transform: translate3d(50px, 0, 0); transition: opacity .9s var(--ev-ease), transform .9s var(--ev-ease), background-color .5s, border-color .5s, box-shadow .5s; }

/* visible */
.aac-events.is-ready.head-in .aac-events__eyebrow { opacity: 1; transform: none; }
.aac-events.is-ready.head-in [data-split] .w-in  { transform: none; transition-delay: calc(.1s + var(--i) * 55ms); }
.aac-events.is-ready.head-in .aac-events__all    { opacity: 1; transform: none; transition-delay: .5s, .5s, 0s, 0s; }

.aac-events.is-ready.body-in .aac-ev-feature { clip-path: inset(0 0 0 0 round 28px); }
.aac-events.is-ready.body-in .aac-ev-feature__media img { transform: scale(1.04); transition-duration: 1.8s; }
.aac-events.is-ready.body-in .aac-ev__date          { opacity: 1; translate: 0 0; transition-delay: .7s, .7s, 0s, 0s; }
.aac-events.is-ready.body-in .aac-ev-feature__tag   { opacity: 1; translate: 0 0; transition-delay: .8s, .8s, 0s, 0s; }
.aac-events.is-ready.body-in .aac-ev-feature__body > * { opacity: 1; translate: 0 0; }
.aac-events.is-ready.body-in .aac-ev-feature__body > :nth-child(1) { transition-delay: .75s, .75s, 0s, 0s; }
.aac-events.is-ready.body-in .aac-ev-feature__body > :nth-child(2) { transition-delay: .85s, .85s, 0s, 0s; }
.aac-events.is-ready.body-in .aac-ev-feature__body > :nth-child(3) { transition-delay: .95s, .95s, 0s, 0s; }
.aac-events.is-ready.body-in .aac-ev-feature__body > :nth-child(4) { transition-delay: 1.05s, 1.05s, 0s, 0s; }
.aac-events.is-ready.body-in .aac-ev-item { opacity: 1; transform: none; transition-delay: calc(.35s + var(--d) * .15s); }

.aac-events.is-ready.is-settled .aac-ev-item,
.aac-events.is-ready.is-settled .aac-ev-feature__body > *,
.aac-events.is-ready.is-settled .aac-ev__date { transition-delay: 0s; }
.aac-events.is-ready.is-settled .aac-ev-feature__media img { transition-duration: 1.4s; }
.aac-events.is-ready.is-settled .aac-ev-feature:hover .aac-ev-feature__media img { transform: scale(1.12); }
.aac-events.is-ready.is-settled .aac-ev-item:hover { transform: translateX(6px); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .aac-events__layout { grid-template-columns: 1fr; }
  .aac-ev-list { grid-auto-rows: auto; }
  .aac-ev-feature { min-height: 400px; }
  .aac-ev-item__media { height: 96px; }
}

@media (max-width: 575.98px) {
  .aac-events__head { flex-direction: column; align-items: flex-start; }
  .aac-events__title br { display: none; }
  .aac-ev-feature { min-height: 380px; border-radius: 22px; }
  .aac-ev-item { grid-template-columns: 96px 1fr; padding: 10px; border-radius: 18px; }
  .aac-ev-item__media { height: 80px; border-radius: 12px; }
  .aac-ev__more--small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aac-events *, .aac-events *::before, .aac-events *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
