/* DYAD 2 — HOMEPAGE BANNER */

/* Desktop */
@media screen and (min-width: 851px) {

    .home .site-banner-media {
        padding-bottom: 30% !important;
    }

    .home .content-area {
        margin-top: 30% !important;
    }
}


/* MOBILE */
@media screen and (max-width: 850px) {

    /* Keep the banner image at a reasonable height */
    .home .site-banner-media {
        height: 280px !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
    }

    .home .site-banner-thumbnail {
        height: 280px !important;
        min-height: 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    /* Stop Dyad reserving desktop-sized space */
    .home .content-area {
        margin-top: 0 !important;
    }

    .home .site-banner,
    .home .site-banner-inner,
    .home .site-banner-header {
        min-height: 0 !important;
    }

    /* Tighten the dark tagline panel */
    .home .site-banner-header {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        height: auto !important;
        padding: 55px 20px !important;
    }

    /* Remove excess height from the first content section */
    .home .site-content,
    .home .content-area,
    .home .site-main,
    .home article,
    .home .entry-content {
        min-height: 0 !important;
    }
}
/* MOBILE — shorten the Transform How You Feel section */
@media screen and (max-width: 850px) {

    .home .site-banner-header {
        position: absolute !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 45px 20px !important;
        margin: 0 !important;
    }

    .home .site-banner-header h1 {
        margin: 0 !important;
        padding: 0 !important;
    }

    .home .site-banner-header::before,
    .home .site-banner-header::after {
        margin-top: 18px !important;
        margin-bottom: 18px !important;
    }
}