/* ============================================
   TOUR ARCHIVE PAGES STYLES
   ============================================ */

/* ===== TOUR HERO BANNER ===== */

.tour-hero {
    position: relative;
    height: 600px;
    /* Reduced specific height match */
    background-color: #0c6a74;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y;
}

.tour-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: auto;
}

.tour-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.tour-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.tour-hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.tour-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.tour-hero-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(3, 124, 132, 0) 0%, rgba(2, 81, 86, 0.4) 100%);
    pointer-events: none;
}

/* Keep tour archive hero banner in original colors */
body.page-template-page-tours .tour-hero-overlay-gradient {
    background: transparent !important;
}

.tour-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: -50px;
    /* Adjust visual center */
}

.tour-hero-logo {
    margin-bottom: 30px;
}

.tour-hero-logo img {
    height: 60px;
    /* Larger logo */
    width: auto;
}

.tour-hero-title {
    font-family: var(--vmt-font-heading);
    /* Figma font */
    font-size: 54px;
    /* Larger title */
    font-weight: 800;
    color: #D31725;
    /* Red color from design */
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.5);
    /* Glow effect */
}

.tour-hero-content.is-left {
    width: min(100%, 1140px);
    margin: 0 auto;
    text-align: left;
    padding: 60px 24px 0;
}

.tour-hero-dots {
    position: absolute;
    z-index: 3;
}

.tour-hero-dots {
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(7, 31, 45, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tour-hero-dot {
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.tour-hero-dot:hover,
.tour-hero-dot:focus-visible,
.tour-hero-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.12);
}

.tour-hero-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.86);
    outline-offset: 2px;
}

.tour-hero--xttm {
    height: 680px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-position: center center;
}

.tour-hero--xttm .tour-hero-slide img {
    object-position: center center;
}

.tour-hero--xttm .tour-hero-logo {
    margin-bottom: 24px;
}

.tour-hero--xttm .tour-hero-logo img {
    height: 46px;
}

.tour-hero--xttm .tour-hero-title {
    font-family: var(--vmt-font-body);
    font-size: 36px;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    line-height: 1.08;
    font-weight: 700;
}

.tour-hero--xttm .tour-hero-overlay-gradient {
    background: transparent;
}

/* ===== XTTM PAGE BLOCKS ===== */
.xttm-intro {
    background: #ffffff;
    padding: 54px 0 30px;
}

.xttm-intro-title {
    margin: 0 auto 16px;
    max-width: 560px;
    font-family: var(--vmt-font-heading);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: center;
    color: #d31725;
    text-transform: uppercase;
}

.xttm-intro-desc {
    margin: 0 auto;
    max-width: 864px;
    text-align: justify;
    text-justify: inter-word;
    font-family: var(--vmt-font-body);
    font-size: 16px;
    line-height: 1.55;
    color: #424242;
}

.xttm-collage {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    height: auto;
}

.xttm-collage-item {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    height: 358px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-origin: center center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.xttm-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.xttm-collage-item:hover {
    transform: scale(1.06);
    z-index: 4;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.xttm-why {
    padding: 64px 0;
    background: radial-gradient(120% 120% at 12% 0%, #118a91 0%, #0a7f86 36%, #066c73 100%) !important;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.xttm-why::before {
    content: none !important;
    display: none !important;
}

.xttm-why::after {
    content: none !important;
    display: none !important;
}

.xttm-why .vmt-container,
.xttm-why-grid {
    background: transparent !important;
}

.xttm-why-grid {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(500px, 640px);
    gap: 28px;
    align-items: stretch;
    max-width: 990px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.xttm-why-image {
    border: 2px solid #d5e6ea;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.xttm-why-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xttm-why-content {
    width: 100%;
    max-width: 640px;
}

.xttm-why-content h3 {
    margin: 0 0 22px;
    font-family: var(--vmt-font-heading);
    font-size: 33px;
    line-height: 1.16;
    color: #ffffff !important;
    text-transform: uppercase;
    max-width: 700px;
    font-weight: 800;
    text-wrap: balance;
}

.xttm-why-content h3 > span {
    display: block;
    white-space: nowrap;
}

.xttm-why-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 20px;
    margin-bottom: 36px;
    align-items: start;
}

.xttm-why-item:last-child {
    margin-bottom: 0;
}

.xttm-why-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 2px solid #d5e6ea;
    background: #eef6f7 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #037c84 !important;
    box-shadow: 0 6px 14px rgba(3, 53, 60, 0.2);
}

.xttm-why-icon svg {
    width: 44px;
    height: 44px;
    display: block;
}

.xttm-why-item>div {
    padding-top: 8px;
}

.xttm-why-item h4 {
    margin: 0 0 8px;
    font-family: var(--vmt-font-heading);
    font-size: 22px;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 800;
}

.xttm-why-item p {
    margin: 0;
    font-family: var(--vmt-font-body);
    font-size: 15px;
    line-height: 1.48;
    color: #ffffff !important;
    max-width: 560px;
    text-align: justify;
    text-justify: inter-word;
}

.tour-grid-section--xttm {
    padding-top: 52px;
    margin-top: 0;
    background: #ffffff !important;
}

.tour-grid-head--xttm .tour-grid-subtitle {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* Shared subtle background across non-XTTM archive sections */
.tour-archive-shared-bg {
    position: relative;
    background: linear-gradient(180deg, #f4fdff 0%, #dff2f7 100%);
    overflow: hidden;
    isolation: isolate;
}

.tour-archive-shared-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/01. IMG-TRANG CHỦ/01. background-chim-trang-chu.png") center center / cover no-repeat;
    opacity: 0.24;
    filter: saturate(0.95) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

.tour-archive-shared-bg.tour-archive-shared-bg--doc-la::before {
    background-image: url("../images/tour_doc_la.png");
}

.tour-archive-shared-bg.tour-archive-shared-bg--noi-dia::before {
    background-image: url("../images/noi_dia.png");
}

.tour-archive-shared-bg.tour-archive-shared-bg--auuc::before {
    background-image: url("../images/auuc.png");
}

.tour-archive-shared-bg > * {
    position: relative;
    z-index: 1;
}

.tour-archive-shared-bg .tour-subnav-container,
.tour-archive-shared-bg .tour-promotion,
.tour-archive-shared-bg .tour-grid-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

.tour-archive-shared-bg .tour-grid-section .tour-grid,
.tour-archive-shared-bg .tour-grid-section .tour-card {
    position: relative;
    z-index: 2;
}

@media (min-width: 1025px) {
    .tour-archive-shared-bg::before {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }
}

@media (max-width: 768px) {
    .tour-grid-head--xttm {
        display: block;
    }

    .tour-grid-subtitle {
        font-size: 15px;
    }

    .tour-grid-head--archive.tour-grid-head--xttm .tour-grid-title,
    .tour-grid-head--xttm .tour-grid-title {
        font-size: 18px;
    }

    .tour-grid-head--archive.tour-grid-head--xttm .tour-grid-side-text,
    .tour-grid-side-text {
        margin-top: 10px;
        font-size: 18px;
        max-width: none;
    }

    .tour-archive-shared-bg::before {
        background-position: center center;
        background-size: cover;
        opacity: 0.14;
    }
}

/* ===== TOUR INTRODUCTION SECTION ===== */

.tour-intro {
    padding: 60px 0;
    background: #F4FDFF;
    /* Light blue tint */
    position: relative;
}

.tour-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tour-intro-text {
    padding-top: 20px;
}

.tour-intro-title {
    font-family: var(--vmt-font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-teal-dark, #037c84);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.tour-intro-description {
    font-family: var(--vmt-font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #515151;
    text-align: justify;
    margin: 0;
}

.tour-intro-gallery {
    position: relative;
}

.tour-gallery-main {
    position: relative;
    border-radius: 20px;
    /* More rounded */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tour-gallery-main img {
    width: 100%;
    height: 300px;
    /* Fixed height for consistency */
    display: block;
    object-fit: cover;
}

.tour-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols as per Figma */
    gap: 20px;
}

.tour-gallery-thumb {
    border-radius: 15px;
    overflow: hidden;
    height: 140px;
}

.tour-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Gallery lightbox */
.tour-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.tour-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.tour-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 24, 0.82);
}

.tour-lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 1080px);
    max-height: 86vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background: #0f172a;
}

.tour-lightbox-content img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 86vh;
    object-fit: contain;
    background: #0f172a;
}

.tour-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.tour-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== TOUR PROMOTION SECTION ===== */

.tour-promotion {
    padding: 30px 0 70px;
    background: linear-gradient(180deg, #e9f8fc 0%, #f3fdff 100%);
}

.tour-promotion .tour-promotion-shell {
    border: 2px solid #4daeb4;
    border-radius: 20px;
    padding: 30px 34px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 28px rgba(3, 124, 132, 0.16);
    width: 100%;
    margin: 0 auto;
}

.tour-promotion .tour-promotion-grid {
    display: grid;
    grid-template-columns: 560px 387px;
    gap: 24px;
    align-items: start;
    justify-content: center;
}

.tour-promotion .promotion-banner {
    display: grid;
    grid-template-columns: 257px 1fr;
    gap: 0;
    border-radius: 16px;
    background: rgba(3, 124, 132, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.45);
    overflow: hidden;
    min-height: 328px;
    align-self: center;
    width: 100%;
}

.tour-promotion .promo-image-wrapper {
    position: relative;
    height: 328px;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

.tour-promotion .promo-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-promotion .promo-image-wrapper .vmt-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tour-promotion .promo-discount-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    background: #d31725;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    text-transform: lowercase;
    font-family: var(--vmt-font-body);
}

.tour-promotion .promo-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: #8f8f8f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tour-promotion .promo-content-overlay {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
}

.tour-promotion .promo-discount-copy {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-family: var(--vmt-font-body);
}

.tour-promotion .promo-discount-copy strong {
    font-weight: 700;
}

.tour-promotion .promo-tour-name {
    font-family: var(--vmt-font-body);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.28;
    text-transform: uppercase;
}

.tour-promotion .promo-price-box {
    margin-bottom: 10px;
}

.tour-promotion .old-price {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    text-decoration: line-through;
    color: #dff7fa;
    font-family: var(--vmt-font-body);
}

.tour-promotion .new-price {
    display: inline-block;
    background: #d31725;
    color: #fff;
    padding: 6px 18px;
    min-width: 197px;
    font-family: var(--vmt-font-body);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1;
}

.tour-promotion .promo-meta {
    margin-bottom: 12px;
}

.tour-promotion .promo-meta-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dff7fa;
    font-size: 14px;
    line-height: 1.35;
    font-family: var(--vmt-font-body);
}

.tour-promotion .promo-meta-item+.promo-meta-item {
    margin-top: 6px;
}

.tour-promotion .meta-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    color: inherit;
    opacity: 1;
    flex: 0 0 auto;
}

.tour-promotion .meta-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tour-promotion .promo-countdown {
    display: flex;
    gap: 10px;
}

.tour-promotion .countdown-item {
    width: 56px;
    background: #fff;
    border-radius: 5px;
    text-align: center;
    border: 0;
    overflow: hidden;
}

.tour-promotion .countdown-item .number {
    display: block;
    padding-top: 5px;
    font-weight: 800;
    font-size: 40px;
    color: #037c84;
    line-height: 1;
}

.tour-promotion .countdown-item .label {
    display: block;
    margin-top: 5px;
    border-top: 1px solid #91cad0;
    padding: 3px 0 4px;
    font-size: 12px;
    color: #037c84;
    text-transform: none;
    line-height: 1.15;
    font-family: var(--vmt-font-body);
}

.tour-promotion .promotion-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: start;
    width: 100%;
    max-width: 387px;
    margin: 0 auto;
    padding-top: 0;
}

.tour-promotion .form-header {
    text-align: center;
    margin-bottom: 12px;
}

.tour-promotion .form-header .sub-title {
    font-size: 14px;
    line-height: 1.2;
    color: #037c84;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    font-family: var(--vmt-font-body);
}

.tour-promotion .form-header .main-title {
    font-family: var(--vmt-font-body);
    font-size: 30px;
    font-weight: 800;
    color: #d31725;
    text-transform: uppercase;
    line-height: 1.08;
    letter-spacing: 0.2px;
    margin: 0;
    white-space: normal;
}

.tour-promotion .promotion-form-card {
    background: #fff;
    border: 1px solid #037c84;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(3, 124, 132, 0.14);
    padding: 18px 22px 16px;
}

.tour-promotion .promotion-form-card .desc {
    margin: 0;
    text-align: center;
    color: #037c84;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    font-family: var(--vmt-font-body);
}

.tour-promotion .promotion-form-card .desc .red {
    color: #d31725;
}

.tour-promotion .promotion-form-card .highlight {
    margin: 0 0 14px;
    text-align: center;
    color: #037c84;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    font-family: var(--vmt-font-body);
}

.tour-promotion .promotion-form .form-group {
    margin-bottom: 12px;
}

.tour-promotion .promotion-form .form-control {
    width: 100%;
    height: 44px;
    padding: 10px 18px;
    border: 1px solid #9e9e9e;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.2;
    color: #515151;
    font-family: var(--vmt-font-body);
    background: rgba(255, 255, 255, 0.92);
}

.tour-promotion .promotion-form .form-control::placeholder {
    color: #515151;
    opacity: 1;
}

.tour-promotion .btn-submit {
    width: 100%;
    background: #d31725;
    color: #fff;
    border: none;
    height: 45px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.3s;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1;
    font-family: var(--vmt-font-body);
}

.tour-promotion .btn-submit svg {
    width: 18px;
    height: 18px;
}

.tour-promotion .btn-submit:hover {
    background: #b00e1a;
}

.tour-promotion .privacy-note {
    font-size: 10px;
    line-height: 1.25;
    color: #1e1e1e;
    margin: 10px auto 0;
    max-width: 315px;
    text-align: center;
    font-family: var(--vmt-font-body);
}


/* ===== TOUR GRID SECTION ===== */

.tour-grid-section {
    padding: 12px 0 56px;
    background: #dff2f7;
    color: #1f3437;
}

/* Remove extra strip before footer on tour archive pages */
.tour-archive-shared-bg .tour-grid-section {
    padding-bottom: 0;
}

/* Keep XTTM section separated from the block above (override generic .tour-grid-section padding) */
.tour-grid-section.tour-grid-section--xttm {
    padding-top: 52px;
    background: #ffffff;
}

.tour-grid-title {
    font-family: var(--vmt-font-heading);
    font-size: 52px;
    font-weight: 800;
    color: #D31725;
    text-align: left;
    margin-bottom: 24px;
    text-transform: none;
    letter-spacing: 1px;
}

.tour-grid-head--archive.tour-grid-head--xttm .tour-grid-title {
    margin: 0;
    font-family: var(--vmt-font-body);
    font-size: clamp(28px, 3.8vw, 56px);
    line-height: 1.15;
    color: #d31725;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    font-weight: 400;
}

.tour-grid-head--archive.tour-grid-head--xttm .tour-grid-side-text {
    margin: 0;
    padding-left: 22px;
    border-left: 1px solid rgba(8, 118, 127, 0.45);
    max-width: 700px;
    font-size: 15px;
    line-height: 1.65;
    color: #037c84;
    font-family: var(--vmt-font-body);
    text-align: justify;
    text-align-last: left;
    font-weight: 400;
    letter-spacing: 0;
    /* -webkit-text-stroke: 0.4px currentColor; */
    /* text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor; */
}

.tour-grid-head--archive.tour-grid-head--xttm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 1280px;
    margin-bottom: 24px;
}

.tour-grid-head--archive .tour-grid-head-main {
    min-width: 0;
    padding-left: 0;
}

.tour-grid-head--xttm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
    margin-bottom: 20px;
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
}

.tour-grid-head--xttm .tour-grid-title {
    margin: 0 0 12px;
    font-family: var(--vmt-font-heading);
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: 0;
}

.tour-grid-subtitle {
    margin: 0 0 6px;
    color: #0f8e96;
    font-size: 16px;
    line-height: 1.2;
    font-family: var(--vmt-font-body);
    text-transform: uppercase;
    font-weight: 700;
}

.tour-grid-side-text {
    margin: 8px 0 0;
    padding-left: 0;
    border-left: 0;
    color: #2e3a43;
    font-family: var(--vmt-font-body);
    font-size: 16px;
    line-height: 1.4;
    max-width: 775px;
    text-align: justify;
    text-align-last: left;
}

.tour-grid-head--xttm .tour-grid-head-main {
    min-width: 0;
    width: 100%;
    max-width: 430px;
}

.tour-grid-head--xttm .tour-grid-subtitle,
.tour-grid-head--xttm .tour-grid-title {
    text-align: left;
    text-wrap: balance;
}

.tour-grid-head--xttm .tour-grid-subtitle {
    margin-bottom: 8px;
    color: #037c84;
}

.tour-grid-head--xttm .tour-grid-title {
    margin: 0;
}

.tour-grid-head--xttm .tour-grid-side-text {
    margin: 0;
    width: 100%;
    padding-left: 22px;
    border-left: 1px solid rgba(3, 124, 132, 0.45);
    max-width: 540px;
    color: #037c84;
    font-size: 15px;
    line-height: 1.65;
    text-align: justify;
    text-align-last: left;
    /* -webkit-text-stroke: 0.4px currentColor; */
    /* text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor; */
}

@media (min-width: 1025px) {
    .tour-grid-section--xttm .tour-grid-head--xttm {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .tour-grid-section--xttm .tour-grid-head--xttm .tour-grid-head-main {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-self: start;
        width: 100%;
        min-width: 0;
        max-width: 860px;
        padding-left: clamp(20px, 3vw, 48px);
    }

    .tour-grid-section--xttm .tour-grid-head--xttm .tour-grid-subtitle {
        color: #0b7f89;
        font-family: var(--vmt-font-heading);
        font-size: 24px !important;
        line-height: 1.18;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
        margin: 0 0 14px;
    }

    .tour-grid-section--xttm .tour-grid-head--xttm .tour-grid-title {
        color: #d31725;
        margin: 0;
        font-family: var(--vmt-font-heading);
        font-size: 44px !important;
        line-height: 1.06;
        font-weight: 800;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .tour-grid-section--xttm .tour-grid-head--xttm .tour-grid-subtitle,
    .tour-grid-section--xttm .tour-grid-head--xttm .tour-grid-title {
        display: block;
        width: fit-content;
        max-width: none;
        text-align: left;
        white-space: nowrap !important;
        text-wrap: nowrap;
        overflow-wrap: normal;
        word-break: normal;
    }

    .tour-grid-section--xttm .tour-grid-head--xttm .tour-grid-side-text {
        max-width: 760px;
        color: #0b7f89;
        font-size: 16px;
        line-height: 1.58;
        padding-left: 18px;
        text-align: justify;
        text-justify: inter-word;
        text-align-last: auto;
    }
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 290px));
    gap: 18px;
    justify-content: center;
    align-items: stretch;
}

.tour-grid-section .tour-card {
    border: 1px solid #c2cfd6;
    border-radius: 20px;
    background: #eefeff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tour-grid-section .tour-card:focus-visible {
    outline: 2px solid #037c84;
    outline-offset: 2px;
}

/* ===== TOUR SUB-NAVIGATION (TABS) ===== */
.tour-subnav-container {
    background: #F4FDFF;
    padding-top: 40px;
    position: relative;
    z-index: 10;
}

.tour-subnav {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 36px;
    width: min(100%, 880px);
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.tour-subnav-item {
    font-family: var(--vmt-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #3f474d;
    text-transform: uppercase;
    text-align: center;
    min-width: 270px;
    padding: 16px 26px 12px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
    border: 1px solid transparent;
    border-bottom: 0;
    line-height: 1;
    margin-bottom: -1px;
}

.tour-subnav-item:hover {
    color: #2f373d;
}

.tour-subnav-item.active {
    color: #D31725;
    background: #f4fdff;
    border-color: rgba(120, 130, 138, 0.7);
}

.tour-subnav-item.active::after {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: -1px;
    height: 2px;
    background: #f4fdff;
}


.tour-subnav-line {
    display: block;
    width: min(100%, 1080px);
    height: 1px;
    background: #b4bcc2;
    margin: 0 auto;
}

.vmt-main-nav-figma .vmt-nav-link-main {
    font-family: var(--vmt-font-body) !important;
    font-weight: 500 !important;
    text-shadow:
        0.7px 0 currentColor,
        -0.7px 0 currentColor;
}

.vmt-main-nav-figma .vmt-nav-active .vmt-nav-link-main {
    font-family: var(--vmt-font-body) !important;
    font-weight: 500 !important;
    text-shadow:
        0.7px 0 currentColor,
        -0.7px 0 currentColor;
}

@media (max-width: 768px) {
    .tour-subnav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 6px;
    }

    .tour-subnav-item {
        min-width: auto;
        padding: 10px 14px 9px;
        font-size: 14px;
        white-space: nowrap;
        border-radius: 8px 8px 0 0;
        margin-bottom: 0;
    }

    .tour-subnav-line {
        width: 100%;
    }
}

.tour-grid-section .tour-card-image {
    position: relative;
    min-height: 220px;
    aspect-ratio: 245 / 264;
    overflow: hidden;
}

.tour-grid-section .tour-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.35s ease;
}

.tour-grid-section .tour-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.12) 100%);
    opacity: 0.65;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tour-grid-section:not(.tour-grid-section--xttm) .tour-card:hover,
.tour-grid-section:not(.tour-grid-section--xttm) .tour-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.tour-grid-section:not(.tour-grid-section--xttm) .tour-card:hover .tour-card-image img,
.tour-grid-section:not(.tour-grid-section--xttm) .tour-card:focus-within .tour-card-image img {
    transform: scale(1.04);
    filter: brightness(1.03);
}

.tour-grid-section:not(.tour-grid-section--xttm) .tour-card:hover .tour-card-overlay,
.tour-grid-section:not(.tour-grid-section--xttm) .tour-card:focus-within .tour-card-overlay {
    opacity: 0.35;
}

.tour-grid-section .tour-card-badge {
    position: absolute;
    top: 18px;
    left: 16px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    border-radius: 8px;
    z-index: 3;
    font-family: var(--vmt-font-body);
}

.tour-grid-section .tour-card-badge.badge-red {
    background: #d31725;
}

.tour-grid-section .tour-card-badge.badge-teal {
    background: #008491;
}

.tour-grid-section .tour-card-badge.badge-orange {
    background: #ff7b00;
}

.tour-grid-section .tour-card-badge.badge-green {
    background: #1d9f4d;
}

.tour-grid-section .tour-card-favorite {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
}

.tour-grid-section .tour-card-favorite.active {
    background: #d31725;
    border-color: #d31725;
    color: #fff;
}

.tour-grid-section .tour-card-info {
    margin-top: -18px;
    position: relative;
    z-index: 4;
    background: #eefeff;
    border-radius: 16px 16px 0 0;
    padding: 14px 16px 10px;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    flex: 1 1 auto;
}

.tour-grid-section .tour-card-title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 16px;
    line-height: 1.28;
    min-height: 0;
    display: block;
    overflow: hidden;
    color: #037c84;
    text-transform: none;
    font-family: 'UTM Avo', var(--vmt-font-body);
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: left;
    min-height: 42px;
}

.tour-grid-section .tour-card-title .vmt-tour-title-line {
    display: block;
}

.tour-grid-section .tour-card-title .vmt-tour-title-line-first {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-grid-section .tour-card-title .vmt-tour-title-line-second {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-grid-section .tour-card-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
    min-height: auto;
    align-content: start;
    padding-bottom: 8px;
    border-bottom: 1px solid #c2cfd6;
    align-items: center;
    text-align: center;
}

.tour-grid-section .tour-card-price .price-current {
    font-family: var(--vmt-font-body);
    font-size: 28px;
    line-height: 1;
    color: #d31725;
    font-weight: 800;
    white-space: nowrap;
    order: 2;
    margin-bottom: 0;
    display: block;
    padding-bottom: 2px;
}

.tour-grid-section .tour-card-price .price-current.is-contact {
    font-size: 19px;
    line-height: 1;
}

.tour-grid-section .tour-card-price .price-old {
    font-size: 12px;
    text-decoration: line-through;
    color: #888;
    order: 1;
    display: block;
}

.tour-grid-section .tour-card-divider {
    display: none;
    /* Hide separate divider logic, divider is handled by .tour-card-price */
}

.tour-grid-section .tour-card-bottom {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
}

.tour-grid-section .tour-card-meta {
    display: grid;
    gap: 4px;
    flex: 1 1 auto;
    min-height: 0;
}

.tour-grid-section .tour-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #525c6f;
    font-size: 14px;
    line-height: 1.2;
    font-family: var(--vmt-font-body);
    font-weight: 400;
    letter-spacing: 0;
    white-space: normal;
    /* -webkit-text-stroke: 0.4px currentColor; */
    /* text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor; */
}

.tour-grid-section .tour-meta-item svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: #666;
}

.tour-grid-section .tour-meta-item svg [stroke] {
    stroke: currentColor !important;
}

.tour-grid-section .tour-meta-item svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

.tour-grid-section .tour-card-cta {
    margin-top: 0;
    padding: 5px 10px;
    background: #fff;
    color: #037c84;
    border-radius: 5px;
    height: 26px;
    min-width: 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11.5px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
    border: 1px solid #037c84;
    font-family: var(--vmt-font-body);
    white-space: normal;
    box-shadow: 0 2px 4px rgba(3, 124, 132, 0.2);
    /* -webkit-text-stroke: 0.4px currentColor; */
    /* text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor; */
}

.tour-grid-section .tour-card-cta span {
    font-family: var(--vmt-font-body);
    font-weight: 400;
    white-space: normal;
}

.tour-grid-section .tour-card-cta svg {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
}

.tour-grid-section .tour-card-cta:hover {
    background: #037c84;
    color: #fff;
}

.tour-grid-section--xttm .tour-grid {
    grid-template-columns: repeat(4, minmax(0, 245px));
    gap: 24px;
    justify-content: center;
    max-width: 1034px;
    margin-left: auto;
    margin-right: auto;
}

.tour-grid-section--xttm .tour-card {
    position: relative;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
}

.tour-grid-section--xttm .tour-card-image {
    aspect-ratio: 245 / 338;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
}

.tour-grid-section--xttm .tour-card-overlay {
    background: linear-gradient(180deg, rgba(7, 56, 66, 0) 22%, rgba(7, 56, 66, 0.82) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tour-grid-section--xttm .tour-card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 16px 16px;
    background: transparent;
    border-radius: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.tour-grid-section--xttm .tour-card .tour-card-price,
.tour-grid-section--xttm .tour-card .tour-card-meta {
    display: none;
}

.tour-grid-section--xttm .tour-card .tour-card-bottom {
    border-top: 0;
    padding-top: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.tour-grid-section--xttm .tour-card .tour-card-cta {
    height: 30px;
    min-width: 132px;
    background: #0a96a3;
    border: 0;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 400;
    gap: 3px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(3, 124, 132, 0.2);
    -webkit-text-stroke: 0.4px currentColor;
    text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor, 0 0 0.01px currentColor;
}

.tour-grid-section--xttm .tour-card .tour-card-cta:hover {
    background: #087d88;
}

.tour-grid-section--xttm .tour-card .tour-card-title {
    margin: 0 0 12px;
    min-height: 84px;
    color: #fff;
    font-size: 17px;
    line-height: 1.24;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'UTM Avo', var(--vmt-font-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.tour-grid-section--xttm .tour-card .tour-card-favorite {
    width: 24px;
    height: 24px;
    top: 10px;
    right: 11px;
    border: 0;
}

.tour-grid-section--xttm .tour-card .tour-card-favorite svg {
    width: 15px;
    height: 15px;
}

.tour-grid-section--xttm .tour-card .tour-card-badge {
    display: none;
}

.tour-grid-section--xttm .tour-card:hover .tour-card-info,
.tour-grid-section--xttm .tour-card:active .tour-card-info,
.tour-grid-section--xttm .tour-card:focus-within .tour-card-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tour-grid-section--xttm .tour-card:hover .tour-card-overlay,
.tour-grid-section--xttm .tour-card:active .tour-card-overlay,
.tour-grid-section--xttm .tour-card:focus-within .tour-card-overlay {
    opacity: 1;
}

.tour-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px 16px;
    border: 1px dashed #9ec8cc;
    border-radius: 12px;
    color: #0b7280;
    font-size: 20px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1180px) {
    .tour-promotion .tour-promotion-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 18px;
        justify-content: stretch;
        align-items: center;
    }

    .tour-promotion .tour-promotion-shell {
        padding: 24px 20px;
    }

    .tour-grid {
        grid-template-columns: repeat(3, minmax(0, 290px));
    }

    .tour-grid-section--xttm .tour-grid {
        grid-template-columns: repeat(3, minmax(0, 245px));
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .tour-promotion .tour-promotion-shell {
        padding: 20px;
        max-width: none;
        width: 100%;
    }

    .tour-promotion .tour-promotion-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        justify-content: stretch;
    }

    .tour-promotion .promotion-banner {
        grid-template-columns: 220px 1fr;
    }

    .tour-promotion .promo-image-wrapper {
        height: 320px;
    }

    .tour-promotion .new-price {
        min-width: 0;
    }

    .tour-promotion .promotion-form-wrapper {
        max-width: 620px;
        margin: 0 auto;
    }

    .tour-promotion .form-header .main-title {
        font-size: 40px;
        white-space: normal;
    }

    .tour-promotion .promotion-form-card .desc,
    .tour-promotion .promotion-form-card .highlight {
        font-size: 19px;
    }

    .tour-grid {
        grid-template-columns: repeat(2, minmax(0, 320px));
        justify-content: center;
    }

    .tour-grid-head--archive.tour-grid-head--xttm {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        gap: 28px;
    }

    .tour-grid-head--archive.tour-grid-head--xttm .tour-grid-title {
        font-size: clamp(28px, 4.4vw, 46px);
    }

    .tour-grid-head--archive.tour-grid-head--xttm .tour-grid-side-text {
        max-width: 620px;
        font-size: 15px;
    }

    .tour-grid-head--xttm {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 16px;
    }

    .tour-grid-head--xttm .tour-grid-side-text {
        max-width: none;
    }

    .tour-grid-section--xttm .tour-grid {
        grid-template-columns: repeat(2, minmax(0, 245px));
        justify-content: center;
    }

    .tour-hero-title {
        font-size: 42px;
    }

    .tour-hero--xttm .tour-hero-title {
        font-size: 36px;
        max-width: 450px;
    }

    .tour-promotion .countdown-item {
        width: calc((100% - 36px) / 4);
        min-width: 0;
    }

    .xttm-intro-title {
        font-size: 28px;
    }

    .xttm-collage {
        position: static;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .xttm-collage-item {
        position: static;
        width: auto;
        height: 260px;
        transform: none;
        border-radius: 12px;
    }

    .xttm-why-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .xttm-why-image {
        max-width: 540px;
        min-height: 0;
        height: auto;
    }

    .xttm-why-content h3 {
        font-size: 30px;
    }

    .xttm-why-item h4 {
        font-size: 20px;
    }

    .xttm-why-item>div {
        padding-top: 4px;
    }

    .xttm-why-item p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .tour-promotion {
        padding: 24px 0 44px;
    }

    .tour-promotion .tour-promotion-shell {
        padding: 14px;
        border-width: 1px;
        border-radius: 10px;
    }

    .tour-promotion .promotion-banner {
        grid-template-columns: 1fr;
    }

    .tour-promotion .promo-image-wrapper {
        height: 260px;
        border-radius: 10px 10px 0 0;
    }

    .tour-promotion .promo-content-overlay {
        padding: 16px 14px 14px;
    }

    .tour-promotion .promo-countdown {
        gap: 8px;
    }

    .tour-promotion .countdown-item {
        width: calc((100% - 24px) / 4);
    }

    .tour-promotion .promotion-form-card {
        padding: 14px 12px;
    }

    .tour-promotion .promo-tour-name {
        font-size: 18px;
    }

    .tour-promotion .new-price {
        font-size: 18px;
    }

    .tour-promotion .form-header .main-title {
        font-size: 38px;
        white-space: normal;
    }

    .tour-promotion .promotion-form-card .desc,
    .tour-promotion .promotion-form-card .highlight {
        font-size: 17px;
    }

    .tour-grid {
        grid-template-columns: minmax(0, 320px);
        justify-content: center;
    }

    .tour-grid-head--archive.tour-grid-head--xttm {
        display: block;
    }

    .tour-grid-head--archive.tour-grid-head--xttm .tour-grid-title {
        font-size: 18px !important;
        text-align: left;
    }

    .tour-grid-head--archive.tour-grid-head--xttm .tour-grid-side-text {
        margin-top: 10px;
        padding-left: 18px;
        font-size: 18px !important;
        line-height: 1.6;
    }

    .tour-grid-head--archive .tour-grid-head-main {
        padding-left: 0;
    }

    .tour-grid-title {
        font-size: 18px !important;
    }

    .tour-grid-head--xttm {
        display: block;
    }

    .tour-grid-head--xttm .tour-grid-subtitle {
        font-size: 16px;
        line-height: 1.14;
        margin-bottom: 8px;
    }

    .tour-grid-head--xttm .tour-grid-title {
        font-size: 18px !important;
        line-height: 1.04;
    }

    .tour-grid-head--xttm .tour-grid-side-text {
        margin-top: 10px;
        padding-left: 0;
        border-left: 0;
        max-width: none;
        font-size: 14px;
        line-height: 1.55;
        text-align: left;
        text-align-last: auto;
    }

    .tour-grid-section .tour-card-title {
        font-size: 16px;
        line-height: 1.25;
    }

    .tour-grid-section .tour-card-price .price-current {
        font-size: 24px;
    }

    .tour-grid-section .tour-card-price .price-current.is-contact {
        font-size: 20px;
    }

    .tour-grid-section .tour-card-price .price-old {
        font-size: 13px;
        display: block;
    }

    .tour-grid-section .tour-card-image {
        min-height: 220px;
    }

    .tour-grid-section .tour-card-info {
        margin-top: -14px;
        padding: 12px;
        border-radius: 14px 14px 0 0;
    }

    .tour-grid-section .tour-card-divider {
        border-top-width: 2px;
        margin: 10px 0 12px;
    }

    .tour-grid-section .tour-card-bottom {
        gap: 6px;
        padding-top: 6px;
    }

    .tour-grid-section .tour-meta-item {
        font-size: 13px;
    }

    .tour-grid-section .tour-meta-item svg {
        width: 14px;
        height: 14px;
    }

    .tour-grid-section .tour-card-cta {
        width: auto;
        min-width: 0;
        height: 26px;
        border-radius: 8px;
        font-size: 11.5px;
        border-width: 1px;
        padding: 5px 10px;
        white-space: normal;
    }

    .tour-grid-section .tour-card-badge {
        font-size: 12px;
        padding: 7px 10px;
    }

    .tour-grid-section .tour-card-favorite {
        width: 34px;
        height: 34px;
    }

    .tour-grid-section .tour-card-favorite svg {
        width: 16px;
        height: 16px;
    }

    .tour-grid-section--xttm .tour-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-content: stretch;
    }

    .tour-grid-section--xttm .tour-card-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 12px 12px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .tour-grid-section--xttm .tour-card .tour-card-title {
        font-size: 16px;
        margin-bottom: 8px;
        min-height: 80px;
        text-align: center;
        width: 100%;
    }

    .tour-grid-section--xttm .tour-card .tour-card-bottom {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .tour-grid-section--xttm .tour-card .tour-card-cta {
        height: 30px;
        min-width: 118px;
        font-size: 12px;
        padding: 5px 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .tour-hero--xttm {
        height: 420px;
    }

    .tour-hero-dots {
        bottom: 18px;
        gap: 8px;
        padding: 8px 12px;
    }

    .tour-hero-dot {
        width: 10px;
        height: 10px;
    }

    .tour-hero-content.is-left {
        padding: 24px 16px 0;
    }

    .tour-hero--xttm .tour-hero-logo img {
        height: 34px;
    }

    .tour-hero--xttm .tour-hero-title {
        font-size: 24px;
        max-width: 250px;
    }

    .xttm-intro {
        padding: 36px 0 28px;
    }

    .xttm-intro-title {
        font-size: 24px;
    }

    .xttm-intro-desc {
        font-size: 14px;
    }

    .xttm-collage {
        position: static;
        height: auto;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .xttm-collage-item {
        position: static;
        width: auto;
        height: 220px;
        transform: none;
        border-radius: 12px;
    }

    .xttm-why {
        padding: 40px 0;
    }

    .xttm-why-content h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .xttm-why-content h3 > span {
        white-space: normal;
    }

    .xttm-why-item {
        grid-template-columns: 46px 1fr;
        gap: 12px;
    }

    .xttm-why-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .xttm-why-icon svg {
        width: 24px;
        height: 24px;
    }

    .xttm-why-item h4 {
        font-size: 16px;
    }

.xttm-why-item p {
    font-size: 13px;
}
}

/* Footer join (tour archive): keep a small integrated gap above footer */
body.page-template-page-tours .tour-archive-shared-bg .tour-grid-section {
    padding-bottom: 36px !important;
}

body.page-template-page-tours .tour-grid-footer-spacer,
body.page-template-page-tours .vmt-news-footer-spacer {
    height: 0;
    background: transparent;
}

body.page-template-page-tours .vmt-site-footer,
body.page-template-page-tours #main + .vmt-site-footer,
body.page-template-page-tours #main + .vmt-chat-widget + .vmt-site-footer,
body.page-template-page-tours .tour-grid-footer-spacer + .vmt-site-footer,
body.page-template-page-tours .tour-grid-footer-spacer + .vmt-chat-widget + .vmt-site-footer {
    margin-top: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
