/* Render the original photo instead of the theme's non-responsive background tiles. */
body.home .horus-responsive-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
body.home .horus-responsive-image > img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: none;
}
body.home .lw-hero-4-wrap {
    min-height: clamp(540px, 55.73vw, 860px);
    padding: 150px 0 120px;
    display: flex;
    align-items: center;
}
body.home .lw-hero-4-area { padding-top: 88px; }
body.home .lw-hero-4-bg-img .horus-responsive-image img {
    object-position: center top;
}
body.home .lw-hero-4-bg-img::after {
    background: linear-gradient(90deg, rgba(25, 17, 12, .58), rgba(25, 17, 12, .25));
    opacity: 1;
}
body.home .lw-hero-4-content .h3-ani-text {
    opacity: 1;
    transform: none;
}
body.home .lw-hero-4-content .subtitle {
    color: #f0d7ae;
}
body.home .lw-team-4-content .horus-responsive-image img {
    object-position: center 25%;
}

/* A full photo followed by its caption avoids cutting faces out on narrow screens. */
@media (max-width: 991px) {
    body.home .lw-hero-4-area { padding-top: 74px; }
    body.home .lw-hero-4-wrap {
        display: block;
        min-height: 0;
        padding: 0 0 64px;
        background: #34241c;
    }
    body.home .lw-hero-4-bg-img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        z-index: auto;
        background: #241b17;
    }
    body.home .lw-hero-4-bg-img::after { display: none; }
    body.home .lw-hero-4-bg-img .horus-responsive-image img {
        object-fit: contain;
        object-position: center;
    }
    body.home .lw-hero-4-wrap > .container {
        padding: 28px 20px 0;
    }
    body.home .lw-hero-4-content .subtitle {
        font-size: 18px !important;
        line-height: 1.65;
        margin-bottom: 10px;
    }
    body.home .lw-hero-4-content .title {
        font-size: clamp(23px, 4.5vw, 32px) !important;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    body.home .lw-hero-4-content .btn-wrap { margin-top: 0; }
    body.home .lw-hero-4-content .h3-ani-text > div {
        opacity: 1 !important;
        transform: none !important;
    }
    body.home .lw-hero-4-slider-pagi { bottom: 25px !important; }
}
