.our-events-Banner {
  background: url("../images/past-event-banner.jpg") no-repeat center center;
  background-size: cover;
}
.our-events-Banner .banner-content-wrapper {
  min-height: 75vh !important;
}
.our-events-Banner .banner-content-wrapper h2 {
  font-size: clamp(1.125rem, 0.7386rem + 1.9318vw, 2.1875rem);
  font-family: roboto;
}
.our-events-Banner .banner-content-wrapper {
  h1 {
    font-size: clamp(2.1875rem, 1.8239rem + 1.8182vw, 3.1875rem);
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    color: #fff;
    background-color: transparent;
    padding: 0;
    margin-bottom: 10px;
  }
  h2 {
    font-weight: 400 !important;
    margin-top: 20px !important;
  }
}

.filters {
  padding-block: 50px 0;
}
.search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  padding: 10px 20px;
  gap: 10px;
  border-radius: 5px;
  font-size: 14px;
  margin-block: 20px;
  a {
    text-decoration: none;
  }
}
.heading-and-view {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block: 20px;
  h1 {
    font-size: 24px;
    line-height: 1.42;
    font-weight: 500;
    margin: 0;
  }
  ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    li {
      width: 34px;
      height: 34px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #f5f5f5;
      border-radius: 5px;
      cursor: pointer;
    }
    li.active {
      background-color: #1a3967;
      color: #fff;
    }
  }
}
.events-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.event-box {
  border: 1px solid #e4e4e4;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  padding-bottom: 20px;
  &:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
  }
}
.event-logo-box {
  position: relative;
  height: 230px;
}
.event-date-grid {
  display: inline-block;
  text-align: center;
  background: #fff;
  padding: 10px 15px;
  width: auto;
  height: auto;
  position: absolute;
  top: 15px;
  left: 15px;
  border-radius: 4px;
  box-shadow: 5px 3px 15px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 15px;
  color: #555555;
  b {
    font-size: 23px;
    line-height: 23px;
    font-weight: 600;
    color: #111111;
  }
}
.event-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.event-content {
  padding: 10px;
  .list-view-date {
    display: none;
  }
}
.event-content-details {
  h4 {
    font-size: 22px;
    line-height: 1.42;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limits text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  p {
    font-size: 15px;
    line-height: 1.5;
    color: #555555;
    margin: 0;

    svg {
      width: 20px;
    }
  }
}
.events-wrapper.list-view {
  display: block;
}
.events-wrapper.list-view .event-box {
  display: flex;
  align-items: center;
  border-radius: 0;
  padding: 23px 17px;
  gap: 20px;
  &:hover {
    box-shadow: none;
    transform: none;
    transform: translateX(10px);
  }
  .event-content {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 20px;
    .list-view-date {
      display: flex;
      gap: 5px;
    }
  }
  .event-logo-box {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    .event-date-grid {
      display: none;
    }
  }
}
.event-start-date {
  color: #555555;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  font-size: 13px;
  b {
    font-size: 29px;
    line-height: 30px;
    font-weight: 600;
    color: #555555;
    text-align: center;
    text-transform: uppercase;
  }
}
.event-end-date {
  color: #555555;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  font-size: 9px;
  b {
    font-size: 15px;
    font-weight: 600;
    color: #555555;
    text-align: center;
    text-transform: uppercase;
  }
}

.row.col {
    grid-column:span 3 / span 3;
    padding-inline:15px;
}

.reset-result{
  white-space: nowrap;
}
@media (max-width: 575px) {
  .event-content-details {
    h4 {
      font-size: 18px;
    }
  }
  .events-wrapper.list-view .event-box {
    padding: 5px;
    gap: 10px;
    & .event-content {
      .list-view-date {
        display: none;
      }
    }
  }
}
