/* =========================================================
   IMV DAY TOURS SHOWCASE
   Fully isolated Elementor widget styles
========================================================= */

.imv-dts {
    --imv-dts-card-gap: 29px;
    --imv-dts-speed: 500ms;
    --imv-dts-active-width: 370px;
    --imv-dts-active-height: 460px;
    --imv-dts-side-width: 304px;
    --imv-dts-side-height: 378px;
    --imv-dts-button-offset-x: 354px;
    --imv-dts-button-hover-speed: 1000ms;

    position: relative;
    width: 100%;
    height: 598px;
    background-color: #edf5f6;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
}

.imv-dts *,
.imv-dts *::before,
.imv-dts *::after {
    box-sizing: border-box;
}

.imv-dts__slider {
    position: relative;
    width: 100%;
    height: 462px;
    overflow: visible;
}

.imv-dts__card {
    position: absolute;
    left: 50%;
    top: 3px;

    width: var(--imv-dts-side-width);
    height: var(--imv-dts-side-height);

    display: block;
    overflow: hidden;

    border-radius: 27px;
    text-decoration: none !important;

    transform: translate3d(var(--imv-dts-x, 0px), 0, 0);
    transform-origin: center top;

    transition:
        transform var(--imv-dts-speed) cubic-bezier(.65, 0, .35, 1),
        width var(--imv-dts-speed) cubic-bezier(.65, 0, .35, 1),
        height var(--imv-dts-speed) cubic-bezier(.65, 0, .35, 1),
        opacity var(--imv-dts-speed) ease;

    will-change: transform, width, height, opacity;
    -webkit-tap-highlight-color: transparent;
}

.imv-dts__card img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: grayscale(100%);
    transform: scale(1);

    transition:
        filter var(--imv-dts-speed) cubic-bezier(.65, 0, .35, 1),
        transform 800ms ease;

    user-select: none;
    -webkit-user-drag: none;
}

.imv-dts__card.imv-dts-pos-0 {
    width: var(--imv-dts-active-width);
    height: var(--imv-dts-active-height);
    z-index: 5;
    opacity: 1;
}

.imv-dts__card.imv-dts-pos-0 img {
    filter: grayscale(0%);
}

.imv-dts__card.imv-dts-pos-minus-1,
.imv-dts__card.imv-dts-pos-plus-1 {
    z-index: 3;
}

.imv-dts__card.imv-dts-pos-minus-2,
.imv-dts__card.imv-dts-pos-plus-2 {
    z-index: 2;
}

.imv-dts__card.imv-dts-hidden {
    z-index: 0;
    opacity: 0 !important;
    pointer-events: none;
}

.imv-dts__card:hover img {
    transform: scale(1.025);
}

.imv-dts__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255,255,255,.65);
    color: #17626d;
    text-align: center;
    font: 500 13px/1.5 Inter, Arial, sans-serif;
}

.imv-dts__details {
    position: absolute;
    left: 50%;
    top: 477px;
    width: 370px;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.imv-dts__title {
    max-width: 365px;
    margin: 0 auto;
    padding: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;

    color: #17626d;

    transition: opacity 250ms ease, transform 250ms ease;
}

.imv-dts__title.imv-dts-changing {
    opacity: 0;
    transform: translateY(5px);
}

.imv-dts__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    margin-top: 25px;
}

.imv-dts__arrow {
    appearance: none;
    -webkit-appearance: none;

    width: 28px;
    height: 28px;
    min-width: 0;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #17626d;

    cursor: pointer;
    line-height: 1;

    transition: transform 250ms ease, opacity 250ms ease;
    -webkit-tap-highlight-color: transparent;
}

.imv-dts__arrow svg {
    display: block;
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}

.imv-dts__arrow:hover,
.imv-dts__arrow:focus,
.imv-dts__arrow:active {
    background: transparent !important;
    color: inherit;
    outline: none;
}

.imv-dts__arrow:hover {
    transform: scale(1.15);
}

.imv-dts__viewall {
    position: absolute;
    left: calc(50% + var(--imv-dts-button-offset-x));
    top: 472px;
    z-index: 10;
}

.imv-dts__viewall-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 218px;
    min-height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0 25px;

    border: 0;
    border-radius: 999px;

    background-color: #2d8996;
    color: #fff !important;

    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;

    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 9px 12px rgba(18, 73, 80, .16);

    transition:
        color 250ms ease,
        box-shadow 300ms ease;
}

/*
 * Reliable bottom-center circular hover fill.
 * Uses transform instead of clip-path to avoid intermittent hover failures.
 */
.imv-dts__viewall-btn::before {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -165px;

    width: 330px;
    height: 330px;

    z-index: 0;

    border-radius: 50%;
    background-color: #39D7DB;

    transform: translate3d(-50%, 0, 0) scale(0);
    transform-origin: 50% 100%;

    transition:
        transform var(--imv-dts-button-hover-speed) cubic-bezier(.55, .06, .22, .99);

    will-change: transform;
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.imv-dts__viewall-label {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.imv-dts__viewall-btn:hover::before,
.imv-dts__viewall-btn:focus-visible::before {
    transform: translate3d(-50%, 0, 0) scale(1.18);
}

.imv-dts__viewall-btn:hover,
.imv-dts__viewall-btn:focus,
.imv-dts__viewall-btn:active {
    color: #fff !important;
    text-decoration: none !important;
    transform: none;
}

.imv-dts__viewall-btn:focus-visible {
    outline: none;
}

.imv-dts__viewall-btn {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.imv-dts-editor-empty {
    padding: 22px;
    border: 1px dashed #ccd4d8;
    background: #f7f9fa;
    color: #4a5560;
    font: 500 13px/1.5 Arial, sans-serif;
}

/* Tablet defaults. Elementor-generated responsive controls can override these. */
@media (max-width: 1024px) {
    .imv-dts {
        --imv-dts-card-gap: 10px;
        --imv-dts-active-width: 320px;
        --imv-dts-active-height: 405px;
        --imv-dts-side-width: 250px;
        --imv-dts-side-height: 335px;
        --imv-dts-button-offset-x: 220px;
        height: 570px;
    }

    .imv-dts__slider {
        height: 430px;
    }

    .imv-dts__card {
        width: 250px;
        height: 335px;
    }

    .imv-dts__card.imv-dts-pos-0 {
        width: 320px;
        height: 405px;
    }

    .imv-dts__details {
        top: 424px;
        width: 340px;
    }

    .imv-dts__viewall {
        top: 475px;
    }
}

/* Mobile defaults. */
@media (max-width: 767px) {
    .imv-dts {
        --imv-dts-card-gap: 30px;
        --imv-dts-active-width: min(78vw, 330px);
        --imv-dts-active-height: 390px;
        --imv-dts-side-width: 225px;
        --imv-dts-side-height: 320px;
        --imv-dts-button-offset-x: 0px;
        height: 610px;
    }

    .imv-dts__slider {
        height: 405px;
    }

    .imv-dts__card {
        top: 20px;
        width: 225px;
        height: 320px;
        border-radius: 22px;
    }

    .imv-dts__card.imv-dts-pos-0 {
        width: min(78vw, 330px);
        height: 390px;
    }

    .imv-dts__card.imv-dts-pos-minus-2,
    .imv-dts__card.imv-dts-pos-plus-2 {
        opacity: 0;
        pointer-events: none;
    }

    .imv-dts__details {
        top: 430px;
        width: calc(100% - 50px);
    }

    .imv-dts__title {
        max-width: 330px;
        font-size: 18px;
        line-height: 1.25;
    }

    .imv-dts__nav {
        margin-top: 20px;
        gap: 50px;
    }

    .imv-dts__viewall {
        left: calc(50% + var(--imv-dts-button-offset-x));
        top: 545px;
        transform: translateX(-50%);
    }

    .imv-dts__viewall-btn {
        width: 210px;
    }
}

@media (max-width: 480px) {
    .imv-dts__card.imv-dts-pos-0 {
        width: calc(100vw - 60px);
        height: 370px;
    }

    .imv-dts__details {
        top: 410px;
    }

    .imv-dts__title {
        font-size: 17px;
    }

    .imv-dts__viewall {
        top: 535px;
    }
}
