/* Tour Slider Styles */
.roamease-tour-slider-wrapper { position:relative; width:100%; }
.roamease-tour-slider { position:relative; overflow:hidden; }
.roamease-tour-slider-wrapper.destinations-slider {
    /* Prevent inheriting grid layout from the Destinations Grid widget
       when the slider is used to render destinations inside Elementor. */
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
}
.roamease-tour-slider-wrapper.destinations-slider > .roamease-tour-slider {
    display: block !important;
    width: 100% !important;
}

/* Destinations taxonomy slider should match Destinations Grid visuals,
   but must not keep fixed 360px widths inside slides (breaks spacing control). */
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card {
    width: 100% !important;
    max-width: none !important;
}

.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-1,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-2,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-3,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-cta {
    height: 520px;
}

.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-1 .destination-image,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-2 .destination-image,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-1 .destination-placeholder,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-2 .destination-placeholder {
    height: 520px;
}

.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-3 .destination-image,
.roamease-tour-slider-wrapper.roamease-destinations-grid .roamease-tour-slider .destination-card.dest-style-3 .destination-placeholder {
    height: 300px;
}
.roamease-tour-slider-wrapper.roamease-countries-grid,
.roamease-tour-slider-wrapper.roamease-tour-types-grid {
    /* Prevent inheriting any grid layout rules from matching wrapper classes */
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
}
.roamease-tour-slider-wrapper.roamease-countries-grid > .roamease-tour-slider,
.roamease-tour-slider-wrapper.roamease-tour-types-grid > .roamease-tour-slider {
    display: block !important;
    width: 100% !important;
}

/* ========== Slider Container - NO PEEK on next/prev cards ========== */
.roamease-tour-slider { 
    position: relative; 
    overflow: hidden !important; /* Strictly hide overflowing slides */
    width: 100%;
}
.roamease-tour-slider .re-slider-track { 
    display: flex !important; 
    flex-wrap: nowrap; 
    transition: transform .6s cubic-bezier(.4,0,.2,1); 
    will-change: transform; 
}
.roamease-tour-slider .re-slider-track .re-slider-slide { flex:0 0 auto; display:flex; }

/* ========== CSS Fallback for Slides (before JS calculates widths) ========== */
/* Strict 3 slides on desktop - NO peek effect */
.re-slider-slide { 
    flex: 0 0 calc((100% - 32px) / 3); /* Exactly 3 slides with 16px gaps */
    width: calc((100% - 32px) / 3);
    min-width: 0;
    box-sizing: border-box; 
}
.re-slider-slide .tour-card { height: 100%; }

/* Strict 2 slides on tablet - NO peek */
@media (max-width: 1024px) {
    .re-slider-slide {
        flex: 0 0 calc((100% - 16px) / 2); /* Exactly 2 slides */
        width: calc((100% - 16px) / 2);
    }
}
/* Strict 1 slide on mobile - NO peek */
@media (max-width: 640px) {
    .re-slider-slide {
        flex: 0 0 100%; /* Exactly 1 slide */
        width: 100%;
    }
}

/* ========== Tour Cards in Slider (synced with Tours Grid) ========== */
/* Tour cards fill the slide width (JS sets exact slide width for strict 4/3/2/1 display) */
.roamease-tour-slider .re-slider-slide .tour-card {
    width: 100%; /* Fill the slide container completely */
    height: 520px;
    min-height: 520px;
    max-height: 520px;
}

/* Slides display flex for card alignment */
.roamease-tour-slider .re-slider-slide {
    display: flex !important;
    align-items: stretch;
}

/* Tour Card 1 (Hero Overlay) in Slider */
.roamease-tour-slider .tour-card.card-style-card_1 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 520px;
}
.roamease-tour-slider .tour-card.card-style-card_1 .tour-image {
    position: relative;
    height: 520px;
}
.roamease-tour-slider .tour-card.card-style-card_1 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* Tour Card 2 (Minimal Centered) in Slider - synced with Tours Grid */
.roamease-tour-slider .tour-card.card-style-card_2 {
    height: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    padding: 12px 12px 0 12px;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-image {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 14px;
}

/* Card 2 in Slider: Centered content layout */
.roamease-tour-slider .tour-card.card-style-card_2 .tour-content-card2 {
    padding: 20px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    text-align: center;
}

/* Card 2 in Slider: Duration with clock icon - uses Elementor accent color */
.roamease-tour-slider .tour-card.card-style-card_2 .tour-duration-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 14px;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-duration-centered svg {
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

/* Card 2 in Slider: Centered title - uses Elementor primary/heading color */
.roamease-tour-slider .tour-card.card-style-card_2 .tour-title-centered {
    font-family: var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit));
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--e-global-color-primary, #1a1a2e);
    margin: 0 0 14px 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-title-centered a {
    color: inherit;
    text-decoration: none;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-title-centered a:hover {
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
}

/* Card 2 in Slider: Centered excerpt - uses Elementor text color */
.roamease-tour-slider .tour-card.card-style-card_2 .tour-excerpt-centered {
    color: var(--e-global-color-text, #6c757d);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

/* Card 2 in Slider: Centered price - uses Elementor text color */
.roamease-tour-slider .tour-card.card-style-card_2 .tour-price-centered {
    position: static !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: center;
    margin-top: auto;
    padding-top: 16px !important;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-price-centered .price {
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 16px;
    font-weight: 500;
    color: var(--e-global-color-text, #6c757d) !important;
}
.roamease-tour-slider .tour-card.card-style-card_2 .tour-price-centered.is-enquiry .price {
    font-style: italic;
    color: var(--e-global-color-text, #999) !important;
    opacity: 0.8;
}

/* Card 2 in Slider: Hide any price overlay on image */
.roamease-tour-slider .tour-card.card-style-card_2 .tour-image .tour-price {
    display: none !important;
}

/* Tour Card 3 (Reference/Modern) in Slider */
.roamease-tour-slider .tour-card.card-style-card_3 {
    height: 520px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}
.roamease-tour-slider .tour-card.card-style-card_3 .tour-image {
    position: relative;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
}
.roamease-tour-slider .tour-card.card-style-card_3 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}
.roamease-tour-slider .tour-card.card-style-card_3 .tour-content {
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.roamease-tour-slider .tour-card.card-style-card_3 .tour-description {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.roamease-tour-slider .tour-card.card-style-card_3 .ref-footer {
    margin-top: auto;
}

/* Responsive adjustments for slider tour cards */
@media (max-width: 768px) {
    .roamease-tour-slider .re-slider-slide .tour-card {
        height: 480px;
        min-height: 480px;
        max-height: 480px;
    }
    .roamease-tour-slider .tour-card.card-style-card_1,
    .roamease-tour-slider .tour-card.card-style-card_1 .tour-image {
        height: 480px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 {
        height: 480px;
        padding: 10px 10px 0 10px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 .tour-image {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 .tour-content-card2 {
        padding: 16px 10px 20px 10px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 .tour-title-centered {
        font-size: 18px;
    }
    .roamease-tour-slider .tour-card.card-style-card_3 {
        height: 480px;
    }
    .roamease-tour-slider .tour-card.card-style-card_3 .tour-image {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
}

@media (max-width: 480px) {
    .roamease-tour-slider .re-slider-slide .tour-card {
        height: auto;
        min-height: 420px;
        max-height: none;
    }
    .roamease-tour-slider .tour-card.card-style-card_1,
    .roamease-tour-slider .tour-card.card-style-card_1 .tour-image {
        height: 420px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 {
        height: auto;
        min-height: 420px;
        padding: 10px 10px 0 10px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 .tour-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 .tour-content-card2 {
        padding: 14px 10px 18px 10px;
    }
    .roamease-tour-slider .tour-card.card-style-card_2 .tour-title-centered {
        font-size: 16px;
    }
    .roamease-tour-slider .tour-card.card-style-card_3 {
        height: auto;
        min-height: 420px;
    }
}

.re-slider-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:10; border:none; cursor:pointer; width:42px; height:42px; line-height:42px; border-radius:50%; background:rgba(0,0,0,.5); color:#fff; font-size:18px; display:flex; align-items:center; justify-content:center; transition:background .3s; }
.re-slider-arrow:hover { background:rgba(0,0,0,.75); }
.re-slider-arrow.prev { left:10px; }
.re-slider-arrow.next { right:10px; }
.re-slider-dots { display:flex; gap:10px; justify-content:center; margin-top:18px; }
.re-slider-dots button { width:10px; height:10px; border-radius:50%; border:none; background:#c4cdd5; padding:0; cursor:pointer; transition:background .3s, transform .3s; }
.re-slider-dots button.active { background:#1976d2; transform:scale(1.2); }
.roamease-tour-slider[data-dragging="true"] { cursor:grabbing; }
/* Term card styles when slider shows taxonomy terms */
.roamease-tour-slider .term-card { background:#fff; border:1px solid #e4e7ec; border-radius:14px; box-shadow:0 4px 18px -4px rgba(0,0,0,.08); height:100%; display:flex; flex-direction:column; overflow:hidden; position:relative; }
.roamease-tour-slider .term-card-body { padding:20px 20px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.roamease-tour-slider .term-title { font-size:18px; margin:0; line-height:1.25; }
.roamease-tour-slider .term-title a { text-decoration:none; color:#1d2735; }
.roamease-tour-slider .term-title a:hover { color:#0a6ebd; }
.roamease-tour-slider .term-excerpt { margin:0; font-size:13px; line-height:1.5; color:#4a5664; flex:1; }
.roamease-tour-slider .term-meta { font-size:12px; opacity:.8; }
.roamease-tour-slider .term-actions { margin-top:6px; }
.roamease-tour-slider .term-actions .button { background:#f2f5f8; border-color:#d5dbe2; font-size:12px; line-height:1.3; padding:6px 14px; border-radius:20px; text-transform:uppercase; letter-spacing:.5px; }
.roamease-tour-slider .term-actions .button:hover { background:#e3ebf2; }
@media (max-width: 1024px){ .re-slider-arrow { width:38px; height:38px; line-height:38px; } }
@media (prefers-reduced-motion: reduce){ .roamease-tour-slider .re-slider-track { transition:none; } }

/* ========== Country Cards in Slider ========== */
/* Import country card styles for slider usage */
.roamease-tour-slider .country-card {
    position:relative;
    overflow:hidden;
    height:100%;
    display:flex;
    flex-direction:column;
}

/* Countries taxonomy slider should match the Countries Grid card visuals.
   Grid styles often set fixed widths (360px) which create extra empty space inside
   each slide. In the slider context we let cards fill the slide width. */
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card {
    width: 100% !important;
    max-width: none !important;
}

.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-1,
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-2,
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-3 {
    height: 520px;
}

.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-2 .country-media,
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-3 .country-media {
    height: 300px;
    border-radius: 0;
}

.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card .country-body {
    padding: 18px 22px 22px;
    align-items: center;
    text-align: center;
}

.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card .country-pill,
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card .country-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Card 2 – destinations pill at top centre of image */
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-2 .country-pill--destinations {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.92);
    color: #111827;
    border: 1px solid rgba(15,23,42,0.2);
}

/* Card 3 – tours pill top-right */
.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-3 .country-pill--tours {
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.92);
    color: #111827;
    border: 1px solid rgba(15,23,42,0.2);
}

.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card.re-country-card-3 .country-meta-pill {
    margin-top: 4px;
    margin-bottom: 4px;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #22c55e;
}

.roamease-tour-slider-wrapper.roamease-countries-grid .roamease-tour-slider .country-card .re-country-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 30px;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.roamease-tour-slider .country-card .country-link {
    text-decoration:none;
    color:inherit;
    display:block;
}

/* Country Card 1 – Full hero overlay (450px) */
.roamease-tour-slider .country-card.re-country-card-1 {
    position:relative;
    height:450px;
    border-radius:8px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.roamease-tour-slider .country-card.re-country-card-1 .country-link {
    position:relative;
    display:block;
    height:100%;
    width:100%;
}

.roamease-tour-slider .country-card.re-country-card-1 .card-scrim {
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.75) 100%);
    z-index:1;
}

.roamease-tour-slider .country-card.re-country-card-1 .card-overlay {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    padding:34px 24px 28px;
    text-align:center;
    z-index:2;
}

.roamease-tour-slider .country-card.re-country-card-1 .country-title {
    margin:0;
    font-size:clamp(22px,2.6vw,30px);
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#ffffff;
    font-weight:600;
}

.roamease-tour-slider .country-card.re-country-card-1 .country-desc {
    margin:0;
    font-size:13px;
    line-height:1.6;
    color:#ffffff;
    max-width:90%;
}

/* Country Cards 2 & 3 – Split layout (250px image + white body) */
.roamease-tour-slider .country-card.re-country-card-2,
.roamease-tour-slider .country-card.re-country-card-3 {
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 18px 42px -20px rgba(15,23,42,0.45);
    border:1px solid rgba(15,23,42,0.08);
    display:flex;
    flex-direction:column;
    height:450px;
}

.roamease-tour-slider .country-card.re-country-card-2 .country-media,
.roamease-tour-slider .country-card.re-country-card-3 .country-media {
    position:relative;
    height:250px;
    overflow:hidden;
    border-radius:18px 18px 0 0;
}

.roamease-tour-slider .country-card.re-country-card-2 .country-image,
.roamease-tour-slider .country-card.re-country-card-3 .country-image {
    width:100%;
    height:100%;
    object-fit:cover;
}

.roamease-tour-slider .country-pill {
    position:absolute;
    padding:6px 16px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
    background:rgba(255,255,255,0.95);
    color:#1d2735;
    box-shadow:0 2px 8px rgba(0,0,0,0.12);
}

.roamease-tour-slider .country-pill--destinations {
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

.roamease-tour-slider .country-pill--tours {
    top:14px;
    right:14px;
}

.roamease-tour-slider .country-body {
    padding:24px;
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1;
}

.roamease-tour-slider .country-title {
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#1d2735;
    line-height:1.3;
}

.roamease-tour-slider .country-desc {
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#4a5664;
    flex:1;
}

.roamease-tour-slider .country-meta-pill {
    display:inline-block;
    padding:6px 14px;
    border-radius:16px;
    font-size:11px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
    background:#f2f5f8;
    color:#4a5664;
}

.roamease-tour-slider .re-country-btn {
    display:inline-block;
    padding:10px 24px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.5px;
    background:#0a6ebd;
    color:#ffffff;
    text-decoration:none;
    text-align:center;
    transition:background 0.2s;
}

.roamease-tour-slider .re-country-btn:hover {
    background:#085a9a;
}

/* ========== Tour Type Cards in Slider ========== */
.roamease-tour-slider .tour-type-card {
    position:relative;
    overflow:hidden;
    height:100%;
    display:flex;
    flex-direction:column;
}

/* Tour Types taxonomy slider should match the Tour Types Grid visuals.
   The grid styles set fixed widths (360px); inside the slider we let cards fill the slide width. */
.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card {
    width: 100% !important;
    max-width: none !important;
    height: 520px;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card .tour-type-placeholder {
    background: #eef2f6;
}

/* Tour Type Cards 1 & 2 – full 520px hero with overlay */
.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-overlay {
    height: 520px;
    background: #000;
    color: #fff;
    border-radius: 8px;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-overlay .card-scrim {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.9) 100%);
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-overlay .card-overlay {
    padding: 32px 28px 30px;
    text-align: center;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-overlay .tour-type-title {
    margin: 0;
    font-size: clamp(22px,2.4vw,30px);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-overlay .tour-type-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #f9fafb;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-overlay .pill-outline.tour-count-pill {
    border: 1px solid rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.06);
    font-size: 13px;
    letter-spacing: .08em;
    padding: 6px 18px;
    border-radius: 999px;
}

/* Tour Type Card 3 – 300px image + white body + button */
.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-card3 {
    height: 520px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.18);
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-card3 .tour-type-media {
    height: 300px;
    border-radius: 0;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-card3 .pill-outline.tour-count-pill {
    top: 18px;
    right: 18px;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-card3 .tour-type-body {
    padding: 20px 24px 22px;
    align-items: center;
    text-align: center;
}

.roamease-tour-slider-wrapper.roamease-tour-types-grid .roamease-tour-slider .tour-type-card.tour-type-style-card3 .tour-type-btn {
    min-width: 190px;
    padding: 11px 30px;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
}

.roamease-tour-slider .tour-type-card .tour-type-link {
    text-decoration:none;
    color:inherit;
    display:block;
}

/* Tour Type Cards 1 & 2 – Overlay heroes (450px) */
.roamease-tour-slider .tour-type-card.tour-type-style-overlay {
    position:relative;
    height:450px;
    border-radius:8px;
    overflow:hidden;
}

.roamease-tour-slider .tour-type-card.tour-type-style-overlay .tour-type-link {
    position:relative;
    display:block;
    height:100%;
    width:100%;
}

.roamease-tour-slider .tour-type-card.tour-type-style-overlay .tour-type-image,
.roamease-tour-slider .tour-type-card.tour-type-style-overlay .tour-type-placeholder {
    width:100%;
    height:100%;
    object-fit:cover;
}

.roamease-tour-slider .tour-type-card.tour-type-style-overlay .card-scrim {
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.75) 100%);
    z-index:1;
}

.roamease-tour-slider .tour-type-card.tour-type-style-overlay .card-overlay {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    padding:28px 24px;
    z-index:2;
}

/* Card Variant 1: pill at bottom */
.roamease-tour-slider .tour-type-card.card-variant-1 .card-overlay {
    justify-content:space-between;
    align-items:center;
}

.roamease-tour-slider .tour-type-card.card-variant-1 .tour-type-overlay-main {
    text-align:center;
}

.roamease-tour-slider .tour-type-card.card-variant-1 .tour-type-overlay-bottom {
    width:100%;
    display:flex;
    justify-content:center;
}

/* Card Variant 2: pill at top */
.roamease-tour-slider .tour-type-card.card-variant-2 .card-overlay {
    justify-content:flex-start;
    align-items:center;
    gap:auto;
}

.roamease-tour-slider .tour-type-card.card-variant-2 .tour-type-overlay-top {
    width:100%;
    display:flex;
    justify-content:center;
    margin-bottom:auto;
}

.roamease-tour-slider .tour-type-card.card-variant-2 .tour-type-overlay-main {
    text-align:center;
}

.roamease-tour-slider .tour-type-card .tour-type-title {
    margin:0 0 10px;
    font-size:clamp(20px,2.4vw,28px);
    font-weight:700;
    color:#ffffff;
    line-height:1.2;
}

.roamease-tour-slider .tour-type-card .tour-type-desc {
    margin:0;
    font-size:14px;
    line-height:1.5;
    color:#ffffff;
}

.roamease-tour-slider .pill-outline {
    display:inline-block;
    padding:8px 18px;
    border-radius:24px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.8px;
    text-transform:uppercase;
    background:rgba(255,255,255,0.2);
    border:2px solid rgba(255,255,255,0.85);
    color:#ffffff;
    backdrop-filter:blur(6px);
}

/* Tour Type Card 3 – Split card (250px image + white body) */
.roamease-tour-slider .tour-type-card.tour-type-style-card3 {
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 18px 42px -20px rgba(15,23,42,0.45);
    border:1px solid rgba(15,23,42,0.08);
    display:flex;
    flex-direction:column;
    height:450px;
}

.roamease-tour-slider .tour-type-card.tour-type-style-card3 .tour-type-media {
    position:relative;
    height:250px;
    overflow:hidden;
    border-radius:18px 18px 0 0;
}

.roamease-tour-slider .tour-type-card.tour-type-style-card3 .tour-type-image {
    width:100%;
    height:100%;
    object-fit:cover;
}

.roamease-tour-slider .tour-type-card.tour-type-style-card3 .pill-outline {
    position:absolute;
    top:14px;
    right:14px;
    background:rgba(255,255,255,0.95);
    color:#1d2735;
    border:none;
    box-shadow:0 2px 8px rgba(0,0,0,0.12);
}

.roamease-tour-slider .tour-type-body {
    padding:24px;
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1;
}

.roamease-tour-slider .tour-type-body .tour-type-title {
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#1d2735;
}

.roamease-tour-slider .tour-type-body .tour-type-title a {
    text-decoration:none;
    color:inherit;
}

.roamease-tour-slider .tour-type-body .tour-type-desc {
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#4a5664;
    flex:1;
}

.roamease-tour-slider .tour-type-btn {
    display:inline-block;
    padding:10px 24px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.5px;
    background:#0a6ebd;
    color:#ffffff;
    text-decoration:none;
    text-align:center;
    transition:background 0.2s;
}

.roamease-tour-slider .tour-type-btn:hover {
    background:#085a9a;
}

/* ========== Destination Card 3 — Equal height support inside slider ========== */
/* Ensure slides stretch and the destination card uses column layout so the action sits at bottom */
.roamease-tour-slider .re-slider-track .re-slider-slide { display:flex; align-items:stretch; }
.roamease-tour-slider .re-slider-track .re-slider-slide > .destination-card { display:flex; flex-direction:column; height:100%; box-sizing:border-box; }

/* Media area for Destination Card 3 — match other split cards' image height */
.roamease-tour-slider .destination-card.dest-style-3 .dest-media-link { display:block; height:250px; overflow:hidden; border-radius:12px 12px 0 0; }
.roamease-tour-slider .destination-card.dest-style-3 .destination-image { width:100%; height:100%; object-fit:cover; display:block; }

.roamease-tour-slider .destination-card.dest-style-3 .destination-info { padding:20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.roamease-tour-slider .destination-card.dest-style-3 .destination-desc { margin:0; color:#4a5664; line-height:1.5; flex:1; }
.roamease-tour-slider .destination-card.dest-style-3 .dest-actions { margin-top:auto; }

/* Fallback: if destination markup is wrapped in an anchor (as in other styles), ensure the anchor also fills the slide */
.roamease-tour-slider .re-slider-slide > a.destination-card.dest-style-3 { display:flex; flex-direction:column; height:100%; }
