.event-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
}

@media screen and (max-width: 479px) {
  .event-controls {
    flex-direction: column;
    gap: 10px;
    align-items: start;
  }
}

.event-tag {
  padding: 9px 15px;
  border-style: solid;
  border-width: 1px;
  border-color: #c84c09;
  border-radius: 20px;
  background-color: transparent;
  color: #c84c09;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 24px;
}

.event-tag a {
  color: #c84c09;
  text-decoration: none;
}

.previous-events-section {
  padding: 50px 130px 100px 120px;
}

.prev-events-wrapper {
  background-image: url('../images/light-blue-loop.svg');
  background-position: 50% 50%;
  background-size: cover;
  padding-bottom: 50px;
}

.prev-events {
  display: flex;
  justify-content: center;
  gap: 90px;
  overflow-x: scroll;
}

.prev-events::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.prev-events {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.event-title-sm {
  font-size: 21px;
  font-weight: 500;
  text-align: left;
  line-height: 32px;
  margin-bottom: 30px;
  color: #162a51;
  min-height: 100px;
}

.events-header-sm {
  justify-content: start;
}

.events-header-title {
  max-width: 900px;
}

.event-body-sm {
  color: #162a51;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
  margin-bottom: 50px;
}

.event-block-sm {
  flex-shrink: 0;
  margin-top: 40px;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: start;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-top: 70px;
  margin-bottom: 50px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 25px;
  background-color: #fff;
  box-shadow: 4px 0 50px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  width: 330px;
  position: relative;
}

.event-block-sm img {
  width: 100%;
}

.event-img-sm {
  display: block;
  margin-top: 0;
}

.event-info-sm {
  margin-left: 0;
  padding: 30px 30px 40px 30px;
}

.prev-events-header {
  text-align: center;
}

@media screen and (max-width: 1278px) {
  .prev-events {
    gap: 35px;
    padding-left: 30px;
    padding-right: 30px;
    justify-content: start;
    margin-bottom: 70px;
  }
}

@media screen and (max-width: 767px) {
  .prev-events-header {
    text-align: left;
    margin-bottom: 0;
  }
  .previous-events-section {
    padding: 70px 30px 77px;
    padding-bottom: 0;
  }

  .prev-events {
    gap: 35px;
    padding-left: 30px;
    justify-content: start;
    margin-bottom: 70px;
  }
}
