.btn.btn-gray {
    padding: 13px !important;
    color: white !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-family: "DIN Next LT Pro Regular", "Manrope", sans-serif;
    font-weight: 700 !important;
    background-color: #6169ba;
    border-radius: 15px !important;
}
.btn-whatsapp:hover{
    background-color: rgb(0, 0, 90)  !important;
    transform: scale(1.1);
}
.btn-whatsapp i:hover{
    color: white !important;
}

/*.card-journey-small.card-grid-car .card-image img {display: block !important;}*/


.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    color: #ccc;
    background-color: #f9f9f9;
    pointer-events: none;
    cursor: not-allowed;
}

.form-btn:hover {
    color: white ;
    background-color: rgb(0, 0, 90) !important;
}


[data-bs-theme=dark] .footer > p{
    color:white;
}

/* Frontend CSS for TinyMCE content */
.tinymce-content ul,
.tinymce-content ol,
.article-content ul,
.article-content ol,
.entry-content ul,
.entry-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.tinymce-content ul {
    list-style-type: disc;
}

.tinymce-content ol {
    list-style-type: decimal;
}

.tinymce-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* If using a wrapper class */
.wp-editor-content ul,
.wp-editor-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.wp-editor-content ul {
    list-style: disc;
}

.wp-editor-content ol {
    list-style: decimal;
}

.wp-editor-content li {
    margin-bottom: 8px;
}








.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0px;
    max-width: 1250px;
    margin: 20px auto;
    /*background-color: #fff;*/
    /*box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%; /* Adjust as needed */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999999; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: #111;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%; /* Adjust for number of thumbnails */
}

/* Add a transparency effect for good thumbnail */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}


/* --- 1. Global Responsive Display Control --- */

/* By default (large screens), show the desktop version and hide the mobile one */
.desktop-only { display: grid; }
.mobile-only { display: none; }


/* --- 2. Mobile Breakpoint (Screens up to 767px) --- */
@media (max-width: 767px) {

    .desktop-only { display: none; } /* Hide the Desktop gallery and Modal */

    .mobile-only {
        display: block; /* Show the Mobile slider */
        width: 100%;
        overflow: hidden; /* Crucial for single-image view */
        position: relative;
        padding: 0; /* Ensures full edge-to-edge coverage */
    }

    /* Mobile Swipe Track (The moving part) */
    .mobile-slider-track {
        display: flex;
        width: 100%;
        transition: transform 0.4s ease-in-out;
        touch-action: pan-y; /* Allows vertical scroll, reserves horizontal for swipe */
        cursor: grab;
    }

    /* Mobile Slide Item (Each image) */
    .mobile-slide-item {
        flex-shrink: 0;
        width: 100%;
        /* Fixed height for consistent mobile appearance */
        height: 350px;
    }

    .mobile-slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Remove any desktop border radius on mobile */
        border-radius: 0 !important;
    }

    /* Style for the mobile dots container */
    #mobile-dots-container {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }
}
