/* -------------------------------------------------- */
/* ------------------ EXTRA LARGE ------------------- */
/* -------------------------------------------------- */
@media only screen and ( max-width: 80em ) {

    /************/
    /*** HOME ***/
    /************/

    /*** FEATURED IMAGE ***/
    body.home #featured-image {
        margin-top: 0;
        padding-top: 125px;
    }

    /**************/
    /*** FOOTER ***/
    /**************/

    /*** COLOPHON ***/
    /* Copyright */
    #site-colophon #site-copyright span {
        display: block;
    }

    #site-colophon #site-copyright span + span {
        border: 0;
        margin-left: 0;
        margin-top: 1em;
        padding-left: 0;
    }

    /* Credit */
    #site-colophon #site-credit {
        flex-basis: 50%;
    }

}





/* -------------------------------------------------- */
/* --------------------- MEDIUM --------------------- */
/* -------------------------------------------------- */
@media only screen and ( max-width: 64em ) {

    /************/
    /*** PAGE ***/
    /************/

    /*** TITLE ***/
    #zone-title #title {
        background: linear-gradient(100deg, #00274c 89%, transparent 89.25%);
    }

    /********************/
    /*** INFOGRAPHICS ***/
    /********************/

    /*** STATISTICS ***/
    /* Alternative */
    .infographic.statistic.alt > * {
        order: 1!important;
    }

    /************/
    /*** HOME ***/
    /************/

    /*** FEATURED IMAGE ***/
    body.home #featured-image {
        margin-bottom: 0;
        min-height: inherit;
        padding: 15% 0;
    }

    /*** HIGHLIGHTED CONTENT ***/
    /* Alternative */
    body.home .infographic.statistic.alt > * {
        order: 1!important;
        width: 100%;
    }


    /**************/
    /*** FOOTER ***/
    /**************/

    /*** CONTENT CONTAINER ***/
    #footer-content-container {
        flex-wrap: wrap;
    }

    /* Footer Menu */
    #footer-content-container #footer-menu {
        flex-basis: 100%;
        margin-top: 1em;
        text-align: left;
    }

}





/* -------------------------------------------------- */
/* ------------------ MEDIUM/SMALL ------------------ */
/* -------------------------------------------------- */
@media only screen and ( max-width: 52em ) {

    /************/
    /*** PAGE ***/
    /************/

    /*** TITLE ***/
    #zone-title,
    #zone-title:before,
    #zone-title > .row {
        background: none;
    }

    #zone-title > .row {
        flex-wrap: wrap;
    }

    #zone-title > .row > .columns {
        width: 100%;
    }

    /* Title */
    #zone-title #title {
        margin-bottom: 0;
        padding-right: 10%;
    }

    #zone-title #title:before {
        background: #ffcb05;
        bottom: 0;
        content: '';
        left: 0;
        position: absolute;
        right: 0;
        top: 1em;
        z-index: -1;
    }

    /* Introduction */
    #zone-title #title.featured-image + #introduction {
        padding: 2em 0.9375rem!important;
    }

    /*** SUBCONTENT ***/
    /* Columns */
    .subcontent-wrapper > .row > .columns {
        width: 100%;
    }

    /* Content */
    .subcontent-wrapper .subcontent {
        float: left;
        padding-top: 0!important;
    }

    .subcontent-wrapper .subcontent:before {
        display: none;
    }

    /************/
    /*** HOME ***/
    /************/

    /*** HIGHLIGHTED PAGES ***/
    body.home #highlighted-pages > .row {
        flex-wrap: wrap;
    }

    body.home #highlighted-pages > .row:before {
        display: none;
    }

    body.home #highlighted-pages .highlighted-page {
        flex: 1 1 100%;
        padding: 2em 0.9375em;
        text-align: left!important;
    }

    /* First Column */
    body.home #highlighted-pages .highlighted-page:first-of-type {
        background-image: linear-gradient(100deg, #ffcb05 89%, transparent 89.25%);
        padding-right: 3em;
    }

    /*** FEATURED PAGES ***/
    body.home #featured-pages > .row {
        column-count: 1;
    }

    body.home #featured-pages .featured-page {
        padding: 2em 0.9375em;
        text-align: left!important;
    }

    body.home #featured-pages .featured-page + .featured-page {
        border-top: 2px solid #cdcdcd!important;
    }

    /**************/
    /*** FOOTER ***/
    /**************/

    /*** COLOPHON ***/
    #site-colophon {
        flex-wrap: wrap;
    }

    /* Credit */
    #site-colophon #site-credit {
        flex-basis: 100%;
        margin-top: 1em;
        text-align: left;
    }

}





/* -------------------------------------------------- */
/* --------------------- SMALL ---------------------- */
/* -------------------------------------------------- */
@media only screen and ( max-width: 40em ) {

    /************************/
    /*** GENERAL SETTINGS ***/
    /************************/

    /*** ELEMENTS ***/
    /* Images */
    *[class^='align'], 
    *[class*='align'] {
        display: block;
        float: none;
        margin-left: auto!important;
        margin-right: auto!important;
    }

    #content-main .mcwpgallery-gallery ul li {
        width: 100%;
    }

    /**************/
    /*** HEADER ***/
    /**************/

    #zone-header-branding > .row {
        text-align: center;
    }

    /*** BRANDING ***/
    #zone-header-branding > .row {
        flex-wrap: wrap;
    }

    /* Search */
    #zone-header-branding #widget-header form.search-form {
        float: none;
        margin: 0 auto;
    }

    /********************/
    /*** INFOGRAPHICS ***/
    /********************/

    /*** STATISTICS ***/
    .infographic.statistic > span {
        width: 100%;
    }

    /* Alternative */
    .infographic.statistic.alt > * {
        order: 1!important;
    }

    /************/
    /*** NEWS ***/
    /************/
    /*** LIST ITEM ***/
    ol.post-list > li {
        flex-wrap: wrap;
    }

    /* Featured Image */
    ol.post-list > li .featured-image {
        flex-grow: 1;
        padding-right: 0;
        text-align: center;
    }

}