:root {
  --vse-navy: #252e67;
  --vse-blue: #315ca8;
  --vse-red: #ed334d;
  --vse-orange: #f26932;
  --vse-purple: #6252a3;
  --vse-ink: #20243a;
  --vse-muted: #697086;
  --vse-line: #e1e4eb;
  --vse-soft: #f5f6f8;
  --vse-white: #ffffff;
}
.vse-events-directory { color: var(--vse-ink); font-family: inherit; }
.vse-events-directory *, .vse-events-directory *::before, .vse-events-directory *::after { box-sizing: border-box; }
.vse-events-hero { background: var(--vse-navy); color: #fff; padding: clamp(54px, 6vw, 88px) 24px; }
.vse-events-hero__inner, .vse-events-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.vse-events-eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; opacity: .82; }
.vse-events-hero h1 { color: #fff !important; margin: 0 !important; font-size: clamp(42px, 5vw, 70px) !important; line-height: 1 !important; letter-spacing: -.035em; }
.vse-events-intro { max-width: 760px; margin: 22px 0 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; opacity: .92; }
.vse-events-shell { padding: 24px 0 82px; }

.vse-events-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--vse-line); margin: 0 0 24px; }
.vse-events-tab { appearance: none; border: 0; background: none; padding: 0 0 15px; font: inherit; font-weight: 600; font-size: 16px; color: var(--vse-muted); cursor: pointer; position: relative; }
.vse-events-tab:hover, .vse-events-tab.is-active { color: var(--vse-navy); }
.vse-events-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--vse-orange), var(--vse-red)); }

/* Rich VSE filter bar */
.vse-events-filters { background: linear-gradient(135deg, #f7f8fb 0%, #f1f3f7 100%); border: 1px solid #e7e9ef; padding: 21px 22px 22px; margin: 0 0 42px; }
.vse-events-filters__heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 17px; margin-bottom: 17px; border-bottom: 1px solid #e0e3ea; }
.vse-events-filters__heading > div { display: grid; gap: 3px; }
.vse-events-filters__eyebrow { color: var(--vse-orange); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.vse-events-filters__heading strong { color: var(--vse-navy); font-size: 15px; line-height: 1.25; font-weight: 650; }
.vse-events-filters__grid { display: grid; grid-template-columns: minmax(280px, 2fr) minmax(190px, 1fr) minmax(150px, .72fr); gap: 14px; }
.vse-filter { display: grid; gap: 7px; margin: 0; }
.vse-filter > span:first-child { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .095em; color: var(--vse-navy); }
.vse-filter__control { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid #dfe3eb; min-height: 48px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.vse-filter__control:focus-within { border-color: rgba(49,92,168,.48); box-shadow: 0 0 0 3px rgba(49,92,168,.08); }
.vse-filter__control svg { position: absolute; left: 14px; width: 17px; height: 17px; fill: none; stroke: var(--vse-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.vse-filter input, .vse-filter select { width: 100%; min-height: 46px; border: 0 !important; background: transparent !important; color: var(--vse-ink); padding: 0 14px 0 43px; border-radius: 0; font: inherit; box-shadow: none !important; outline: none !important; }
.vse-filter__control--search input { padding-left: 52px !important; }
.vse-filter select { cursor: pointer; }
.vse-events-reset { min-height: 38px; border: 1px solid rgba(37,46,103,.55); border-radius: 22px; background: #fff; color: var(--vse-navy); font: inherit; font-size: 12px; font-weight: 700; padding: 0 17px; cursor: pointer; white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.vse-events-reset:hover { background: var(--vse-navy); color: #fff; border-color: var(--vse-navy); }

.vse-events-results { min-height: 120px; }
.vse-events-results.is-loading { opacity: .38; pointer-events: none; transition: opacity .18s ease; }
.vse-events-month { margin: 0 0 46px; }
.vse-events-month__heading { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 2px; }
.vse-events-month__heading h2 { margin: 0 !important; color: var(--vse-navy) !important; font-size: 18px !important; line-height: 1.2 !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .065em; }
.vse-events-month__heading span { height: 1px; background: var(--vse-line); }

.vse-event-card { display: grid; grid-template-columns: minmax(285px, 37%) minmax(0, 1fr); gap: clamp(34px, 4vw, 52px); align-items: start; padding: 26px 0 28px; border-bottom: 1px solid var(--vse-line); position: relative; }
.vse-event-card__media { display: block; width: 100%; aspect-ratio: 16 / 9.2; overflow: hidden; background: #e9edf3; text-decoration: none !important; }
.vse-event-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2,.6,.2,1); }
.vse-event-card:hover .vse-event-card__media img { transform: scale(1.035); }

/* Designed fallback artwork */
.vse-event-card__placeholder { width: 100%; height: 100%; display: block; background: linear-gradient(135deg, #25316d 0%, #315da6 72%, #3a68b5 100%); color: #fff; position: relative; overflow: hidden; }
.vse-event-card__placeholder::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; right: -20%; top: -42%; }
.vse-event-card__placeholder::after { content: ""; position: absolute; width: 88%; height: 58%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; left: 22%; bottom: -34%; transform: rotate(-8deg); }
.vse-event-card__placeholder--webinar { background: linear-gradient(135deg, #362a76, #6252a3 75%, #806bb8); }
.vse-event-card__placeholder--workshop, .vse-event-card__placeholder--training { background: linear-gradient(135deg, #153c62, #287da1 76%, #38a0b2); }
.vse-event-card__placeholder--conference { background: linear-gradient(135deg, #26336f, #315da6 70%, #f26932 145%); }
.vse-event-card__placeholder-mark { position: absolute; left: 28px; top: 26px; z-index: 2; font-size: 13px; line-height: 1; font-weight: 800; letter-spacing: .18em; opacity: .9; }
.vse-event-card__placeholder-type { position: absolute; left: 28px; right: 28px; bottom: 27px; z-index: 2; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.vse-event-card__placeholder-orbit { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(242,105,50,.88); right: 9%; top: 22%; z-index: 1; mix-blend-mode: screen; opacity: .72; }

.vse-event-card__body { min-width: 0; max-width: 620px; align-self: start; padding: 11px 0 0; }
/* Strong category treatment */
.vse-event-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 13px; color: #fff; font-size: 10px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .095em; background: var(--vse-navy); padding: 8px 11px; border-radius: 2px; box-shadow: inset 3px 0 0 var(--vse-orange); }
.vse-event-kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vse-orange); }

/* Date + location icons */
.vse-event-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 19px; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .055em; font-weight: 700; }
.vse-event-card__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.vse-event-card__meta svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vse-event-date { color: var(--vse-red); }
.vse-event-date svg { stroke: var(--vse-red); }
.vse-event-location { color: var(--vse-muted); }
.vse-event-location svg { stroke: var(--vse-blue); }

.vse-event-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.vse-event-tags span { color: var(--vse-navy); background: #f2f4f8; border: 1px solid #e4e7ed; padding: 5px 8px; font-size: 9px; line-height: 1.2; font-weight: 750; text-transform: uppercase; letter-spacing: .065em; border-radius: 2px; }
.vse-event-card h3 { margin: 0 0 9px !important; font-size: clamp(27px, 2.3vw, 35px) !important; line-height: 1.08 !important; letter-spacing: -.025em; font-weight: 600 !important; }
.vse-event-card h3 a { color: var(--vse-navy) !important; text-decoration: none !important; }
.vse-event-card h3 a:hover { color: var(--vse-blue) !important; }
.vse-event-excerpt { margin: 0; max-width: 625px; color: #596174; line-height: 1.58; font-size: 15px; }
.vse-event-card__footer { margin-top: 18px; }
.vse-event-cta { display: inline-flex; align-items: center; gap: 12px; color: var(--vse-orange) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; border-bottom: 2px solid var(--vse-red); padding: 0 0 5px; }
.vse-event-cta [aria-hidden="true"] { font-size: 16px; transition: transform .2s ease; }
.vse-event-cta:hover { color: var(--vse-red) !important; }
.vse-event-cta:hover [aria-hidden="true"] { transform: translateX(4px); }

.vse-events-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 42px; }
.vse-events-pagination button { width: 42px; height: 42px; border: 1px solid var(--vse-line); background: #fff; color: var(--vse-navy); font-weight: 800; cursor: pointer; }
.vse-events-pagination button.is-active, .vse-events-pagination button:hover { background: var(--vse-navy); color: #fff; border-color: var(--vse-navy); }
.vse-events-empty { text-align: center; padding: 66px 20px; background: var(--vse-soft); }
.vse-events-empty h3 { margin: 0 0 8px !important; color: var(--vse-navy) !important; font-size: 26px !important; }
.vse-events-empty p { margin: 0; color: var(--vse-muted); }
.vse-events-notice { padding: 18px; border: 1px solid #d7dce5; background: #f7f8fa; }

@media (max-width: 980px) {
  .vse-events-filters__grid { grid-template-columns: 1fr 1fr; }
  .vse-filter--search { grid-column: 1 / -1; }
  .vse-event-card { grid-template-columns: minmax(250px, 39%) minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 760px) {
  .vse-events-shell { padding-top: 20px; }
  .vse-event-card { grid-template-columns: 1fr; gap: 23px; align-items: start; }
  .vse-event-card__body { max-width: none; padding: 0; }
  .vse-event-card__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .vse-events-hero { padding-left: 0; padding-right: 0; }
  .vse-events-hero__inner, .vse-events-shell { width: min(100% - 30px, 1080px); }
  .vse-events-shell { padding-bottom: 62px; }
  .vse-events-tabs { gap: 22px; margin-bottom: 24px; overflow-x: auto; }
  .vse-events-tab { font-size: 15px; white-space: nowrap; }
  .vse-events-filters { padding: 18px; margin-bottom: 38px; }
  .vse-events-filters__heading { align-items: flex-start; }
  .vse-events-filters__heading strong { font-size: 14px; }
  .vse-events-reset { min-height: 36px; padding: 0 13px; }
  .vse-events-filters__grid { grid-template-columns: 1fr; }
  .vse-filter--search { grid-column: auto; }
  .vse-events-month { margin-bottom: 44px; }
  .vse-events-month__heading { gap: 12px; }
  .vse-events-month__heading h2 { font-size: 16px !important; }
  .vse-event-card { padding: 26px 0 30px; }
  .vse-event-card h3 { font-size: 28px !important; }
  .vse-event-card__meta { display: grid; gap: 8px; }
  .vse-event-card__placeholder-type { font-size: 24px; }
}
