/*
 * Exit Five — /events (events hub) page styles.
 * Scoped under .events-page. Same type system/palette as
 * expert-network.css (Onsite Standard, cream/dark-green Exit Five
 * brand) — this is a standard Exit Five page, not the standalone
 * serif-branded CMO Council/Executive microsite look.
 */

@font-face {
  font-family: "Onsite Standard";
  src: url("https://cdn.prod.website-files.com/662f071987728937d4adcba6/6740d7106f71dcd3d0755fd5_OnsiteStandard-Light.woff")
    format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onsite Standard";
  src: url("https://cdn.prod.website-files.com/662f071987728937d4adcba6/6740d710744b16e3070a5338_OnsiteStandard-Regular.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onsite Standard";
  src: url("https://cdn.prod.website-files.com/662f071987728937d4adcba6/6740d7107ec1b7a124e1c544_OnsiteStandard-Medium.woff")
    format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------------------------------------------
 * Base
 * ----------------------------------------------------------------- */

.events-page {
  background: #fdfff3;
  color: #04130d;
  font-family: "Onsite Standard", "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

.events-page * { box-sizing: border-box; }
.events-page a { color: inherit; text-decoration: none; }
.events-page img { display: block; max-width: 100%; }

.ev-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ev-section { padding: 0 0 80px; }

.ev-eyebrow {
  display: inline-block;
  font-family: "Rajdhani", "Onsite Standard", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #04130d;
  background: rgba(138, 255, 128, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* -----------------------------------------------------------------
 * Hero
 * ----------------------------------------------------------------- */

.ev-hero { padding: 80px 0 56px; position: relative; }

.ev-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(138, 255, 128, 0.16), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(4, 19, 13, 0.05), transparent 60%);
  pointer-events: none;
}

.ev-hero .ev-shell { position: relative; text-align: center; }

.ev-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 20px;
  letter-spacing: -0.015em;
}

.ev-hero p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 auto;
  color: rgba(4, 19, 13, 0.78);
  max-width: 56ch;
}

/* -----------------------------------------------------------------
 * Event cards
 * ----------------------------------------------------------------- */

.ev-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 820px) {
  .ev-cards { grid-template-columns: 1fr; }
}

.ev-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(4, 19, 13, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ev-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(4, 19, 13, 0.08);
}

.ev-card-image {
  aspect-ratio: 16 / 9;
  background: rgba(4, 19, 13, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ev-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ev-card-body { padding: 28px 28px 32px; }

.ev-card-tag {
  display: inline-block;
  font-family: "Rajdhani", "Onsite Standard", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(4, 19, 13, 0.55);
  margin-bottom: 10px;
}

.ev-card-body h2 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.ev-card-body p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(4, 19, 13, 0.78);
  margin: 0 0 18px;
}

.ev-card-link {
  font-size: 15px;
  font-weight: 600;
  color: #04130d;
}
