body {
  background-color: var(--secondary-color);
}

/* #region Start Events Hero */
.events-hero {
  background: var(--green-gradient);
  color: var(--secondary-color);
  padding-top: 170px;
  padding-bottom: 70px;
  border-radius: 40px;
  margin-inline: 15px;
  margin-top: 30px;
}

.events-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.events-hero .hero-text {
  max-width: 620px;
}
.events-hero .hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.events-hero .hero-text p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

@media (max-width: 991px) {
  .events-hero {
    margin-inline: 15px;
    padding-top: 150px;
    padding-bottom: 50px;
  }
  .hero-text h1 {
    font-size: 24px !important;
  }
  .hero-text p {
    font-size: 15px !important;
  }
}
/* #endregion End Events Hero */

/* #region Start Events Section */
.events-section {
  padding-block: var(--section-padding);
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--light-border);
}

.events-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.events-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.events-head h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0;
}

.events-head h2 span {
  color: var(--main-color);
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-item-card {
  display: flex;
  align-items: stretch;
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Alternating layout on desktop */
.event-item-card:nth-child(even) {
  flex-direction: row-reverse;
}

.event-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.event-item-card .event-image {
  width: 45%;
  min-height: 320px;
  position: relative;
}

.event-item-card .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-item-card .event-content {
  flex: 1;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.event-item-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--main-color);
  margin: 0;
}

.event-item-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark-text);
  opacity: 0.85;
  margin: 0;
}

@media (max-width: 991px) {
  .event-item-card,
  .event-item-card:nth-child(even) {
    flex-direction: column;
  }

  .event-item-card .event-image {
    width: 100%;
    height: 260px;
    min-height: auto;
  }

  .event-item-card .event-content {
    padding: 30px 24px;
  }
}

@media (max-width: 575px) {
  .events-head h2 {
    font-size: 28px;
  }

  .event-item-card h3 {
    font-size: 22px;
  }

  .event-item-card p {
    font-size: 14px;
    line-height: 1.6;
  }
}
/* #endregion End Events Section */
