/* ============================================================
   MOVERS FOR ME — LOCATIONS PAGE STYLES
   45-location directory: hero + intro + searchable grid + CTA.
   ============================================================ */


/* ============================================================
   LOCATIONS HERO
   ============================================================ */

.mfm-loc-hero {
  position: relative;
  width: 100%;
  padding-top: 65px;
  min-height: 45vh;
  background-image: url('https://moversforme.mystagingwebsite.com/wp-content/uploads/2026/06/philadelphia-skyline-.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.mfm-loc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(18, 18, 18, 0.88) 100%);
  z-index: -1;
}

.mfm-loc-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 32px;
  color: var(--mfm-white);
  text-align: center;
}

.mfm-loc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 22px;
}

.mfm-loc-hero__eyebrow::before,
.mfm-loc-hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-loc-hero__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--mfm-white);
  text-transform: uppercase;
  margin: 0 auto 20px auto;
  max-width: 760px;
}

.mfm-loc-hero__title .accent {
  color: var(--mfm-orange);
}

.mfm-loc-hero__subtitle {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  max-width: 620px;
}

@media (max-width: 768px) {
  .mfm-loc-hero {
    min-height: 40vh;
  }

  .mfm-loc-hero__inner {
    padding: 56px 20px;
  }

  .mfm-loc-hero__title {
    font-size: clamp(28px, 7vw, 38px);
  }

  .mfm-loc-hero__subtitle {
    font-size: 14px;
  }
}


/* ============================================================
   LOCATIONS INTRO — centered intro band
   ============================================================ */

.mfm-loc-intro {
  position: relative;
  background-color: var(--mfm-warm-gray);
  padding: 70px 32px 50px 32px;
  overflow: hidden;
}

.mfm-loc-intro__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.mfm-loc-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 18px;
}

.mfm-loc-intro__eyebrow::before,
.mfm-loc-intro__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-loc-intro__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--mfm-charcoal);
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.mfm-loc-intro__title .accent {
  color: var(--mfm-orange);
}

.mfm-loc-intro__body {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mfm-slate);
  margin: 0 0 26px 0;
}

.mfm-loc-intro__count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background-color: var(--mfm-mist-teal);
  border: 1px solid rgba(105, 163, 159, 0.2);
  border-radius: 50px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mfm-teal);
}

.mfm-loc-intro__count i {
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 768px) {
  .mfm-loc-intro {
    padding: 54px 20px 40px 20px;
  }

  .mfm-loc-intro__title {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .mfm-loc-intro__body {
    font-size: 15px;
  }
}


/* ============================================================
   LOCATIONS GRID — searchable card directory
   ============================================================ */

.mfm-loc-grid-section {
  position: relative;
  background-color: var(--mfm-warm-gray);
  padding: 30px 32px 100px 32px;
  overflow: hidden;
}

.mfm-loc-grid-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- Grid --- */

.mfm-loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mfm-loc-grid > p,
.mfm-loc-grid > br {
  display: none !important;
}

.mfm-loc-card {
  position: relative;
  background-color: var(--mfm-white);
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center !important;
  gap: 12px;
  transition: all 0.25s ease;
  overflow: hidden;
  min-height: 64px;
}
/* WordPress wraps inline elements in <p> tags inside the card.
   Make those <p> tags behave as if they don't exist. */
.mfm-loc-card > p {
  margin: 0 !important;
  padding: 0 !important;
  display: contents !important;
}

.mfm-loc-card:hover {
  border-color: var(--mfm-orange);
  background-color: var(--mfm-soft-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(18, 18, 18, 0.06);
}

/* Link overlay covers entire card */
.mfm-loc-card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none !important;
}

.mfm-loc-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--mfm-mist-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.mfm-loc-card__icon i {
  color: var(--mfm-teal);
  font-size: 13px;
  line-height: 1;
}

.mfm-loc-card:hover .mfm-loc-card__icon {
  background-color: var(--mfm-orange);
}

.mfm-loc-card:hover .mfm-loc-card__icon i {
  color: var(--mfm-white);
}

.mfm-loc-card__name {
  flex: 1;
  min-width: 0;
  font-family: var(--mfm-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: var(--mfm-charcoal);
  margin: 0;
  align-self: center;
}

.mfm-loc-card__arrow {
  flex-shrink: 0;
  color: var(--mfm-slate);
  font-size: 12px;
  line-height: 1;
  opacity: 0.4;
  transition: all 0.25s ease;
  align-self: center;
}

.mfm-loc-card:hover .mfm-loc-card__arrow {
  color: var(--mfm-orange);
  opacity: 1;
  transform: translateX(3px);
}

/* --- Tablet --- */

@media (max-width: 991px) {
  .mfm-loc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .mfm-loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mfm-loc-grid-section {
    padding: 20px 16px 70px 16px;
  }

  .mfm-loc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mfm-loc-card {
    padding: 14px 16px;
  }
}

/* ============================================================
   END LOCATIONS PAGE
   ============================================================ */

   /* ============================================================
   ZIP CODE SERVICE AREAS
   ============================================================ */

.mfm-loc-zip-section {
  position: relative;
  background-color: var(--mfm-white);
  padding: 90px 32px 100px 32px;
}

.mfm-loc-zip-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.mfm-loc-zip-section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px auto;
}

.mfm-loc-zip-section__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 18px;
}

.mfm-loc-zip-section__eyebrow::before,
.mfm-loc-zip-section__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-loc-zip-section__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--mfm-charcoal);
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.mfm-loc-zip-section__title .accent {
  color: var(--mfm-orange);
}

.mfm-loc-zip-section__subtitle {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mfm-slate);
  margin: 0;
}

.mfm-loc-zip-section__county {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3px;
  color: var(--mfm-charcoal);
  text-transform: uppercase;
  margin: 48px 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mfm-orange);
  display: inline-block;
}

.mfm-loc-zip-section__county:first-of-type {
  margin-top: 0;
}

.mfm-loc-zip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .mfm-loc-zip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mfm-loc-zip-section {
    padding: 60px 16px 70px 16px;
  }

  .mfm-loc-zip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mfm-loc-zip-section__county {
    font-size: 18px;
    margin: 36px 0 16px 0;
  }
}

@media (max-width: 480px) {
  .mfm-loc-zip-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LONG-DISTANCE ROUTES SECTION
   ============================================================ */

.mfm-loc-routes-section {
  position: relative;
  background-color: var(--mfm-warm-gray);
  padding: 90px 32px 100px 32px;
}

.mfm-loc-routes-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.mfm-loc-routes-section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px auto;
}

.mfm-loc-routes-section__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 18px;
}

.mfm-loc-routes-section__eyebrow::before,
.mfm-loc-routes-section__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-loc-routes-section__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--mfm-charcoal);
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.mfm-loc-routes-section__title .accent {
  color: var(--mfm-orange);
}

.mfm-loc-routes-section__subtitle {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mfm-slate);
  margin: 0;
}

.mfm-loc-routes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .mfm-loc-routes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mfm-loc-routes-section {
    padding: 60px 16px 70px 16px;
  }

  .mfm-loc-routes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .mfm-loc-routes-grid {
    grid-template-columns: 1fr;
  }
}