/* FPLF Homepage - remove GeneratePress outer spacing */
@media (max-width: 768px) {

    body.page-id-12 #page.container {
        width: 100% !important;
        max-width: none !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-id-12 #content.site-content {
        width: 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-id-12 #primary.content-area {
        width: 100% !important;
    }

}/* FPLF Homepage - remove GeneratePress outer spacing */
@media (max-width: 768px) {

    body.page-id-12 #page.container {
        width: 100% !important;
        max-width: none !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-id-12 #content.site-content {
        width: 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-id-12 #primary.content-area {
        width: 100% !important;
    }

}


/* FPLF Homepage - hero illustration keeps its space while loading.
   The image widget and <img> are shrink-to-fit flex items: without a width they are 0 x 0 until
   Hero-artwork.svg arrives, so the page below moves down by the image height (219 px at 384 px)
   and anchors such as /#browse-by-category land too high. Full width + the 960 x 640 width/height
   attributes (aspect ratio 3:2) give the final box up front; the loaded result is unchanged. */
@media (max-width: 767px) {

    .fplf-hero-image > .elementor-widget-image,
    .fplf-hero-image img {
        width: 100%;
    }

}


/* FPLF Homepage - Search by State: no horizontal page overflow up to 1119 px.
   The map container's decorative blob (.fplf-map-blob::before, Elementor custom CSS) inherits Elementor's
   .e-con::before width/height of 100%, so its left: 3% offset and rotate(-3deg) reach up to 50 px past the
   right edge (401-1119 px). Up to 1119 px the section spans the full viewport, so clipping it horizontally only
   removes what was already off-screen. Above 1119 px the section sits inside the page; nothing changes there. */
@media (max-width: 1119px) {

    body.page-id-12 #state-map {
        overflow-x: clip !important;
    }

}
