.elementor-widget-ahsj_horizontal_showcase,
.elementor-widget-ahsj_horizontal_showcase > .elementor-widget-container {
    width: 100%;
}

.ahsj-horizontal-showcase {
    --ahsj-height: 100vh;
    --ahsj-slide-width: 160vw;
    position: relative;
    width: 100%;
    height: var(--ahsj-height);
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity .28s ease, visibility .28s ease;
    content-visibility: visible;
    contain: none;
}

.ahsj-horizontal-showcase.ahsj-height--viewport {
    --ahsj-height: 100vh;
}

body.admin-bar .ahsj-horizontal-showcase.ahsj-height--viewport {
    --ahsj-height: calc(100vh - 32px);
}

.ahsj-horizontal-showcase.ahsj-is-ready,
body.elementor-editor-active .ahsj-horizontal-showcase,
body.elementor-editor-preview .ahsj-horizontal-showcase {
    opacity: 1;
    visibility: visible;
}

.ahsj-slides-holder {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    outline: none;
    overscroll-behavior: contain;
    cursor: auto;
    touch-action: pan-y pinch-zoom;
}

.ahsj-slides-holder.ahsj-is-dragging {
    cursor: grabbing;
    user-select: none;
}

.ahsj-slides-holder.ahsj-is-dragging * {
    user-select: none;
}

.ahsj-slides-holder::-webkit-scrollbar {
    display: none;
}

.ahsj-slides-track {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-width: max-content;
    will-change: transform;
}

.ahsj-slide {
    position: relative;
    flex: 0 0 var(--ahsj-slide-width, 160vw);
    width: var(--ahsj-slide-width, 160vw);
    height: 100%;
    overflow: hidden;
}

.ahsj-slide--first {
    --ahsj-slide-width: 100vw;
}

.ahsj-slide--last {
    --ahsj-slide-width: 115vw;
}

.ahsj-slide:nth-child(even) {
    background-color: #223035;
}

.ahsj-slide-content {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}


.ahsj-slide.ahsj-image-position--right .ahsj-slide-content {
    flex-direction: row-reverse;
}

.ahsj-slide.ahsj-image-position--left .ahsj-slide-content {
    flex-direction: row;
}

.ahsj-slide-intro-image {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 38.5%;
    height: 100%;
    align-self: stretch;
    overflow: hidden;
    background: rgba(0,0,0,.08);
}

.ahsj-slide-intro-image img {
    display: block;
    height: 100%;
    max-width: none;
    --ahsj-adj: .4;
    width: calc((var(--ahsj-adj) * 100 + 100) * 1%);
    object-fit: cover;
    object-position: center center;
    --ahsj-max-x: calc((1 / (var(--ahsj-adj) + 1)) * var(--ahsj-adj) * -100%);
    transform: translate3d(calc(var(--ahsj-progress, 0) * var(--ahsj-max-x)), 0, 0);
    will-change: transform;
}

.ahsj-slide-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
}

.ahsj-slide-body > * {
    width: 100%;
}

.ahsj-slide-editor-content {
    width: 100%;
    max-width: 680px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ahsj-slide-title {
    color: #20282d;
    margin: 0 0 24px;
    line-height: 1.03;
    font-size: clamp(42px, 6vw, 120px);
    font-weight: 500;
}

.ahsj-slide-description {
    color: #5e6b6f;
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 36px;
}

.ahsj-slide-description p {
    margin-top: 0;
}

.ahsj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    background-color: #20282d;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 24px 9px;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    transition: color .28s ease, background-color .28s ease, border-color .28s ease, transform .28s ease;
}

.ahsj-button:hover,
.ahsj-button:focus {
    color: #fff;
    background-color: #7f9498;
    text-decoration: none;
}

.ahsj-button__arrow {
    position: relative;
    display: inline-flex;
    width: 10px;
    height: 10px;
    overflow: hidden;
    color: currentColor;
}

.ahsj-arrow-svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: .85;
    overflow: hidden;
    --ahsj-hover-move-x: 110%;
    --ahsj-hover-move-y: 100%;
}

.ahsj-arrow-svg g {
    transition: transform .38s cubic-bezier(.37,.08,.02,.93), opacity .18s ease-out;
}

.ahsj-arrow-svg g:nth-of-type(1) {
    transform: translateX(0) translateY(0);
    opacity: 1;
    transition-delay: .15s, .15s;
}

.ahsj-arrow-svg g:nth-of-type(2) {
    transform: translateX(calc(-1 * var(--ahsj-hover-move-x))) translateY(var(--ahsj-hover-move-y));
    opacity: 0;
    transition-delay: 0s, 0s;
}

.ahsj-button:hover .ahsj-arrow-svg g:nth-of-type(1),
.ahsj-button:focus .ahsj-arrow-svg g:nth-of-type(1) {
    transform: translateX(var(--ahsj-hover-move-x)) translateY(calc(-1 * var(--ahsj-hover-move-y)));
    opacity: 0;
    transition-delay: 0s, 0s;
}

.ahsj-button:hover .ahsj-arrow-svg g:nth-of-type(2),
.ahsj-button:focus .ahsj-arrow-svg g:nth-of-type(2) {
    transform: translateX(0) translateY(0);
    opacity: 1;
    transition-delay: .15s, .15s;
}

.ahsj-action {
    position: absolute;
    z-index: 15;
    right: 74px;
    bottom: 76px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    background: transparent;
    border: 0;
    padding: 0;
    text-decoration: none;
    cursor: default;
}

.ahsj-action svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    overflow: hidden;
}

.ahsj-action--back {
    color: #20282d;
    cursor: pointer;
    flex-direction: row-reverse;
    --ahsj-hover-move-x: 110%;
    --ahsj-hover-move-y: 0%;
}

.ahsj-action--back svg {
    transform: scaleX(-1);
}

.ahsj-action--back g {
    transition: transform .38s cubic-bezier(.37,.08,.02,.93), opacity .18s ease-out;
}

.ahsj-action--back g:nth-of-type(1) {
    transform: translateX(0) translateY(0);
    opacity: 1;
    transition-delay: .15s, .15s;
}

.ahsj-action--back g:nth-of-type(2) {
    transform: translateX(calc(-1 * var(--ahsj-hover-move-x))) translateY(var(--ahsj-hover-move-y));
    opacity: 0;
    transition-delay: 0s, 0s;
}

.ahsj-action--back:hover g:nth-of-type(1),
.ahsj-action--back:focus g:nth-of-type(1) {
    transform: translateX(var(--ahsj-hover-move-x)) translateY(calc(-1 * var(--ahsj-hover-move-y)));
    opacity: 0;
    transition-delay: 0s, 0s;
}

.ahsj-action--back:hover g:nth-of-type(2),
.ahsj-action--back:focus g:nth-of-type(2) {
    transform: translateX(0) translateY(0);
    opacity: 1;
    transition-delay: .15s, .15s;
}

@media (max-width: 1024px) {
    .ahsj-horizontal-showcase,
    .ahsj-horizontal-showcase.ahsj-height--viewport,
    body.admin-bar .ahsj-horizontal-showcase.ahsj-height--viewport {
        height: auto !important;
        opacity: 1;
        visibility: visible;
        overflow: visible;
    }

    .ahsj-slides-holder {
        height: auto;
        overflow: visible;
    }

    .ahsj-slides-track {
        min-width: 0;
        height: auto;
        display: block;
    }

    .ahsj-slide {
        width: 100% !important;
        height: auto;
        min-height: auto;
        display: block;
    }

    .ahsj-slide-content {
        flex-direction: column;
        height: auto;
    }
    .ahsj-slide.ahsj-image-position--right .ahsj-slide-content,
    .ahsj-slide.ahsj-image-position--left .ahsj-slide-content {
        flex-direction: column;
    }


    .ahsj-slide-intro-image {
        width: 100% !important;
        height: 520px;
    }

    .ahsj-slide-intro-image img {
        width: 100%;
        transform: none !important;
        object-position: 50% 25%;
    }

    .ahsj-slide-body {
        height: auto;
    }

    .ahsj-slide-editor-content {
        max-width: 100%;
        padding: 60px 32px;
    }

    .ahsj-action {
        display: none;
    }
}

@media (max-width: 767px) {
    .ahsj-slide-intro-image {
        height: 360px;
    }

    .ahsj-slide-editor-content {
        padding: 48px 24px;
    }

    .ahsj-slide-title {
        font-size: clamp(34px, 12vw, 64px);
    }
}

/* Version 1.0.3 refinements */
.ahsj-slides-holder.ahsj-is-holding,
.ahsj-slides-holder.ahsj-is-dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.ahsj-slides-holder.ahsj-is-holding * {
    user-select: none;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slides-holder {
    scrollbar-width: thin;
    overflow-x: auto;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slides-holder::-webkit-scrollbar {
    display: block;
    height: 8px;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slides-holder::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .12);
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slides-holder::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .35);
}

.ahsj-editor-nav {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 50;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.ahsj-editor-nav__button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .18);
    background: rgba(255, 255, 255, .92);
    color: #20282d;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.ahsj-editor-nav__button:hover,
.ahsj-editor-nav__button:focus {
    background: #20282d;
    color: #fff;
}


/* Version 1.0.4 editor horizontal mode */
.ahsj-horizontal-showcase.ahsj-editor-mode {
    height: var(--ahsj-height, 100vh) !important;
    min-height: 420px;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slides-holder {
    height: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    overscroll-behavior: contain;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slides-track {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    min-width: max-content !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide {
    flex: 0 0 var(--ahsj-slide-width, 160vw) !important;
    width: var(--ahsj-slide-width, 160vw) !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide-content {
    flex-direction: row !important;
    height: 100% !important;
}
.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide.ahsj-image-position--right .ahsj-slide-content {
    flex-direction: row-reverse !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide.ahsj-image-position--left .ahsj-slide-content {
    flex-direction: row !important;
}


.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide-intro-image {
    width: var(--ahsj-intro-image-width, 38.5%) !important;
    height: 100% !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide-intro-image img {
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-slide-body {
    height: 100% !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-action {
    display: inline-flex !important;
}

.ahsj-horizontal-showcase.ahsj-editor-mode .ahsj-editor-nav {
    display: flex !important;
}

/* Version 1.0.5: smoother editor wheel and intro image side control. */


/* Version 1.0.7: responsive vertical mode must show the whole item. */
@media (max-width: 1024px) {
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode),
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode).ahsj-height--viewport,
    body.admin-bar .ahsj-horizontal-showcase:not(.ahsj-editor-mode).ahsj-height--viewport {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slides-holder {
        height: auto !important;
        overflow: visible !important;
        touch-action: pan-y !important;
        overscroll-behavior: auto !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slides-track {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        transform: none !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide--first,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide--last {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: block !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-content,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide.ahsj-image-position--right .ahsj-slide-content,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide.ahsj-image-position--left .ahsj-slide-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-intro-image {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 5;
        overflow: hidden !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-intro-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body > *,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body .elementor,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body .elementor-section,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body .elementor-container,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body .elementor-column,
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-body .elementor-widget-wrap {
        max-width: 100% !important;
        height: auto;
        overflow: visible;
    }
}

@media (max-width: 767px) {
    .ahsj-horizontal-showcase:not(.ahsj-editor-mode) .ahsj-slide-intro-image {
        aspect-ratio: 1 / 1.05;
    }
}


/* Version 1.0.8: do not leave the showcase hidden while JS is delayed by Complianz/cache. */
.ahsj-horizontal-showcase,
.ahsj-horizontal-showcase:not(.ahsj-is-ready),
.elementor-widget-ahsj_horizontal_showcase,
.elementor-widget-ahsj_horizontal_showcase > .elementor-widget-container {
    opacity: 1 !important;
    visibility: visible !important;
}

.ahsj-horizontal-showcase .ahsj-slides-holder,
.ahsj-horizontal-showcase .ahsj-slides-track,
.ahsj-horizontal-showcase .ahsj-slide,
.ahsj-horizontal-showcase .ahsj-slide-content {
    visibility: visible !important;
}
