/*
Theme Name: ZM Made
Description: ZM Made LLC — South Florida's flood prevention & water damage company.
Version: 2.1
Template: twentytwentyfive
Author: ZM Made LLC
*/

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  --mp-teal:        #078E9B;
  --mp-teal-dark:   #045762;
  --mp-teal-light:  #8CC7CD;
  --mp-copper:      #B87245;
  --mp-copper-light:#EFE0D3;
  --mp-warm-white:  #FBF9F7;
  --mp-cream:       #EFE9E3;
  --mp-charcoal:    #2c2e2d;
  --mp-mid-gray:    #6b7280;

  /* legacy aliases for old block CSS */
  --cb-ink:      #2c2e2d;
  --cb-champ:    #078E9B;
  --cb-champ-lt: #8CC7CD;
  --cb-champ-dk: #B87245;
  --cb-linen:    #FBF9F7;
  --cb-cream:    #EFE9E3;
  --cb-mid:      #6b7280;
  --cb-bronze:   #B87245;
}

/* ── Global resets ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Remove click outline; keep keyboard focus ring for a11y */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

body {
  font-family: 'Montserrat', sans-serif;
  background: white;
  color: var(--mp-charcoal);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; }

/* ── Kill WP root padding ─────────────────────────────────────────────────── */
:root, :where(body) {
  --wp--style--root--padding-top:    0px !important;
  --wp--style--root--padding-right:  0px !important;
  --wp--style--root--padding-bottom: 0px !important;
  --wp--style--root--padding-left:   0px !important;
}

/* Full-bleed reset. Excluded ONLY on single blog posts (body.single-post) so
   they get the constrained article layout. Service CPT pages are body.single-service
   (NOT .single-post), so they still match and keep their full-bleed layout. */
body:not(.single-post) .wp-site-blocks { padding: 0 !important; margin: 0 !important; }
body:not(.single-post) .wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body:not(.single-post) :is(.entry-content, .wp-block-post-content, .wp-block-group, .wp-block-group__inner-container) {
  padding: 0 !important;
  margin: 0 !important;
  padding-inline: 0 !important;
  max-width: none !important;
}
body:not(.single-post) :is(.wp-block-template-part, .wp-block-group) { margin: 0 !important; padding: 0 !important; }

[class*="wp-block-custom-blocks-"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ── NAV (block: custom-blocks/navigation) ───────────────────────────────── */
.cb-nav-block-wrap { position: relative; }

/* Force override any old block CSS */
.cb-nav, .cb-nav.solid {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000 !important;
  background: #045762 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding: 0 6% !important;
  height: 80px;
  display: flex !important; align-items: center; justify-content: space-between;
  transition: box-shadow 0.35s ease !important;
  font-family: 'Montserrat', sans-serif;
  box-shadow: none !important;
  gap: 0 !important;
}
/* Stay the same height on scroll — only add a subtle shadow (no resize). */
.cb-nav.solid {
  height: 80px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18) !important;
}

/* WP admin bar offset — logged-in users only */
.admin-bar .cb-nav { top: 32px !important; }
@media screen and (max-width: 782px) {
  .admin-bar .cb-nav { top: 46px !important; }
}

.cb-nav-logo {
  display: flex !important; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
  color: white !important;
  text-shadow: none !important;
}
.cb-nav-logo svg { flex-shrink: 0; }
.cb-nav-logo .cb-nav-logo-img {
  filter: brightness(0) invert(1);
  max-height: 52px !important;   /* sized for the 80px bar (keeps padding) */
  height: auto !important;       /* ignore oversized inline height */
  width: auto;
  object-fit: contain;
  display: block;
}
.cb-nav-logo-text { display: flex; flex-direction: column; }
.cb-nav-brand-name {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 15px; color: white; letter-spacing: 0.05em; display: block;
  text-shadow: none;
}
.cb-nav-brand-sub {
  font-family: 'Montserrat', sans-serif; font-weight: 300;
  font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; display: block;
  text-shadow: none;
}

.cb-nav-links {
  display: flex !important; align-items: center; gap: 54px !important;
  list-style: none; margin: 0 !important;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.cb-nav-links > li > a {
  text-decoration: none !important; font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important; font-size: 13px !important;
  letter-spacing: 0.03em !important; color: rgba(255,255,255,0.85) !important;
  transition: color 0.2s; text-transform: none !important;
  text-shadow: none !important;
}
.cb-nav-links > li > a::after { display: none !important; }
.cb-nav-links > li > a { position: relative; }
.cb-nav-links > li > a:hover { color: white !important; }

/* Active page indicator — brighter label + a clean copper underline bar. */
.cb-nav-links > li.is-active > a { color: #fff !important; }
.cb-nav-links > li.is-active > a::after {
  display: block !important;
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--mp-copper-light, #efe0d3);
  border-radius: 2px;
}
.cb-nav-dropdown li.is-active > a { color: var(--mp-teal) !important; font-weight: 700; }
.cb-mobile-nav-list > li.is-active > a,
.cb-mobile-nav .cb-nav-dropdown li.is-active > a { color: var(--mp-teal-light) !important; }

/* Toggle arrow — white on dark nav bg */
.cb-nav-links > li { white-space: nowrap; }
.cb-nav-links .has-children { display: inline-flex; align-items: center; }
.cb-nav-links .cb-nav-toggle { color: rgba(255,255,255,0.85); }
.cb-nav-links .has-children:hover > .cb-nav-toggle,
.cb-nav-links .has-children.is-open > .cb-nav-toggle { color: white; }

.cb-nav-right { align-items: center; display: flex; flex-shrink: 0; gap: 16px; }

.cb-nav-cta {
  font-family: 'Montserrat', sans-serif !important; font-weight: 500 !important;
  font-size: 13px !important; letter-spacing: 0.03em !important;
  padding: 10px 24px !important; background: var(--mp-copper) !important; color: white !important;
  border: none !important; border-radius: 100px !important; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.2s; text-transform: none !important;
}
.cb-nav-cta:hover { background: #9a5e37 !important; color: #fff !important; transform: translateY(-1px); }

.cb-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer;
  background: none !important;
  border: none !important;
  border-radius: 0;
  padding: 9px 8px !important;
  align-items: center; justify-content: center;
  min-height: 44px !important; min-width: 44px !important;
}
.cb-hamburger:hover { background: none !important; }
.cb-hamburger span { width: 22px; height: 2px; background: white !important; display: block; border-radius: 2px; }

/* Mobile drawer */
.cb-mobile-menu {
  position: fixed !important; inset: 0; z-index: 1001;
  pointer-events: none;
}
.cb-mobile-menu.is-open { pointer-events: auto; }
.cb-mobile-backdrop {
  display: block !important; background: rgba(0,0,0,0.5);
  inset: 0; position: absolute; opacity: 0; transition: opacity 0.3s;
}
.cb-mobile-menu.is-open .cb-mobile-backdrop { opacity: 1; }
.cb-mobile-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw); background: var(--mp-charcoal);
  display: flex !important; flex-direction: column; align-items: stretch !important;
  gap: 0 !important; transform: translateX(100%); transition: transform 0.35s;
  overflow-y: auto;
}
.cb-mobile-menu.is-open .cb-mobile-drawer { transform: translateX(0); }
.cb-mobile-drawer-head {
  display: flex !important; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cb-mobile-drawer-head .cb-nav-logo { color: white !important; }
.cb-mobile-drawer-head .cb-nav-brand-name { color: var(--mp-copper-light) !important; }
.cb-mobile-drawer-head .cb-nav-brand-sub { color: var(--mp-teal-light) !important; }
.cb-mobile-close {
  background: none !important;
  border: none !important;
  border-radius: 0;
  color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
}
.cb-mobile-close:hover { background: none !important; color: var(--mp-teal-light); }
.cb-mobile-nav { flex: 1; padding: 8px 0; }
.cb-mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.cb-mobile-nav-list > li {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
/* Top-level links */
.cb-mobile-nav-list > li > a {
  font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important;
  font-size: 16px !important; color: #fff !important;
  text-decoration: none; display: flex; align-items: center;
  padding: 16px 26px; min-height: 52px;
  letter-spacing: 0.01em !important; text-transform: none !important;
  transition: color 0.2s, background 0.2s; flex: 1;
}
.cb-mobile-nav-list > li > a:hover { color: var(--mp-teal-light) !important; background: rgba(255,255,255,0.04); }

/* Parent rows: link + chevron on one aligned row; dropdown wraps below */
.cb-mobile-nav-list > li.has-children {
  display: flex; flex-wrap: wrap; align-items: center;
}
.cb-mobile-drawer-foot {
  display: block !important; padding: 20px 28px 32px;
}
.cb-mobile-cta-btn {
  font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important;
  font-size: 14px !important; padding: 14px 24px !important;
  background: var(--mp-copper) !important; color: white !important;
  border-radius: 100px !important; text-decoration: none; display: block;
  text-align: center; letter-spacing: 0.03em !important;
  text-transform: none !important;
  transition: background 0.2s;
}
.cb-mobile-cta-btn:hover { background: #9a5e37 !important; }

.cb-mobile-strip { display: none !important; }
.cb-skip-link { position: absolute; left: -9999px; }
.cb-nav-no-menu { color: var(--mp-mid-gray); font-size: 13px; }

/* ── Desktop dropdown menus ─────────────────────────────────────────────── */
.cb-nav-links .has-children { position: relative; }
.cb-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 0 0 4px;
  margin: 0;
  color: inherit;
  cursor: pointer;
  vertical-align: middle;
  line-height: 1;
}
.cb-nav-toggle svg { transition: transform .2s ease; }
.cb-nav-links .has-children:hover > .cb-nav-toggle svg,
.has-children.is-open > .cb-nav-toggle svg { transform: rotate(180deg); }

.cb-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: white;
  border: 1px solid var(--mp-cream);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(4,87,98,.10);
  z-index: 1000;
}
.has-children.is-open > .cb-nav-dropdown,
.cb-nav-links .has-children:hover > .cb-nav-dropdown,
.cb-nav-links .has-children:focus-within > .cb-nav-dropdown {
  display: block;
}
.cb-nav-dropdown li { list-style: none; margin: 0; }
.cb-nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--mp-charcoal);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.cb-nav-dropdown li a:hover,
.cb-nav-dropdown li a:focus { background: var(--mp-warm-white); color: var(--mp-teal) !important; }

/* ── Mobile dropdown (inside drawer) ─────────────────────────────────────── */
/* Chevron toggle — a clean 52px-tall tap target aligned with the link row. */
.cb-mobile-nav .has-children > .cb-nav-toggle {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; min-height: 52px;
  margin: 0; padding: 0;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.6);
  transition: color .2s, transform .25s ease;
}
.cb-mobile-nav .has-children > .cb-nav-toggle svg { width: 16px; height: 16px; transition: transform .25s ease; }
.cb-mobile-nav .has-children.is-open > .cb-nav-toggle { color: #fff; }
.cb-mobile-nav .has-children.is-open > .cb-nav-toggle svg { transform: rotate(180deg); }

/* Submenu — full width below the row. Tree-style: a continuous vertical trunk
   on the left with a short branch leading to each item. Square corners, roomy. */
.cb-mobile-nav .cb-nav-dropdown {
  display: none;
  flex-basis: 100%; width: 100%;
  position: static; background: rgba(0,0,0,.22);
  border: none; border-radius: 0; box-shadow: none;
  margin: 0; padding: 8px 0 22px;
  min-width: 0;
}
.cb-mobile-nav .has-children.is-open > .cb-nav-dropdown { display: block; }
.cb-mobile-nav .cb-nav-dropdown li { border: none; margin: 0; }
.cb-mobile-nav .cb-nav-dropdown li a {
  display: block; position: relative;
  margin-left: 42px;                  /* indent so the trunk has room from the edge */
  padding: 15px 26px 15px 26px;       /* generous tap room + breathing space */
  border-left: 2px solid rgba(255,255,255,.18);  /* contiguous items form one trunk */
  border-radius: 0;
  color: rgba(255,255,255,.72) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  white-space: normal; line-height: 1.45;
  transition: color .2s, border-color .2s;
}
/* Short horizontal branch from the trunk to each item label. */
.cb-mobile-nav .cb-nav-dropdown li a::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 16px; height: 2px; background: rgba(255,255,255,.18);
  transform: translateY(-50%);
}
.cb-mobile-nav .cb-nav-dropdown li a:hover,
.cb-mobile-nav .cb-nav-dropdown li a:focus {
  color: var(--mp-teal-light) !important;
  border-left-color: var(--mp-teal-light);
}
.cb-mobile-nav .cb-nav-dropdown li a:hover::before,
.cb-mobile-nav .cb-nav-dropdown li a:focus::before { background: var(--mp-teal-light); }

/* Kill any lingering gradient overlay from old nav */
.cb-nav::before { display: none !important; }
body.cb-menu-open { overflow: hidden; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.mp-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  background: white;
  overflow: hidden;
}
.mp-hero-left {
  padding: 72px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.mp-hero-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.mp-hero-logo-text .mp-brand-name {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 20px; color: var(--mp-copper); letter-spacing: 0.04em; display: block;
}
.mp-hero-logo-text .mp-brand-sub {
  font-family: 'Montserrat', sans-serif; font-weight: 300;
  font-size: 13px; color: var(--mp-charcoal); display: block;
}
.mp-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 6.5vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--mp-charcoal);
  margin-bottom: 20px;
}
.mp-teal { color: var(--mp-teal); }
.mp-teal-light { color: var(--mp-teal-light); }
.mp-hero-divider {
  width: 56px; height: 4px;
  background: var(--mp-copper); border-radius: 2px;
  margin-bottom: 32px;
}
.mp-btn-hero-copper {
  display: inline-block;
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 16px;
  padding: 16px 36px; background: var(--mp-copper); color: white;
  border: none; border-radius: 100px; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 48px;
  align-self: flex-start;
}
.mp-btn-hero-copper:hover { background: #9a5e37; color: #fff; transform: translateY(-2px); }

.mp-hero-icons {
  display: flex; gap: 0;
  border-top: 1px solid rgba(7,142,155,0.15);
  padding-top: 32px;
  margin-top: 8px;
}
.mp-hero-icon-item {
  flex: 1; padding: 0 20px;
  border-right: 1px solid rgba(7,142,155,0.15);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.mp-hero-icon-item:last-child { border-right: none; padding-right: 0; }
.mp-hero-icon-item:first-child { padding-left: 0; }
.mp-hero-icon-svg { color: var(--mp-teal); }
.mp-hero-icon-label {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10px;
  letter-spacing: 0.12em; color: var(--mp-charcoal); text-transform: uppercase;
}
.mp-hero-icon-desc { font-size: 11px; color: var(--mp-mid-gray); line-height: 1.4; }

.mp-hero-right {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 0;
  height: 100%;
}
.mp-hero-photo-wrap {
  border-radius: 24px; overflow: hidden;
  width: 100%; max-width: 720px;
  aspect-ratio: 4/3;
  box-shadow: 0 32px 80px rgba(4,87,98,0.16);
}
.mp-hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-hero-slider { position: relative; }
.mp-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.9s ease;
}
.mp-hero-slide.active { opacity: 1; }
.mp-hero-slide:first-child { position: relative; height: 100%; }
.mp-hero-slide-placeholder { background: var(--mp-teal-dark); }
.mp-hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.mp-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.mp-hero-dot.active { background: white; transform: scale(1.25); }

/* ── TICKER ───────────────────────────────────────────────────────────────── */
.mp-ticker-wrap {
  background: var(--mp-teal); padding: 13px 0;
  overflow: hidden; white-space: nowrap;
}
.mp-ticker { display: inline-flex; animation: mp-ticker-scroll 32s linear infinite; }
.mp-ticker-item {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.9); text-transform: uppercase;
  padding: 0 32px; position: relative;
}
.mp-ticker-item::after {
  content: '◆'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); color: var(--mp-copper-light); font-size: 7px;
}
@keyframes mp-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTION COMMONS ──────────────────────────────────────────────────────── */
section { padding: 96px 6%; }

.mp-section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; color: var(--mp-teal); text-transform: uppercase;
  margin-bottom: 16px;
}
.mp-section-eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--mp-copper); flex-shrink: 0;
}
.mp-section-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12;
  letter-spacing: -0.02em; color: var(--mp-charcoal); margin-bottom: 16px;
}
.mp-section-title-divider {
  width: 48px; height: 4px; background: var(--mp-copper);
  border-radius: 2px; margin-bottom: 20px;
}
.mp-section-body {
  font-size: 16px; line-height: 1.75; color: var(--mp-mid-gray); max-width: 540px;
}

/* ── REVEAL animations ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.editor-styles-wrapper .reveal { opacity: 1 !important; transform: none !important; }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }
.rd5 { transition-delay: 0.5s; }

/* ── PREVENTION / ABOUT ───────────────────────────────────────────────────── */
.mp-prevention {
  background: var(--mp-warm-white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.mp-prevention-content { /* left column */ }
.mp-prevention-list { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.mp-prev-item { display: flex; gap: 12px; align-items: flex-start; }
.mp-prev-icon { flex-shrink: 0; margin-top: 2px; }
.mp-prev-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--mp-copper);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; color: white;
}
.mp-prev-item h4 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--mp-charcoal); margin-bottom: 4px;
}
.mp-prev-item p { font-size: 13px; color: var(--mp-mid-gray); line-height: 1.6; }

/* ── Prevention image slider ──────────────────────────────────────────────── */
.mp-prev-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 520px;
  background: white;
  box-shadow: 0 24px 64px rgba(4,87,98,0.1);
}
.mp-prev-slides { position: relative; width: 100%; height: 100%; }
.mp-prev-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
}
.mp-prev-slide.active { opacity: 1; }
.mp-prev-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mp-prev-slide-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(4,87,98,0.75) 0%, transparent 100%);
  color: white; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 13px; letter-spacing: 0.04em;
}
.mp-prev-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.mp-prev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: none; cursor: pointer;
  padding: 0; transition: background 0.3s, transform 0.3s;
}
.mp-prev-dot.active {
  background: white; transform: scale(1.25);
}
.mp-prev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--mp-teal-dark); z-index: 10;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.mp-prev-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); }
.mp-prev-arrow--prev { left: 14px; }
.mp-prev-arrow--next { right: 14px; }

/* ── TRUSTED / TESTIMONIALS ───────────────────────────────────────────────── */
.mp-trusted { background: white; }
.mp-trusted-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.mp-trusted-content { display: flex; flex-direction: column; }
.mp-trusted .mp-section-title { font-size: clamp(36px, 4.5vw, 52px); }
.mp-trusted .mp-section-body { max-width: none; font-size: 16px; line-height: 1.8; }
.mp-testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px;
}
.mp-testimonial {
  background: var(--mp-warm-white); border-radius: 14px; padding: 26px 22px;
  border: 1px solid var(--mp-cream);
  display: flex; flex-direction: column;
}
.mp-quote-mark {
  font-family: Georgia, serif; font-size: 44px; line-height: 1;
  color: var(--mp-teal); margin-bottom: 12px; letter-spacing: -4px;
}
.mp-testimonial p {
  font-size: 14px; line-height: 1.75; color: var(--mp-mid-gray);
  margin-bottom: 20px; flex: 1;
}
.mp-author {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  color: var(--mp-teal); letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 4px;
}
.mp-role { font-size: 12px; color: var(--mp-mid-gray); }
.mp-trust-features {
  display: flex; gap: 28px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--mp-cream);
  flex-wrap: wrap;
}
.mp-trust-feat { display: flex; gap: 14px; align-items: flex-start; flex: 1; min-width: 140px; }
.mp-trust-feat-icon { color: var(--mp-teal); flex-shrink: 0; margin-top: 2px; }
.mp-trust-feat h5 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  color: var(--mp-teal); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 5px;
}
.mp-trust-feat p { font-size: 13px; color: var(--mp-mid-gray); line-height: 1.55; }
.mp-trusted-photo {
  border-radius: 20px; overflow: hidden;
  height: 100%; min-height: 560px;
}
.mp-trusted-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ── SERVICES ─────────────────────────────────────────────────────────────── */
.mp-services { background: white; }
.mp-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 48px;
  background: #edf3f4; border-radius: 12px; overflow: hidden;
}
.mp-service-card {
  background: white; padding: 36px 32px; position: relative;
  transition: background 0.3s; cursor: pointer;
}
.mp-service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mp-teal), var(--mp-teal-light));
  transform: scaleX(0); transition: transform 0.3s;
}
.mp-service-card:hover { background: var(--mp-charcoal); }
.mp-service-card:hover::before { transform: scaleX(1); }
.mp-service-card:hover .mp-svc-num { color: rgba(255,255,255,0.12); }
.mp-service-card:hover .mp-svc-icon-wrap { background: var(--mp-teal); }
.mp-service-card:hover .mp-svc-icon-wrap svg { color: white; }
.mp-service-card:hover h3 { color: white; }
.mp-service-card:hover p { color: rgba(255,255,255,0.6); }
.mp-service-card:hover .mp-svc-link { color: var(--mp-teal-light); }
.mp-svc-num {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 40px;
  color: var(--mp-cream); line-height: 1; margin-bottom: 12px; transition: color 0.3s;
}
.mp-svc-img-wrap {
  width: 100%; height: 250px; border-radius: 8px; overflow: hidden;
  margin-bottom: 18px;
}
.mp-svc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mp-svc-icon-wrap {
  width: 48px; height: 48px; background: var(--mp-cream); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: background 0.3s; color: var(--mp-teal);
}
.mp-service-card h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--mp-charcoal); margin-bottom: 10px; line-height: 1.3; transition: color 0.3s;
}
.mp-service-card p {
  font-size: 13px; line-height: 1.7; color: var(--mp-mid-gray);
  margin-bottom: 16px; transition: color 0.3s;
}
.mp-svc-link {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; color: var(--mp-teal); text-decoration: none; transition: color 0.3s;
}

/* ── PROCESS / HOW IT WORKS ───────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/proc-section block
   (src/proc-section/style.css). */

/* ── GALLERY ──────────────────────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/gallery block (src/gallery/style.css). */

/* ── TEAM ─────────────────────────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/team block (src/team/style.css). */

/* ── PLANS ────────────────────────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/plans block (src/plans/style.css). */

/* ── COVERAGE / SERVICE AREA ──────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/service-area block
   (src/service-area/style.css). */

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/faq block (src/faq/style.css) as an
   accessible <button aria-expanded> accordion. */

/* ── CTA BAND ─────────────────────────────────────────────────────────────── */
/* Now self-contained in the custom-blocks/cta-band block (src/cta-band/style.css)
   — including .mp-cta-band*, .mp-btn-white-pill and .mp-btn-outline-pill. */

/* ── CONTACT ──────────────────────────────────────────────────────────────── */
/* The contact section is now a self-contained custom-blocks/contact block
   (src/contact/style.css). Its layout, form, sidebar, info-item, emergency box
   and button styling all live in the block. Theme copies were removed so they
   can't override the block's rules (they previously broke info-item padding
   and the emergency button). Global .mp-section-eyebrow/.mp-section-title
   (above) remain shared across all sections. */

/* Emergency box + button styling now lives in the self-contained
   custom-blocks/contact block (src/contact/style.css). Removed here to
   prevent the theme copy from overriding the block's link-level rules. */

/* ── BUTTON UTILITIES ─────────────────────────────────────────────────────── */
.mp-btn-copper-pill {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 500;
  font-size: 16px; line-height: 1; padding: 16px 40px; background: var(--mp-copper); color: white;
  border: none; border-radius: 100px; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.mp-btn-copper-pill:hover { background: #9a5e37; color: #fff; transform: translateY(-2px); }
.mp-btn-teal-pill {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 500;
  font-size: 16px; line-height: 1; padding: 16px 40px; background: var(--mp-teal); color: white;
  border: none; border-radius: 100px; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.mp-btn-teal-pill:hover { background: var(--mp-teal-dark); transform: translateY(-2px); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
/* Footer is now a self-contained block (custom-blocks/footer). Its styles live
   in the block stylesheet; the legacy theme rules were removed so they no longer
   override the block (they were forcing old logo/contact spacing). */

/* ── SERVICE ARCHIVE (unchanged) ─────────────────────────────────────────── */
.cb-svc-archive { background: #FBF9F7; padding: 80px 64px 100px; }
.cb-svc-archive-inner { max-width: 1320px; margin: 0 auto; }
.cb-svc-archive-head { margin-bottom: 60px; }
.cb-svc-archive-h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(32px, 5vw, 64px);
  font-weight: 700; color: var(--mp-charcoal); line-height: 1.05;
  letter-spacing: -1px; margin: 0;
}
.cb-svc-archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 60px;
}
.cb-svc-card {
  background: #fff; display: flex; flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}
.cb-svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(46,50,51,0.1); }
.cb-svc-card-img-wrap { display: block; overflow: hidden; }
.cb-svc-card-img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.8s; }
.cb-svc-card:hover .cb-svc-card-img { transform: scale(1.04); }
.cb-svc-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.cb-svc-card-title {
  font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--mp-charcoal); margin: 0 0 10px; line-height: 1.15;
}
.cb-svc-card-title a { text-decoration: none; color: inherit; transition: color 0.25s; }
.cb-svc-card-title a:hover { color: var(--mp-copper); }
.cb-svc-card-excerpt {
  font-family: 'Montserrat', sans-serif; font-size: 14px; color: var(--mp-mid-gray);
  line-height: 1.72; font-weight: 300; margin: 0 0 20px; flex: 1;
}
.cb-svc-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--mp-copper);
  text-decoration: none; transition: color 0.25s;
}
.cb-svc-card-link:hover { color: var(--mp-teal); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .mp-hero { grid-template-columns: 1fr; min-height: auto; }
  .mp-hero-left { padding: 72px 6%; }
  .mp-hero-right { display: none; }
  .mp-trusted-wrap, .mp-coverage-wrap, .mp-prevention { grid-template-columns: 1fr; gap: 48px; }
  /* services + plans grids are handled by their self-contained blocks */
  .mp-footer-top { grid-template-columns: 1fr 1fr; }
  /* Tablets get the hamburger — the inline desktop nav overlaps/wraps below ~1100. */
  .cb-nav-links, .cb-nav-cta { display: none !important; }
  .cb-hamburger { display: flex !important; }
}
@media (max-width: 768px) {
  section { padding: 64px 6%; }
  .cb-nav-links, .cb-nav-cta { display: none !important; }
  .cb-hamburger { display: flex !important; }
  /* services grid mobile handled by the self-contained services block */
  .mp-testimonials { grid-template-columns: 1fr; }
  .mp-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .mp-form-row { grid-template-columns: 1fr; }
  .mp-hero-icons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow-x: visible;
  }
  .mp-hero-icon-item {
    flex: unset !important;
    padding: 14px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(7,142,155,0.15);
  }
  .mp-hero-icon-item:nth-child(odd) { border-right: 1px solid rgba(7,142,155,0.15) !important; padding-left: 0 !important; }
  .mp-hero-icon-item:nth-last-child(-n+2) { border-bottom: none; }
  .mp-prev-slider { height: 300px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE BLOG POST — layout + typography. Scoped to .zm-single (rendered only by
   single.php, which serves post type "post" only) and body.single-post. Service
   CPT pages are body.single-service and are never matched here.
   ═══════════════════════════════════════════════════════════════════════════ */

.single-post .zm-single {
  background: var(--mp-warm-white);
  padding: 132px 6% 96px;
}
/* Reading column — center hero, image, content + tags to one width */
.single-post .zm-single > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.zm-single-hero { margin-bottom: 40px; text-align: center; }
.zm-single .zm-eyebrow,
.zm-single .zm-eyebrow a {
  color: var(--mp-teal);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}
.zm-single .zm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.zm-single .zm-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--mp-copper);
}
.zm-single-title {
  margin: 0 0 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--mp-charcoal);
}
.zm-single-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 22px auto 0;
  background: var(--mp-copper);
  border-radius: 2px;
}
.zm-single-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--mp-mid-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.zm-single-meta .zm-by + .zm-single-date::before {
  content: "·";
  margin-right: 10px;
  color: var(--mp-copper);
  font-weight: 700;
}

/* Featured image */
.zm-single-img {
  max-width: 1080px !important;
  margin: 0 auto 48px;
}
.zm-single-img img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(4, 87, 98, .14);
}

/* Article content */
.zm-single-content { font-size: 18px; line-height: 1.85; color: var(--mp-charcoal); }
.zm-single-content > * { margin-top: 0; margin-bottom: 28px; }
.zm-single-content > *:last-child { margin-bottom: 0; }
.zm-single-content p { font-size: 18px; line-height: 1.85; }
.zm-single-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--mp-charcoal);
  margin: 48px 0 16px;
}
.zm-single-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.3;
  color: var(--mp-charcoal);
  margin: 36px 0 12px;
}
.zm-single-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--mp-charcoal);
  margin: 28px 0 10px;
}
.zm-single-content a { color: var(--mp-copper); text-decoration: underline; text-underline-offset: 3px; }
.zm-single-content a:hover { color: var(--mp-teal); }
.zm-single-content ul,
.zm-single-content ol { padding-left: 1.4em; }
.zm-single-content li { margin-bottom: 10px; }
.zm-single-content blockquote {
  margin: 36px 0;
  padding: 6px 0 6px 28px;
  border-left: 4px solid var(--mp-copper);
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--mp-teal-dark);
}
.zm-single-content blockquote p { font-size: inherit; line-height: inherit; }
.zm-single-content img { border-radius: 14px; height: auto; }
.zm-single-content figure { margin: 36px 0; }
.zm-single-content figure img { width: 100%; }
.zm-single-content figcaption { margin-top: 10px; font-size: 13px; color: var(--mp-mid-gray); text-align: center; }
.zm-single-content code { background: var(--mp-cream); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.zm-single-content pre { background: var(--mp-charcoal); color: #fff; padding: 20px 22px; border-radius: 12px; overflow: auto; }
.zm-single-content hr { border: none; border-top: 1px solid var(--mp-cream); margin: 48px 0; }
.zm-single-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.zm-single-content th,
.zm-single-content td { border: 1px solid var(--mp-cream); padding: 10px 14px; text-align: left; }
.zm-single-content th { background: var(--mp-cream); font-family: 'Montserrat', sans-serif; }

/* Previous / next post navigation */
.zm-post-nav {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--mp-cream);
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.zm-post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  max-width: 50%;
  padding: 18px 22px;
  border: 1px solid var(--mp-cream);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.zm-post-nav-link:hover {
  border-color: var(--mp-teal-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(7, 142, 155, 0.1);
}
.zm-post-nav-next { text-align: right; align-items: flex-end; margin-left: auto; }
.zm-post-nav-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-copper);
}
.zm-post-nav-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--mp-charcoal);
}
.zm-post-nav-link:hover .zm-post-nav-title { color: var(--mp-teal); }
.zm-post-nav-spacer { flex: 1 1 0; }
@media (max-width: 600px) {
  .zm-post-nav { flex-direction: column; }
  .zm-post-nav-link { max-width: 100%; }
  .zm-post-nav-next { text-align: left; align-items: flex-start; }
}

@media (max-width: 768px) {
  .single-post .zm-single { padding: 92px 5% 64px; }
  .zm-single-content { font-size: 17px; }
  .zm-single-img img { border-radius: 14px; max-height: 340px; }
}

/* ── RichText CTA buttons ───────────────────────────────────────────────────
   Buttons are edited as RichText with the native Link format. When a label
   contains an embedded <a>, render outputs <span class="btn"><a>…</a></span>;
   stretch that link over the whole pill so the entire button is clickable. */
.mp-btn-copper-pill, .mp-btn-teal-pill, .mp-btn-white-pill, .mp-btn-outline-pill,
.mp-btn-plan, .mp-btn-emg, .mp-btn-hero-copper, .cb-nav-cta,
.cb-mobile-cta-btn, .cb-mobile-strip-cta { position: relative; }
:is(.mp-btn-copper-pill,.mp-btn-teal-pill,.mp-btn-white-pill,.mp-btn-outline-pill,.mp-btn-plan,.mp-btn-emg,.mp-btn-hero-copper,.cb-nav-cta,.cb-mobile-cta-btn,.cb-mobile-strip-cta) > a {
  color: inherit; text-decoration: none;
}
:is(.mp-btn-copper-pill,.mp-btn-teal-pill,.mp-btn-white-pill,.mp-btn-outline-pill,.mp-btn-plan,.mp-btn-emg,.mp-btn-hero-copper,.cb-nav-cta,.cb-mobile-cta-btn,.cb-mobile-strip-cta) > a::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
}

/* Keep button text colour on hover. WordPress' global theme.json rule
   (a:hover { color: teal }) otherwise recolours these <a> pills on hover,
   turning the label dark/teal against the darker hover background. */
:is(.mp-btn-copper-pill,.mp-btn-teal-pill,.mp-btn-plan,.mp-btn-hero-copper,.cb-nav-cta,.cb-mobile-cta-btn,.cb-mobile-strip-cta):hover,
:is(.mp-btn-copper-pill,.mp-btn-teal-pill,.mp-btn-plan,.mp-btn-hero-copper,.cb-nav-cta,.cb-mobile-cta-btn,.cb-mobile-strip-cta):hover > a {
  color: #fff;
}
/* Light-background pills keep their dark label on hover (white text would vanish). */
.mp-btn-white-pill:hover, .mp-btn-white-pill:hover > a { color: var(--mp-teal-dark); }
.mp-btn-emg:hover, .mp-btn-emg:hover > a { color: var(--mp-copper); }
.mp-btn-outline-pill:hover, .mp-btn-outline-pill:hover > a { color: #fff; }

/* ── LEGAL / simple content pages (Privacy, Terms) ──────────────────────────
   Constrained, readable column. Uses high-specificity + !important to beat the
   theme's full-bleed reset (which strips max-width/padding from .wp-block-group). */
body:not(.single-post) .mp-legal.wp-block-group,
.mp-legal {
  max-width: 760px !important; /* match blog single content width */
  margin: 116px auto 90px !important;
  padding: 0 6% !important;
}
.admin-bar .mp-legal { margin-top: 140px !important; }
.mp-legal > * { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.mp-legal .mp-legal-eyebrow {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mp-teal);
  margin: 0 0 14px !important;
}
.mp-legal h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--mp-charcoal); margin: 0 0 10px;
}
.mp-legal .mp-legal-updated {
  font-size: 14px; color: var(--mp-mid-gray);
  margin: 0 0 36px !important; padding-bottom: 28px;
  border-bottom: 1px solid var(--mp-cream);
}
.mp-legal h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--mp-charcoal); margin: 42px 0 12px;
}
.mp-legal p,
.mp-legal li {
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  font-size: 16px; line-height: 1.8; color: var(--mp-mid-gray);
}
.mp-legal p { margin: 0 0 16px; }
.mp-legal ul { margin: 0 0 18px; padding-left: 22px; }
.mp-legal li { margin-bottom: 8px; }
.mp-legal a { color: var(--mp-teal); text-decoration: none; }
.mp-legal a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .mp-legal { margin-top: 96px !important; }
}

/* ── 404 PAGE ───────────────────────────────────────────────────────────────
   Centered, brand-styled. High-specificity + !important to beat the full-bleed
   reset (which strips max-width/padding from .wp-block-group). */
body:not(.single-post) .mp-404.wp-block-group,
.mp-404 {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 160px 6% 120px !important;
  min-height: 78vh;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--mp-warm-white) 0%, #fff 60%);
}
.mp-404 > * { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.mp-404-code {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(120px, 22vw, 220px); line-height: 0.9; letter-spacing: -0.04em;
  margin: 0 0 4px !important;
  color: var(--mp-teal);
}
.mp-404-eyebrow {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--mp-mid-gray);
  margin: 0 0 16px !important;
}
.mp-404-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.14; letter-spacing: -0.02em;
  color: var(--mp-charcoal); margin: 0 0 16px !important;
}
.mp-404-title span { color: inherit; }
.mp-404-text {
  font-family: 'Montserrat', sans-serif; font-size: 16.5px; line-height: 1.7;
  color: var(--mp-mid-gray); max-width: 520px; margin: 0 auto 36px !important;
}
.mp-404-btns {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
@media (max-width: 600px) {
  .mp-404 { padding: 120px 6% 80px !important; }
  .mp-404-btns { flex-direction: column; width: 100%; max-width: 320px; }
  .mp-404-btns > a { text-align: center; }
}

/* ── Smaller desktops / 13" laptops (1201–1440px) ───────────────────────────
   The full desktop layout kicks in above 1200px, where the hero + section
   headings are sized for large screens and read oversized on ~13" laptops.
   Trim them here only — tablet (≤1200) and large desktops (≥1441) untouched. */
@media (min-width: 1201px) and (max-width: 1440px) {
  /* Hero heading keeps the full desktop size here; the manual line break stays,
     so "Broward County." sits on its own line. */
  .mp-ph-h1,
  .mp-svch-h1,
  .mp-proc-heading,
  .mp-section-title { font-size: clamp(30px, 3.4vw, 44px) !important; }
}
