.block-gallery {
  padding: 2.5rem 0;
}
@media (min-width: 1200px) {
  .block-gallery {
    padding: 4rem 0;
  }
}
.block-gallery .term-name {
  background-color: transparent;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: -0.0225rem;
  cursor: pointer;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  color: #0A0A0A;
}
@media (min-width: 992px) {
  .block-gallery .term-name {
    color: #A9A9A9;
    padding: 1.5rem 1rem;
    border-bottom: 0.0625rem solid #000;
  }
  .block-gallery .term-name:hover, .block-gallery .term-name.active {
    background-color: #0A0A0A;
    color: #F5CD07;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
}
@media (min-width: 992px) and (min-width: 1400px) {
  .block-gallery .term-name {
    padding: 2.3125rem 1.5625rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    letter-spacing: normal;
  }
}
.block-gallery .accordion-button:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.6293 16.0832C11.3994 16.808 12.6006 16.808 13.3707 16.0832L21.1854 8.7282C21.5875 8.34969 21.6067 7.71681 21.2282 7.31464C20.8497 6.91246 20.2168 6.89329 19.8146 7.2718L12 14.6268L4.18536 7.2718C3.78319 6.89329 3.15031 6.91246 2.7718 7.31464C2.39328 7.71681 2.41246 8.34969 2.81463 8.7282L10.6293 16.0832Z' fill='black'/%3E%3C/svg%3E") !important;
}
.block-gallery .category-gallery {
  margin: 0 -0.25rem;
}
@media (min-width: 768px) {
  .block-gallery .category-gallery {
    margin: 0 -0.75rem;
  }
}
@media (min-width: 768px) and (min-width: 992px) {
  .block-gallery .category-gallery {
    display: none !important;
  }
  .block-gallery .category-gallery.active {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
}
.block-gallery .category-gallery .category-gallery-lists {
  padding: 0 0.25rem;
}
@media (min-width: 768px) {
  .block-gallery .category-gallery .category-gallery-lists {
    padding: 0 0.75rem;
  }
}
.block-gallery .category-gallery .category-gallery-lists .inner-img-gal {
  cursor: pointer;
}
@media (min-width: 768px) {
  .block-gallery .category-gallery .category-gallery-lists .inner-img-gal {
    border: 0.0625rem solid #EBEBEB;
    height: 25rem !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .block-gallery .category-gallery .category-gallery-lists .inner-img-gal picture img {
    height: 100% !important;
    width: 100% !important;
  }
}
.block-gallery .category-gallery .category-gallery-lists .inner-img-gal picture {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 768px) {
  .block-gallery .category-gallery .ratio {
    max-height: 409px;
  }
}
.block-gallery .category-gallery .ratio:before {
  display: inline-block;
}
.block-gallery .load-more-btn {
  display: none;
}
.block-gallery .load-more-btn.active {
  display: inline-block;
}
.block-gallery .loader {
  --size:10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: calc(var(--size) / 2);
  height: calc(var(--size) * 3);
  display: none;
}
.block-gallery .loader div {
  width: var(--size);
  height: var(--size);
  border-radius: var(--size);
  background-color: #000;
  -webkit-animation: wave 2s infinite ease-in-out;
          animation: wave 2s infinite ease-in-out;
}
@-webkit-keyframes wave {
  25% {
    height: calc(var(--size) * 3);
    background-color: #0A0A0A;
  }
  50% {
    height: var(--size);
    background-color: #ffc107;
  }
}
@keyframes wave {
  25% {
    height: calc(var(--size) * 3);
    background-color: #0A0A0A;
  }
  50% {
    height: var(--size);
    background-color: #ffc107;
  }
}
.block-gallery .loader :nth-child(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.block-gallery .loader :nth-child(3) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.block-gallery .loader :nth-child(4) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
.block-gallery .loader :nth-child(5) {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
