/* =========================================================
   BarCARE Blog V3 — designed for the supplied BarCARE theme
   Brand colors from the current theme:
   #0A376D navy, #1E8FC6 blue, #3E9E1F green, #8CCB4A lime
========================================================= */

.bc-blog-page,
.bc-single-page,
.bc-blog-page *,
.bc-single-page * { box-sizing: border-box; }

.bc-blog-page,
.bc-single-page {
    --bc-navy: #0A376D;
    --bc-blue: #1E8FC6;
    --bc-green: #3E9E1F;
    --bc-lime: #8CCB4A;
    --bc-ink: #16253a;
    --bc-text: #46515f;
    --bc-muted: #6e7884;
    --bc-border: #e2e8ef;
    --bc-soft-blue: #eef7ff;
    --bc-soft-green: #f0f8eb;
    --bc-bg: #ffffff;
    font-family: var(--priFont, "Roboto", Arial, sans-serif);
    color: var(--bc-text);
    background: #fff;
    line-height: 1.55;
}

.bc-blog-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.bc-blog-page a,
.bc-single-page a { text-decoration: none; }

.bc-blog-page img,
.bc-single-page img { max-width: 100%; }

/* ---------- Blog hero ---------- */
.bc-blog-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #edf7ff 0%, #edf7ff 46%, #f7fbff 100%);
    border-top: 1px solid rgba(10,55,109,.06);
}

.bc-blog-hero-grid {
    min-height: 325px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    align-items: stretch;
}

.bc-blog-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 50px 42px 0;
}

.bc-blog-kicker {
    color: var(--bc-navy);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 13px;
}

.bc-blog-hero h1 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--bc-navy) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4vw, 54px) !important;
    font-weight: 700 !important;
    line-height: 1.04 !important;
    letter-spacing: -.025em;
}

.bc-blog-hero-copy > p {
    max-width: 560px;
    margin: 0 0 22px !important;
    color: #4f5965 !important;
    font-size: 16px;
    line-height: 1.55;
    text-align: left !important;
}

.bc-blog-hero-visual {
    position: relative;
    min-height: 325px;
    background-size: cover;
    background-position: center;
}

.bc-blog-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #edf7ff 0%, rgba(237,247,255,.5) 13%, rgba(237,247,255,0) 42%);
}

.bc-blog-search {
    width: min(100%, 520px);
    height: 48px;
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(10,55,109,.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15,55,95,.07);
}

.bc-blog-search input {
    flex: 1;
    min-width: 0;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #33404d !important;
    font: inherit !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.bc-blog-search button {
    width: 58px;
    flex: 0 0 58px;
    border: 0;
    background: var(--bc-navy);
    display: grid;
    place-items: center;
    transition: .2s ease;
}
.bc-blog-search button:hover { background: var(--bc-blue); }
.bc-blog-search svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; }

/* ---------- Blog listing ---------- */
.bc-blog-main { padding: 26px 0 18px; background: #fff; }
.bc-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 54px;
    align-items: start;
}
.bc-blog-content { min-width: 0; }

.bc-blog-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bc-blog-section-label {
    margin: 0 0 10px;
    color: var(--bc-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .025em;
}
.bc-clear-filter { color: var(--bc-blue) !important; font-size: 12px; font-weight: 700; }

.bc-featured-card {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 218px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(18,47,77,.04);
}
.bc-featured-image { min-height: 218px; background-size: cover; background-position: center; }
.bc-featured-body { min-width: 0; padding: 18px 24px 15px; display: flex; flex-direction: column; }

.bc-category-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 24px;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 5px;
    background: #e8f2ff;
    color: var(--bc-navy) !important;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.15;
}

.bc-featured-card h2,
.bc-post-card h3 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--bc-navy) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
}
.bc-featured-card h2 { font-size: 24px !important; line-height: 1.14 !important; }
.bc-featured-card h2 a,
.bc-post-card h3 a { color: inherit !important; }
.bc-featured-body > p {
    margin: 8px 0 13px !important;
    color: #56606a !important;
    font-size: 13px;
    line-height: 1.45;
    text-align: left !important;
}

.bc-card-meta-row,
.bc-post-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bc-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #727c86; font-size: 11px; line-height: 1.2; }
.bc-meta-dot { opacity: .55; }
.bc-read-more { color: var(--bc-navy) !important; font-size: 11px; font-weight: 750; white-space: nowrap; }
.bc-read-more:hover { color: var(--bc-blue) !important; }

.bc-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.bc-post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bc-border);
    border-radius: 10px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bc-post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,55,95,.09); }
.bc-post-image { display: block; height: 140px; background-size: cover; background-position: center; }
.bc-post-card-body { display: flex; flex: 1; flex-direction: column; padding: 11px 14px 13px; }
.bc-post-card h3 { font-family: var(--priFont, "Roboto", Arial, sans-serif) !important; font-size: 16px !important; line-height: 1.18 !important; }
.bc-post-card-body > p { margin: 8px 0 13px !important; color: #5f6872 !important; font-size: 12px; line-height: 1.45; text-align: left !important; }
.bc-post-card-footer .bc-card-meta { font-size: 10px; gap: 5px; }
.bc-post-card-footer .bc-read-more { font-size: 10px; }

.bc-view-all-wrap { margin-top: 10px; text-align: center; }
.bc-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 22px;
    border-radius: 6px;
    background: var(--bc-navy);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}
.bc-primary-btn:hover { background: var(--bc-blue); }

.bc-pagination { display: flex; justify-content: center; gap: 5px; margin: 28px 0 4px; }
.bc-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bc-border);
    border-radius: 6px;
    background: #fff;
    color: var(--bc-navy) !important;
    font-size: 12px;
}
.bc-pagination .current,
.bc-pagination a:hover { border-color: var(--bc-navy); background: var(--bc-navy); color: #fff !important; }

.bc-empty-state { padding: 46px 24px; border: 1px solid var(--bc-border); border-radius: 12px; text-align: center; background: #fbfdff; }
.bc-empty-state h3 { margin: 0 0 7px !important; color: var(--bc-navy) !important; font-size: 22px !important; border: 0 !important; }
.bc-empty-state p { margin: 0 0 18px !important; text-align: center !important; }

/* ---------- Blog sidebar ---------- */
.bc-side-card { overflow: hidden; border: 1px solid var(--bc-border); border-radius: 12px; background: #fff; }
.bc-side-section { padding: 17px 20px; }
.bc-side-section + .bc-side-section { border-top: 1px solid var(--bc-border); }
.bc-side-section > h3 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--bc-navy) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
.bc-category-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.bc-category-list li { min-height: 36px; padding: 0 !important; margin: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bc-category-list li::before { display: none !important; }
.bc-category-list a { display: flex; align-items: center; gap: 10px; min-width: 0; color: #263240 !important; font-size: 13px; }
.bc-category-list a:hover { color: var(--bc-blue) !important; }
.bc-cat-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 1px solid rgba(30,143,198,.65); border-radius: 50%; }
.bc-cat-icon svg { width: 12px; height: 12px; fill: none; stroke: var(--bc-blue); stroke-width: 1.6; }
.bc-cat-count { min-width: 30px; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; background: #f0f3f6; color: #39434d; font-size: 10px; }

.bc-recent-list { display: flex; flex-direction: column; gap: 12px; }
.bc-recent-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 11px; align-items: start; }
.bc-recent-thumb { width: 78px; height: 58px; border-radius: 6px; background-size: cover; background-position: center; }
.bc-recent-item h4 { margin: 1px 0 4px !important; padding: 0 !important; color: var(--bc-navy) !important; font-size: 12px !important; font-weight: 700 !important; line-height: 1.2 !important; }
.bc-recent-item h4 a { color: inherit !important; }
.bc-recent-item time { color: #7b8490; font-size: 10px; line-height: 1.2; }

/* ---------- Newsletter strip ---------- */
.bc-newsletter-strip { margin-top: 4px; background: linear-gradient(90deg, #e8f3ff, #f2f8ff); border-top: 1px solid #dae8f6; }
.bc-newsletter-inner { min-height: 104px; display: grid; grid-template-columns: 68px minmax(0, 1fr) minmax(390px, 480px); align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.bc-newsletter-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--bc-blue), var(--bc-navy)); }
.bc-newsletter-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.5; }
.bc-newsletter-copy h2 { margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; color: var(--bc-navy) !important; font-size: 19px !important; font-weight: 750 !important; line-height: 1.25 !important; }
.bc-newsletter-copy p { margin: 0 !important; color: #53606d !important; font-size: 12px; line-height: 1.45; text-align: left !important; }
.bc-newsletter-form { height: 42px; display: flex; overflow: hidden; border: 1px solid #d7e1eb; border-radius: 7px; background: #fff; }
.bc-newsletter-form input { flex: 1; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 15px !important; border: 0 !important; background: #fff !important; box-shadow: none !important; font: inherit !important; font-size: 12px !important; }
.bc-newsletter-form button { min-width: 126px; padding: 0 18px; border: 0; background: var(--bc-navy); color: #fff; font-size: 11px; font-weight: 700; }
.bc-newsletter-form button:hover { background: var(--bc-blue); }
.bc-newsletter-notice { margin: 0 0 7px; padding: 7px 10px; border-radius: 5px; font-size: 11px; line-height: 1.3; }
.bc-newsletter-success { background: #e8f6e4; color: #28681c; }
.bc-newsletter-error { background: #fff0ef; color: #9a2d24; }

/* =========================================================
   SINGLE BLOG DETAIL
========================================================= */
.bc-single-page { padding-bottom: 38px; }
.bc-breadcrumb { display: flex; align-items: center; gap: 7px; min-height: 46px; overflow: hidden; white-space: nowrap; border-bottom: 1px solid #edf0f3; color: #718090; font-size: 11px; }
.bc-breadcrumb a { color: var(--bc-navy) !important; }
.bc-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }

.bc-article-hero { padding: 28px 0 30px; border-bottom: 1px solid #edf0f3; background: #fff; }
.bc-article-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); gap: 42px; align-items: center; }
.bc-article-hero-copy { min-width: 0; }
.bc-article-hero-copy > .bc-category-pill { margin-bottom: 12px; }
.bc-article-hero h1 {
    margin: 0 0 13px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--bc-navy) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4vw, 54px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em;
}
.bc-article-deck { margin: 0 0 20px !important; max-width: 650px; color: #475361 !important; font-size: 15px; line-height: 1.55; text-align: left !important; }
.bc-article-featured-image { min-height: 300px; border-radius: 11px; background-size: cover; background-position: center; box-shadow: 0 4px 16px rgba(15,55,95,.06); }

.bc-author-meta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bc-author-inline { display: flex; align-items: center; gap: 10px; }
.bc-author-inline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.bc-author-inline strong { display: block; color: var(--bc-navy); font-size: 12px; line-height: 1.2; font-weight: 750; }
.bc-author-inline span { display: block; margin-top: 3px; color: #737d87; font-size: 10px; line-height: 1.2; }
.bc-article-meta { display: flex; align-items: center; gap: 8px; color: #68737e; font-size: 11px; }
.bc-article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bc-article-meta svg { width: 14px; height: 14px; fill: none; stroke: #65717c; stroke-width: 1.6; }

.bc-share-row { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 17px; border-top: 1px solid #edf0f3; }
.bc-share-row > strong { color: #2c3540; font-size: 11px; font-weight: 700; }
.bc-share-buttons { display: flex; gap: 8px; }
.bc-share-buttons a { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #f2f6fa; color: var(--bc-navy) !important; font-size: 12px; font-weight: 800; }
.bc-share-buttons a:hover { background: var(--bc-navy); color: #fff !important; }

.bc-article-main { padding: 24px 0 6px; }
.bc-article-main-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) 300px; gap: 42px; align-items: start; }

.bc-toc-card,
.bc-detail-side-card { border: 1px solid var(--bc-border); border-radius: 10px; background: #fff; overflow: hidden; }
.bc-toc-card > h2,
.bc-detail-side-card > h2 {
    margin: 0 !important;
    padding: 16px 16px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--bc-border) !important;
    color: var(--bc-navy) !important;
    font-family: var(--priFont, "Roboto", Arial, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
#bc-toc { padding: 6px 0 8px; }
#bc-toc ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#bc-toc li { margin: 0 !important; padding: 0 !important; position: relative; }
#bc-toc li::before { display: none !important; }
#bc-toc a { display: block; padding: 9px 14px; border-left: 2px solid transparent; color: #3f4a55 !important; font-size: 11px; line-height: 1.35; }
#bc-toc a:hover { border-left-color: var(--bc-blue); background: #f5faff; color: var(--bc-navy) !important; }
#bc-toc .bc-toc-sub a { padding-left: 24px; font-size: 10px; }
.bc-toc-loading,
.bc-toc-empty { margin: 0 !important; padding: 11px 14px !important; color: #7c8690 !important; font-size: 11px; text-align: left !important; }

.bc-article-content { min-width: 0; color: #3e4955; font-size: 15px; line-height: 1.7; }
.bc-article-content > *:first-child { margin-top: 0 !important; }
.bc-article-content p { margin: 0 0 18px !important; color: #3e4955 !important; line-height: 1.72 !important; text-align: left !important; }
.bc-article-content h2 {
    scroll-margin-top: 20px;
    margin: 27px 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--bc-navy) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
.bc-article-content h3 {
    scroll-margin-top: 20px;
    margin: 22px 0 10px !important;
    padding: 0 0 8px !important;
    border: 0 !important;
    border-bottom: 1px solid #e6ebef !important;
    color: var(--bc-navy) !important;
    font-size: 18px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
}
.bc-article-content h4 { margin: 18px 0 8px !important; color: var(--bc-navy) !important; font-size: 16px !important; font-weight: 750 !important; }
.bc-article-content ul,
.bc-article-content ol { margin: 0 0 20px !important; padding-left: 22px !important; }
.bc-article-content ul { list-style: disc !important; }
.bc-article-content ol { list-style: decimal !important; }
.bc-article-content li { margin: 0 0 8px !important; padding: 0 !important; text-align: left !important; }
.bc-article-content li::before { display: none !important; }
.bc-article-content a { color: var(--bc-blue) !important; text-decoration: underline; text-underline-offset: 2px; }
.bc-article-content img { max-width: 100%; height: auto; margin: 16px auto 20px !important; display: block; float: none !important; border-radius: 8px; }
.bc-article-content blockquote { margin: 22px 0; padding: 16px 18px; border-left: 4px solid var(--bc-blue); background: #f5faff; color: #33404c; }
.bc-article-content table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: 13px; }
.bc-article-content th,
.bc-article-content td { padding: 10px; border: 1px solid #dfe5eb; text-align: left; }
.bc-article-content th { background: #f3f8fd; color: var(--bc-navy); font-weight: 700; }
.bc-page-links { margin-top: 22px; }

.bc-article-sidebar { display: flex; flex-direction: column; gap: 20px; }
.bc-detail-side-card { padding-bottom: 16px; }
.bc-author-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 10px; }
.bc-author-card-head img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.bc-author-card-head h3 { margin: 0 0 3px !important; padding: 0 !important; border: 0 !important; color: var(--bc-navy) !important; font-size: 13px !important; font-weight: 800 !important; line-height: 1.2 !important; }
.bc-author-card-head p { margin: 0 !important; color: #5e6974 !important; font-size: 10px; line-height: 1.3; text-align: left !important; }
.bc-author-bio { margin: 0 !important; padding: 0 16px 10px !important; color: #4f5a65 !important; font-size: 11px; line-height: 1.55; text-align: left !important; }
.bc-text-link { display: inline-flex; margin: 0 16px; color: var(--bc-navy) !important; font-size: 11px; font-weight: 750; }

.bc-related-list { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.bc-related-item { display: grid; grid-template-columns: 83px minmax(0, 1fr); gap: 11px; align-items: start; }
.bc-related-thumb { width: 83px; height: 61px; border-radius: 6px; background-size: cover; background-position: center; }
.bc-related-item h3 { margin: 0 0 5px !important; padding: 0 !important; border: 0 !important; color: var(--bc-navy) !important; font-size: 11.5px !important; font-weight: 750 !important; line-height: 1.25 !important; }
.bc-related-item h3 a { color: inherit !important; }
.bc-related-item time { color: #79838d; font-size: 9.5px; line-height: 1.2; }

.bc-detail-newsletter { padding: 20px 18px 18px; text-align: center; background: linear-gradient(180deg, #f4f9ff, #edf6ff); }
.bc-detail-newsletter-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border: 1px solid var(--bc-blue); border-radius: 50%; }
.bc-detail-newsletter-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--bc-navy); stroke-width: 1.4; }
.bc-detail-newsletter > h2 { margin: 0 0 9px !important; padding: 0 !important; border: 0 !important; color: var(--bc-navy) !important; font-family: Georgia, "Times New Roman", serif !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.25 !important; }
.bc-detail-newsletter > p { margin: 0 0 15px !important; color: #596571 !important; font-size: 11px; line-height: 1.5; text-align: center !important; }
.bc-detail-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.bc-detail-newsletter-form input { width: 100% !important; height: 40px !important; margin: 0 !important; padding: 0 12px !important; border: 1px solid #d9e1e8 !important; border-radius: 5px !important; background: #fff !important; box-shadow: none !important; font: inherit !important; font-size: 11px !important; }
.bc-detail-newsletter-form button { width: 100%; height: 40px; border: 0; border-radius: 5px; background: var(--bc-navy); color: #fff; font-size: 11px; font-weight: 700; }
.bc-detail-newsletter-form button:hover { background: var(--bc-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
    .bc-blog-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 32px; }
    .bc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bc-newsletter-inner { grid-template-columns: 62px minmax(0, 1fr) 390px; }
    .bc-article-main-grid { grid-template-columns: 180px minmax(0, 1fr) 280px; gap: 28px; }
}

@media (max-width: 950px) {
    .bc-blog-hero-grid,
    .bc-article-hero-grid { grid-template-columns: 1fr 42%; }
    .bc-blog-hero-copy { padding-right: 28px; }
    .bc-blog-layout { grid-template-columns: 1fr; }
    .bc-blog-sidebar { width: 100%; }
    .bc-side-card { display: grid; grid-template-columns: 1fr 1fr; }
    .bc-side-section + .bc-side-section { border-top: 0; border-left: 1px solid var(--bc-border); }
    .bc-article-main-grid { grid-template-columns: 180px minmax(0, 1fr); }
    .bc-article-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
    .bc-newsletter-inner { grid-template-columns: 62px minmax(0, 1fr); padding-top: 18px; padding-bottom: 18px; }
    .bc-newsletter-form-wrap { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .bc-blog-container { width: min(100% - 30px, 1240px); }
    .bc-blog-hero-grid,
    .bc-article-hero-grid { grid-template-columns: 1fr; }
    .bc-blog-hero-copy { padding: 36px 0 28px; }
    .bc-blog-hero-visual { min-height: 250px; margin-left: -15px; margin-right: -15px; }
    .bc-blog-hero-visual::before { background: linear-gradient(180deg, #edf7ff 0%, rgba(237,247,255,0) 35%); }
    .bc-featured-card { grid-template-columns: 1fr; }
    .bc-featured-image { min-height: 230px; }
    .bc-post-grid { grid-template-columns: 1fr; }
    .bc-post-image { height: 215px; }
    .bc-side-card { grid-template-columns: 1fr; }
    .bc-side-section + .bc-side-section { border-left: 0; border-top: 1px solid var(--bc-border); }
    .bc-article-featured-image { min-height: 260px; order: -1; }
    .bc-author-meta-row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .bc-article-main-grid { grid-template-columns: 1fr; }
    .bc-toc-card { order: 1; }
    .bc-article-content { order: 2; }
    .bc-article-sidebar { order: 3; grid-column: auto; grid-template-columns: 1fr; }
    .bc-newsletter-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .bc-newsletter-form-wrap { width: 100%; }
    .bc-newsletter-copy h2 { font-size: 18px !important; }
}

@media (max-width: 480px) {
    .bc-blog-hero h1,
    .bc-article-hero h1 { font-size: 34px !important; }
    .bc-featured-body { padding: 17px; }
    .bc-featured-card h2 { font-size: 21px !important; }
    .bc-card-meta-row,
    .bc-post-card-footer { align-items: flex-start; flex-direction: column; }
    .bc-share-row { align-items: flex-start; flex-direction: column; gap: 9px; }
    .bc-newsletter-form { height: auto; flex-direction: column; overflow: visible; border: 0; background: transparent; }
    .bc-newsletter-form input { height: 42px !important; border: 1px solid #d7e1eb !important; border-radius: 6px !important; }
    .bc-newsletter-form button { height: 42px; border-radius: 6px; }
}

/* =========================================================
   BARCARE THEME HEADER COMPATIBILITY FIX
   The supplied Proweaver theme moves .header_info_btn into
   .non_ban on desktop non-home pages. Our custom Blog and
   Single Post templates intentionally do not render the old
   non-home banner, so that CTA otherwise remains in the header
   and collides with Blog / Contact navigation items.
   This stylesheet is loaded only by the custom blog templates.
========================================================= */
@media only screen and (min-width: 1011px) {
    body.non_home_page .header_nav_holder .header_info .header_info_btn {
        display: none !important;
    }

    body.non_home_page .header_nav_holder .head_info {
        z-index: 20;
    }

    body.non_home_page .header_nav_holder .main_logo,
    body.non_home_page .header_nav_holder .page_nav {
        z-index: 10;
    }
}

/* =========================================================
   MOBILE FOOTER REFINEMENT — BLOG / SINGLE POST ONLY
   This stylesheet is loaded only on the custom Blog templates,
   so these rules do not change the footer on the rest of the site.
========================================================= */
@media only screen and (max-width: 800px) {
    footer {
        padding-bottom: 0 !important;
        font-size: 14px !important;
    }

    footer .wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    footer .footer_top {
        height: auto !important;
        padding: 32px 18px 28px !important;
    }

    footer .footer_top_con {
        min-height: 0 !important;
        padding: 0 !important;
    }

    footer .footer_flex_con {
        width: 100% !important;
        max-width: 100% !important;
        row-gap: 24px !important;
    }

    footer .ftr_con1,
    footer .ftr_con2,
    footer .ftr_c1,
    footer .ftr_c3 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    footer .footer_logo {
        width: auto !important;
        margin: 0 auto 14px !important;
        text-align: center !important;
    }

    footer .footer_logo figure {
        margin: 0 !important;
    }

    footer .footer_logo img {
        display: block !important;
        width: 176px !important;
        max-width: 70vw !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    footer .serv_area {
        width: 100% !important;
        max-width: 430px !important;
        margin: 0 auto 18px !important;
        text-align: center !important;
    }

    footer .serv_area p,
    footer .serv_area li,
    footer .serv_area a,
    footer .serv_area span {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    footer .social_media {
        width: auto !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    footer .social_media ul {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
        gap: 9px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer .social_media ul li {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    footer .social_media ul li a {
        width: 34px !important;
        height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        place-items: center !important;
        border: 0 !important;
        background: transparent !important;
    }

    footer .social_media ul li img {
        width: 30px !important;
        height: 30px !important;
        object-fit: contain !important;
    }

    footer .ftr_flexxer {
        width: 100% !important;
        row-gap: 22px !important;
    }

    footer .ftr_awards,
    footer .contact_info {
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    footer .ftr_awards h2,
    footer .contact_info h2,
    footer .ftr_flexxer h2 {
        margin: 0 0 11px !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    footer .ftr_awards ul {
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: left !important;
    }

    footer .ftr_awards ul li {
        margin: 0 0 7px !important;
        padding-left: 16px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    footer .contact_info ul,
    footer .contact_info_list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        row-gap: 12px !important;
        margin: 10px 0 0 !important;
        padding: 0 !important;
    }

    footer .contact_info ul li,
    footer .contact_info_list li {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
    }

    footer .contact_info ul li::before,
    footer .contact_info_list li::before {
        display: block !important;
        position: static !important;
        margin: 0 auto 6px !important;
        transform: none !important;
    }

    footer .ftr_btm_info {
        margin: 24px auto 0 !important;
        text-align: center !important;
    }

    footer .ftr_btm_info h2 {
        max-width: 520px !important;
        margin: 0 auto 16px !important;
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    footer .ftr_btm_info h2 span {
        margin-top: 7px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    footer .ftr_btn_flex {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 580px !important;
        margin: 0 auto !important;
    }

    footer .ftr_btn_flex > * {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    footer .ftr_btm_info .btnStyle1,
    footer .ftr_btn_flex .btnStyle1 {
        width: 100% !important;
        max-width: none !important;
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 38px 0 14px !important;
        border-radius: 24px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    footer .ftr_btm_info .btnStyle1::before,
    footer .ftr_btn_flex .btnStyle1::before {
        width: 26px !important;
        height: 26px !important;
        right: 9px !important;
        background-size: auto !important;
    }

    footer .footer_btm {
        height: auto !important;
        padding: 22px 18px 24px !important;
        border-top: 1px solid rgba(255,255,255,.25) !important;
    }

    footer .footer_btm_con {
        min-height: 0 !important;
        padding: 0 !important;
    }

    footer .footer_nav {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    footer .footer_nav h2,
    footer .footer_nav .heading3 {
        margin: 0 0 10px !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    footer .footer_nav ul,
    footer .footer_nav .menu {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 20px !important;
        row-gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    footer .footer_nav ul li,
    footer .footer_nav .menu li {
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    footer .footer_nav ul li::after,
    footer .footer_nav .menu li::after {
        display: none !important;
    }

    footer .footer_nav ul li a,
    footer .footer_nav .menu li a {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 7px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        text-align: left !important;
        box-shadow: none !important;
    }

    footer .footer_nav ul li a:hover,
    footer .footer_nav ul li a:active,
    footer .footer_nav ul li.current_page_item a {
        background: transparent !important;
        text-decoration: underline !important;
    }

    footer .copyright {
        margin: 18px auto 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        line-height: 1.65 !important;
        text-align: center !important;
    }

    footer .copyright span {
        display: block !important;
        margin-top: 3px !important;
    }

    footer .dont {
        width: 100% !important;
        margin: 0 auto 14px !important;
    }

    footer .dont a.btnStyle1 {
        width: auto !important;
        max-width: 270px !important;
        height: auto !important;
        min-height: 40px !important;
        margin: 0 auto !important;
        padding: 10px 14px !important;
        border-radius: 22px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    footer .dont a.btnStyle1::before {
        display: none !important;
    }

    footer .dont span {
        display: inline !important;
    }

    footer .privacy_policy,
    footer .copyrigh_text {
        display: block !important;
        width: fit-content !important;
        margin: 3px auto 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
    }

    footer .privacy_policy::before,
    footer .copyrigh_text::before {
        display: none !important;
    }
}

@media only screen and (max-width: 480px) {
    footer .footer_top {
        padding: 26px 14px 22px !important;
    }

    footer .footer_logo img {
        width: 158px !important;
    }

    footer .serv_area p,
    footer .serv_area li,
    footer .serv_area a,
    footer .serv_area span,
    footer .ftr_awards ul li,
    footer .contact_info ul li,
    footer .contact_info_list li {
        font-size: 12.5px !important;
    }

    footer .ftr_awards h2,
    footer .contact_info h2,
    footer .ftr_flexxer h2,
    footer .footer_nav h2,
    footer .footer_nav .heading3 {
        font-size: 17px !important;
    }

    footer .ftr_btm_info h2 {
        font-size: 15px !important;
    }

    footer .ftr_btn_flex {
        grid-template-columns: 1fr !important;
        max-width: 300px !important;
    }

    footer .footer_btm {
        padding: 20px 14px 22px !important;
    }

    footer .footer_nav ul,
    footer .footer_nav .menu {
        column-gap: 14px !important;
    }

    footer .footer_nav ul li a,
    footer .footer_nav .menu li a {
        padding: 6px 0 !important;
        font-size: 12px !important;
    }

    footer .copyright,
    footer .privacy_policy,
    footer .copyrigh_text,
    footer .dont a.btnStyle1 {
        font-size: 11.5px !important;
    }
}

/* =========================================================
   BARCARE MOBILE FOOTER V6
   Global mobile footer layout:
   - logo/service/social = full width
   - awards + contact = 2 columns
   - footer CTA buttons = 2 columns
   - quick links = 2 columns
   - copyright = full width
========================================================= */
@media only screen and (max-width: 800px) {
  footer,
  footer * { box-sizing: border-box; }

  footer { padding-bottom: 0 !important; }

  footer .wrapper {
    width: 100% !important;
    max-width: 720px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  footer .footer_top {
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 0 20px !important;
  }

  footer .footer_top_con {
    min-height: 0 !important;
    padding: 0 !important;
  }

  footer .footer_flex_con {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: start !important;
  }

  /* Logo block stays one full-width column */
  footer .ftr_con1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  footer .footer_logo {
    width: 100% !important;
    margin: 0 auto 9px !important;
    text-align: center !important;
  }

  footer .footer_logo figure { margin: 0 !important; }

  footer .footer_logo img {
    display: block !important;
    width: 150px !important;
    max-width: 54vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  footer .serv_area {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto 10px !important;
    text-align: center !important;
  }

  footer .serv_area p,
  footer .serv_area li,
  footer .serv_area a,
  footer .serv_area span {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  footer .social_media {
    width: 100% !important;
    margin: 8px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  footer .social_media ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer .social_media ul li {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  footer .social_media ul li a {
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  footer .social_media ul li img {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
  }

  footer .ftr_line { display: none !important; }

  /* Awards + Contact = 2 equal columns */
  footer .ftr_con2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer .ftr_flexxer {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: start !important;
  }

  footer .ftr_c1,
  footer .ftr_c3 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer .ftr_c2 { display: none !important; }

  footer .ftr_awards,
  footer .contact_info {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 10px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 10px !important;
    text-align: left !important;
  }

  footer .ftr_awards h2,
  footer .contact_info h2,
  footer .ftr_flexxer h2 {
    margin: 0 0 8px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  footer .ftr_awards ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  footer .ftr_awards ul li {
    position: relative !important;
    width: 100% !important;
    margin: 0 0 5px !important;
    padding: 0 0 0 12px !important;
    font-size: 10.8px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }

  footer .ftr_awards ul li:last-child { margin-bottom: 0 !important; }

  footer .ftr_awards ul li::before {
    left: 1px !important;
    top: .55em !important;
    width: 4px !important;
    height: 4px !important;
  }

  footer .contact_info ul,
  footer .contact_info_list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer .contact_info ul li,
  footer .contact_info_list li {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 25px !important;
    font-size: 10.8px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  footer .contact_info ul li h2 {
    margin: 0 !important;
    font-size: 10.8px !important;
    line-height: 1.35 !important;
  }

  footer .contact_info ul li::before,
  footer .contact_info_list li::before {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    transform: scale(.68) !important;
    transform-origin: left top !important;
  }

  /* Footer message full width, buttons 2 x 2 */
  footer .ftr_btm_info {
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  footer .ftr_btm_info h2 {
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 auto 12px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  footer .ftr_btm_info h2 span {
    display: block !important;
    margin: 5px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  footer .ftr_btn_flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

  footer .ftr_btn_flex > *,
  footer .ftr_btn1,
  footer .ftr_btn2,
  footer .ftr_btn3,
  footer .ftr_btn4 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  footer .ftr_btm_info .btnStyle1,
  footer .ftr_btn_flex .btnStyle1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 31px 8px 10px !important;
    border-radius: 22px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  footer .ftr_btm_info .btnStyle1::before,
  footer .ftr_btn_flex .btnStyle1::before {
    right: 7px !important;
    width: 22px !important;
    height: 22px !important;
    transform: translateY(-50%) scale(.8) !important;
    transform-origin: center !important;
  }

  /* Quick Links = two columns */
  footer .footer_btm {
    height: auto !important;
    min-height: 0 !important;
    padding: 17px 0 18px !important;
  }

  footer .footer_btm_con {
    min-height: 0 !important;
    padding: 0 !important;
  }

  footer .footer_btm_con::before { opacity: .35 !important; }

  footer .footer_nav {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  footer .footer_nav h2,
  footer .footer_nav .heading3 {
    width: 100% !important;
    margin: 0 0 8px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  footer .footer_nav ul,
  footer .footer_nav .menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  footer .footer_nav ul li,
  footer .footer_nav .menu li {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  footer .footer_nav ul li::after,
  footer .footer_nav .menu li::after { display: none !important; }

  footer .footer_nav ul li a,
  footer .footer_nav .menu li a {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  footer .footer_nav ul li a:hover,
  footer .footer_nav ul li a:active,
  footer .footer_nav ul li.current_page_item a,
  footer .footer_nav .menu li a:hover,
  footer .footer_nav .menu li a:active {
    background: transparent !important;
    text-decoration: underline !important;
  }

  /* Copyright stays one full-width column */
  footer .copyright {
    display: block !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 14px auto 0 !important;
    padding: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  footer .copyright span {
    display: inline !important;
    margin: 0 !important;
  }

  footer .dont {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 8px !important;
  }

  footer .dont a.btnStyle1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 240px !important;
    min-height: 34px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 7px 12px !important;
    border-radius: 18px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  footer .dont a.btnStyle1::before { display: none !important; }
  footer .dont span { display: inline !important; }

  footer .privacy_policy,
  footer .copyrigh_text {
    display: inline-block !important;
    width: auto !important;
    margin: 0 4px !important;
    padding: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  footer .privacy_policy::before,
  footer .copyrigh_text::before { display: none !important; }
}

@media only screen and (max-width: 420px) {
  footer .wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  footer .footer_top { padding: 20px 0 17px !important; }
  footer .footer_logo img { width: 136px !important; }

  footer .ftr_flexxer { gap: 8px !important; }

  footer .ftr_awards,
  footer .contact_info { padding: 10px 8px !important; }

  footer .ftr_awards h2,
  footer .contact_info h2,
  footer .ftr_flexxer h2 { font-size: 13.5px !important; }

  footer .ftr_awards ul li,
  footer .contact_info ul li,
  footer .contact_info_list li,
  footer .contact_info ul li h2 { font-size: 9.8px !important; }

  footer .contact_info ul li,
  footer .contact_info_list li { padding-left: 21px !important; }

  footer .ftr_btn_flex { gap: 6px !important; }

  footer .ftr_btm_info .btnStyle1,
  footer .ftr_btn_flex .btnStyle1 {
    min-height: 38px !important;
    padding: 7px 27px 7px 7px !important;
    font-size: 9.5px !important;
  }

  footer .footer_nav ul,
  footer .footer_nav .menu { gap: 0 10px !important; }

  footer .footer_nav ul li a,
  footer .footer_nav .menu li a {
    padding: 4px 1px !important;
    font-size: 10px !important;
  }

  footer .copyright,
  footer .privacy_policy,
  footer .copyrigh_text { font-size: 9.5px !important; }
}

/* =========================================================
   BARCARE MOBILE FOOTER V7 — OVERFLOW HARD FIX
   Keeps requested 2-column mobile layout without horizontal scroll.
========================================================= */
@media only screen and (max-width: 800px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body .protect-me,
  body .clearfix,
  footer,
  footer .footer_top,
  footer .footer_btm {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  footer {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }

  /* Avoid width:100% + padding causing overflow on old theme rules */
  footer .wrapper {
    width: calc(100% - 24px) !important;
    max-width: 720px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  footer .footer_top_con,
  footer .footer_btm_con,
  footer .footer_flex_con,
  footer .ftr_con1,
  footer .ftr_con2,
  footer .ftr_flexxer,
  footer .ftr_c1,
  footer .ftr_c2,
  footer .ftr_c3,
  footer .footer_logo,
  footer .serv_area,
  footer .social_media,
  footer .ftr_awards,
  footer .contact_info,
  footer .ftr_btm_info,
  footer .ftr_btn_flex,
  footer .footer_nav,
  footer .footer_nav .menu,
  footer .footer_nav ul,
  footer .copyright,
  footer .dont {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  footer div,
  footer section,
  footer nav,
  footer ul,
  footer li,
  footer a,
  footer p,
  footer h1,
  footer h2,
  footer h3,
  footer h4,
  footer span,
  footer address,
  footer figure {
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  footer img,
  footer svg,
  footer iframe {
    max-width: 100% !important;
  }

  /* Requested two-column blocks */
  footer .ftr_flexxer,
  footer .ftr_btn_flex,
  footer .footer_nav ul,
  footer .footer_nav .menu {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  footer .ftr_flexxer { gap: 8px !important; }
  footer .ftr_btn_flex { gap: 7px !important; }
  footer .footer_nav ul,
  footer .footer_nav .menu { column-gap: 10px !important; row-gap: 0 !important; }

  footer .ftr_flexxer > *,
  footer .ftr_btn_flex > *,
  footer .footer_nav ul > li,
  footer .footer_nav .menu > li {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Long phone/email/address/menu text must wrap inside its column */
  footer .ftr_awards *,
  footer .contact_info *,
  footer .ftr_btm_info *,
  footer .footer_nav *,
  footer .copyright * {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
  }

  footer .contact_info ul li,
  footer .contact_info_list li {
    width: 100% !important;
    min-width: 0 !important;
    padding-right: 0 !important;
  }

  footer .contact_info ul li a,
  footer .contact_info_list li a,
  footer .ftr_awards a,
  footer .footer_nav a {
    white-space: normal !important;
  }

  footer .ftr_btm_info .btnStyle1,
  footer .ftr_btn_flex .btnStyle1 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: clip !important;
  }

  footer .footer_nav ul li a,
  footer .footer_nav .menu li a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  /* Full-width items remain one column */
  footer .ftr_con1,
  footer .ftr_btm_info,
  footer .copyright {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  footer .dont a.btnStyle1 {
    max-width: min(240px, 100%) !important;
    white-space: normal !important;
  }
}

@media only screen and (max-width: 420px) {
  footer .wrapper {
    width: calc(100% - 16px) !important;
  }

  footer .ftr_flexxer,
  footer .ftr_btn_flex {
    gap: 6px !important;
  }

  footer .ftr_awards,
  footer .contact_info {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  footer .footer_nav ul,
  footer .footer_nav .menu {
    column-gap: 8px !important;
  }
}

/* Ultra-narrow safety only; normal phones remain 2 columns. */
@media only screen and (max-width: 280px) {
  footer .ftr_flexxer,
  footer .ftr_btn_flex,
  footer .footer_nav ul,
  footer .footer_nav .menu {
    grid-template-columns: 1fr !important;
  }
}
