.section-gallery-images {
  color: #f5f1e8;
}
.section-gallery-images .central-bg {
  position: relative;
  overflow: hidden;
  background: #0b1f3a url(../resources/images/gallery/gallery_bg.png)
    center/cover no-repeat;
}
.section-gallery-images .central-bg::before {
  position: absolute;
  inset: 0;
  background: url(../resources/images/gallery/gallery_pattern.png) center/cover
    no-repeat;
  content: "";
  opacity: 0.3;
  pointer-events: none;
}
.section-gallery-images .wrapper {
  position: relative;
  z-index: 1;
}

.gallery-images-layout {
  width: 100%;
  max-width: 17.9rem;
  margin: 0 auto;
  padding: 1.36rem 0.55rem 0.64rem;
}
@media (min-width: 768px) and (max-height: 719.98px) {
  .gallery-images-layout .title-common-primary {
    margin-bottom: 0.3rem;
  }
}

.gallery-images-slider .swiper-wrapper {
  align-items: stretch;
}
.gallery-images-slider .swiper-slide {
  height: auto;
}
.gallery-images-slider .swiper-pagination {
  position: unset;
}
.gallery-images-slider .swiper-pagination-bullet {
  width: 0.12rem;
  height: 0.12rem;
  border: 1px solid #c6a45a;
  background: transparent;
  opacity: 1;
}
.gallery-images-slider .swiper-pagination-bullet-active {
  background: #c6a45a;
}
@media print, (min-width: 768px) {
  .gallery-images-slider .swiper-pagination {
    margin-top: 0.4rem;
  }
}
@media (min-width: 768px) and (max-height: 719.98px) {
  .gallery-images-slider .swiper-pagination {
    margin-top: 0.3rem;
  }
}
@media only screen and (max-width: 767.98px) {
  .gallery-images-slider .swiper-pagination {
    margin-top: 0.34rem;
  }
}

.gallery-image-card {
  position: relative;
  overflow: hidden;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.1rem;
  background: #0b1f3a;
}
@media (min-width: 768px) and (max-height: 719.98px) {
  .gallery-image-card {
    height: 2.3rem;
  }
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-image-title {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #f5f1e8;
  font-weight: 600;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.gallery-image-title::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 31, 58, 0.72);
  backdrop-filter: blur(5px);
  z-index: -1;
}
@media print, (min-width: 768px) {
  .gallery-image-title {
    font-size: 0.22rem;
    line-height: 1.4545454545;
    padding: 0.08rem 0.1rem 0.07rem;
  }
}
@media only screen and (max-width: 767.98px) {
  .gallery-image-title {
    font-size: 0.16rem;
    line-height: 1.625;
    padding: 0.08rem 0.1rem 0.07rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .gallery-image-card:hover .gallery-image {
    transform: scale(1.05);
  }
}
.gallery-image-card.js-slide-image {
  cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1024.98px) {
  .gallery-images-layout {
    padding: 1rem 0.25rem 0.5rem;
  }
  .gallery-image-card {
    height: 2.2rem;
  }
}
@media only screen and (max-width: 767.98px) {
  .gallery-images-layout {
    padding: 1.4rem 0 0.5rem;
  }
  .section-gallery-images .title-common-primary {
    margin-bottom: 0.25rem;
  }
  .gallery-image-card {
    height: 1.6rem;
  }
  .gallery-images-layout .list-common-tabs {
    min-height: 3rem;
  }
}
.list-common-tabs {
  margin: 0;
}
@media print, (min-width: 768px) {
  .list-common-tabs {
    min-height: 7.35rem;
  }
}
@media (min-width: 768px) and (max-height: 719.98px) {
  .list-common-tabs {
    min-height: 4.1rem;
    padding: 0 0.7rem;
  }
}

.section-gallery-video {
  color: #f5f1e8;
}
.section-gallery-video .central-bg {
  position: relative;
  overflow: hidden;
  background: #0b1f3a url(../resources/images/gallery/gallery_bg.png)
    center/cover no-repeat;
}
.section-gallery-video .central-bg::before {
  position: absolute;
  inset: 0;
  background: url(../resources/images/gallery/gallery_pattern.png) center/cover
    no-repeat;
  content: "";
  opacity: 0.3;
  pointer-events: none;
}
.section-gallery-video .wrapper {
  position: relative;
  z-index: 1;
}

.gallery-video-layout {
  width: 100%;
}

.gallery-video-slider {
  width: 100%;
}
.gallery-video-slider .swiper-pagination-bullet {
  width: 0.12rem;
  height: 0.12rem;
}
.gallery-video-slider .swiper-pagination {
  position: unset;
}
@media print, (min-width: 768px) {
  .gallery-video-slider .swiper-pagination {
    margin-top: 0.28rem;
  }
}
@media only screen and (max-width: 767.98px) {
  .gallery-video-slider .swiper-pagination {
    margin-top: 0.34rem;
  }
}

.gallery-video-card {
  color: #c6a45a;
}

.gallery-video-media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.1rem;
}

.gallery-video-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-video-play img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-video-duration {
  position: absolute;
  right: 0.1rem;
  bottom: 0.1rem;
  border-radius: 0.1rem;
  background: #0b1f3a;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}

.gallery-video-title {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-video-date {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  color: #c6a45a;
}

.gallery-video-date img {
  display: block;
}

.gallery-video-slider .swiper-pagination {
  bottom: 0;
}

.gallery-video-slider .swiper-pagination-bullet {
  border: 1px solid #c6a45a;
  background: transparent;
  opacity: 1;
}

.gallery-video-slider .swiper-pagination-bullet-active {
  background: #c6a45a;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-video-media:hover .gallery-video-thumbnail {
    transform: scale(1.05);
  }
  .gallery-video-media:hover .gallery-video-play {
    transform: translate(-50%, -50%) scale(1.08);
  }
}
@media print, (min-width: 768px) {
  .gallery-video-layout {
    padding: 1.36rem 0 0.5rem;
  }
  .gallery-video-slider {
    padding-bottom: 0.48rem;
  }
  .gallery-video-media {
    height: 5.3rem;
  }
  .gallery-video-play {
    width: 0.5rem;
    height: 0.5rem;
  }
  .gallery-video-duration {
    font-size: 0.18rem;
    padding: 0.08rem 0.15rem;
  }
  .gallery-video-title {
    margin-top: 0.35rem;
    font-size: 0.25rem;
    line-height: 1.16;
  }
  .gallery-video-date {
    margin-top: 0.1rem;
    font-size: 0.15rem;
    line-height: 1.3333333333;
  }
  .gallery-video-date img {
    width: 0.14rem;
    height: 0.14rem;
  }
}
#mediaPopup .popup-body {
  width: 100%;
}

#mediaPopup .section-gallery,
#mediaPopup .list-top-gallery-detail,
#mediaPopup .list-top-gallery-detail > .swiper {
  width: 100%;
}

#mediaPopup .section-gallery .wrapper {
  position: relative;
  width: min(14rem, 100% - 1.6rem);
  margin: 0 auto;
}

#mediaPopup .list-top-gallery-detail > .swiper {
  --swiper-navigation-size: 0.52rem;
  position: relative;
  overflow: hidden;
}

#mediaPopup .swiper-button-prev,
#mediaPopup .swiper-button-next {
  top: 50%;
  width: 0.52rem;
  height: 0.52rem;
  margin-top: 0;
  transform: translateY(-50%);
  border: 1px solid #c6a45a;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.72);
  color: #c6a45a;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mediaPopup .swiper-button-prev svg,
#mediaPopup .swiper-button-next svg {
  display: none;
}

#mediaPopup .swiper-slide {
  width: 100%;
}

#mediaPopup .slide-wrapper,
#mediaPopup .slide-image,
#mediaPopup .slide-video {
  width: 100%;
  margin: 0 auto;
}

@media print, (min-width: 768px) {
  #mediaPopup .slide-video {
    width: 100%;
  }
}
@media only screen and (max-width: 767.98px) {
  #mediaPopup .slide-video {
    width: 100%;
  }
}

#mediaPopup .slide-image,
#mediaPopup .slide-video {
  position: relative;
}
#mediaPopup .slide-image img,
#mediaPopup .slide-image iframe,
#mediaPopup .slide-video img,
#mediaPopup .slide-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.1rem;
}

#mediaPopup .slide-video iframe {
  border: 0;
}

#mediaPopup .swiper-button-prev {
  left: 0.2rem;
}

#mediaPopup .swiper-button-next {
  right: 0.2rem;
}

#mediaPopup .swiper-button-prev::after,
#mediaPopup .swiper-button-next::after {
  font-size: 0.18rem;
  font-weight: 700;
  line-height: unset;
}

#mediaPopup .swiper-controller {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.2rem;
  color: #f5f1e8;
}

#mediaPopup .swiper-title {
  margin: 0;
  color: #c6a45a;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

#mediaPopup .swiper-pagination {
  position: static;
  justify-self: end;
  width: auto;
  color: #f5f1e8;
}

@media print, (min-width: 768px) {
  #mediaPopup .slide-image,
  #mediaPopup .slide-video {
    padding-top: 56.25%;
  }
  #mediaPopup .swiper-title {
    font-size: 0.25rem;
    line-height: 1.4;
  }
  #mediaPopup .swiper-pagination {
    font-size: 0.18rem;
  }
}
@media (min-width: 768px) and (max-height: 719.98px) {
  #mediaPopup .section-gallery:has(.slide-video) .wrapper {
    width: min(12.6rem, 100% - 4rem);
  }
  #mediaPopup .slide-image {
    padding-top: 50%;
  }
  #mediaPopup .slide-video {
    padding-top: 56.25%;
  }
}
@media (min-width: 768px) and (max-width: 1024.98px) {
  #mediaPopup .section-gallery .wrapper {
    width: calc(100% - 0.8rem);
  }
  #mediaPopup .slide-image,
  #mediaPopup .slide-video {
    height: min(4.15rem, 62dvh);
  }
}
@media only screen and (max-width: 767.98px) {
  #mediaPopup .section-gallery .wrapper {
    width: calc(100% - 0.4rem);
  }
  #mediaPopup .slide-image,
  #mediaPopup .slide-video {
    height: 2.3rem;
  }
  #mediaPopup .list-top-gallery-detail > .swiper {
    --swiper-navigation-size: 0.4rem;
  }
  #mediaPopup .swiper-button-prev,
  #mediaPopup .swiper-button-next {
    width: 0.4rem;
    height: 0.4rem;
    margin-top: 0;
  }
  #mediaPopup .swiper-button-prev {
    left: 0.1rem;
  }
  #mediaPopup .swiper-button-next {
    right: 0.1rem;
  }
  #mediaPopup .swiper-button-prev::after,
  #mediaPopup .swiper-button-next::after {
    font-size: 0.14rem;
  }
  #mediaPopup .swiper-title {
    font-size: 0.18rem;
    line-height: 0.25rem;
  }
  #mediaPopup .swiper-pagination {
    font-size: 0.14rem;
  }
}
@media (min-width: 768px) and (max-width: 1024.98px) {
  .gallery-video-layout {
    padding: 1rem 0.25rem 0.5rem;
  }
  .gallery-video-layout .title-common-primary {
    margin-bottom: 0.3rem;
  }
  .gallery-video-slider {
    padding-bottom: 0.42rem;
  }
  .gallery-video-media {
    height: 3.1rem;
  }
  .gallery-video-play {
    width: 0.45rem;
    height: 0.45rem;
  }
  .gallery-video-duration {
    font-size: 0.14rem;
  }
  .gallery-video-title {
    margin-top: 0.18rem;
    font-size: 0.2rem;
  }
  .gallery-video-date {
    margin-top: 0.06rem;
    font-size: 0.13rem;
  }
  .gallery-video-date img {
    width: 0.12rem;
    height: 0.12rem;
  }
}
.section-gallery-document {
  color: #f5f1e8;
}
.section-gallery-document .central-bg {
  background: #0b1f3a url(../resources/images/gallery/gallery_bg.png)
    center/cover no-repeat;
}
.section-gallery-document .central-bg::before {
  position: absolute;
  inset: 0;
  background: url(../resources/images/gallery/gallery_pattern.png) center/cover
    no-repeat;
  content: "";
  opacity: 0.3;
  pointer-events: none;
}
.section-gallery-document .wrapper {
  position: relative;
  z-index: 1;
}

.gallery-document-layout {
  width: 100%;
  max-width: 18rem;
  margin: 0 auto;
}

.gallery-document-list {
  display: grid;
}

.gallery-document-card {
  min-width: 0;
}

.gallery-document-link {
  display: block;
  cursor: pointer;
}

.gallery-document-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.1rem;
}

.gallery-document-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-document-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 0.1rem;
}

.gallery-document-title {
  min-width: 0;
  margin: 0;
  color: #c6a45a;
  font-weight: 600;
  line-height: 1.16;
  text-transform: uppercase;
}

.gallery-document-meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  color: #616d80;
  font-weight: 600;
  line-height: 1;
  gap: 0.02rem;
}

.gallery-document-meta img {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-document-link:hover .gallery-document-thumbnail {
    transform: scale(1.05);
  }
}
@media print, (min-width: 768px) {
  .gallery-document-layout {
    padding: 1.3rem 0 0.7rem;
  }
  .gallery-document-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.32rem;
  }
  .gallery-document-media {
    margin-bottom: 0.17rem;
    height: 5.3rem;
  }
  .gallery-document-info {
    min-height: 0.82rem;
    padding: 0.1rem 0.12rem 0.1rem 0.2rem;
  }
  .gallery-document-title {
    padding-right: 0.12rem;
    font-size: 0.25rem;
  }
  .gallery-document-meta {
    font-size: 0.18rem;
  }
  .gallery-document-meta img {
    width: 0.26rem;
    height: 0.32rem;
    margin-bottom: 0.02rem;
  }
}
@media (min-width: 768px) and (max-width: 1024.98px) {
  .gallery-document-layout {
    padding: 1rem 0.25rem 0.5rem;
  }
  .gallery-document-layout .title-common-primary {
    margin-bottom: 0.3rem;
  }
  .gallery-document-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
  }
  .gallery-document-media {
    height: 3.8rem;
  }
  .gallery-document-info {
    min-height: 0.72rem;
    padding: 0.1rem 0.12rem 0.1rem 0.16rem;
  }
  .gallery-document-title {
    padding-right: 0.1rem;
    font-size: 0.2rem;
  }
  .gallery-document-meta {
    font-size: 0.12rem;
  }
  .gallery-document-meta img {
    width: 0.23rem;
    height: 0.28rem;
    margin-bottom: 0.02rem;
  }
}
@media only screen and (max-width: 767.98px) {
  .gallery-document-layout {
    padding: 0.7rem 0;
  }
  .gallery-document-layout .title-common-primary {
    margin-bottom: 0.2rem;
  }
  .gallery-document-list {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .gallery-document-media {
    margin-bottom: 0.15rem;
    height: 4rem;
  }
  .gallery-document-info {
    min-height: 0.7rem;
    padding: 0.1rem 0.12rem 0.1rem 0.16rem;
  }
  .gallery-document-title {
    padding-right: 0.1rem;
    font-size: 0.19rem;
  }
  .gallery-document-meta {
    font-size: 0.11rem;
  }
  .gallery-document-meta img {
    width: 0.22rem;
    height: 0.27rem;
    margin-bottom: 0.02rem;
  }
}
@media only screen and (max-width: 767.98px) {
  .gallery-video-layout {
    padding: 0.7rem 0;
  }
  .gallery-video-layout .title-common-primary {
    margin-bottom: 0.3rem;
  }
  .gallery-video-media {
    height: 2.55rem;
  }
  .gallery-video-play {
    width: 0.42rem;
    height: 0.42rem;
  }
  .gallery-video-duration {
    font-size: 0.14rem;
    padding: 0.06rem 0.15rem 0.07rem;
  }
  .gallery-video-title {
    margin-top: 0.16rem;
    font-size: 0.2rem;
  }
  .gallery-video-date {
    margin-top: 0.06rem;
    font-size: 0.14rem;
  }
  .gallery-video-date > span {
    padding-top: 0.02rem;
  }
  .gallery-video-date img {
    width: 0.14rem;
    height: 0.14rem;
  }
}
