.section-cards-gallery {
  margin-block: 72px;
}
.section-cards-gallery .container {
  display: grid;
  gap: 24px;
}
@media (min-width: 991px) {
  .section-cards-gallery h2 {
    text-align: center;
  }
}
.section-cards-gallery .cards {
  display: grid;
  gap: 12px;
}
.section-cards-gallery .controls {
  display: flex;
  gap: 12px;
  margin-inline: -15px;
  padding-inline: 15px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}
.section-cards-gallery .controls::-webkit-scrollbar {
  display: none;
}
@media (min-width: 991px) {
  .section-cards-gallery .controls {
    padding-bottom: 12px;
  }
}
.section-cards-gallery .controls label {
  flex: 1;
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue-dark-special);
  display: grid;
  justify-items: center;
  align-items: start;
  align-content: start;
  text-align: center;
  line-height: 1.25;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
@media (max-width: 990px) {
  .section-cards-gallery .controls label {
    background-color: var(--color-blue-lighter);
    padding: 12px;
    border-radius: 12px;
    font-size: 12px;
    min-width: 25vw;
    grid-template-rows: auto 1fr;
    align-items: center;
  }
}
@media (min-width: 991px) {
  .section-cards-gallery .controls label .label {
    -webkit-text-decoration-line: underline;
            text-decoration-line: underline;
    -webkit-text-decoration-style: solid;
            text-decoration-style: solid;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.125em;
    -webkit-text-decoration-skip-ink: none;
            text-decoration-skip-ink: none;
    -webkit-text-decoration-color: transparent;
            text-decoration-color: transparent;
  }
}
.section-cards-gallery .controls label .icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.section-cards-gallery .controls label path {
  fill: currentColor;
  transition: none;
}
@media (min-width: 991px) {
  .section-cards-gallery .controls label:has(input:checked), .section-cards-gallery .controls label:hover {
    color: var(--color-blue);
  }
}
.section-cards-gallery .controls label:has(input:checked) .label {
  -webkit-text-decoration-color: currentColor;
          text-decoration-color: currentColor;
}
@media (max-width: 990px) {
  .section-cards-gallery .controls label:has(input:checked) {
    background-color: var(--color-blue-light);
  }
}
.section-cards-gallery .gallery {
  display: grid;
}
.section-cards-gallery .gallery .card {
  grid-area: 1/1/1/1;
  overflow: clip;
  transition: all 0.3s ease-out;
  background-color: var(--color-white);
}
.section-cards-gallery .gallery .card .section-twoup {
  border-radius: 24px;
}
@media (max-width: 990px) {
  .section-cards-gallery .gallery .card .section-twoup {
    border-radius: 12px;
  }
}
.section-cards-gallery:not(:has(label:nth-child(1) [name*=card]:checked)) .card:nth-child(1) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(2) [name*=card]:checked)) .card:nth-child(2) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(3) [name*=card]:checked)) .card:nth-child(3) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(4) [name*=card]:checked)) .card:nth-child(4) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(5) [name*=card]:checked)) .card:nth-child(5) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(6) [name*=card]:checked)) .card:nth-child(6) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(7) [name*=card]:checked)) .card:nth-child(7) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(8) [name*=card]:checked)) .card:nth-child(8) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(9) [name*=card]:checked)) .card:nth-child(9) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(10) [name*=card]:checked)) .card:nth-child(10) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(11) [name*=card]:checked)) .card:nth-child(11) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
.section-cards-gallery:not(:has(label:nth-child(12) [name*=card]:checked)) .card:nth-child(12) {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.3s;
  z-index: -1;
}
/*# sourceMappingURL=section-cardsgallery.css.map */
