.page-header {
  height: 62vh;
  min-height: 350px;
}
.events-items-container {
  padding: 30px 0 50px;
  text-align: start;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12.52rem;
  gap: 15px;
}
.event-card-slide {
  display: flex;
  height: auto;
}
.page-title {
  bottom: 60px;
}
.page-title .title {
  font-size: 40px;
}
.main-title {
  font-size: 28px;
}
.grid-card-img {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  height: 200px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 13px;
}
.grid-title {
  color: var(--main-color);
  font-weight: 600;
  font-size: 21px;
}
.projects-header {
  position: relative;
}
.projects-header-block {
  position: relative;
}
.project-img {
  height: 360px;
  width: 100%;
  object-fit: cover;
}
.projects-details {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  align-items: end;
  top: 0;
  left: 0;
  z-index: 100;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .projects-details {
    padding: 25px;
  }
  .title {
    font-size: 23px;
  }
  .grid-title {
    font-size: 18px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .title {
    font-size: 30px;
  }
  .main-title {
    font-size: 25px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .grid {
    gap: 10px;
  }
  .main-title {
    font-size: 25px;
  }
  .grid-title {
    font-size: 19px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

@media (min-width: 1400px) {
}
