/* =========================
   MODERN EVENT SLIDER
========================= */
.event-modern {
  background: #f7f7f7;
  overflow: hidden;
}

.event-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.event-header-left {
  max-width: 760px;
}

.event-header-left p {
  margin-bottom: 0;
}

.event-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.event-nav-btn {
  width: 50px;
  height: 50px;
  border: none;
  outline: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.event-nav-btn:hover {
  background: #fec100;
  transform: translateY(-2px);
}

.event-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.event-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.event-slide {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: calc((100% - 72px) / 4);
}

.event-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  /* box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08); */
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 10px 20px 15px 10px rgba(0, 0, 0, 0.04);
}

.event-card-thumb {
  position: relative;
  overflow: hidden;
}

.event-card-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-thumb img {
  transform: scale(1.06);
}

.event-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fec100;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-meta-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.event-category,
.event-status {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-block;
  line-height: 1.3;
}

.event-category {
  background: rgba(255, 107, 53, 0.12);
  color: #ff6b35;
}

.event-status {
  background: rgba(20, 170, 90, 0.12);
  color: #14aa5a;
}

.event-card-body h3 {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #111;
  min-height: 60px;
}

.event-card-body p {
  color: #666;
  line-height: 1.75;
  margin-bottom: 18px;
  flex-grow: 1;
  font-size: 14px;
}

.event-info-list {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  margin-bottom: 18px;
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-size: 13px;
  margin-bottom: 10px;
}

.event-info-item:last-child {
  margin-bottom: 0;
}

.event-info-item i {
  color: #fec100;
  font-size: 16px;
  min-width: 18px;
}

.modern-btn-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.event-link {
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
}

.event-link i {
  margin-left: 6px;
  transition: all 0.3s ease;
}

.event-link:hover {
  color: #ff6b35;
}

.event-link:hover i {
  margin-left: 10px;
}

.event-bottom-btn {
  margin-top: 35px;
}

.event-bottom-btn a{
  color: #000;
}

/* Tablet */
@media screen and (max-width: 1199px) {
  .event-slide {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .event-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-slider-controls {
    margin-top: 10px;
  }

  .event-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .event-card-thumb img {
    height: 220px;
  }

  .event-card-body h3 {
    min-height: auto;
  }

  .event-meta-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .modern-btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
}