/* ===== EVENTS PAGE — matches about.css font system ===== */

html, body {
  overflow: auto;
  cursor: auto;
}

/* Force solid blue header — about.css sets it transparent for the hero effect */
.header {
  background: var(--brand-blue, #0e50c8) !important;
  color: #fff !important;
}
.header a,
.header .nav-arrow a,
.header .nav-text a {
  color: #fff !important;
}

/* ── Main layout ── */
.inv-main {
  padding-top: var(--section-gap, 80px);
}

/* ── Hero section ── */
.inv-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: var(--page-pad, 20px);
  padding-block: var(--section-gap, 80px);
  max-width: 860px;
  margin-inline: auto;
}

/* Same as .kicker in about.css */
.inv-kicker {
  font-family: "Red Hat Display";
  font-size: clamp(20px, 1.3vw, 36px);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 1.5rem;
}

/* Large display title — both lines same size */
.inv-title {
  font-family: "Red Hat Display";
  font-size: clamp(36px, 3.8vw, 62px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-blue);
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}

.inv-title-by {
  display: block;
  font-size: inherit;
  font-weight: inherit;
}

/* Main event image */
.inv-image-wrap {
  width: 100%;
  margin-bottom: 2.5rem;
}
.inv-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 560px;
}

/* Matches .section-copy / .objective-copy in about.css exactly */
.inv-description {
  font-family: "Red Hat Display";
  font-size: clamp(24px, 1.3vw, 40px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--brand-blue);
  margin: 0 0 2rem;
  text-align: center;
}

.inv-sep {
  width: clamp(200px, 40%, 480px);
  border: none;
  border-top: 1px solid var(--brand-blue);
  margin: 0 auto 2rem;
}

.inv-meta {
  font-family: "Red Hat Display";
  font-size: clamp(18px, 1.2vw, 28px);
  color: var(--brand-blue);
  margin: 0 0 0.4rem;
  text-align: center;
}

.inv-ctas {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Button styles — matches .btn in about.css */
.inv-btn {
  font-family: "Red Hat Display";
  font-size: clamp(16px, 1.1vw, 22px);
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .18s, color .18s;
}
.inv-btn--outline {
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}
.inv-btn--outline:hover {
  background: rgba(14,80,200,.07);
}
.inv-btn--fill {
  border: 1.5px solid var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}
.inv-btn--fill:hover {
  background: #0a3d9e;
  border-color: #0a3d9e;
}

/* ── Upcoming events section ── */
.inv-upcoming {
  padding-inline: var(--page-pad, 20px);
  padding-block: var(--section-gap, 80px);
  border-top: 1px solid rgba(14,80,200,.2);
  max-width: var(--grid-max, 2080px);
  margin-inline: auto;
}

.inv-upcoming-title {
  font-family: "Red Hat Display";
  font-size: clamp(20px, 1.3vw, 36px);
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 2.5rem;
  text-align: center;
}

/* 4-column card grid */
.inv-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ── Event card ── */
.inv-card {
  border: 1.5px solid var(--brand-blue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inv-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1.5px solid var(--brand-blue);
}

.inv-card-label {
  font-family: "Red Hat Display";
  font-size: clamp(11px, 0.75vw, 14px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.inv-card-date {
  font-family: "Red Hat Display";
  font-size: clamp(11px, 0.75vw, 14px);
  color: var(--brand-blue);
}

/* Image flush to card borders — no gap */
.inv-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.inv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inv-card-body {
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.inv-card-title {
  font-family: "Red Hat Display";
  font-size: clamp(20px, 1.4vw, 28px);
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
}

.inv-card-desc {
  font-family: "Red Hat Display";
  font-size: clamp(13px, 0.9vw, 16px);
  color: var(--brand-blue);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.inv-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.inv-btn-sm {
  font-family: "Red Hat Display";
  font-size: clamp(13px, 0.9vw, 16px);
  padding: 9px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .15s, color .15s;
}
.inv-btn-sm.inv-btn--outline {
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}
.inv-btn-sm.inv-btn--outline:hover { background: rgba(14,80,200,.07); }
.inv-btn-sm.inv-btn--fill {
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}
.inv-btn-sm.inv-btn--fill:hover { background: #0a3d9e; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .inv-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .inv-cards { grid-template-columns: 1fr; }
  .inv-title { font-size: clamp(38px, 9vw, 56px); }
  .inv-title-by { font-size: clamp(28px, 7vw, 44px); }
  .inv-ctas { flex-direction: column; align-items: center; }
}
