.kefa-events-section {
  position: relative;
  padding: 88px 18px;
  color: #ffffff;
}

.kefa-events-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,122,0,.13), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(0,166,214,.10), transparent 34%);
  pointer-events: none;
}

.kefa-events-heading {
  position: relative;
  z-index: 1;
}

.kefa-events-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kefa-event-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03) 52%, rgba(255,122,0,.055)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 24px 64px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.kefa-event-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,122,0,.85), transparent);
}

.kefa-event-date {
  display: grid;
  gap: 6px;
  align-self: flex-start;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.10);
}

.kefa-event-date span {
  color: #ffb15c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
}

.kefa-event-date strong {
  color: #ffffff;
  font-size: 13px;
}

.kefa-event-category {
  display: inline-flex;
  margin-bottom: 12px;
  color: #ff7a00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.kefa-event-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.16;
}

.kefa-event-card p {
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height: 1.55;
}

.kefa-event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 800;
}

.kefa-event-meta span,
.kefa-event-meta b {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(255,255,255,.08);
}

.kefa-event-meta b {
  color: #111111;
  background: #ff7a00;
}

.kefa-events-empty {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.055);
  border: 1px dashed rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
}

.kefa-events-empty strong {
  color: #ffffff;
}

.kefa-events-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kefa-events-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255,122,0,.12);
  border: 1px solid rgba(255,122,0,.32);
  color: #ffb15c;
  text-decoration: none;
}

.kefa-events-footer a:hover {
  background: #ff7a00;
  color: #111111;
}

@media (max-width: 1000px) {
  .kefa-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kefa-events-section {
    padding: 62px 14px;
  }

  .kefa-events-grid {
    grid-template-columns: 1fr;
  }

  .kefa-event-card {
    min-height: 0;
    padding: 20px;
    border-radius: 24px;
  }

  .kefa-events-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
