/**
 * @file
 * MLT Modern — Modern footer styling.
 *
 * Scoped under .mlt-footer so it doesn't fight the parent's existing
 * footer regions. Apply this class to a single block placed in one of the
 * parent's footer_* regions (or in a sub_footer_*) when you want the
 * rewires-style footer look.
 *
 * For Phase 1 the easiest path is: place a custom HTML block with the
 * markup pattern below in `sub_footer_first` (the parent's lowest visible
 * footer region) and let it render edge-to-edge by leaving the parent's
 * region layout container set to "Full Width".
 *
 * Markup:
 *   <footer class="mlt-footer">
 *     <div class="mlt-footer__container">
 *       <div class="mlt-footer__related">
 *         <div class="mlt-footer__heading">Related Services</div>
 *         <div class="mlt-footer__related-grid">
 *           <a href="/services/fusebox-upgrades">Fusebox Upgrades</a>
 *           <a href="/services/ev-chargers">EV Chargers</a>
 *           ...
 *         </div>
 *       </div>
 *       <div class="mlt-footer__links">
 *         <a href="/about">About</a>
 *         <a href="/contact">Contact</a>
 *         <a href="/privacy">Privacy</a>
 *       </div>
 *       <div class="mlt-footer__copy">
 *         &copy; 2025 JJB Electrical Ltd · 266-268 High Street, Waltham Cross, EN8 7EA
 *       </div>
 *     </div>
 *   </footer>
 */

.mlt-footer {
  background: var(--mlt-surface-dark);
  color: #b0bcc8;
  padding: 50px 0 25px;
  text-align: center;
}

.mlt-footer__container {
  max-width: var(--mlt-container-max);
  margin: 0 auto;
  padding: 0 var(--mlt-container-pad);
}

.mlt-footer a {
  color: #fff;
  text-decoration: none;
}

.mlt-footer a:hover {
  text-decoration: underline;
}

.mlt-footer__related {
  margin-bottom: 35px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mlt-footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mlt-footer__related-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
}

.mlt-footer__related-grid a {
  color: #b0bcc8;
}

.mlt-footer__related-grid a:hover {
  color: var(--mlt-accent);
  text-decoration: none;
}

.mlt-footer__links {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.mlt-footer__copy {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.7;
}
