.site__content.home #hero {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    height: 90vh !important;
    min-height: 560px;
    padding: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.site__content.home #hero > .left,
.site__content.home #hero > .right.home-slider-panel {
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 0;
    height: 90vh !important;
    min-height: 560px;
    margin: 0 !important;
}

.site__content.home #hero > .left {
    order: 0 !important;
}

.site__content.home #hero > .right.home-slider-panel {
    position: relative;
    order: 1 !important;
    overflow: hidden;
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: #f3f6fa;
}

.site__content.home .home-slider-panel::after {
    content: none !important;
}

.site__content.home .ensup-slider {
    position: relative;
    isolation: isolate;
    width: 100% !important;
    height: 90vh !important;
    min-height: 560px;
    margin: 0 !important;
    overflow: hidden;
    background: #f3f6fa;
}

.site__content.home .ensup-slider-track,
.site__content.home .ensup-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.site__content.home .ensup-slide {
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

.site__content.home .ensup-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.site__content.home .ensup-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    margin: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center;
    background: #f3f6fa;
}

.site__content.home .home-slider__scrim {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(transparent, rgb(6 25 52 / 38%));
}

.site__content.home .home-slider__controls {
    position: absolute;
    z-index: 3;
    right: clamp(16px, 3vw, 36px);
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgb(255 255 255 / 26%);
    border-radius: 999px;
    background: rgb(6 25 52 / 72%);
    box-shadow: 0 12px 32px rgb(0 0 0 / 20%);
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site__content.home .home-slider__controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 50%;
    background: rgb(255 255 255 / 12%);
    color: #fff;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
}

.site__content.home .home-slider__controls button:hover {
    transform: translateY(-1px);
    background: rgb(255 255 255 / 24%);
}

.site__content.home .home-slider__controls button:focus-visible,
.site__content.home .home-slider__dots button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.site__content.home .home-slider__controls button i {
    margin: 0;
    font-size: 15px;
    line-height: 1;
}

.site__content.home .home-slider__counter {
    min-width: 42px;
    margin: 0 4px;
    font: 600 13px/1.2 system-ui, sans-serif;
    text-align: center;
    letter-spacing: .04em;
}

.site__content.home .home-slider__dots {
    position: absolute;
    z-index: 3;
    bottom: 42px;
    left: clamp(16px, 3vw, 36px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.site__content.home .home-slider__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgb(255 255 255 / 56%);
    cursor: pointer;
    transition: width 220ms ease, background-color 220ms ease;
}

.site__content.home .home-slider__dots button.is-active {
    width: 28px;
    background: #fff;
}

.site__content.home .home-slider__pause-notice {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 92px;
    max-width: calc(100% - 48px);
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 12px;
    background: rgb(6 25 52 / 78%);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 16%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site__content.home .home-slider__pause-notice[hidden] {
    display: none !important;
}

.home-slider__lightbox-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.home-slider__lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: clamp(24px, 4vw, 56px);
    overflow: hidden;
    border: 0;
    background: rgb(4 18 38 / 96%);
    color: #fff;
}

.home-slider__lightbox[hidden] {
    display: none !important;
}

.home-slider__lightbox img {
    display: block;
    width: auto !important;
    max-width: 92vw;
    height: auto !important;
    max-height: 88vh;
    margin: auto !important;
    border-radius: 8px;
    object-fit: contain !important;
    box-shadow: 0 24px 70px rgb(0 0 0 / 36%);
}

.home-slider__lightbox-close {
    position: absolute;
    top: clamp(12px, 2vw, 24px);
    right: clamp(12px, 2vw, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 38%);
    border-radius: 50%;
    background: rgb(255 255 255 / 12%);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .site__content.home #hero {
        flex-direction: column !important;
        height: auto !important;
        min-height: 0;
        overflow: visible;
    }

    .site__content.home #hero > .left,
    .site__content.home #hero > .right.home-slider-panel {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-height: 0;
    }

    .site__content.home #hero > .left {
        height: auto !important;
        min-height: 360px;
        order: 0 !important;
    }

    .site__content.home #hero > .right.home-slider-panel,
    .site__content.home .ensup-slider {
        height: 90vh !important;
        min-height: 420px;
        margin-bottom: 0 !important;
    }

    .site__content.home .home-slider__controls {
        right: 14px;
        bottom: 18px;
        gap: 6px;
        padding: 6px 7px;
    }

    .site__content.home .home-slider__controls button {
        width: 38px;
        height: 38px;
    }

    .site__content.home .home-slider__dots {
        bottom: 31px;
        left: 16px;
    }

    .site__content.home .home-slider__pause-notice {
        right: 14px;
        bottom: 72px;
    }

    .home-slider__lightbox {
        padding: 18px;
    }

    .home-slider__lightbox img {
        max-width: 96vw;
        max-height: 86vh;
    }
}

/* Give the home title a clear gap below the shared header on smaller screens. */
@media (min-width: 768px) and (max-width: 1023px) {
    .site__content.home #hero > .left {
        position: relative !important;
        top: auto !important;
        display: flex;
        align-items: flex-start;
        padding-top: clamp(88px, 13vh, 132px) !important;
    }

    .site__content.home #hero > .left .content {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 12px clamp(22px, 4vw, 48px) 36px !important;
    }

    .site__content.home #hero > .left .content h1 {
        margin-top: 0 !important;
        font-size: clamp(1.7rem, 3.3vw, 2.5rem) !important;
        line-height: 1.12;
    }

    .site__content.home #hero > .left .content .animated__title,
    .site__content.home #hero > .left .content .title {
        font-size: clamp(2.8rem, 5.4vw, 4.2rem) !important;
        line-height: 1.02;
    }
}

@media (max-width: 767px) {
    .site__content.home #hero > .left {
        position: relative !important;
        top: auto !important;
        display: flex;
        align-items: flex-start;
        min-height: 0;
        padding: clamp(82px, 13vh, 118px) 0 42px !important;
        background: linear-gradient(155deg, #083d78 0%, #07529a 58%, #0d6bb0 100%);
    }

    .site__content.home #hero > .left .content {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 0 clamp(22px, 6vw, 34px) !important;
    }

    .site__content.home #hero > .left .content h1 {
        margin: 0 0 10px !important;
        font-size: clamp(1.65rem, 7vw, 2.45rem) !important;
        line-height: 1.12;
    }

    .site__content.home #hero > .left .content .animated__title,
    .site__content.home #hero > .left .content .title {
        margin-top: 0;
        font-size: clamp(2.7rem, 12vw, 4rem) !important;
        line-height: 1;
    }

    .site__content.home #hero > .left .content .excerpt {
        max-width: 42rem;
        margin-top: 18px;
        font-size: clamp(1rem, 4vw, 1.15rem);
        line-height: 1.55;
    }

    .site__content.home #hero > .left .wp-block-buttons {
        margin-top: 22px;
    }
}

/* Vertically center the hero copy and keep a comfortable gap below the header. */
.site__content.home #hero > .left {
    position: relative !important;
    top: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site__content.home #hero > .left .content {
    margin-top: clamp(44px, 7vh, 96px) !important;
}

@media (max-width: 767px) {
    .site__content.home #hero > .left {
        align-items: flex-start;
    }

    .site__content.home #hero > .left .content {
        margin-top: 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site__content.home .ensup-slide,
    .site__content.home .home-slider__controls button,
    .site__content.home .home-slider__dots button {
        transition-duration: .01ms !important;
    }
}

/* Full-screen photo viewer with direct, precise zoom and pan controls. */
.site__content.home .ensup-slide img[role="button"] {
    cursor: zoom-in;
}

.home-slider__lightbox {
    z-index: 100000;
    padding: 72px 24px 42px;
    background: rgb(3 12 27 / 94%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.home-slider__viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.home-slider__zoom-tools {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 999px;
    background: rgb(12 27 49 / 78%);
    box-shadow: 0 8px 30px rgb(0 0 0 / 22%);
    transform: translateX(-50%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.home-slider__zoom-tools button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.home-slider__zoom-tools button:hover {
    background: rgb(255 255 255 / 14%);
}

.home-slider__zoom-tools button:active {
    transform: scale(.94);
}

.home-slider__zoom-tools .home-slider__zoom-level {
    min-width: 64px;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.home-slider__zoom-level i {
    margin-right: 6px;
    color: #9bd1ff;
}

.home-slider__image-window {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
}

.home-slider__image-window.is-dragging {
    cursor: grabbing;
}

.home-slider__image-window img {
    flex: 0 0 auto;
    max-width: min(92vw, 1600px) !important;
    max-height: 82vh !important;
    object-fit: contain !important;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center;
    transition: transform 180ms ease;
    user-select: none;
    -webkit-user-drag: none;
}

.home-slider__image-window.is-dragging img {
    transition: none;
}

.home-slider__zoom-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    margin: 0;
    color: rgb(255 255 255 / 72%);
    font-size: 12px;
    text-align: center;
    transform: translateX(-50%);
}

.home-slider__lightbox-close {
    z-index: 3;
    top: 18px;
    right: 18px;
    background: rgb(255 255 255 / 10%);
    box-shadow: 0 8px 30px rgb(0 0 0 / 18%);
    transition: background-color 160ms ease, transform 160ms ease;
}

.home-slider__lightbox-close:hover {
    background: rgb(255 255 255 / 22%);
    transform: rotate(90deg);
}

.home-slider__zoom-tools button:focus-visible,
.home-slider__lightbox-close:focus-visible {
    outline: 2px solid #9bd1ff;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .home-slider__lightbox {
        padding: 70px 12px 48px;
    }

    .home-slider__zoom-tools {
        top: 14px;
    }

    .home-slider__lightbox-close {
        top: 14px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .home-slider__image-window img {
        max-width: 96vw !important;
        max-height: 78vh !important;
    }

    .home-slider__zoom-hint {
        right: 12px;
        left: 12px;
        font-size: 11px;
        transform: none;
    }
}

/* On tablet and mobile, place the welcome copy over the lower-left of the photo. */
@media (max-width: 1023px) {
    .site__content.home {
        position: relative;
        top: 0;
        width: 100% !important;
        max-width: 100vw !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .site__content.home #hero {
        position: relative;
        display: block !important;
        height: 90vh !important;
        min-height: 520px;
        top: 0;
        margin-top: 0 !important;
        overflow: hidden;
        background: #061a32;
    }

    .site__content.home #hero > .right.home-slider-panel {
        position: absolute !important;
        z-index: 0;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site__content.home .ensup-slider {
        width: 100% !important;
        height: 100% !important;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site__content.home .ensup-slider-track,
    .site__content.home .ensup-slide,
    .site__content.home .ensup-slide img {
        margin: 0 !important;
        padding: 0 !important;
    }

    .site__content.home .ensup-slide img {
        object-fit: cover !important;
        object-position: center center !important;
    }

    .site__content.home #hero > .left {
        position: absolute !important;
        z-index: 3;
        inset: auto 0 0;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        box-sizing: border-box;
        padding: 0 clamp(16px, 4vw, 40px) clamp(20px, 4vh, 42px) !important;
        background: transparent !important;
    }

    .site__content.home #hero > .left .content {
        width: min(100%, 700px);
        margin: 0 !important;
        padding: clamp(16px, 2.5vw, 26px) !important;
        border: 0;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .site__content.home #hero > .left .content h1,
    .site__content.home #hero > .left .content .animated__title,
    .site__content.home #hero > .left .content .title,
    .site__content.home #hero > .left .content .excerpt {
        color: #fff !important;
        text-shadow: 0 2px 14px rgb(0 0 0 / 35%);
    }

    .site__content.home .home-slider__controls,
    .site__content.home .home-slider__dots {
        display: none !important;
    }

    .site__content.home .home-slider__scrim {
        position: absolute;
        inset: 0;
        display: block !important;
        width: 100%;
        height: 100%;
        background: rgb(3 19 42 / 28%);
    }

    .site__content.home #above__hero .wp-block-button.has__icon .wp-block-button__link.btn1 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px;
        width: 100% !important;
        padding: 12px 18px !important;
        text-align: left !important;
    }

    .site__content.home #above__hero .wp-block-button__link.btn1 > span {
        order: 1;
        flex: 1 1 auto;
        text-align: left;
    }

    .site__content.home #above__hero .wp-block-button__link.btn1 .home-action-icon {
        order: 2;
        flex: 0 0 auto;
        margin: 0 0 0 auto !important;
    }

    .site__content.home #above__hero .wp-block-button__link.btn1::after {
        display: none !important;
        content: none !important;
    }
}

@media (min-width: 1024px) {
    .site__content.home .home-slider__controls,
    .site__content.home .home-slider__dots {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .site__content.home .home-slider__controls {
        transform: translateY(8px);
    }

    .site__content.home .ensup-slider:hover .home-slider__controls,
    .site__content.home .ensup-slider:hover .home-slider__dots,
    .site__content.home .ensup-slider:focus-within .home-slider__controls,
    .site__content.home .ensup-slider:focus-within .home-slider__dots {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Align the two home calls to action with their icon in the blue end-cap. */
.site__content.home #above__hero > .wp-block-buttons > .wp-block-button.has__icon {
    width: 260px;
    max-width: 100%;
    height: 58px;
    margin: 0 16px 12px 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 10px;
    background: #e30616;
}

.site__content.home #above__hero > .wp-block-buttons > .wp-block-button.has__icon .wp-block-button__link.btn1 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    width: 100% !important;
    height: 100% !important;
    padding: 0 0 0 18px !important;
    color: #fff !important;
    text-align: left !important;
}

.site__content.home #above__hero > .wp-block-buttons > .wp-block-button.has__icon .wp-block-button__link.btn1 > span {
    order: 1;
    flex: 1 1 auto;
    text-align: left;
}

.site__content.home #above__hero > .wp-block-buttons > .wp-block-button.has__icon .home-action-icon {
    order: 2;
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 52px;
    height: auto;
    margin: 0 !important;
    background: #011c60;
    color: #fff;
}

.site__content.home #above__hero > .wp-block-buttons > .wp-block-button.has__icon .wp-block-button__link.btn1::after {
    display: none !important;
    content: none !important;
}

@media (min-width: 768px) {
    .site__content.home #above__hero {
        justify-content: space-between !important;
        align-items: flex-start;
    }

    .site__content.home #above__hero > .wp-block-buttons {
        box-sizing: border-box;
        display: flex;
        flex: 0 0 50%;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 50%;
        max-width: 50%;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
    }

    .site__content.home #above__hero > .certifications {
        box-sizing: border-box;
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-width: 0;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .site__content.home #above__hero {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start !important;
    }

    .site__content.home #above__hero > .wp-block-buttons,
    .site__content.home #above__hero > .certifications {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .site__content.home #hero {
        height: 90vh !important;
        min-height: 480px;
    }

    .site__content.home #hero > .left {
        padding: 0 14px 16px !important;
    }

    .site__content.home #hero > .left .content {
        width: 100%;
        padding: 14px 16px !important;
        border-radius: 0;
        background: transparent !important;
    }

    .site__content.home #hero > .left .content .excerpt {
        margin-top: 10px;
        font-size: .95rem;
        line-height: 1.42;
    }

    .site__content.home #hero > .left .wp-block-buttons {
        margin-top: 14px;
    }
}
