/* ══════════════════════════════════════════════════════════════
   EC DESIGN SYSTEM — Global Reusable CSS
   All classes prefixed .ec-* to avoid conflicts
   Colors: var(--color-black) #1a1a1a | var(--color-brown) gold
   Fonts:  var(--font-family-eb-garamond) | var(--font-family-montserrat)
   ══════════════════════════════════════════════════════════════ */

/* ── Layout ─────────────────────────────────────────── */
.ec-page {
    font-family: var(--font-family-montserrat);
    color: var(--color-black);
    font-size: 1rem;
    line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   CONTENT TYPOGRAPHY — catches ALL bare HTML elements
   Scoped to .ec-page so any content (deep research,
   database body_content, etc.) auto-inherits styling.
   Class-based rules (.ec-section h2, etc.) override these.
   ══════════════════════════════════════════════════════ */

/* ── Headings (bare elements — proper hierarchy) ───── */
.ec-page h2 {
    font-family: var(--font-family-eb-garamond);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-black);
    margin: 32px 0 16px;
    line-height: 1.3;
}
.ec-page h3 {
    font-family: var(--font-family-montserrat);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 24px 0 12px;
    line-height: 1.3;
}
.ec-page h4 {
    font-family: var(--font-family-montserrat);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 20px 0 10px;
    line-height: 1.3;
}
.ec-page h5 {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 16px 0 8px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Paragraphs ────────────────────────────────────── */
.ec-page p {
    font-family: var(--font-family-montserrat);
    font-size: 1rem;
    line-height: 1.75;
    color: #2c2c3e;
    margin-bottom: 16px;
}

/* ── Links ─────────────────────────────────────────── */
.ec-page a {
    color: var(--color-brown);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.ec-page a:hover {
    text-decoration: underline;
}

/* ── Lists (ul, ol, li) ────────────────────────────── */
.ec-page ul,
.ec-page ol {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    line-height: 1.75;
    color: #2c2c3e;
    margin: 0 0 16px;
    padding-left: 24px;
}
.ec-page ul {
    list-style-type: none;
    padding-left: 0;
}
.ec-page ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.ec-page ul > li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-brown);
    font-weight: 700;
}
/* Exclude class-based list components from global bullet */
.ec-toc-links > li::before,
.ec-practice-list > li::before,
.ec-faq > li::before,
.ec-card-grid > li::before {
    display: none;
}
.ec-toc-links > li,
.ec-card-grid > li {
    padding-left: 0;
    position: static;
}
.ec-page ol > li {
    margin-bottom: 8px;
}
/* Prevent global list styles from interfering with class-based components */
.ec-steps,
.ec-practice-list,
.ec-toc-links {
    list-style: none !important;
    padding-left: 0 !important;
}
.ec-steps > li {
    padding-left: 56px;
    margin-bottom: 12px;
}
.ec-steps > li::before {
    content: counter(ec-step);
    color: #fff;
    background: var(--color-brown);
}
.ec-practice-list > li {
    padding-left: 20px;
}
.ec-practice-list > li::before {
    content: "•";
    color: var(--color-brown);
}
.ec-toc-links > li {
    padding-left: 0;
}
.ec-toc-links > li::before {
    display: none;
}

/* ── Bold / Strong ─────────────────────────────────── */
.ec-page strong,
.ec-page b {
    font-weight: 700;
    color: var(--color-black);
}

/* ── Blockquote ────────────────────────────────────── */
.ec-page blockquote {
    background: #ffffff;
    border-left: 4px solid var(--color-brown);
    padding: 20px 28px;
    margin: 24px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #444;
    font-size: .95rem;
    line-height: 1.75;
}
.ec-page blockquote p {
    margin-bottom: 0;
}
.ec-page blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: .85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-brown);
}

/* ── Italic / Emphasis ─────────────────────────────── */
.ec-page em,
.ec-page i {
    font-style: italic;
    color: inherit;
}

/* ── Small / Fine Print ─────────────────────────────── */
.ec-page small {
    font-size: .8rem;
    color: #888;
    line-height: 1.5;
}

/* ── Superscript / Subscript ───────────────────────── */
.ec-page sup,
.ec-page sub {
    font-size: .75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
.ec-page sup { top: -.5em; }
.ec-page sub { bottom: -.25em; }

/* ── Definition Lists (legal glossaries) ─────────── */
.ec-page dl {
    margin: 20px 0;
}
.ec-page dt {
    font-family: var(--font-family-montserrat);
    font-weight: 700;
    font-size: .95rem;
    color: var(--color-black);
    margin-top: 16px;
    margin-bottom: 4px;
}
.ec-page dd {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    line-height: 1.75;
    color: #2c2c3e;
    margin-left: 0;
    padding-left: 20px;
    border-left: 3px solid var(--color-brown);
    margin-bottom: 12px;
}

/* ── Bare Tables (without .ec-table class) ──────── */
.ec-page table:not(.ec-table) {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-family-montserrat);
    font-size: .9rem;
    margin: 20px 0;
}
.ec-page table:not(.ec-table) th {
    background: var(--color-black);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .8rem;
}
.ec-page table:not(.ec-table) td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e6f0;
    vertical-align: top;
}
.ec-page table:not(.ec-table) tr:hover td {
    background: rgba(122,92,48,.04);
}

/* ── Bare Images (without .ec-section-img class) ──── */
.ec-page img:not(.ec-section-img) {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* ── Figures / Captions ────────────────────────────── */
.ec-page figure {
    margin: 24px 0;
    padding: 0;
}
.ec-page figure img {
    border-radius: 8px;
}
.ec-page figcaption {
    font-family: var(--font-family-montserrat);
    font-size: .8rem;
    color: #888;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.5;
}

/* ── Nested Lists ─────────────────────────────────── */
.ec-page ul ul,
.ec-page ol ul {
    margin: 8px 0 8px 12px;
}
.ec-page ul ul > li::before {
    content: "◦";
    color: #999;
}
.ec-page ol ol,
.ec-page ul ol {
    margin: 8px 0 8px 12px;
    list-style-type: lower-alpha;
    padding-left: 24px;
}

/* ── Horizontal Rules ──────────────────────────────── */
.ec-page hr {
    border: none;
    height: 2px;
    background: var(--color-brown);
    width: 120px;
    margin: 32px 0;
}
.ec-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ec-content-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-direction: row-reverse; /* sidebar on LEFT, main on RIGHT */
}
@media (max-width: 900px){
  .ec-content-wrap { flex-direction: column; } /* stack on mobile, sidebar follows content */
}
.ec-main {
    flex: 1;
    min-width: 0;
}
.ec-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
}
/* Full-width content area — matches homepage section-container padding */
.ec-fullwidth-content {
    padding: 0 64px;
    box-sizing: border-box;
}
.ec-fullwidth-content .ec-main {
    width: 100%;
    max-width: 100%;
}

/* ── Hero Section (dark bg — matches homepage CTA colors) ── */
.ec-hero {
    background: var(--color-black);
    border-bottom: none;
    padding: 48px 0 !important;
    margin-bottom: 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ec-hero-badge {
    display: inline-block;
    background: var(--color-brown);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--color-brown);
}
.ec-hero h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.2 !important;
    margin: 0 0 12px;
    color: #fff;
}
.ec-hero h1 span {
    color: #fff;
}
.ec-hero-desc {
    font-family: var(--font-family-montserrat);
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    max-width: 720px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.ec-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Override .ec-page p/a inside dark-background hero */
.ec-hero p { color: rgba(255,255,255,.8); }
.ec-hero a { color: #fff; }

/* ── Buttons ────────────────────────────────────────── */
.ec-btn-primary {
    display: inline-block;
    background: var(--color-brown);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-family-montserrat);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: background .3s, transform .2s;
    border: none;
    cursor: pointer;
}
.ec-btn-primary:hover {
    background: var(--color-black);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
/* Override .ec-page a inside buttons */
a.ec-btn-primary,
a.ec-btn-primary:hover { color: #fff; text-decoration: none; }
.ec-btn-outline {
    display: inline-block;
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-family-montserrat);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    transition: all .3s;
}
.ec-btn-outline:hover {
    border-color: var(--color-brown);
    background: rgba(122,92,48,.15);
    color: #fff;
    text-decoration: none;
}
a.ec-btn-outline,
a.ec-btn-outline:hover { color: #fff; text-decoration: none; }

/* ── Horizontal Table of Contents ───────────────────── */
.ec-toc-bar {
    background: #f8f8f8;
    border-top: 1px solid #e2e6f0;
    border-bottom: 1px solid #e2e6f0;
    padding: 14px 0;
    margin: 0;
}
.ec-toc-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ec-toc-label {
    display: inline-block;
    font-family: var(--font-family-montserrat);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    padding: 6px 14px;
    background: var(--color-brown);
    color: #fff;
    border-radius: 6px;
    line-height: 1.4;
    border: 1px solid var(--color-brown);
    flex-shrink: 0;
}
.ec-page .ec-toc-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ec-page .ec-toc-links > li {
    margin: 0;
    padding: 0;
}
.ec-toc-links li a {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--font-family-montserrat);
    font-size: .85rem;
    font-weight: 600;
    color: #2c2c3e;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #e2e6f0;
    background: #fff;
    transition: all .2s ease;
    line-height: 1.4;
}
.ec-toc-links li a:hover {
    color: var(--color-brown);
    border-color: var(--color-brown);
    background: rgba(122,92,48,.04);
    text-decoration: none;
}

/* ── Stats Bar ──────────────────────────────────────── */
.ec-stats-bar {
    background: #f8f8f8;
    padding: 18px 20px;
    border-top: 1px solid #e2e6f0;
    border-bottom: 1px solid #e2e6f0;
}
.ec-stats-inner {
    display: grid;
    
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.ec-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-brown);
}
.ec-stat-label {
    font-size: .75rem;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Section Containers ─────────────────────────────── */
.ec-section {
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(26,26,26,.06);
    border: 1px solid #e2e6f0;
}
/* Section with label + heading pattern (matches homepage section-header) */
.ec-section-headed {
    padding: 48px 36px;
}

/* ── Section Headings (match homepage .section-title) ── */
/* H2 inside .ec-section (card-style sections) — matches .section-title */
.ec-section h2 {
    font-family: var(--font-family-eb-garamond);
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #8B6F47;
    line-height: 1.3;
}
/* H2 inside .ec-section-headed (full-width sections with label) — matches .section-title */
.ec-section-headed h2 {
    font-family: var(--font-family-eb-garamond);
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    font-weight: 800;
    font-style: normal;
    color: var(--color-black);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #8B6F47;
    line-height: 1.3;
}

/* Section label — matches .page-heading-top-text exactly */
.ec-section-label {
    font-family: var(--font-family-montserrat);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-brown);
    margin-bottom: 24px;
}
/* Decorative line under heading — matches .heading-line exactly */
.ec-section-line {
    width: 120px;
    height: 2px;
    background: var(--color-brown);
    margin-top: 24px;
    margin-bottom: 34px;
}
/* Lead text under heading — matches .heading-desc exactly */
.ec-section-lead {
    font-family: var(--font-family-montserrat);
    font-size: 18.4px;
    line-height: 33.12px;
    color: #666;
    margin-bottom: 32px;
    max-width: 743px;
}

/* ── Section Content (.ec-section + .ec-section-headed) ── */
/* Both section types share identical content typography    */
.ec-section p,
.ec-section-headed p {
    font-family: var(--font-family-montserrat);
    font-size: 1rem;
    line-height: 1.75;
    color: #2c2c3e;
    margin-bottom: 16px;
}
.ec-section a,
.ec-section-headed a {
    color: var(--color-brown);
    text-decoration: none;
    font-weight: 500;
}
.ec-section a:hover,
.ec-section-headed a:hover {
    text-decoration: underline;
}
.ec-section h3,
.ec-section-headed h3 {
    font-family: var(--font-family-montserrat);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 24px 0 12px;
    line-height: 1.3;
}
.ec-section h4,
.ec-section-headed h4 {
    font-family: var(--font-family-eb-garamond);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 20px 0 10px;
    line-height: 1.3;
}
.ec-section ul,
.ec-section-headed ul,
.ec-section ol,
.ec-section-headed ol {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    line-height: 1.75;
    color: #2c2c3e;
    margin: 0 0 16px;
    padding-left: 0;
    list-style-type: none;
}
.ec-section ul > li,
.ec-section-headed ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.ec-section ul > li::before,
.ec-section-headed ul > li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-brown);
    font-weight: 700;
}
.ec-section ol,
.ec-section-headed ol {
    padding-left: 24px;
    list-style-type: decimal;
}
.ec-section ol > li,
.ec-section-headed ol > li {
    margin-bottom: 8px;
    padding-left: 4px;
}
.ec-section ol > li::marker,
.ec-section-headed ol > li::marker {
    color: var(--color-brown);
    font-weight: 700;
}
.ec-section blockquote,
.ec-section-headed blockquote {
    background: #ffffff;
    border-left: 4px solid var(--color-brown);
    padding: 20px 28px;
    margin: 24px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #444;
}
.ec-section strong,
.ec-section-headed strong {
    font-weight: 700;
    color: var(--color-black);
}

/* ── Callout Box (matches homepage .results-disclaimer pattern) ── */
/* Used for "No Fee Unless We Win" and similar callouts */
.ec-callout,
.callout,
.ec-highlight {
    background: rgba(139,111,71,0.08);
    border-left: 4px solid var(--color-brown);
    padding: 24px 32px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}
.ec-callout p,
.callout p,
.ec-highlight p {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    line-height: 1.75;
    color: #2c2c3e;
    margin: 0;
}
.ec-section-headed .ec-highlight:last-child,
.ec-section-headed .ec-callout:last-child {
    margin-bottom: 0;
}
.ec-warning {
    background: #fff3cd;
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}
.ec-info {
    background: #ffffff;
    border-left: 4px solid var(--color-brown);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

/* ── Ordered Steps (4-step process) ─────────────────── */
/* High specificity to override global .ec-page ol rules */
ol.ec-steps,
.ec-page ol.ec-steps,
.ec-section ol.ec-steps,
.ec-section-headed ol.ec-steps {
    counter-reset: ec-step;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 20px 0;
}
ol.ec-steps > li,
.ec-page ol.ec-steps > li {
    counter-increment: ec-step;
    padding: 16px 16px 16px 56px !important;
    position: relative;
    margin-bottom: 12px;
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #e2e6f0;
}
ol.ec-steps > li::marker {
    content: none;
}
ol.ec-steps > li::before,
.ec-page ol.ec-steps > li::before {
    content: counter(ec-step) !important;
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-brown) !important;
    color: #fff !important;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Tables ─────────────────────────────────────────── */
.ec-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}
.ec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.ec-table th {
    background: var(--color-black);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .8rem;
}
.ec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e6f0;
    vertical-align: top;
}
.ec-table tr:hover td {
    background: rgba(122,92,48,.04);
}
.ec-table .bold {
    font-weight: 600;
    color: var(--color-black);
}
.ec-table .ec-gold-text {
    color: var(--color-brown);
    font-weight: 700;
}

/* ── Card Grid ──────────────────────────────────────── */
.ec-card-grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.ec-card {
    background: #f8f8f8;
    border: 1px solid #e2e6f0;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.ec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26,26,26,.1);
}
.ec-card-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.ec-card h4 {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 8px;
}
.ec-card p {
    font-size: .83rem;
    color: #5a5a72;
    line-height: 1.5;
    margin: 0;
}
.ec-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.ec-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ── Section Image ──────────────────────────────────── */
.ec-section-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ── Practice Area Cards (matches homepage .practice-card) ── */
.ec-practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    margin: 0 -42px -48px;
}
.ec-practice-card {
    background: #fff;
}
.ec-practice-inner {
    border: 2px solid #f1f1f1;
    padding: 42px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    height: 100%;
}
.ec-practice-inner:hover {
    border-color: var(--color-brown);
}
.ec-practice-icon {
    height: 40px;
    margin-bottom: 24px;
    display: flex;
    font-size: 2.5rem;
    color: var(--color-black);
}
.ec-practice-icon svg {
    width: 1em;
    height: 1em;
}
.ec-practice-title {
    font-family: var(--font-family-eb-garamond);
    font-weight: 600;
    font-style: normal;
    font-size: 28px;
    color: var(--color-black);
    margin-bottom: 16px;
    line-height: 1.2;
}
.ec-practice-desc {
    font-family: var(--font-family-montserrat);
    font-size: 16px;
    line-height: 26px;
    color: #666;
    margin-bottom: 24px;
}
.ec-practice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ec-practice-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-family-montserrat);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-brown);
}
.ec-practice-list li::before {
    content: "•";
    font-size: 14px;
}

/* ── Office Cards ───────────────────────────────────── */
.ec-office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin: 0 -42px -48px;
}
.ec-office-card {
    background: #fff;
}
.ec-office-inner {
    border: 2px solid #f1f1f1;
    padding: 28px 24px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    height: 100%;
}
.ec-office-inner:hover {
    border-color: var(--color-brown);
}
.ec-office-icon {
    height: 32px;
    margin-bottom: 16px;
    display: flex;
    font-size: 1.8rem;
    color: var(--color-brown);
}
.ec-office-icon svg {
    width: 1em;
    height: 1em;
}
.ec-office-title {
    font-family: var(--font-family-eb-garamond);
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    color: var(--color-black);
    margin: 0 0 10px;
    line-height: 1.2;
}
.ec-office-addr {
    font-family: var(--font-family-montserrat);
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}
.ec-office-phone {
    font-family: var(--font-family-montserrat);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-brown);
    text-decoration: none;
    transition: color .2s;
}
.ec-office-phone:hover {
    color: var(--color-black);
    text-decoration: none;
}

/* ── CTA Section (dark background) ──────────────────── */
.ec-cta {
    background: var(--color-brown);
    padding: 48px 0 !important;
    text-align: center;
    margin-top: 48px;
}
.ec-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
.ec-cta h2 {
    font-family: var(--font-family-eb-garamond);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.25;
}
.ec-cta p {
    font-family: var(--font-family-montserrat);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    margin: 0 0 32px;
}
.ec-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Override .ec-page p/a inside dark-background CTA */
.ec-cta p { color: rgba(255,255,255,.85); }
.ec-cta a { color: #fff; }
.ec-cta .ec-btn-primary {
    background: #fff;
    color: #8B6F47;
    border-radius: 4px;
}
.ec-cta .ec-btn-primary:hover {
    background: #f0ebe4;
    color: #8B6F47;
}
.ec-cta .ec-btn-outline svg path { stroke: #ffffff; }

/* ── FAQ Accordion ──────────────────────────────────── */
.ec-faq-section {
    margin-top: 48px;
    padding: 0;
}
.ec-faq-section h2 {
    font-family: var(--font-family-eb-garamond);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 28px;
    line-height: 1.25;
}
.ec-faq {
    border-top: 1px solid #e2e6f0;
}
.ec-faq-item {
    border-bottom: 1px solid #e2e6f0;
}
.ec-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    gap: 16px;
    transition: color .2s;
}
.ec-faq-q:hover {
    color: var(--color-brown);
}
.ec-faq-q span:first-child {
    font-family: var(--font-family-montserrat);
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.5;
}
.ec-faq-q:hover span:first-child {
    color: var(--color-brown);
}
.ec-faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-brown);
    flex-shrink: 0;
    transition: transform .3s;
    line-height: 1;
}
.ec-faq-q.open .ec-faq-icon {
    transform: rotate(45deg);
}
.ec-faq-a {
    display: none;
    padding: 0 0 20px;
}
.ec-faq-a.visible {
    display: block;
}
.ec-faq-a p {
    font-family: var(--font-family-montserrat);
    font-size: .92rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 12px;
}
.ec-faq-a p:last-child {
    margin-bottom: 0;
}

/* ── Disclaimer (matches homepage .results-disclaimer) ── */
.ec-disclaimer {
    background: #ffffff;
    border-left: 4px solid var(--color-brown);
    padding: 32px 36px;
    margin-top: 0;
}
.ec-disclaimer p {
    font-family: var(--font-family-montserrat);
    font-style: italic;
    font-size: 14.4px;
    line-height: 24.48px;
    color: #666;
    margin: 0;
}

/* ── Sidebar Cards ──────────────────────────────── */
.ec-sidebar-card {
    background: #fff;
    border: 1px solid #e2e6f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.ec-sidebar-header {
    background: #8B6F47;
    color: #fff;
    font-family: var(--font-family-montserrat);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 20px;
}
.ec-sidebar-body {
    padding: 16px 20px;
}
.ec-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ec-sidebar-links li {
    padding: 7px 0;
    border-bottom: 1px solid #e2e6f0;
    margin: 0;
}
.ec-sidebar-links li:last-child {
    border-bottom: none;
}
.ec-sidebar-links > li::before {
    display: none;
}
.ec-sidebar-links > li {
    padding-left: 0;
}
.ec-guide-icon {
    margin-right: 8px;
    font-size: .75rem;
}
.ec-sidebar-links a {
    font-family: var(--font-family-montserrat);
    font-size: .85rem;
    color: var(--color-black);
    text-decoration: none;
    display: block;
    line-height: 1.6;
    transition: color .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ec-sidebar-links a:hover {
    color: #8B6F47;
    text-decoration: none;
}
.ec-sidebar-links a.active {
    color: #8B6F47;
    font-weight: 700;
}
/* Sidebar CTA card — gold background */
.ec-sidebar-cta {
    background: #8B6F47;
    border-color: #8B6F47;
    padding: 24px 20px;
    text-align: center;
}
.ec-sidebar-cta h3 {
    font-family: var(--font-family-eb-garamond);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}
.ec-sidebar-cta p {
    font-family: var(--font-family-montserrat);
    font-size: .85rem;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 16px;
}
.ec-sidebar-cta .ec-btn-primary {
    background: #fff;
    color: #8B6F47;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}
.ec-sidebar-cta .ec-btn-primary:hover {
    background: #f5f5f5;
    color: #8B6F47;
}
.ec-sidebar-phone a {
    font-family: var(--font-family-montserrat);
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}
.ec-sidebar-phone a:hover {
    text-decoration: underline;
}

/* ── Blog Post ──────────────────────────────────── */
.ec-progress-bar {
    position: fixed;
    top: 80px;
    left: 0;
    height: 3px;
    background: #8B6F47;
    width: 0%;
    z-index: 9999;
    transition: width .1s;
    pointer-events: none;
}
.ec-blog-title {
    font-family: var(--font-family-eb-garamond);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.25;
    margin: 32px 0 16px;
}
.ec-meta-row {
    font-family: var(--font-family-montserrat);
    font-size: .85rem;
    color: #666;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.ec-meta-row span {
    display: inline-flex;
    align-items: center;
}
.ec-meta-row span + span::before {
    content: "·";
    margin-right: 16px;
    color: #ccc;
}

/* ── Mobile Tab Bar (state page) ──────────────────── */.ec-mob-tabs { display: none; }.ec-mob-panel { padding: 12px 16px; background: #fff; border: 1px solid #e2e6f0; border-radius: 10px; margin-bottom: 12px; }.ec-mob-panel .ec-sidebar-links { list-style: none; padding: 0; margin: 0; }.ec-mob-panel .ec-sidebar-links li { padding: 0; margin: 0; }.ec-mob-panel .ec-sidebar-links li::before { display: none; }.ec-mob-panel .ec-sidebar-links a { display: block; padding: 8px 0; font-size: .88rem; color: #2c2c3e; text-decoration: none; border-bottom: 1px solid #f0f0f0; }.ec-mob-panel .ec-sidebar-links li:last-child a { border-bottom: none; }
/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
    .ec-content-wrap {
        flex-direction: column;
        gap: 0;
    }
    .ec-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }
    .ec-sidebar-cta { display: none; }
    .ec-sidebar-card { display: none; }    .ec-mob-tabs {        display: flex;        background: #8B6F47;        border-radius: 10px;        overflow: hidden;        margin-bottom: 12px;    }    .ec-mob-tab {        flex: 1;        display: inline-flex;        align-items: center;        justify-content: center;        padding: 14px 8px;        background: transparent;        border: none;        color: rgba(255,255,255,.7);        font-size: .82rem;        font-weight: 700;        cursor: pointer;        border-bottom: 3px solid transparent;        transition: all .2s;    }    .ec-mob-tab.active {        color: #fff;        border-bottom-color: #1a1a1a;    }    .ec-mob-tab-divider {        width: 1px;        background: rgba(255,255,255,.18);        align-self: stretch;        margin: 8px 0;    }
    .ec-sidebar-body { display: none; }
    .ec-sidebar-card.open .ec-sidebar-body { display: block; padding: 16px 20px; }
    .ec-sidebar-header { cursor: pointer; }
    .ec-section {
        padding: 24px 18px;
    }
    .ec-stats-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ec-hero { padding: 40px 0 28px; }
    .ec-fullwidth-content { padding: 0 24px; }
    .ec-toc-inner { gap: 12px; }
    .ec-toc-links { gap: 4px; }
    .ec-toc-links li a { font-size: .8rem; padding: 5px 10px; }
    .ec-practice-grid { margin: 0 -24px -24px; }
    .ec-practice-inner { padding: 28px; }
    .ec-practice-title { font-size: 22px; }
    .ec-section-headed { padding: 32px 24px; }
    .ec-office-grid { margin: 0 -24px -24px; }
    .ec-office-inner { padding: 24px 18px; }
    .ec-cta { padding: 48px 0; }
}
/* ── TOC collapse arrow (mobile only) ── */
.ec-toc-arrow { display: none; font-size: .7rem; margin-left: 4px; transition: transform .3s; }
.ec-toc-bar.open .ec-toc-arrow { transform: rotate(180deg); }
@media (max-width: 567px) {
    .ec-section h2 {
        font-size: 1.3rem;
    }
    .ec-card-grid {
    align-items: stretch;
        grid-template-columns: 1fr;
    }
    .ec-hero { padding: 28px 0 20px; }
    .ec-fullwidth-content { padding: 0 16px; }
    .ec-hero h1 { font-size: 1.6rem; }
    .ec-hero-desc { font-size: .9rem; }
    .ec-toc-bar { padding: 12px 0; }
    .ec-toc-inner { flex-direction: column; align-items: center; gap: 10px; }
    .ec-page .ec-toc-links { display: none; }
    .ec-toc-bar.open .ec-toc-links { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
    .ec-toc-label { cursor: pointer; }
    .ec-toc-arrow { display: inline; }
    .ec-toc-links li a { font-size: .78rem; padding: 5px 10px; }
    .ec-practice-grid { grid-template-columns: 1fr; margin: 0 -18px -18px; }
    .ec-practice-inner { padding: 24px; }
    .ec-practice-title { font-size: 20px; }
    .ec-section-headed { padding: 24px 18px; }
    .ec-office-grid { grid-template-columns: repeat(2, 1fr); margin: 0 -18px -18px; }
    .ec-office-inner { padding: 20px 16px; }
    .ec-office-title { font-size: 17px; }
    .ec-cta { padding: 40px 0; }
    .ec-cta h2 { font-size: 1.4rem; }
    .ec-faq-section h2 { font-size: 1.4rem; }
    .ec-faq-q span:first-child { font-size: .88rem; }
}

/* ──────────────────────────────────────────────────────────────────
   Focus-visible for custom ec-* UI controls — WCAG 2.1 SC 2.4.7
   Added 2026-04-28 (Round 36).
   ────────────────────────────────────────────────────────────────── */

.ec-btn-primary:focus-visible,
.ec-btn-outline:focus-visible,
.ec-mob-tab:focus-visible,
.ec-sidebar-links a:focus-visible,
.ec-faq-q:focus-visible {
    outline: 3px solid #8B6F47;
    outline-offset: 2px;
    border-radius: 4px;
    box-shadow: 0 0 0 2px #ffffff;
}

/* Fallback for older browsers without :focus-visible support */
.ec-btn-primary:focus,
.ec-btn-outline:focus,
.ec-mob-tab:focus,
.ec-sidebar-links a:focus,
.ec-faq-q:focus {
    outline: 3px solid #8B6F47;
    outline-offset: 2px;
}

/* In modern browsers that support :focus-visible, suppress the bare :focus
   ring on mouse clicks so only keyboard focus shows the indicator. */
@supports selector(:focus-visible) {
    .ec-btn-primary:focus:not(:focus-visible),
    .ec-btn-outline:focus:not(:focus-visible),
    .ec-mob-tab:focus:not(:focus-visible),
    .ec-sidebar-links a:focus:not(:focus-visible),
    .ec-faq-q:focus:not(:focus-visible) {
        outline: none;
        box-shadow: none;
    }
}

/* Counties We Serve pill/tag-cloud layout (updated 2026-05-15) */
.ec-counties-we-serve {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e8e2d4;
}
.ec-counties-we-serve h2 {
    margin: 0 0 14px;
    font-size: 1.5rem;
    color: #1a1a1a;
}
.ec-counties-we-serve p {
    margin: 0 0 22px;
    color: #555;
    line-height: 1.55;
}
.ec-counties-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ec-counties-grid li {
    margin: 0;
    padding: 0;
    border: none;
}
.ec-counties-grid li a {
    display: inline-block;
    padding: 7px 16px;
    background: #F5F0E6;
    border: 1px solid #D4C5A0;
    border-radius: 20px;
    color: #6E4A1C;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.ec-counties-grid li a:hover {
    background: #6E4A1C;
    border-color: #6E4A1C;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(110, 74, 28, 0.18);
}
@media (max-width: 640px) {
    .ec-counties-grid { gap: 8px; }
    .ec-counties-grid li a { padding: 6px 13px; font-size: 0.84rem; }
}

/* ================================================================ */
/* gA SITEWIDE UPGRADE — June 2026                                   */
/* Lifts every page (ec-hero, legacy, etc.) to the gA-premium look.  */
/* Pure CSS additions — no HTML changes required.                    */
/* ================================================================ */

:root{
  --gAu-ink:#0E141C;
  --gAu-ink-2:#1B2230;
  --gAu-mut:#5A6271;
  --gAu-gold:#8B6F47;
  --gAu-gold-2:#B68A4A;
  --gAu-cream:#FBF6EC;
  --gAu-cream-2:#F4ECDE;
  --gAu-line:#D9CFBC;
  --gAu-line-2:#E6DDC8;
  --gAu-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --gAu-sans:"Source Sans 3","Inter",system-ui,sans-serif;
}

/* === ec-hero upgrade — cream gradient, premium serif H1, padding, contrast === */
.ec-hero{
  background:linear-gradient(180deg, var(--gAu-cream) 0%, var(--gAu-cream-2) 100%) !important;
  border-bottom:1px solid var(--gAu-line) !important;
  padding:56px 0 50px !important;
  position:relative;
  overflow:hidden;
}
.ec-hero::before{
  content:"";
  position:absolute;
  top:-120px;right:-120px;
  width:340px;height:340px;
  background:radial-gradient(circle, rgba(139,111,71,.10) 0%, transparent 70%);
  pointer-events:none;
}
.ec-hero .ec-container{position:relative;z-index:1;max-width:1240px;padding:0 28px}
.ec-hero-badge{
  display:inline-block !important;
  font-family:var(--gAu-sans) !important;
  font-size:11.5px !important;
  font-weight:700 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  color:var(--gAu-gold) !important;
  background:rgba(139,111,71,.08) !important;
  border:1px solid rgba(139,111,71,.25) !important;
  padding:6px 14px !important;
  border-radius:999px !important;
  margin-bottom:16px !important;
}
.ec-hero h1{
  font-family:var(--gAu-serif) !important;
  font-size:clamp(32px,4.4vw,52px) !important;
  line-height:1.08 !important;
  letter-spacing:-.018em !important;
  color:var(--gAu-ink) !important;
  font-weight:500 !important;
  margin:6px 0 14px !important;
  max-width:22ch;
}
.ec-hero-desc{
  font-family:var(--gAu-sans) !important;
  font-size:18px !important;
  line-height:1.6 !important;
  color:var(--gAu-ink-2) !important;
  max-width:60ch !important;
  margin:0 0 26px !important;
}
.ec-hero-btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px}
.ec-btn-primary,.ec-btn-outline{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  font-family:var(--gAu-sans) !important;
  font-weight:600 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  font-size:13px !important;
  padding:14px 22px !important;
  border-radius:6px !important;
  text-decoration:none !important;
  border:1px solid transparent !important;
  transition:.18s ease !important;
}
.ec-btn-primary{
  background:var(--gAu-gold) !important;
  color:#fff !important;
  border-color:var(--gAu-gold) !important;
}
.ec-btn-primary:hover{
  background:var(--gAu-ink) !important;
  color:#fff !important;
  border-color:var(--gAu-ink) !important;
}
.ec-btn-outline{
  background:transparent !important;
  color:var(--gAu-ink) !important;
  border-color:var(--gAu-ink) !important;
}
.ec-btn-outline:hover{
  background:var(--gAu-ink) !important;
  color:#fff !important;
}

/* === ec-sidebar upgrade — sticky, card-shadow, gold accents === */
.ec-sidebar{
  position:sticky;top:120px;
}
.ec-sidebar-card{
  background:#fff !important;
  border:1px solid var(--gAu-line) !important;
  border-radius:14px !important;
  padding:22px !important;
  box-shadow:0 1px 2px rgba(14,20,28,.05);
  margin-bottom:18px !important;
}
.ec-sidebar-header{
  font-family:var(--gAu-sans) !important;
  font-size:11.5px !important;
  font-weight:700 !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  color:var(--gAu-gold) !important;
  margin:0 0 14px !important;
}
.ec-sidebar-links{list-style:none !important;padding:0 !important;margin:0 !important}
.ec-sidebar-links li{margin:0 !important}
.ec-sidebar-links a{
  color:var(--gAu-ink-2) !important;
  text-decoration:none !important;
  font-family:var(--gAu-sans) !important;
  font-size:14.5px !important;
  display:block !important;
  padding:5px 0 !important;
  border:none !important;
  transition:color .15s, padding-left .15s !important;
}
.ec-sidebar-links a:hover{
  color:var(--gAu-gold) !important;
  padding-left:4px !important;
}
.ec-sidebar-cta{
  background:linear-gradient(135deg, var(--gAu-ink) 0%, #202A3A 100%) !important;
  color:#fff !important;
  border:none !important;
  text-align:center;
}
.ec-sidebar-cta h3{
  color:var(--gAu-gold-2) !important;
  font-family:var(--gAu-sans) !important;
  font-size:13px !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  margin:0 0 10px !important;
}
.ec-sidebar-cta p{
  color:#D5D8DE !important;
  font-size:14px !important;
  line-height:1.55 !important;
  margin:0 0 14px !important;
}
.ec-sidebar-cta .ec-btn-primary{
  width:100% !important;
  justify-content:center !important;
}
.ec-sidebar-phone a{
  color:#fff !important;
  font-family:var(--gAu-serif) !important;
  font-size:22px !important;
  font-weight:600 !important;
  letter-spacing:-.01em !important;
  text-decoration:none !important;
  margin-top:10px !important;
  display:block;
  text-align:center;
}
.ec-sidebar-phone a:hover{color:var(--gAu-gold-2) !important}

/* === ec-section upgrade — better typography === */
.ec-section{padding:18px 0 !important;scroll-margin-top:120px}
.ec-section h2{
  font-family:var(--gAu-serif) !important;
  font-size:clamp(24px,2.7vw,32px) !important;
  color:var(--gAu-ink) !important;
  font-weight:500 !important;
  letter-spacing:-.012em !important;
  margin:32px 0 14px !important;
  line-height:1.18;
}
.ec-section h3{
  font-family:var(--gAu-serif) !important;
  font-size:21px !important;
  color:var(--gAu-ink) !important;
  font-weight:500 !important;
  margin:22px 0 10px !important;
}
.ec-section p, .ec-section li{
  font-family:var(--gAu-sans) !important;
  font-size:17px !important;
  line-height:1.72 !important;
  color:var(--gAu-ink-2) !important;
}
.ec-section p{margin:0 0 16px !important}
.ec-section a{
  color:var(--gAu-gold) !important;
  text-decoration:none !important;
  border-bottom:1px solid rgba(139,111,71,.35) !important;
}
.ec-section a:hover{
  color:var(--gAu-ink) !important;
  border-color:var(--gAu-ink) !important;
}
.ec-section strong{color:var(--gAu-ink) !important;font-weight:600 !important}

/* Tables in any ec-section */
.ec-section table,.ec-main table{
  width:100% !important;
  border-collapse:collapse !important;
  margin:18px 0 22px !important;
  font-size:15.5px !important;
  background:#fff !important;
  border:1px solid var(--gAu-line) !important;
  border-radius:8px !important;
  overflow:hidden;
}
.ec-section thead th,.ec-main thead th{
  background:var(--gAu-cream) !important;
  color:var(--gAu-ink) !important;
  text-align:left !important;
  padding:12px 14px !important;
  font-family:var(--gAu-sans) !important;
  font-size:12.5px !important;
  font-weight:700 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  border-bottom:1px solid var(--gAu-line) !important;
}
.ec-section tbody td,.ec-main tbody td{
  padding:11px 14px !important;
  border-bottom:1px solid #ECE5D2 !important;
  color:var(--gAu-ink-2) !important;
  vertical-align:top !important;
}
.ec-section tbody tr:last-child td,.ec-main tbody tr:last-child td{border-bottom:none !important}
.ec-section tbody tr:nth-child(even) td,.ec-main tbody tr:nth-child(even) td{background:#FBFAF5 !important}

/* === ec-content-wrap layout polish === */
.ec-content-wrap{gap:48px !important}
.ec-main{max-width:none !important;padding:0 !important}
.ec-container{max-width:1240px !important;padding:0 28px !important;margin:0 auto !important}

/* === ec-cta bottom block === */
.ec-cta{
  background:linear-gradient(180deg, var(--gAu-cream) 0%, var(--gAu-cream-2) 100%) !important;
  border-top:1px solid var(--gAu-line) !important;
  padding:64px 0 !important;
}
.ec-cta h2{
  font-family:var(--gAu-serif) !important;
  font-size:clamp(28px,3.5vw,40px) !important;
  color:var(--gAu-ink) !important;
  font-weight:500 !important;
  letter-spacing:-.015em !important;
  margin:0 0 14px !important;
}
.ec-cta-text{
  font-family:var(--gAu-sans) !important;
  font-size:18px !important;
  line-height:1.6 !important;
  color:var(--gAu-ink-2) !important;
}

/* === Legacy "wt-shell" / "wt-bottom-cta" / generic "page-wrap" cleanup === */
.wt-bottom-cta{
  margin-top:42px !important;
  background:linear-gradient(135deg, var(--gAu-cream) 0%, var(--gAu-cream-2) 100%) !important;
  border:1px solid var(--gAu-line) !important;
  border-radius:14px !important;
  padding:32px !important;
  text-align:center;
}
.wt-bottom-cta h2{
  font-family:var(--gAu-serif) !important;
  font-size:26px !important;
  color:var(--gAu-ink) !important;
  font-weight:500 !important;
}

/* === Padded image frame — auto-apply to common hero images sitewide === */
.ec-hero img:not([class]),
.ec-hero picture img{
  border-radius:14px !important;
  box-shadow:0 18px 50px -20px rgba(14,20,28,.22) !important;
  border:1px solid var(--gAu-line) !important;
  padding:10px !important;
  background:#fff !important;
}

/* === Disable old, harsh dark hero from /css/common.min.css =
   Some old pages still call .heroBannerContent{color:#fff} on cream backgrounds.
   We force readable color when those are within ec-hero. === */
.ec-hero .heroBannerContent,
.ec-hero .heroBannerContent h1,
.ec-hero .heroBannerContent h2,
.ec-hero .heroBannerContent p,
.ec-hero .bannerQuoteInner h6{color:var(--gAu-ink) !important}
.ec-hero .heroBannerContent .btnOutline{color:var(--gAu-ink) !important;border-color:var(--gAu-ink) !important}

/* === Hero "more in [city]" pill links — cleanup the small letters === */
.ec-sidebar-card a span[style*="color:#8B6F47"]{
  color:var(--gAu-gold) !important;
}

/* === Mobile padding cleanup === */
@media (max-width:680px){
  .ec-hero{padding:42px 0 38px !important}
  .ec-hero h1{font-size:32px !important;line-height:1.1 !important}
  .ec-hero-desc{font-size:16.5px !important}
  .ec-container{padding:0 18px !important}
}

/* ============================== gA SITEWIDE UPGRADE END ============================== */

/* === gA HERO ALIGNMENT FIX — top-align text/image columns === */
.gA-hero-inner{align-items:start !important;padding-top:6px}
.gA-hero-inner > div:last-child{padding-top:6px}
/* visually balance: image sits next to badge+H1 */
.gA-hero-text{padding-top:0}
.gA-hero .gA-frame{margin-top:0}
@media (max-width:1024px){
  .gA-hero-inner > div:last-child{padding-top:0;margin-top:8px}
}
/* ============================================================== */

/* === FORM JUNK CLEANUP: hide always-visible validation messages, soften legacy form labels === */
.requiredAlertMsg,
.msgName, .msgEmail, .msgPhone,
.msgName.requiredAlertMsg,
.msgEmail.requiredAlertMsg,
.msgPhone.requiredAlertMsg{display:none !important}

/* Polish the legacy duplicate-form area on city/practice pages */
.contactForm{
  background:#fff !important;
  border:1px solid #D9CFBC !important;
  border-radius:14px !important;
  padding:24px !important;
  box-shadow:0 8px 28px -16px rgba(14,20,28,.14) !important;
}
.contactForm h3{
  font-family:"Source Serif 4",Georgia,serif !important;
  font-size:22px !important;
  font-weight:500 !important;
  color:#0E141C !important;
  margin:0 0 18px !important;
  letter-spacing:-.01em !important;
}
.contactForm .form-control,
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"],
.contactForm textarea{
  width:100% !important;
  background:#fff !important;
  border:1px solid #CFC8B9 !important;
  border-radius:6px !important;
  padding:11px 13px !important;
  font:inherit !important;
  color:#0E141C !important;
  margin:0 0 10px !important;
}
.contactForm .form-control:focus,
.contactForm input:focus,
.contactForm textarea:focus{
  outline:none !important;
  border-color:#8B6F47 !important;
  box-shadow:0 0 0 3px rgba(139,111,71,.15) !important;
}
.contactForm .submit-btn,
.contactForm .submitBtn,
.contactForm input[type="submit"],
.contactForm button[type="submit"]{
  background:#8B6F47 !important;
  color:#fff !important;
  border:1px solid #8B6F47 !important;
  font-weight:600 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  font-size:13px !important;
  padding:14px 22px !important;
  border-radius:6px !important;
  cursor:pointer !important;
  width:100% !important;
}
.contactForm .submit-btn:hover,
.contactForm .submitBtn:hover{
  background:#0E141C !important;border-color:#0E141C !important;
}
.contactForm .form-check{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 0 !important;
}
.contactForm .form-check-input{
  width:16px !important;height:16px !important;
  accent-color:#8B6F47 !important;
}
.contactForm .form-check-label{
  font-size:14.5px !important;
  color:#0E141C !important;
}
.contactForm .guaranteeMsg p{
  font-size:12.5px !important;
  color:#5A6271 !important;
  line-height:1.55 !important;
  margin:14px 0 0 !important;
}
/* Soften the shouty "WAS A VICTIM OF:" label */
.contactForm label.mb-3{
  font-family:"Source Sans 3",sans-serif !important;
  font-size:12.5px !important;
  font-weight:700 !important;
  letter-spacing:.15em !important;
  text-transform:uppercase !important;
  color:#8B6F47 !important;
  display:block !important;
  margin:14px 0 6px !important;
}
/* ===================================================================== */


/* compare-table styles (FEHA / federal vs CA comparison tables) */
.compare-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px;background:#fff;border:1px solid #E7E1D3;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px -8px rgba(15,22,35,.10)}
.compare-table thead th{background:linear-gradient(135deg,#0F1623 0%,#1B2230 100%);color:#fff;padding:14px 18px;text-align:left;font:600 13px/1.2 'Source Sans 3',sans-serif;letter-spacing:.04em;text-transform:uppercase;border:none}
.compare-table thead th:first-child{background:linear-gradient(135deg,#B7892F 0%,#8B6F47 100%)}
.compare-table tbody td{padding:14px 18px;border-top:1px solid #E7E1D3;vertical-align:top;line-height:1.55;color:#1B2230}
.compare-table tbody tr:nth-child(even) td{background:#FBF7EE}
.compare-table tbody td:first-child{font-weight:600;color:#0F1623;width:30%;border-left:3px solid #B7892F}
.compare-table tbody td:nth-child(2){color:#5A6473}
.compare-table tbody td:nth-child(3){color:#0E7C38;font-weight:500}
@media(max-width:760px){.compare-table{font-size:14px}.compare-table thead th,.compare-table tbody td{padding:10px 12px}.compare-table tbody td:first-child{width:35%}}
