/**
 * Theme Name: nanocare Child
 * Description: Child theme for nanocare with brand styling and layout fixes
 * Author: LineThemes
 * Template: nanocare
 * Version: 1.0.7
 */

/* ==========================================================================
   OFFICIAL DESIGN SYSTEM TOKENS (WCAG 2.2 AAA ACCESSIBLE)
   ========================================================================== */
:root {
    /* Brand Colors */
    --ehc-primary-blue: #3d0066;          /* CTAs, primary buttons, links, accents */
    --ehc-primary-blue-hover: #510087;    /* Button hover state */
    --ehc-dark-navy: #3d0066;             /* Headings, dark banners, footer, navbar */
    --ehc-navy-surface: #510087;          /* Mid plum for dark sections */
    
    /* Text Hierarchy (Target: WCAG 2.2 AAA Accessible on #ffffff) */
    --ehc-text-primary: #2b2118;          /* Body copy, same as the homepage */
    --ehc-text-secondary: #5c5148;        /* Secondary copy, same as the homepage */
    --ehc-text-muted: #6b7280;            /* Subtle meta & disabled states only */
    --ehc-text-light: #ffffff;            /* Headings on dark navy sections */
    --ehc-text-light-muted: #e5e7eb;      /* Secondary text on dark navy */
    --ehc-medium-grey: #374151;           /* Backwards compatibility token */

    /* Surfaces & Backgrounds */
    --ehc-surface-base: #f6f1ea;          /* Cream page, same as the homepage */
    --ehc-surface-strong: #f3f4f6;        /* Light grey alternating section surface */
    --ehc-surface-card: #ffffff;          /* Card background */
    --ehc-surface-subtle: #f9fafb;        /* Extra subtle input/badge background */
    --ehc-light-grey: #f3f4f6;            /* Light grey token */
    --ehc-white: #ffffff;                 /* Pure white token */

    /* Borders & Outlines */
    --ehc-border-grey: #e5e7eb;
    --ehc-border-subtle: rgba(61, 0, 102, 0.07); /* Clean elevated card border without harsh lines */
    --ehc-border-input: #d1d5db;          /* Form input default border */
    --ehc-border-input-hover: #9ca3af;    /* Form input hover border */
    --ehc-border-focus: #3d0066;          /* Form input focus border */

    /* Shadows & Elevation */
    --ehc-card-shadow: 0 4px 20px rgba(61, 0, 102, 0.05);
    --ehc-card-shadow-hover: 0 12px 32px rgba(61, 0, 102, 0.10);
    --ehc-dark-card-shadow: 0 16px 40px rgba(61, 0, 102, 0.25);
    --ehc-btn-shadow: 0 4px 18px rgba(61, 0, 102, 0.28);
    --ehc-btn-shadow-hover: 0 8px 24px rgba(61, 0, 102, 0.38);

    /* Radii */
    --ehc-radius-sm: 8px;
    --ehc-radius-input: 10px;
    --ehc-radius-card: 16px;              /* Standard modern card radius */
    --ehc-radius-img: 20px;               /* Rectangular image radius */
    --ehc-radius-pill: 50px;              /* Pill button & tag radius */

    /* Macro Spacing Scale */
    --ehc-space-sm: 16px;
    --ehc-space-md: 24px;
    --ehc-space-lg: 32px;
    --ehc-space-9: 40px;                  /* Card & component padding */
    --ehc-space-10: 80px;                 /* Section macro-padding (80px) */
}

/* ==========================================================================
   1. GLOBAL HEADING COLOR FIX (#3d0066 Dark Navy Blue)
   ========================================================================== */

/* Enforce Dark Navy Blue #3d0066 for all headings across body content */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title,
#main-content h1, #main-content h2, #main-content h3, #main-content h4, #main-content h5, #main-content h6,
#content-body h1, #content-body h2, #content-body h3, #content-body h4, #content-body h5, #content-body h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    color: #3d0066 !important;
}

/* Heading links */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.elementor-heading-title a {
    color: #3d0066 !important;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.elementor-heading-title a:hover {
    color: #3d0066 !important;
}

/* Paragraphs, body copy, and secondary text: High-Contrast Charcoal #374151 (WCAG AAA) */
body, 
p, 
.entry-content p, 
.elementor-widget-text-editor,
.content p,
.elementor-text-editor {
    color: #374151;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Preserve white headings on dark backgrounds and callouts */
.elementor-element[data-settings*="background"] .elementor-heading-title,
.elementor-element[data-settings*="background"] .elementor-heading-title span,
.elementor-element[data-settings*="classic"] .elementor-heading-title,
.elementor-element[data-settings*="classic"] .elementor-heading-title span,
.elementor-element-d1ca794 .elementor-heading-title,
.elementor-element-d1ca794 .elementor-heading-title span,
.elementor-heading-title span[style*="color: #ffffff"],
.elementor-heading-title span[style*="color:#ffffff"],
.elementor-heading-title span[style*="color: rgb(255, 255, 255)"],
.callout-dark .elementor-heading-title,
.callout-dark .elementor-heading-title span,
.content-bottom-widgets h1, .content-bottom-widgets h2, .content-bottom-widgets h3, .content-bottom-widgets h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.sliding-menu h1, .sliding-menu h2, .sliding-menu h3,
.ehc-dark-navy-card h1, .ehc-dark-navy-card h2, .ehc-dark-navy-card h3,
.ehc-why-banner-sec h1, .ehc-why-banner-sec h2, .ehc-why-banner-sec h3,
#main-content .ehc-why-banner-sec h2, #content-body .ehc-why-banner-sec h2,
#main-content .ehc-final-cta-sec .ehc-final-left h2,
#content-body .ehc-final-cta-sec .ehc-final-left h2,
.entry-content .ehc-final-cta-sec .ehc-final-left h2,
.content .ehc-final-cta-sec .ehc-final-left h2,
.ehc-final-cta-sec .ehc-final-left h2,
.ehc-final-h2 {
    color: #ffffff !important;
}

/* ==========================================================================
   GLOBAL BRAND PALETTE RULES
   ========================================================================== */

/* Main buttons, links, icons, and highlights (#3d0066) */
a {
    color: #3d0066;
    transition: color 0.2s ease;
}
a:hover, a:focus {
    color: #510087;
}

/* Global site buttons */
.button,
input[type="submit"],
input[type="button"],
.btn,
.elementor-button {
    background-color: #3d0066 !important;
    border-color: #3d0066 !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover,
.elementor-button:hover {
    background-color: #510087 !important;
    border-color: #510087 !important;
    color: #ffffff !important;
}

/* Header menu — purple theme on every page, including the sticky copy */
#site-header .menu-primary > li > a,
#site-header-sticky .menu-primary > li > a,
.site-header .main-navigation ul > li > a,
.sliding-menu .menu-primary > li > a {
    color: #3d0066 !important;
}

#site-header .menu-primary > li > a:hover,
#site-header .menu-primary > li.current-menu-item > a,
#site-header .menu-primary > li.current-menu-ancestor > a,
#site-header-sticky .menu-primary > li > a:hover,
#site-header-sticky .menu-primary > li.current-menu-item > a,
#site-header-sticky .menu-primary > li.current-menu-ancestor > a,
.site-header .main-navigation ul > li > a:hover,
.site-header .main-navigation ul > li.current-menu-item > a,
.site-header .main-navigation ul > li.current-menu-ancestor > a,
.sliding-menu .menu-primary > li > a:hover,
.sliding-menu .menu-primary > li.current-menu-item > a {
    color: #5c0099 !important;
}

#site-header .menu-primary .sub-menu a,
#site-header-sticky .menu-primary .sub-menu a,
.sliding-menu .menu-primary .sub-menu a {
    color: #3d0066 !important;
    background: #fff !important;
}

#site-header .menu-primary .sub-menu li:hover > a,
#site-header .menu-primary .sub-menu li.current-menu-item > a,
#site-header .menu-primary .sub-menu li.current_page_item > a,
#site-header .menu-primary .sub-menu li.current-menu-ancestor > a,
#site-header .menu-primary .sub-menu li.current-menu-parent > a,
#site-header-sticky .menu-primary .sub-menu li:hover > a,
#site-header-sticky .menu-primary .sub-menu li.current-menu-item > a,
#site-header-sticky .menu-primary .sub-menu li.current_page_item > a,
#site-header-sticky .menu-primary .sub-menu li.current-menu-ancestor > a,
#site-header-sticky .menu-primary .sub-menu li.current-menu-parent > a,
.sliding-menu .menu-primary .sub-menu li:hover > a,
.sliding-menu .menu-primary .sub-menu li.current-menu-item > a,
.sliding-menu .menu-primary .sub-menu li.current_page_item > a {
    color: #fff !important;
    background: linear-gradient(120deg, #3d0066 0%, #510087 65%, #5c0099 100%) !important;
}

#site-header .menu-primary .sub-menu li:hover > a:before,
#site-header .menu-primary .sub-menu li.current-menu-item > a:before,
#site-header .menu-primary .sub-menu li.current_page_item > a:before,
#site-header-sticky .menu-primary .sub-menu li:hover > a:before,
#site-header-sticky .menu-primary .sub-menu li.current-menu-item > a:before,
#site-header-sticky .menu-primary .sub-menu li.current_page_item > a:before,
#site-header-sticky .menu-primary .sub-menu li.current-menu-ancestor > a:before,
#site-header-sticky .menu-primary .sub-menu li.current-menu-parent > a:before {
    color: #fff !important;
}

/* Alternate light grey section backgrounds and form inputs */
.ehc-bg-light-grey,
.site-content .content-header-alternate {
    background-color: #f3f4f6 !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    background-color: var(--ehc-surface-strong) !important;
    border: 1.5px solid var(--ehc-border-input) !important;
    border-radius: var(--ehc-radius-input) !important;
    color: #111827 !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    padding: 13px 16px !important;
    transition: all 0.2s ease-in-out !important;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
textarea:hover,
select:hover {
    border-color: var(--ehc-border-input-hover) !important;
}

input:focus,
textarea:focus,
select:focus,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    border-color: var(--ehc-border-focus) !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(61, 0, 102, 0.20) !important;
}

/* Clean Dark Navy Blue Section / Card Component */
.ehc-dark-navy-card {
    background: #3d0066 !important;
    border-radius: 14px;
    padding: 36px 40px;
    color: #ffffff !important;
    box-shadow: 0 12px 35px rgba(61, 0, 102, 0.15);
}

.ehc-dark-navy-card h1,
.ehc-dark-navy-card h2,
.ehc-dark-navy-card h3 {
    color: #ffffff !important;
}

.ehc-dark-navy-card p {
    color: #e5e7eb !important;
}

.ehc-dark-navy-card .ehc-btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3d0066 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ehc-dark-navy-card .ehc-btn-blue:hover {
    background: #510087 !important;
    transform: translateY(-2px);
}


/* ==========================================================================
   2. HERO TITLEBAR & CARD SPACING FIX (Eliminate awkward white gaps)
   ========================================================================== */

/* Hero Banner container: provide balanced padding so banner cleanly encloses the card */
.site-content .content-header {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    margin-bottom: 40px !important;
    position: relative;
    background-size: cover;
    background-position: center center;
}

/* White Title Card: eliminate 50px downward drop, style as modern elevation card */
.site-content .content-header.content-header-inline .wrap-inner {
    top: 0 !important;
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.98) !important;
    max-width: 620px !important;
    width: 100%;
    padding: 35px 45px !important;
    border-radius: 8px !important;
    border-bottom: 4px solid #3d0066 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16) !important;
    z-index: 2;
}

/* Title inside the hero card */
.site-content .content-header .page-title-inner {
    color: #3d0066 !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
}

/* Breadcrumbs inside the hero card */
.site-content .content-header .breadcrumbs {
    margin-bottom: 12px !important;
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
    color: #6b7280 !important;
}

.site-content .content-header .breadcrumbs a {
    color: #3d0066 !important;
    text-decoration: none;
}

.site-content .content-header .breadcrumbs a:hover {
    color: #3d0066 !important;
}

/* Subtitle inside the hero card */
.site-content .content-header .page-title .subtitle {
    color: #6b7280 !important;
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* Down arrow icon */
.site-content .content-header .down-arrow a {
    bottom: -25px !important;
}

/* Content Body: tight, clean connection without vertical gap */
#content-body {
    padding-top: 0 !important;
}

.content-body-inner {
    padding-top: 0 !important;
}

body.home #content-body .content-body-inner.wrap {
    padding-bottom: 0 !important;
}

/* First section in Elementor on standard pages */
.elementor > .elementor-section:first-child {
    margin-top: 0 !important;
}


/* ==========================================================================
   3. RESPONSIVE ADJUSTMENTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 767px) {
    .site-content .content-header {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        margin-bottom: 25px !important;
    }

    .site-content .content-header.content-header-inline .wrap-inner {
        max-width: 100% !important;
        padding: 24px 20px !important;
        border-radius: 6px !important;
    }

    .site-content .content-header .page-title-inner {
        font-size: 1.75rem !important;
    }
}


/* ==========================================================================
   4. MODERN BLOG SECTION & CARDS
   ========================================================================== */

.ehc-modern-blog-section {
    width: 100%;
    margin: 10px 0 0 0;
}

.ehc-modern-blog-grid {
    display: grid;
    gap: 32px;
    width: 100%;
}

.ehc-modern-blog-grid.ehc-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ehc-modern-blog-grid.ehc-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ehc-modern-blog-grid.ehc-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card Container */
.ehc-blog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(61, 0, 102, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.ehc-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 38px rgba(61, 0, 102, 0.12);
    border-color: #e5e7eb;
}

/* Thumbnail Wrap */
.ehc-card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.ehc-card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.ehc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ehc-blog-card:hover .ehc-card-img {
    transform: scale(1.06);
}

.ehc-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

/* Category Pill */
.ehc-card-category-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(61, 0, 102, 0.92);
    color: #ffffff !important;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    pointer-events: none;
}

/* Card Body */
.ehc-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Meta Data (Date + Read Time) */
.ehc-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.ehc-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
}

.ehc-card-meta-dot {
    color: #e5e7eb;
}

.ehc-card-readtime {
    color: #6b7280;
}

/* Card Title */
.ehc-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.ehc-card-title a {
    color: #3d0066 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ehc-card-title a:hover {
    color: #3d0066 !important;
}

/* Card Excerpt */
.ehc-card-excerpt {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer & Read More Link */
.ehc-card-footer {
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.ehc-card-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #3d0066 !important;
    text-decoration: none !important;
    transition: gap 0.25s ease, color 0.2s ease;
}

.ehc-card-read-link svg {
    transition: transform 0.25s ease;
}

.ehc-card-read-link:hover {
    color: #3d0066 !important;
    gap: 12px;
}

.ehc-card-read-link:hover svg {
    transform: translateX(4px);
}

/* Section Header Styles */
.ehc-kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.ehc-section-heading {
    color: #3d0066 !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
}

.ehc-section-subheading {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}

.ehc-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3d0066;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(61, 0, 102, 0.18);
    transition: all 0.3s ease;
}

.ehc-btn-modern:hover {
    background: #3d0066;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 0, 102, 0.28);
    color: #ffffff !important;
}

.ehc-btn-modern svg {
    transition: transform 0.25s ease;
}

.ehc-btn-modern:hover svg {
    transform: translateX(4px);
}

/* Responsive adjustments for Blog Grid */
@media (max-width: 991px) {
    .ehc-modern-blog-grid,
    .ehc-modern-blog-grid.ehc-cols-3,
    .ehc-modern-blog-grid.ehc-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .ehc-section-heading {
        font-size: 1.85rem !important;
    }
}

@media (max-width: 767px) {
    .ehc-section-heading {
        font-size: 1.65rem !important;
    }
    .ehc-btn-modern {
        margin-top: 15px;
    }
    div[style*="text-align: right"] {
        text-align: left !important;
    }
}

@media (max-width: 640px) {
    .ehc-modern-blog-grid,
    .ehc-modern-blog-grid.ehc-cols-2,
    .ehc-modern-blog-grid.ehc-cols-3,
    .ehc-modern-blog-grid.ehc-cols-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ehc-card-thumb-wrap {
        height: 200px;
    }
    .ehc-section-heading {
        font-size: 1.5rem !important;
    }
}


/* ==========================================================================
   5. COMPANION CARE LOS ANGELES PAGE (FULL MODERN REDESIGN - WCAG AAA)
   ========================================================================== */

/* Full-width container override for companion page */
.page-id-537 .content-body-inner.wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.page-id-537 #main-content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.page-id-537 .content {
    padding: 0 !important;
}

.page-id-537,
.page-id-537 body,
.page-id-537 .site-content {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ehc-text-primary);
    background-color: var(--ehc-surface-base);
}

.ehc-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* SECTION 1: HERO */
.ehc-pdf-hero {
    background: var(--ehc-surface-base);
    padding: var(--ehc-space-10) 0;
}

.ehc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.ehc-eyebrow-tag {
    display: inline-block;
    color: var(--ehc-primary-blue);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.ehc-hero-h1 {
    font-size: 3.25rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.6px;
    margin: 0 0 22px 0 !important;
}

.ehc-hero-p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ehc-text-primary);
    margin: 0 0 32px 0;
    max-width: 530px;
}

.ehc-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.ehc-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ehc-primary-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 36px;
    border-radius: var(--ehc-radius-pill);
    text-decoration: none !important;
    box-shadow: var(--ehc-btn-shadow);
    transition: all 0.25s ease;
}

.ehc-btn-solid:hover {
    background: var(--ehc-primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--ehc-btn-shadow-hover);
    color: #ffffff !important;
}

.ehc-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--ehc-dark-navy) !important;
    border: 2px solid var(--ehc-dark-navy);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: var(--ehc-radius-pill);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ehc-btn-outline:hover {
    background: var(--ehc-surface-strong);
    border-color: var(--ehc-primary-blue);
    color: var(--ehc-primary-blue) !important;
    transform: translateY(-2px);
}

.ehc-hero-trust-checks {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ehc-dark-navy);
}

.ehc-check-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ehc-icon-check {
    width: 20px;
    height: 20px;
    color: var(--ehc-primary-blue);
    flex-shrink: 0;
}

.ehc-hero-media-box {
    position: relative;
    width: 100%;
}

.ehc-hero-photo {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--ehc-radius-img);
    box-shadow: 0 20px 45px rgba(61, 0, 102, 0.12);
    display: block;
}

.ehc-hero-floating-card {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: var(--ehc-dark-navy);
    color: #ffffff;
    padding: 22px 26px;
    border-radius: var(--ehc-radius-card);
    box-shadow: 0 14px 35px rgba(61, 0, 102, 0.30);
    max-width: 285px;
    z-index: 2;
}

.ehc-badge-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.ehc-badge-headline {
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

/* SECTION 2: 4-COLUMN TRUST VALUE STRIP */
.ehc-value-strip {
    background: var(--ehc-dark-navy);
    padding: 48px 0;
    color: #ffffff;
}

.ehc-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ehc-value-col {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 24px;
}

.ehc-value-col:first-child {
    border-left: none;
    padding-left: 0;
}

.ehc-value-title {
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
}

.ehc-value-desc {
    font-size: 0.95rem;
    color: var(--ehc-text-light-muted);
    line-height: 1.5;
    margin: 0;
}

/* SECTION 3: STAYING HOME IS EASIER (2-Column Feature Split) */
.ehc-intro-split-sec {
    background: var(--ehc-surface-base);
    padding: var(--ehc-space-10) 0;
}

.ehc-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ehc-split-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--ehc-radius-img);
    box-shadow: 0 16px 40px rgba(61, 0, 102, 0.08);
    display: block;
}

.ehc-section-eyebrow {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--ehc-primary-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.ehc-split-title {
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    line-height: 1.25 !important;
    margin: 0 0 20px 0 !important;
}

.ehc-split-body {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--ehc-text-primary);
    margin: 0 0 18px 0;
}

.ehc-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ehc-primary-blue) !important;
    text-decoration: none !important;
    margin-top: 8px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.ehc-arrow-link:hover {
    gap: 12px;
    color: var(--ehc-primary-blue-hover) !important;
}

/* SECTION 4: WHAT DOES COMPANION CARE SERVICES INCLUDE? (6 Cards in 2 Columns) */
.ehc-includes-sec {
    background: var(--ehc-surface-strong);
    padding: var(--ehc-space-10) 0;
}

.ehc-section-header {
    margin-bottom: 44px;
}

.ehc-section-title {
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
}

.ehc-section-subtitle {
    font-size: 1.12rem;
    color: var(--ehc-text-primary);
    margin: 0;
    max-width: 720px;
    line-height: 1.65;
}

.ehc-includes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ehc-inc-card {
    background: #ffffff;
    border: 1px solid var(--ehc-border-subtle);
    border-radius: var(--ehc-radius-card);
    padding: 36px 32px;
    box-shadow: var(--ehc-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ehc-inc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehc-card-shadow-hover);
    border-color: rgba(61, 0, 102, 0.22);
}

.ehc-inc-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--ehc-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ehc-inc-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--ehc-dark-navy) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
}

.ehc-inc-desc {
    font-size: 1rem;
    color: var(--ehc-text-primary);
    line-height: 1.65;
    margin: 0;
}

/* SECTION 5: IS COMPANION CARE RIGHT FOR YOUR FAMILY? (Image Left + Checklist Right) */
.ehc-signs-sec {
    background: var(--ehc-surface-base);
    padding: var(--ehc-space-10) 0;
}

.ehc-signs-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.ehc-signs-media {
    position: relative;
    width: 100%;
}

.ehc-signs-photo {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--ehc-radius-img);
    box-shadow: 0 16px 40px rgba(61, 0, 102, 0.08);
    display: block;
}

.ehc-signs-content {
    display: flex;
    flex-direction: column;
}

.ehc-signs-list {
    margin-top: 16px;
}

.ehc-sign-pill {
    background: var(--ehc-surface-strong);
    border: 1px solid var(--ehc-border-subtle);
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ehc-dark-navy);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ehc-sign-pill:hover {
    transform: translateX(4px);
    border-color: rgba(61, 0, 102, 0.3);
    box-shadow: 0 4px 14px rgba(61, 0, 102, 0.04);
}

.ehc-sign-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ehc-primary-blue);
    flex-shrink: 0;
}

/* SECTION 6: WHY CHOOSE Top Tier Care 4u COMPANION CARE? (Dark Navy Banner) */
.ehc-why-banner-sec {
    background: var(--ehc-dark-navy);
    padding: var(--ehc-space-10) 0;
    color: #ffffff;
}

.ehc-why-header {
    margin-bottom: 45px;
}

.ehc-why-main-title {
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
}

.ehc-why-main-subtitle {
    font-size: 1.12rem;
    color: var(--ehc-text-light-muted);
    margin: 0;
    max-width: 680px;
    line-height: 1.65;
}

.ehc-why-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.ehc-why-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ehc-radius-card);
    padding: 34px 30px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.ehc-why-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.ehc-why-card-title {
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
}

.ehc-why-card-desc {
    font-size: 0.98rem;
    color: var(--ehc-text-light-muted);
    line-height: 1.6;
    margin: 0;
}

.ehc-why-cta-wrap {
    text-align: left;
}

.ehc-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--ehc-dark-navy) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 36px;
    border-radius: var(--ehc-radius-pill);
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.ehc-btn-white:hover {
    background: var(--ehc-primary-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--ehc-btn-shadow-hover);
}

/* SECTION 7: HOW DOES COMPANION CARE SERVICE WORK? (6 Steps) */
.ehc-steps-sec {
    background: var(--ehc-surface-strong);
    padding: var(--ehc-space-10) 0;
}

.ehc-steps-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ehc-step-box {
    background: #ffffff;
    border: 1px solid var(--ehc-border-subtle);
    border-radius: var(--ehc-radius-card);
    padding: 34px 28px;
    box-shadow: var(--ehc-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ehc-step-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehc-card-shadow-hover);
    border-color: rgba(61, 0, 102, 0.25);
}

.ehc-step-digit {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ehc-primary-blue);
    line-height: 1;
    display: block;
    margin-bottom: 14px;
}

.ehc-step-heading {
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    color: var(--ehc-dark-navy) !important;
    margin: 0 0 10px 0 !important;
}

.ehc-step-text {
    font-size: 0.98rem;
    color: var(--ehc-text-primary);
    line-height: 1.6;
    margin: 0;
}

/* SECTION 8: AFFORDABLE COMPANION CARE PLANS FOR EVERYBODY (3 Tiers) */
.ehc-plans-sec {
    background: var(--ehc-surface-base);
    padding: var(--ehc-space-10) 0;
}

.ehc-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.ehc-tier-card {
    background: #ffffff;
    border: 1px solid var(--ehc-border-subtle);
    border-radius: 18px;
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--ehc-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ehc-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehc-card-shadow-hover);
}

.ehc-tier-card-featured {
    background: var(--ehc-dark-navy) !important;
    color: #ffffff;
    border: none !important;
    box-shadow: var(--ehc-dark-card-shadow) !important;
    transform: translateY(-8px);
    position: relative;
}

.ehc-tier-card-featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(61, 0, 102, 0.32) !important;
}

.ehc-tier-kicker {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ehc-primary-blue);
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 12px;
}

.ehc-tier-kicker-featured {
    font-size: 0.8rem;
    font-weight: 800;
    color: #93c5fd;
    background: rgba(147, 197, 253, 0.15);
    padding: 5px 14px;
    border-radius: var(--ehc-radius-pill);
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 14px;
}

.ehc-tier-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    margin: 0 0 14px 0 !important;
}

.ehc-tier-title-featured {
    font-size: 1.48rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 14px 0 !important;
}

.ehc-tier-desc {
    font-size: 1rem;
    color: var(--ehc-text-primary);
    line-height: 1.65;
    margin: 0 0 26px 0;
}

.ehc-tier-desc-featured {
    font-size: 1rem;
    color: var(--ehc-text-light-muted);
    line-height: 1.65;
    margin: 0 0 26px 0;
}

.ehc-tier-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ehc-primary-blue) !important;
    text-decoration: none !important;
    margin-top: auto;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.ehc-tier-link:hover {
    color: var(--ehc-primary-blue-hover) !important;
    transform: translateX(4px);
}

.ehc-tier-link-featured {
    font-size: 1rem;
    font-weight: 700;
    color: #93c5fd !important;
    text-decoration: none !important;
    margin-top: auto;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.ehc-tier-link-featured:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

/* SECTION 9: FAMILIES WHO FOUND PEACE OF MIND (Google Reviews) */
.ehc-reviews-sec {
    background: #f0f4f9;
    padding: var(--ehc-space-10) 0;
}

.ehc-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.ehc-reviews-header-left {
    max-width: 680px;
}

.ehc-reviews-eyebrow {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.ehc-reviews-title {
    font-size: 2.65rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

/* Google Summary Badge Card in Header */
.ehc-google-summary-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(61, 0, 102, 0.08);
    border: 1px solid rgba(61, 0, 102, 0.06);
    overflow: hidden;
    min-width: 250px;
    flex-shrink: 0;
}

.ehc-gsummary-main {
    padding: 16px 20px 12px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ehc-gsummary-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ehc-gsummary-info {
    display: flex;
    flex-direction: column;
}

.ehc-gsummary-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ehc-gsummary-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.ehc-stars-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ehc-star {
    width: 17px;
    height: 17px;
    color: #f59e0b;
    fill: #f59e0b;
    flex-shrink: 0;
}

.ehc-gsummary-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-top: 3px;
    line-height: 1.2;
}

.ehc-gsummary-link-bar {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 9px 16px;
    text-align: center;
}

.ehc-gsummary-link {
    color: var(--ehc-primary-blue) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.ehc-gsummary-link:hover {
    color: var(--ehc-primary-blue-hover) !important;
    text-decoration: underline !important;
}

/* Reviews Grid */
.ehc-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Review Card with Blue Accent Top Border */
.ehc-review-card {
    background: #ffffff;
    border-top: 4px solid var(--ehc-primary-blue);
    border-left: 1px solid rgba(61, 0, 102, 0.06);
    border-right: 1px solid rgba(61, 0, 102, 0.06);
    border-bottom: 1px solid rgba(61, 0, 102, 0.06);
    border-radius: 14px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(61, 0, 102, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ehc-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(61, 0, 102, 0.12);
}

.ehc-rcard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ehc-rcard-google {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ehc-review-quote {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #1f2937;
    margin: 0 0 28px 0;
    font-weight: 400;
}

.ehc-rcard-footer {
    margin-top: auto;
}

.ehc-review-author {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ehc-dark-navy);
    line-height: 1.25;
}

.ehc-review-loc {
    font-size: 0.92rem;
    font-weight: 500;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}

/* SECTION 10: MORE WAYS WE CARE IN LOS ANGELES (Service Tags) */
.ehc-more-ways-sec {
    background: var(--ehc-surface-base);
    padding: 60px 0;
}

.ehc-more-ways-title {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    margin: 0 0 22px 0 !important;
}

.ehc-service-pills {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ehc-service-pill {
    display: inline-flex;
    align-items: center;
    background: var(--ehc-surface-strong);
    border: 1px solid var(--ehc-border-subtle);
    color: var(--ehc-dark-navy) !important;
    font-weight: 700;
    font-size: 0.96rem;
    padding: 12px 26px;
    border-radius: var(--ehc-radius-pill);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ehc-service-pill:hover {
    background: var(--ehc-primary-blue);
    border-color: var(--ehc-primary-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(61, 0, 102, 0.25);
}

/* SECTION 11: COMPANION CARE ACROSS LOS ANGELES (Local SEO & Google Map) */
.ehc-map-sec {
    background: var(--ehc-surface-strong);
    padding: var(--ehc-space-10) 0;
}

.ehc-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.ehc-neighborhoods-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.ehc-neighborhood-item {
    background: #ffffff;
    color: var(--ehc-dark-navy);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--ehc-radius-pill);
    border: 1px solid var(--ehc-border-subtle);
    box-shadow: 0 2px 6px rgba(61, 0, 102, 0.04);
}

.ehc-map-embed-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--ehc-border-subtle);
    box-shadow: 0 12px 35px rgba(61, 0, 102, 0.08);
    background: #ffffff;
}

.ehc-map-embed-card iframe {
    display: block;
    width: 100%;
    min-height: 380px;
}

/* SECTION 12: COMPANION CARE QUESTIONS, ANSWERED (Accordion FAQ) */
.ehc-faq-sec {
    background: var(--ehc-surface-base);
    padding: var(--ehc-space-10) 0;
}

.ehc-faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.ehc-faq-center-title {
    text-align: center !important;
    margin-bottom: 44px !important;
}

.ehc-faq-item {
    background: var(--ehc-surface-strong);
    border: 1.5px solid var(--ehc-border-subtle);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ehc-faq-item:hover {
    border-color: rgba(61, 0, 102, 0.3);
}

.ehc-faq-item[open] {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(61, 0, 102, 0.06);
    border-color: rgba(61, 0, 102, 0.35);
}

.ehc-faq-question {
    list-style: none;
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ehc-dark-navy);
    user-select: none;
}

.ehc-faq-question::-webkit-details-marker {
    display: none;
}

.ehc-faq-chevron {
    width: 22px;
    height: 22px;
    color: var(--ehc-primary-blue);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ehc-faq-item[open] .ehc-faq-chevron {
    transform: rotate(180deg);
}

.ehc-faq-answer {
    padding: 0 28px 22px 28px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ehc-text-primary);
}

.ehc-faq-answer p {
    margin: 0;
    color: var(--ehc-text-primary) !important;
}

/* SECTION 13: SPEAK WITH A CARE ADVISOR (CTA & Consultation Form - Exact Design) */
.ehc-final-cta-sec {
    background: var(--ehc-dark-navy) !important;
    padding: var(--ehc-space-10) 0 !important;
    color: #ffffff !important;
}

.ehc-final-cta-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.ehc-cta-eyebrow {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #38bdf8 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

#main-content .ehc-final-cta-sec .ehc-final-left h1,
#main-content .ehc-final-cta-sec .ehc-final-left h2,
#content-body .ehc-final-cta-sec .ehc-final-left h1,
#content-body .ehc-final-cta-sec .ehc-final-left h2,
.entry-content .ehc-final-cta-sec .ehc-final-left h1,
.entry-content .ehc-final-cta-sec .ehc-final-left h2,
.content .ehc-final-cta-sec .ehc-final-left h1,
.content .ehc-final-cta-sec .ehc-final-left h2,
.ehc-final-cta-sec .ehc-final-left h2,
.ehc-final-h2 {
    font-size: 3.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.14 !important;
    letter-spacing: -0.5px;
    margin: 0 0 18px 0 !important;
}

#main-content .ehc-final-cta-sec .ehc-final-left p,
#content-body .ehc-final-cta-sec .ehc-final-left p,
.entry-content .ehc-final-cta-sec .ehc-final-left p,
.content .ehc-final-cta-sec .ehc-final-left p,
.ehc-final-cta-sec .ehc-final-left p,
.ehc-final-p {
    font-size: 1.05rem !important;
    color: #f1f5f9 !important;
    line-height: 1.65 !important;
    margin: 0 0 24px 0 !important;
    max-width: 490px !important;
}

/* 3-Bullet Checklist */
.ehc-cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 30px;
}

.ehc-cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 500;
}

.ehc-benefit-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Frosted Glass Phone Callout Box */
.ehc-phone-callout-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px 22px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.ehc-phone-callout-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ehc-phone-callout-body,
.ehc-phone-callout-text {
    display: flex;
    flex-direction: column;
}

.ehc-phone-callout-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.ehc-phone-callout-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.ehc-phone-callout-num:hover {
    color: #38bdf8 !important;
}

/* Form Card with Cyan/Blue Top Accent Line */
.ehc-form-card {
    background: #ffffff !important;
    border-top: 4px solid #0284c7 !important;
    border-radius: 18px !important;
    padding: 36px 32px 28px 32px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32) !important;
}

#main-content .ehc-form-card h1,
#main-content .ehc-form-card h2,
#main-content .ehc-form-card h3,
#content-body .ehc-form-card h1,
#content-body .ehc-form-card h2,
#content-body .ehc-form-card h3,
.entry-content .ehc-form-card h3,
.content .ehc-form-card h3,
.ehc-form-card h3,
.ehc-form-card-title {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: var(--ehc-dark-navy) !important;
    margin: 0 0 22px 0 !important;
}

.ehc-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ehc-input-group {
    margin-bottom: 16px;
}

#main-content .ehc-form-card label,
#content-body .ehc-form-card label,
.ehc-form-card label,
.ehc-input-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ehc-dark-navy) !important;
    margin-bottom: 6px;
}

.ehc-input-group input,
.ehc-input-group textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f1f4f9 !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ehc-input-group input:hover,
.ehc-input-group textarea:hover {
    border-color: #cbd5e1 !important;
}

.ehc-input-group input:focus,
.ehc-input-group textarea:focus,
.ehc-input-group input:focus-visible,
.ehc-input-group textarea:focus-visible {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
}

.ehc-input-group input.ehc-input-error,
.ehc-input-group textarea.ehc-input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.20) !important;
}

.ehc-btn-submit {
    width: 100%;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 16px 24px !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
    transition: all 0.25s ease !important;
}

.ehc-btn-submit:hover {
    background: #0369a1 !important;
    box-shadow: 0 8px 26px rgba(2, 132, 199, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* Trust note under button */
.ehc-form-trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 14px;
    text-align: center;
}

.ehc-form-trust-note svg {
    color: #64748b;
    flex-shrink: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .ehc-pdf-hero,
    .ehc-intro-split-sec,
    .ehc-includes-sec,
    .ehc-signs-sec,
    .ehc-why-banner-sec,
    .ehc-steps-sec,
    .ehc-plans-sec,
    .ehc-reviews-sec,
    .ehc-map-sec,
    .ehc-faq-sec,
    .ehc-final-cta-sec {
        padding: 60px 0;
    }

    .ehc-hero-grid,
    .ehc-split-grid,
    .ehc-signs-grid,
    .ehc-map-grid,
    .ehc-final-cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ehc-value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .ehc-why-cards-grid,
    .ehc-steps-grid-3x2,
    .ehc-tiers-grid,
    .ehc-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ehc-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .ehc-hero-photo {
        height: 380px;
    }

    .ehc-phone-callout-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .ehc-tier-card-featured {
        transform: none !important;
    }
}

@media (max-width: 640px) {
    .ehc-pdf-hero,
    .ehc-intro-split-sec,
    .ehc-includes-sec,
    .ehc-signs-sec,
    .ehc-why-banner-sec,
    .ehc-steps-sec,
    .ehc-plans-sec,
    .ehc-reviews-sec,
    .ehc-map-sec,
    .ehc-faq-sec,
    .ehc-final-cta-sec {
        padding: 48px 0;
    }

    .ehc-form-row-2col {
        grid-template-columns: 1fr;
    }

    .ehc-phone-callout-num {
        font-size: 1.55rem;
    }

    .ehc-hero-h1 {
        font-size: 2.35rem !important;
    }
    
    .ehc-split-title,
    .ehc-section-title,
    .ehc-why-main-title,
    .ehc-final-h2 {
        font-size: 1.85rem !important;
    }
    
    .ehc-includes-grid,
    .ehc-value-grid,
    .ehc-why-cards-grid,
    .ehc-steps-grid-3x2,
    .ehc-tiers-grid,
    .ehc-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .ehc-hero-floating-card {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }

    .ehc-google-summary-card {
        width: 100%;
        min-width: 0;
    }
    
    .ehc-hero-photo {
        height: 280px;
    }
    
    .ehc-split-img {
        height: 260px;
    }
    
    .ehc-value-col {
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 16px;
    }
    
    .ehc-value-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .ehc-phone-link {
        font-size: 1.65rem;
    }
    
    .ehc-signs-photo {
        height: 280px;
    }
    
    .ehc-form-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   CRITICAL BUG FIX: ELIMINATE INVISIBLE TEXT IN CONTENT-BOTTOM-WIDGETS
   ========================================================================== */

/* Fix invisible text in content-bottom-widgets globally */
.content-bottom-widgets,
.content-bottom-widgets h1, 
.content-bottom-widgets h2, 
.content-bottom-widgets h3, 
.content-bottom-widgets p, 
.content-bottom-widgets span, 
.content-bottom-widgets a,
.content-bottom-widgets .text,
.content-bottom-widgets .action {
    color: #ffffff !important;
}

.content-bottom-widgets .button.white.outline {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Suppress redundant theme widgets on companion care page */
.page-id-537 .content-bottom-widgets,
.page-id-537 #sidebar,
.page-id-537 .secondary-sidebar {
    display: none !important;
}

/* Site logo in the header and in every footer */
#site-header .header-brand .logo,
#site-header-sticky .header-brand .logo {
    width: auto !important;
    height: 44px !important;
    max-width: 148px !important;
}

#site-header .header-brand,
#site-header-sticky .header-brand {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

.foot-logo,
#evr-home-content .foot-logo,
#site-footer .ehc-brand-logo {
    height: 72px;
    width: auto;
    margin-top: 26px;
    padding: 8px 14px;
    background: #fff;
    filter: none !important;
    opacity: 1;
}

/* Header search, beside the off-canvas toggle */
.navigator .ehc-header-search {
    float: right;
    position: relative;
    display: flex;
    align-items: center;
    height: 70px;
    margin-right: 0;
    z-index: 40;
}

.site-header .site-header-inner .off-canvas-toggle[data-target="off-canvas-right"],
.site-header-sticky .site-header-inner .off-canvas-toggle[data-target="off-canvas-right"] {
    margin-left: 10px;
}

.ehc-search-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #3d0066 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.ehc-search-toggle:hover,
.ehc-search-toggle:focus,
.ehc-header-search.is-open .ehc-search-toggle {
    background: transparent !important;
    border: 0 !important;
    color: #5c0099 !important;
}

.ehc-search-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.ehc-search-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: min(380px, calc(100vw - 24px));
    padding: 12px;
    gap: 8px;
    background: #fff;
    border: 1px solid #e4d4f0;
    box-shadow: 0 16px 36px rgba(61, 0, 102, 0.16);
    z-index: 50;
}

.ehc-header-search.is-open .ehc-search-panel {
    display: flex;
}

.ehc-search-panel input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    border-radius: 0 !important;
    border-color: #e4d4f0 !important;
}

.ehc-search-panel input[type="search"]:focus {
    border-color: #5c0099 !important;
    box-shadow: 0 0 0 3px rgba(92, 0, 153, 0.18) !important;
}

.ehc-search-panel button[type="submit"] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 0;
    background: linear-gradient(120deg, #3d0066 0%, #510087 65%, #5c0099 100%) !important;
    color: #fff !important;
    cursor: pointer;
}

.ehc-search-panel button[type="submit"]:hover {
    background: #3d0066 !important;
    border: 0 !important;
    color: #fff !important;
}

.search-results .post-title,
.search-no-results h3 {
    color: #3d0066 !important;
}

.search-results a:hover .post-title {
    color: #5c0099 !important;
}

@media (max-width: 640px) {
    .ehc-search-panel {
        position: fixed;
        top: 78px;
        left: 12px;
        right: 12px;
        width: auto;
    }
}

/* Header menu: one line on desktop, a panel on smaller screens */
#site-header .site-header-inner,
#site-header-sticky .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#site-header .header-brand,
#site-header-sticky .header-brand {
    float: none;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

#site-header .navigator,
#site-header-sticky .navigator {
    float: none;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 70px;
    position: static;
}

#site-header .navigator .menu.menu-primary,
#site-header-sticky .navigator .menu.menu-primary {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#site-header .navigator .menu.menu-primary > li,
#site-header-sticky .navigator .menu.menu-primary > li {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    position: relative !important;
}

#site-header .navigator .menu.menu-primary > li:not(:first-child):before,
#site-header-sticky .navigator .menu.menu-primary > li:not(:first-child):before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 14px !important;
    width: 1px !important;
    background-color: #cbd5e1 !important;
    border: none !important;
    opacity: 0.8 !important;
}

#site-header .menu-primary > li > a,
#site-header-sticky .menu-primary > li > a {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    padding: 12px 10px !important;
    color: #3d0066 !important;
    text-decoration: none !important;
}

#site-header .menu-primary > li.current-menu-item > a,
#site-header .menu-primary > li.current-menu-ancestor > a,
#site-header .menu-primary > li:hover > a,
#site-header-sticky .menu-primary > li.current-menu-item > a,
#site-header-sticky .menu-primary > li.current-menu-ancestor > a,
#site-header-sticky .menu-primary > li:hover > a {
    color: #5c0099 !important;
}

#site-header .menu-primary > li.menu-item-has-children > a,
#site-header-sticky .menu-primary > li.menu-item-has-children > a {
    position: relative;
    padding-right: 22px !important;
}

#site-header .menu-primary > li.menu-item-has-children > a:before,
#site-header-sticky .menu-primary > li.menu-item-has-children > a:before {
    left: auto !important;
    right: 4px !important;
    top: 50% !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
}

#site-header .navigator .social-icons,
#site-header-sticky .navigator .social-icons {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 10px !important;
}

#site-header .navigator .social-icons a,
#site-header-sticky .navigator .social-icons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 2px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, filter 0.2s ease !important;
}

#site-header .navigator .social-icons a:hover,
#site-header-sticky .navigator .social-icons a:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
}

#site-header .navigator .social-icons a[data-tooltip="Twitter"] { background: #1DA1F2 !important; }
#site-header .navigator .social-icons a[data-tooltip="Facebook"] { background: #3B5998 !important; }
#site-header .navigator .social-icons a[data-tooltip="Pinterest"] { background: #BD081C !important; }
#site-header .navigator .social-icons a[data-tooltip="LinkedIn"] { background: #0077B5 !important; }

.ehc-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: #3d0066 !important;
    position: relative;
    flex: 0 0 auto;
    cursor: pointer;
    box-shadow: none !important;
}

.ehc-nav-toggle span,
.ehc-nav-toggle span:before,
.ehc-nav-toggle span:after {
    content: "";
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2px;
    background: currentColor;
}

.ehc-nav-toggle span {
    top: 19px;
}

.ehc-nav-toggle span:before {
    top: -7px;
}

.ehc-nav-toggle span:after {
    top: 7px;
}

#site-header.ehc-nav-open .ehc-nav-toggle span,
#site-header-sticky.ehc-nav-open .ehc-nav-toggle span {
    background: transparent;
}

#site-header.ehc-nav-open .ehc-nav-toggle span:before,
#site-header-sticky.ehc-nav-open .ehc-nav-toggle span:before {
    top: 0;
    transform: rotate(45deg);
}

#site-header.ehc-nav-open .ehc-nav-toggle span:after,
#site-header-sticky.ehc-nav-open .ehc-nav-toggle span:after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 1180px) {
    body #site-header .navigator .menu.menu-primary,
    body #site-header-sticky .navigator .menu.menu-primary {
        display: none !important;
    }

    .ehc-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #site-header,
    #site-header-sticky {
        z-index: 1000;
    }

    body:not(.ehc-purple-page) #site-header {
        position: relative;
    }

    body #site-header.ehc-nav-open .navigator .menu.menu-primary,
    body #site-header-sticky.ehc-nav-open .navigator .menu.menu-primary {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        position: absolute !important;
        top: 100%;
        left: 0;
        right: 0;
        width: 100% !important;
        max-height: calc(100vh - 70px);
        margin: 0;
        padding: 8px 0 16px;
        overflow: auto;
        background: #fff;
        box-shadow: 0 16px 32px rgba(61, 0, 102, 0.16);
        z-index: 1001;
    }

    #site-header.ehc-nav-open .menu-primary > li,
    #site-header-sticky.ehc-nav-open .menu-primary > li {
        display: block;
        margin: 0 !important;
        border-bottom: 1px solid #f3e8fa;
    }

    #site-header.ehc-nav-open .menu-primary > li > a,
    #site-header-sticky.ehc-nav-open .menu-primary > li > a {
        padding: 14px 20px !important;
        font-size: 18px !important;
    }

    #site-header.ehc-nav-open .menu-primary .sub-menu,
    #site-header-sticky.ehc-nav-open .menu-primary .sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0;
        padding: 0 0 8px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    #site-header.ehc-nav-open .menu-primary li.ehc-sub-open > .sub-menu,
    #site-header-sticky.ehc-nav-open .menu-primary li.ehc-sub-open > .sub-menu {
        display: block !important;
    }

    #site-header.ehc-nav-open .menu-primary .sub-menu a,
    #site-header-sticky.ehc-nav-open .menu-primary .sub-menu a {
        padding: 10px 20px 10px 36px !important;
    }
}

@media (max-width: 768px) {
    #site-header .navigator .social-icons,
    #site-header-sticky .navigator .social-icons,
    .ehc-header-call {
        display: none !important;
    }
}

/* Sitewide typeface */
body,
body :is(p, a, li, span, label, button, input, textarea, select, blockquote, div, strong, em, small, figcaption):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]) {
    font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif !important;
}

body :is(h1, h2, h3, h4, h5, h6) {
    font-family: "Source Serif 4", Georgia, serif !important;
    font-weight: 600;
}

.ehc-skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 10000;
    background: #3d0066;
    color: #fff !important;
    padding: 10px 14px;
}
.ehc-skip:focus {
    top: 8px;
}

.ehc-header-call {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 12px;
    padding: 0 14px;
    background: #3d0066;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}
.ehc-header-call:hover,
.ehc-header-call:focus {
    color: #fff !important;
    background: #510087;
}

/* ==== Header menu fixes (override) ==== */
/* Force menu onto a single line and apply brand colors */
.site-header .main-navigation ul,
.site-header-sticky .main-navigation ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important; /* spacing between items */
    justify-content: center;
}
/* Menu link colors */
.site-header .main-navigation ul li a,
.site-header-sticky .main-navigation ul li a {
    color: #3d0066 !important; /* dark navy */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13.5px;
}
.site-header .main-navigation ul li a:hover,
.site-header-sticky .main-navigation ul li a:hover,
.site-header .main-navigation ul li.current-menu-item a,
.site-header-sticky .main-navigation ul li.current-menu-item a {
    color: #5c0099 !important;
}
/* Separator between items */
.site-header .main-navigation ul li:not(:last-child)::after,
.site-header-sticky .main-navigation ul li:not(:last-child)::after {
    content: "|";
    margin-left: 1.5rem;
    color: #c0c0c0;
}
/* Social icons – ensure they appear in header */
.site-header .ehc-social-icons,
.site-header-sticky .ehc-social-icons {
    display: flex !important;
    gap: 0.75rem;
    align-items: center;
}
/* Brand background colours for icons */
.site-header .ehc-social-icons a.twitter {background:#1DA1F2;}
.site-header .ehc-social-icons a.facebook {background:#3B5998;}
.site-header .ehc-social-icons a.pinterest {background:#BD081C;}
.site-header .ehc-social-icons a.linkedin {background:#0077B5;}
/* Mobile toggle fixes */
@media (max-width: 767px) {
    .site-header .main-navigation ul,
    .site-header-sticky .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background:#ffffff;
        padding:1rem;
    }
    .site-header .ehc-nav-toggle,
    .site-header-sticky .ehc-nav-toggle {
        display: flex !important;
        cursor:pointer;
    }
    .site-header .ehc-nav-toggle.active + .main-navigation ul,
    .site-header-sticky .ehc-nav-toggle.active + .main-navigation ul {
        display:flex;
    }
}
/* End of header fixes */

/* Homepage palette on every other page */
body {
    background: #f6f1ea;
    color: #2b2118;
}

#site-header,
#site-header-sticky {
    background: #f3f4f6 !important;
    background-color: #f3f4f6 !important;
}

#site-footer,
.content-bottom-widgets {
    background: #3d0066 !important;
    color: #f6f1ea !important;
}

#site-footer a,
#site-footer p,
#site-footer li,
#site-footer span,
.content-bottom-widgets a,
.content-bottom-widgets p,
.content-bottom-widgets li,
.content-bottom-widgets span {
    color: #f6f1ea !important;
}

.elementor-widget-divider {
    --divider-color: #3d0066 !important;
}

.elementor-divider-separator {
    border-color: #3d0066 !important;
}

#site-footer h1,
#site-footer h2,
#site-footer h3,
#site-footer h4,
#site-footer h5,
#site-footer h6,
.content-bottom-widgets h1,
.content-bottom-widgets h2,
.content-bottom-widgets h3,
.content-bottom-widgets h4,
.content-bottom-widgets h5,
.content-bottom-widgets h6 {
    color: #ffffff !important;
}

/* Homepage footer on every page. Old theme and page footers stay out of view. */
#site-footer,
.content-bottom-widgets,
footer.foot,
.ehc-caregivers-wrap > footer {
    display: none !important;
}

.evr-foot {
    background: #2a1238;
    color: #f6f1ea;
    padding: 56px 0 24px;
    font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.65;
}
.evr-foot .evr-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}
.evr-foot__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
    gap: 32px;
    align-items: start;
}
.evr-foot__label {
    color: #fff !important;
    font-family: "Source Serif 4", Georgia, serif !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    margin: 0 0 12px;
}
.evr-foot a,
.evr-foot p,
.evr-foot li,
.evr-foot span {
    color: #f6f1ea !important;
}
.evr-foot a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
.evr-foot ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.evr-foot li {
    margin: 0 0 8px;
}
.evr-foot img {
    width: 160px;
    height: auto;
    background: #fff;
    padding: 8px;
    margin-bottom: 16px;
}
.evr-foot__bar {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(246, 241, 234, 0.25);
}
.evr-foot__bar p {
    margin: 0;
}

@media (max-width: 1024px) {
    .evr-foot__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .evr-foot__grid {
        grid-template-columns: 1fr;
    }
}

#site-header #menu-item-763 > .sub-menu > li::after,
#site-header #menu-item-763 > .sub-menu > li:after {
    content: none !important;
    display: none !important;
}

@media (min-width: 1181px) {
    #site-header #menu-item-763 > .sub-menu {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-flow: row;
        width: min(1140px, calc(100vw - 48px));
        max-height: none;
        overflow: visible;
        left: 50%;
        padding: 6px 0;
    }
    #site-header #menu-item-763:hover > .sub-menu {
        transform: translateX(-50%) scale(1);
    }
    #site-header #menu-item-763 > .sub-menu > li {
        width: auto;
        margin: 0;
    }
    #site-header #menu-item-763 > .sub-menu > li > a {
        white-space: nowrap;
        text-transform: none;
        font-size: 14px;
        line-height: 1.3;
        letter-spacing: 0;
        padding: 9px 14px 9px 34px !important;
    }
    #site-header #menu-item-763 > .sub-menu > li > a:before {
        left: 14px;
        font-size: 9px;
    }
}

@media (max-width: 1180px) {
    #site-header.ehc-nav-open .navigator .menu.menu-primary > li,
    #site-header-sticky.ehc-nav-open .navigator .menu.menu-primary > li {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        white-space: normal !important;
    }
    #site-header.ehc-nav-open #menu-item-763.ehc-sub-open > .sub-menu,
    #site-header-sticky.ehc-nav-open #menu-item-763.ehc-sub-open > .sub-menu {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: 46vh;
        overflow-y: auto;
        left: 0 !important;
    }
    #site-header.ehc-nav-open #menu-item-763 > .sub-menu > li > a,
    #site-header-sticky.ehc-nav-open #menu-item-763 > .sub-menu > li > a {
        white-space: nowrap;
        text-transform: none;
        font-size: 16px;
        line-height: 1.35;
        padding: 12px 16px 12px 36px !important;
    }
}

