/* Footer of the approved M&C Packing design (layouts/footer/index.blade.php), on every page. */
.mc-footer {
    margin-top: 0;
    padding: 72px 5% 28px;
    border-top: 6px solid #8fbd38;
    background: #fff;
    color: #3f5144;
    font: 400 17px/1.6 'DM Sans', Arial, sans-serif;
}
.mc-footer a { color: inherit; text-decoration: none; }
.mc-footer a:hover { color: #147f3a; text-decoration: underline; text-underline-offset: 4px; }
.mc-footer ul { margin: 0; padding: 0; list-style: none; }
.mc-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid #e3e8df;
}
.mc-footer__logo img { display: block; width: 183px; height: 66px; margin-bottom: 26px; }
.mc-footer__brand p { max-width: 46ch; margin: 0 0 26px; }
.mc-footer__contact li { margin: 0 0 8px; }
.mc-footer h2 { margin: 18px 0 22px; color: #25332b; font: 700 18px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: 0; }
.mc-footer__column ul:not(.mc-footer__chips):not(.mc-footer__social) li { margin: 0 0 14px; }
.mc-footer__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px !important; }
.mc-footer__chips li { padding: 8px 14px; border: 1px solid #dfe6dc; border-radius: 4px; background: #f4f7f1; color: #25332b; font-weight: 500; }
.mc-footer__social { display: flex; gap: 10px; }
.mc-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dfe6dc; border-radius: 50%; background: #f4f7f1; color: #287340; }
.mc-footer__social a:hover { background: #287340; border-color: #287340; color: #fff; }
.mc-footer__social svg { width: 20px; height: 20px; }
/* SEO pages: small plain links in a row, parted by a thin line. Each link draws the line on its
   left and sits 1px over the one before, so a line that starts a new row is hidden by the box. */
.mc-footer__pages { padding: 24px 0; overflow: hidden; border-bottom: 1px solid #e3e8df; color: #526057; font-size: 14px; line-height: 1.5; }
.mc-footer__pages-inner { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; margin-left: -13px; }
.mc-footer__pages-inner > a { margin-left: -1px; padding: 0 12px; border-left: 1px solid #c9d4c4; background: none; color: inherit; font: inherit; }
.mc-footer__pages-inner > a:hover { color: #147f3a; }
.mc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; color: #526057; font-size: 15px; }

@media (max-width: 1100px) {
    .mc-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .mc-footer { padding: 48px 16px 24px; font-size: 16px; }
    .mc-footer__main { grid-template-columns: 1fr; gap: 8px; padding-bottom: 28px; }
    .mc-footer__column ul:not(.mc-footer__chips):not(.mc-footer__social) li { margin: 0; }
    .mc-footer__column ul:not(.mc-footer__chips):not(.mc-footer__social) a { display: flex; align-items: center; min-height: 44px; }
    .mc-footer h2 { margin: 24px 0 8px; }
    .mc-footer__pages-inner { row-gap: 0; }
    .mc-footer__pages-inner > a { display: inline-flex; align-items: center; min-height: 36px; }
}
.mc-footer * { font-family: inherit; }
