﻿.detail-news-banner {
    position: relative;
    background-color: var(--default-color-2);
    height: 450px;
}

header {
    position: unset;
    height: auto;
}

    header .header-bottom .grid.wide {
    }

    header.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 5;
    }

.table-title strong {
    color: #3b3b3b;
    margin-right: 5px;
}

.item-tt-tour .header-bottom-hotline:hover strong {
    color: #0b7874;
}

.item-tt-tour a.left-email:hover span {
    color: #0b7874;
}

.item-tt-tour {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

    .item-tt-tour a.left-email {
        padding-left: 0px;
    }

svg.cs_accent_color {
    color: var(--default-color-1);
    width: 25px;
    height: auto;
}

.title-tour-detail-child h1.title {
    margin: 0;
    color: #000;
    font-family: 'Montserrat-Bold';
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.tourmaster-tour-rating {
    margin: 15px 0;
}

    .tourmaster-tour-rating i {
        color: rgb(236, 147, 46);
    }

.table-title {
    color: #6d6d6d;
    font-size: 17px;
    font-weight: 400;
    padding-right: 17px;
    display: flex;
    align-items: center;
    margin: 8px 0px;
}

a.table-btn.table-title {
    background: var(--default-color-1);
    padding: 8px 29px;
    border-radius: 50px;
    color: #fff;
    font-size: 18px;
    font-family: 'Montserrat-ExtraBold';
}

    a.table-btn.table-title:hover {
        background: #ec932e;
    }

.svg-decor-tour-tt {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.detail-tour-list-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #d5d5d5;
    padding-top: 7px;
}

.title-tour-detail-child {
    margin-top: 23px;
}
/* CSS cơ bản giữ nguyên, chỉ tinh chỉnh cho rõ ràng và tối ưu */
ul.list-img-child-tour {
    display: grid;
    grid-gap: 4px;
    grid-template-areas:
        "left top"
        "left bottom";
    grid-template-columns: 64% 35%;
    grid-template-rows: minmax(0, 405px) minmax(0, 405px);
    aspect-ratio: 25 / 9;
    height: fit-content;
    overflow: hidden;
    list-style: none; /* Đảm bảo ul không có kiểu danh sách */
    padding: 0;
    margin: 0;
}

.totalPhotoCountButton {
    align-self: end;
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    grid-row: 2;
    margin-right: 16px;
    margin-bottom: 16px;
    pointer-events: none;
}

span.btn-show-count-img {
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    background-clip: padding-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: color .1s linear, background-color .1s linear, border-color .1s linear;
}

.item-tt-tour .content {
    margin-left: 0 !important;
}

span.btn-show-count-img .UmNoP {
    fill: #fff;
    margin-right: 5px;
}

li.item-one-img-l {
    grid-area: left;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 0.75rem 0 0 0.75rem;
}

li.item-two-img-r {
    position: relative;
    grid-area: top;
    border-radius: 0 0.75rem 0 0;
}

    li.item-two-img-r:nth-child(2) {
        grid-area: bottom;
        border-radius: 0 0 0.75rem 0;
    }

    li.item-one-img-l a,
    li.item-two-img-r a {
        display: block;
        width: 100%;
        height: 100%;
        pointer-events: all;
    }

ul.list-img-child-tour li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

li.item-one-img-l a img {
    border-radius: 0.75rem;
}

li.item-two-img-r a img {
    border-radius: 0.75rem;
}

li.item-two-img-r:nth-child(2) a img {
    border-radius: 0.75rem;
}

.list-img-detail-tour-child {
    margin-top: 20px;
}

.detail-news-banner .container {
    position: relative;
}

.detail-news-banner img {
    position: absolute;
    top: 0;
    left: 0;
}

.gdlr-core-widget-box-shortcode-content {
    box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.09);
    -webkit-box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.09);
    padding: 25px 20px 15px 20px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: #ffffff;
}

.gdlr-core-widget-box-shortcode {
    margin-bottom: 15px;
}

.gdlr-core-title-list span {
    font-size: 17px;
    color: #565656;
    margin-left: 7px;
}

.svg-decor-item-gdlr {
    display: inline-flex;
    align-items: center;
}

h3.gdlr-core-title-item-title {
    margin: 0;
    font-size: 18px;
    line-height: 143.5%;
    font-family: 'Montserrat-ExtraBold';
    color: #3b3b3b;
    user-select: none;
    text-transform: capitalize;
}

.detail-news-break {
    display: flex;
    align-items: center;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .detail-news-break a {
        transition: all .3s;
    }

        .detail-news-break a:hover {
            color: var(--default-color-1);
        }

    .detail-news-break p {
        margin: 0 6px;
        font-size: 10px;
    }

    .detail-news-break span {
    }

    .detail-news-break a,
    .detail-news-break span {
        font-size: 13px;
        font-family: 'interM';
        color: #333333d6;
    }

.detail-tour-table {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 0;
    row-gap: 0;
    border: 1px solid #ee4f2c3b;
    margin-top: 15px;
}

    .detail-tour-table .table-title {
        padding: 10px 16px;
        color: #333;
        font-size: 16px;
        border-bottom: 1px solid #ee4f2c3b;
        border-right: 1px solid #ee4f2c3b;
    }

        .detail-tour-table .table-title:nth-child(2),
        .detail-tour-table .table-title:nth-child(4) {
            border-right: 0;
        }

        .detail-tour-table .table-title:nth-child(3),
        .detail-tour-table .table-title:nth-child(4) {
            border-bottom: none;
        }

.detail-news {
    background: #f5f5f57a;
}

.item-tt-tour .header-bottom-hotline .content {
    color: #565656;
}

.header-bottom-hotline .content strong {
    margin-left: 4px;
    font-family: 'Montserrat-Regular';
}

.detail-news-container {
    padding: 50px 0;
    padding-top: 30px;
}

.detail-news-left {
    float: left;
    width: calc(100% - 340px);
    padding-right: 20px;
}

.detail-news-img {
    height: 350px;
}

    .detail-news-img img {
        border-radius: 0.75rem;
    }

.detail-news-options {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

    .detail-news-options .options-item {
        margin-right: 22px;
        display: flex;
        align-items: center;
    }

        .detail-news-options .options-item img {
        }

        .detail-news-options .options-item span {
            color: #33333391;
            font-family: 'Montserrat-Medium';
            font-size: 14px;
            margin-left: 2px;
        }

.detail-news-content {
    margin-top: 15px;
}

    .detail-news-content .detail {
        background: #FFF;
    }

    .detail-news-content img {
        height: auto !important;
    }

    .detail-news-content .title {
        font-family: 'Montserrat-SemiBold';
        color: var(--default-color-2);
        font-size: 20px;
        line-height: 140%;
        margin: 0;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .detail-news-content .descript {
        margin: 0;
        font-family: 'Montserrat-Medium';
        font-size: 17px;
        color: #333;
        border-left: 5px solid #d6d6d6;
        padding: 15px 0px 15px 25px;
        text-align: justify;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        background: #ffffff;
        padding-right: 12px;
        box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.09);
        -moz-box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.09);
        -webkit-box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.09);
    }

    .detail-news-content .detail {
        color: #333;
        font-size: 16px;
        line-height: 175%;
        margin-top: 15px;
        padding: 15px 15px 15px 25px;
        border-radius: 12px;
    }

.detail-news-right {
    float: right;
    width: 340px;
}

.detail-news-side {
}

.detail-tour-table .table-btn:hover {
    background-color: var(--default-color-1);
    color: #fff;
}

.detail-news-bottom {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    /* max-width: 650px; */
    margin: 30px auto;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

    /* Tiêu đề */
    .detail-news-bottom .qwe h2 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 15px;
        color: #1f8144;
        border-left: 5px solid #1f8144;
        padding-left: 10px;
    }

/* Nhóm form */
.asdzcx {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Box phần nhập */
.qwdsad {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.asdqwep {
    grid-column: span 2/ span 2
}
/* Tiêu đề nhỏ */
.vzxvcx {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.ascxzc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 8px;
}

    /* Label */
    .ascxzc label {
        font-weight: 500;
        display: block;
        margin-bottom: 6px;
        color: #444;
    }

/* Input + Textarea */
.form-control {
    width: 100% !important;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: all 0.25s ease;
    outline: none;
}

    .form-control:focus {
        border-color: #1f8144;
        box-shadow: 0 0 6px rgba(31,129,68,0.25);
    }

/* Các field */
.asvd, .asdbvcx, .asdqwep {
    /* margin-bottom: 18px; */
}

/* Nút bấm */
.qwrsad {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

    .qwrsad .btn {
        border-radius: 8px;
        padding: 10px 18px;
        font-size: 15px;
        cursor: pointer;
        transition: 0.25s;
    }

    .qwrsad .btn-primary {
        background: #1f8144;
        border: none;
        color: #fff;
        font-weight: 600;
    }

        .qwrsad .btn-primary:hover {
            background: #166d37;
        }

    .qwrsad .btn-default {
        background: #f0f0f0;
        border: none;
        font-weight: 500;
    }

        .qwrsad .btn-default:hover {
            background: #e0e0e0;
        }

/* Màu bắt buộc */
.red {
    color: #e63946;
}

.detail-tour-table .table-btn {
    grid-column: 1 / span 2;
    grid-row: 3;
    border-top: 1px solid #ee4f2c3b;
    border-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    font-family: 'interSB';
    color: var(--default-color-1);
    font-size: 18px;
    transition: all .3s;
}

.detail-news-side .side-item {
    border: 1px solid #33333317;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 25px;
    background: #fff;
}

.detail-news-side .side-title {
    margin: 0;
    font-family: 'Montserrat-ExtraBold';
    border-left: 2px solid var(--default-color-1);
    padding-left: 8px;
    color: #3b3b3b;
    font-size: 20px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.detail-news-side .side-news-list {
}

    .detail-news-side .side-news-list .item:last-child {
        margin-bottom: 0;
    }

    .detail-news-side .side-news-list .item {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        border-bottom: 1px solid #d5d5d5;
        padding-bottom: 12px;
    }

        .detail-news-side .side-news-list .item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .detail-news-side .side-news-list .item-img:hover img {
        transform: scale(1.02);
    }

    .detail-news-side .side-news-list .item-img {
        width: 92px;
        height: 66px;
        border-radius: 5px;
        overflow: hidden;
    }

    .detail-news-side .side-news-list .item-view .tourmaster-tour-rating {
        margin: 0;
    }

        .detail-news-side .side-news-list .item-view .tourmaster-tour-rating i {
            font-size: 11px;
        }

    .detail-news-side .side-news-list .item-img img {
        transition: all .3s;
    }

    .detail-news-side .side-news-list .item-content {
        flex: 1;
        padding-left: 11px;
    }

    .detail-news-side .side-news-list .item-title:hover {
        color: var(--default-color-1);
    }

    .detail-news-side .side-news-list .item-title {
        margin: 0;
        font-weight: 100;
        font-family: 'Montserrat-SemiBold';
        font-size: 15px;
        line-height: 136%;
        color: #333333d4;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        transition: all .3s;
    }

    .detail-news-side .side-news-list .item-view {
        margin-top: 2px;
        color: #333;
        font-size: 14px;
    }

        .detail-news-side .side-news-list .item-view img {
        }

        .detail-news-side .side-news-list .item-view span {
        }

.detail-news-side .side-cate-list {
}

    .detail-news-side .side-cate-list .item {
        border-bottom: 1px solid #33333321;
        padding: 11px 0;
        display: block;
    }

        .detail-news-side .side-cate-list .item:hover h3 {
            color: var(--default-color-1);
        }

        .detail-news-side .side-cate-list .item:last-child {
            border-bottom: 0;
        }

    .detail-news-side .side-cate-list h3 {
        margin: 0;
        font-family: 'interSB';
        font-weight: 100;
        color: #333;
        font-size: 16px;
        text-transform: capitalize;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        transition: all .3s;
    }

.detail-news-side .side-tags-list {
    display: flex;
    flex-wrap: wrap;
}

    .detail-news-side .side-tags-list .item:hover {
        opacity: .8;
    }

    .detail-news-side .side-tags-list .item {
        font-family: 'Montserrat-Regular';
        display: block;
        color: #333;
        background-color: #ee4f2c33;
        font-weight: 100;
        font-size: 12px;
        border-radius: 8px;
        overflow: hidden;
        padding: 6px 12px;
        margin: 3px;
        transition: all .3s;
    }

    .detail-news-side .side-tags-list h3 {
        margin: 0;
    }

/* Mobile & tablet */
@media (max-width: 1023px) {
    .detail-news-left,
    .detail-news-right {
        float: unset;
        width: 100%;
        padding: 0;
    }

    h3.gdlr-core-title-item-title {
        font-size: 16px;
    }

    .detail-news-side .side-title {
        font-size: 16px;
    }

    header.fixed {
        background: #f2f2f2 !important;
    }

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

/* Tablet */
@media (min-width: 740px) and (max-width: 1023px) {
    .detail-news-side .side-news-list .item-img {
        width: 142px;
        height: 86px;
    }
}

/* Mobile */
@media (max-width: 739px) {
    .detail-news-container {
        padding: 25px 0;
    }

    .detail-news-img {
        height: 220px;
    }

    .gdlr-core-title-list span {
        font-size: 15px;
    }

    h3 .gdlr-core-title-item-title {
        font-size: 16px;
    }

    .detail-news-content .title {
        font-size: 16px;
        line-height: 150%;
        margin-top: 12px;
        margin-bottom: 7px;
        text-align: justify;
    }

    .totalPhotoCountButton {
        margin-bottom: 6px;
        margin-right: 6px;
    }

    span.btn-show-count-img {
        padding: 8px 15px;
        font-size: 14px;
    }

    .title-tour-detail-child h1.title {
        font-size: 16px;
    }

    .detail-tour-list-item {
        display: block;
    }

    .table-title strong {
        display: inline-block;
        font-size: 14px;
    }

    .table-title {
        font-size: 14px;
        display: inline-flex;
        flex-wrap: wrap;
        width: 100%;
        border-bottom: 1px solid #d5d5d5;
        padding-bottom: 8px;
        margin-top: 4px;
    }

        .table-title:nth-child(2) .svg-decor-tour-tt svg {
            width: 27px;
        }

    .svg-decor-tour-tt svg {
        width: 20px;
        height: auto;
    }

    .svg-decor-tour-tt {
        margin-right: 5px;
        display: inline-flex;
    }

    a.table-btn.table-title {
        width: max-content;
    }

    .detail-news-content .descript {
        font-size: 15px;
        text-align: justify;
        padding: 10px 16px 10px 14px;
        margin-top: 20px;
    }

        .detail-news-content .descript p {
            margin: 0;
        }

    .detail-news-content .detail {
        font-size: 15px;
        margin-top: 10px;
        text-align: justify;
    }

        .detail-news-content .detail h3 {
            font-size: 15px;
        }

    th {
        font-size: 15px;
    }

    th, td {
        padding: 8px 8px;
    }

    .detail-news-side .side-item {
        padding: 10px;
        margin-bottom: 15px;
    }

    .detail-news-side .side-news-list .item-img {
        width: 92px;
        height: 78px;
    }

    .detail-news-side .side-news-list .item-title {
        -webkit-line-clamp: 2;
    }

    .detail-news-banner .container {
        height: 100%;
    }

    .popup-success {
        display: none; /* Ẩn mặc định */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

        .popup-success .popup-content {
            background: #fff;
            padding: 20px 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            text-align: center;
            animation: fadeIn 0.3s ease-in-out;
        }

            .popup-success .popup-content p {
                font-size: 16px;
                font-weight: 500;
                margin-bottom: 15px;
                color: #28a745;
            }

            .popup-success .popup-content button {
                padding: 8px 16px;
                border: none;
                background: #28a745;
                color: #fff;
                border-radius: 6px;
                cursor: pointer;
            }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .detail-news-break p {
        margin: 0 4px;
    }

    .detail-news-break a, .detail-news-break span {
        font-size: 11px;
    }

    .detail-news-break {
        padding: 4px 12px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .detail-tour-table .table-title {
        padding: 6px 12px;
        color: #333;
        font-size: 14px;
        border-bottom: 1px solid #ee4f2c3b;
        border-right: 1px solid #ee4f2c3b;
    }

    .detail-tour-table .table-btn {
        font-size: 16px;
    }

    .detail-news-banner {
        height: 200px;
    }

    .detail-news-options .options-item {
        width: 50%;
    }

    .detail-news-options {
        flex-wrap: wrap;
    }
    .asdbvcx label{
        height:41px
    }
}
