.grid-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 245px 195px 245px;
}
.grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.span-2 {
  grid-column: span 2;
}
.grid__content {
  background-color: #000;
  height: 100%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-items: flex-start;
  gap: 75px;
  padding-top: 10px;
}
.grid-item.hover .grid__content {
  align-items: center;
  padding-top: 0;
}
.grid-item.hover {
  overflow: hidden;
}
.grid-item.hover .grid__content {
  transform: translateY(100%);
  opacity: 0;
  transition: 0.3s;
}
.grid-item.hover:hover .grid__content {
  transform: translateY(0);
  opacity: 1;
}
.grid__title p {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 1.25vw, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 100% */
}
.grid__desc p strong {
  font-size: clamp(16px, 0.9375vw, 18px);
}
.grid__desc p:nth-child(2) {
  font-size: 13px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.grid__desc p {
  font-size: 10px;
}
.grid-item.hover .grid__desc p {
  font-size: 16px;
}
.uber.mobile {
  display: none;
}

@media only screen and (max-width: 1280px) {
  .uber-grid.desktop {
    display: none;
  }
  .uber.mobile {
    display: block;
  }
  .team-slider__img img,
  .featured__image img {
    width: 100%;
    display: flex;
    object-fit: cover;
  }
  .mobile__desc {
    background-color: #000;
    padding: 30px;
  }
  .mobile__desc h2 {
    text-align: center;
    font-size: clamp(28px, 2.08333333333vw, 40px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .uber.mobile .container-fluid,
  .uber.mobile .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  .team-slider__desc {
    padding: 20px 10px 10px 10px;
    background-color: #000;
  }
  .team-slider__desc h3 {
    font-size: clamp(28px, 1.822916666666667vw, 35px);
  }

  .team-slider .slick-dots {
    bottom: -50px;
  }
}
@media only screen and (max-width: 576px) {
  .team-slider__img img {
    height: 250px;
    object-position: 50% 0;
  }
}
