.popup-active {
  overflow: hidden;
}

.module-gchild-gallery .gtc-gallery-wrapper .gallery-image-wrapper {
  cursor: pointer;
  opacity: 1;
  transition: all .2s ease-in-out;
}

.module-gchild-gallery .gtc-gallery-wrapper .gallery-image-wrapper:hover {
  opacity: .9;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 {
  display: grid;
  gap: calc(20px*var(--scale-ratio) + (20 - var(--scale-ratio)*20)*(var(--box-width) - 320px)/1120);
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(2,1fr);
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper {
  position: relative;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper .bg-image {
  position: absolute;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:first-child {
  grid-area: 1/1/3/3;
  padding-bottom: 125.6%;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:first-child {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:nth-child(2) {
  grid-area: 1/3/2/4;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:nth-child(2) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:nth-child(3) {
  grid-area: 1/4/2/5;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:nth-child(3) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:nth-child(4) {
  grid-area: 2/3/3/5;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 .gallery-image-wrapper:nth-child(4) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }

  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-1 {
    grid-template-columns: repeat(1,1fr);
    grid-template-rows: none;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 {
  display: grid;
  gap: calc(20px*var(--scale-ratio) + (20 - var(--scale-ratio)*20)*(var(--box-width) - 320px)/1120);
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(4,1fr);
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper {
  position: relative;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper .bg-image {
  position: absolute;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:first-child {
  grid-area: 1/1/3/3;
  padding-bottom: 85%;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:first-child {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(2) {
  grid-area: 3/1/5/3;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(2) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(3) {
  grid-area: 1/3/2/4;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(3) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(4) {
  grid-area: 1/4/2/5;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(4) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(5) {
  grid-area: 2/3/4/5;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(5) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(6) {
  grid-area: 4/3/5/4;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(6) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(7) {
  grid-area: 4/4/5/5;
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 .gallery-image-wrapper:nth-child(7) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }

  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-2 {
    grid-template-columns: repeat(1,1fr);
    grid-template-rows: none;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 {
  display: grid;
  gap: calc(5px + (var(--box-width) - 320px)*27/1120);
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: 1fr;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper {
  position: relative;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper .bg-image {
  position: absolute;
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:first-child {
  grid-area: 1/1/2/2;
  padding-bottom: 118.2%;
}

@media (max-width:767.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:first-child {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:nth-child(2) {
  grid-area: 1/2/2/3;
}

@media (max-width:767.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:nth-child(2) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:nth-child(3) {
  grid-area: 1/3/2/4;
}

@media (max-width:767.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:nth-child(3) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }
}

.module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:nth-child(4) {
  grid-area: 1/4/2/5;
}

@media (max-width:767.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 .gallery-image-wrapper:nth-child(4) {
    grid-area: auto/auto/auto/auto;
    padding-bottom: 60%;
  }

  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 {
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: none;
  }
}

@media (max-width:575.98px) {
  .module-gchild-gallery .gtc-gallery-wrapper.grid-template-3 {
    grid-template-columns: repeat(1,1fr);
    grid-template-rows: none;
  }
}

.module-gchild-gallery .gtc-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: calc(30px*var(--scale-ratio)*2 + (30 - var(--scale-ratio)*30)*(var(--box-width) - 320px)/1120*2);
}

.module-gchild-gallery .gtc-btn-wrapper .gtc-gallery-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease-in-out;
}

.module-gchild-gallery .gtc-gallery-swiper-wrapper {
  background: var(--color-white);
  display: block;
  display: flex;
  height: 100vh;
  left: 0;
  opacity: 0;
  overflow: auto;
  padding: calc(70px*var(--scale-ratio) + (70 - var(--scale-ratio)*70)*(var(--box-width) - 320px)/1120) 0;
  position: fixed;
  top: 0;
  transition: all .2s ease-in-out;
  visibility: hidden;
  width: 100%;
  z-index: 999999;
}

.module-gchild-gallery .gtc-gallery-swiper-wrapper.popup-open {
  opacity: 1;
  visibility: visible;
}

.module-gchild-gallery .gtc-gallery-close-btn {
  align-items: center;
  background-color: var(--color-white);
  border: none;
  border-radius: 100vw;
  color: var(--color-dark-blue);
  display: flex;
  height: calc(35px + (var(--box-width) - 320px)*5/1120);
  justify-content: center;
  padding: 0;
  position: absolute;
  right: calc(10px*var(--scale-ratio) + (10 - var(--scale-ratio)*10)*(var(--box-width) - 320px)/1120);
  top: calc(10px*var(--scale-ratio) + (10 - var(--scale-ratio)*10)*(var(--box-width) - 320px)/1120);
  transition: all .2s ease-in-out;
  width: calc(35px + (var(--box-width) - 320px)*5/1120);
  z-index: 2;
}

.module-gchild-gallery .gtc-gallery-close-btn:before {
  content: "\f00d";
  font-family: Font Awesome\ 6 Pro;
  font-weight: 400;
  line-height: normal;
}

.module-gchild-gallery .gallery-slider {
  margin: auto;
  max-width: calc(var(--box-width) - 40px - (var(--box-width) - 320px)*121/1120*2);
  position: relative;
  width: 95%;
}

.module-gchild-gallery .gallery-text-wrapper {
  background-color: var(--color-white);
  padding: calc(25px + (var(--box-width) - 320px)*6/1120) calc(20px + (var(--box-width) - 320px)*5/1120);
}

.module-gchild-gallery .gallery-text-wrapper .gallery-text-inner {
  max-width: calc(320px + (var(--box-width) - 320px)*277/1120);
}

.module-gchild-gallery .gallery-slider-button-wrapper {
  display: flex;
  justify-content: space-between;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: calc(79px + (var(--box-width) - 320px)*246/1120);
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
}

.module-gchild-gallery .gallery-slider-button-wrapper button {
  align-items: center;
  background-color: var(--color-white);
  border: none;
  border-radius: 0;
  color: var(--color-dark-blue);
  cursor: pointer;
  display: flex;
  height: calc(39px + (var(--box-width) - 320px)*17/1120);
  justify-content: flex-end;
  opacity: 1;
  padding: calc(15px*var(--scale-ratio) + (15 - var(--scale-ratio)*15)*(var(--box-width) - 320px)/1120);
  pointer-events: auto;
  transition: all .2s ease-in-out;
  width: calc(45px + (var(--box-width) - 320px)*17/1120);
}

.module-gchild-gallery .gallery-slider-button-wrapper button.gallery-slider-prev:before {
  color: var(--color-dark-blue);
  content: "\f104";
  font-family: Font Awesome\ 6 Pro;
  font-size: max(16px,calc(18px*var(--scale-ratio)) + (18 - calc(var(--scale-ratio)*18)) * (var(--box-width) - 320px)/(1440 - 320));
  font-weight: 400;
}

.module-gchild-gallery .gallery-slider-button-wrapper button.swiper-button-disabled {
  opacity: .5;
  pointer-events: none;
}

.module-gchild-gallery .gallery-slider-button-wrapper button.gallery-slider-next {
  justify-content: flex-start;
}

.module-gchild-gallery .gallery-slider-button-wrapper button.gallery-slider-next:before {
  color: var(--color-dark-blue);
  content: "\f105";
  font-family: Font Awesome\ 6 Pro;
  font-size: max(16px,calc(18px*var(--scale-ratio)) + (18 - calc(var(--scale-ratio)*18)) * (var(--box-width) - 320px)/(1440 - 320));
  font-weight: 400;
}

.module-gchild-gallery .gallery-slider-thumbnail-container {
  background-color: var(--color-white);
  padding: calc(15px + (var(--box-width) - 320px)*5/1120) calc(20px + (var(--box-width) - 320px)*5/1120);
}

.module-gchild-gallery .gallery-slider-thumbnail-container .slide {
  margin-right: calc(10px*var(--scale-ratio) + (10 - var(--scale-ratio)*10)*(var(--box-width) - 320px)/1120);
  max-width: calc(50px + (var(--box-width) - 320px)*15/1120);
}

.module-gchild-gallery .gallery-slider-thumbnail-container .slide.swiper-slide-thumb-active .gallery-image-wrapper,
.module-gchild-gallery .gallery-slider-thumbnail-container .slide:hover .gallery-image-wrapper {
  opacity: 1;
  transform: scale(1.1);
}

.module-gchild-gallery .gallery-slider-thumbnail-container .gallery-image-wrapper {
  background-color: var(--color-white);
  opacity: .5;
  padding-bottom: 56.2%;
  position: relative;
  transform: scale(1);
  transition: all .2s ease-in-out;
}

.module-gchild-gallery .gallery-slider-thumbnail-container .gallery-image-wrapper img {
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  position: absolute;
  top: 0;
  width: 100%;
}

.module-gchild-gallery .gallery-slider-container {
  position: relative;
}

.module-gchild-gallery .gallery-slider-container .gallery-image-wrapper {
  background-color: var(--color-white);
  padding-bottom: 56.2%;
  position: relative;
}

.module-gchild-gallery .gallery-slider-container .gallery-image-wrapper img {
  height: 100%;
  left: 0;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  position: absolute;
  top: 0;
  width: 100%;
}