.threeGrid__gallery {
    width: 100%;
  }
  .threeGrid__gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
  }
  @media (max-width: 992px) {
    .threeGrid__gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 768px) {
    .threeGrid__gallery-grid {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  .threeGrid__gallery-grid .grid__card {
    position: relative;
    overflow: hidden;
  }
  .threeGrid__gallery-grid .grid__card:hover .card__img a::before {
    top: 0;
    opacity: 1;
  }
  .threeGrid__gallery-grid .grid__card:hover .card__details {
    opacity: 1;
    top: 50%;
  }
  @media (max-width: 768px) {
    .threeGrid__gallery-grid .grid__card .card__img a {
      padding-bottom: 60%;
    }
  }
  .threeGrid__gallery-grid .grid__card .card__img a::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(19, 76, 154, 0), #14468c);
    z-index: 1;
    opacity: 0;
    transition: all 300ms ease-in-out;
  }
  .threeGrid__gallery-grid .grid__card .card__details {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 15px;
    z-index: 2;
    opacity: 0;
    transition: all 300ms ease-in-out;
  }
  .threeGrid__gallery-grid .grid__card .card__details .card__title {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    transition: all 300ms ease-in-out;
  }
  @media (max-width: 575px) {
    .threeGrid__gallery-grid .grid__card .card__details .card__title {
      font-size: 20px;
    }
  }
  .threeGrid__gallery-grid .grid__card .card__details .card__title a {
    line-height: 1.2;
    color: inherit;
  }
  .threeGrid__gallery .grid__knowMore {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
  }
  .threeGrid__gallery .grid__knowMore a {
    border: 1px solid var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px 5px 10px;
    color: var(--theme-color);
    font-size: 16px;
    font-weight: 400;
    transition: all 300ms ease-in-out;
  }
  .threeGrid__gallery .grid__knowMore a:hover {
    background: var(--theme-color);
    color: white;
  }
  