﻿.detail-ser {
    background-color: #80808024;
    background-image: url(/Design/img/home-bg-2.png);
    background-size: cover;
    padding-bottom: 34px;
}

.detail-ser-options {
    display: flex;
    align-items: center;
    border: 1px solid #33333312;
    border-left: 0;
    border-right: 0;
    padding: 10px 0px;
    margin-top: 20px;
}

.same-cate-title {
    margin: 0;
    color: var(--default-color-1);
    font-family: interB;
    font-size: 20px;
    font-weight: 100;
    line-height: 153%;
    padding-bottom: 21px;
}

.side-right.my-side-news {
    display: none
}

.detail-ser-img {
    margin-top: 25px;
}

.detail-ser-content section {
    font-size: 16px;
    color: #333;
    line-height: 176%;
}

    .detail-ser-content section h3 {
        font-weight: 100;
        color: var(--default-color-1);
        font-family: interSB;
    }

.detail-ser-content {
    padding: 5px 0;
}

    .detail-ser-content p {
        margin: 10px 0
    }

.home-dv-btn {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .home-dv-btn .item {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--default-color-1);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all .3s ease;
        font-size: 18px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    }

#ctl00_main_pnsamecate {
    position: relative;
}

.home-dv-btn .item:hover {
    background: var(--default-color-2); /* màu khi hover */
    transform: scale(1.1);
}

/* nếu muốn đặt nút chồng lên slider thay vì dưới */
.same-cate {
    position: relative;
}

.home-dv-btn {
    position: absolute;
    top: 50%;
    left: -56px;
    right: -56px;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* để chỉ bắt sự kiện cho nút */
}

    .home-dv-btn .item {
        pointer-events: auto;
    }

.swiper-button-next, .swiper-button-prev {
    color: var(--default-color-1);
}
.p-news-item__type2:hover .kjfs {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .3s;
}
.kjfs {
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 146%;
    margin-bottom: 18px;
}
.p-news-item__type2:hover .xjchvjx {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .4s;
}
.xjchvjx {
    position: relative;
    margin-top: -3px;
    transform: translateY(15px);
    opacity: 0;
    margin-top: 5px;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}
.kxcjv {
    color: #4D4D4D;
    font-family: 'QsandM';
    font-size: 16px;
    width: 100%;
    transition: all .3s;
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-align: center;
    color: #ffffff;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.5);
}
.kjfs {
    font-size: 16px;
    color: #F4F4F4;
    margin: 0;
    margin-bottom: 7px;
    transition-delay: .1s;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-family: 'QSANDB';
    display: -webkit-box;
    font-weight: 100;
    line-height: 158%;
    margin: 0;
    transition: all .3s;
    text-transform: capitalize;
    text-align: center;
    font-size: 20px;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.5);
}
.p-news-list__same {
    display: unset;
}
.img > img {
    width: 72px;
    height: auto;
    margin: auto;
}
.p-news-img__type2 img{
    object-fit:contain
}
.p-news-link__type2{
    position:relative;
    background-color: #FFFF;
}
.p-news-item__type2:hover .content-top .img {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .2s;
}
.p-news-options__type2{
    display: none;
}
.p-news-item__type2:hover .p-news-content__type2{
    opacity:0
}
.p-news-content__type2{
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 100;
    background-color: var(--default-color-2);
    max-width: 94%;
    padding: 11px 17px;
    z-index: 3;
    transition: all .3s;
    border-radius: 0 12px 0 4px;
    border-bottom-left-radius: 9px;
}
.content-top .img {
    margin-bottom: 17px;
    transition-delay: .1s;
    text-align: center;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}
.p-news-item__type2:hover .p-design-content {
    opacity: 1;
}
.p-design-content {
    background-color: rgb(5 27 49 / 32%);
    position: relative;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    justify-content: center;
    transition: all .3s;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 27px;
    opacity: 0;
    border-radius: 4px;
    height: 100%;
}
.filter-img-default {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* ảnh lớn bên trái */
.mySwiper2 {
    width: 80%;
    background: #ffffff;
}

/* thumbnails dọc bên phải */
.mySwiper {
    width: 20%;
    height: 475px; /* chỉnh chiều cao phù hợp */
    /* background: #FFF; */
}

    .mySwiper .swiper-slide {
        opacity: 0.6;
        cursor: pointer;
        height: 107px !important;
    }

    .mySwiper .swiper-slide-thumb-active {
        opacity: 1;
        background: #8080803b;
        border: 1px solid var(--default-color-1);
    }

/* custom nút prev/next cho thumbs */
.swiper-button-next1,
.swiper-button-prev1 {
    color: #333;
    font-size: 20px;
}
.detail-ser-img .swiper-slide{
    height: 470px;
}
.img-top{
    height:100%;
}
.filter-img-default div:last-child {
    /* margin-top: 5px; */
    /* height: 206px; */
}

.detail-ser-img img {
    width: 480px;
    height: 100%;
    object-fit: contain;
    max-height: 470px;
    margin: 0 auto;
}

.img-bottom img {
    height: 100px;
    width: 111px;
    margin-top: 4px;
}

.detail-ser-options .options-item {
    margin-right: 15px;
    color: #33333363;
    font-size: 14px;
    display: flex;
    align-items: center;
}

    .detail-ser-options .options-item i {
    }

    .detail-ser-options .options-item span {
        display: block;
        margin-left: 7px;
    }

.detail-ser-top {
}

    .detail-ser-top .top-title {
        margin: 0;
        color: var(--default-color-2);
        font-family: interB;
        font-size: 32px;
        font-weight: 100;
        text-transform: capitalize;
        line-height: 153%;
    }

.detail-ser-container {
    padding: 50px 0;
}

.p-news-img__type2 img {
    display: block;
    width: 390px;
    height: 267px;
}

.detail-ser-top .top-descript {
    font-weight: 100;
    font-size: 16px;
    color: #333;
    margin: 12px 0;
    background-color: #1dabbc1a;
    border-left: 5px solid var(--default-color-2);
    line-height: 164%;
    padding: 8px 15px;
}

.detail-ser-left {
    float: left;
    width: 100%;
    padding-right: 45px;
}

.detail-ser-right {
    float: right;
    width: 320px;
}


@media(max-width:1023px) {
    .detail-ser-left,
    .detail-ser-right {
        width: 100%;
        float: unset;
        padding: 0;
    }
}

@media(min-width:740px) and (max-width:1023px) {

    .detail-ser-container {
        padding: 35px 0;
    }
}

@media(max-width:739px) {
    .detail-ser-container {
        padding: 25px 0;
    }

    .detail-ser-top .top-title {
        font-size: 22px;
    }

    .detail-ser-top .top-descript {
        font-size: 14px;
        padding: 8px 15px;
    }
.p-news-item__type2:hover .p-news-content__type2{
    opacity:0;
}
    .detail-ser-img {
        height: 250px;
    }

    .detail-ser-options .options-item {
        font-size: 12px;
    }

    .detail-ser-content section {
        font-size: 15px;
    }

    .img-top img {
        height: 100% !important;
        width: unset;
    }

    .detail-ser-img img {
        height: 44px;
        width: 100%;
    }

    .mySwiper {
        height: 249px;
    }

        .mySwiper .swiper-slide {
            height: 55.75px !important;
        }

    .p-news-img__type2 img {
        width: 176px;
        height: 128px;
    }
    .img > img{
        width: 41px;
    }
    .ckxv .kjfs{
        font-size:14px
    }
    .kxcjv{
        font-size:12px
    }
    .p-design-content{
        height: 100%;
        padding: 0px 16px;
    }
    .swiper-slide{
        height: 137px;
    }
    .detail-ser-img .swiper-slide{
        height:249px;
    }
}
