/* =========================================================
   GLOBAL
   ========================================================= */

body {
    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   TRAVELER THEME - LOCATION SEARCH
   ========================================================= */

.st-location-search-wrapper {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    font-family: inherit;
}


/* -------------------------
   Search Form
   ------------------------- */

.st-location-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 8px 6px 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.st-location-search-form:hover {
    border-color: #cbd5e1;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.st-location-search-form:focus-within {
    border-color: var(--main-color, #3b71fe);
    box-shadow: 0 12px 28px rgba(59, 113, 254, 0.22);
    transform: translateY(-1px);
}


/* -------------------------
   Search Icon
   ------------------------- */

.st-location-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 12px;
    color: var(--main-color, #3b71fe);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.st-location-search-form:focus-within .st-location-search-icon {
    transform: scale(1.15) rotate(-5deg);
}


/* -------------------------
   Search Input
   ------------------------- */

.st-location-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 10px 5px;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #1a2b4e;
    font-size: 16px;
    font-weight: 500;
}

.st-location-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    transition: color 0.2s ease;
}

.st-location-search-input:focus::placeholder {
    color: #cbd5e1;
}


/* -------------------------
   Search Button
   ------------------------- */

.st-location-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(
        135deg,
        var(--main-color, #3b71fe) 0%,
        #1d4ed8 100%
    );
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(59, 113, 254, 0.35);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.st-location-search-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.st-location-search-btn:hover {
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #1e40af 100%
    );
    box-shadow: 0 6px 20px rgba(59, 113, 254, 0.45);
    transform: translateY(-1px);
}

.st-location-search-btn:hover i {
    transform: translateX(3px);
}

.st-location-search-btn:active {
    transform: translateY(0);
}


/* =========================================================
   LOCATION AUTOSUGGEST DROPDOWN
   ========================================================= */

.st-location-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 9999;

    display: none;
    max-height: 280px;
    margin: 0;
    padding: 8px 0;

    overflow-y: auto;

    list-style: none;

    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;

    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* -------------------------
   Dropdown Scrollbar
   ------------------------- */

.st-location-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.st-location-results-dropdown::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.st-location-results-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.st-location-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--main-color, #3b71fe);
}


/* -------------------------
   Dropdown Items
   ------------------------- */

.st-location-results-dropdown li {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 20px;

    color: #334155;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

.st-location-results-dropdown li:hover {
    padding-left: 24px;
    background-color: #f0f5ff;
    color: var(--main-color, #3b71fe);
}


/* =========================================================
   ACTIVITIES / LOCATION GRID
   ========================================================= */

.activities-location-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    position: relative;
}


/* -------------------------
   Location Card
   ------------------------- */

.activities-location-grid .location-card {
    position: relative;
    height: 100%;
    transition: transform 0.4s ease;
}

.activities-location-grid .location-card:hover {
    transform: translateY(-4px);
}


/* -------------------------
   Location Image
   ------------------------- */

.activities-location-grid .location-card .location-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}

.activities-location-grid .location-card .location-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* -------------------------
   Location Content
   ------------------------- */

.activities-location-grid .location-card .location-card-content {
    padding-top: 10px;
}

.activities-location-grid
.location-card
.location-card-content
.location-card-title {
    margin: 0;
    color: #1a2b4e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.activities-location-grid
.location-card
.location-card-content
.location-country-label {
    margin-top: 4px;
    color: #9b9b9b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}


/* =========================================================
   PREMIUM FEATURE BOX
   ========================================================= */

.st-premium-feature-box {
    margin-bottom: 30px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(26, 43, 78, 0.05);
}


/* -------------------------
   Feature Title
   ------------------------- */

.st-premium-feature-box .feature-title {
    margin: 0 0 20px;
    padding-bottom: 15px;

    color: #1a2b4e;
    border-bottom: 1px dashed #e2e8f0;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}


/* -------------------------
   Feature List
   ------------------------- */

.st-premium-feature-box .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.st-premium-feature-box .feature-list li {
    display: flex;
    align-items: center;

    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}


/* -------------------------
   Feature Icon
   ------------------------- */

.st-premium-feature-box .feature-icon {
    flex: 0 0 auto;
    margin-right: 10px;

    color: var(--main-color, #3b71fe);
    font-size: 16px;
}
/* =========================================================
   EVENT DETAILS TABLE (NO HTML EDITS REQUIRED)
   Scoped specifically to the existing .tour-extra-content class
========================================================= */

/* 1. Reset and style the table container */
.tour-extra-content table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent !important; /* Forces the inline #f5ebeb out */
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(26, 43, 78, 0.05); /* Soft Traveler shadow */
    border-radius: 8px;
    overflow: hidden;
}

/* 2. Style all standard cells */
.tour-extra-content table th{
 font-weight: 700;
    color: #1a2b4e !important}

.tour-extra-content table th, .tour-extra-content table td {
    padding: 16px 20px !important; /* Overrides your inline cellpadding="10" */
    border-bottom: 1px solid #eef2f5;
    font-size: 15px;
    background-color: #ffffff;
    color: #5e6d77;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

/* 3. Style the Left Column (Labels) */
.tour-extra-content table td:first-child {
   
    width: 35% !important; /* Overrides inline 50% for better balance */
}

/* 4. Style the Header Row (Row 1) */
.tour-extra-content table tr:first-child td {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #3b71fe; /* Traveler Blue Accent */
    color: #1a2b4e;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* 5. Add Interactive Hover Effect to Data Rows */
.tour-extra-content table tr:not(:first-child):hover td {
    background-color: #f4f7ff !important;
}

/* 6. Remove bottom border on the last row */
.tour-extra-content table tr:last-child td {
    border-bottom: none;
}

.st-description.test1 .tour-extra-detail{
	margin-bottom:30px;
}

 
/**
list page title / category title content */

.conmigo-seo-wrapper { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
        
        .conmigo-seo-main-title {
            font-size: 26px !important;
            font-weight: 700;
            color: #1a2b4e;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .conmigo-seo-text {
            max-height: 120px;
            overflow: hidden;
            position: relative;
            transition: max-height 0.4s ease;
            color: #4a5568;
            line-height: 1.7;
        }
        .conmigo-seo-text.expanded { max-height: 2000px; }
        .conmigo-seo-text:not(.expanded)::after {
            content: ""; position: absolute; bottom: 0; left: 0; right: 0;
            height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
        }
        .conmigo-read-more-btn {
            background: none; border: none; color: #3b71fe; font-weight: 600;
            padding: 10px 0; cursor: pointer; display: flex; align-items: center; gap: 5px;
            font-size: 15px; margin-top: 5px;
        }
        
        .conmigo-faq-container { margin-top: 40px; }
        .conmigo-faq-title { font-size: 22px !important; font-weight: 700; margin-bottom: 20px; color: #1a2b4e; }
        .conmigo-faq-item { border-bottom: 1px solid #e2e8f0; margin-bottom: 10px; }
        .conmigo-faq-question {
            width: 100%; background: transparent; border: none; text-align: left;
            padding: 15px 0; font-size: 16px; font-weight: 600; color: #1a2b4e;
            cursor: pointer; display: flex; justify-content: space-between; align-items: center;
        }
        .conmigo-faq-icon { color: #3b71fe; transition: transform 0.3s ease; }
        .conmigo-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .conmigo-faq-answer-inner { padding-bottom: 20px; color: #4a5568; line-height: 1.6; }
        .conmigo-faq-item.active .conmigo-faq-icon { transform: rotate(45deg); }




/* ************************************************
====================================================================
************************************************************  */









/* 8. Mobile Fixes */
@media (max-width: 768px) {
    .tour-extra-content table td {
        padding: 12px 10px !important;
        font-size: 14px;
    }
}





/* =========================================================
   DESKTOP
   992px+
   ========================================================= */

@media (min-width: 992px) {

    .activities-location-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }

}


/* =========================================================
   TABLET
   769px - 991px
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    /* Search */

    .st-location-search-wrapper {
        max-width: 90%;
    }

    .st-location-search-form {
        padding-left: 16px;
    }

    .st-location-search-btn {
        padding: 11px 22px;
        font-size: 14px;
    }


    /* Activities */

    .activities-location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .activities-location-grid
    .location-card
    .location-image {
        height: 220px;
    }


    /* Visa */

    .visa-location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }


    /* Cruise */

    .cruise-location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }


    .visa-card,
    .cruise-card {
        height: 215px;
    }


    /* Feature Box */

    .st-premium-feature-box .feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   481px - 768px
   ========================================================= */

@media (min-width: 481px) and (max-width: 768px) {

    /* Search */

    .st-location-search-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    .st-location-search-form {
        padding: 5px 6px 5px 16px;
    }

    .st-location-search-btn {
        padding: 10px 20px;
        font-size: 14px;
    }


    /* Activities */

    .activities-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .activities-location-grid
    .location-card
    .location-image {
        height: 200px;
    }


    /* Visa */

    .visa-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }


    /* Cruise */

    .cruise-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }


    .visa-card,
    .cruise-card {
        height: 215px;
    }


    /* Feature Box */

    .st-premium-feature-box {
        padding: 20px;
    }

    .st-premium-feature-box .feature-list {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
   0px - 480px
   ========================================================= */

@media (max-width: 480px) {

    /* -------------------------
       Search
       ------------------------- */

    .st-location-search-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .st-location-search-form {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        padding: 10px 12px;

        border-radius: 16px;
    }


    .st-location-search-icon {
        margin-right: 6px;
        font-size: 18px;
position: absolute;
        top: 20px;
        left: 25px;
    }


    .st-location-search-input {
        min-width: 0;
        padding: 6px 0;
	padding-left:35px;
        font-size: 15px;
    }


    .st-location-search-btn {
        width: 100%;
        margin-top: 4px;
        padding: 12px;

        border-radius: 12px;

        font-size: 14px;
    }


    /* -------------------------
       Dropdown
       ------------------------- */

    .st-location-results-dropdown {
        top: calc(100% + 6px);
        max-height: 240px;
        border-radius: 12px;
    }

    .st-location-results-dropdown li {
        padding: 11px 16px;
        font-size: 14px;
    }

    .st-location-results-dropdown li:hover {
        padding-left: 20px;
    }


    /* -------------------------
       Activities Grid
       ------------------------- */

    .activities-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }


    .activities-location-grid
    .location-card
    .location-image {
        height: 180px;
        border-radius: 10px;
    }


    .activities-location-grid
    .location-card
    .location-card-content {
        padding-top: 8px;
    }


    .activities-location-grid
    .location-card
    .location-card-content
    .location-card-title {
        font-size: 16px;
    }


    .activities-location-grid
    .location-card
    .location-card-content
    .location-country-label {
        font-size: 12px;
    }


    /* -------------------------
       Visa Grid
       ------------------------- */

    .visa-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }


    .visa-card {
        height: 215px;
    }


    /* -------------------------
       Cruise Grid
       ------------------------- */

    .cruise-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }


    .cruise-card {
        height: 215px;
    }


    /* -------------------------
       Premium Feature Box
       ------------------------- */

    .st-premium-feature-box {
        margin-bottom: 20px;
        padding: 18px;
        border-radius: 10px;
    }


    .st-premium-feature-box .feature-title {
        margin-bottom: 16px;
        padding-bottom: 12px;
        font-size: 17px;
    }


    .st-premium-feature-box .feature-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .st-premium-feature-box .feature-list li {
        font-size: 13px;
    }


    .st-premium-feature-box .feature-icon {
        font-size: 15px;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
   0px - 360px
   ========================================================= */

@media (max-width: 360px) {

    .activities-location-grid,
    .visa-location-grid,
    .cruise-location-grid {
        grid-template-columns: 1fr;
gap:15px;
    }


    .activities-location-grid
    .location-card
    .location-image {
        height: 220px;
    }


    .st-location-search-form {
        padding: 9px 10px;
    }

}

/* =========================================================
   SEO-027: Equal Activities product-card heights
   Scoped to the Activities landing page only (page ID 10254).
   ========================================================= */
body.page-id-10254 .st-list-service.grid.style_2 .services-item.grid.item-elementor {
    height: calc(100% - 30px);
}

body.page-id-10254 .st-list-service.grid.style_2 .services-item.grid.item-elementor > .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.page-id-10254 .st-list-service.grid.style_2 .services-item.grid.item-elementor .content-item {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

body.page-id-10254 .st-list-service.grid.style_2 .services-item.grid.item-elementor .section-footer {
    margin-top: auto;
}
