@media screen and (max-width: 768px) {

    /* Header */

    #block-cheshireeast-servicesmenu > .menu--localgov_services_menu {
        display: block;
    }

    /* Services Menu */

    #block-cheshireeast-servicesmenu > .menu--localgov-services-menu {
        grid-template-columns: 1fr;
    }

    /* Publications */

    .sidebar .lgd-region__inner > .block-localgov-publications  {
        padding: 0.1em 1em;
        margin: 0;
    }

    .sidebar .lgd-region__inner > .block-localgov-publications  h2 {
        margin-bottom: .25em;
        font-size: 16px;
    }

    .sidebar .lgd-region__inner > .block-localgov-publications  ul {
        margin-bottom: 0;
    }

    /* Sidebars (publications only) */

    .page-node-type-localgov-publication-page  aside.sidebar--first {
        margin-top: 2em;
        font-size: 14px;
    }



    /* Guide pages */

    .lgd-guide-nav .lgd-guide-nav__list-item {
        margin-block-end: 0;
        font-size: 18px;
    }

    /* Footer */

    .lgd-footer__footer .footer-first h2 {
        padding: 0 1em;
    }

    .footer-first .footer-social--icons li {
        margin-bottom: 1rem;
    }

    .lgd-footer__footer .footer-social--icons, #block-cheshireeast-footer .menu--footer {
        text-align: center;
    }

    .lgd-footer__footer .footer-copyright {
        justify-content: center;
    }

    .back-to-top {
        font-size: 12px;
        padding: 0.5em;
    }

    .back-to-top .lgd-icon svg {
        width: 12px;
    }

}

@media screen and (max-width: 1400px) {

    /* Footer */

    .lgd-footer__footer .lgd-container, .footer-second .lgd-row {
        padding: 0 1em;
    }

}


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

    .footer-second .lgd-region--footer .lgd-container {
        padding: 0;
    }

}
