.section-gallery .gallery-col,
.section-shaing .gallery-col {
  padding: 12px;
}

.section-gallery .gallery-col *,
.section-shaing .gallery-col * {
  height: 100%;
}

.section-gallery .gallery-col:nth-child(4n + 1),
.section-shaing .gallery-col:nth-child(3n + 1),
.section-shaing .list-bottom .col:nth-child(3n + 1) {
  padding-left: 15px;
}

.section-gallery .gallery-col:nth-child(4n),
.section-shaing .gallery-col:nth-child(3n),
.section-shaing .list-bottom .col:nth-child(3n) {
  padding-right: 15px;
}

.section-gallery .gallery-col:nth-child(-n + 4),
.section-shaing .list-bottom .col:nth-child(-n + 3) {
  padding-top: 0;
}

.section-gallery .gallery-col:nth-last-child(-n + 4) {
  padding-bottom: 0;
}

.section-shaing .list-bottom {
  margin-top: clamp(32px, 4.8vw, 64px);
}

.section-shaing .list-bottom .col {
  padding: 12px;
}

.section-shaing .list-bottom .col:nth-last-child(-n + 3) {
  padding-top: 24px;
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .section-gallery .gallery-col,
  .section-shaing .gallery-col {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .section-gallery .gallery-col:nth-child(2n + 1) {
    padding: 10px 10px 10px 15px;
  }

  .section-gallery .gallery-col:nth-child(2n) {
    padding: 10px 15px 10px 10px;
  }
}

@media (max-width: 567px) {
  .section-shaing .gallery-col {
    padding: 0 15px 16px !important;
  }

  .section-shaing .gallery-col:last-child {
    padding-bottom: 0 !important;
  }

  .section-shaing .list-bottom .col:nth-child(-n + 3),
  .section-shaing .list-bottom .col:nth-last-child(-n + 3) {
    padding-top: 16px;
  }

  .section-shaing .list-bottom .col:first-child {
    padding-top: 0;
  }

  .section-gallery .gallery-col:nth-child(2n + 1) {
    padding: 8px 8px 8px 15px;
  }

  .section-gallery .gallery-col:nth-child(2n) {
    padding: 8px 15px 8px 8px;
  }
}
