/* Feature Slider - Top Center Alignment
   Applies to All Screen Sizes */

body.home #feature-slider-section .hentry-inner {
    background-position: top !important;
}

body.home #feature-slider-section .post-thumbnail img {
    object-position: top !important;
}

/* ========================================
   HOMEPAGE FEATURE SLIDER
   ======================================== */

/* Anchor featured images to top center */
body.home #feature-slider-section .hentry-inner {
    background-position: top !important;
}

body.home #feature-slider-section .post-thumbnail img {
    object-position: top !important;
}

/* Prevent scrolling on homepage */
html:has(body.home),
body.home {
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* Keep homepage within screen height */
body.home #page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden !important;
}

/* =========================================
   RESPONSIVE FEATURE SLIDER
   ========================================= */

/* IMAGE LIBRARY */

body.home {

    /* Slide 1 */
    --slide1-desktop: url("DESKTOP-IMAGE-1");
    --slide1-tablet: url("TABLET-IMAGE-1");
    --slide1-mobile: url("MOBILE-IMAGE-1");

    /* Slide 2 */
    --slide2-desktop: url("DESKTOP-IMAGE-2");
    --slide2-tablet: url("TABLET-IMAGE-2");
    --slide2-mobile: url("MOBILE-IMAGE-2");

    /* Slide 3 */
    --slide3-desktop: url("http://www.adoara.com/wp-content/uploads/2026/11/Fireblooddesktop.jpg");
    --slide3-tablet: url("TABLET-IMAGE-3");
    --slide3-mobile: url("MOBILE-IMAGE-3");

}


/* =========================================
   GENERAL SLIDER SETTINGS
   ========================================= */

body.home #feature-slider-section .hentry-inner {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Hide original featured images on replaced slides */

body.home #feature-slider-section :is(
    .post-111, .post-222, .post-333
) .post-thumbnail img {
    visibility: hidden;
}


/* =========================================
   DESKTOP
   ========================================= */

@media screen and (min-width: 1024px) {

    #feature-slider-section .post-111 .hentry-inner {
        background-image: var(--slide1-desktop) !important;
    }

    #feature-slider-section .post-222 .hentry-inner {
        background-image: var(--slide2-desktop) !important;
    }

    #feature-slider-section .post-333 .hentry-inner {
        background-image: var(--slide3-desktop) !important;
    }

}


/* =========================================
   TABLET
   ========================================= */

@media screen and (768px <= width < 1024px) {

    #feature-slider-section .post-111 .hentry-inner {
        background-image: var(--slide1-tablet) !important;
    }

    #feature-slider-section .post-222 .hentry-inner {
        background-image: var(--slide2-tablet) !important;
    }

    #feature-slider-section .post-333 .hentry-inner {
        background-image: var(--slide3-tablet) !important;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media screen and (width < 768px) {

    #feature-slider-section .post-111 .hentry-inner {
        background-image: var(--slide1-mobile) !important;
    }

    #feature-slider-section .post-222 .hentry-inner {
        background-image: var(--slide2-mobile) !important;
    }

    #feature-slider-section .post-333 .hentry-inner {
        background-image: var(--slide3-mobile) !important;
    }

}


/* =========================================
   PREVENT HOMEPAGE SCROLLING
   ========================================= */

html:has(body.home),
body.home {
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.home #page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden !important;
}