.elementor-8494 .elementor-element.elementor-element-6ee90a6e{margin-top:0px;margin-bottom:0px;}.elementor-8494 .elementor-element.elementor-element-73a85625:not(.elementor-motion-effects-element-type-background), .elementor-8494 .elementor-element.elementor-element-73a85625 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://meyerpink.com/wp-content/uploads/2023/08/happy-multigeneration-family-on-summer-holiday-tri-2022-01-18-23-33-13-utc-scaled.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-8494 .elementor-element.elementor-element-73a85625 > .elementor-background-overlay{background-color:transparent;background-image:linear-gradient(180deg, #284CAABD 0%, #03051DA3 100%);opacity:1;transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-8494 .elementor-element.elementor-element-73a85625{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:-100px;margin-bottom:0px;padding:200px 0px 50px 0px;}.elementor-8494 .elementor-element.elementor-element-303974ce.elementor-column > .elementor-widget-wrap{justify-content:center;}.elementor-8494 .elementor-element.elementor-element-303974ce > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:0px;}.elementor-8494 .elementor-element.elementor-element-6983137e{--divider-border-style:solid;--divider-color:var( --e-global-color-text );--divider-border-width:2px;}.elementor-8494 .elementor-element.elementor-element-6983137e > .elementor-widget-container{margin:0px 0px 8px 0px;}.elementor-8494 .elementor-element.elementor-element-6983137e .elementor-divider-separator{width:30px;margin:0 auto;margin-center:0;}.elementor-8494 .elementor-element.elementor-element-6983137e .elementor-divider{text-align:center;padding-block-start:0px;padding-block-end:0px;}.elementor-8494 .elementor-element.elementor-element-6342e5e{margin-top:0px;margin-bottom:32px;}.elementor-8494 .elementor-element.elementor-element-565c5051.elementor-column > .elementor-widget-wrap{justify-content:flex-start;}.elementor-8494 .elementor-element.elementor-element-565c5051 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:32px;}.elementor-8494 .elementor-element.elementor-element-5a7cc6ca > .elementor-widget-container{margin:16px 0px 0px 0px;}.elementor-8494 .elementor-element.elementor-element-5a7cc6ca{text-align:center;}.elementor-8494 .elementor-element.elementor-element-5a7cc6ca .elementor-heading-title{font-family:"Fira Sans", Sans-serif;font-size:65px;font-weight:700;line-height:1.2em;color:var( --e-global-color-1210d53 );}.elementor-8494 .elementor-element.elementor-element-1f462ff4 > .elementor-container{max-width:700px;}.elementor-8494 .elementor-element.elementor-element-1f462ff4{margin-top:0px;margin-bottom:32px;}.elementor-8494 .elementor-element.elementor-element-45fc031b.elementor-column > .elementor-widget-wrap{justify-content:center;}.elementor-8494 .elementor-element.elementor-element-45fc031b > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:32px;}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child){padding-block-end:calc(8px/2);}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child){margin-block-start:calc(8px/2);}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item{margin-inline:calc(8px/2);}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-items.elementor-inline-items{margin-inline:calc(-8px/2);}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{inset-inline-end:calc(-8px/2);}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-icon i{color:var( --e-global-color-1210d53 );transition:color 0.3s;}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-icon svg{fill:var( --e-global-color-1210d53 );transition:fill 0.3s;}.elementor-8494 .elementor-element.elementor-element-469e4955{--e-icon-list-icon-size:14px;--icon-vertical-offset:0px;}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item > a{font-family:var( --e-global-typography-af82f03-font-family ), Sans-serif;font-size:var( --e-global-typography-af82f03-font-size );font-weight:var( --e-global-typography-af82f03-font-weight );}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-text{color:var( --e-global-color-1210d53 );transition:color 0.3s;}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item:hover .elementor-icon-list-text{color:var( --e-global-color-text );}.elementor-8494 .elementor-element.elementor-element-88e0b68{--display:flex;}.elementor-8494 .elementor-element.elementor-element-54fe85c > .elementor-widget-container{margin:30px 0px 0px 0px;}.elementor-8494 .elementor-element.elementor-element-f6c6ef6 > .elementor-widget-container{padding:30px 0px 0px 0px;}.elementor-8494 .elementor-element.elementor-element-f6c6ef6{text-align:start;}.elementor-8494 .elementor-element.elementor-element-24f9103 > .elementor-widget-container{margin:-30px 0px 0px 0px;}.elementor-8494 .elementor-element.elementor-element-d35717e > .elementor-widget-container{margin:-30px 0px 0px 0px;}.elementor-8494 .elementor-element.elementor-element-aa38e8b{--display:flex;--margin-top:30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-8494 .elementor-element.elementor-element-030377f{--display:flex;}.elementor-8494 .elementor-element.elementor-element-f1fc28f{--display:flex;}.elementor-8494 .elementor-element.elementor-element-cf2d61c{--display:flex;}.elementor-8494 .elementor-element.elementor-element-87bcded{--display:flex;}.elementor-8494 .elementor-element.elementor-element-f8874b7{--n-accordion-title-font-size:1rem;--n-accordion-item-title-space-between:0px;--n-accordion-item-title-distance-from-content:0px;--n-accordion-icon-size:15px;}.elementor-8494 .elementor-element.elementor-element-74b7e7d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-8494 .elementor-element.elementor-element-73a85625{padding:150px 0px 0px 0px;}.elementor-8494 .elementor-element.elementor-element-1a76f4c9 > .elementor-element-populated{padding:0px 16px 0px 16px;}.elementor-8494 .elementor-element.elementor-element-5a7cc6ca .elementor-heading-title{font-size:48px;}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item > a{font-size:var( --e-global-typography-af82f03-font-size );}}@media(max-width:767px){.elementor-8494 .elementor-element.elementor-element-6ee90a6e{margin-top:0px;margin-bottom:0px;}.elementor-8494 .elementor-element.elementor-element-1a76f4c9 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:0px;}.elementor-8494 .elementor-element.elementor-element-5a7cc6ca > .elementor-widget-container{margin:0px 0px -16px 0px;}.elementor-8494 .elementor-element.elementor-element-5a7cc6ca .elementor-heading-title{font-size:50px;}.elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-8494 .elementor-element.elementor-element-469e4955 .elementor-icon-list-item > a{font-size:var( --e-global-typography-af82f03-font-size );}}@media(min-width:1025px){.elementor-8494 .elementor-element.elementor-element-73a85625:not(.elementor-motion-effects-element-type-background), .elementor-8494 .elementor-element.elementor-element-73a85625 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:scroll;}}/* Start custom CSS */.page-id-6764,
.page-id-6764 .elementor,
.mp-service-stack,
.mp-process-table-wrap,
.mp-communities {
  text-align: left;
}

.page-id-6764 {
  --e-global-typography-primary-font-family: "Fira Sans";
  --e-global-typography-primary-font-size: 82px;
  --e-global-typography-primary-font-weight: 700;
  --e-global-typography-primary-line-height: 1.2em;
  --e-global-typography-text-font-family: "Fira Sans";
  --e-global-typography-text-font-size: 30px;
  --e-global-typography-text-font-weight: 700;
}

.page-id-6764 h1,
.page-id-6764 h1.elementor-heading-title,
.page-id-6764 .elementor-widget-heading h1.elementor-heading-title {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-primary-font-size) !important;
  font-weight: var(--e-global-typography-primary-font-weight) !important;
  line-height: var(--e-global-typography-primary-line-height) !important;
  color: var(--e-global-color-1210d53) !important;
  text-align: center !important;
}

.page-id-6764 h2,
.page-id-6764 h2.elementor-heading-title,
.page-id-6764 .elementor-widget-heading h2.elementor-heading-title,
.mp-service-stack h2,
.mp-communities h2 {
  color: var(--e-global-color-11ceb9f) !important;
  font-family: "Fira Sans", Sans-serif !important;
  font-size: 58px !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.page-id-6764 h3,
.page-id-6764 h3.elementor-heading-title,
.page-id-6764 .elementor-widget-heading h3.elementor-heading-title,
.mp-service-stack h3,
.mp-communities h3 {
  color: var(--e-global-color-11ceb9f) !important;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-text-font-size) !important;
  font-weight: var(--e-global-typography-text-font-weight) !important;
  text-align: left !important;
}

.page-id-6764 p,
.page-id-6764 li,
.page-id-6764 td,
.page-id-6764 th,
.page-id-6764 .elementor-widget-text-editor,
.page-id-6764 .elementor-heading-title:not(h1),
.mp-service-stack p,
.mp-service-stack li,
.mp-process-table,
.mp-communities p,
.mp-communities li {
  text-align: left !important;
}

.page-id-6764 p,
.mp-service-stack p,
.mp-communities p {
  font-size: 14px !important;
}

.page-id-6764 .elementor-element-12fcc93.e-con > .e-con-inner,
.page-id-6764 .elementor-element-8164e4b.e-con > .e-con-inner,
.page-id-6764 .elementor-element-891c582.e-con > .e-con-inner,
.page-id-6764 .elementor-element-887c60a.e-con > .e-con-inner {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-id-6764 .elementor-element-880c18c,
.page-id-6764 .elementor-element-880c18c .elementor-container,
.page-id-6764 .elementor-element-880c18c .elementor-column,
.page-id-6764 .elementor-element-880c18c .elementor-widget-wrap,
.page-id-6764 .elementor-element-880c18c .elementor-widget,
.page-id-6764 .elementor-element-880c18c .elementor-button-wrapper {
  text-align: left !important;
}

.page-id-6764 .elementor-element-880c18c .elementor-element-c1a3fd2 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-id-6764 .elementor-element-880c18c .elementor-element-84521ab,
.page-id-6764 .elementor-element-880c18c .elementor-element-5e353da {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 767px) {
  .page-id-6764 h1,
  .page-id-6764 h1.elementor-heading-title,
  .page-id-6764 .elementor-widget-heading h1.elementor-heading-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
    font-size: 50px !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    line-height: var(--e-global-typography-primary-line-height) !important;
    color: var(--e-global-color-1210d53) !important;
    text-align: left !important;
  }
}

.mp-service-stack {
  --mp-gold: #b3922f;
  --mp-black: #000000;
  --mp-text: rgb(99, 101, 124);
  --mp-line: rgba(0, 0, 0, 0.12);

  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--mp-text);
}

.mp-service-stack__intro {
  max-width: none;
  width: 100%;
  margin: 0 0 34px;
  text-align: left;
}

.mp-eyebrow {
  margin: 0 0 8px;
  color: var(--mp-gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mp-service-stack__intro h2 {
  margin: 0 0 12px;
  color: var(--mp-black);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
}

.mp-service-stack__intro p {
  margin: 0;
  color: var(--mp-text);
  font-size: 17px;
  line-height: 1.7;
}

.mp-service-stack__list {
  max-width: none;
  width: 100%;
  margin: 0;
}

.mp-service-area {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--mp-line);
}

.mp-service-area:first-child {
  border-top: 1px solid var(--mp-line);
}

.mp-service-area__heading h3 {
  margin: 0 0 6px;
  color: var(--mp-black);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.mp-service-area__heading p {
  margin: 0;
  color: var(--mp-gold);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  font-style: italic;
}

.mp-service-area__body p {
  margin: 0 0 12px;
  color: var(--mp-text);
  font-size: 16px;
  line-height: 1.65;
}

.mp-service-area__body a,
.mp-service-area__body span {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.mp-service-area__body a {
  color: var(--mp-black);
  text-decoration: none;
  border-bottom: 2px solid var(--mp-gold);
}

.mp-service-area__body a:hover {
  color: var(--mp-gold);
}

.mp-service-area__body span {
  color: rgba(99, 101, 124, 0.72);
  font-style: italic;
}

@media (max-width: 767px) {
  .mp-service-stack__intro {
    margin-bottom: 24px;
  }

  .mp-service-stack__intro h2 {
    font-size: 29px;
  }

  .mp-service-stack__intro p {
    font-size: 16px;
  }

  .mp-service-area {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
    text-align: left;
  }

  .mp-service-area__body p {
    text-align: left;
  }
}
.mp-process-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.mp-process-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(0, 0, 0, 0.16);
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgb(99, 101, 124);
}

.mp-process-table th {
  width: 110px;
  padding: 22px 18px;
  background-color: #000000 !important;
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.mp-process-table tr:nth-child(2) th {
  background-color: #b3922f !important;
  color: #ffffff !important;
}

.mp-process-table th * {
  color: #ffffff !important;
}

.mp-process-table td {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  vertical-align: middle;
  text-align: left;
}

.mp-process-table tr:last-child td {
  border-bottom: 0;
}

.mp-process-table strong {
  display: block;
  margin-bottom: 4px;
  color: #000000;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.mp-process-table span {
  display: block;
  color: rgb(99, 101, 124);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .mp-process-table,
  .mp-process-table tbody,
  .mp-process-table tr,
  .mp-process-table th,
  .mp-process-table td {
    display: block;
    width: 100%;
  }

  .mp-process-table th {
    padding: 13px 16px;
    text-align: left;
    background-color: #000000 !important;
    color: #ffffff !important;
  }

  .mp-process-table tr:nth-child(2) th {
    background-color: #b3922f !important;
    color: #ffffff !important;
  }

  .mp-process-table td {
    padding: 16px;
  }

  .mp-process-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  }

  .mp-process-table tr:last-child {
    border-bottom: 0;
  }
}
.mp-communities {
  --mp-gold: #b3922f;
  --mp-black: #000000;
  --mp-text: rgb(99, 101, 124);
  --mp-soft: rgba(99, 101, 124, 0.08);
  --mp-line: rgba(0, 0, 0, 0.12);

  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--mp-text);
}

.mp-communities__intro {
  max-width: none;
  width: 100%;
  margin: 0 0 28px;
}

.mp-communities__intro h2 {
  margin: 0 0 14px;
  color: var(--mp-black);
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mp-gold);
}

.mp-communities__intro p {
  margin: 0;
  color: var(--mp-text);
  font-size: 16px;
  line-height: 1.7;
}

.mp-communities__stack {
  max-width: none;
  width: 100%;
  margin: 0;
  display: grid;
  gap: 18px;
}

.mp-community-group {
  padding: 0;
}

.mp-community-group h3 {
  margin: 0 0 10px;
  padding: 8px 12px;
  color: var(--mp-black);
  background: var(--mp-soft);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.mp-community-group ul {
  columns: 2;
  column-gap: 42px;
  margin: 0;
  padding: 0 0 0 28px;
}

.mp-community-group li {
  break-inside: avoid;
  margin: 0 0 7px;
  color: var(--mp-text);
  font-size: 15px;
  line-height: 1.45;
}

.mp-community-group li::marker {
  color: var(--mp-gold);
}

.mp-community-group li span {
  color: rgba(99, 101, 124, 0.82);
  font-size: 14px;
  font-style: italic;
}

@media (max-width: 767px) {
  .mp-communities__intro h2 {
    font-size: 28px;
  }

  .mp-community-group ul {
    columns: 1;
    padding-left: 24px;
  }

  .mp-community-group h3 {
    font-size: 16px;
  }
}
.mp-community-group li a {
  color: #b3922f;
  font-weight: 800;
  text-decoration: none;
}

.mp-community-group li a:hover {
  color: #000000;
  text-decoration: underline;
}
.mp-service-stack .mp-service-area__heading .mp-service-area__office {
  color: #000000 !important;
}


/* ==========================================================================
   MeyerPink Law — reusable on-page sections
   Modesto office block  (.mp-location)  +  Attorney card grid (.mp-attorney-grid)

   Drop-in: paste this whole sheet into  Elementor → Site Settings → Custom CSS
   (site-wide) or into a page's  Elementor → Page Settings → Advanced → Custom CSS
   (single page). Every rule is namespaced under .mp-location / .mp-attorney-grid,
   so it cannot leak onto other elements and renders identically on any page that
   contains the matching HTML.

   Source of truth
     - Palette / tokens .... .elementor-kit-3333 (Elementor global colors) + the
                             existing meyerpink.css .mp-* convention
     - Card design ......... https://meyerpink.com/california/attorneys/
                             (Elementor container 329f502 → grid 2099158 → card 27166fe
                              → media 2449ed2 → text panel d984139)
     - Office layout ....... two-column map + info-card reference layout
     - Maps embed .......... unchanged from the live Modesto page

   Breakpoints
     >=1024px  attorney grid 3 across   |  >=901px   office block 2 columns
     768–1023  attorney grid 2 across   |   <=900px  office block stacked (card, then map)
      <=767px  attorney grid 1 across
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Shared tokens + resets
   -------------------------------------------------------------------------- */
.mp-location,
.mp-attorney-grid {
  --mp-gold: #b3922f;              /* Elementor global primary  — brand gold      */
  --mp-gold-deep: #8d7325;         /* AA gold on white (4.55:1) — links, eyebrows */
  --mp-gold-dark: #6f5a1c;         /* AA gold on #f9fafa (6.4:1) — long-form gold */
  --mp-gold-panel: #f9fafa;        /* attorney card panel fill                    */
  --mp-ink: #000000;               /* attorney name                               */
  --mp-heading: #03051d;           /* Elementor global 11ceb9f — page headings    */
  --mp-body: #63657c;              /* Elementor global 70e8a1f — body copy        */
  --mp-line: rgba(3, 5, 29, 0.08);
  --mp-shadow-map: 0 10px 30px rgba(3, 5, 29, 0.08);
  --mp-shadow-card: 0 18px 45px rgba(3, 5, 29, 0.10);
  --mp-shadow-portrait: 0 10px 50px rgba(40, 76, 170, 0.08); /* exact, live card */

  --mp-font-head: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mp-font-body: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  box-sizing: border-box;
  text-align: left;
}

.mp-location *,
.mp-location *::before,
.mp-location *::after,
.mp-attorney-grid *,
.mp-attorney-grid *::before,
.mp-attorney-grid *::after {
  box-sizing: border-box;
}


/* ==========================================================================
   2. .mp-location — office details + map
   HTML order is  card ▸ map  (so the address reads first on mobile / to AT).
   On wide screens the grid swaps them so the map sits on the left.
   ========================================================================== */
.mp-location {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(0, 1fr);
  grid-template-areas: "map card";
  gap: 28px;
  align-items: center;
  margin: 0 0 8px;
}

.mp-location__map {
  grid-area: map;
  position: relative;
  width: 100%;
  aspect-ratio: 2.1 / 1;
  min-height: 260px;
  overflow: hidden;
  background: #eef0f2;
  box-shadow: var(--mp-shadow-map);
}

.mp-location__map iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
}

.mp-location__card {
  grid-area: card;
  align-self: center;
  width: 100%;
  padding: 38px 40px;
  background: #ffffff;
  border: 1px solid var(--mp-line);
  box-shadow: var(--mp-shadow-card);
}

.mp-location__card p,
.mp-location__card address {
  margin: 0 !important;
}

.mp-location__eyebrow {
  margin: 0 0 10px !important;
  font-family: var(--mp-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--mp-gold-deep) !important;
}

.mp-location__eyebrow a {
  /* inline-block + padding lifts the hit area 16px -> 27px (WCAG 2.2 SC 2.5.8 needs 24) */
  display: inline-block;
  padding: 5px 0;
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.mp-location__eyebrow a:hover,
.mp-location__eyebrow a:focus-visible {
  color: var(--mp-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.mp-location__address {
  display: block;
  margin: 0 0 14px !important;
  font-family: var(--mp-font-body) !important;
  font-style: normal !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--mp-ink) !important;
}

.mp-location__address span {
  display: block;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.mp-location__phone {
  margin: 0 !important;
  font-family: var(--mp-font-body) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.mp-location__phone a {
  /* same reason as the eyebrow link: 21px hit area -> 30px */
  display: inline-block;
  padding: 4px 0;
  color: var(--mp-gold-deep) !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.mp-location__phone a:hover,
.mp-location__phone a:focus-visible {
  color: var(--mp-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* stacked below 901px — card first, then a taller map */
@media (max-width: 900px) {
  .mp-location {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "card" "map";
    gap: 22px;
    align-items: stretch;
  }

  .mp-location__card {
    align-self: stretch;
    padding: 30px 28px;
  }

  .mp-location__map {
    aspect-ratio: 16 / 9;
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .mp-location__card {
    padding: 26px 22px;
  }

  .mp-location__address,
  .mp-location__phone {
    font-size: 16px !important;
  }

  .mp-location__map {
    aspect-ratio: 4 / 3;
  }
}


/* ==========================================================================
   3. .mp-attorney-grid — attorney cards
   Card anatomy copied from the live /california/attorneys/ grid:
     card padding 10px · portrait 400px square, shadow rgba(40,76,170,.08)
     panel #f9fafa, 6px top rule in brand gold, 30px padding
     panel overlaps the portrait by 20px (margin-top:-20px, z-index:1)
     panel min-height 280px · card lifts 10px on hover, .4s ease
   ========================================================================== */
.mp-attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin: 4px 0 0;
}

.mp-attorney-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  background: transparent;
  border: 0;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.4s ease;
}

.mp-attorney-card:hover,
.mp-attorney-card:focus-visible {
  transform: translateY(-10px);
}

.mp-attorney-card:focus-visible {
  outline: 3px solid var(--mp-gold-deep);
  outline-offset: 4px;
}

.mp-attorney-card__media {
  display: block;
  text-align: center;
}

.mp-attorney-card__media img {
  display: inline-block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--mp-shadow-portrait);
}

.mp-attorney-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 280px;
  margin-top: -20px;
  padding: 30px;
  background: var(--mp-gold-panel);
  border-top: 6px solid var(--mp-gold);
}

/* Name — Fira Sans, 1.8rem, regular weight (matches the live card) */
.mp-attorney-card__name {
  margin: 0 0 5px !important;
  font-family: var(--mp-font-head) !important;
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: var(--mp-ink) !important;
}

/* Role — Fira Sans, .75rem, 700, uppercase, 1.5px tracking, brand gold */
.mp-attorney-card__role {
  display: block;
  margin: 0 0 15px !important;
  font-family: var(--mp-font-head) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--mp-gold) !important;
}

/* Bio — Open Sans, .9rem, 1.6 */
.mp-attorney-card__bio {
  margin: 0 !important;
  font-family: var(--mp-font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--mp-body) !important;
}

/* Optional "see all attorneys" style tail link, if you add one */
.mp-attorney-grid__more {
  grid-column: 1 / -1;
  margin-top: 6px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mp-attorney-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mp-attorney-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .mp-attorney-card__body {
    padding: 26px 24px;
  }

  .mp-attorney-card__name {
    font-size: 1.55rem !important;
  }
}

@media (max-width: 380px) {
  .mp-attorney-card__body {
    padding: 22px 20px;
  }

  .mp-attorney-card__role {
    letter-spacing: 1px !important;
  }
}


/* --------------------------------------------------------------------------
   4. Motion + forced colours
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mp-attorney-card {
    transition: none;
  }

  .mp-attorney-card:hover,
  .mp-attorney-card:focus-visible {
    transform: none;
  }
}

@media (forced-colors: active) {
  .mp-location__card,
  .mp-attorney-card__body {
    border: 1px solid CanvasText;
  }
}


/* --------------------------------------------------------------------------
   5. Two optional one-line overrides — flip these if brand/legal asks
   -------------------------------------------------------------------------- */

/* (a) WCAG AA for the gold role text.
   Brand gold #b3922f on #f9fafa is 2.84:1 — below the 4.5:1 AA floor for small
   text, and it is exactly what the live attorneys grid uses. To keep the design
   byte-identical to the live page, brand gold ships as the default above.
   Uncomment the next line to switch the role text to the AA-safe deep gold
   (#6f5a1c on #f9fafa = 6.4:1) without touching anything else. */
/* .mp-attorney-card__role { color: var(--mp-gold-dark) !important; } */

/* (b) Exact live-page grid behaviour: 3 across all the way down to 767px
   instead of stepping to 2 columns between 768px and 1023px. */
/* @media (min-width: 768px) and (max-width: 1023px) { .mp-attorney-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } *//* End custom CSS */