﻿.vd_voyage_index {
    display: flex;
    flex-direction: column;
}

    .vd_voyage_index h1.name {
        font-size: 30px;
        color: #a24d24;
        display: block;
        text-align: center;
        font-weight: bold
    }

    .vd_voyage_index h2.head {
        font-size: 24px;
        color: #a24d24;
        display: block;
        text-align: center
    }

    .vd_voyage_index .wrp:after {
        display: none
    }

    .vd_voyage_index .section-best-sellers-voyage .container {
        display: flex;
        gap: var(--gap-40);
        flex-direction: column;
        align-items: center;
    }

.vd_voyage_index {
    margin-bottom: 80px
}

    .vd_voyage_index .section-best-sellers-voyage {
        background: #fafafa;
        padding: 64px 0;
    }

        .vd_voyage_index .section-best-sellers-voyage .section-header {
            max-width: var(--width-form)
        }

    .vd_voyage_index .bottom-voyageVn .share_destination.wrp {
        /*max-width: var(--width-container);*/
        /*width: 100%*/
        background: transparent;
        padding: 0;
        border: none
    }

    .vd_voyage_index .vd_voyage_qna.qna_category-new {
        margin: 0 16px;
        gap: 20px
    }

    .vd_voyage_index .section-best-sellers-voyage .container {
        align-items: unset;
    }

    .vd_voyage_index .section-best-sellers-voyage {
        padding: 40px 0;
    }


    .vd_voyage_index .tab-menu {
        justify-content: unset;
        overflow: auto;
    }

        .vd_voyage_index .tab-menu .tab-item {
            white-space: nowrap;
        }

.vd_voyage_index {
    margin-bottom: 40px;
}

    .vd_voyage_index .subComment_Voyages.wrp,
    .vd_voyage_index #section-8 {
        background: #fff;
    }

        .vd_voyage_index .subComment_Voyages.wrp .listComment {
            margin: 0 0 40px 0
        }
        /* Container chính */
.voyage-vietnam-comment {
   padding: 80px 0;
   background: #FAFAFA
}

.vd_voyage_index #section-8.pb70 {
    padding-bottom: 0;
}

.vd_voyage_index .share_destination.wrp {
    background: #fff
}

.vd_voyage_index .share_destination.wrp {
    background: #fff;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #000;
}

.vd_voyage_index h1.name {
    font-size: 24px
}

.vd_voyage_index h2.head {
    font-size: 22px;
}



/* Header Section */
.voyage-vietnam-header {
    text-align: center;
    margin-bottom: 40px;
}

.voyage-vietnam-title {
    font-size: 32px;
    margin: 0;
    font-weight: 600;
}

.voyage-title-highlight {
    color: #D2691E;
}

.voyage-title-normal {
    color: #333;
}

.voyage-vietnam-badge {
    background: #4A90E2;
    color: white;
    display: inline-block;
    padding: 5px 15px;
    margin-top: 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
}

/* Grid Layout */
.voyage-vietnam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card Styles */
.voyage-vietnam-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0px 2px 6px 0px #1018280F;
    border: 1px solid var(--border-brand-Lighter, #F9F4F0)
}

.voyage-vietnam-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card Header (Icon + Title) */
.voyage-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.voyage-card-icon {
    width: 64px;
    height: 64px;
    margin-right: 15px;
    flex-shrink: 0;
}

    .voyage-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.voyage-card-title {
    color: #A24D24;
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    line-height: 30px;
}

.culture-slider .owl-dots {
    margin-top: 40px
}

#routePopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#routePopup.is-open {
    display: flex
}

/* overlay popup */
.route-popup {
    position: relative;
    max-width: 864px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    overflow: hidden;
    height: 546px;
    padding: 20px;
}

/* close button */
.route-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    z-index: 5;
}

/* 2-column layout */
.route-layout {
    display: flex;
    gap: 24px;
}

/* LEFT */
.route-media {
    /*border-right: 1px solid #e5e5e5;*/
    /*padding: 12px;*/
    width: 360px;
    
}

.route-media img {
    aspect-ratio: 360/508
}

.route-media img {
    height: 100%;
    object-fit: cover;
}

.route-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.route-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* RIGHT */
.route-content {
    /*padding: 14px 16px;*/
    overflow-y: auto;
    max-height: 508px;
    width: calc(100% - 380px)
}

.route-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
}

.route-days {
    display: flex;
    gap: 16px;
    flex-direction: column
}

.route-days h3 {
    font-size: 20px;
    font-weight: 600
}

.route-days ul {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

/* scrollbar nhẹ */
.route-content::-webkit-scrollbar {
    width: 6px;
}
.route-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

@media(max-width: 1199px) {
    .box-itinerary .itinerary-row .itinerary-text h3 {
        font-size: 40px
    }
    .box-itinerary .itinerary-row .itinerary-text {
        gap: 0
    }
}

@media(min-width: 744px) and (max-width: 1199px) {
    .route-popup {
        max-width: 720px;
        height: 480px
    }
    .route-content {
        max-height: 460px;
        width: calc(100% - 336px)
    }

    .route-media {
        width: 312px;
        max-height: 440px
    }

    .route-media img {
        aspect-ratio:312/440
    }
}

/* responsive */
@media (max-width: 720px) {
    .route-layout {
        grid-template-columns: 1fr;
    }

    .route-media {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .route-content {
        max-height: 300px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .voyage-vietnam-title {
        font-size: 28px;
    }

    .voyage-card-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
 
    .voyage-vietnam-container {
        padding: 15px;
    }

    .voyage-vietnam-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .voyage-vietnam-header {
        padding: 15px;
    }

    .voyage-vietnam-title {
        font-size: 24px;
    }

    .voyage-vietnam-card {
        padding: 20px;
    }

    .voyage-card-icon {
        width: 50px;
        height: 50px;
    }

    .voyage-card-title {
        font-size: 18px;
    }

    .voyage-card-description {
        font-size: 14px;
    }

}

@media(max-width: 743px) {
    .route-popup {
        max-width: 358px;
        height: 500px
    }
    .route-media {
        display: none;
    }
    .route-content {
        width: 100%;
        max-height: 500px
    }
}

@media (max-width: 480px) {
    .voyage-vietnam-title {
        font-size: 20px;
    }

    .voyage-vietnam-badge {
        font-size: 12px;
        padding: 4px 12px;
    }

    .voyage-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .voyage-card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
