/* ============================================================
   Events archive — featured banner + list
   ============================================================ */
.eva-featured-wrap { padding: 40px 0 0; }

.eva-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  position: relative;
  text-decoration: none;
}
.eva-featured__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.eva-featured:hover .eva-featured__photo { transform: scale(1.03); }
.eva-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,38,60,0.25) 0%, rgba(11,38,60,0.82) 45%, rgba(11,38,60,0.97) 100%);
}
.eva-featured__inner {
  position: relative;
  z-index: 1;
  grid-column: 2;
  padding: 48px 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eva-featured__flag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--lgm-gold);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.eva-featured__cat {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.eva-featured__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.eva-featured__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.eva-featured__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.eva-featured__desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
  max-width: 380px;
}
.eva-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 28px;
  background: var(--lgm-gold);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.15s, background 0.15s;
}
.eva-featured:hover .eva-featured__cta { gap: 13px; background: #c8901f; }
.eva-featured__cta img { width: 13px; filter: brightness(0) invert(1); }

/* Archive list */
.eva-wrap { padding: 56px 0 96px; }
.eva-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--lgm-navy);
  letter-spacing: -0.2px;
  margin-bottom: 0;
}
/* In the archive, event cards stack full-width */
.eva-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .eva-featured { grid-template-columns: 1fr; min-height: auto; }
  .eva-featured__inner { grid-column: 1; padding: 32px 24px; }
  .eva-featured__title { font-size: 28px; }
  .eva-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Single event page
   ============================================================ */
.evs-hero { position: relative; height: 480px; display: flex; align-items: flex-end; overflow: hidden; }
.evs-hero__photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.evs-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,38,60,0.15) 0%, rgba(11,38,60,0.75) 60%, rgba(11,38,60,0.92) 100%);
}
.evs-hero__inner { position: relative; z-index: 1; padding-bottom: 48px; color: #fff; }
.evs-hero .lgm-breadcrumb { color: rgba(255,255,255,0.88); margin-bottom: 4px; padding-block: 10px; }
.evs-hero__badges { display: flex; gap: 8px; margin-bottom: 16px; }
.evs-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; }
.evs-badge--cat { background: var(--lgm-green); color: #fff; }
.evs-badge--spots { background: var(--lgm-gold); color: var(--lgm-navy); }
.evs-hero__h1 { font-size: 52px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; margin: 0 0 24px; color: #fff; }
.evs-hero__meta { display: flex; flex-wrap: wrap; gap: 20px; }
.evs-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.88); }
.evs-meta-item__icon { width: 16px; height: 16px; background: var(--lgm-gold); flex-shrink: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position:center; mask-position:center; }
.evs-meta-item__icon--date { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/%3E%3C/svg%3E"); }
.evs-meta-item__icon--time { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm.5 14.5h-1V11H8V9.5h4.5v7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm.5 14.5h-1V11H8V9.5h4.5v7z'/%3E%3C/svg%3E"); }
.evs-meta-item__icon--location { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }

.evs-body { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding: 64px 0 96px; align-items: start; }
.evs-content__section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--lgm-line); }
.evs-content__section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.evs-content__h2 { font-size: 22px; font-weight: 800; color: var(--lgm-navy); margin-bottom: 16px; letter-spacing: -0.2px; }
.evs-content p { font-size: 15px; line-height: 1.75; color: #4a5a6a; margin-bottom: 14px; }
.evs-content p:last-child { margin-bottom: 0; }
.evs-list { display: flex; flex-direction: column; gap: 12px; }
.evs-list__item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; color: #4a5a6a; }
.evs-list__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lgm-gold); flex-shrink: 0; margin-top: 7px; }
.evs-share { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.evs-share__label { font-size: 13px; font-weight: 700; color: var(--lgm-navy); }
.evs-share__btns { display: flex; gap: 10px; }
.evs-share__btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--lgm-line); font-size: 13px; font-weight: 600; color: var(--lgm-navy); transition: border-color 0.15s, background 0.15s; }
.evs-share__btn:hover { border-color: var(--lgm-green); background: rgba(15,93,58,0.05); }
.evs-share__btn img { width: 16px; }

.evs-sidebar { position: sticky; top: 168px; }
.evs-cta-card { background: #fff; border: 1px solid var(--lgm-line); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(11,38,60,0.08); }
.evs-cta-card__header { background: var(--lgm-green); padding: 22px 24px; }
.evs-cta-card__free { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.evs-cta-card__spots { font-size: 12px; font-weight: 600; color: var(--lgm-gold); letter-spacing: 0.04em; }
.evs-cta-card__details { list-style: none; padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--lgm-line); margin: 0; }
.evs-cta-card__details li { display: flex; align-items: flex-start; gap: 12px; }
.evs-cta-card__detail-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(15,93,58,0.07); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.evs-cta-card__detail-icon::after { content: ''; width: 16px; height: 16px; background: var(--lgm-green); display: block; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center; }
.evs-cta-card__detail-icon--date::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/%3E%3C/svg%3E"); }
.evs-cta-card__detail-icon--time::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm.5 14.5h-1V11H8V9.5h4.5v7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm.5 14.5h-1V11H8V9.5h4.5v7z'/%3E%3C/svg%3E"); }
.evs-cta-card__detail-icon--location::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.evs-cta-card__detail-label { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--lgm-gold); margin-bottom: 3px; }
.evs-cta-card__detail-val { font-size: 13.5px; color: var(--lgm-navy); line-height: 1.5; }
.evs-cta-card__btn { display: block; width: calc(100% - 48px); margin: 22px 24px 0; padding: 15px; background: var(--lgm-green); color: #fff; border: none; border-radius: 100px; font-family: var(--lgm-font); font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.18s, transform 0.15s; text-align: center; }
.evs-cta-card__btn:hover { background: #0a4d30; transform: translateY(-1px); color: #fff; }
.evs-cta-card__btn:disabled { background: var(--lgm-navy); cursor: default; transform: none; }
.evs-cta-card__note { font-size: 12px; color: #8a9aaa; line-height: 1.6; padding: 14px 24px 22px; text-align: center; }
.evs-cta-card__note a { color: var(--lgm-green); }
.evs-cta-card__note a:hover { text-decoration: underline; }
.evs-cta-card__divider { height: 1px; background: var(--lgm-line); }
.evs-cta-card__more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px 24px; font-size: 13px; font-weight: 600; color: var(--lgm-green); transition: gap 0.15s; }
.evs-cta-card__more:hover { gap: 10px; }
.evs-cta-card__more img { width: 13px; }
.evs-qty { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 18px 24px 0; }
.evs-qty button { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--lgm-line); background: #fff; font-size: 18px; cursor: pointer; color: var(--lgm-navy); }
.evs-qty input { width: 52px; text-align: center; font-size: 16px; font-weight: 700; border: 1.5px solid var(--lgm-line); border-radius: 8px; height: 34px; }
.evs-qty input::-webkit-outer-spin-button,
.evs-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.evs-qty input[type=number] { -moz-appearance: textfield; }

.evs-signup-form { display: flex; flex-direction: column; gap: 12px; padding: 18px 24px 0; }
.evs-signup-form__field { display: flex; flex-direction: column; gap: 4px; }
.evs-signup-form__field label { font-size: 12px; font-weight: 600; color: var(--lgm-slate); }
.evs-signup-form__field input { height: 40px; padding: 0 12px; font-size: 14px; border: 1.5px solid var(--lgm-line); border-radius: var(--lgm-radius-sm); }
.evs-signup-form__field input:focus-visible { outline: 2px solid var(--lgm-green); outline-offset: 1px; }

/* Past-event / closed-registration states */
.evs-badge--ended { background: var(--lgm-navy); color: #fff; }
.evs-cta-card__header--ended { background: var(--lgm-navy); }
.evs-cta-card__note--closed { color: var(--lgm-navy); font-size: 13px; line-height: 1.7; }
.evs-cta-card__note--closed strong { color: var(--lgm-navy); }

/* Post-event recap (rich content + photos) */
.evs-recap__body { font-size: 15px; line-height: 1.75; color: #4a5a6a; }
.evs-recap__body p { margin-bottom: 14px; }
.evs-recap__body p:last-child { margin-bottom: 0; }
.evs-recap__body img { max-width: 100%; height: auto; border-radius: var(--lgm-radius-md); margin: 10px 0; display: block; }
.evs-recap__body h2, .evs-recap__body h3 { color: var(--lgm-navy); font-weight: 800; margin: 18px 0 10px; }
.evs-recap__body ul { list-style: disc; margin: 0 0 14px 1.2em; }
.evs-recap__body ol { list-style: decimal; margin: 0 0 14px 1.2em; }
.evs-recap__body li { margin-bottom: 6px; }
.evs-recap__body a { color: var(--lgm-green); text-decoration: underline; }

@media (max-width: 900px) {
  .evs-body { grid-template-columns: 1fr; }
  .evs-sidebar { position: static; }
  .evs-cta-card { max-width: 480px; }
  .evs-hero__h1 { font-size: 38px; }
  .evs-hero { height: 400px; }
}
