/**************************************
              Gallery
***************************************/

.sponsor-overview {
    margin-bottom: 4rem;
}

.sponsor-overview .views__rows {
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    padding-top: 1rem;
  
    @media (min-width: 576px) {
      grid-template-columns: repeat(3, 2fr);
    }
  }
  
  .sponsor-overview .views__row {
    border: 6px solid #dbdbdb;
  }
  
  .sponsor-overview .sponsor-gallery-entry {
    padding: 1rem;
    max-width: 100%;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background-color: white;
  
    @media (min-width: 576px) {
      max-width: 250px;
      height: 186px;
    }
  }
  
  .sponsor-overview .sponsor-gallery-entry__logo {
    max-width: 100%;
    max-height: 100%;
  }
  
  .sponsor-overview .sponsor-gallery-entry__logo img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .sponsor-overview .sponsor-gallery-entry__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.2s linear 0.1s;
  }
  
  .sponsor-overview .sponsor-gallery-entry__overlay:hover {
    opacity: 1;
    transition: opacity 0.2s linear 0.1s; 
  }
  
  .sponsor-overview .sponsor-gallery-entry__title {
    background-color: #dbdbdb;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    //opacity: 0;
    //transition: opacity 0.2s linear 0.1s;
  }

  .sponsor-overview a {
    color: var(--color-on-background);
    text-decoration: none;
  }