.ep-site.ep-home .ep-hero { min-height: 580px; display: flex; align-items: center; isolation: isolate; position: relative; background: var(--ep-ink-deep); color: white; }
.ep-site.ep-home .ep-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; filter: saturate(.45); }
.ep-site.ep-home .ep-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0c1013fa 0%, #0c1013d9 32%, #0c101366 67%, #0c10131a), linear-gradient(0deg, #0c1013b3, transparent 40%); }
.ep-site.ep-home .ep-hero-content { padding-block: 80px; }
.ep-site.ep-home .ep-hero .ep-eyebrow { color: #ce6f82; margin-bottom: 25px; }
.ep-site.ep-home .ep-hero .ep-eyebrow span { color: #ececee; margin-left: 12px; padding-left: 16px; border-left: 1px solid #888; }
.ep-site.ep-home .ep-hero h1 { max-width: 700px; margin-bottom: 28px; }
.ep-site.ep-home .ep-hero-content > p:not(.ep-eyebrow) { max-width: 455px; color: #efeff0; font-size: 18px; line-height: 1.65; margin-bottom: 32px; }
.ep-site.ep-home .ep-introduction { background: var(--ep-ink); color: white; padding-block: 36px; border-top: 1px solid var(--ep-line); }
.ep-site.ep-home .ep-intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 65px; align-items: center; }
.ep-site.ep-home .ep-intro-grid > div:first-child { display: flex; gap: 24px; align-items: center; }
.ep-site.ep-home .ep-intro-grid .ep-icon { width: 44px; height: 44px; color: #df9eac; }
.ep-site.ep-home .ep-intro-grid h2 { font-size: 26px; margin: 0; }
.ep-site.ep-home .ep-intro-grid p { color: #d0d0d3; font-size: 13px; margin: 0; }
.ep-site.ep-home .ep-services { padding-bottom: 40px; }
.ep-site.ep-home .ep-additional { padding-top: 25px; padding-bottom: 70px; }
.ep-site.ep-home .ep-additional h2 { font-size: 30px; }
.ep-site.ep-home .ep-about { color: white; background: linear-gradient(90deg, #490611f5, #710b20e6 55%, #28060dcc), url('/assets/images/bg-homepage-service-1d7e708fe0.webp') center / cover; }
.ep-site.ep-home .ep-about-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 80px; }
.ep-site.ep-home .ep-about-copy { padding-block: 65px; }
.ep-site.ep-home .ep-about h2 { max-width: 550px; }
.ep-site.ep-home .ep-about .ep-eyebrow::after { content: ''; display: inline-block; width: 44px; height: 1px; margin-left: 18px; vertical-align: middle; background: #cf788b; }
.ep-site.ep-home .ep-about-copy > p:not(.ep-eyebrow) { color: #e4d6da; }
.ep-site.ep-home .ep-about .ep-button { margin-top: 10px; }
.ep-site.ep-home .ep-about-portrait { align-self: end; padding-top: 24px; }
.ep-site.ep-home .ep-about-portrait img { max-height: 450px; width: auto; margin-inline: auto; filter: saturate(.6); }
.ep-site.ep-home .ep-reviews-mount { min-width: 0; }
.ep-site.ep-home .ep-reviews-frame { display: block; width: 100%; height: 500px; border: 0; }
.ep-site.ep-home .ep-practice-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ep-site.ep-home .ep-practice-links li { border-bottom: 1px solid #d9d9db; }
.ep-site.ep-home .ep-practice-links a { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 20px; height: 100%; font: 19px/1.4 var(--ep-serif); }
.ep-site.ep-home .ep-practice-links .ep-icon { color: var(--ep-burgundy); width: 18px; }
.ep-site.ep-home .ep-practice-links a:hover { color: var(--ep-burgundy); background: #eceaec; }
.ep-site.ep-home .ep-callout { background: #eae8e7; text-align: center; padding-block: 45px; }
.ep-site.ep-home .ep-callout h2 { font-size: 29px; max-width: 700px; margin: 14px auto; }
.ep-site.ep-home .ep-callout-icon .ep-icon { width: 32px; height: 32px; color: var(--ep-burgundy); }
.ep-site.ep-home .ep-callout p { font-size: 14px; margin: 0; }
.ep-site.ep-home .ep-callout a { color: var(--ep-burgundy); white-space: nowrap; }
.ep-site.ep-home .ep-contact { background: linear-gradient(120deg, #101417, #1a1e22); color: white; }
.ep-site.ep-home .ep-contact .ep-section-heading > p { color: #c6c7cb; }
.ep-site.ep-home .ep-contact .ep-section-heading .ep-eyebrow { color: #e18b9d; }
.ep-site.ep-home .ep-contact .ep-section-heading h2::after { background: #ba3c56; }
.ep-site.ep-home .ep-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 55px; }
.ep-site.ep-home .ep-contact-cards > a { text-align: center; border: 1px solid var(--ep-line); border-radius: 3px; padding: 28px 16px; background: #ffffff02; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; }
.ep-site.ep-home .ep-contact-cards > a:hover { border-color: #a2475a; }
.ep-site.ep-home .ep-contact-cards .ep-icon { color: #cd3553; width: 32px; height: 32px; margin-bottom: 7px; }
.ep-site.ep-home .ep-contact-cards strong { font-size: 13px; color: #c7c9cd; }
.ep-site.ep-home .ep-contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 65px; }
.ep-site.ep-home .ep-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ep-site.ep-home .ep-form > p { margin: 0; }
.ep-site.ep-home .ep-form > p:nth-of-type(5), .ep-site.ep-home .ep-form > p:nth-of-type(6), .ep-site.ep-home .ep-form .wpcf7-response-output { grid-column: 1 / -1; }
.ep-site.ep-home .ep-contact-aside { position: relative; background: #171b20; border: 1px solid var(--ep-line); padding: 35px; isolation: isolate; align-self: start; }
.ep-site.ep-home .ep-contact-photo { position: absolute; right: 0; bottom: 0; width: 53%; height: 100%; object-fit: cover; object-position: top; z-index: -1; opacity: .12; }
.ep-site.ep-home .ep-contact-aside h3 { font-size: 28px; }
.ep-site.ep-home .ep-contact-aside a { display: flex; align-items: center; gap: 12px; font-size: 13px; padding-block: 10px; }
.ep-site.ep-home .ep-contact-aside a:hover { text-decoration: underline; }
.ep-site.ep-home .ep-contact-aside .ep-icon { width: 20px; height: 20px; color: #d7778b; }
.ep-site.ep-home .ep-viber { margin-block: 8px; scroll-margin-top: 20px; }
.ep-site.ep-home .ep-viber summary { font-size: 13px; padding-block: 10px; }
.ep-site.ep-home .ep-viber summary .ep-icon { margin-right: 8px; }
.ep-site.ep-home .ep-viber p { font-size: 12px; color: #d4d6d9; margin-block: 10px; }
.ep-site.ep-home .ep-viber p a { display: inline; font-size: inherit; text-decoration: underline; }
@media (max-width: 1023px) {
  .ep-site.ep-home .ep-intro-grid { gap: 35px; }
  .ep-site.ep-home .ep-about-grid { gap: 35px; }
  .ep-site.ep-home .ep-contact-layout { gap: 30px; grid-template-columns: 1.2fr 1fr; }
  .ep-site.ep-home .ep-practice-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-site.ep-home .ep-contact-cards { gap: 12px; }
}
@media (max-width: 767px) {
  .ep-site.ep-home .ep-hero { min-height: 540px; }
  .ep-site.ep-home .ep-hero-content { padding-block: 65px; }
  .ep-site.ep-home .ep-hero-content > p:not(.ep-eyebrow) { max-width: 340px; font-size: 16px; }
  .ep-site.ep-home .ep-hero::before { background: linear-gradient(90deg, #0c1013f5, #0c1013ad 60%, #0c10134d), linear-gradient(0deg, #0c1013b3, transparent); }
  .ep-site.ep-home .ep-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .ep-site.ep-home .ep-intro-grid h2 { font-size: 24px; }
  .ep-site.ep-home .ep-about-grid { grid-template-columns: 1fr; gap: 0; }
  .ep-site.ep-home .ep-about-copy { padding-block: 48px 15px; }
  .ep-site.ep-home .ep-about-portrait { padding-top: 0; }
  .ep-site.ep-home .ep-about-portrait img { max-height: 320px; }
  .ep-site.ep-home .ep-practice-links a { padding: 16px 10px; font-size: 17px; }
  .ep-site.ep-home .ep-contact-cards { grid-template-columns: 1fr; gap: 12px; margin-bottom: 35px; }
  .ep-site.ep-home .ep-contact-cards > a { padding-block: 22px; }
  .ep-site.ep-home .ep-contact-layout { grid-template-columns: 1fr; }
  .ep-site.ep-home .ep-contact-aside { padding: 25px; }
  .ep-site.ep-home .ep-form { grid-template-columns: 1fr; }
  .ep-site.ep-home .ep-form > p { grid-column: 1; }
}
/* Content pages share the existing Executive header, footer and controls. */
.ep-site.ep-inner .ep-about-document { padding-block: 60px 70px; }
.ep-site.ep-inner .ep-about-introduction { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 65px; max-width: 1060px; margin-inline: auto; }
.ep-site.ep-inner .ep-about-introduction .ep-prose { font-size: 17px; }
.ep-site.ep-inner .ep-about-introduction figure { margin: 0; }
.ep-site.ep-inner .ep-about-introduction figure img { width: 100%; height: auto; border-radius: 3px; }
.ep-site.ep-inner .ep-office-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1060px; margin: 55px auto 0; align-items: center; }
.ep-site.ep-inner .ep-office-gallery figure { margin: 0; background: #e9e7e7; border: 1px solid #ddd8d8; border-radius: 3px; overflow: hidden; }
.ep-site.ep-inner .ep-office-gallery img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .ep-site.ep-inner .ep-about-introduction { grid-template-columns: minmax(0, 1fr) 220px; gap: 35px; }
}
@media (max-width: 767px) {
  .ep-site.ep-inner .ep-about-document { padding-block: 38px 45px; }
  .ep-site.ep-inner .ep-about-introduction { grid-template-columns: 1fr; gap: 30px; }
  .ep-site.ep-inner .ep-about-introduction .ep-prose { font-size: 15px; }
  .ep-site.ep-inner .ep-about-introduction figure { max-width: 280px; margin-inline: auto; }
  .ep-site.ep-inner .ep-office-gallery { grid-template-columns: 1fr; margin-top: 35px; gap: 20px; }
}
/* V4 contact pages: independent scope within the shared Executive system. */
.ep-site.ep-contact-page .ep-contact-information { padding-block: 55px; }
.ep-site.ep-contact-page .ep-contact-information h2 { font-size: 32px; }
.ep-site.ep-contact-page .ep-contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 35px; }
.ep-site.ep-contact-page .ep-contact-method { background: white; border: 1px solid #ded9da; border-top: 3px solid var(--ep-burgundy); border-radius: 3px; padding: 25px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ep-site.ep-contact-page .ep-contact-method .ep-icon { color: var(--ep-burgundy); width: 26px; height: 26px; }
.ep-site.ep-contact-page .ep-contact-method span { color: #65666c; font-size: 12px; }
.ep-site.ep-contact-page .ep-contact-method strong { font-size: 17px; }
.ep-site.ep-contact-page .ep-contact-method:hover { border-color: var(--ep-burgundy); }
.ep-site.ep-contact-page .ep-contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.ep-site.ep-contact-page .ep-contact-meta h3 { font-size: 24px; }
.ep-site.ep-contact-page .ep-contact-meta p { font-size: 14px; color: #4d5055; margin-bottom: 12px; }
.ep-site.ep-contact-page .ep-contact-socials { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.ep-site.ep-contact-page .ep-contact-socials a { display: inline-flex; gap: 8px; align-items: center; }
.ep-site.ep-contact-page .ep-contact-socials .ep-icon { width: 20px; height: 20px; color: var(--ep-burgundy); }
.ep-site.ep-contact-page .ep-contact-socials a:hover { text-decoration: underline; }
.ep-site.ep-contact-page .ep-viber { margin-top: 18px; font-size: 13px; }
.ep-site.ep-contact-page .ep-viber summary { padding-block: 8px; }
.ep-site.ep-contact-page .ep-viber a { color: var(--ep-burgundy); text-decoration: underline; }
.ep-site.ep-contact-page .ep-locations { background: #eeebeb; padding-block: 50px; }
.ep-site.ep-contact-page .ep-locations > .ep-container > h2 { font-size: 32px; margin-bottom: 28px; }
.ep-site.ep-contact-page .ep-location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ep-site.ep-contact-page .ep-location { background: white; border: 1px solid #d9d3d4; border-radius: 3px; overflow: hidden; min-width: 0; }
.ep-site.ep-contact-page .ep-location-copy { padding: 28px; }
.ep-site.ep-contact-page .ep-location h3 { font-size: 28px; margin-bottom: 20px; }
.ep-site.ep-contact-page .ep-location address { font-size: 14px; line-height: 1.8; min-height: 130px; }
.ep-site.ep-contact-page .ep-location address p { margin-bottom: 12px; }
.ep-site.ep-contact-page .ep-map { aspect-ratio: 4 / 3; background: #e1e3e2; border-block: 1px solid #ded9da; }
.ep-site.ep-contact-page .ep-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ep-site.ep-contact-page .ep-map-link { display: block; margin: 0; padding: 18px 28px; color: var(--ep-burgundy); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ep-site.ep-contact-page .ep-contact-form-section { padding-block: 60px 70px; }
.ep-site.ep-contact-page .ep-contact-form-panel { max-width: 820px; margin-inline: auto; background: white; border: 1px solid #ded9da; border-top: 3px solid var(--ep-burgundy); border-radius: 3px; padding: 38px; }
.ep-site.ep-contact-page .ep-contact-form-panel h2 { font-size: 32px; }
.ep-site.ep-contact-page .ep-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ep-site.ep-contact-page .ep-form > p { margin: 0; }
.ep-site.ep-contact-page .ep-form > p:nth-of-type(5), .ep-site.ep-contact-page .ep-form > p:nth-of-type(6), .ep-site.ep-contact-page .wpcf7-response-output { grid-column: 1 / -1; }
.ep-site.ep-contact-page .ep-form label.ep-field-label { color: #3e4146; }
.ep-site.ep-contact-page .ep-form label.ep-field-label span { color: var(--ep-burgundy); }
.ep-site.ep-contact-page .ep-form input:not([type=submit]), .ep-site.ep-contact-page .ep-form textarea { background: #fafafa; border-color: #bcb8bb; color: var(--ep-ink); }
.ep-site.ep-contact-page .ep-form input::placeholder, .ep-site.ep-contact-page .ep-form textarea::placeholder { color: #74767b; }
.ep-site.ep-contact-page .ep-form .wpcf7-response-output { background: #f7f7f7; }
@media (max-width: 900px) {
  .ep-site.ep-contact-page .ep-contact-methods { gap: 12px; }
  .ep-site.ep-contact-page .ep-contact-method { padding: 20px 16px; }
  .ep-site.ep-contact-page .ep-contact-method strong { font-size: 14px; }
  .ep-site.ep-contact-page .ep-location-grid { gap: 20px; }
}
@media (max-width: 767px) {
  .ep-site.ep-contact-page .ep-contact-information, .ep-site.ep-contact-page .ep-locations { padding-block: 38px; }
  .ep-site.ep-contact-page .ep-contact-methods, .ep-site.ep-contact-page .ep-contact-meta, .ep-site.ep-contact-page .ep-location-grid, .ep-site.ep-contact-page .ep-form { grid-template-columns: 1fr; }
  .ep-site.ep-contact-page .ep-contact-method strong { font-size: 17px; }
  .ep-site.ep-contact-page .ep-contact-meta { gap: 24px; }
  .ep-site.ep-contact-page .ep-location address { min-height: 0; }
  .ep-site.ep-contact-page .ep-location-copy { padding: 24px; }
  .ep-site.ep-contact-page .ep-contact-form-section { padding-block: 38px 45px; }
  .ep-site.ep-contact-page .ep-contact-form-panel { padding: 25px 20px; }
}

/* Google Reviews → Legal Practices spacing */
#google-reviews {
    padding-bottom: 1px;
}

#google-reviews + #content-section-4 {
    padding-top: 20px;
}
