#events-section {
  padding-top: 100px;
  padding-bottom: 118px;
  background: var(--tertiary-clr);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 95%);
}

#events-section .section-heading {
  margin-bottom: 38px;
}

#events-section .events-list {
  gap: 88px;
  max-width: 1130px;
  margin: 0 auto;
}

#events-section .event-card {
  position: relative;
  width: 100%;
  min-height: 365px;
}

#events-section .event-image {
  width: 100%;
  height: 360px;
  background-color: #5f6060;
  background-position: center;
  background-size: cover;
  box-shadow: var(--media-shadow);
}

#events-section .heart-event {
  background-image:
    linear-gradient(rgba(27, 30, 32, 0.12), rgba(27, 30, 32, 0.12)),
    url("/wp-content/uploads/2026/08/heart-of-gold.png");
}

#events-section .motown-event {
  background-image:
    linear-gradient(rgba(27, 30, 32, 0.08), rgba(27, 30, 32, 0.08)),
    url("/wp-content/uploads/2026/08/motown-event.png");
}

#events-section .event-info {
  position: absolute;
  bottom: -30px;
  width: 392px;
  min-height: 132px;
  padding: 18px 20px 0;
  background: var(--primary-clr);
  box-shadow: var(--design-shadow);
}

#events-section .event-card:nth-child(odd) .event-info {
  text-align: right;
  right: -22px;
}

#events-section .event-card:nth-child(even) .event-info {
  text-align: left;
  left: -22px;
}

#events-section .event-card:nth-child(odd) .event-actions {
  justify-content: flex-end;
}

#events-section .event-card:nth-child(even) .event-actions {
  justify-content: flex-start;
}

#events-section .event-location {
  display: block;
  font-size: 14px;
  font-weight: none;
  line-height: 1.1;
  color: var(--tertiary-clr);
  margin-bottom: 5px;
}

#events-section .event-name {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  color: var(--white-clr);
  margin-bottom: 5px;
}

#events-section .event-info p {
  font-size: 16px;
  font-family: var(--heading-font);
  font-weight: none;
  line-height: 1.2;
  color: var(--tertiary-clr);
	margin-bottom: 5px;
}

#events-section .event-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  transform: translateY(24px);
  margin-top: -12px;
}

#events-section .mini-btn {
  align-items: center;
  color: var(--white-clr);
  display: inline-flex;
	padding: 20px 30px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  height: 54px;
  justify-content: center;
  min-width: 0;
  box-shadow: var(--design-shadow);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1608);
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    transform 0.2s ease;
}

#events-section .mini-btn.details {
  background: var(--green-clr);
}

#events-section .mini-btn.register {
  background: var(--blue-clr);
}

#events-section .mini-btn:hover {
  box-shadow: 0 9px 14px rgba(0, 0, 0, 0.24);
  filter: brightness(1.12);
  transform: translateY(-2px);
}

#events-section .mini-btn.details:hover {
  background: #64cf4d;
}

#events-section .mini-btn.register:hover {
  background: #008bd8;
}

#events-section .btn-wrap {
  margin-top: 90px;
}

#single-event-section {
  background: var(--white-clr);
}

#single-event-section .single-event-content {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 80px;
}

#single-event-section .event-location {
  color: var(--secondary-clr);
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

#single-event-section .single-event-meta {
  margin-bottom: 24px;
}

#single-event-section .single-event-meta p {
  color: var(--primary-clr);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

#single-event-section .single-event-media img {
  width: 100%;
  height: auto;
  box-shadow: var(--media-shadow);
}

#single-event-section .button-group {
  margin-top: 32px;
}

@media only screen and (max-width: 1023px) {
  #events-section {
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 98%);
  }

  #events-section .events-list {
    gap: 86px;
  }

  #events-section .event-card {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  #single-event-section .single-event-content {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media only screen and (max-width: 767px) {
  #events-section .events-list {
    gap: 40px;
  }

  #events-section .event-card {
    min-height: 324px;
  }

  #events-section .event-image {
    height: 230px;
  }

  #events-section .event-info {
    right: 0;
    width: calc(100% - 28px);
    min-height: 132px;
  }

  #events-section .event-card:nth-child(odd) .event-info {
    right: 0;
    bottom: 10px;
  }

  #events-section .event-card:nth-child(even) .event-info {
    left: 0;
    bottom: 10px;
  }

  #events-section .event-actions {
    justify-content: stretch;
  }

  #events-section .mini-btn {
    flex: 1;
    min-width: 0;
  }
}
