.idse-showcase,
.idse-showcase * {
    box-sizing: border-box;
}

.idse-showcase {
    --idse-stage-height: 635px;
    --idse-bg-top: 82px;
    --idse-bottom-height: 60px;
    --idse-bottom-solid: #d4a900;
    --idse-bottom-gradient-1: #f2b900;
    --idse-bottom-gradient-2: #9a7600;
    --idse-bottom-gradient-angle: 90deg;
    position: relative;
    width: 100%;
    height: var(--idse-stage-height);
    overflow: hidden;
    isolation: isolate;
    background: #fff;
}

.idse-slides,
.idse-slide {
    position: absolute;
    inset: 0;
}

.idse-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--idse-transition-speed, 600ms) ease, visibility var(--idse-transition-speed, 600ms) ease;
}

.idse-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.idse-slide__background {
    position: absolute;
    z-index: 1;
    top: var(--idse-bg-top);
    left: 0;
    right: 0;
    bottom: var(--idse-bottom-height);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.idse-slide__background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.idse-showcase__foreground {
    position: absolute;
    z-index: 5;
    left: 0;
    bottom: 0;
    width: 365px;
    max-width: none;
    max-height: 100%;
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
    user-select: none;
}


.idse-card-stack {
    position: absolute;
    z-index: 7;
    top: 182px;
    right: 8.5%;
    width: 276px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translate3d(20px, 0, 0);
    opacity: 0;
    transition: opacity var(--idse-transition-speed, 600ms) ease .05s, transform var(--idse-transition-speed, 600ms) cubic-bezier(.22,.61,.36,1) .05s;
}

.idse-slide.is-active .idse-card-stack {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.idse-info-card {
    width: 100%;
    min-height: 230px;
    padding: 38px 26px;
    background: #fff;
    border-radius: 25px;
}

.idse-info-card__title {
    margin: 0 0 12px;
    color: #5e5e5e;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

.idse-info-card__description,
.idse-info-card__description p {
    margin: 0;
    color: #6a6a6a;
    font-size: 14px;
    line-height: 1.45;
}

.idse-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 40px;
}

.idse-read-more,
.idse-contact-button {
    text-decoration: none !important;
    text-align: center;
    border: 0;
    outline: 0;
    cursor: pointer;
    transition: transform .28s ease, background-color .28s ease, color .28s ease, box-shadow .28s ease;
}

.idse-read-more {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 34px;
    border-radius: 40px;
    background: #f2b900;
    color: #fff;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.idse-arrows {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.idse-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 0 !important;
    outline: 0;
    padding: 0 !important;
    margin: 0;
    border-radius: 50% !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    background: #f2b900;
    color: #fff;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, opacity .25s ease;
}

/*
 * Front-end themes/Elementor Kits often apply global native <button> borders,
 * radius and shadows after widget CSS. Keep the slider arrows isolated from
 * those global button styles without blocking Elementor's arrow color controls.
 */
.idse-showcase button.idse-arrow,
.idse-showcase button.idse-arrow:hover,
.idse-showcase button.idse-arrow:focus,
.idse-showcase button.idse-arrow:focus-visible,
.idse-showcase button.idse-arrow:active {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.idse-arrow span {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
    transform: translateY(-1px);
}

.idse-arrow:hover,
.idse-arrow:focus-visible {
    transform: scale(1.08);
}

.idse-arrow:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.idse-bottom-bar {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--idse-bottom-height);
    background: var(--idse-bottom-solid);
}

/* Bottom bar background mode: solid or angle-controlled gradient. */
.idse-bottom-bg-solid .idse-bottom-bar {
    background: var(--idse-bottom-solid);
}

.idse-bottom-bg-gradient .idse-bottom-bar {
    background: linear-gradient(
        var(--idse-bottom-gradient-angle),
        var(--idse-bottom-gradient-1),
        var(--idse-bottom-gradient-2)
    );
}

.idse-bottom-bar__inner {
    position: absolute;
    z-index: 6;
    top: 0;
    bottom: 0;
    left: 20px;
    right: 8.5%;
    width: auto;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.idse-bottom-bar__text {
    margin-right: auto;
    /* Start after the foreground traveller, matching the reference layout. */
    padding-left: 305px;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(255,255,255,.52);
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: .95;
    font-weight: 500;
    white-space: nowrap;
}

.idse-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 164px;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #f2b900;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

/* Read More hover effects */
.idse-btn-hover-lift .idse-read-more:hover,
.idse-btn-hover-lift .idse-read-more:focus-visible {
    transform: translateY(-4px);
}

.idse-btn-hover-scale .idse-read-more:hover,
.idse-btn-hover-scale .idse-read-more:focus-visible {
    transform: scale(1.05);
}

.idse-btn-hover-glow .idse-read-more:hover,
.idse-btn-hover-glow .idse-read-more:focus-visible {
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.idse-btn-hover-slide .idse-read-more:hover,
.idse-btn-hover-slide .idse-read-more:focus-visible {
    transform: translateX(5px);
}

/* Contact hover effects */
.idse-contact-hover-lift .idse-contact-button:hover,
.idse-contact-hover-lift .idse-contact-button:focus-visible {
    transform: translateY(-4px);
}

.idse-contact-hover-scale .idse-contact-button:hover,
.idse-contact-hover-scale .idse-contact-button:focus-visible {
    transform: scale(1.05);
}

.idse-contact-hover-glow .idse-contact-button:hover,
.idse-contact-hover-glow .idse-contact-button:focus-visible {
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.idse-editor-notice {
    padding: 14px 18px;
    border: 1px solid #dcdcde;
    background: #fff;
    color: #1d2327;
    font-size: 13px;
}

/* --------------------------------------------------------------
 * Responsive layout
 * Elementor responsive controls now have real tablet/mobile defaults.
 * These rules handle the parts that must adapt structurally rather than
 * simply scaling desktop pixel values.
 * -------------------------------------------------------------- */

/* Smaller laptops / landscape tablets */
@media (max-width: 1200px) {
    .idse-card-stack {
        max-width: min(34vw, 320px);
    }

    .idse-info-card {
        min-height: 210px;
    }

    .idse-bottom-bar__inner {
        gap: 20px;
    }
}

/* Elementor tablet range */
@media (max-width: 1024px) {
    .idse-showcase {
        --idse-stage-height: 650px;
        --idse-bg-top: 55px;
    }

    .idse-card-stack {
        max-width: min(39vw, 320px);
        gap: 14px;
    }

    .idse-info-card {
        min-height: 0;
    }

    .idse-showcase__foreground {
        max-width: 46vw;
    }

    .idse-bottom-bar__text {
        font-size: clamp(26px, 4vw, 40px);
    }

    .idse-actions {
        min-width: 0;
    }
}

/* Elementor mobile range */
@media (max-width: 767px) {
    .idse-showcase {
        --idse-stage-height: 740px;
        --idse-bg-top: 0px;
        --idse-bottom-height: 88px;
        min-height: 620px;
    }

    .idse-slide__background {
        bottom: var(--idse-bottom-height);
        background-position: center center;
    }

    .idse-showcase__foreground {
        max-width: 62vw;
        max-height: 72%;
        object-position: left bottom;
    }

    /* On mobile the card keeps a controlled width/right/top from the
       Elementor responsive controls. Do not combine left/right/width. */
    .idse-card-stack {
        left: auto;
        bottom: auto;
        max-width: calc(100% - 28px);
        gap: 12px;
    }

    .idse-info-card {
        min-height: 0;
        border-radius: min(20px, 5vw);
    }

    .idse-info-card__title {
        margin-bottom: 9px;
        font-size: 13px;
    }

    .idse-info-card__description,
    .idse-info-card__description p {
        font-size: 13px;
        line-height: 1.42;
    }

    .idse-actions {
        width: 100%;
        min-width: 0;
        gap: 7px;
    }

    .idse-read-more {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    .idse-arrows {
        flex-shrink: 0;
        gap: 6px;
    }

    .idse-arrow span {
        font-size: 24px;
    }

    .idse-bottom-bar__inner {
        left: auto;
        width: auto;
        min-width: 0;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 6px;
    }

    /* Keep the bottom-bar label visible on mobile.  The desktop layout uses
       a large outlined line behind the foreground image, but on small screens
       that area is occupied by the traveller artwork.  Stack the label above
       the Contact button on the clear right-hand side instead. */
    .idse-bottom-bar__text {
        display: block;
        flex: 0 1 auto;
        min-width: 0;
        max-width: min(58vw, 210px);
        margin: 0;
        padding-left: 0 !important;
        font-size: clamp(11px, 3.2vw, 15px);
        line-height: 1.05;
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .idse-contact-button {
        flex: 0 0 auto;
        min-height: 36px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 12px;
    }

    .idse-showcase {
        touch-action: pan-y;
    }
}

/* Narrow phones */
@media (max-width: 480px) {
    .idse-showcase {
        min-height: 600px;
    }

    .idse-card-stack {
        max-width: calc(100% - 20px);
    }

    .idse-info-card__description,
    .idse-info-card__description p {
        line-height: 1.38;
    }

    .idse-actions {
        gap: 6px;
    }

    .idse-arrows {
        gap: 5px;
    }

    .idse-bottom-bar__inner {
        left: auto;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .idse-info-card__title,
    .idse-info-card__description,
    .idse-info-card__description p {
        font-size: 12px;
    }

    .idse-read-more,
    .idse-contact-button {
        font-size: 11px;
    }

    .idse-arrow span {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .idse-slide,
    .idse-showcase__foreground,
    .idse-card-stack,
    .idse-read-more,
    .idse-contact-button,
    .idse-arrow {
        transition: none !important;
    }
}
