.events-showcase-wrapper {
  max-width: 1200px;   /* ✅ CONTROL WIDTH */
  margin: 0 auto;      /* ✅ CENTER SECTION */
  padding: 40px 20px;
}

.events-showcase-grid {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

/* LEFT PANEL */
.events-left-panel {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 480px;
}

.events-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  background: #013A55;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.events-title {
  margin: 0 0 20px;
  min-height: 110px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
  color: #013A55 !important;
}

.events-meta {
  min-height: auto;
  margin-bottom: 12px;
  color: #43474F;
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 12px;
  line-height: 16px;
  vertical-align: middle;
  text-transform: uppercase;
}

.events-date-time,
.events-location {
  font-size: 16px;
  line-height: 1.5;
  color: #4b5563;
}

.events-date-time {
  margin-bottom: 6px;
  font-weight: 600;
}

.events-location {
  font-weight: 400;
}

.events-excerpt {
  min-height: auto;
  margin-bottom: 10px;
}

.events-excerpt p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #5b6470;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-content {
  margin-top: 0;
}

.events-content p {
  margin: 0 0 14px;
  font-family: Onest;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.events-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.events-content li {
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 20px;
  font-family: Onest;
  font-weight: 400;
}

.events-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #338B27 0%, #2A7020 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700;
  transition: all 0.3s ease;
}

.events-button:hover {
  background: #7eb332;
  color: #ffffff;
  text-decoration: none;
}

/* text */
.events-button .btn-text {
  display: inline-block;
}

/* icon */
.events-button .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-button .btn-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* RIGHT PANEL */
.events-right-panel {
  width: 58%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.events-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 78px;
}

.events-swiper .swiper-wrapper {
  align-items: stretch;
}

.events-swiper .swiper-slide {
  height: auto;
}

.event-card {
  width: 100%;
  aspect-ratio: 698 / 524;   /* 🔥 best solution */
  border-radius: 24px;
  overflow: hidden;
  background: #d9d9d9;
}

.event-card-image,
.event-card-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.event-card-image img {
  object-fit: cover;
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.event-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 28px 26px;
}

.event-card-location {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.event-card-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff !important;
}

/* NAVIGATION */
.events-swiper-nav {
  position: absolute;
  right: 30px;
  bottom: 0;
  top: 310px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.events-prev,
.events-next {
  position: static !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827 !important;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.events-prev:hover,
.events-next:hover {
  background: #8fc63f;
  color: #ffffff !important;
  border-color: #8fc63f;
}

.events-prev::after,
.events-next::after {
  font-size: 16px !important;
  font-weight: 700;
}

/* SWIPER FIXES */
.events-swiper .swiper-button-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* META ROW */
.events-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* DATE BOX */
.events-date-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #8fc63f;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* DAY */
.events-day {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

/* MONTH */
.events-month {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* TEXT BLOCK */
.events-meta-text {
  display: flex;
  flex-direction: column;
}

/* TIME */
.events-time {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

/* LOCATION */
.events-location {
  font-size: 14px;
  color: #6b7280;
}

.events-meta-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.events-meta-icon {
  width: 42px;
  height: 44px;
  min-width: 42px;
  border-radius: 12px;
  padding: 12px;
  background: #28A7451A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.events-meta-icon svg {
  width: 18px;
  height: 20px;
  display: block;
}

.events-meta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-meta-label {
  margin: 0 0 3px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7B8794;
}

.events-meta-value {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: #183153;
}

.events-location {
  margin-top: 10px;
  padding-left: 54px;
  font-size: 14px;
  line-height: 1.45;
  color: #6B7280;
}

.apply-now-btn .elementor-button{
	padding: 10px 25px;
}

/* TABLET */
@media (max-width: 1199px) {
  .events-showcase-grid {
    gap: 34px;
  }

  .events-left-panel {
    width: 40%;
    min-height: 500px;
  }

  .events-right-panel {
    width: 60%;
  }

  .event-card {
    height: 500px;
  }

  .events-title {
    font-size: 36px;
    min-height: 96px;
  }

  .event-card-title {
    font-size: 26px;
  }
}

/* MOBILE */
@media (max-width: 991px) {
  .events-showcase-grid {
    flex-direction: column;
    gap: 28px;
  }

  .events-left-panel,
  .events-right-panel {
    width: 100%;
  }

  .events-left-panel {
    min-height: auto;
    height: auto;
    padding: 0;
  }

  .event-card {
    height: 340px;
    border-radius: 22px;
  }

  .events-right-panel {
    position: relative;
  }

  .events-swiper {
    padding-bottom: 0;
    overflow: visible;
  }

  .events-swiper-nav {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
  }

  .events-prev,
  .events-next {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  .events-prev::after,
  .events-next::after {
    font-size: 12px !important;
    font-weight: 700;
    color: #183153;
  }

  .event-card-overlay {
    padding: 18px 18px 20px;
  }

  .event-card-title {
    font-size: 22px;
    line-height: 1.2;
    padding-right: 92px; /* prevents title from going below arrows */
  }

  .event-card-location {
    font-size: 13px;
    margin-bottom: 6px;
    padding-right: 92px;
  }
}

@media (max-width: 767px) {
  .event-card {
    height: 310px;
  }

  .events-swiper-nav {
    right: 14px;
    bottom: 14px;
    gap: 8px;
	top: 245px;
  }

  .events-prev,
  .events-next {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
  }

  .events-prev::after,
  .events-next::after {
    font-size: 11px !important;
  }

  .event-card-title {
    font-size: 20px !important;
	line-height: 24px !important;
    padding-right: 82px;
  }

  .event-card-location {
    padding-right: 82px;
  }
}