/* Shared footer: center stacked columns on small screens. */
@media (max-width:767px) {
    .c5wrapper > .site-footer .footer-1 {
        text-align:center;
    }
    .c5wrapper > .site-footer .footer-1 .row > [class*="col-sm-"],
    .c5wrapper > .site-footer .footer-1 p,
    .c5wrapper > .site-footer .footer-1 h1,
    .c5wrapper > .site-footer .footer-1 h2,
    .c5wrapper > .site-footer .footer-1 h3,
    .c5wrapper > .site-footer .footer-1 h4,
    .c5wrapper > .site-footer .footer-1 h5,
    .c5wrapper > .site-footer .footer-1 h6,
    .c5wrapper > .site-footer .footer-1 [style*="text-align"] {
        text-align:center!important;
    }
    .c5wrapper > .site-footer .footer-1 .row > [class*="col-sm-"] {
        padding-top:12px;
        padding-bottom:12px;
    }
}

/* Custom Concrete layouts keep percentage widths unless explicitly stacked. */
@media (max-width:767px) {
    html:not(.editing) .c5wrapper > .site-footer .footer-1 .ccm-layout-column-wrapper {
        display:block!important;
    }
    html:not(.editing) .c5wrapper > .site-footer .footer-1 .ccm-layout-column-wrapper > .ccm-layout-column,
    html:not(.editing) .c5wrapper > .site-footer .footer-1 .row > [class*="col-"] {
        display:block!important;
        float:none!important;
        clear:both!important;
        width:100%!important;
        max-width:100%!important;
        flex:0 0 100%!important;
        margin-left:0!important;
        margin-right:0!important;
        padding-top:12px;
        padding-bottom:12px;
        text-align:center!important;
    }
    html:not(.editing) .c5wrapper > .site-footer .footer-1 .ccm-layout-column-inner {
        margin-left:0!important;
        margin-right:0!important;
    }
    html:not(.editing) .c5wrapper > .site-footer .footer-1 {
        overflow-wrap:anywhere;
    }
}
