/* <picture> wrappers (AVIF with JPEG fallback) shouldn't affect layout; the <img> inside lays out as before. */
picture {
    display: contents;
}

/* Fixes for the original pages: keep the footer in normal flow so it never overlaps content as it grows. */
body {
    margin-bottom: 0 !important;
}

footer.page-footer {
    position: relative !important;
    display: block;
    margin-top: 0 !important;
}

/* Homepage: hero is one screen tall, then the footer. */
.home .carousel {
    height: 100vh;
    min-height: 620px;
    max-height: 1000px;
    overflow: hidden;
}

/* Phone-width fixes, needed since the viewport went from a fixed 600px to device-width. */
@media (max-width: 575.98px) {
    .home .carousel-indicators {
        bottom: 24px;
    }

    .subtitle img,
    .tab-pane img {
        float: none;
        max-width: 100% !important;
        height: auto;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .form iframe {
        width: 100%;
    }

    .title-txt2 {
        height: auto !important;
        padding-bottom: 80px;
    }

    .title-txt2 h1 {
        padding-top: 120px;
    }

    .title-txt2 p {
        width: 90%;
        font-size: 20px;
        line-height: 32px;
    }
}
