/* Milwaukee per-site variation: draft site-custom CSS + surface theme (copied, not rewritten). */
/* from draft <style id="site-custom-css"> */
/*
 * Static land-site custom styles
 * GeneratePress theme
 */

/* -- Colour palette
   --primary-dark  : #1a3d5c
   --primary-mid   : #1e4a6e
   --primary-light : #b8cee0
   --primary-pale  : #e6eef5
   ----------------------------- */

/* ── Prevent horizontal scroll from 100vw sections (scrollbar width on Windows) ── */
/* Using clip instead of hidden so position:sticky still works */
html, body { overflow-x: clip; }

/* ── Header widget injection container (hide the box, keep CSS active) ── */
.header-widget                { display: none !important; }

/* ── Full-width content layout (override GP's 70/30 split) ──────────── */
.site-content .widget-area     { display: none !important; width: 0 !important; flex: 0 0 0 !important; overflow: hidden !important; }
.site-content .content-area    { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }

/* ── Base typography ─────────────────────────────── */
/* NOTE: Google Fonts loaded via push-css.js widget injection. */
body,
.site,
.site-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #1c2b22;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.main-navigation .main-nav ul li a {
    font-family: 'Montserrat', sans-serif;
}

/* ── Global links ───────────────────────────────── */
a, a:visited           { color: #1a3d5c; }
a:hover                { color: #15334d; }

/* ── Site header ─────────────────────────────────── */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border-bottom: 1px solid #e5e7eb;
}
.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75em 1.5em;
}
/* ── Site logo sizing ── */
.site-logo img.header-image {
    max-height: 70px;
    width: auto;
    height: auto;
}
/* Hide text title when logo is present (logo already contains the name) */
.site-logo + .site-branding .main-title { display: none; }
@media (max-width: 768px) {
    .site-logo img.header-image { max-height: 50px; }
}

/* Logo-style site title */
.site-title a,
.site-title a:visited,
.site-title a:hover {
    color: #1a3d5c;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .95em;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-left: 3px solid #1a3d5c;
    padding-left: .55em;
    line-height: 1.2;
}
.site-description      { color: #6b7280; font-size: .75em; margin: 0; letter-spacing: .06em; }

/* ── Primary navigation ──────────────────────────── */
/* Make top-level nav items flex so link + toggle arrow stay on one line */
.main-navigation .main-nav > ul > li {
    display: flex;
    align-items: center;
}
.main-navigation .main-nav > ul > li > a {
    white-space: nowrap;
}
.main-navigation .main-nav ul li a {
    color: #1a3d5c;
    font-size: .9em;
    font-weight: 600;
    letter-spacing: .03em;
    padding: .6em 1em;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #15334d;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: #4a8ab5;
}

/* Mobile hamburger */
.menu-toggle,
.menu-toggle:hover     { color: #1a3d5c; }

/* Nav dropdown */
.main-navigation .main-nav ul ul           { background-color: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.main-navigation .main-nav ul ul li a      { color: #1a3d5c; }
.main-navigation .main-nav ul ul li a:hover { background-color: #e6edf4; }

/* Fix second-level items with city children: flex layout so toggle stays in same row as link */
.main-navigation .main-nav ul ul li.menu-item-has-children {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.main-navigation .main-nav ul ul li.menu-item-has-children > a {
    flex: 1;
}
.main-navigation .main-nav ul ul li.menu-item-has-children > .dropdown-menu-toggle {
    flex-shrink: 0;
    color: #1a3d5c;
    height: auto;
    display: flex;
    align-items: center;
}
/* City sub-menu takes full row width */
.main-navigation .main-nav ul ul li.menu-item-has-children > ul.sub-menu {
    flex-basis: 100%;
}

/* Fix top-level dropdown position -- flex li makes top:auto compute negative.
   Force dropdown to appear below the nav bar, not overlapping it. */
.main-navigation:not(.toggled) .main-nav > ul > li.sfHover > ul,
.main-navigation:not(.toggled) .main-nav > ul > li:hover > ul {
    top: 100%;
    left: 0;
}

/* ── Header CTA widget (header sidebar) ─────────── */
.header-cta-btn a,
.header-cta-btn a:visited {
    display: inline-block;
    background-color: #1a3d5c;
    color: #fff !important;
    padding: .5em 1.4em;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: .88em;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: .03em;
    transition: background-color .2s, color .2s;
    white-space: nowrap;
}
.header-cta-btn a:hover,
.header-cta-btn a:focus {
    background-color: #15334d;
    color: #fff !important;
}

/* ── Page / post hero banner ─────────────────────── */
.entry-header {
    background: linear-gradient(rgba(10,50,25,.68), rgba(10,50,25,.68)),
                 /* TODO: Replace with hero image URL for this site */ center / cover no-repeat;
    padding: 3em 1.5em 3.2em;
    text-align: center;
    margin-bottom: 0;
}
/* Hide default entry-header on pages that use the custom hero section */
body.page:has(.custom-hero) .entry-header,
body.page:has(.custom-hero) .page .entry-header { display: none !important; }
/* Hide GeneratePress featured image element (outside entry-header) when custom hero is present */
body.page:has(.custom-hero) .featured-image.page-header-image { display: none !important; }

/* Remove all spacing between the nav and the custom hero.
   Three elements contribute the gap: site-main (margin), inside-article (padding),
   entry-content (padding + margin). !important is needed for entry-content because
   the @media (max-width:768px) block later in the file restores the padding shorthand
   at the same specificity.
   GP's generate-style-inline-css adds ~28px top padding on .content-area -- we nuke it. */
/* wpautop wraps scripts/links in a <p> before .custom-hero -- its 28px
   margin creates a white gap between header and hero. Hide it on all pages.
   Also hides the JSON-LD schema <p> wpautop wraps at the bottom of content. */
.entry-content > p:has(+ .custom-hero) { display: none; }
.entry-content > p:last-child:not([class]) { display: none; }
.site-content:has(.custom-hero)    { padding-top: 0 !important; margin-top: 0 !important; }
.content-area:has(.custom-hero)    { padding-top: 0 !important; margin-top: 0 !important; }
.separate-containers .site-main:has(.custom-hero) { margin: 0 !important; padding: 0 !important; }
.separate-containers .inside-article:has(.custom-hero) { padding: 0 !important; margin: 0 !important; }
.entry-content:has(.custom-hero)   { padding-top: 0 !important; margin-top: 0 !important; padding-bottom: 0 !important; }

/* ── Custom hero (replaces entry-header, lives in entry-content) ─────── */
.custom-hero {
    background-color: #1a3d5c; /* H1 always visible if image fails to load */
    position: relative;
    overflow: hidden;
    /* Full-width breakout from entry-content's horizontal padding */
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
}
/* wpautop injects empty <p> between <img> and .hero-content -- kill it without hiding support-page hero subtitles */
.custom-hero > p:not([class]) { display: none; }
/* Hero background image -- positioned behind .hero-content for LCP */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Hero text content -- overlay on top of the image */
.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(10,50,25,.68);
    min-height: 520px;
    padding: 4em 2em 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.custom-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8em, 4vw, 2.65em);
    font-weight: 800;
    color: #fff !important;
    margin: 0 auto .8em;
    line-height: 1.2;
    max-width: 760px;
    text-shadow: 0 2px 6px rgba(0,0,0,.28);
}
.hero-bullets {
    display: inline-block;
    text-align: left;
    padding: 0;
    margin: 0 auto 1.8em;
    list-style: none;
}
.entry-content .hero-bullets li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: .55em;
    font-size: 1.05em;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.28);
}
.entry-content .hero-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: .05em;
    color: #4a8ab5;
    font-weight: 700;
    font-size: 1em;
}
.hero-cta-btn,
.hero-cta-btn:visited {
    display: inline-block;
    background: #fff;
    color: #1a3d5c !important;
    padding: .95em 2.6em;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    text-decoration: none !important;
    letter-spacing: .02em;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0,0,0,.28);
    transition: background-color .2s, transform .15s, box-shadow .15s;
}
.hero-cta-btn:hover,
.hero-cta-btn:focus {
    background: #4a8ab5;
    color: #1a3d5c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,.32);
}

.entry-header .entry-title {
    color: #fff;
    font-size: clamp(1.7em, 4vw, 2.5em);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,.22);
}
/* Remove default bottom margin GeneratePress adds */
.page .entry-header,
.single .entry-header { margin-bottom: 0; }

/* ── Content area ────────────────────────────────── */
.entry-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5em 1.5em 3em;
}
/* Blog posts: widen entry-content so the sidebar grid has room */
.entry-content:has(.blog-layout),
.entry-content:has(.blog-archive-grid) {
    max-width: 1140px;
}

/* Lead paragraph -- first paragraph after entry-header */
.entry-content > p:first-of-type {
    font-size: 1.1em;
    line-height: 1.85;
    color: #2c3e30;
}
/* Intro paragraph after custom hero -- needs breathing room */
.custom-hero + p { margin-top: 1.5em; }

/* ── Content headings ────────────────────────────── */
.entry-content h2 {
    font-family: 'Montserrat', sans-serif;
    color: #1a3d5c;
    font-size: clamp(1.3em, 3vw, 1.75em);
    font-weight: 800;
    margin-top: 1.8em;
    margin-bottom: .7em;
    padding-bottom: .35em;
    border-bottom: 3px solid #b8cee0;
    line-height: 1.2;
}
.entry-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #15334d;
    font-size: 1.15em;
    font-weight: 700;
    margin-top: 1.6em;
}

/* ── Benefit list as 2-col feature cards ─────────── */
.entry-content > ul:not(.hero-bullets) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85em;
    margin-bottom: 2em;
    list-style: none;
    padding-left: 0;
    max-width: 44em;
    margin-left: auto;
    margin-right: auto;
}
.entry-content > ul:not(.hero-bullets) > li {
    background: #e6eef5;
    border: 1px solid #b8cee0;
    border-radius: 8px;
    padding: .9em 1.2em;
    margin-bottom: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: .6em;
}
.entry-content > ul:not(.hero-bullets) > li::before { content: none; }
.entry-content > ul:not(.hero-bullets) > li:has(strong) {
    flex-direction: column;
    align-items: flex-start;
}
.entry-content > ul:not(.hero-bullets) > li strong {
    color: #1a3d5c;
    font-size: 1.05em;
}
.card-icon {
    font-size: 1.4em;
    flex-shrink: 0;
    line-height: 1;
}

/* Keep FAQ/details lists plain */
.entry-content details ul li { padding-left: 1.2em; }
.entry-content details ul li::before { content: none; }

/* ── Process steps -- numbered green circles ──────── */
.entry-content ol {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
    margin-bottom: 1.4em;
}
.entry-content ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.8em;
    margin-bottom: 1.6em;
    min-height: 2.4em;
    line-height: 1.7;
}
.entry-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: .05em;
    width: 2.4em;
    height: 2.4em;
    background-color: #1a3d5c;
    color: #fff;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .88em;
    line-height: 2.4em;
    text-align: center;
    box-shadow: 0 2px 6px rgba(27,94,56,.35);
}

/* ── CTA button ──────────────────────────────────── */
.cta-button                { text-align: center; margin: 2.8em 0; }
.cta-button:last-child     { margin-bottom: 0; }
.testimonials-section + .cta-button { display: none; }
.cta-button a,
.cta-button a:visited,
a.cta-button,
a.cta-button:visited {
    display: inline-block;
    background-color: #1a3d5c;
    color: #fff !important;
    padding: 1em 2.8em;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: .03em;
    transition: background-color .2s, box-shadow .2s, transform .15s;
    box-shadow: 0 3px 10px rgba(27,94,56,.35);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cta-button a:hover,
.cta-button a:focus,
a.cta-button:hover,
a.cta-button:focus {
    background-color: #15334d;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(27,94,56,.4);
    transform: translateY(-1px);
}

/* ── FAQ accordion (details / summary) ───────────── */
.entry-content details {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: .85em;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.entry-content details summary {
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: .95em;
    padding: 1em 3.2em 1em 1.3em;
    list-style: none;
    position: relative;
    background: #e6eef5;
    transition: background .15s;
    user-select: none;
    color: #1c2b22;
}
.entry-content details summary::-webkit-details-marker { display: none; }
.entry-content details summary::marker                { display: none; }
.entry-content details summary::after {
    content: '+';
    position: absolute;
    right: 1.3em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    font-weight: 400;
    color: #1a3d5c;
    line-height: 1;
}
.entry-content details[open] > summary {
    background: #b8cee0;
    border-bottom: 1px solid #4a8ab5;
    color: #1a3d5c;
}
.entry-content details[open] summary::after { content: '\2212'; /* − */ }
.entry-content details > *:not(summary) {
    padding: 1.1em 1.3em;
    margin: 0;
    background: #fff;
    color: #2c3e30;
    line-height: 1.8;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
    background-color: #1a3d5c;
    color: rgba(255,255,255,.85);
    font-family: 'Open Sans', sans-serif;
}
.site-footer a,
.site-footer a:visited { color: #dcefe9; }
.site-footer a:hover   { color: #fff; }

/* ── Back to top button ──────────────────────────── */
.generate-back-to-top a { background-color: #1a3d5c; }

/* ── Contact / GHL form section (footer-1 widget) ── */
.contact-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 3em 1.5em 2.5em;
    text-align: center;
}
.contact-section h2 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 1.9em;
    font-weight: 800;
    margin-bottom: .4em;
    border: none;
    padding: 0;
    line-height: 1.2;
}
.contact-section > p {
    color: rgba(255,255,255,.85);
    margin-bottom: 1.8em;
    font-size: 1.05em;
}
.contact-section iframe {
    border-radius: 10px;
    min-height: 520px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

/* ── Social proof bar ────────────────────────────── */
.social-proof-bar {
    background: #15334d;
    padding: .9em 1.5em;
    text-align: center;
    color: rgba(255,255,255,.92);
    font-family: 'Montserrat', sans-serif;
    font-size: .88em;
    font-weight: 600;
    letter-spacing: .02em;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}
.social-proof-stars { color: #fcd34d; margin-right: .3em; }
.social-proof-sep   { margin: 0 .75em; opacity: .5; }

/* ── Stats strip ─────────────────────────────────── */
.stats-strip {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #1a3d5c;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2em 1em;
    margin: 0;
}
.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: .6em 1.5em;
    border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    color: #4a8ab5;
    line-height: 1;
    margin-bottom: .25em;
}
.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .72em;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.stat-label a,
.stat-label a:visited,
.stat-label a:hover,
.stat-label a:focus,
.stat-label a:active {
    color: inherit;
    text-decoration: none;
}

/* ── Comparison section (full-width band) ───────────── */
.comparison-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 3em 2em 3.5em;
    margin: 1.2em 0 0;
}
.comparison-section .comparison-table {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Steps section (full-width band) ────────────────── */
.steps-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #1a3d5c;
    padding: 3em 2em 3.5em;
    margin: 0;
}
.steps-section > ol {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* Headings inside full-width bands -- centred, no bottom border, no excess top margin */
.comparison-section h2,
.steps-section h2,
.midpage-cta h2 {
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    max-width: 880px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.2em;
}
/* Steps section -- white text on dark green */
.steps-section h2             { color: #fff !important; }
.steps-section p,
.steps-section > h3,
.steps-section > ul,
.steps-section > div {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.steps-section p              { color: rgba(255,255,255,.92); }
.steps-section ol li          { color: #fff; }
.steps-section ol li::before  { background-color: rgba(255,255,255,.15) !important;
                                  box-shadow: 0 0 0 2px rgba(167,243,208,.6) !important; }
.steps-section h3             { color: #dcefe9; }
.steps-section a:not(.cta-button) { color: #dcefe9; text-decoration-color: rgba(220,239,233,.7); }
.steps-section p:last-child,
.steps-section > ul:last-child,
.steps-section > div:last-child { margin-bottom: 0; }

.comparison-section > p,
.comparison-section > h3,
.comparison-section > ul,
.comparison-section > ol {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.comparison-section > h3 { margin-top: 1.2em; color: #1a3d5c; }
.comparison-section > p:last-child,
.comparison-section > ul:last-child,
.comparison-section > ol:last-child { margin-bottom: 0; }

/* ── County map section ───────────────────────────── */
.county-map-section {
    padding: 3em 2em 3.5em;
    margin: 2.5em 0;
    text-align: center;
}
.county-map-section h2 {
    color: #1a3d5c;
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: .6em;
}
.county-map-subtitle {
    color: #4b5563;
    font-size: .95em;
    margin: 0 auto 1.6em;
    max-width: 640px;
    line-height: 1.7;
}
.county-map-img-wrap {
    display: flex;
    justify-content: center;
}
.county-map-img-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    border: 2px solid #c6ddd0;
}
@media (max-width: 768px) {
    .county-map-section { padding: 2.5em 1.2em; }
}

/* ── Related Areas cross-linking section ──────────── */
.related-areas-section {
    padding: 2.5em 2em;
    margin: 2em 0;
    text-align: center;
    background: #e6eef5;
    border-radius: 8px;
    border: 1px solid #b8cee0;
}
.related-areas-section h2 {
    color: #1a3d5c;
    font-size: clamp(1.15em, 2.5vw, 1.4em);
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: .5em;
}
.related-areas-intro {
    color: #4b5563;
    font-size: .93em;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 1.2em;
}
.related-areas-intro a {
    color: #1a3d5c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.related-areas-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8em;
}
.related-area-link,
.related-area-link:visited {
    display: inline-block;
    padding: .55em 1.4em;
    background: #fff;
    color: #1a3d5c;
    font-weight: 600;
    font-size: .9em;
    border: 1.5px solid #1a3d5c;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.related-area-link:hover,
.related-area-link:focus {
    background: #1a3d5c;
    color: #fff;
}

/* ── Blog Guides section (money page -> blog links) ── */
.blog-guides-section {
    padding: 2.5em 2em;
    margin: 1.5em 0;
    text-align: center;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.blog-guides-section h2 {
    color: #1a3d5c;
    font-size: clamp(1.15em, 2.5vw, 1.4em);
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: .4em;
}
.blog-guides-intro {
    color: #4b5563;
    font-size: .93em;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 1.2em;
}
.blog-guides-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8em;
}
.blog-guide-link,
.blog-guide-link:visited {
    display: block;
    width: 100%;
    max-width: 460px;
    padding: .55em 1.4em;
    background: #fff;
    color: #1a3d5c;
    font-weight: 600;
    font-size: .9em;
    border: 1.5px solid #1a3d5c;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: background .15s, color .15s;
}
.blog-guide-link:hover,
.blog-guide-link:focus {
    background: #1a3d5c;
    color: #fff;
}

/* ── Local Resources section (external authority links) ── */
.local-resources-section {
    padding: 1.5em 2em;
    margin: 1em 0;
    text-align: center;
}
.local-resources-section h3 {
    color: #374151;
    font-size: 1.05em;
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: .6em;
}
.local-resources-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8em;
}
.local-resource-link,
.local-resource-link:visited {
    display: inline-block;
    padding: .4em 1em;
    color: #6b7280;
    font-size: .85em;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s;
}
.local-resource-link:hover,
.local-resource-link:focus {
    color: #1a3d5c;
}

/* ── State map section (homepage) ────────────────── */
.state-map-section {
    padding: 3em 2em 3.5em;
    margin: 1.2em 0;
    text-align: center;
}
.state-map-section h2 {
    color: #1a3d5c;
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: .6em;
}
.state-map-subtitle {
    color: #4b5563;
    font-size: .95em;
    margin: 0 auto 1.6em;
    max-width: 640px;
    line-height: 1.7;
}
.state-map-img-wrap {
    display: flex;
    justify-content: center;
}
.state-map-img-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    border: 2px solid #c6ddd0;
}
@media (max-width: 768px) {
    .state-map-section { padding: 2.5em 1.2em; }
}

/* ── Mid-page CTA band ───────────────────────────── */
/* CTA copy needs direct alignment: generic prose rules override inheritance. */
.entry-content .midpage-cta :is(h1, h2, h3, h4, h5, h6, p) {
    text-align: center;
}
.midpage-cta {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #15334d;
    text-align: center;
    padding: 3.5em 2em;
    margin: 0;
}
.midpage-cta-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4em, 3vw, 1.9em);
    font-weight: 800;
    color: #fff;
    margin: 0 auto .5em;
    max-width: 700px;
    line-height: 1.25;
}
.midpage-cta-sub {
    color: rgba(255,255,255,.82);
    margin: 0 auto 1.8em;
    font-size: 1em;
    max-width: 560px;
    line-height: 1.75;
}

/* ── Comparison table ────────────────────────────── */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0 2em;
    font-size: .95em;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.comparison-table thead th {
    padding: .9em 1.2em;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .95em;
}
.comparison-table thead th:first-child        { text-align: left; background: #f9fafb; }
.comparison-table thead th:nth-child(2) {
    background: #1a3d5c;
    color: #fff;
}
.comparison-table thead th:nth-child(3) {
    background: #f3f4f6;
    color: #6b7280;
}
.comparison-table tbody tr { border-bottom: 1px solid #e5e7eb; }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: #fafafa; }
.comparison-table tbody td {
    padding: .8em 1.2em;
    color: #374151;
}
.comparison-table tbody td:first-child {
    font-weight: 600;
    color: #1c2b22;
    background: #fff;
}
.comparison-table tbody tr:nth-child(even) td:first-child { background: #fafafa; }
.comparison-table tbody td:nth-child(2) {
    text-align: center;
    background: rgba(27,94,56,.06);
    color: #1a3d5c;
    font-size: 1.2em;
    font-weight: 700;
}
.comparison-table tbody td:nth-child(3) {
    text-align: center;
    color: #ef4444;
    font-size: 1.2em;
}

/* ── Testimonials ────────────────────────────────── */
.testimonials-section {
    background: #e6eef5;
    border: none;
    border-radius: 0;
    padding: 3.5em 2em;
    margin: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.testimonials-section h2 {
    text-align: center;
    color: #1a3d5c;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 1.5em;
    border: none;
    padding: 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 2em 1.8em;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    border-top: 3px solid #1a3d5c;
    display: flex;
    flex-direction: column;
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 1em;
    margin-bottom: .6em;
    letter-spacing: .05em;
}
.testimonial-quote {
    font-style: italic;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 1em;
    font-size: .93em;
    flex: 1;
}
.testimonial-author {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a3d5c;
    font-size: .85em;
}
.testimonial-deal {
    font-family: 'Montserrat', sans-serif;
    font-size: .73em;
    font-weight: 700;
    color: #1e4a6e;
    background: #e6eef5;
    border: 1px solid #4a8ab5;
    border-radius: 8px;
    display: inline-block;
    padding: .3em .85em;
    margin-top: .6em;
    letter-spacing: .01em;
    line-height: 1.5;
}

/* ── Value strip (optional) ──────────────────────── */
.value-strip {
    background: #e6eef5;
    border: 1px solid #b8cee0;
    border-radius: 8px;
    padding: 1.4em 1.8em;
    margin: 1.8em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em 2.5em;
}
.value-strip span { color: #1a3d5c; font-weight: 600; }

/* ── Trust badges ────────────────────────────────── */
.trust-badges {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: .45em;
    margin: 0;
    padding: 1.5em .4em;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.trust-badges::-webkit-scrollbar { display: none; }
.trust-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .32em;
    background: #e6eef5;
    border: 1.5px solid #4a8ab5;
    border-radius: 999px;
    padding: .48em .85em;
    font-family: 'Montserrat', sans-serif;
    font-size: .78em;
    font-weight: 700;
    color: #1a3d5c;
    white-space: nowrap;
}

/* ── Property types grid ─────────────────────────── */
.property-types {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #e6eef5;
    padding: 3em 2em 3.5em;
    margin: 0;
}
.property-types > h2 {
    text-align: center;
    margin-top: 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1em;
    margin-top: 1.4em;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.property-type-card {
    background: #fff;
    border: 1px solid #b8cee0;
    border-top: 3px solid #1a3d5c;
    border-radius: 10px;
    padding: 1.4em 1.1em 1.2em;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .15s;
}
.property-type-card:hover {
    box-shadow: 0 4px 16px rgba(27,94,56,.12);
    transform: translateY(-2px);
}
.property-type-icon {
    display: block;
    font-size: 2.2em;
    line-height: 1;
    margin-bottom: .45em;
}
.property-type-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .9em;
    color: #1a3d5c;
    margin-bottom: .4em;
}
.property-type-card p {
    font-size: .85em;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ── Property type card images ────────────────────── */
.property-type-img       { width: 100%; height: 160px; object-fit: cover;
                           border-radius: 8px 8px 0 0; display: block; }

/* ── Benefits section image ───────────────────────── */
.benefits-img-wrap       { margin: 1.5em 0 1.5em; text-align: center; }
.benefits-img-wrap img   { max-width: 100%; height: auto; border-radius: 10px;
                           box-shadow: 0 4px 16px rgba(0,0,0,.08); }

/* ── Steps section image ──────────────────────────── */
.steps-img-wrap          { max-width: 360px; margin: 2em auto 0; text-align: center; }
.steps-img-wrap img      { max-width: 100%; height: auto; border-radius: 50%;
                           border: 4px solid rgba(167,243,208,.5);
                           box-shadow: 0 4px 16px rgba(0,0,0,.12); }

/* ── Testimonial avatars ──────────────────────────── */
/* Shared sizing for both <img> and fallback <div> avatars */
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: .7em;
    flex-shrink: 0;
}
img.testimonial-avatar {
    object-fit: cover;
    object-position: center top;
    border: 2px solid #b8cee0;
    display: block;
}
/* <div> avatar -- letter fallback when photo unavailable */
div.testimonial-avatar {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Contact form section (id="contact") ─────────────── */
.contact-form-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #1a3d5c;
    padding: 3em 2em .5em;
    margin-top: -1px;
    text-align: center;
}
.contact-form-section h2 {
    color: #fff !important;
    font-size: clamp(1.5em, 3vw, 2.1em) !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: .5em !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.contact-form-sub {
    color: rgba(255,255,255,.85);
    max-width: 560px;
    margin: 0 auto .5em;
    font-size: 1.05em;
    line-height: 1.75;
}
.contact-form-wrap {
    max-width: 680px;
    margin: 0 auto;
}
.ghl-placeholder {
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5em;
    border: 1px dashed rgba(255,255,255,.35);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.82);
    line-height: 1.6;
}
.contact-form-wrap iframe {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

/* ── Trust / partner logos bar ──────────────────────── */
.trust-logos-bar {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.4em 2em 1.2em;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 2.5em;
}
.trust-logos-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .68em;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 1em;
    display: block;
}
.trust-logos-row {
    display: flex;
    flex-wrap: nowrap;        /* single row on desktop */
    justify-content: center;
    align-items: center;
    gap: .5em clamp(.6em, 1.8vw, 2em);
    width: 100%;
}
.trust-logo {
    display: flex;
    align-items: center;
    gap: .3em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(.72em, 1.1vw, .88em);
    color: #9ca3af;
    letter-spacing: -.01em;
    white-space: nowrap;
    line-height: 1.25;
    transition: color .2s;
    text-align: left;
}
.trust-logo:hover { color: #4b5563; }
.tl-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: .8em;
    font-weight: 900;
    background: #f3f4f6;
    color: #9ca3af;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.trust-logo:hover .tl-mark { background: #e5e7eb; color: #374151; }
/* Brand-color accents on hover */
.zillow-badge:hover  { color: #006AFF; }
.zillow-badge:hover .tl-mark { background: #006AFF; color: #fff; }
.google-badge:hover  { color: #4285f4; }
.google-badge:hover .tl-g { background: #ea4335; color: #fff; }
.laf-badge:hover     { color: #5f7938; }
.loa-badge:hover     { color: #2c6fad; }
.fatitle-badge:hover { color: #c0392b; }

/* ── Testimonial deal detail line ───────────────────────── */
.testimonial-deal {
    font-family: 'Montserrat', sans-serif;
    font-size: .73em;
    font-weight: 700;
    color: #1e4a6e;
    background: #e6eef5;
    border: 1px solid #4a8ab5;
    border-radius: 8px;
    display: inline-block;
    padding: .3em .85em;
    margin-top: .6em;
    letter-spacing: .01em;
    line-height: 1.5;
}

/* ── Media / credibility logos bar ──────────────────────── */
.media-logos-bar {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.2em 2em 1em;
    text-align: center;
    margin: 0 0 2.5em;
}
.media-logos-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .68em;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 .8em;
    display: block;
}
.media-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(.8em, 2.5vw, 2.4em);
}
.media-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(.9em, 1.6vw, 1.15em);
    letter-spacing: .06em;
    color: #b0b8c1;
    opacity: .85;
    user-select: none;
}

/* ── Seller situations grid ──────────────────────────────── */
.situations-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    padding: 3.5em 2em 2em;
    margin: 0;
}
.situations-section h2 {
    text-align: center;
    margin: 0 auto 1.5em;
    max-width: 760px;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.situations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    max-width: 1100px;
    margin: 0 auto;
}
.situation-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.4em 1.2em 1.3em;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    border: 1px solid #e5e7eb;
    border-top: 3px solid #1e4a6e;
    transition: box-shadow .2s, transform .15s;
}
.situation-card:hover {
    box-shadow: 0 4px 16px rgba(27,94,56,.1);
    transform: translateY(-2px);
}
.situation-icon {
    font-size: 1.7em;
    display: block;
    margin-bottom: .4em;
    line-height: 1;
}
.situation-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .88em;
    font-weight: 700;
    color: #1a3d5c;
    margin-bottom: .35em;
}
.situation-card p {
    font-size: .84em;
    color: #4b5563;
    margin: 0;
    line-height: 1.65;
}

/* ── County coverage grid ────────────────────────────────── */
.county-coverage {
    padding: 3em 1em 2.5em;
    margin: 2em 0;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}
.county-coverage h2 {
    font-size: 1.25em;
    margin: 0 auto 1.2em;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.county-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .4em;
    max-width: 1060px;
    margin: 0 auto;
    justify-content: center;
}
.county-grid span {
    font-size: .84em;
    color: #374151;
    padding: .3em .8em;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.county-grid span:hover { background: #b8cee0; color: #1a3d5c; }

/* ── Homepage counties grid (all state counties) ─────────── */
.counties-section {
    padding: 3em 1em 2.5em;
    text-align: center;
}
.counties-section h2 {
    font-size: 1.25em;
    margin: 0 auto .6em;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.counties-intro {
    max-width: 640px;
    margin: 0 auto 1.4em;
    color: #6b7280;
    font-size: .95em;
}
.counties-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: .5em .8em;
    max-width: 1060px;
    margin: 0 auto;
}
.counties-grid br { display: none; }
.counties-grid a.county-link,
.counties-grid span.county-name {
    font-size: .88em;
    padding: .45em .8em;
    border-radius: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    text-align: left;
    transition: background .15s, color .15s;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    line-height: 1.2;
}
.counties-grid span.county-name {
    color: #374151;
}
.counties-grid a.county-link {
    color: #1a3d5c;
    text-decoration: none;
    font-weight: 500;
}
.counties-grid a.county-link:hover,
.counties-grid span.county-name:hover {
    background: #d0dce8;
    color: #1a3d5c;
}
@media (max-width: 768px) {
    .main-navigation .main-nav ul li > a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
    .main-navigation .dropdown-menu-toggle,
    .main-navigation .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .counties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: .35em;
    }
    .counties-grid a.county-link,
    .counties-grid span.county-name {
        font-size: .78em;
        padding: .55em .6em;
        min-height: 44px;
    }
}

/* -- Counties grid: collapsed + toggle ---- */
/* Show 1 row of 4 tiles when collapsed. If any tile wraps to
   a second line, cap the row so it renders cleanly with the gap below. */
.counties-grid--collapsed {
    max-height: 4em;
    overflow: hidden;
    position: relative;
}
.counties-grid--collapsed .county-extra {
    display: none !important;
}
.counties-grid--collapsed::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2em;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}
.counties-toggle {
    display: inline-block;
    margin: .8em auto 0;
    padding: .5em 1.6em;
    font-size: .88em;
    font-weight: 600;
    color: #7B3F00;
    background: transparent;
    border: 2px solid #7B3F00;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.counties-toggle:hover {
    background: #7B3F00;
    color: #fff;
}
@media (max-width: 768px) {
    .counties-grid--collapsed { max-height: 6em; }
}

/* ── Form urgency line ───────────────────────────────────── */
.form-urgency {
    color: rgba(255,255,255,.92) !important;
    font-size: .9em !important;
    margin: 0 auto 1em !important;
    max-width: 480px;
}
.form-urgency strong { color: #4a8ab5; }

/* ── SEO content zone (visually muted, below the fold) ── */
.seo-content {
    margin-top: 3em;
    padding-top: 2.5em;
    border-top: 2px solid #e5e7eb;
    color: #4b5563;
    font-size: .92em;
    line-height: 1.8;
}
.seo-content h2 {
    font-size: 1.1em;
    font-weight: 700;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: .3em;
    margin-top: 2em;
    margin-bottom: .6em;
}
.seo-content p { margin-bottom: 1em; }

/* ── About page ──────────────────────────────────────────────────────── */
.about-hero {
    min-height: 320px;
    padding: 3em 2em;
    text-align: center;
}
.about-hero-sub {
    color: rgba(255,255,255,.9);
    font-size: 1.1em;
    max-width: 560px;
    margin: 0 auto 1.8em;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,.22);
    text-align: center !important;
}
.custom-hero.about-hero .about-hero-sub {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}
.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5em 1.5em 0;
}
.about-section h2 {
    margin-top: 1em;
}
.about-mission {
    padding-top: 3em;
}
.about-mission p {
    font-size: 1.15em;
    line-height: 1.85;
    color: #1c2b22;
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
    margin-top: 1.2em;
}
.about-value-card {
    background: #e6eef5;
    border: 1px solid #b8cee0;
    border-left: 4px solid #1a3d5c;
    border-radius: 8px;
    padding: 1.4em 1.3em;
}
.about-value-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .95em;
    font-weight: 700;
    color: #1a3d5c;
    margin-bottom: .4em;
}
.about-value-card p {
    font-size: .92em;
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}
.about-card-icon {
    font-size: 1.6em;
    display: block;
    margin-bottom: .4em;
    line-height: 1;
}
.about-expertise p {
    line-height: 1.85;
}

/* ── Contact page ───────────────────────────────────────────────────────── */
.contact-info-section h2 {
    text-align: center;
}
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    margin-top: 1.2em;
}
.contact-detail-card {
    background: #e6eef5;
    border: 1px solid #b8cee0;
    border-top: 3px solid #1a3d5c;
    border-radius: 10px;
    padding: 1.6em 1.3em 1.4em;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.contact-detail-card .about-card-icon {
    font-size: 1.8em;
}
.contact-detail-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .95em;
    font-weight: 700;
    color: #1a3d5c;
    margin-bottom: .4em;
}
.contact-detail-card p {
    font-size: .92em;
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}
.contact-details-grid a,
.contact-detail-card a,
.thank-you-content a {
    color: #1a3d5c;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.contact-detail-card a:hover {
    text-decoration: underline;
}
.contact-sell-section {
    text-align: center;
}
.contact-sell-section p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

/* ── Thank You page ──────────────────────────────────────────────────────── */
.thank-you-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 3px solid #4a8ab5;
    color: #4a8ab5;
    font-size: 2.4em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2em;
}
.thank-you-steps ol {
    max-width: 640px;
    margin: 0 auto;
}
.thank-you-reassurance .about-values-grid {
    grid-template-columns: repeat(3, 1fr);
}
.thank-you-questions p {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Steps -- 3-column grid on desktop ────────────────────────────────── */
@media (min-width: 900px) {
    .steps-section > ol {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3em;
    }
    .steps-section > ol > li { margin-bottom: 0; }
}

/* ── Social proof bar -- flexbox for reliable wrapping ─────────────────── */
.social-proof-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .25em .6em;
}
.social-proof-bar br { display: none; }

/* ── SEO content zone -- muted FAQ accordions ─────────────────────────── */
.seo-content details {
    border-color: #e5e7eb;
    box-shadow: none;
}
.seo-content details summary {
    background: #f9fafb;
    color: #6b7280;
    font-family: 'Open Sans', sans-serif;
    font-size: .88em;
}
.seo-content details[open] > summary {
    background: #f3f4f6;
    border-bottom-color: #e5e7eb;
    color: #4b5563;
}
.seo-content details summary::after { color: #9ca3af; }
.seo-content details > *:not(summary) {
    background: #fafafa;
    color: #6b7280;
    font-size: .9em;
}

/* ── Comparison table -- compact 3-column layout on mobile ──────────── */
@media (max-width: 640px) {
    .comparison-section   { overflow-x: visible; }
    .comparison-table     { min-width: 0; table-layout: fixed; }
    .comparison-table thead th,
    .comparison-table tbody td  { padding: .6em .5em; font-size: .82em; }
    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child { width: 50%; font-size: .82em; }
    .comparison-table thead th:nth-child(2),
    .comparison-table thead th:nth-child(3) { width: 25%; line-height: 1.3; }
    /* Abbreviate long headers for narrow columns */
    .comparison-table thead th:nth-child(2) { font-size: 0; }
    .comparison-table thead th:nth-child(2)::after { content: "Us"; font-size: .82rem; }
    .comparison-table thead th:nth-child(3) { font-size: 0; color: #6b7280; }
    .comparison-table thead th:nth-child(3)::after { content: "Realtor"; font-size: .78rem; color: #6b7280; }
}

/* ── Social proof bar -- stack on narrow mobile ───────────────────────── */
@media (max-width: 480px) {
    .social-proof-bar          { flex-direction: column; gap: .2em; padding: .7em 1em; }
    .social-proof-sep          { display: none; }
}

/* ── Responsive tweaks ───────────────────────────── */
@media (max-width: 768px) {
    .entry-header         { padding: 2.2em 1.2em 2.4em; }
    .entry-content        { padding: 1.8em 1.1em 2.5em; }
    .entry-content h2     { margin-top: 1.8em; }
    .entry-content ol li  { padding-left: 3.2em; }
    .contact-section h2   { font-size: 1.5em; }
    .testimonials-grid    { grid-template-columns: 1fr; }
    .social-proof-bar     { font-size: .8em; margin: 0; padding-top: .6em; padding-bottom: .6em; }
    .social-proof-bar .social-proof-sep { display: none; }
    .custom-hero          { margin-bottom: -1px; }
    .hero-content         { min-height: 380px; padding: 2.5em 1.4em 3em; }
    .custom-hero h1       { font-size: 1.7em; }
    .comparison-section,
    .steps-section,
    .testimonials-section,
    .midpage-cta          { padding: 2.5em 1.2em; margin-top: .4em; margin-bottom: 0; }
    .steps-section        { margin-bottom: 0; }
    .state-map-section    { padding: 2em 1.2em; margin: 0; }
    .county-map-section   { padding: 2em 1.2em; margin: 0; }
    .related-areas-section { padding: 1.8em 1.2em; margin: 1em 0; }
    .related-areas-links { flex-direction: column; align-items: center; }
    .related-area-link { width: 100%; max-width: 22em; text-align: center; }
    .blog-guides-section { padding: 1.8em 1.2em; margin: 1em 0; }
    .local-resources-section { padding: 1em 1.2em; }
    .local-resources-links { flex-direction: column; align-items: center; }
    .counties-section     { padding: 2em 1em 1.5em; }
    .entry-content > ul:not(.hero-bullets) { grid-template-columns: 1fr; max-width: 22em; margin-left: auto; margin-right: auto; }
    .stat-item  { flex: 0 0 50%; border-right: none;
                  border-bottom: 1px solid rgba(255,255,255,.15); }
    .stat-item:last-child { border-bottom: none; }
    .stats-strip          { padding: 1.5em .5em; }
    .property-types-grid  { grid-template-columns: repeat(2, 1fr); }
    .steps-img-wrap       { max-width: 280px; }
    .property-type-img    { height: 140px; }
    .trust-badges         { gap: .4em; margin: .75em 0; padding-left: .35em; padding-right: .35em; }
    .trust-badge          { font-size: .72em; padding: .42em .7em; }
    .contact-form-section { padding: 2em 1.2em .5em; margin-top: -1px; }
    .contact-form-wrap    { padding: 0; }
    .trust-logos-bar      { padding: 1.2em 1em 1em; }
    .trust-logos-row      { flex-wrap: wrap; gap: .5em 1.1em; }
    .trust-logo           { font-size: .78em; }
    .situations-grid      { grid-template-columns: 1fr; }
    .situations-section   { padding: 2.5em 1.2em; }
    .county-grid          { gap: .35em; }
    .media-logos-row      { gap: .8em 1.4em; }
    .media-logo           { font-size: .9em; }
    /* Contact page */
    .contact-details-grid { grid-template-columns: 1fr; }
    /* About page */
    .about-hero           { min-height: 260px; padding: 2.2em 1.2em; }
    .about-hero-sub       { font-size: .95em; }
    .about-section        { padding: 1.8em 1.1em 0; }
    .about-values-grid    { grid-template-columns: 1fr; }
    .about-mission p      { font-size: 1.02em; }
}

@media (max-width: 480px) {
    .property-types-grid  { grid-template-columns: 1fr; }
    .benefits-img-wrap img { border-radius: 6px; }
    .property-type-img    { height: 120px; }
    .trust-badge          { font-size: .58em; padding: .38em .48em; }
    .situations-grid      { grid-template-columns: 1fr; gap: .75em; }
    .situation-card       { padding: 1em .9em; }
    .situation-icon       { font-size: 1.4em; }
    .county-grid span     { font-size: .78em; padding: .25em .6em; }
    .trust-logos-row      { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: .55em 1.8em; }
    .trust-logo           { font-size: .72em; }
    .stat-label           { font-size: .63em; letter-spacing: .02em; }
}

/* ── Sticky mobile CTA ───────────────────────────── */
.sticky-mobile-cta { display: none; }
@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #1a3d5c;
        padding: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,.2);
        transition: transform .3s ease;
    }
    .sticky-mobile-cta a {
        display: block;
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1em;
        text-decoration: none;
        text-align: center;
        padding: .85em 1em;
    }
    .sticky-mobile-cta.sticky-hidden { transform: translateY(100%); }
    /* Prevent content from being hidden behind sticky bar */
    body:has(.sticky-mobile-cta) .site-footer { padding-bottom: 3.5em; }
}

/* ── SEO content zone (Layer 2 wrapper) ─────────── */
.seo-content-zone {
    margin-top: 3em;
    padding-top: 2.5em;
    padding-bottom: 3em;
    border-top: 2px solid #b8cee0;
    position: relative;
}
.seo-content-zone::before {
    content: none;
}
.seo-content-zone h2 {
    color: #1a3d5c !important;
    font-size: clamp(1.2em, 2.5vw, 1.55em) !important;
    margin-top: 2.2em !important;
    padding-bottom: .5em !important;
}
.seo-content-zone h2:first-of-type { margin-top: 0 !important; }
.seo-content-zone h3 {
    color: #1e4a6e;
    font-size: 1.05em;
    border-left: 3px solid #b8cee0;
    padding-left: .8em;
    margin-top: 1.6em;
}
.seo-content-zone p {
    color: #4b5563;
    font-size: .93em;
    line-height: 1.85;
}
.seo-content-zone details {
    margin-bottom: .8em;
}

/* ── Areas We Serve directory page ──────────────────── */
.areas-hero {
    min-height: 280px;
    padding: 3em 2em;
    text-align: center;
}
.areas-hero-sub {
    color: rgba(255,255,255,.9);
    font-size: 1.1em;
    max-width: 560px;
    margin: 0 auto 1.8em;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,.22);
}
.areas-directory {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #f5f7fa;
    padding: 3em 2em 2.5em;
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    max-width: 1100px;
    margin: 0 auto;
}
.areas-card {
    background: #fff;
    border: 1px solid #d0dce8;
    border-left: 4px solid #1a3d5c;
    border-radius: 8px;
    padding: 1.6em 1.5em 1.4em;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .15s;
    display: flex;
    flex-direction: column;
}
.areas-card:hover {
    box-shadow: 0 4px 16px rgba(26,61,92,.15);
    transform: translateY(-2px);
}
.areas-county-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    color: #1a3d5c;
    margin: 0 0 .8em;
}
.areas-county-name a {
    color: #1a3d5c;
    text-decoration: none;
}
.areas-county-name a:hover { text-decoration: underline; }
.areas-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4em;
    margin-bottom: .8em;
}
.areas-city-link {
    display: inline-flex;
    align-items: center;
    font-size: .82em;
    color: #1a3d5c;
    background: #e6edf4;
    border: 1px solid #b0c8de;
    border-radius: 999px;
    padding: .25em .8em;
    text-decoration: none;
    font-weight: 500;
    transition: background .15s, color .15s;
    min-height: 44px;
}
.areas-city-link:hover {
    background: #b0c8de;
    color: #1a3d5c;
}
.areas-card-arrow {
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: .82em;
    font-weight: 600;
    color: #1a3d5c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .35em 0;
}
.areas-card-arrow:hover { text-decoration: underline; }
.areas-cta-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: #1a3d5c;
    padding: 3em 1.5em 3.5em;
    margin-top: 0;
}
.areas-cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em;
    color: #fff !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: .6em;
}
.areas-cta-section p {
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    margin-bottom: 1.8em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .areas-hero { min-height: 240px; padding: 2.2em 1.2em; }
    .areas-hero-sub { font-size: .95em; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 1em; }
    .areas-directory { padding: 2em 1em .5em; }
    .areas-cta-section { padding: 1.5em 1.1em 2em; }
}
@media (max-width: 480px) {
    .areas-grid { grid-template-columns: 1fr; }
}

/* ── Blog post -- inline section images ───────────── */
.blog-section-img {
    margin: 1.2em 0 1.5em;
    text-align: center;
}
.blog-section-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
@media (max-width: 768px) {
    .blog-section-img { margin: 1em 0 1.2em; }
    .blog-section-img img { border-radius: 6px; }
}

/* ── Blog post -- sidebar CTA layout ──────────────── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5em;
    max-width: 1140px;
    margin: 0 auto;
}
.blog-main {
    min-width: 0;
    max-width: 800px;
}
/* Sidebar stretches full grid height; the card inside sticks */
.blog-sidebar-cta { }
.blog-sidebar-card {
    position: sticky;
    top: 100px;
    background: #1a3d5c;
    color: #fff;
    border-radius: 12px;
    padding: 1.8em 1.5em;
    text-align: center;
    box-shadow: 0 4px 20px rgba(27,94,56,.18);
}
.blog-sidebar-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .6em;
}
.blog-sidebar-card p {
    font-size: .88em;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
    margin: 0 0 1.2em;
}
.blog-sidebar-btn {
    display: block;
    width: 100%;
    background: #fff;
    color: #1a3d5c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .92em;
    text-decoration: none;
    padding: .75em 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.blog-sidebar-btn:hover {
    background: #b8cee0;
    transform: translateY(-1px);
}
/* Widen .entry-content on single blog posts so sidebar fits */
.single .entry-content:has(.blog-layout) {
    max-width: 1140px;
}
/* Blog mobile sticky CTA -- hidden on desktop */
.blog-mobile-cta { display: none; }
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 800px;
    }
    .blog-sidebar-cta { display: none; }
    .blog-mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #1a3d5c;
        padding: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,.2);
        transition: transform .3s ease;
    }
    .blog-mobile-cta button {
        display: block;
        width: 100%;
        color: #fff;
        background: none;
        border: none;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1em;
        text-align: center;
        padding: .85em 1em;
        cursor: pointer;
    }
    .blog-mobile-cta.sticky-hidden { transform: translateY(100%); }
    body:has(.blog-mobile-cta) .site-footer { padding-bottom: 3.5em; }
}

/* ── Blog form popup (full-page overlay) ─────────── */
.blog-form-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,.5);
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    padding: clamp(12px, 4vh, 32px) 12px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
.blog-form-popup.active {
    display: flex;
}
.blog-form-popup-close {
    position: fixed;
    top: 1em;
    right: 1.2em;
    z-index: 10001;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 2.2em;
    line-height: 1;
    cursor: pointer;
    transition: color .15s;
}
.blog-form-popup-close:hover { color: #1c2b22; }
.blog-form-popup-inner {
    background: #fff;
    border-radius: 12px;
    width: min(94%, 760px);
    max-width: 760px;
    max-height: none;
    overflow: visible;
    padding: 2em 1.5em;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    display: block;
    min-height: 0;
    margin: auto 0;
    box-sizing: border-box;
}
.blog-form-popup-inner iframe,
.blog-popup-survey-frame {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
    overflow: hidden;
    background: #fff;
}
@media (max-width: 640px) {
    .blog-form-popup {
        padding: 0;
        align-items: flex-start;
    }
    .blog-form-popup-close {
        top: .55em;
        right: .65em;
        color: #374151;
        background: rgba(255,255,255,.92);
        border-radius: 999px;
        width: 1.25em;
        height: 1.25em;
        line-height: 1.1;
    }
    .blog-form-popup-inner {
        width: 100%;
        max-width: 100%;
        max-height: none;
        min-height: 0;
        border-radius: 0;
        padding: 3.25em .75em 1.25em;
        margin: 0;
    }
    .blog-form-popup-inner iframe,
    .blog-popup-survey-frame {
        min-height: 820px;
    }
}

/* ── Blog post title (H1) ────────────────────────── */
.blog-post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.25;
    color: #1a3d5c;
    margin: 0 0 .6em;
}

/* ── Table of contents ───────────────────────────── */
.blog-toc {
    background: #e8eff6;
    border-left: 4px solid #1a3d5c;
    border-radius: 6px;
    padding: 1.25em 1.5em;
    margin: 1.5em 0 2em;
}
.blog-toc h2 {
    font-size: 1em;
    font-weight: 700;
    color: #1a3d5c;
    margin: 0 0 .6em;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.blog-toc ol {
    margin: 0;
    padding-left: 1.4em;
}
.blog-toc li {
    margin-bottom: .35em;
    font-size: .95em;
}
.blog-toc a {
    color: #1e4a6e;
    text-decoration: none;
    display: block;
    min-height: 44px;
    padding: .45em 0;
}
.blog-toc a:hover { text-decoration: underline; }

/* ── Blog hero image ─────────────────────────────── */
.blog-hero-image {
    width: 100%;
    border-radius: 8px;
    margin: 0 0 1.8em;
    display: block;
}

/* ── Blog section images ─────────────────────────── */
.blog-section-image {
    width: 100%;
    border-radius: 6px;
    margin: 1.5em 0 1em;
    display: block;
}

/* ── Soft CTA box (mid-article) ──────────────────── */
.blog-cta-box {
    background: #e8eff6;
    border: 1px solid #b0c8de;
    border-radius: 8px;
    padding: 1.4em 1.6em;
    margin: 2em 0;
    text-align: center;
}
.blog-cta-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #1a3d5c;
    margin: 0 0 .5em;
}
.blog-cta-box p {
    font-size: .95em;
    color: #374151;
    margin: 0 0 1em;
}
.blog-cta-box .btn-primary {
    display: inline-block;
    background: #1a3d5c;
    color: #fff;
    padding: .7em 1.6em;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: .95em;
}
.blog-cta-box .btn-primary:hover { background: #1e4a6e; }

/* ── Author byline ───────────────────────────────── */
.blog-author-byline {
    border-top: 1px solid #b0c8de;
    border-bottom: 1px solid #b0c8de;
    padding: 1.2em 0;
    margin: 2.5em 0;
    display: flex;
    align-items: center;
    gap: 1em;
}
.blog-author-byline img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.blog-author-byline .author-meta {
    font-size: .9em;
    color: #4b5563;
}
.blog-author-byline .author-name {
    font-weight: 700;
    color: #1a3d5c;
    display: block;
    margin-bottom: .15em;
}

/* ── Related articles ────────────────────────────── */
.related-articles-section {
    margin: 2.5em 0;
    padding: 1.5em;
    background: #f0f5fa;
    border-radius: 8px;
}
.related-articles-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    color: #1a3d5c;
    margin: 0 0 1em;
}
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .8em;
}
.related-article-card {
    background: #fff;
    border: 1px solid #b0c8de;
    border-radius: 6px;
    padding: .9em 1em;
}
.related-article-card a {
    color: #1e4a6e;
    text-decoration: none;
    font-size: .92em;
    font-weight: 600;
    line-height: 1.4;
    display: block;
}
.related-article-card a:hover { color: #4a8ab5; text-decoration: underline; }

/* ── Blog archive (index) page ───────────────────── */
.blog-archive-header {
    padding: 2em 0 1.5em;
    border-bottom: 2px solid #1a3d5c;
    margin-bottom: 2em;
}
.blog-archive-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: #1a3d5c;
    margin: 0 0 .4em;
}
.blog-archive-header p {
    color: #4b5563;
    font-size: 1.05em;
    margin: 0;
}
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5em;
}
.blog-archive-empty { color: #6b7280; font-style: italic; padding: 1em 0; grid-column: 1 / -1; }
.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #b0c8de;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(26,61,92,.14); }
.blog-card-img-link { display: block; overflow: hidden; flex-shrink: 0; }
.blog-card-img-link img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.blog-card:hover .blog-card-img-link img { transform: scale(1.04); }
.blog-card-body {
    padding: 1.2em 1.3em 1.4em;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: .9em;
    font-weight: 700;
    color: #1a3d5c;
    margin: 0 0 .5em;
    line-height: 1.3;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: #4a8ab5; }
.blog-card-excerpt {
    font-size: .88em;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1em;
    flex: 1;
}
.blog-card-read-more {
    font-size: .85em;
    font-weight: 700;
    color: #1e4a6e;
    text-decoration: none;
    margin-top: auto;
}
.blog-card-read-more:hover { color: #4a8ab5; text-decoration: underline; }

@media (max-width: 600px) {
    .blog-post-title { font-size: 1.5em; }
    .blog-archive-grid { grid-template-columns: 1fr; }
    .blog-card-img-link img { height: 200px; }
    .blog-archive-header h1 { font-size: 1.5em; }
}

/* ── Footer ──────────────────────────────────────── */
.site-footer        { background-color: #0d1f2d !important; color: #e2e8f0; }
.footer-widgets     { background-color: #0d1f2d !important; }
.footer-col         { padding: 1.5em 0; }
.footer-heading     { font-family: 'Montserrat', sans-serif; font-size: 1.05em;
                      font-weight: 700; color: #fff; margin-bottom: .8em;
                      border: none; padding: 0; }
.footer-links,
.footer-contact     { list-style: none; padding: 0; margin: 0; color: #e2e8f0 !important; }
.footer-links li    { margin-bottom: .45em; }
.footer-links a     { color: #4a8ab5; text-decoration: none; font-size: .92em; display: inline-flex; align-items: center; min-height: 44px; padding: .35em 0; }
.footer-links a.footer-legal-link:visited { color: #4a8ab5; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer .widget li,
.footer-contact li  { margin-bottom: .6em; font-size: .92em; line-height: 1.5; color: #e2e8f0 !important; }
.footer-contact a   { color: #f3faf7; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: .35em 0; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-icon        { margin-right: .3em; }
.footer-social      { display: flex; gap: 1em; }
.footer-social a    { color: #4a8ab5; transition: color .2s; }
.footer-social a:hover { color: #fff; }
.footer-social svg  { display: block; }
/* Hide GeneratePress credit */
.site-info          { background-color: #0d1f2d !important; color: #dcefe9 !important; }
.site-info a,
.site-info .copyright { display: none !important; }

/* ── Legal pages (privacy, terms) ───────────────── */
.legal-section          { padding: 1.5em 2em 2em; max-width: 860px; margin: 0 auto; }
.legal-section h2       { font-size: 1.25em; margin-top: 2em; margin-bottom: .5em; color: #1a3d5c; }
.legal-section h3       { font-size: 1.05em; margin-top: 1.4em; margin-bottom: .4em; }
.legal-section ul       { padding-left: 1.6em; margin: .6em 0; }
.legal-section li       { margin-bottom: .35em; }
@media (max-width: 768px) {
    .legal-section      { padding: 1.2em 1.1em 1.5em; }
}

/* ── Blog index -- page heading ─────────────────────── */
.blog .site-main::before {
    content: "Latest Articles";
    display: block;
    grid-column: 1 / -1;
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #1a3d5c;
    text-align: center;
    padding: 0.3em 0 0;
}

/* ── Blog index -- 3-column card grid ──────────────── */
.blog .site-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    padding: 2em 0;
}
.blog .site-main > article {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
    position: relative;
    cursor: pointer;
}
.blog .site-main > article:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
/* Make entire card clickable via the title link */
.blog .site-main > article .entry-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
/* Keep category links clickable above the card overlay */
.blog .site-main > article .entry-meta a {
    position: relative;
    z-index: 2;
}
.blog .site-main > article .inside-article {
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Image first, then header, then excerpt, then footer */
.blog .site-main > article .post-image {
    order: -1;
}
.blog .site-main > article .post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
/* Reset global .entry-header hero background for blog cards */
.blog .site-main > article .entry-header {
    background: #fff !important;
    padding: 1em 1.2em 0;
    text-align: left;
    order: 0;
}
.blog .site-main > article .entry-header .entry-title {
    font-size: 1.1em;
    line-height: 1.35;
    margin: 0 0 0.4em;
    color: #1c2b22;
    text-shadow: none;
}
.blog .site-main > article .entry-header .entry-title a {
    color: #1a3d5c;
    text-decoration: none;
}
.blog .site-main > article .entry-header .entry-title a:hover {
    text-decoration: underline;
}
.blog .site-main > article .entry-header .entry-meta {
    font-size: 0.82em;
    color: #6b7280;
    text-shadow: none;
}
.blog .site-main > article .entry-header .entry-meta a {
    color: #6b7280;
}
.blog .site-main > article .entry-summary {
    padding: 0.6em 1.2em 0;
    font-size: 0.9em;
    color: #4b5563;
    line-height: 1.55;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    order: 1;
}
.blog .site-main > article .entry-meta.entry-meta {
    order: 3;
}
.blog .site-main > article .entry-meta.entry-meta-footer {
    padding: 0 1.2em 1.2em;
    font-size: 0.82em;
}
.blog .site-main > article .entry-meta.entry-meta-footer a {
    color: #1a3d5c;
}
/* Read More link after excerpt */
.blog .site-main > article .inside-article::after {
    content: "Read More \2192";
    order: 2;
    padding: 0 1.2em 0.8em;
    color: #1a3d5c;
    font-weight: 600;
    font-size: 0.88em;
    font-family: 'Montserrat', sans-serif;
}
/* Pagination (if it appears later) */
.blog .site-main > nav.pagination {
    grid-column: 1 / -1;
}
@media (max-width: 768px) {
    .blog .site-main {
        grid-template-columns: 1fr;
        gap: 1.4em;
        padding: 1.2em 0;
    }
    .blog .site-main > article .post-image img {
        height: 180px;
    }
    .blog .site-main::before {
        font-size: 1.6em;
    }
}

/* Money page links (blog -> landing page funnel) */
.money-page-links-section {
    padding: 2.5em 2em;
    margin: 1.5em 0;
    text-align: center;
    background: linear-gradient(135deg, #1a3d5c0d, #1a3d5c1a);
    border-radius: 8px;
    border: 2px solid #1a3d5c;
}
.money-page-links-section h3 {
    color: #1a3d5c;
    font-size: clamp(1.15em, 2.5vw, 1.4em);
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: .4em;
}
.money-page-links-intro {
    color: #4b5563;
    font-size: .93em;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 1.2em;
}
.money-page-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8em;
}
.money-page-link,
.money-page-link:visited {
    display: inline-block;
    padding: .65em 1.6em;
    background: #1a3d5c;
    color: #fff;
    font-weight: 600;
    font-size: .9em;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.money-page-link:hover,
.money-page-link:focus {
    background: #1a3d5cdd;
    transform: translateY(-1px);
    color: #fff;
}

/* Hide theme H1 on single posts (content has its own H1) */
body.single-post .entry-header { display: none !important; }


/* Site-local overrides */
html:has(#ghl-form-wrap iframe, .ghl-form-wrap iframe, iframe.ghl-survey-frame:not(#blog-popup-survey)),#blog-form-popup{scroll-padding-block-start:140px}
#ghl-form-wrap iframe, .ghl-form-wrap iframe, iframe.ghl-survey-frame:not(#blog-popup-survey),#blog-popup-survey{scroll-margin-block-start:16px}
.milwaukee-map-key{max-width:720px;margin:0 auto;text-align:left;padding:0 1rem 0 2.5rem;columns:2;column-gap:3rem}
.milwaukee-map-key li{break-inside:avoid;margin:0 0 .25rem}
.milwaukee-map-key a{text-decoration:underline}
.milwaukee-map-note{margin:.75rem auto;max-width:720px}
@media(max-width:640px){.milwaukee-map-key{columns:1}}

/* from draft <style data-house-survey-validation-scroll> */
html:has(#ghl-form-wrap iframe, .ghl-form-wrap iframe, iframe.ghl-survey-frame:not(#blog-popup-survey)),#blog-form-popup{scroll-padding-block-start:140px}
#ghl-form-wrap iframe, .ghl-form-wrap iframe, iframe.ghl-survey-frame:not(#blog-popup-survey),#blog-popup-survey{scroll-margin-block-start:16px}

/* from draft <style data-milwaukee-narrow-hero-cta> */
@media (max-width: 375px) {
  .custom-hero .hero-content > .hero-cta-btn {
    box-sizing: border-box;
    max-inline-size: 100%;
    padding-inline: 1.1em;
    white-space: normal;
  }
}

/* from draft <style id="surface-theme">
   Per-site variation is palette only. The draft surface-theme also forced a navy
   header, a solid navy hero (hiding the photo), a serif H1 and a teal square.
   Those changed layout/hero type/heading typeface, so they are not carried forward.
   Header stays white and the hero keeps the Phoenix photo + translucent overlay.
   Heading typeface stays Montserrat, as on the Phoenix template. */
:root {
  --surface-tone: #16324f;
  --surface-paper: #f3f6f8;
  --surface-ink: #14202b;
  --surface-button: #0e6b6a;
}
/* Body background stays white, matching the Phoenix template. The draft paper
   tone #f3f6f8 showed as gray side gutters beside the white content column. */
html, body {
  background: #fff;
  color: #14202b;
}

/* Thin navy link row under the hero: two links, Phoenix template */
.social-proof-bar a,
.social-proof-bar a:visited {
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

/* Mobile hero CTA: the Milwaukee label is longer than Phoenix's, so at 390px
   the nowrap button grew past the viewport and read as a full-width white band.
   Keep the inset rounded button used by the Phoenix template. */
@media (max-width: 480px) {
  .custom-hero .hero-content > .hero-cta-btn {
    box-sizing: border-box;
    max-width: calc(100vw - 2rem);
    min-width: 0;
    padding-left: .9em;
    padding-right: .9em;
    white-space: nowrap;
    text-align: center;
  }
}
