/*
Theme Name: BestHomeWatch
Theme URI: https://besthomewatchcompanies.com
Author: NetOne360
Description: Custom theme for BestHomeWatchCompanies.com
Version: 75
License: Proprietary
Text Domain: bhwc
*/

/* ── Design Tokens ─────────────────────────────────────── */
:root {
    --navy:       #0c2340;
    --navy-deep:  #071828;
    --navy-mid:   #133c55;
    --teal:       #0a9396;
    --teal-dark:  #057073;
    --teal-light: #f0fafa;
    --white:      #ffffff;
    --off-white:  #f8fafc;
    --border:     #e2eaf2;
    --text:       #1a2633;
    --muted:      #6b7280;
    --light-text: #9ca3af;
    --gold:       #f59e0b;
    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  14px;
    --radius-xl:  20px;
    --shadow-sm:  0 1px 4px rgba(12,35,64,.08);
    --shadow:     0 4px 20px rgba(12,35,64,.10);
    --shadow-lg:  0 8px 40px rgba(12,35,64,.14);
    --container:  1180px;
    --font-sans:  'Work Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: inherit; }

/* ── Container ─────────────────────────────────────────── */
.bhwc-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────── */
.bhwc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all .18s ease;
    text-decoration: none;
    white-space: nowrap;
}
.bhwc-btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(10,147,150,.28);
}
.bhwc-btn-primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 6px 20px rgba(10,147,150,.35);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--white);
}
.bhwc-btn-navy {
    background: rgba(255,255,255,.85);
    color: var(--white);
}
.bhwc-btn-navy:hover {
    background: var(--navy-deep);
    text-decoration: none;
    color: var(--white);
}
.bhwc-btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border);
}
.bhwc-btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    text-decoration: none;
}
.bhwc-btn-white {
    background: var(--white);
    color: var(--navy);
}
.bhwc-btn-white:hover {
    background: var(--off-white);
    text-decoration: none;
    color: var(--navy);
}

/* ── Section headings ──────────────────────────────────── */
.bhwc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}
.bhwc-eyebrow::before,
.bhwc-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--teal);
    opacity: .5;
}
.bhwc-section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 16px;
}
.bhwc-section-subtitle {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 600px;
}
.bhwc-section { padding: 80px 0; }
.bhwc-section-center { text-align: center; }
.bhwc-section-center .bhwc-section-subtitle { margin: 0 auto; }

/* ── Cards ─────────────────────────────────────────────── */
.bhwc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.bhwc-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    transition: all .2s ease;
}

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── TOP BAR ─────────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-topbar {
    background: var(--teal);
    padding: 9px 0;
    position: relative;
    z-index: 1001;
}
.bhwc-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}
.bhwc-topbar-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.95);
    letter-spacing: .02em;
    text-align: center;
    flex: 1;
}
.bhwc-topbar-right {
    display: inline-flex;
    align-items: center;
    position: absolute;
    right: 0;
}
.bhwc-topbar-login {
    position: absolute;
    right: 0;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    transition: all .15s;
    white-space: nowrap;
}
.bhwc-topbar-login:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
    text-decoration: none;
}

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── HEADER ─────────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border: none;
    box-shadow: none;
    outline: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.bhwc-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    gap: 0;
}
.bhwc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.bhwc-logo img { height: 48px; width: auto; max-width: 220px; }
.bhwc-logo-text {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
    line-height: 1.2;
    text-transform: uppercase;
}
.bhwc-logo-text span { color: var(--teal); }

.bhwc-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin-left: 32px;
}
.bhwc-nav a {
    display: block;
    padding: 6px 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border-radius: var(--radius-sm);
    letter-spacing: .02em;
    text-transform: none;
    transition: all .15s;
    white-space: nowrap;
}
.bhwc-nav a:hover,
.bhwc-nav a.current {
    color: var(--teal);
    background: var(--teal-light);
}
.bhwc-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
    padding-right: 0;
}
.bhwc-btn-apply {
    display: inline-flex !important;
    align-items: center;
    background: var(--teal) !important;
    color: #fff !important;
    border: none;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: var(--radius);
    text-decoration: none !important;
    transition: all .18s;
    white-space: nowrap;
    cursor: pointer;
}
.bhwc-btn-apply:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(10,147,150,.35);
}

/* Mobile menu */
.bhwc-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.bhwc-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0c2340;
    border-radius: 2px;
    transition: all .25s ease;
    pointer-events: none;
}
.bhwc-mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #e2eaf2;
    padding: 8px 0 16px;
}
.bhwc-mobile-nav.open { display: block; }
.bhwc-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.bhwc-mobile-nav a {
    display: block;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #0c2340;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}
.bhwc-mobile-nav a:last-child { border-bottom: none; }
.bhwc-mobile-nav a:active { background: #f8fafc; }

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── HERO ────────────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-hero {
    background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
    padding: 80px 0 90px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.bhwc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(10,147,150,.12) 0%, transparent 70%);
    pointer-events: none;
}
.bhwc-hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
}
.bhwc-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
    background: rgba(10,147,150,.12);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(10,147,150,.25);
}
.bhwc-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}
.bhwc-hero-title em {
    font-style: normal;
    color: var(--teal);
}
.bhwc-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,.72);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 500px;
}
.bhwc-hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.bhwc-hero-stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.bhwc-hero-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-top: 4px;
}

/* Hero search widget */
.bhwc-hero-widget {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    overflow: hidden;
}
.bhwc-hero-widget-header {
    background: var(--teal);
    padding: 18px 24px;
}
.bhwc-hero-widget-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--white);
}
.bhwc-hero-widget-body { padding: 24px; }
.bhwc-hero-widget-body label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
    margin-top: 14px;
}
.bhwc-hero-widget-body label:first-child { margin-top: 0; }
.bhwc-hero-widget-body select,
.bhwc-hero-widget-body input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
    appearance: auto;
}
.bhwc-hero-widget-body select:focus,
.bhwc-hero-widget-body input:focus {
    border-color: var(--teal);
}
.bhwc-hero-widget-body .bhwc-btn {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    padding: 14px;
    font-size: 14px;
}
.bhwc-hero-widget-cities {
    padding: 0 24px 20px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}
.bhwc-hero-widget-cities-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    margin: 14px 0 10px;
}
.bhwc-quick-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.bhwc-quick-city {
    padding: 5px 12px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: all .15s;
}
.bhwc-quick-city:hover {
    background: var(--teal-light);
    border-color: var(--teal);
    color: var(--teal);
    text-decoration: none;
}

/* ── Trust bar ──────────────────────────────────────────── */
.bhwc-trust-bar {
    background: var(--teal);
    padding: 14px 0;
}
.bhwc-trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.bhwc-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .02em;
}
.bhwc-trust-item svg { flex-shrink: 0; opacity: .85; }

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── HOW IT WORKS ────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.bhwc-how-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
}
.bhwc-how-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--navy);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}
.bhwc-how-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 12px;
}
.bhwc-how-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── BROWSE BY STATE / CITY ──────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-browse { background: var(--off-white); }
.bhwc-state-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 32px 0 24px;
    justify-content: center;
}
.bhwc-state-tab {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}
.bhwc-state-tab:hover,
.bhwc-state-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    text-decoration: none;
}
.bhwc-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    justify-items: center;
}
.bhwc-city-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 90px;
    transition: all .18s ease;
    width: 100%;
}
.bhwc-city-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    text-decoration: none;
}
.bhwc-city-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.bhwc-city-card-count {
    font-size: 12px;
    color: var(--muted);
}

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── WHY US ──────────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.bhwc-why-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.bhwc-why-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.bhwc-why-icon svg { color: var(--teal); }
.bhwc-why-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 10px;
}
.bhwc-why-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── CTA BAND ────────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-cta-band {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    padding: 72px 0;
    text-align: center;
}
.bhwc-cta-band .bhwc-section-title { color: var(--white); }
.bhwc-cta-band .bhwc-section-subtitle { color: rgba(255,255,255,.65); margin: 0 auto 32px; }
.bhwc-cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── FOOTER ──────────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bhwc-footer {
    background: #fff;
    border-top: 3px solid #e2eaf2;
    padding: 60px 0 0;
}
.bhwc-footer-grid {
    display: grid;
    grid-template-columns: 280px 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2eaf2;
}
.bhwc-footer-brand p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    margin-top: 14px;
}
.bhwc-footer-logo { height: 44px; width: auto; }
.bhwc-footer-col-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 16px;
}
.bhwc-footer-links { list-style: none; }
.bhwc-footer-links li { margin-bottom: 10px; }
.bhwc-footer-links a {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: color .15s;
}
.bhwc-footer-links a:hover {
    color: var(--teal);
    text-decoration: none;
}
.bhwc-footer-bottom {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bhwc-footer-bottom p {
    font-size: 12px;
    color: #9ca3af;
}
.bhwc-footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 12px;
}
.bhwc-footer-bottom a:hover { color: var(--teal); }

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── PAGE TEMPLATES ──────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Standard page — clean canvas for shortcodes */
.bhwc-page-wrap {
    min-height: 60vh;
}
.bhwc-page-content {
    padding: 0;
}

/* Page with hero header */
.bhwc-page-hero {
    background: var(--navy);
    padding: 48px 0;
    margin-bottom: 0;
}
.bhwc-page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.bhwc-page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,.65);
}

/* Blog */
/* ── Blog / News Layout ─────────────────────────────────── */
.bhwc-blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.bhwc-blog-sidebar { position: sticky; top: 100px; }

/* Hero featured article */
.bhwc-news-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}
.bhwc-news-hero-img { display: block; overflow: hidden; }
.bhwc-news-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bhwc-news-hero-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.bhwc-news-hero-title { font-family: 'Playfair Display',Georgia,serif; font-size: 1.6rem; color: #0c2340; margin: 10px 0 12px; line-height: 1.3; }
.bhwc-news-hero-title a { color: inherit; text-decoration: none; }
.bhwc-news-hero-title a:hover { color: #0a9396; }
.bhwc-news-hero-excerpt { font-size: 14px; color: #6b7280; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.bhwc-news-read-more { display: inline-block; color: #fff; background: #0a9396; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 13px; text-decoration: none; margin-top: 8px; align-self: flex-start; }
.bhwc-news-read-more:hover { background: #0c2340; }

/* Category label */
.bhwc-news-cat {
    display: inline-block;
    background: #0a9396;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 8px;
}

/* Meta */
.bhwc-news-meta { font-size: 12px; color: #9ca3af; margin-top: 8px; }

/* Section label */
.bhwc-news-section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2eaf2;
}

/* News grid */
.bhwc-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.bhwc-news-card {
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.bhwc-news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.bhwc-news-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.bhwc-news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bhwc-news-card:hover .bhwc-news-card-img img { transform: scale(1.03); }
.bhwc-news-card-body { padding: 18px; }
.bhwc-news-card-title { font-size: 1rem; font-weight: 700; color: #0c2340; margin: 8px 0 8px; line-height: 1.4; }
.bhwc-news-card-title a { color: inherit; text-decoration: none; }
.bhwc-news-card-title a:hover { color: #0a9396; }
.bhwc-news-card-excerpt { font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Sidebar */
.bhwc-sidebar-widget {
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}
.bhwc-sidebar-cta { background: linear-gradient(135deg,#0c2340,#133c55); border: none; }
.bhwc-sidebar-title {
    font-family: 'Playfair Display',Georgia,serif;
    font-size: .95rem;
    color: #0c2340;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2eaf2;
}
.bhwc-sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}
.bhwc-sidebar-post:last-child { border-bottom: none; }
.bhwc-sidebar-post-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.bhwc-sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile */
@media (max-width: 900px) {
    .bhwc-blog-layout { grid-template-columns: 1fr; }
    .bhwc-blog-sidebar { position: static; }
    .bhwc-news-hero { grid-template-columns: 1fr; }
    .bhwc-news-hero-body { padding: 20px; }
    .bhwc-news-grid { grid-template-columns: 1fr; }
}

/* ── Blog / News Layout ─────────────────────────────────── */
.bhwc-blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.bhwc-blog-main {}
.bhwc-blog-sidebar {
    position: sticky;
    top: 100px;
}

/* Featured post */
.bhwc-blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 8px;
}
.bhwc-blog-featured-img { display: block; }
.bhwc-blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.bhwc-blog-featured-body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.bhwc-blog-featured-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; color: #0c2340; margin: 10px 0; line-height: 1.3; }
.bhwc-blog-featured-title a { color: inherit; text-decoration: none; }
.bhwc-blog-featured-title a:hover { color: var(--teal); }
.bhwc-blog-featured-excerpt { font-size: 14px; color: #6b7280; line-height: 1.7; margin-bottom: 16px; }
.bhwc-blog-read-more { color: #0a9396; font-weight: 700; font-size: 14px; text-decoration: none; }
.bhwc-blog-read-more:hover { text-decoration: underline; }

/* Category pill */
.bhwc-blog-cat-pill {
    display: inline-block;
    background: #f0fdf4;
    color: #0a9396;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #bbf7d0;
}

/* Blog meta */
.bhwc-blog-meta { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }

/* Sidebar widgets */
.bhwc-sidebar-widget {
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}
.bhwc-sidebar-cta {
    background: linear-gradient(135deg, #0c2340, #133c55);
    border: none;
}
.bhwc-sidebar-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    color: #0c2340;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2eaf2;
}
.bhwc-sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}
.bhwc-sidebar-post:last-child { border-bottom: none; }
.bhwc-sidebar-post-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.bhwc-sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive */
@media (max-width: 900px) {
    .bhwc-blog-layout { grid-template-columns: 1fr; }
    .bhwc-blog-sidebar { position: static; }
    .bhwc-blog-featured { grid-template-columns: 1fr; }
    .bhwc-blog-featured-body { padding: 20px; }
}

.bhwc-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.bhwc-blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.bhwc-blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.bhwc-blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bhwc-blog-card-body { padding: 22px; }
.bhwc-blog-card-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
}
.bhwc-blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 10px;
}
.bhwc-blog-card-title a { color: var(--navy); text-decoration: none; }
.bhwc-blog-card-title a:hover { color: var(--teal); }
.bhwc-blog-card-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── RESPONSIVE ──────────────────────────────────────────── */
/* ── ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1024px) {
    .bhwc-hero-inner { grid-template-columns: 1fr; }
    .bhwc-hero-widget { max-width: 480px; }
    .bhwc-footer-grid { grid-template-columns: 1fr 1fr; }
    .bhwc-how-grid,
    .bhwc-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .bhwc-main-nav,
    .bhwc-header-apply,
    .bhwc-nav,
    .bhwc-header-cta { display: none !important; }
    .bhwc-menu-toggle { display: flex !important; margin-left: auto; }
    #bhwcAcctWrap { display: none; }
    .bhwc-topbar, .bhwc-top-bar { display: none !important; }
    /* Hide the inline topbar div too */
    #bhwc-header + div[style*="background:#0a9396"],
    div[style*="background:#0a9396"]:first-of-type { display: none !important; }
    .bhwc-how-grid,
    .bhwc-why-grid,
    .bhwc-footer-grid,
    .bhwc-blog-grid { grid-template-columns: 1fr; }
    .bhwc-hero { padding: 48px 0 56px; }
    .bhwc-hero-stats { gap: 24px; }
    .bhwc-trust-bar-inner { gap: 16px; justify-content: flex-start; }
    .bhwc-section { padding: 56px 0; }
    .bhwc-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .bhwc-container { padding: 0 16px; }
    .bhwc-hero-title { font-size: 28px; }
    .bhwc-city-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── WordPress admin bar offset fix ─────────────────────── */
.admin-bar .bhwc-topbar { top: 32px; }
.admin-bar .bhwc-header { top: 0; }

/* ── Kill any gap between header and content ─────────────── */
.bhwc-header + * { margin-top: 0 !important; }
body { margin-top: 0 !important; }
#wpadminbar ~ * .bhwc-header { top: 0; }

/* ── Legal Pages ─────────────────────────────────────────── */
.bhwc-legal-hero { background: linear-gradient(135deg, #0c2340 0%, #133c55 100%); padding: 56px 24px; text-align: center; }
.bhwc-legal-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin: 0 0 12px; font-weight: 700; }
.bhwc-legal-hero p { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
.bhwc-legal-wrap { max-width: 860px; margin: 0 auto; padding: 60px 24px 80px; }
.bhwc-legal-wrap h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.bhwc-legal-wrap h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.bhwc-legal-wrap p { font-size: 15px; line-height: 1.75; color: #374151; margin: 0 0 14px; }
.bhwc-legal-wrap ul { padding-left: 20px; margin: 0 0 14px; }
.bhwc-legal-wrap ul li { font-size: 15px; line-height: 1.75; color: #374151; margin-bottom: 6px; }
.bhwc-legal-wrap a { color: var(--teal); }
.bhwc-legal-notice { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0; font-size: 14px; color: #374151; }
.bhwc-legal-warning { background: #fef2f2; border-left: 4px solid #dc2626; border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0; font-size: 14px; color: #374151; }

/* ── Mega Menu ───────────────────────────────────────────── */
.bhwc-mega-wrap { position: relative; }
.bhwc-mega-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(12,35,64,.18);
    padding: 28px;
    min-width: 580px;
    z-index: 9999;
    border: 1px solid #e2eaf2;
}
.bhwc-mega-wrap:hover .bhwc-mega-panel { display: block; }
.bhwc-mega-trigger svg { transition: transform .2s; }
.bhwc-mega-wrap:hover .bhwc-mega-trigger svg { transform: rotate(180deg); }
