.detailPage{
    padding: 70px 0 76px;
    background-color: var(--color_lightgray);
}
.detailPage .sub-title{font-size: 34px;}
.detailPage .content{margin-top: 31px;}
.detailPage .cover{
    position: relative;
    padding-bottom: 56%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 35px;
}
.detailPage .cover img{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    background-color: #fafafa;
}
.detailPage .content .desc ul,
.detailPage .content .desc ol{list-style: inherit;}
.detailPage .content .desc ul > li,
.detailPage .content .desc ol > li{margin-left: 25px;}
.detailPage .share{padding-top: 20px;}
.detailPage .share .item-list{font-size: 18px; font-family: 'scg_bol', sans-serif; display: flex; align-items: center;}
.detailPage .share .item-list > .item:first-child{padding: 0 5px 0 16px;}
.detailPage .share .item-list > .item{padding: 0 5px;}
.detailPage .item a{
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 1px solid var(--color_gray);
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 300ms;
}
.detailPage .item a:hover{transform: translateY(-5px);}
.detailPage .item a img{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detailPage .gallery .title{
    font-size: 36px;
    padding-bottom: 25px;
    margin-top: 100px;
}
.detailPage .gallery .image-list{display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 17px;}
.detailPage .gallery .image-list .item{
    display: inline-block;
    width: 220px;
    height: 150px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    z-index: 0;
}
.detailPage .gallery .image-list .item:nth-child(n + 6){display: none;}
.detailPage .gallery .image-list .item:before{
    content: attr(data-name);
    position: absolute;
    font-family: 'scg_bol', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: var(--color_light);
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}
.detailPage .gallery .image-list .item:nth-child(5):before{opacity: 1;}
.detailPage .gallery .image-list .item img{position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}

.detailPage .gallery{margin-bottom: 30px;}
.detailPage .vdo{padding-top: 50px;}
.detailPage .vdo .cover{position: relative; padding-bottom: 43%; max-width: 900px; border-radius: 10px; margin: 0 auto; overflow: hidden;}
.detailPage .vdo iframe{position: absolute; width: 100%; height: 100%; top: 0; right: 0; bottom: 0; left: 0; object-fit: cover;}

.remodal.modalGallery{width: calc(100% - 270px); max-width: 1170px; padding: 15px; border-radius: 10px; background-color: transparent; position: relative; pointer-events: none;}
.remodal.modalGallery .swiper-wrapper{height: auto; pointer-events: none;}
.slide_big .cover {pointer-events: none; position: relative; /*padding-bottom: 56%;*/ width: 100%; height: calc(100vh - 30vh); overflow: hidden; border-radius: 10px;}
.slide_big .cover img{position: absolute;; height: 100%; top: 0; left: 50%; bottom: 0; right: 0; transform: translate(-50%, 0); border-radius: 10px; object-fit: contain;}
.slide_thumb .swiper-slide .cover {position: relative; border-radius: 5px; overflow: hidden; border: 2px solid transparent; transition: all 300ms;}
.slide_thumb .swiper-slide .cover:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color_dark);
    opacity: 0.5;
    pointer-events: none;
    transition: all 300ms;
    z-index: 1;
}
.slide_thumb .swiper-slide.active .cover { border-color: var(--color_dark);}
.slide_thumb .swiper-slide.active .cover:before{opacity: 0;}
.slide_thumb .swiper-slide-thumb-active .cover { border-color: var(--color_dark);}
.slide_thumb .swiper-slide-thumb-active .cover:before{opacity: 0;}
.remodal-close, .remodal-close:before {left:auto !important; right:0;}

.remodal.modalGallery .slide_big{overflow: inherit;}
.remodal.modalGallery .swiper-button-next{right: -50px;}
.remodal.modalGallery .swiper-button-prev{left: -50px;}
.remodal.modalGallery .swiper-button-next, .remodal.modalGallery .swiper-button-prev{
    --size: 50px;
    width: var(--size); 
    height: var(--size); 
    border-radius: 50%;
    background-color: var(--color_light);
    pointer-events: auto;

}
.remodal.modalGallery .swiper-button-next.swiper-button-disabled, .remodal.modalGallery .swiper-button-prev.swiper-button-disabled{pointer-events: auto;}
.remodal.modalGallery .swiper-button-next:after,
.remodal.modalGallery .swiper-button-prev:after{
    color: var(--color_dark);
    font-size: 25px; 
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.remodal.modalGallery .remodal-close:before{
    --size: 40px;
    width: var(--size);
    height: var(--size);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color_light);
    color: var(--color_light);
    border-radius: 50%;
    font-size: 40px;
    opacity: 0.8;
    z-index: 2;
}
.remodal.modalGallery .slide_thumb .swiper-slide{pointer-events: auto;}

.remodal.modalGallery .swiper-fade .swiper-slide-active, .remodal.modalGallery .swiper-fade .swiper-slide-active .swiper-slide-active {pointer-events: none;}

.remodal.modalGallery .slide_thumb .cover{position: relative; padding-bottom: 56%; overflow: hidden;}
.remodal.modalGallery .slide_thumb .cover img{position: absolute;width: 100%; height: 100%; top: 0; left: 0; bottom: 0; right: 0; object-fit: cover;}


@media(max-width: 1439px){
    .detailPage .sub-title{font-size: 26px;}
    .detailPage .gallery .title{font-size: 30px; margin-top: 40px;}
    .detailPage .item a{width: 40px; height: 40px;}
}

@media(max-width: 1199px){
    .detailPage{padding: 30px 0 56px;}
    .detailPage .gallery{margin-bottom: 20px;}
    .detailPage .gallery .image-list .item{width: 100%; height: 110px;}
    .detailPage .vdo{padding-top: 30px;}
    .detailPage .vdo .cover{max-width: calc(100% - 220px);}

    .remodal.modalGallery .swiper-button-next, .remodal.modalGallery .swiper-button-prev{--size: 40px;}
    .remodal.modalGallery .swiper-button-next:after, .remodal.modalGallery .swiper-button-prev:after{font-size: 16px;}
}
@media(max-width: 991px){
    .remodal.modalGallery{width: calc(100% - 60px);}
    .slide_big .cover{height: calc(100vh - 60vh);}
    .remodal.modalGallery .remodal-close, .remodal.modalGallery .remodal-close:before{top: -20px;}
}
@media(max-width: 767px){
    .detailPage{padding: 30px 0;}
    .detailPage .sub-title{font-size: 20px;}
    .detailPage .content{margin-top: 16px;}
    .detailPage .cover{margin-bottom: 25px;}
    .detailPage .content .desc{font-size: 14px;}

    .detailPage .gallery .title{font-size: 22px; margin-top: 30px; padding-bottom: 10px;}

    .detailPage .gallery{margin-bottom: 15px;}
    .detailPage .gallery .image-list{grid-template-columns: repeat(4, 1fr); grid-gap: 5px;}
    .detailPage .gallery .image-list .item{height: 80px;}
    .detailPage .gallery .image-list .item:nth-child(4):before{opacity: 1;}
    .detailPage .gallery .image-list .item:nth-child(n+5){display: none;}

    .detailPage .vdo{padding-top: 15px;}
    .detailPage .vdo .cover{max-width: 100%; padding-bottom: 56%;}

    .slide_big .cover{height: auto; padding-bottom: 56%;}
    .remodal.modalGallery{padding: 6px;}
    .remodal.modalGallery .swiper-button-next, .remodal.modalGallery .swiper-button-prev{--size: 30px;}
}
@media(max-width: 575px){
    .remodal.modalGallery .swiper-button-next{right: -20px;}
    .remodal.modalGallery .swiper-button-prev{left: -20px;}

    .swiperOtherYear .block .name.text-limit{-webkit-line-clamp: 2;}
}