@charset "UTF-8";
/* CSS Document */

/* Preserve logo aspect ratio */
header #logo img.logo_normal,
header #logo img.logo_sticky {
    width: auto;
    height: 34px;
}

/* Center top-level nav items on desktop */
@media only screen and (min-width: 992px) {
    header #logo img.logo_normal,
    header #logo img.logo_sticky { height: 48px; }
    .main-menu > ul { 
        display: flex; 
        justify-content: flex-end; 
        align-items: center;
        width: 100%;
    }
    nav.col-9 { display: flex; align-items: center; justify-content: flex-end; }
}

/* Ensure mobile logo inside off-canvas keeps ratio */
#header_menu img { 
    width: auto; 
    height: 34px; 
    max-width: 100%; 
}

/* Make videos match responsive photo behavior */
.gallery-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center center;
}

/* Uniform gallery image thumbnails to match video thumbnails */
.img_container_gallery img.img-fluid {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center center;
}

/* Responsive text wrapping for Revolution Slider titles */
/* Desktop and tablet - keep text on one line */
@media only screen and (min-width: 769px) {
    .tp-caption.NotGeneric-Title {
        white-space: nowrap !important;
        max-width: none !important;
    }
}

/* Tablet - allow wrapping but with proper spacing */
@media only screen and (max-width: 768px) and (min-width: 481px) {
    .tp-caption.NotGeneric-Title {
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center !important;
        line-height: 1.1 !important;
    }
    
    /* Adjust subtitle position to avoid collision */
    .tp-caption.NotGeneric-SubTitle {
        margin-top: 15px !important;
    }
}

/* Mobile - allow wrapping with more spacing */
@media only screen and (max-width: 480px) {
    .tp-caption.NotGeneric-Title {
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center !important;
        line-height: 1.1 !important;
    }
    
    /* Adjust subtitle position to avoid collision */
    .tp-caption.NotGeneric-SubTitle {
        margin-top: 20px !important;
    }
}

/* Uniform video placeholder to match image cards */
.video-container {
    position: relative;
    width: 100%;
    /* 3:2 aspect ratio -> 66.666% */
    padding-top: 66.6667%;
    overflow: hidden;
    background: #000;
}
.video-container > video.gallery-video,
.video-container > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price container for tour cards - vertical layout */
.short_info .price_container {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.short_info .price_container .price {
    float: none;
    margin-bottom: 2px;
}

.short_info .price_container .normal_price_list {
    display: block;
    text-decoration: line-through;
    font-size: 14px;
    color: #999;
    margin-top: 0;
    margin-bottom: 0;
}

