:root {
  --ecs-navy: #003756;
  --ecs-blue: #056aae;
  --ecs-sky: #eaf5fb;
  --ecs-orange: #e0060a;
  --ecs-gold: #ba955c;
  --ecs-ink: #223645;
  --ecs-muted: #526575;
  --ecs-line: #d9e5ec;
  --ecs-soft: #f4f8fb;
  --ecs-white: #ffffff;
}

html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: "Manrope", sans-serif; color: var(--ecs-ink); }
body.ecs-content-page { display: flex; min-height: 100vh; flex-direction: column; }

body.page-id-1892:not(.ecs-content-page) { display: flex; min-height: 100vh; flex-direction: column; }
body.page-id-1892:not(.ecs-content-page) .site-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 64px !important;
  background: var(--ecs-soft);
}
body.page-id-1892:not(.ecs-content-page) .page-content {
  width: min(720px, 100%);
  margin: 56px auto 0 !important;
  padding: 0 24px !important;
}
body.page-id-1892:not(.ecs-content-page) .page-header {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: 600px;
  margin: 0 !important;
  padding: 48px 24px !important;
  place-items: center;
  overflow: hidden;
  background: url("/wp-content/uploads/2026/10/Warm-Garden-Caregiving-Moment-1.png") center center / cover no-repeat;
}
body.page-id-1892:not(.ecs-content-page) .page-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}
body.page-id-1892:not(.ecs-content-page) .entry-title {
  margin: 0;
  color: var(--ecs-white);
  font-family: "Inter", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: center;
}
body.page-id-1892:not(.ecs-content-page) .post-password-form {
  margin: 0;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--ecs-line);
  border-radius: 16px;
  background: var(--ecs-white);
  box-shadow: 0 16px 40px rgba(0, 55, 86, .09);
  color: var(--ecs-ink);
  font-family: "Manrope", sans-serif;
}
body.page-id-1892:not(.ecs-content-page) .post-password-form p { margin: 0; line-height: 1.7; }
body.page-id-1892:not(.ecs-content-page) .post-password-form p + p { margin-top: 20px; }
body.page-id-1892:not(.ecs-content-page) .post-password-form input[type="password"] {
  width: min(100%, 360px);
  min-height: 48px;
  margin: 8px 8px 0 0;
  padding: 10px 12px;
  border: 1px solid #b9cbd7;
  border-radius: 8px;
}
body.page-id-1892:not(.ecs-content-page) .post-password-form input[type="submit"] {
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ecs-blue);
  color: var(--ecs-white);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.ecs-page { width: 100%; color: var(--ecs-ink); font-family: "Manrope", sans-serif; }
.ecs-content-page .page-header { display: none; }
.ecs-content-page .site-main,
.ecs-content-page #content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ecs-content-page .page-content { width: 100%; margin: 0 !important; padding: 0 !important; }
.ecs-page *, .ecs-form-wrap * { box-sizing: border-box; }
.ecs-shell { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.ecs-section { padding: 68px 0; }
.ecs-section + .ecs-section { border-top: 1px solid var(--ecs-line); }
.ecs-section-soft { background: var(--ecs-soft); }
.ecs-hero { position: relative; isolation: isolate; display: grid; min-height: 600px; overflow: hidden; place-items: center; background: url("../../../uploads/2026/07/Group-34.jpg") center center / cover no-repeat; color: var(--ecs-white); padding: 48px 0; }
.ecs-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(0, 0, 0, .5); pointer-events: none; }
.ecs-hero .ecs-shell { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.ecs-eyebrow { margin: 20px 0 12px; margin-top: 20px; color: #000; font-family: "Inter", sans-serif; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.ecs-eyebrow::before { content: ""; display: inline-block; width: 30px; height: 3px; margin: 0 10px 3px 0; background: var(--ecs-orange); border-radius: 2px; }
.ecs-hero h1 { color: var(--ecs-white); margin: 0; max-width: 1100px; font-family: "Inter", sans-serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 300; letter-spacing: 0; line-height: 1.18; text-align: center; text-wrap: balance; }
.ecs-page-intro { padding: 64px 0 0; background: var(--ecs-white); }
.ecs-page-intro h2 { max-width: 940px; }
.ecs-page-intro p { max-width: 900px; margin: 0; color: var(--ecs-muted); font-size: 1.18rem; }
.ecs-page-intro + .ecs-section { padding-top: 42px; border-top: 0; }
.ecs-page h2 { color: var(--ecs-navy); font-family: "Manrope", sans-serif; font-size: clamp(1.7rem, 2.7vw, 2.5rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.18; margin: 40px 0 18px; }
.ecs-page h3 { color: var(--ecs-navy); font-family: "Manrope", sans-serif; font-size: 1.22rem; font-weight: 750; line-height: 1.3; margin: 0 0 10px; }
.ecs-page p, .ecs-page li { font-size: 1.02rem; line-height: 1.72; }
.ecs-lead { max-width: 880px; color: var(--ecs-muted); font-size: 1.18rem !important; margin-top: 40px; }
.ecs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.ecs-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecs-card { position: relative; background: var(--ecs-white); border: 1px solid var(--ecs-line); border-radius: 16px; padding: 28px; box-shadow: 0 14px 34px rgba(0, 55, 86, .08); transition: transform .3s ease, box-shadow .3s ease; }
.ecs-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 55, 86, .14); }
.ecs-card p:last-child, .ecs-card ul:last-child { margin-bottom: 0; }
.ecs-card-accent { border-top: 5px solid var(--ecs-orange); }

/* Card-level icon badge: <span class="ecs-card-icon ecs-card-icon--shield">, already
   present in the page content with the right icon shape per variant — this just
   gives it the visual badge treatment (was completely unstyled before). */
.ecs-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ecs-blue), var(--ecs-navy));
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px rgba(5, 106, 174, .28);
  flex: 0 0 auto;
  transition: transform .3s ease;
}
.ecs-card-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ecs-card:hover .ecs-card-icon { transform: scale(1.08) rotate(-2deg); }
.ecs-card-icon--heart, .ecs-card-icon--phone, .ecs-card-icon--work { background: linear-gradient(135deg, var(--ecs-orange), #a70408); box-shadow: 0 10px 22px rgba(224, 6, 10, .26); }
.ecs-card-icon--message, .ecs-card-icon--file { background: linear-gradient(135deg, var(--ecs-gold), #8f7140); box-shadow: 0 10px 22px rgba(186, 149, 92, .3); }
.ecs-card-icon--shield, .ecs-card-icon--people, .ecs-card-icon--pin { background: linear-gradient(135deg, var(--ecs-blue), var(--ecs-navy)); box-shadow: 0 10px 22px rgba(5, 106, 174, .28); }
.ecs-card-icon--clipboard { background: linear-gradient(135deg, var(--ecs-gold), #8f7140); box-shadow: 0 10px 22px rgba(186, 149, 92, .3); }
.ecs-card-icon--chart { background: linear-gradient(135deg, var(--ecs-blue), var(--ecs-navy)); box-shadow: 0 10px 22px rgba(5, 106, 174, .28); }

/* Heading-level icon: <span class="ecs-heading-icon ecs-heading-icon--shield"> sits
   inline right before the heading text — smaller, vertically aligned with the line. */
.ecs-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ecs-blue), var(--ecs-navy));
  color: #fff;
  margin: 0 10px -6px 0;
  box-shadow: 0 6px 14px rgba(5, 106, 174, .26);
  flex: 0 0 auto;
  vertical-align: middle;
}
.ecs-heading-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ecs-heading-icon--heart, .ecs-heading-icon--phone { background: linear-gradient(135deg, var(--ecs-orange), #a70408); box-shadow: 0 6px 14px rgba(224, 6, 10, .24); }
.ecs-heading-icon--message, .ecs-heading-icon--file, .ecs-heading-icon--spark { background: linear-gradient(135deg, var(--ecs-gold), #8f7140); box-shadow: 0 6px 14px rgba(186, 149, 92, .28); }
.ecs-heading-icon--shield, .ecs-heading-icon--pin { background: linear-gradient(135deg, var(--ecs-blue), var(--ecs-navy)); box-shadow: 0 6px 14px rgba(5, 106, 174, .26); }
.ecs-heading-icon--checklist, .ecs-heading-icon--scales { background: linear-gradient(135deg, var(--ecs-gold), #8f7140); box-shadow: 0 6px 14px rgba(186, 149, 92, .28); }
.ecs-heading-icon--arrow { background: linear-gradient(135deg, var(--ecs-blue), var(--ecs-navy)); box-shadow: 0 6px 14px rgba(5, 106, 174, .26); }

/* Keep heading badges in a fixed first-line column. Inline badges used to
   drift into the text when a title wrapped onto a second line. */
.ecs-page h1:has(> .ecs-heading-icon),
.ecs-page h2:has(> .ecs-heading-icon),
.ecs-page h3:has(> .ecs-heading-icon) {
  position: relative;
  padding-left: 40px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.16;
}
.ecs-page h1 > .ecs-heading-icon,
.ecs-page h2 > .ecs-heading-icon,
.ecs-page h3 > .ecs-heading-icon {
  position: absolute;
  left: 0;
  top: .14em;
  width: 27px;
  height: 27px;
  margin: 0;
  vertical-align: baseline;
}
.ecs-page h1 > .ecs-heading-icon svg,
.ecs-page h2 > .ecs-heading-icon svg,
.ecs-page h3 > .ecs-heading-icon svg { width: 16px; height: 16px; }

/* The CARF hero title is cleaner without a badge. */
body.page-id-2116 .ecs-page-intro h1:has(> .ecs-heading-icon),
body.page-id-2116 .ecs-page-intro h2:has(> .ecs-heading-icon) { padding-left: 0; }
body.page-id-2116 .ecs-page-intro h1 > .ecs-heading-icon,
body.page-id-2116 .ecs-page-intro h2 > .ecs-heading-icon { display: none; }

/* The Careers hero heading uses no badge. */
body.page-id-910 .ecs-page-intro h1:has(> .ecs-heading-icon),
body.page-id-910 .ecs-page-intro h2:has(> .ecs-heading-icon) { padding-left: 0; }
body.page-id-910 .ecs-page-intro h1 > .ecs-heading-icon,
body.page-id-910 .ecs-page-intro h2 > .ecs-heading-icon { display: none; }

/* A single heading badge per heading; prevent inherited/widget styles from
   painting an additional pseudo-element beside the authored icon. */
.ecs-page h1:has(> .ecs-heading-icon)::before,
.ecs-page h2:has(> .ecs-heading-icon)::before,
.ecs-page h3:has(> .ecs-heading-icon)::before { content: none; }

/* Elementor's Services page contains full-bleed media between content cards.
   Constrain those assets to the content column so the page cannot overflow. */
body.page-id-909 .site-main,
body.page-id-909 #content,
body.page-id-909 .page-content { width: 100% !important; max-width: none !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
body.page-id-909 .page-header { display: none !important; }
body.page-id-909 .page-content > main { width: 100%; max-width: none; color: var(--ecs-ink); font-family: "Manrope", sans-serif; }
body.page-id-909 .page-content > main > section { box-sizing: border-box; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 64px 0; }
body.page-id-909 .page-content > main > section + section { border-top: 1px solid var(--ecs-line); }
body.page-id-909 .page-content > main > section:first-child { width: 100%; padding: 58px 32px 30px; border: 0; background: var(--ecs-soft); text-align: center; }
body.page-id-909 .page-content > main > section:first-child h1 { max-width: 1200px; margin: 0 auto; color: var(--ecs-navy); font-family: "Inter", sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; }
body.page-id-909 .page-content > main > section:nth-of-type(2) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
body.page-id-909 .page-content > main > section:nth-of-type(2) figure { grid-column: 1; grid-row: 1 / span 2; }
body.page-id-909 .page-content > main > section:nth-of-type(2) h2 { margin: 0 0 14px; color: var(--ecs-navy); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; }
body.page-id-909 .page-content > main > section:nth-of-type(2) p { margin: 0; color: var(--ecs-muted); font-size: 1.1rem; line-height: 1.75; }
body.page-id-909 .page-content > main > section:nth-of-type(3) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
body.page-id-909 .page-content > main > section:nth-of-type(3) figure { grid-column: 1 / -1; }
body.page-id-909 .page-content > main > section:nth-of-type(3) article,
body.page-id-909 .page-content > main > section:nth-of-type(4) article { min-width: 0; padding: 26px; border: 1px solid var(--ecs-line); border-radius: 16px; background: var(--ecs-white); box-shadow: 0 12px 30px rgba(0,55,86,.07); }
body.page-id-909 .page-content > main > section:nth-of-type(3) article > p:first-child,
body.page-id-909 .page-content > main > section:nth-of-type(4) > p:first-of-type { margin: 0 0 8px; color: var(--ecs-blue); font-family: "Inter", sans-serif; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.page-id-909 .page-content > main > section:nth-of-type(3) h2,
body.page-id-909 .page-content > main > section:nth-of-type(4) h2 { margin: 0 0 22px; color: var(--ecs-navy); font-size: clamp(1.55rem, 2.3vw, 2.1rem); line-height: 1.2; }
body.page-id-909 .page-content > main > section:nth-of-type(3) h3,
body.page-id-909 .page-content > main > section:nth-of-type(4) h3 { margin: 20px 0 7px; color: var(--ecs-navy); font-size: 1.08rem; line-height: 1.3; }
body.page-id-909 .page-content > main > section:nth-of-type(3) p,
body.page-id-909 .page-content > main > section:nth-of-type(4) p,
body.page-id-909 .page-content > main > section:nth-of-type(3) li { color: var(--ecs-muted); font-size: .98rem; line-height: 1.7; }
body.page-id-909 .page-content > main > section:nth-of-type(4) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
body.page-id-909 .page-content > main > section:nth-of-type(4) figure { grid-column: 1 / -1; }
body.page-id-909 .page-content > main > section:nth-of-type(4) > p:first-of-type,
body.page-id-909 .page-content > main > section:nth-of-type(4) > h2 { grid-column: 1 / -1; }
body.page-id-909 .page-content > main figure { box-sizing: border-box; min-width: 0; width: 100%; margin: 0; overflow: hidden; border-radius: 18px; background: var(--ecs-soft); color: var(--ecs-muted); font-size: .9rem; }
body.page-id-909 .page-content > main figure img { display: block; width: 100%; max-width: 100%; height: clamp(260px, 38vw, 440px); object-fit: cover; }
body.page-id-909 .page-content > main figure figcaption { padding: 10px 14px; }
body.page-id-909 .page-content > main figure:not(:has(figcaption)) { padding-bottom: 12px; }
body.page-id-909 .page-content > main figure:not(:has(figcaption)) img { margin-bottom: 10px; }
body.page-id-909 .page-content > main figure:not(:has(figcaption)) { text-indent: 14px; }
body.page-id-909 .page-content > main > section:nth-of-type(4) > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 8px 10px 0 0; padding: 12px 24px; border-radius: 999px; background: var(--ecs-blue); color: #fff; font-family: "Inter", sans-serif; font-weight: 800; text-decoration: none; }
body.page-id-909 .page-content > main > section:nth-of-type(4) > a:hover { background: var(--ecs-orange); }
body.page-id-909 .page-content > main p,
body.page-id-909 .page-content > main li { line-height: 1.7; }
@media (max-width: 760px) {
  body.page-id-909 .page-content > main > section { width: min(100% - 32px, 600px); padding: 42px 0; }
  body.page-id-909 .page-content > main > section:first-child { width: 100%; padding: 42px 16px 22px; }
  body.page-id-909 .page-content > main > section:nth-of-type(2) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body.page-id-909 .page-content > main > section:nth-of-type(2) figure { grid-row: auto; }
  body.page-id-909 .page-content > main > section:nth-of-type(3),
  body.page-id-909 .page-content > main > section:nth-of-type(4) { grid-template-columns: minmax(0, 1fr); }
  body.page-id-909 .page-content > main > section:nth-of-type(3) figure,
  body.page-id-909 .page-content > main > section:nth-of-type(4) figure { grid-column: auto; }
  body.page-id-909 .page-content > main figure img { height: 260px; }
}

/* The Services HTML is rendered inside Elementor's HTML widget, not directly
   inside .page-content. Match its real wrapper so the page layout rules apply. */
body.page-id-909 .elementor-page, body.page-id-909 .elementor-widget-html,
body.page-id-909 .elementor-widget-html > .elementor-widget-container { width: 100%; max-width: 100%; min-width: 0; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main { width: 100%; max-width: none; color: var(--ecs-ink); font-family: "Manrope", sans-serif; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section { box-sizing: border-box; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 64px 0; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section + section { border-top: 1px solid var(--ecs-line); }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:first-child { width: 100%; padding: 54px 32px 28px; border: 0; background: var(--ecs-soft); text-align: center; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:first-child h1 { margin: 0 auto; color: var(--ecs-navy); font: 800 clamp(2.4rem, 5vw, 4rem)/1.1 "Inter", sans-serif; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(2) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(2) figure { grid-column: 1; grid-row: 1 / span 2; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(2) h2 { margin: 0 0 14px; color: var(--ecs-navy); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(3),
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(3) > figure,
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > figure,
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > p:first-of-type,
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > h2 { grid-column: 1 / -1; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(3) article,
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) article { min-width: 0; padding: 26px; border: 1px solid var(--ecs-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(0,55,86,.07); }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main h2 { color: var(--ecs-navy); line-height: 1.2; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main h3 { margin: 20px 0 7px; color: var(--ecs-navy); font-size: 1.08rem; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main p,
body.page-id-909 .elementor-widget-html .elementor-widget-container > main li { color: var(--ecs-muted); line-height: 1.7; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main figure { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; overflow: hidden; border-radius: 18px; background: var(--ecs-soft); color: var(--ecs-muted); text-indent: 14px; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main figure img { display: block; width: 100%; max-width: 100%; height: clamp(260px, 38vw, 440px); margin-bottom: 10px; object-fit: cover; }
body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > a { display: inline-flex; align-items: center; min-height: 48px; margin: 8px 10px 0 0; padding: 12px 24px; border-radius: 999px; background: var(--ecs-blue); color: #fff; font-weight: 800; text-decoration: none; }
@media (max-width: 760px) {
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section { width: min(100% - 32px, 600px); padding: 42px 0; }
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:first-child { width: 100%; padding: 42px 16px 22px; }
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(2) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(2) figure { grid-row: auto; }
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(3),
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) { grid-template-columns: minmax(0, 1fr); }
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(3) > figure,
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > figure,
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > p:first-of-type,
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main > section:nth-of-type(4) > h2 { grid-column: auto; }
  body.page-id-909 .elementor-widget-html .elementor-widget-container > main figure img { height: 260px; }
}

.ecs-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.ecs-card-head .ecs-card-icon { margin-bottom: 0; }
.ecs-card-head h3 { margin-bottom: 0; }

.ecs-list { list-style: none; padding-left: 0; }
.ecs-list li { margin: 0; padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--ecs-line); }
.ecs-list li:last-child { border-bottom: none; }
.ecs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ecs-sky);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23056aae' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 10 18 19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.ecs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px !important; border: 0 !important; border-radius: 999px !important; background: var(--ecs-blue) !important; background-color: var(--ecs-blue) !important; color: var(--ecs-white) !important; font-family: "Inter", sans-serif; font-weight: 800 !important; text-decoration: none !important; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.ecs-button:hover, .ecs-button:focus { background: var(--ecs-orange) !important; background-color: var(--ecs-orange) !important; color: var(--ecs-white) !important; transform: translateY(-1px); }
.ecs-button-secondary { background: var(--ecs-navy) !important; background-color: var(--ecs-navy) !important; color: var(--ecs-white) !important; }
.ecs-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ecs-eeo-block { text-align: center; }
.ecs-eeo-block .ecs-actions { justify-content: center; }
.ecs-meta { display: grid; gap: 10px; margin: 20px 0 0; }
.ecs-meta strong { color: var(--ecs-navy); }
.ecs-service-area { margin-top: 8px; }
.ecs-service-area-heading { max-width: none !important; margin-bottom: 12px !important; color: #071f4f !important; font-size: clamp(2rem, 4vw, 3.75rem) !important; font-weight: 800 !important; letter-spacing: -.04em !important; text-align: center; }
.ecs-service-area-intro { max-width: 850px; margin: 0 auto 36px; color: var(--ecs-muted); text-align: center; }
.ecs-service-area-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(285px, .55fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--ecs-line); border-radius: 24px; background: var(--ecs-white); box-shadow: 0 18px 44px rgba(9, 42, 89, .1); }
.ecs-region-map-wrap { min-width: 0; }
.ecs-region-map { display: block; width: 100%; height: auto; max-height: 820px; overflow: visible; }
.ecs-map-region { stroke: #0b2637; stroke-width: 3.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ecs-region-1 { fill: #1596b6; }
.ecs-region-2 { fill: #5f9f3f; }
.ecs-region-3 { fill: #ff7b17; }
.ecs-region-6 { fill: #6d4ca3; }
.ecs-region-muted { fill: #d2d4d6; }
.ecs-county-lines path { fill: none; stroke: rgba(255, 255, 255, .72); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ecs-region-divider { fill: none; stroke: #0b2637; stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ecs-map-label rect { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.ecs-map-label-light rect { fill: rgba(0, 55, 86, .78); }
.ecs-map-label-muted rect { fill: rgba(255, 255, 255, .72); }
.ecs-map-label text { fill: #fff; font-family: "Inter", sans-serif; font-size: 18px; font-weight: 700; }
.ecs-map-label-title { font-size: 25px; font-weight: 800; }
.ecs-map-label-muted text { fill: #44515c; }
.ecs-map-legend { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.ecs-map-legend li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; margin: 0; }
.ecs-region-swatch { display: block; width: 48px; height: 48px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 31, 63, .07); }
.ecs-legend-region-1 .ecs-region-swatch { background: #1596b6; }
.ecs-legend-region-2 .ecs-region-swatch { background: #5f9f3f; }
.ecs-legend-region-3 .ecs-region-swatch { background: #ff7b17; }
.ecs-legend-region-4 .ecs-region-swatch,
.ecs-legend-region-5 .ecs-region-swatch { background: #d2d4d6; }
.ecs-legend-region-6 .ecs-region-swatch { background: #6d4ca3; }
.ecs-map-legend strong,
.ecs-map-legend small,
.ecs-map-legend em { display: block; }
.ecs-map-legend strong { margin-top: -2px; color: #071f4f; font-family: "Inter", sans-serif; font-size: 1.25rem; font-style: normal; font-weight: 800; line-height: 1.2; }
.ecs-map-legend small { margin-top: 3px; color: #1c3143; font-size: 1rem; font-weight: 650; line-height: 1.32; }
.ecs-map-legend em { margin-top: 2px; color: #596874; font-size: .9rem; font-style: normal; font-weight: 600; line-height: 1.3; }
.ecs-logo { width: min(240px, 70vw); height: auto; display: block; margin: 0 auto 24px; }
.ecs-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 42px; align-items: start; }
body.page-id-760 .ecs-shell.ecs-split { margin-bottom: 50px; }
.ecs-step { display: grid !important; grid-template-columns: 54px minmax(0, 1fr) !important; gap: 18px; align-items: start; width: 100% !important; margin: 16px 0; padding: 24px; border: 1px solid var(--ecs-line); border-radius: 14px; background: var(--ecs-white); box-shadow: 0 10px 26px rgba(0, 55, 86, .06); }
.ecs-step-number { width: 54px; height: 54px; border-radius: 50%; background: var(--ecs-orange); color: var(--ecs-white); display: grid; place-items: center; font-family: "Inter", sans-serif; font-weight: 900; }
.ecs-step > p:empty { display: none !important; }
.ecs-step > .ecs-step-number { grid-column: 1; grid-row: 1; }
.ecs-step > div { grid-column: 2; grid-row: 1; width: auto !important; min-width: 0 !important; max-width: none !important; }
.ecs-step > div h3 { margin-top: 0; }
.ecs-step > div p:last-child { margin-bottom: 0; }
.ecs-notice { border-left: 5px solid var(--ecs-orange); padding: 18px 22px; background: #fff5f5; color: var(--ecs-ink); }
.ecs-faq-group { margin: 30px 0 44px; }
.ecs-faq { border: 1px solid var(--ecs-line); border-radius: 12px; background: var(--ecs-white); margin: 12px 0; overflow: hidden; }
.ecs-faq summary { cursor: pointer; padding: 18px 22px; color: var(--ecs-navy); font-weight: 800; list-style-position: inside; }
.ecs-faq[open] summary { background: var(--ecs-sky); }
.ecs-faq-body { padding: 0 22px 20px; }
.ecs-form-wrap { background: var(--ecs-white); border: 1px solid var(--ecs-line); border-radius: 16px; padding: clamp(24px, 4vw, 42px); box-shadow: 0 16px 40px rgba(0, 55, 86, .09); margin-top: 30px; font-family: "Manrope", sans-serif; }
.ecs-form-wrap h2 { margin-top: 0; }
.ecs-form-notice { color: var(--ecs-muted); font-size: .94rem !important; border-left: 4px solid var(--ecs-orange); padding-left: 14px; }
.ecs-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.ecs-field-wide { grid-column: 1 / -1; }
.ecs-field label { display: block; margin-bottom: 7px; color: var(--ecs-navy); font-weight: 750; }
.ecs-field input, .ecs-field select, .ecs-field textarea { width: 100%; border: 1px solid #bccbd8; border-radius: 8px; background: var(--ecs-white); color: var(--ecs-ink); padding: 12px 14px; font: inherit; }
.ecs-field textarea { resize: vertical; min-height: 150px; }
.ecs-field input:focus, .ecs-field select:focus, .ecs-field textarea:focus { outline: 3px solid rgba(13, 95, 145, .2); border-color: var(--ecs-blue); }
.ecs-form-message { border-radius: 8px; padding: 14px 16px; margin: 16px 0; font-weight: 700; }
.ecs-form-success { background: #e8f7ec; color: #17632b; }
.ecs-form-error { background: #fff0f0; color: #8a1f1f; }
.ecs-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ecs-fluent-form,
.elementor-element-ae4e450 .fluentform { width: min(1200px, calc(100% - 64px)); margin: 30px auto 0; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--ecs-line); border-radius: 16px; background: var(--ecs-white); box-shadow: 0 16px 40px rgba(0, 55, 86, .09); color: var(--ecs-ink); font-family: "Manrope", sans-serif; box-sizing: border-box; }
@media (max-width: 640px) {
  .ecs-fluent-form, .elementor-element-ae4e450 .fluentform { width: min(1200px, calc(100% - 28px)); }
}
.ecs-fluent-form .frm-fluent-form,
.elementor-element-ae4e450 .frm-fluent-form { display: block; }
.ecs-fluent-form .frm-fluent-form > fieldset,
.elementor-element-ae4e450 .frm-fluent-form > fieldset { display: grid; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ecs-fluent-form .ff-el-group,
.elementor-element-ae4e450 .ff-el-group { min-width: 0; margin: 0; }
.ecs-fluent-form .ecs-ff-wide,
.ecs-fluent-form .ff_submit_btn_wrapper,
.elementor-element-ae4e450 .ecs-ff-wide,
.elementor-element-ae4e450 .ff_submit_btn_wrapper { grid-column: 1 / -1; }
.ecs-fluent-form .ecs-ff-intro,
.elementor-element-ae4e450 .ecs-ff-intro { margin-bottom: 2px; }
.ecs-fluent-form .ecs-ff-title,
.elementor-element-ae4e450 .ecs-ff-title { margin: 0 0 12px; color: var(--ecs-navy); font-family: "Manrope", sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 800; }
.ecs-fluent-form .ff-el-input--label label,
.elementor-element-ae4e450 .ff-el-input--label label { color: var(--ecs-navy); font-weight: 750; }
.ecs-fluent-form .ff-el-form-control,
.elementor-element-ae4e450 .ff-el-form-control { min-height: 48px; border: 1px solid #bccbd8; border-radius: 8px; background: var(--ecs-white); color: var(--ecs-ink); font: inherit; }
.ecs-fluent-form textarea.ff-el-form-control,
.elementor-element-ae4e450 textarea.ff-el-form-control { min-height: 150px; }
.ecs-fluent-form .ff-el-form-control:focus,
.elementor-element-ae4e450 .ff-el-form-control:focus { border-color: var(--ecs-blue); box-shadow: 0 0 0 3px rgba(5, 106, 174, .17); }
.ecs-fluent-form .ff-btn-submit,
.elementor-element-ae4e450 .ff-btn-submit { min-height: 48px; padding: 12px 24px !important; border: 0 !important; border-radius: 999px !important; background: var(--ecs-blue) !important; color: var(--ecs-white) !important; font-family: "Inter", sans-serif; font-weight: 800 !important; }
.ecs-fluent-form .ff-btn-submit:hover,
.ecs-fluent-form .ff-btn-submit:focus,
.elementor-element-ae4e450 .ff-btn-submit:hover,
.elementor-element-ae4e450 .ff-btn-submit:focus { background: var(--ecs-orange) !important; }
.ecs-fluent-form .ff-el-is-error .ff-el-form-control,
.elementor-element-ae4e450 .ff-el-is-error .ff-el-form-control { border-color: var(--ecs-orange); }
.ecs-fluent-form .ff-el-is-error .text-danger,
.elementor-element-ae4e450 .ff-el-is-error .text-danger { color: #9c2020; }
.ecs-inline-img { position: relative; display: block; width: 100% !important; overflow: hidden; border-radius: 18px; margin: 34px 0 48px; box-shadow: 0 16px 40px rgba(0, 55, 86, .14); transition: box-shadow .35s ease, transform .35s ease; }
.ecs-inline-img:hover { box-shadow: 0 24px 54px rgba(0, 55, 86, .24); transform: translateY(-3px); }
.ecs-inline-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 55, 86, 0) 55%, rgba(0, 30, 48, .32) 100%); pointer-events: none; }
.ecs-inline-img img { display: block !important; width: 100% !important; height: 500px !important; max-width: none !important; object-fit: cover !important; object-position: center !important; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ecs-inline-img:hover img { transform: scale(1.07); }
.ecs-inline-img--tall img { height: 460px !important; }
.ecs-inline-img--short img { height: 550px !important; }
.ecs-inline-img--wide img { height: 500px !important; }
.ecs-inline-img-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 22px; color: #fff; font-family: "Inter", sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
  .ecs-inline-img img, .ecs-inline-img--tall img, .ecs-inline-img--wide img { height: 300px !important; }
}
@media (max-width: 640px) {
  .ecs-inline-img { border-radius: 14px; margin: 24px 0 32px; }
  .ecs-inline-img img, .ecs-inline-img--tall img, .ecs-inline-img--short img, .ecs-inline-img--wide img { height: 230px !important; }
}

.ecs-footer-utility { background: #061d3f; color: #dce9f5; padding: 18px 0; }
.ecs-footer-utility .ecs-shell { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.ecs-footer-utility a { color: #fff; font-weight: 700; text-decoration: none; }
.ecs-footer-utility a:hover { color: var(--ecs-orange); }

.elementor-element-d5ae983 .elementor-icon-list-items {
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 30px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.elementor-element-d5ae983 .elementor-icon-list-item {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 900px) {
  .ecs-grid, .ecs-grid-2, .ecs-split { grid-template-columns: 1fr; }
  .ecs-section { padding: 56px 0; }
  .ecs-shell { width: min(100% - 40px, 1200px); }
  .ecs-service-area-grid { grid-template-columns: 1fr; }
  .ecs-region-map { max-width: 650px; margin: 0 auto; }
  .ecs-map-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .ecs-shell { width: min(100% - 28px, 1200px); }
  .ecs-hero { min-height: 600px; padding: 40px 0; }
  .ecs-hero h1 { font-size: clamp(2.65rem, 13vw, 4.35rem); }
  .ecs-page-intro { padding-top: 46px; }
  .ecs-page-intro + .ecs-section { padding-top: 34px; }
  body.page-id-1892:not(.ecs-content-page) .page-header { min-height: 600px; }
  body.page-id-1892:not(.ecs-content-page) .page-content { margin-top: 40px !important; }
  .ecs-service-area-heading { font-size: clamp(1.85rem, 9vw, 2.65rem) !important; }
  .ecs-service-area-intro { margin-bottom: 26px; }
  .ecs-service-area-grid { padding: 18px; border-radius: 18px; }
  .ecs-map-legend { grid-template-columns: 1fr; gap: 18px; }
  .ecs-map-legend li { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .ecs-region-swatch { width: 42px; height: 42px; }
  .ecs-form-grid { grid-template-columns: 1fr; }
  .ecs-field-wide { grid-column: auto; }
  .ecs-card { padding: 22px; }
  .ecs-step { grid-template-columns: 46px minmax(0, 1fr) !important; gap: 14px; padding: 18px; }
  .ecs-step-number { width: 46px; height: 46px; }
  .ecs-fluent-form .frm-fluent-form > fieldset,
  .elementor-element-ae4e450 .frm-fluent-form > fieldset { grid-template-columns: 1fr; }
  .ecs-fluent-form .ecs-ff-wide,
  .ecs-fluent-form .ff_submit_btn_wrapper,
  .elementor-element-ae4e450 .ecs-ff-wide,
  .elementor-element-ae4e450 .ff_submit_btn_wrapper { grid-column: auto; }

  /* Keep the logo, mobile menu, and appointment button compact instead of stacking tall full-width rows. */
  .elementor-element-d487386 {
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  .elementor-element-9532d4c {
    min-height: 0 !important;
    padding: 12px 14px !important;
  }

  .elementor-element-5e4fa61 {
    display: none !important;
  }

  .elementor-element-2404e04 {
    width: 100% !important;
  }

  .elementor-element-5914e26 img {
    width: auto !important;
    max-width: min(220px, 72vw) !important;
    max-height: 110px;
  }

  .elementor-element-beab2a2 {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }

  .elementor-element-7f1d08d,
  .elementor-element-e039d8f {
    flex: 0 0 auto !important;
  }

  .elementor-element-7f1d08d,
  .elementor-element-cfafcba {
    width: 48px !important;
    max-width: 48px !important;
  }

  .elementor-element-e039d8f {
    width: auto !important;
  }

  .elementor-element-e039d8f,
  .elementor-element-a82ff45 {
    align-items: flex-end !important;
    width: auto !important;
  }

  /* Keep the existing Elementor header/footer utility lists inside the mobile viewport. */
  .elementor-element-d5ae983 .elementor-icon-list-items,
  .elementor-element-e68568e .elementor-icon-list-items,
  .elementor-element-e7e6492 .elementor-icon-list-items,
  .elementor-element-8bf8115 .elementor-icon-list-items {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .elementor-element-d5ae983 .elementor-icon-list-item,
  .elementor-element-e68568e .elementor-icon-list-item,
  .elementor-element-e7e6492 .elementor-icon-list-item,
  .elementor-element-8bf8115 .elementor-icon-list-item {
    margin-left: 8px !important;
    margin-right: 8px !important;
  }
}
