.sdc-core-events {
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-block: 4rem;
  background: #f8fafc;
}

.sdc-core-events-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.sdc-core-events-heading {
  max-width: 760px;
  margin: 0;
  color: #1e2a6a;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.sdc-core-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.sdc-core-event-card,
.sdc-core-featured-event-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  padding: 1.5rem;
}

.sdc-core-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sdc-core-event-meta span {
  border-radius: 999px;
  background: rgba(30, 42, 106, 0.08);
  color: #1e2a6a;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.sdc-core-event-title {
  margin: 0;
  color: #1e2a6a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.sdc-core-event-date,
.sdc-core-event-location {
  margin: 0;
  color: #2e3d8f;
  font-weight: 700;
}

.sdc-core-event-summary,
.sdc-core-featured-summary {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.sdc-core-event-link {
  margin-top: auto;
  color: #2e3d8f;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.sdc-core-events-empty {
  margin: 0;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .sdc-core-events {
    padding-block: 5rem;
  }

  .sdc-core-events-heading {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .sdc-core-events-grid {
    grid-template-columns: 1fr;
  }
}
