.gallery-loading img {
  display: block;
  width: 80px !important;
  margin: 60px auto;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.gallery-filter-btn {
  color: #03002f;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16px;
  opacity: 0.4;
  margin: 0;
  padding: 12px 0;
  background: none;
  border: none;
  outline: none;
  box-shadow: initial;
  appearance: none;
  transition: all 0.25s ease;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .gallery-filter-btn {
    font-size: 14px;
  }
}
.gallery-filter-btn::after {
  display: block;
  content: "";
  width: 0;
  height: 1px;
  background-color: #f04e45;
  transition: all 0.25s ease;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.gallery-filter-btn:hover {
  opacity: 1;
}
.gallery-filter-btn.active {
  color: #f04e45;
  opacity: 1;
}
.gallery-filter-btn.active::after {
  width: 100%;
}

.gallery-list {
  min-height: 312px;
}
.gallery-list .gallery-item {
  display: block;
  text-align: left;
}
.gallery-list .image-grid-btn {
  text-align: center;
}

.gallery-item {
  padding: 32px 0;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .gallery-item {
    padding: 16px 0;
  }
}
.gallery-item:first-child::before {
  display: none;
}
.gallery-item::before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #f04e45;
  width: 60px;
  height: 2px;
}
.gallery-item__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 16px;
  gap: 10px;
}
.gallery-item__head__title {
  margin: 0 0 4px;
  color: #03002f;
  font-size: 24px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.48px;
}
@media only screen and (max-width: 767px) {
  .gallery-item__head__title {
    font-size: 18px !important;
    line-height: 1.3;
    letter-spacing: -0.36px;
  }
}
.gallery-item__head__text {
  color: #03002f;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.16px;
}
@media only screen and (max-width: 767px) {
  .gallery-item__head__text {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.14px;
  }
}
.gallery-item__viewall {
  color: #f04e45;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .gallery-item__viewall {
    font-size: 14px;
  }
}
.gallery-item__viewall:hover {
  color: #03002f;
}
.gallery-item__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media only screen and (max-width: 767px) {
  .gallery-item__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.gallery-item__image {
  position: relative;
  background-color: #03002f;
  cursor: pointer;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .gallery-item__image:nth-child(3), .gallery-item__image:nth-child(4) {
    display: none;
  }
}
.gallery-item__image img {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/0.66;
  transition: all 0.25s ease;
  opacity: 1;
  transform: scale(1);
}
@media only screen and (max-width: 767px) {
  .gallery-item__image img {
    aspect-ratio: 1/1;
  }
}
.gallery-item__image:hover img {
  opacity: 0.8;
  transform: scale(1.2);
}

/**/
.gallery-popup-active {
  overflow: hidden;
}

.gallery-popup {
  position: fixed;
  width: 100%;
  background: rgba(3, 0, 47, 0.9);
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  padding: 40px 100px;
  display: flex;
  align-items: center;
  max-width: 100dvw;
}
@media only screen and (max-width: 767px) {
  .gallery-popup {
    padding: 24px;
  }
}
.gallery-popup .popup-content {
  width: 100%;
  max-width: 1062px;
  margin: 0 auto;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .popup-content {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}
.gallery-popup .popup-content .close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: none;
  background: none;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .popup-content .close-popup {
    top: 12px;
    right: 12px;
  }
  .gallery-popup .popup-content .close-popup svg {
    display: block;
    width: 24px;
  }
}
.gallery-popup .popup-content .slide-arrow {
  position: absolute;
  top: calc(50% + 20px);
  transform: translateY(-50%);
  appearance: none;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
}
.gallery-popup .popup-content .slide-arrow.prev-arrow {
  left: -72px;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .popup-content .slide-arrow.prev-arrow {
    left: -24px;
    top: 50%;
  }
  .gallery-popup .popup-content .slide-arrow.prev-arrow svg {
    width: 24px;
  }
}
.gallery-popup .popup-content .slide-arrow.next-arrow {
  right: -72px;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .popup-content .slide-arrow.next-arrow {
    right: -24px;
    top: 50%;
  }
  .gallery-popup .popup-content .slide-arrow.next-arrow svg {
    width: 24px;
  }
}
.gallery-popup .image-slider {
  margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .image-slider {
    margin-top: auto;
    margin-bottom: 20px;
  }
}
.gallery-popup .image-slider img {
  display: block;
  height: 492px;
  max-height: calc(100dvh - 200px);
  width: auto !important;
  max-width: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .image-slider img {
    max-height: calc(100dvh - 158px);
    height: auto;
  }
}
@media only screen and (max-width: 767px) {
  .gallery-popup .slider-nav {
    margin-top: auto;
  }
}
.gallery-popup .slider-nav .slick-slide {
  padding: 4px;
  cursor: pointer;
}
.gallery-popup .slider-nav .slick-current {
  opacity: 0.5;
}
.gallery-popup .slider-nav img {
  display: block;
  width: 88px !important;
  height: 88px !important;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  .gallery-popup .slider-nav img {
    width: 42px !important;
    height: 42px !important;
  }
}/*# sourceMappingURL=gallery-list.css.map */