.event-page { background: #f4f7fb; }

.event-hero {
  padding: 72px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(17, 104, 200, .16), transparent 32%),
    linear-gradient(135deg, #fff 0%, #eef5ff 100%);
  border-bottom: 1px solid #dfe9f5;
}

.event-kicker,
.event-list-heading > div > p {
  margin: 0 0 12px;
  color: #1168c8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.event-hero h1 {
  color: #002794;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.12;
  font-weight: 650;
  margin-bottom: 0px;
}

.event-page .event-hero > .container > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #61708c;
  font-size: 17px;
  line-height: 1.75;
}

.event-list-section { padding: 85px 0 105px; }

.event-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.event-list-heading h2 {
  margin: 0;
  color: #10285f;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 650;
}

.event-list-heading > span {
  padding: 8px 14px;
  border: 1px solid #d8e5f3;
  border-radius: 999px;
  background: #fff;
  color: #5f708f;
  font-size: 13px;
}

.event-card {
  display: flex;
  height: 570px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e8f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0, 39, 148, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 23px 52px rgba(0, 39, 148, .11);
}

.event-card__image {
  display: block;
  flex: 0 0 235px;
  height: 235px;
  overflow: hidden;
  background: #dfe8f2;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.event-card:hover .event-card__image img { transform: scale(1.045); }

.event-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 26px;
}

.event-card__content time,
.event-detail-card__content time {
  display: block;
  margin-bottom: 12px;
  color: #1168c8;
  font-size: 12px;
  font-weight: 650;
}

.event-card__content h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 650;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-card__content h3 a { color: #10285f; text-decoration: none; }

.event-page .event-card__content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #687894;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.event-card__footer {
  display: flex;
  flex: 0 0 72px;
  align-items: center;
  padding: 16px 26px;
  border-top: 1px solid #e8eef5;
  background: #fff;
}

.event-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: #075fc7;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.event-card__more span { transition: transform .2s ease; }
.event-card__more:hover span { transform: translateX(4px); }

.event-pagination { margin-top: 52px; }
.event-pagination .pagination { gap: 7px; }
.event-pagination .page-link {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e1ed;
  border-radius: 11px !important;
  background: #fff;
  color: #334c72;
  font-size: 14px;
  box-shadow: none;
}

.event-pagination .page-link:hover { border-color: #8db7e7; color: #002794; }
.event-pagination .page-item.active .page-link { border-color: #002794; background: #002794; color: #fff; }
.event-pagination .page-item.disabled .page-link { background: #eef2f6; color: #9aa8bb; }

.event-empty-state {
  padding: 55px 24px;
  border: 1px dashed #cbd8e7;
  border-radius: 20px;
  background: #fff;
  color: #667792;
  text-align: center;
}

.event-detail-section { padding: 75px 0 100px; }
.event-back-link { display: inline-block; margin-bottom: 25px; color: #075fc7; font-weight: 600; text-decoration: none; }

.event-detail-card {
  overflow: hidden;
  border: 1px solid #e0e8f1;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 39, 148, .08);
}

.event-detail-card__image { max-height: 570px; overflow: hidden; background: #e4ebf3; }
.event-detail-card__image img { width: 100%; max-height: 570px; object-fit: contain; }
.event-detail-card__content { padding: clamp(28px, 5vw, 65px); }
.event-detail-card__content h1 { margin-bottom: 25px; color: #10285f; font-size: clamp(32px, 5vw, 54px); line-height: 1.25; font-weight: 650; }
.event-detail-card__story { color: #536582; font-size: 16px; line-height: 1.9; }

@media (max-width: 767px) {
  .event-hero { padding: 52px 0; }
  .event-list-section { padding: 60px 0 75px; }
  .event-list-heading { align-items: flex-start; flex-direction: column; }
  .event-card__image { height: 220px; }
  .event-pagination .pagination { gap: 5px; }
  .event-pagination .page-link { min-width: 38px; min-height: 38px; padding: 7px 10px; }
  .event-detail-section { padding: 48px 0 70px; }
  .event-detail-card { border-radius: 20px; }
}
