
  @media (max-width: 991px) {
    .desktop-hide {
      display: block;
    }
  
    .gallery-mobile {
      width: 100%;
      position: relative;
      overflow: hidden;
      margin: 0;
      padding: 0;
      display: block;
      display: grid;
    }

    .gallery-mobile picture, .gallery-mobile img {
      width: 100%;
      height: auto;
      margin: 0%;
      grid-column: 1/-1;
      grid-row: 1/-1;
      transition: transform 0.2s ease-in;
    }
  }
  
  .gallery .gallery-thumb {
    border-radius: var(--border-radius);
    background-color: transparent;
    display: block;
    width: 100%;
    height: auto;
    max-width: calc(100% / 5);
    overflow: hidden;
    max-height: 180px;
    aspect-ratio: 1.75/1;
    object-fit: cover;
    position: relative;
    cursor: pointer;
  }
  
  .gallery .gallery-thumb img {
    width: 100%;
    height: auto;
    transition: all .2s ease-in;
    cursor: pointer;
    top: 50%;
    transform: scale(1) translateY(-50%);
    position: relative;
  }
  
  .gallery .gallery-thumb:hover img {
    transform: scale(1.1) translateY(-40%);
    transition: all .2s ease-in;
    transform-origin: 50% 50%;
  }

  .gallery .gallery-thumb a {
    cursor: pointer; 
  }
  
  .gallery .desc {
    display: flex;
    position: absolute;
    top:1rem;
    left:0;
    width: 100%;
    height: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: all .2s ease-in;
    z-index: 2;
    opacity: 0;
    color:white !important;
    background-color: #1519227a;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: var(--p-font-family); 
    font-size: .875rem;
    box-shadow: 0px 0px 24px 0px #151922;
    padding: 2rem 3rem;
    cursor: pointer;
  }
  
  .gallery .gallery-thumb:hover .desc {
    opacity: 1;
    top: 0;
    transition: all .2s ease-in;
  }
  
  .visual.gallery {
    overflow: hidden;
  }
  
  .row-top {
    display: flex;
    flex: 1 1 20%;
    gap: .5rem;
    margin-top: .5rem;
    margin: 0.5rem -1rem 0 -10rem;
    width: calc(100% + 11rem);
  }
  
  .row-bottom {
    display: flex;
    gap: .5rem;
    margin-top: .5rem;
    margin: 0.5rem -10rem 0 -1rem;
    width: calc(100% + 11rem);
    flex: 0 0 30%;
  }
  
  @media (max-width: 768px) {
    .row-top, .row-bottom {
      flex-wrap: wrap;
      justify-content: space-evenly;
      gap: 1.5rem 0.5rem;
      padding-top: 1rem;
    }
    .gallery .gallery-thumb {
      max-width: calc(100% / 3.5);
    }
  }
