/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-grid-812 {
    padding: var(--sectionPadding);
  }
  #gallery-grid-812 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-grid-812 .cs-content {
    text-align: center;
    width: 100%;
    max-width: 43.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-grid-812 .cs-category {
    width: 100%;
  }
  #gallery-grid-812 .cs-cat-title {
    font-size: 1.5rem;
    line-height: 1.2em;
    font-weight: 900;
    text-align: left;
    width: 100%;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    color: var(--headerColor);
    border-bottom: 1px solid #e8e8e8;
  }
  #gallery-grid-812 .cs-photo-grid {
    width: 100%;
    margin: 0 0 3.5rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  #gallery-grid-812 .cs-category:last-of-type .cs-photo-grid {
    margin-bottom: 0;
  }
  #gallery-grid-812 .cs-photo {
    list-style: none;
    width: 100%;
    aspect-ratio: 4/3;
    margin: 0;
    overflow: hidden;
    position: relative;
    border-radius: 0.25rem;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
  }
  #gallery-grid-812 .cs-photo:hover .cs-photo-img {
    transform: scale(1.05);
  }
  #gallery-grid-812 .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
  }
  #gallery-grid-812 .cs-photo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-grid-812 .cs-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #gallery-grid-812 .cs-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
