.ht-jhs,
.ht-jhs * {
    box-sizing: border-box;
}

.ht-jhs {
    position: relative;
    width: 100%;
    height: 820px;
    overflow: hidden;
    background: #111;
    direction: ltr;
    isolation: isolate;
}


/* Background width mode */
.ht-jhs--bg-full {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.ht-jhs--bg-boxed {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}


.ht-jhs__track,
.ht-jhs__slide,
.ht-jhs__media {
    position: absolute;
    inset: 0;
}

.ht-jhs__slide {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--ht-jhs-speed, 550ms) ease, visibility var(--ht-jhs-speed, 550ms) ease;
    z-index: 1;
}

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

.ht-jhs__slide-bg,
.ht-jhs__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ht-jhs__slide-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.ht-jhs__video {
    object-fit: cover;
    object-position: center center;
}

.ht-jhs__inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1144px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.ht-jhs__content-box {
    position: relative;
    z-index: 3;
    width: 645px;
    min-height: 760px;
    margin-top: 70px;
    margin-left: 0;
    padding: 58px 48px 40px;
    background-color: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}


/* Jacobs placement: the content box starts exactly from the left edge of the centered inner container. */
.ht-jhs--position-jacobs .ht-jhs__inner {
    max-width: 1144px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ht-jhs--position-jacobs .ht-jhs__content-box {
    margin-left: 0 !important;
}

.ht-jhs__content-main {
    max-width: 100%;
    flex: 1 1 auto;
}

.ht-jhs__content-slider {
    position: relative;
    min-height: 1px;
}

.ht-jhs__content-slider.has-multi-items {
    min-height: 470px;
}

.ht-jhs__text-item {
    display: none;
    max-width: 100%;
}

.ht-jhs__text-item.is-active {
    display: block;
    animation: htJhsFade .35s ease;
}

@keyframes htJhsFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ht-jhs__title {
    margin: 0 0 38px;
    padding: 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.ht-jhs__description {
    max-width: 490px;
    margin: 0 0 45px;
    padding: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
}

.ht-jhs__description p {
    margin: 0;
}

.ht-jhs__button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 312px;
    max-width: 100%;
    min-height: 48px;
    padding: 16px 24px;
    background: #fff;
    color: #111;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    letter-spacing: .01em;
    border: 1px solid transparent;
    transition: color .28s ease, background-color .28s ease, border-color .28s ease;
}

.ht-jhs__button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #111;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .34s cubic-bezier(.22, .61, .36, 1);
}

.ht-jhs__button:hover,
.ht-jhs__button:focus {
    color: #fff;
    background: #fff;
    border-color: #fff;
    transform: none;
    outline: none;
}

.ht-jhs__button:hover::before,
.ht-jhs__button:focus::before {
    transform: scaleX(1);
}

.ht-jhs__bottom-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin-top: 40px;
}

.ht-jhs__arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ht-jhs__arrow {
    position: relative;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, opacity .25s ease, box-shadow .25s ease;
    appearance: none;
}

.ht-jhs__arrow:hover,
.ht-jhs__arrow:focus {
    background: rgba(255, 255, 255, .12);
    outline: none;
}

.ht-jhs__arrow.is-disabled,
.ht-jhs__arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.ht-jhs__dots {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0 8px 8px 0;
}

.ht-jhs__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
    appearance: none;
}

.ht-jhs__dot.is-active {
    background: #fff;
    transform: scale(1.08);
}

.ht-jhs__dot:hover,
.ht-jhs__dot:focus {
    opacity: .85;
    outline: none;
}

@media (max-width: 1024px) {
    .ht-jhs__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ht-jhs__content-box {
        width: 76%;
        margin-left: 6%;
        min-height: 70%;
    }

    .ht-jhs__title {
        font-size: clamp(34px, 6vw, 54px);
    }

    .ht-jhs__description {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .ht-jhs {
        height: auto;
        min-height: 0;
    }

    .ht-jhs__slide,
    .ht-jhs__slide.is-active {
        position: relative;
        min-height: 0;
        flex-direction: column;
    }

    .ht-jhs__slide:not(.is-active) {
        position: absolute;
        inset: 0;
    }

    .ht-jhs__inner {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        order: 2;
    }

    .ht-jhs__media {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 300px;
        height: 300px;
        order: 1;
    }

    .ht-jhs__content-box {
        width: 100%;
        min-height: auto;
        margin-top: 0;
        margin-left: 0;
        padding: 42px 24px 28px;
        background-color: rgba(17, 17, 17, .96);
    }

    .ht-jhs__content-slider.has-multi-items {
        min-height: 0;
    }

    .ht-jhs__title {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -0.025em;
    }

    .ht-jhs__description {
        max-width: 100%;
        font-size: 16px;
    }

    .ht-jhs__button {
        width: 100%;
        min-width: 0;
    }

    .ht-jhs__bottom-controls {
        align-items: center;
        margin-top: 28px;
    }

    .ht-jhs__dots {
        justify-content: flex-start;
        padding-right: 0;
    }

    .ht-jhs__arrow {
        width: 48px;
        height: 48px;
    }
}

/* Arrow button style presets */
.ht-jhs__arrow-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.ht-jhs__arrow::before,
.ht-jhs__arrow::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.ht-jhs--arrow-square .ht-jhs__arrow {
    border-radius: 0;
    background: transparent;
}

.ht-jhs--arrow-square_filled .ht-jhs__arrow {
    border-color: transparent;
    background: rgba(255, 255, 255, .18);
}

.ht-jhs--arrow-square_filled .ht-jhs__arrow:hover,
.ht-jhs--arrow-square_filled .ht-jhs__arrow:focus {
    background: rgba(255, 255, 255, .32);
}

.ht-jhs--arrow-circle .ht-jhs__arrow {
    border-radius: 999px;
    background: transparent;
}

.ht-jhs--arrow-minimal_line .ht-jhs__arrow {
    width: 72px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ht-jhs--arrow-minimal_line .ht-jhs__arrow::before {
    top: 50%;
    width: 44px;
    height: 1px;
    background: currentColor;
    opacity: .9;
    transform: translateY(-50%);
    transition: width .25s ease, opacity .25s ease;
}

.ht-jhs--arrow-minimal_line .ht-jhs__arrow--prev::before,
.ht-jhs--arrow-minimal_line .ht-jhs__arrow--text::before,
.ht-jhs--arrow-minimal_line .ht-jhs__arrow--text-prev::before {
    left: 22px;
}

.ht-jhs--arrow-minimal_line .ht-jhs__arrow--next::before,
.ht-jhs--arrow-minimal_line .ht-jhs__arrow--slide::before,
.ht-jhs--arrow-minimal_line .ht-jhs__arrow--text-next::before {
    right: 22px;
}

.ht-jhs--arrow-minimal_line .ht-jhs__arrow:hover::before,
.ht-jhs--arrow-minimal_line .ht-jhs__arrow:focus::before {
    width: 54px;
    opacity: 1;
}

.ht-jhs--arrow-neon_line .ht-jhs__arrow {
    border-color: currentColor;
    border-radius: 0;
    background: rgba(0, 0, 0, .18);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 12px currentColor, inset 0 0 10px rgba(255, 255, 255, .12);
    text-shadow: 0 0 8px currentColor;
}

.ht-jhs--arrow-neon_line .ht-jhs__arrow::before {
    inset: -5px;
    border: 1px solid currentColor;
    opacity: .26;
    filter: blur(2px);
}

.ht-jhs--arrow-neon_line .ht-jhs__arrow:hover,
.ht-jhs--arrow-neon_line .ht-jhs__arrow:focus {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 20px currentColor, inset 0 0 16px rgba(255, 255, 255, .18);
}

.ht-jhs--arrow-glass .ht-jhs__arrow {
    border-color: rgba(255, 255, 255, .35);
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ht-jhs--arrow-glass .ht-jhs__arrow:hover,
.ht-jhs--arrow-glass .ht-jhs__arrow:focus {
    background: rgba(255, 255, 255, .22);
}

.ht-jhs--icon-chevron .ht-jhs__arrow,
.ht-jhs--icon-double .ht-jhs__arrow {
    font-weight: 300;
}


/* Keep navigation visible after slide/text changes */
.ht-jhs__slide.is-active .ht-jhs__content-box,
.ht-jhs__slide.is-active .ht-jhs__bottom-controls,
.ht-jhs__slide.is-active .ht-jhs__arrows,
.ht-jhs__slide.is-active .ht-jhs__dots {
    visibility: visible;
}

.ht-jhs__slide.is-active .ht-jhs__bottom-controls {
    display: flex;
    opacity: 1;
}

.ht-jhs__slide.is-active .ht-jhs__arrows {
    display: flex;
    opacity: 1;
}

.ht-jhs__slide.is-active .ht-jhs__arrow:not(.is-disabled) {
    opacity: 1;
    visibility: visible;
}


/* v1.7.0: Force active slide navigation to stay visible after slide changes */
.ht-jhs__slide.is-active .ht-jhs__bottom-controls,
.ht-jhs__slide.is-active .ht-jhs__arrows,
.ht-jhs__slide.is-active .ht-jhs__dots {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ht-jhs__slide.is-active .ht-jhs__arrow {
    display: inline-flex !important;
    visibility: visible !important;
}

.ht-jhs__slide.is-active .ht-jhs__arrow:not(.is-disabled) {
    opacity: 1 !important;
}


/* v1.8.0: In multi-text mode square arrows control texts; dots control main slides. */
.ht-jhs__slide.is-active .ht-jhs__inner,
.ht-jhs__slide.is-active .ht-jhs__content-box {
    pointer-events: auto !important;
}

.ht-jhs--multi-text .ht-jhs__arrow--text-prev,
.ht-jhs--multi-text .ht-jhs__arrow--text-next {
    display: inline-flex !important;
    visibility: visible !important;
}

.ht-jhs--multi-text .ht-jhs__dots {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* v2.8.1: Slider pagination style presets - fully customizable neon, fixed active color */
.ht-jhs {
    --ht-jhs-dot-inactive-color: rgba(222,226,230,.62);
    --ht-jhs-dot-active-color: #157281;
    --ht-jhs-dot-inactive-glow-color: rgba(126,134,141,.16);
    --ht-jhs-dot-active-glow-color: rgba(21,114,129,.72);
    --ht-jhs-dot-inactive-glow-size: 11px;
    --ht-jhs-dot-active-glow-size: 48px;
    --ht-jhs-dot-black-depth: 68%;
    --ht-jhs-dot-black-opacity: .68;
    --ht-jhs-dot-opacity: .82;
}

.ht-jhs--dots-neon_line .ht-jhs__dots {
    gap: 10px;
    align-items: center;
}

.ht-jhs--dots-neon_line .ht-jhs__dot {
    position: relative;
    overflow: hidden;
    width: 28px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--ht-jhs-dot-inactive-color) !important;
    background-image: none !important;
    box-shadow:
        0 0 calc(var(--ht-jhs-dot-inactive-glow-size) * .45) var(--ht-jhs-dot-inactive-glow-color),
        0 0 var(--ht-jhs-dot-inactive-glow-size) color-mix(in srgb, var(--ht-jhs-dot-inactive-glow-color) 55%, transparent);
    opacity: var(--ht-jhs-dot-opacity);
    transform: none;
}

.ht-jhs--dots-neon_line .ht-jhs__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(0,0,0,var(--ht-jhs-dot-black-opacity)) 100%);
}

.ht-jhs--dots-neon_line .ht-jhs__dot.is-active {
    background-color: var(--ht-jhs-dot-active-color) !important;
    background-image: none !important;
    box-shadow:
        0 0 calc(var(--ht-jhs-dot-active-glow-size) * .17) var(--ht-jhs-dot-active-glow-color),
        0 0 calc(var(--ht-jhs-dot-active-glow-size) * .38) color-mix(in srgb, var(--ht-jhs-dot-active-glow-color) 82%, transparent),
        0 0 calc(var(--ht-jhs-dot-active-glow-size) * .66) color-mix(in srgb, var(--ht-jhs-dot-active-glow-color) 62%, transparent),
        0 0 var(--ht-jhs-dot-active-glow-size) color-mix(in srgb, var(--ht-jhs-dot-active-glow-color) 44%, transparent);
    opacity: 1;
    transform: none;
}

.ht-jhs--dots-neon_line .ht-jhs__dot:hover,
.ht-jhs--dots-neon_line .ht-jhs__dot:focus {
    opacity: .95;
    outline: none;
}

@media (max-width: 767px) {
    .ht-jhs--dots-neon_line .ht-jhs__dots {
        gap: 7px;
    }

    .ht-jhs--dots-neon_line .ht-jhs__dot {
        width: 24px;
        height: 6px;
    }
}
