﻿/* CSS chi tiết đánh giá - Dental VIP Professional Style */
.review-detail-page {
    padding: 39px 0;
    background: linear-gradient(to bottom, #f8fdff, #e8f5e9);
    padding-bottom: 0;
}

.review-breadcrumb {
    /* margin-bottom: 40px; */
    font-size: 16px;
    text-align: center;
}

h3.title-cus-review-child {
    color: var(--default-color-1);
    margin: 0;
    position: relative;
    font-family: 'interB';
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 126.2%;
    font-weight: 100;
    text-align: center;
    margin-bottom: 33px;
}

.list-review-cus-child {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.review-breadcrumb a {
    color: #cb9c52;
    text-decoration: none;
    transition: color 0.3s;
}

    .review-breadcrumb a:hover {
        color: #008f8d;
    }

.review-breadcrumb .flex-center {
    margin: 0 10px;
    color: #777;
}

.decor-img-video {
    text-align: center;
}

    .decor-img-video img {
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin: auto;
    }

.review-video a#ctl00_main_lnkVideo {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.list-content-full-cus {
    display: flex;
    margin-bottom: 45px;
}

.des-dieu-tri {
    flex: 1 1 0;
    background: #e4f4ff;
    border-radius: 20px;
}

div#ctl00_main_pnlVideo {
    width: 50%;
    margin-left: 18px;
}

div#ctl00_main_PnList {
    margin-top: -60px;
    padding-bottom: 60px;
}

.review-title {
    font-size: 21px;
    color: #cb9c52;
    text-align: left;
    margin-bottom: 50px;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'interSB';
    margin-top: 0;
    display: flex;
    align-items: center;
}

.review-header {
    text-align: left;
    width: 530px;
    border-radius: 20px;
    border: 1px solid var(--default-color-1);
    background: #EFF;
    padding: 12px;
    height: max-content;
}

.review-avatar-large {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
    width: 240px;
    height: 357px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    .review-avatar-large:hover {
        transform: scale(1.05);
    }

.list-review-item-c {
    display: flex;
    background: #fff;
    border-radius: 25px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
}

.cus-images .small-img {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

    .cus-images .small-img .ig {
        position: relative;
        height: 173px;
        border-radius: 20px;
        overflow: hidden;
    }

        .cus-images .small-img .ig::before {
            position: absolute;
            width: 90px;
            background: #cb9c52;
            color: #fff;
            font-size: 18px;
            line-height: 27px;
            padding: 3px 13px;
            bottom: 0;
            left: 0;
            border-top-right-radius: 20px;
            box-sizing: border-box;
            z-index: 1;
            text-align: center;
        }

        .cus-images .small-img .ig.after::before {
            content: "Trước";
        }

        .cus-images .small-img .ig.before::before {
            content: "Sau";
        }

        .cus-images .small-img .ig img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.cus-images {
    flex: 1;
    gap: 10px;
    display: flex;
    margin-bottom: 20px;
}

.review-avatar-large img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-size: 23px;
    color: #cb9c52;
    margin: 0 0 12px;
    font-weight: normal;
    font-family: 'interSB';
    text-transform: uppercase;
}

.review-job {
    font-size: 18px;
    color: #666;
    margin-bottom: 18px;
    font-family: 'interSB';
    margin: 0;
}

.review-stars {
    color: #ffd700;
    font-size: 21px;
    margin-bottom: 22px;
    display: none;
}

.review-date {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

.review-quote {
    font-family: 'interR';
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    position: relative;
    flex: 1 1 0;
    margin-left: 35px;
}

    .review-quote blockquote {
        scrollbar-width: thin;
        scrollbar-color: rgb(2, 88, 153) rgb(217, 217, 217);
        font-size: 18px;
        margin: 0px 0px 18px;
        padding: 13px 0px 13px 20px;
        border-width: 0px 0px 0px 10px;
        border-top-style: initial;
        border-right-style: initial;
        border-bottom-style: initial;
        border-left-style: solid;
        border-top-color: initial;
        border-right-color: initial;
        border-bottom-color: initial;
        border-left-color: rgb(203 156 82);
        border-image: initial;
        outline: 0px;
        box-sizing: border-box;
        quotes: none;
        background: linear-gradient(90deg, rgb(228, 244, 255) 0%, rgba(255, 255, 255, 0.5) 104.5%);
        border-radius: 15px;
        line-height: 33px;
        color: rgb(43, 43, 43);
    }

.list-review-item-c:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.review-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 60px;
    color: #00bfa5;
    opacity: 0.12;
    position: absolute;
    top: -29px;
    left: 4px;
}

.review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 60px;
    justify-content: center;
}

    .review-gallery a {
        flex: 1 0 300px;
        max-width: 385px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

        .review-gallery a:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 45px rgba(0,0,0,0.15);
        }

        .review-gallery a img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

.review-video {
    position: relative;
    border-radius: 16px;
    transition: box-shadow 0.4s ease;
}

    .review-video .icon {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .review-video a#ctl00_main_lnkVideo .img {
        border-radius: 20px;
        text-align: center;
    }

        .review-video a#ctl00_main_lnkVideo .img > img {
            display: block;
            border-radius: 20px;
            width: 100%;
            height: 100%;
        }

    .review-video .decor-img-video img:hover {
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    }

    .review-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.no-data {
    text-align: center;
    font-size: 24px;
    color: #999;
    padding: 120px 0;
    font-style: italic;
}

.box-short {
    background: #e4f4ff;
}

.review-title span {
    font-weight: 400;
    font-size: 15px;
    color: #fff;
    display: inline-block;
    background: linear-gradient(6deg, #b88939 10.23%, #f2cd9a 103.14%);
    border-radius: 20px;
    padding: 7px 16px;
    margin-right: 12px;
}

.box-short .title {
    display: block;
    text-align: center;
    background: linear-gradient(6deg, #b88939 10.23%, #f2cd9a 103.14%);
    font-size: 18px;
    line-height: 27px;
    color: #ffffff;
    padding: 9px 5px 6px;
    margin: 0;
    font-weight: normal;
    font-family: InterSB;
}

.box-short .l-short {
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .box-short .l-short > li {
        list-style: none;
        color: #000;
        font-size: 18px;
        line-height: 27px;
        background: url(https://nhakhoaident.com/wp-content/themes/i-dent/assets/images/ico_check.svg) no-repeat left top 3px;
        padding-left: 34px;
    }

        .box-short .l-short > li span {
            font-weight: normal;
            color: #cb9c52;
            margin-right: 11px;
        }

@media screen and (max-width: 767px) {
    .box-short .l-short {
        gap: 0;
    }

        .box-short .l-short > li {
            line-height: 30px;
            background: url(https://nhakhoaident.com/wp-content/themes/i-dent/assets/images/ico_check.svg) no-repeat left top 6px;
            padding-left: 27px;
        }

            .box-short .l-short > li span {
                display: block;
                margin: 0;
                font-family: 'interSB';
            }
}

@media (max-width: 768px) {
    .review-detail-page {
        padding: 33px 0;
        padding-bottom: 0;
    }

    .my-news-breadcum .slug {
        display: none;
    }

    .list-review-item-c {
        display: flex;
        flex-direction: column;
        padding: 12px;
    }

    .review-title {
        font-size: 34px;
        margin-bottom: 40px;
        display: block;
    }

    h3.title-cus-review-child {
        font-size: 24px;
    }

    .list-review-cus-child {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 25px;
    }

    div#ctl00_main_pnlVideo {
        width: 100%;
        margin: 0;
    }

    .review-header {
        padding: 30px;
        width: 100%;
    }

    .cus-images .small-img .ig {
        height: 28.6vw;
        border-radius: 10px;
    }

        .cus-images .small-img .ig::before {
            width: 58px;
            font-size: 14px;
            line-height: 24px;
            padding: 1px 3px;
        }

    .review-avatar-large {
        width: 53%;
        height: 60vw;
        border-radius: 10px;
    }

    .review-name {
        font-size: 18px;
    }

    .review-job {
        font-size: 16px;
    }

    .review-stars {
        font-size: 16px;
    }

    .review-quote {
        font-size: 14px;
        padding: 40px;
        text-align: justify;
        margin-left: 0;
    }

        .review-quote p {
            font-size: 16px !important;
        }

    .review-title span {
        display: block;
        width: max-content;
        margin: auto;
        margin-bottom: 15px;
    }

    .list-content-full-cus {
        display: flex;
        flex-direction: column-reverse;
    }

    div#ctl00_main_PnList {
        margin-top: -78px;
    }

    .review-quote::before {
        font-size: 53px;
        top: -33px;
        left: 5px;
    }

    .review-gallery {
        gap: 20px;
    }

        .review-gallery a {
            max-width: 100%;
            flex: 1 0 100%;
        }
}

@media (max-width: 480px) {
    .review-breadcrumb {
        font-size: 14px;
    }

    .review-title {
        font-size: 20px;
        text-align: center;
    }

    .review-header {
        padding: 10px;
        margin-bottom: 18px;
    }

    .review-quote {
        padding: 0;
    }

    .review-video .icon img {
        width: 46px;
    }

    .review-video {
        margin-bottom: 40px;
    }
}

/*Home*/
.home-new {
    background: #EFF;
}

    .home-new .grid.wide {
    }

.home-new-container {
    padding-bottom: 42px;
    padding-top: 42px;
}

.home-new-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    align-items: flex-end;
    align-items: self-end;
}

    .home-new-top .top-left {
        max-width: 871px;
    }

.home-rating-container .swiper.swiperhomerating .swiper-slide {
    padding: 10px 12px;
}

.home-new-top .top-left-title {
    margin: 0;
    font-family: interB;
    font-size: 36px;
    color: var(--default-color-1);
    font-weight: 100;
    line-height: 126.2%;
}

.home-new-top .top-left-descript {
    color: #767676;
    font-size: 17px;
    line-height: 166%;
    display: block;
    margin-top: 17px;
    font-family: interM;
}

.home-new-top .top-right {
}

    .home-new-top .top-right a:hover {
        background-color: var(--default-color-2);
        color: #fff;
    }

    .home-new-top .top-right a {
        border: 2px solid var(--default-color-2);
        border-radius: 55px;
        font-family: interSB;
        font-size: 20px;
        color: var(--default-color-2);
        padding: 0 48px;
        padding-top: 15px;
        padding-bottom: 16px;
        transition: all .3s;
    }

.home-new-bottom {
    margin-top: 36px;
}

@media(max-width:1023px) {
    .home-new-top {
        flex-direction: column;
        align-items: unset;
    }

        .home-new-top .top-left {
            max-width: 100%;
        }

        .home-new-top .top-left-title {
            font-size: 24px;
        }

        .home-new-top .top-left-descript {
            margin-top: 5px;
        }

        .home-new-top .top-right a {
            font-size: 15px;
            padding: 0 30px;
            padding-top: 12px;
            padding-bottom: 12px;
            width: fit-content;
            margin-top: 12px;
        }
}

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

@media(max-width:739px) {
    .home-new-top .top-right a {
        padding: 0 22px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .home-new-bottom {
        margin-top: 20px;
    }

    .home-new-container {
        padding-bottom: 25px;
    }
}
/*Danh Gia Khach Hang*/
/* Phần Đánh Giá Khách Hàng - Không dùng Bootstrap */
.home-rating-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
    padding: 38px 0;
}

.home-rating-container {
    text-align: center;
}

.p-title {
    font-size: 40px;
    margin-bottom: 50px;
    /* Nếu chưa có font, thêm link Google Font ở trên */
    letter-spacing: 1px;
}

.title-center {
    text-align: center;
}

.title-bold {
}

.title-primary {
    color: var(--default-color-1);
}
/* Hoặc #007bff nếu chưa có biến */

/* Card testimonial */
.testimonial-card {
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px 20px 35px;
    background: #ffffff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

.swiper-slide.swiper-slide-active .testimonial-card:hover {
    /* transform: translateY(-15px) scale(1.03); */
}

/* Background mờ */
.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.testimonial-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,1));
    transition: all 0.6s ease;
    opacity: 1;
}

.swiper-slide.swiper-slide-active .testimonial-card:hover .testimonial-content {
}

.home-rating-container .swiper.swiperhomerating {
    overflow: hidden;
    position: relative;
}

    .home-rating-container .swiper.swiperhomerating .swiper-button-next {
        right: 13px;
    }

    .home-rating-container .swiper.swiperhomerating .swiper-button-prev {
        left: 12px;
    }

        .home-rating-container .swiper.swiperhomerating .swiper-button-prev:before, .home-rating-container .swiper.swiperhomerating .swiper-button-next:before {
            font-size: 22px;
        }

.home-rating-container .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -35px;
}

.home-rating-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}
/* Hover text trắng */
.swiper-slide .testimonial-card:hover .testimonial-text, .swiper-slide .testimonial-card:hover .testimonial-name, .swiper-slide .testimonial-card:hover .testimonial-job, .swiper-slide .testimonial-card:hover .quote-icon {
    color: #000000 !important;
}

/* Quote icon */
.quote-icon {
    font-size: 60px;
    opacity: 0.15;
    color: var(--default-color-1);
    margin-bottom: 30px;
    transition: all 0.6s ease;
}

/* Avatar */
.testimonial-avatar {
    margin-bottom: 20px;
    width: 100%;
    height: 317px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.testimonial-content:hover img.avatar-image {
    transform: scale(1.1);
}

.testimonial-content:hover h3.testimonial-name {
    color: var(--default-color-2);
}

.avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}

/* Stars */
.testimonial-stars {
    margin-bottom: 25px;
    display: none;
}

.star-icon {
    font-size: 16px;
    color: #ffc107; /* Vàng */
    margin: 0 1px;
}

/* Text quote */
.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    padding: 0 10px;
    padding-left: 0;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

    .testimonial-text p {
        margin: 0;
    }
/* Name & Job */
.testimonial-info {
    text-align: left;
    width: 100%;
    margin-bottom: 15px;
}

span.link-testimonial-job {
    display: block;
    font-family: interSB;
    font-size: 15px;
    border: 2px solid var(--default-color-2);
    border-radius: 55px;
    color: var(--default-color-2);
    padding: 0 29px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all .3s;
    margin-top: 15px;
    text-align: center;
}

    span.link-testimonial-job:hover {
        background: var(--default-color-2);
        color: #fff;
    }

.testimonial-name {
    font-size: 22px;
    font-weight: normal;
    color: var(--default-color-1);
    margin: 0 0 14px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'interB';
    text-transform: uppercase;
}

    .testimonial-name::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        /* transform: translateX(-50%); */
        width: 80px;
        height: 3px;
        background: var(--default-color-1);
        opacity: 0.4;
        transition: all 0.6s ease;
    }

.testimonial-card:hover .testimonial-name::before {
    background: #d5d5d5;
    opacity: 0.6;
}

.testimonial-job {
    font-size: 17px;
    text-transform: capitalize;
    color: var(--default-color-1);
    font-family: 'interSB';
    font-weight: 100;
    line-height: 150%;
}

/* Swiper arrows & pagination */
.home-rating-container .swiper.swiperhomerating .swiper-button-next, .home-rating-container .swiper.swiperhomerating .swiper-button-prev {
    background: #cb9c52;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: var(--default-color-1);
}

.swiper-pagination-bullet {
    background: rgba(0,123,255,0.3);
}

.swiper-pagination-bullet-active {
    background: var(--default-color-1);
}

/* Responsive */
@media (max-width: 739px) {
    .home-rating-section {
        padding: 38px 0;
    }

    span.link-testimonial-job {
        padding: 0 14px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 13px;
        width: fit-content;
        margin: auto;
        margin-top: 22px;
    }

    .p-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .testimonial-card {
        padding: 10px 10px 12px;
    }

    .avatar-image {
    }

    .testimonial-avatar {
        height: 285px;
    }

    .testimonial-text, .testimonial-text p {
        font-size: 16px !important;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .testimonial-job {
        font-size: 16px;
    }

    .home-rating-container .swiper.swiperhomerating .swiper-button-next, .home-rating-container .swiper.swiperhomerating .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

        .home-rating-container .swiper.swiperhomerating .swiper-button-prev:before, .home-rating-container .swiper.swiperhomerating .swiper-button-next:before {
            font-size: 17px;
        }

    .star-icon {
        font-size: 14px;
    }
}
/*End*/