/* Beycome Blog — matches /faq/ and /calculators/ design system */

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://www.beycome.com/blog/wp-content/themes/beycome-blog-theme/assets/roboto-400.woff2') format('woff2');
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://www.beycome.com/blog/wp-content/themes/beycome-blog-theme/assets/roboto-700.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: clip; max-width: 100vw; }

:root {
    --c-primary: hsla(210, 39%, 14%, 1);
    --c-secondary: hsla(210, 38.9%, 14.1%, 0.7);
    --c-accent: #5a6ad4;
    --c-accent-orange: hsla(16, 100%, 73%, 1);
    --c-border: hsla(0, 0%, 88%, 1);
    --c-green: hsla(137, 28%, 49%, 1);
    --c-bg: #f9fafb;
    --c-white: #ffffff;
    --font-body: Roboto, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --font-title: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --text-sm: 13px;
    --text-base: 15px;
    --text-lg: 22px;
}

body, body * {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    font-weight: 400;
    color: var(--c-primary);
    background: var(--c-white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ===== HEADER — exact match: 81px, sticky, white, border-bottom ===== */
.bc-header {
    background: var(--c-white);
    border-bottom: 1px solid #f3f4f6;
    height: 81px;
    display: flex;
    align-items: center;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.bc-header-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.bc-header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.bc-header-nav a {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-primary);
    letter-spacing: normal;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.2s;
}

.bc-header-nav a:hover {
    color: var(--c-accent-orange);
}

.bc-nav-item {
    position: relative;
}

.bc-nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bc-nav-chevron {
    opacity: 0.5;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.bc-nav-item:hover .bc-nav-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}

.bc-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 10px;
    z-index: 200;
}

.bc-nav-item:hover .bc-nav-dropdown {
    display: block;
}

.bc-nav-dropdown-inner {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 6px;
    min-width: 200px;
}

.bc-nav-dropdown-inner a {
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 400;
    color: var(--c-primary);
    white-space: nowrap;
    border-radius: 7px;
    transition: background 0.15s, color 0.15s;
    letter-spacing: normal;
}

.bc-nav-dropdown-inner a:hover {
    background: var(--c-periwinkle-bg);
    color: var(--c-accent);
}

.bc-nav-dropdown-all {
    font-weight: 600 !important;
    border-bottom: 1px solid var(--c-border);
    border-radius: 7px 7px 0 0 !important;
    margin-bottom: 4px;
    padding-bottom: 10px !important;
}

.bc-header-logo {
    justify-self: center;
    display: flex;
    align-items: center;
    max-width: 200px;
}

.bc-header-logo img {
    height: 27px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.bc-header-right {
    justify-self: end;
}

.bc-hsearch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.bc-hsearch-input {
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    height: 40px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--c-primary);
    background: transparent;
    outline: none;
    transition: width 0.3s ease, opacity 0.2s ease, padding 0.3s ease, background 0.2s ease, border 0.2s ease;
    border-radius: 20px;
}

.bc-hsearch.open .bc-hsearch-input {
    width: 260px;
    opacity: 1;
    padding: 0 12px;
    background: #f9fafb;
    border: 1px solid var(--c-border);
}

.bc-hsearch.open .bc-hsearch-input:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px hsla(230, 86.1%, 72%, 0.12);
    background: var(--c-white);
}

.bc-hsearch-input::placeholder {
    color: hsla(210, 39%, 14%, 0.35);
    font-size: 13px;
}

.bc-hsearch-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--c-primary);
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bc-hsearch-btn:hover {
    background: #f3f4f6;
}

/* ===== MOBILE HEADER ===== */
.bc-desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .bc-desktop-only {
        display: flex;
    }
    .bc-mobile-menu-btn {
        display: none !important;
    }
    .bc-header-inner {
        grid-template-columns: 1fr auto 1fr;
    }
}

.bc-mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--c-primary);
    justify-self: end;
    display: flex;
    align-items: center;
}

.bc-mobile-menu {
    position: fixed;
    top: 81px;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    padding: 16px;
}

.bc-mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bc-mobile-menu-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-primary);
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.2s;
}

.bc-mobile-menu-nav a:hover {
    color: var(--c-accent-orange);
}

.bc-mobile-menu-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: #f9fafb;
    border: 1px solid var(--c-border);
    border-radius: 24px;
    padding: 0 16px;
    height: 44px;
}

.bc-mobile-menu-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--c-primary);
    outline: none;
}

.bc-mobile-menu-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-secondary);
    display: flex;
    align-items: center;
}

/* ===== CONTAINER ===== */
.bc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== READING PROGRESS BAR ===== */
.bc-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--c-accent-orange);
    z-index: 999;
    transition: width 0.1s linear;
}

/* ===== BREADCRUMB BAR ===== */
.bc-breadcrumb-bar {
    background: var(--c-white);
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
}

.bc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--c-secondary);
    flex-wrap: wrap;
}

.bc-breadcrumb a {
    color: var(--c-secondary);
    transition: color 0.2s;
}

.bc-breadcrumb a:hover {
    color: var(--c-accent-orange);
}

.bc-breadcrumb-current {
    color: var(--c-primary);
    font-weight: 700;
}

/* ===== CATEGORY PILL ===== */
.bc-category-pill {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 20px;
    background: hsla(230, 86.1%, 72%, 0.1);
    color: var(--c-accent);
    transition: background 0.2s;
}

.bc-category-pill:hover {
    background: hsla(230, 86.1%, 72%, 0.2);
}

/* ===== ARTICLE META ===== */
.bc-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--c-secondary);
}

.bc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bc-meta-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.bc-meta-dot {
    font-size: 18px;
    line-height: 1;
    opacity: 0.4;
}

/* ===== SEARCH BAR ===== */
.bc-search-bar {
    max-width: 600px;
    margin: 0 auto;
}

.bc-search-bar form {
    position: relative;
}

.bc-search-bar input {
    width: 100%;
    height: 52px;
    padding: 0 56px 0 20px;
    border: 1px solid var(--c-border);
    border-radius: 26px;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--c-primary);
    background: var(--c-white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bc-search-bar input:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px hsla(230, 86.1%, 72%, 0.15);
}

.bc-search-bar input::placeholder {
    color: hsla(210, 39%, 14%, 0.4);
}

.bc-search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--c-accent-orange);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.bc-search-bar button:hover {
    opacity: 0.85;
}

/* ===== CTA BUTTON ===== */
.bc-cta-btn {
    display: inline-block;
    background: var(--c-accent-orange);
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    transition: opacity 0.2s;
    text-decoration: none !important;
}

.bc-cta-btn:hover {
    opacity: 0.85;
}

.bc-cta-btn--blue {
    background: var(--c-accent);
}

.bc-savings-calc-link {
    font-size: 13px;
    font-weight: 700;
    color: hsla(0, 0%, 100%, 0.6) !important;
    align-self: center;
    transition: color 0.2s;
    white-space: nowrap;
}

.bc-savings-calc-link:hover {
    color: white !important;
}

/* ===== BLOG SECONDARY SUBNAV ===== */
.bc-blog-subnav {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    padding: 0;
    position: sticky;
    top: 81px;
    z-index: 90;
}

.bc-blog-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 48px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bc-blog-subnav-inner::-webkit-scrollbar {
    display: none;
}

.bc-blog-subnav-links {
    display: flex;
    gap: 0;
    align-items: center;
    flex-shrink: 0;
}

.bc-blog-subnav-links a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-secondary);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.bc-blog-subnav-links a:hover,
.bc-blog-subnav-links a.active {
    color: var(--c-primary);
    border-bottom-color: var(--c-accent-orange);
}

.bc-blog-subnav-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    padding: 0 12px;
    height: 32px;
    flex-shrink: 0;
}

.bc-blog-subnav-search input {
    border: none;
    background: transparent;
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--c-primary);
    outline: none;
    width: 160px;
}

.bc-blog-subnav-search input::placeholder {
    color: hsla(210, 39%, 14%, 0.35);
}

.bc-blog-subnav-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-secondary);
    display: flex;
    align-items: center;
    padding: 0;
}

/* ===== BLOG HERO ===== */
.bc-blog-hero {
    padding: 64px 0 40px;
    text-align: center;
    background: var(--c-white);
}

.bc-blog-hero h1 {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.bc-blog-hero p {
    font-size: var(--text-lg);
    color: rgb(74, 80, 86);
    line-height: 1.5;
    margin: 0 auto 32px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .bc-blog-hero h1 {
        font-size: 63px;
    }
}

/* ===== SCREEN READER ONLY ===== */
.bc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== SECTION LABEL ===== */
.bc-blog-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--c-secondary);
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ===== FEATURED + ASIDE GRID ===== */
.bc-blog-featured-section {
    padding: 0 0 40px;
    background: var(--c-white);
}

.bc-blog-featured-grid {
    width: 100%;
}

/* Featured card */
.bc-featured-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-white);
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
}

.bc-featured-card:hover {
    box-shadow: 0 4px 24px -4px rgba(21, 35, 48, 0.12);
    transform: translateY(-2px);
}

.bc-featured-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #152330 0%, #2a3f52 100%);
}

.bc-featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bc-featured-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 15%, rgba(8, 16, 24, 0.55) 50%, rgba(8, 16, 24, 0.92) 100%);
    pointer-events: none;
}

.bc-featured-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #152330 0%, #2a3f52 100%);
}

.bc-featured-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px 32px;
    z-index: 1;
    max-width: 820px;
}

.bc-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: var(--c-accent-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.bc-featured-card-title {
    font-family: var(--font-title);
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.bc-featured-title-sub {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-shadow: none;
    letter-spacing: 0.01em;
}

.bc-featured-card-excerpt {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Aside cards column */
.bc-blog-aside-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--c-white);
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
}

.bc-aside-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.bc-aside-card:last-child {
    border-bottom: none;
}

.bc-aside-card:hover {
    background: #f9fafb;
}

.bc-aside-card-img {
    width: 96px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #e8f4f0;
}

.bc-aside-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bc-aside-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: #e8f4f0;
}

.bc-aside-card-body {
    flex: 1;
    min-width: 0;
}

.bc-aside-card-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--c-secondary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bc-aside-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bc-aside-card-date {
    font-size: 11px;
    color: var(--c-secondary);
    margin-top: 4px;
    opacity: 0.7;
}

.bc-blog-aside-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bc-blog-aside-list .bc-aside-card {
    flex: 1;
}

/* ===== TOPICS GRID ===== */
.bc-blog-topics-section {
    padding: 40px 0;
    background: var(--c-bg);
}

.bc-blog-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .bc-blog-topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bc-topic-card {
    display: block;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 16px;
    background: var(--c-white);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.03);
}

.bc-topic-card:hover {
    border-color: hsla(230, 86.1%, 72%, 0.5);
    box-shadow: 0 4px 16px -4px rgba(21, 35, 48, 0.1);
    transform: translateY(-1px);
}

.bc-topic-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 4px;
}

.bc-topic-card-desc {
    font-size: 12px;
    color: var(--c-secondary);
    line-height: 1.5;
}

.bc-topic-count {
    color: var(--c-accent-orange);
}

/* ===== TOPIC GROUPS ===== */
.bc-blog-topics-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .bc-blog-topics-groups {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bc-topic-group {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.bc-topic-group:hover {
    box-shadow: 0 4px 20px -4px rgba(21, 35, 48, 0.08);
}

.bc-topic-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border);
    transition: color 0.2s;
}

.bc-topic-group-title svg {
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
}

.bc-topic-group-title:hover {
    color: var(--c-accent-orange);
}

.bc-topic-group-title:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.bc-topic-group-count {
    font-size: 11px;
    font-weight: 400;
    color: var(--c-secondary);
    margin-left: auto;
    flex-shrink: 0;
}

.bc-topic-group-subs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bc-topic-sub {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-accent);
    background: hsla(230, 86.1%, 72%, 0.1);
    border-radius: 20px;
    padding: 4px 14px;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
    white-space: nowrap;
}

.bc-topic-sub:hover {
    background: hsla(230, 86.1%, 72%, 0.2);
}

.bc-topic-sub span {
    font-size: 11px;
    opacity: 0.55;
    margin-left: 3px;
}

.bc-topic-sub--inactive {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* ===== STRIP SUBCATEGORY PILLS ===== */
.bc-blog-strip-subcats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bc-blog-strip-subcats::-webkit-scrollbar { display: none; }

/* Per-category pill colors */
.bc-blog-strip-section--selling .bc-topic-sub { color: hsla(16, 100%, 48%, 1); background: hsla(16, 100%, 73%, 0.12); }
.bc-blog-strip-section--selling .bc-topic-sub:hover { background: hsla(16, 100%, 73%, 0.22); }
.bc-blog-strip-section--buying .bc-topic-sub { color: hsla(230, 86%, 50%, 1); background: hsla(230, 86%, 72%, 0.12); }
.bc-blog-strip-section--buying .bc-topic-sub:hover { background: hsla(230, 86%, 72%, 0.22); }
.bc-blog-strip-section--homeowner .bc-topic-sub { color: hsla(137, 28%, 32%, 1); background: hsla(137, 28%, 49%, 0.12); }
.bc-blog-strip-section--homeowner .bc-topic-sub:hover { background: hsla(137, 28%, 49%, 0.22); }
.bc-blog-strip-section--local .bc-topic-sub { color: hsla(330, 82%, 42%, 1); background: hsla(330, 82%, 60%, 0.12); }
.bc-blog-strip-section--local .bc-topic-sub:hover { background: hsla(330, 82%, 60%, 0.22); }

/* Archive subcategory pills */
.bc-archive-subcats {
    border-bottom: 1px solid var(--c-border);
    padding: 16px 0;
}

.bc-archive-subcats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.bc-topic-sub--selling   { color: hsla(16, 100%, 48%, 1);  background: hsla(16, 100%, 73%, 0.12); }
.bc-topic-sub--selling:hover,   .bc-topic-sub--selling.bc-topic-sub--active   { background: hsla(16, 100%, 73%, 0.28);  font-weight: 700; }
.bc-topic-sub--buying    { color: hsla(230, 86%, 50%, 1);  background: hsla(230, 86%, 72%, 0.12); }
.bc-topic-sub--buying:hover,    .bc-topic-sub--buying.bc-topic-sub--active    { background: hsla(230, 86%, 72%, 0.28);  font-weight: 700; }
.bc-topic-sub--homeowner { color: hsla(137, 28%, 32%, 1);  background: hsla(137, 28%, 49%, 0.12); }
.bc-topic-sub--homeowner:hover, .bc-topic-sub--homeowner.bc-topic-sub--active { background: hsla(137, 28%, 49%, 0.28); font-weight: 700; }
.bc-topic-sub--local     { color: hsla(330, 82%, 42%, 1);  background: hsla(330, 82%, 60%, 0.12); }
.bc-topic-sub--local:hover,     .bc-topic-sub--local.bc-topic-sub--active     { background: hsla(330, 82%, 60%, 0.28);  font-weight: 700; }

/* ===== CATEGORY STRIPS ===== */
.bc-blog-strip-section {
    padding: 40px 0;
    background: var(--c-white);
}

.bc-blog-strip-section:nth-child(even) {
    background: var(--c-bg);
}

.bc-blog-strip-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bc-blog-strip-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-primary);
}

.bc-blog-strip-see-all {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-accent-orange);
    transition: opacity 0.2s;
}

.bc-blog-strip-see-all:hover {
    opacity: 0.75;
}

.bc-blog-strip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .bc-blog-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .bc-blog-strip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== BLOG CARD (image + meta + title) ===== */
.bc-blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-white);
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.03);
    text-decoration: none;
}

.bc-blog-card:hover {
    box-shadow: 0 4px 20px -4px rgba(21, 35, 48, 0.12);
    transform: translateY(-2px);
}

.bc-blog-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.bc-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bc-blog-card:hover .bc-blog-card-img img {
    transform: scale(1.03);
}

.bc-blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
}


.bc-blog-card-cat {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--c-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bc-blog-card--selling   .bc-blog-card-cat { color: hsla(16, 100%, 48%, 1); }
.bc-blog-card--buying    .bc-blog-card-cat { color: hsla(230, 86%, 50%, 1); }
.bc-blog-card--homeowner .bc-blog-card-cat { color: hsla(137, 28%, 32%, 1); }
.bc-blog-card--local     .bc-blog-card-cat { color: hsla(330, 82%, 42%, 1); }

.bc-blog-card-body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bc-blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.bc-blog-card-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--c-secondary);
}

.bc-blog-card-time svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.bc-blog-card-date {
    font-size: 13px;
    color: var(--c-secondary);
}

.bc-blog-card-title {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bc-blog-card-excerpt {
    font-size: 13px;
    color: var(--c-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

/* ===== BLOG CARD GRID (archive page) ===== */
.bc-blog-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 600px) {
    .bc-blog-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .bc-blog-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== ARCHIVE HERO ===== */
.bc-blog-archive-hero {
    padding: 32px 0 32px;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    text-align: center;
}

.bc-blog-archive-hero-inner {
    max-width: 672px;
    margin: 0 auto;
}

.bc-blog-archive-hero h1 {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.1;
    margin-top: 24px;
    margin-bottom: 16px;
}

.bc-blog-archive-desc {
    font-size: var(--text-lg);
    color: var(--c-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bc-blog-archive-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c-secondary);
    margin-top: 20px;
}

.bc-blog-archive-count span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bc-blog-archive-count svg {
    opacity: 0.5;
    flex-shrink: 0;
}

/* Per-category pill color variants */
.bc-category-pill.bc-pill--selling   { color: hsla(16, 100%, 48%, 1);  background: hsla(16, 100%, 73%, 0.12); }
.bc-category-pill.bc-pill--buying    { color: hsla(230, 86%, 50%, 1);  background: hsla(230, 86%, 72%, 0.12); }
.bc-category-pill.bc-pill--homeowner { color: hsla(137, 28%, 32%, 1);  background: hsla(137, 28%, 49%, 0.12); }
.bc-category-pill.bc-pill--local     { color: hsla(330, 82%, 42%, 1);  background: hsla(330, 82%, 60%, 0.12); }

/* ===== ARCHIVE SECTION ===== */
.bc-blog-archive-section {
    padding: 40px 0 64px;
    background: var(--c-bg);
}

/* ===== SEARCH ARCHIVE GRID + CARD ===== */
.bc-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .bc-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .bc-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bc-archive-card {
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.bc-archive-card:hover {
    border-color: hsla(230, 86.1%, 72%, 0.5);
    box-shadow: 0 4px 24px -4px rgba(21, 35, 48, 0.12);
    transform: translateY(-2px);
}

.bc-archive-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-accent);
    margin-bottom: 8px;
}

.bc-archive-card-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.bc-archive-card-excerpt {
    font-size: 14px;
    color: var(--c-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.bc-archive-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--c-secondary);
    padding-top: 16px;
}

.bc-archive-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bc-archive-card-meta svg {
    opacity: 0.5;
}

/* ===== NO POSTS ===== */
.bc-blog-no-posts {
    text-align: center;
    padding: 48px 0;
    color: var(--c-secondary);
}

.bc-blog-no-posts a {
    color: var(--c-accent-orange);
    font-weight: 700;
}

/* ===== PAGINATION ===== */
.bc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 8px;
}

.bc-page-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    transition: border-color 0.2s, color 0.2s;
}

.bc-page-btn:hover {
    border-color: var(--c-accent-orange);
    color: var(--c-accent-orange);
}

.bc-page-numbers {
    display: flex;
    gap: 4px;
    align-items: center;
}

.bc-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.bc-page-num:hover {
    border-color: var(--c-accent-orange);
    color: var(--c-accent-orange);
}

.bc-page-num.active {
    background: var(--c-primary);
    color: white;
    border-color: var(--c-primary);
}

.bc-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 40px;
    font-size: 14px;
    color: var(--c-secondary);
}

/* WP core pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 32px;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    border-color: var(--c-accent-orange);
    color: var(--c-accent-orange);
}

.nav-links .current {
    background: var(--c-primary);
    color: white;
    border-color: var(--c-primary);
}

/* ===== NEWSLETTER ===== */
.bc-blog-newsletter-section {
    padding: 32px 0;
    background: var(--c-white);
}

.bc-blog-newsletter {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.bc-blog-newsletter-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 4px;
}

.bc-blog-newsletter-desc {
    font-size: 13px;
    color: var(--c-secondary);
}

.bc-blog-newsletter-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.bc-blog-newsletter-form input {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--c-primary);
    outline: none;
    transition: border-color 0.2s;
    min-width: 200px;
}

.bc-blog-newsletter-form input:focus {
    border-color: var(--c-accent);
}

.bc-blog-newsletter-form input::placeholder {
    color: hsla(210, 39%, 14%, 0.35);
}

.bc-blog-newsletter-form button {
    background: var(--c-accent-orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: opacity 0.2s;
}

.bc-blog-newsletter-form button:hover {
    opacity: 0.85;
}

/* ===== LOCATION TAGS ===== */
.bc-blog-location-section {
    padding: 32px 0 48px;
    background: var(--c-white);
}

.bc-blog-location-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bc-location-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
}

.bc-location-group:last-child {
    border-bottom: none;
}

.bc-location-group-state {
    flex-shrink: 0;
    width: 148px;
}

.bc-location-state-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a.bc-location-state-link:hover {
    color: var(--c-accent-orange);
}

.bc-location-state-link--inactive {
    color: var(--c-secondary);
    cursor: default;
}

.bc-location-group-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.bc-location-city-tag {
    display: inline-block;
    font-size: 17px;
    padding: 3px 11px;
    border: 1px solid var(--c-border);
    border-radius: 100px;
    color: var(--c-secondary);
    background: var(--c-white);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.bc-location-city-tag:hover {
    border-color: var(--c-accent-orange);
    color: var(--c-accent-orange);
    background: hsla(16, 100%, 73%, 0.06);
}

/* ===== SINGLE ARTICLE — HERO ===== */
.bc-single-hero {
    background: var(--c-white);
    padding: 32px 24px 32px;
    text-align: center;
}

.bc-single-hero-inner {
    max-width: 672px;
    margin: 0 auto;
}

.bc-single-hero h1 {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.1;
    margin-top: 24px;
    margin-bottom: 0;
}

.bc-single-hero .bc-article-meta {
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.bc-single-hero-img {
    margin-top: 28px;
}

.bc-single-hero-img .bc-container {
    padding-top: 0;
    padding-bottom: 0;
}

.bc-single-hero-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* ===== SINGLE ARTICLE — BODY ===== */
.bc-single-body {
    padding: 40px 0 24px;
    background: var(--c-bg);
}

/* ===== ARTICLE LAYOUT (main + sidebar) ===== */
.bc-article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.bc-article-layout > * {
    min-width: 0;
}

@media (min-width: 1024px) {
    .bc-article-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 40px;
    }
}

/* ===== ARTICLE CONTENT ===== */
.bc-article-content {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
    font-size: 17px;
    line-height: 1.75;
    color: var(--c-primary);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .bc-article-content {
        padding: 40px;
    }
}

.bc-article-content h2 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-primary);
    margin: 32px 0 16px;
    scroll-margin-top: 140px;
}

.bc-article-content h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-primary);
    margin: 24px 0 12px;
    scroll-margin-top: 140px;
}

.bc-article-content p { margin-bottom: 16px; }

.bc-article-content ul,
.bc-article-content ol {
    margin: 0 0 16px 24px;
}

.bc-article-content li { margin-bottom: 8px; }

.bc-article-content a {
    color: var(--c-accent-orange);
    text-decoration: underline;
}

.bc-article-content a:hover { text-decoration: none; }

.bc-article-content img,
article#bc-article img,
#bc-article img,
#bc-article .wp-block-image img,
#bc-article figure img {
    max-width: 100%;
    height: auto;
    border-radius: 14px !important;
    margin: 16px 0;
    display: block;
}

.bc-article-content figure,
.bc-article-content .wp-caption,
.bc-article-content figure.wp-caption,
.bc-article-content figure.aligncenter,
.bc-article-content figure.alignleft,
.bc-article-content figure.alignright,
.bc-article-content figure.alignnone,
.bc-article-content .wp-block-image,
#bc-article figure,
#bc-article .wp-block-image {
    max-width: 100% !important;
    width: auto !important;
    height: auto;
    box-sizing: border-box;
    border-radius: 14px !important;
    overflow: hidden !important;
}

.bc-article-content iframe,
.bc-article-content embed,
.bc-article-content object,
.bc-article-content video {
    max-width: 100%;
    height: auto;
}

.bc-article-content pre,
.bc-article-content code {
    overflow-x: auto;
    word-break: break-word;
}

.bc-article-content blockquote {
    border-left: 4px solid var(--c-accent);
    padding: 16px 20px;
    margin: 16px 0;
    background: hsla(230, 86.1%, 72%, 0.06);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--c-secondary);
}

.bc-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.bc-article-content th,
.bc-article-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border);
    text-align: left;
}

.bc-article-content th {
    font-weight: 700;
    background: #f9fafb;
}

/* ===== SAVINGS CTA ===== */
.bc-savings-cta {
    margin-top: 20px;
    margin-bottom: 0;
}

.bc-savings-cta-inner {
    background: linear-gradient(135deg, #152330 0%, #1e3a50 100%);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.bc-savings-cta-text h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.bc-savings-cta-text p {
    font-size: 15px;
    color: hsla(0, 0%, 100%, 0.75);
    line-height: 1.5;
    margin: 0;
}

.bc-savings-cta-text strong { color: white; }

.bc-savings-amount {
    color: var(--c-accent-orange) !important;
}

.bc-savings-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bc-savings-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bc-sidebar-card {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
}

.bc-sidebar-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 12px;
}

.bc-resources-list {
    list-style: none;
    padding: 0;
}

.bc-resources-list li {
    padding: 0;
}

.bc-resources-list a {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    color: var(--c-secondary);
    transition: color 0.2s;
}

.bc-resources-list a:hover {
    color: var(--c-accent-orange);
    font-weight: 700;
}

/* ===== PREV / NEXT NAV ===== */
.bc-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.bc-post-nav a {
    display: block;
    background: none;
    border: none;
    padding: 12px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.bc-post-nav a:hover {
    color: var(--c-accent-orange);
}

.bc-post-nav-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-secondary);
    margin-bottom: 6px;
}

.bc-post-nav-title {
    display: none;
}

.bc-post-nav-next {
    text-align: right;
}

@media (max-width: 768px) {
    .bc-post-nav { grid-template-columns: 1fr; }

    /* Hide aside cards column on homepage */
    .bc-blog-aside-list { display: none; }

    /* Featured card — taller on mobile, bigger text */
    .bc-featured-card-img { aspect-ratio: 3/4; }
    .bc-featured-card-overlay { padding: 20px 18px 22px; }
    .bc-featured-card-title { font-size: 22px; margin-bottom: 10px; }
    .bc-featured-card-excerpt { font-size: 13px; -webkit-line-clamp: 4; }
    .bc-featured-title-sub { font-size: 15px; }
    .bc-aside-card-title { font-size: 15px; }

    /* Header layout on mobile: logo left, hamburger right */
    .bc-header-inner {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        grid-template-columns: none;
    }
    .bc-header-logo { justify-self: auto; }

    /* Show hamburger button (overrides inline style="display:none") */
    #bc-mobile-menu-btn { display: flex !important; }
    .bc-desktop-only { display: none !important; }

    /* Homepage hero — match FAQ mobile typography */
    .bc-blog-hero h1 { font-size: 25px !important; line-height: 1.15 !important; overflow-wrap: break-word; }
    .bc-blog-hero p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .bc-blog-archive-hero h1 { font-size: 25px !important; line-height: 1.15 !important; overflow-wrap: break-word; }
    .bc-blog-archive-desc { font-size: 15px; -webkit-line-clamp: 3; }

    /* Article content — match FAQ mobile typography */
    .bc-single-hero h1 { font-size: 25px !important; line-height: 1.15 !important; overflow-wrap: break-word; }
    .bc-article-content { padding: 20px 16px; font-size: 13px; line-height: 1.7; overflow-x: hidden; }
    .bc-article-content h2 { font-size: 18px; margin: 22px 0 10px; }
    .bc-article-content h3 { font-size: 15px; margin: 18px 0 8px; }
    .bc-article-content h4 { font-size: 14px; }
    .bc-article-content p, .bc-article-content li { font-size: 13px; }

    /* Sidebar: hide everything including CTAs; show Explore more articles */
    .bc-toc,
    .bc-sidebar-card,
    .bc-sidebar-cta { display: none; }
    .bc-related-posts { display: block; }

    /* Breadcrumb: single line with ellipsis on current item */
    .bc-breadcrumb { flex-wrap: nowrap; overflow: hidden; }
    .bc-breadcrumb a,
    .bc-breadcrumb span[aria-hidden] { flex-shrink: 0; white-space: nowrap; }
    .bc-breadcrumb-current {
        flex: 1 1 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
}

/* ===== RELATED POSTS ===== */
.bc-related-posts {
    margin-top: 20px;
}

.bc-explore-title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 20px;
}

.bc-related-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-accent-orange);
    margin-top: 24px;
    text-align: center;
}

/* ===== SIDEBAR ===== */
.bc-sidebar {
    display: flex;
    flex-direction: column;
}

.bc-sidebar-sticky {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
}

/* ===== TOC ===== */
.bc-toc {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
}

.bc-toc-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 12px;
}

.bc-toc-nav {
    display: flex;
    flex-direction: column;
}

.bc-toc-item {
    display: block;
}

.bc-toc-item a {
    display: block;
    padding: 7px 0 7px 12px;
    font-size: 14px;
    color: var(--c-secondary);
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

.bc-toc-item a:hover {
    color: var(--c-primary);
}

.bc-toc-item a.active {
    color: var(--c-primary);
    font-weight: 700;
    border-left-color: var(--c-accent-orange);
}

.bc-toc-item-sub a {
    padding-left: 24px;
    font-size: 13px;
}

/* ===== SHARE ===== */
.bc-share {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
}

/* ===== INLINE SHARE BAR ===== */
.bc-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    margin-bottom: 12px;
}

.bc-share-bar + .bc-article-content {
    margin-top: 0;
}

.bc-article-content + .bc-share-bar {
    margin-top: 12px;
    margin-bottom: 0;
}

.bc-share-bar-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-secondary);
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bc-share-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-secondary);
    margin-bottom: 12px;
}

.bc-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    border: none;
    font-family: var(--font-body);
}

.bc-share-btn:hover {
    opacity: 0.85;
}

.bc-share-twitter {
    background: #000;
    color: white;
}

.bc-share-facebook {
    background: #1877f2;
    color: white;
}

.bc-share-copy {
    background: var(--c-bg);
    color: var(--c-primary);
    border: 1px solid var(--c-border);
}

/* ===== SIDEBAR CTA ===== */
.bc-sidebar-cta {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(21, 35, 48, 0.04), 0 4px 20px -4px rgba(21, 35, 48, 0.06);
}

.bc-sidebar-cta-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.bc-sidebar-cta p {
    font-size: 13px;
    color: var(--c-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ===== DISCOVER MORE TOPICS ===== */
.bc-footer-topics-section {
    padding: 16px 0 32px;
    background: var(--c-bg);
}

body.home .bc-footer-topics-section {
    display: none;
}

.bc-footer-topics-label {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 16px;
}

.bc-footer-topics-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bc-footer-topics--selling,
.bc-footer-topics--buying,
.bc-footer-topics--homeowner,
.bc-footer-topics--local,
.bc-topic-grey { color: var(--c-primary) !important; background: hsla(0, 0%, 0%, 0.06) !important; }

/* ===== FOOTER — matches calculator + FAQ footer ===== */
.bc-footer {
    background: #282828;
    color: white;
    padding: 80px 32px 32px;
    margin-top: 0;
}

.bc-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.bc-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 44px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .bc-footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .bc-footer-grid {
        grid-template-columns: 1fr 1fr 1fr 2fr;
    }
}

.bc-footer h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
    color: #9ca3af;
}

.bc-footer ul {
    list-style: none;
    padding: 0;
}

.bc-footer li { margin-bottom: 16px; }

.bc-footer a {
    font-size: 14px;
    font-weight: 400;
    color: white;
    transition: color 0.2s;
}

.bc-footer-contact p {
    font-size: 14px;
    color: white;
    margin-bottom: 16px;
    line-height: 1.5;
}

.bc-footer-hours { padding-top: 8px; }

.bc-footer-hours p { margin-bottom: 4px; }

.bc-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
}

.bc-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: white !important;
    min-width: 160px;
    transition: opacity 0.2s;
}

.bc-footer-btn:hover { opacity: 0.9; color: white !important; }

.bc-footer-btn-call { background: var(--c-accent-orange); }

.bc-footer-btn-whatsapp { background: #25D366; }

.bc-footer-social { margin-top: 32px; }

.bc-footer-social-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #9ca3af;
    margin-bottom: 12px;
}

.bc-footer-social-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.bc-footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    font-weight: 700;
    color: white !important;
    transition: border-color 0.2s;
}

.bc-footer-social-icons a:hover { border-color: var(--c-accent-orange); }

.bc-footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
}

.bc-footer-disclaimer p { margin-bottom: 16px; }

.bc-footer-disclaimer a {
    font-size: 12px;
    color: var(--c-accent);
    text-decoration: underline;
    display: inline;
    font-weight: 400;
}

.bc-footer-copy {
    padding-top: 16px;
    text-align: center;
}
