/* ==========================================================================
   Better In-Home Care - Blog design
   Colours match the main website: navy #003368, green #29b34b
   ========================================================================== */
:root {
    --bihc-navy: #003368;
    --bihc-navy-dark: #00244a;
    --bihc-green: #29b34b;
    --bihc-green-dark: #1f8f3b;
    --bihc-bg: #f5f8fb;
    --bihc-line: #e1e8ef;
    --bihc-text: #3b3b3b;
    --bihc-muted: #6b7785;
    --bihc-radius: 14px;
    --bihc-shadow: 0 8px 24px rgba(0, 51, 104, .08);
    --bihc-shadow-hover: 0 16px 34px rgba(0, 51, 104, .16);
}

body.bihc-blog {
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--bihc-text);
    background: #fff;
}
.bihc-main h1, .bihc-main h2, .bihc-main h3, .bihc-main h4, .bihc-main h5, .bihc-main h6 {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--bihc-navy);
}
.bihc-main a { color: var(--bihc-navy); transition: color .2s ease; }
.bihc-main a:hover, .bihc-main a:focus { color: var(--bihc-green); text-decoration: none; }
.bihc-main img { max-width: 100%; height: auto; }
.bihc-blog .screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.bihc-skip:focus {
    position: fixed !important; top: 10px; left: 10px; z-index: 100000; width: auto; height: auto; clip: auto;
    padding: 10px 16px; color: #fff; background: var(--bihc-navy); border-radius: 6px;
}
/* The Auslan converter lives on the main website pages only */
.bihc-blog .bh-auslan { display: none; }

/* ---------- Buttons ---------- */
.bihc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; font-size: 16px; font-weight: 700; line-height: 1.2;
    color: #fff !important; background: var(--bihc-green); border: 2px solid var(--bihc-green); border-radius: 30px;
    cursor: pointer; transition: all .25s ease;
}
.bihc-btn:hover, .bihc-btn:focus { color: #fff !important; background: var(--bihc-green-dark); border-color: var(--bihc-green-dark); transform: translateY(-2px); }
.bihc-btn-light { color: var(--bihc-navy) !important; background: #fff; border-color: #fff; }
.bihc-btn-light:hover, .bihc-btn-light:focus { color: #fff !important; background: transparent; border-color: #fff; }
.bihc-btn-outline { color: var(--bihc-navy) !important; background: transparent; border-color: var(--bihc-navy); }
.bihc-btn-outline:hover, .bihc-btn-outline:focus { color: #fff !important; background: var(--bihc-navy); border-color: var(--bihc-navy); }
.bihc-btn-block { width: 100%; }

/* ---------- Hero ---------- */
.bihc-hero {
    position: relative; overflow: hidden; padding: 46px 0 50px; color: #fff;
    background: linear-gradient(120deg, var(--bihc-navy-dark) 0%, var(--bihc-navy) 55%, #0b4f8c 100%);
}
.bihc-hero:before, .bihc-hero:after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.bihc-hero:before { width: 420px; height: 420px; right: -120px; top: -180px; background: rgba(41, 179, 75, .18); }
.bihc-hero:after { width: 260px; height: 260px; left: -90px; bottom: -150px; background: rgba(255, 255, 255, .06); }
.bihc-hero .container { position: relative; z-index: 1; }
.bihc-kicker {
    display: inline-block; margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--bihc-green);
}
.bihc-hero .bihc-kicker { color: #7ee09a; }
.bihc-hero-title { max-width: 900px; margin: 0 0 14px; font-size: 44px; font-weight: 700; line-height: 1.18; color: #fff !important; }
.bihc-hero-title span { color: #7ee09a; }
.bihc-hero-intro { max-width: 720px; margin: 0 0 24px; font-size: 18px; line-height: 1.7; color: #d6e2ef; }

.bihc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: #b9cde2; }
.bihc-breadcrumb a { color: #fff !important; }
.bihc-breadcrumb a:hover { color: #7ee09a !important; }
.bihc-breadcrumb i { font-size: 12px; color: #7ee09a; }

.bihc-search { position: relative; max-width: 620px; margin: 0 0 22px; }
.bihc-search input[type="search"] {
    width: 100%; height: 56px; padding: 0 64px 0 22px; font-size: 16px; color: #333;
    background: #fff; border: 0; border-radius: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); outline: none;
}
.bihc-search input[type="search"]:focus { box-shadow: 0 0 0 4px rgba(41, 179, 75, .35), 0 10px 30px rgba(0, 0, 0, .18); }
.bihc-search button {
    position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; font-size: 17px; color: #fff;
    background: var(--bihc-green); border: 0; border-radius: 50%; cursor: pointer; transition: background .2s ease;
}
.bihc-search button:hover { background: var(--bihc-green-dark); }

.bihc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bihc-chip {
    display: inline-block; padding: 7px 16px; font-size: 14px; font-weight: 600; color: #fff !important;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; transition: all .2s ease;
}
.bihc-chip:hover, .bihc-chip:focus, .bihc-chip.is-active { color: var(--bihc-navy) !important; background: #fff; border-color: #fff; }

.bihc-hero-post { padding: 34px 0 40px; }
.bihc-hero-post .bihc-hero-title { font-size: 40px; }
.bihc-badge {
    display: inline-block; padding: 5px 13px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    color: #fff !important; background: var(--bihc-green); border-radius: 20px;
}
.bihc-badge-static { margin-bottom: 14px; }

/* ---------- Meta ---------- */
.bihc-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--bihc-muted); }
.bihc-meta i { margin-right: 4px; color: var(--bihc-green); }
.bihc-meta-light { color: #d6e2ef; font-size: 15px; }
.bihc-meta-light i { color: #7ee09a; }

/* ---------- Post cards ---------- */
.bihc-list { padding: 55px 0 45px; background: var(--bihc-bg); }
.bihc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bihc-card {
    display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--bihc-radius);
    box-shadow: var(--bihc-shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.bihc-card:hover { transform: translateY(-6px); box-shadow: var(--bihc-shadow-hover); }
.bihc-card-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e6edf4; }
.bihc-card-img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .6s ease; }
.bihc-card:hover .bihc-card-img img { transform: scale(1.06); }
.bihc-card-img .bihc-badge { position: absolute; top: 14px; left: 14px; }
.bihc-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.bihc-card-title { margin: 10px 0 10px; font-size: 21px; font-weight: 700; line-height: 1.35; }
.bihc-card-title a { color: var(--bihc-navy) !important; }
.bihc-card-title a:hover { color: var(--bihc-green) !important; }
.bihc-card-excerpt { flex: 1; margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: #555; }
.bihc-readmore { align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--bihc-green) !important; }
.bihc-readmore i { margin-left: 4px; transition: margin .2s ease; }
.bihc-readmore:hover i { margin-left: 9px; }

/* Featured (first) post */
.bihc-featured-wrap { margin-bottom: 34px; }
.bihc-card-featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.bihc-card-featured .bihc-card-img { aspect-ratio: auto; min-height: 340px; }
.bihc-card-featured .bihc-card-body { justify-content: center; padding: 38px 42px; }
.bihc-card-featured .bihc-card-title { font-size: 30px; }
.bihc-card-featured .bihc-card-excerpt { flex: 0 1 auto; font-size: 17px; }
.bihc-card-featured .bihc-readmore {
    padding: 12px 24px; color: #fff !important; background: var(--bihc-green); border-radius: 30px;
}
.bihc-card-featured .bihc-readmore:hover { background: var(--bihc-green-dark); }

.bihc-grid-cta { grid-column: 1 / -1; }

/* Pagination */
.bihc-pagination { margin-top: 40px; text-align: center; }
.bihc-pagination .nav-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bihc-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px;
    font-weight: 700; color: var(--bihc-navy); background: #fff; border-radius: 22px; box-shadow: var(--bihc-shadow);
}
.bihc-pagination .page-numbers.current, .bihc-pagination a.page-numbers:hover { color: #fff; background: var(--bihc-green); }
.bihc-pagination .screen-reader-text { display: none; }

.bihc-empty { padding: 50px 20px; text-align: center; background: #fff; border-radius: var(--bihc-radius); box-shadow: var(--bihc-shadow); }
.bihc-empty > i { font-size: 44px; color: var(--bihc-green); }
.bihc-empty h2 { margin: 12px 0 6px; }

/* ---------- CTA box ---------- */
.bihc-cta {
    position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
    margin: 10px 0; padding: 32px 36px; color: #fff; border-radius: var(--bihc-radius);
    background: linear-gradient(120deg, var(--bihc-navy) 0%, #0b4f8c 100%);
}
.bihc-cta:after { content: ''; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(41, 179, 75, .22); }
.bihc-cta-text, .bihc-cta-actions { position: relative; z-index: 1; }
.bihc-cta-text { flex: 1 1 380px; }
.bihc-cta-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: #7ee09a; }
.bihc-cta h3 { margin: 6px 0 8px; font-size: 26px; font-weight: 700; line-height: 1.3; color: #fff !important; }
.bihc-cta p { margin: 0; font-size: 16px; color: #d6e2ef; }
.bihc-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Lead section ---------- */
.bihc-lead { padding: 70px 0; background: #fff; }
.bihc-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.bihc-lead-text h2 { margin: 0 0 14px; font-size: 36px; font-weight: 700; line-height: 1.25; }
.bihc-lead-text p { font-size: 17px; color: #555; }
.bihc-ticks { margin: 20px 0 28px; padding: 0; list-style: none; }
.bihc-ticks li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 16px; }
.bihc-ticks i { margin-top: 4px; color: var(--bihc-green); }
.bihc-lead-phone { display: inline-flex; align-items: center; gap: 14px; color: var(--bihc-navy) !important; }
.bihc-lead-phone > i {
    display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; font-size: 24px; color: #fff;
    background: var(--bihc-green); border-radius: 50%; box-shadow: 0 0 0 8px rgba(41, 179, 75, .15);
}
.bihc-lead-phone span { font-size: 26px; font-weight: 700; line-height: 1.1; }
.bihc-lead-phone small { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--bihc-muted); }

/* ---------- Enquiry form ---------- */
.bihc-form {
    padding: 30px; background: #fff; border-top: 5px solid var(--bihc-green); border-radius: var(--bihc-radius);
    box-shadow: 0 16px 40px rgba(0, 51, 104, .14);
}
.bihc-form-title { margin: 0 0 6px; font-size: 24px; font-weight: 700; }
.bihc-form-intro { margin: 0 0 16px; font-size: 15px; color: var(--bihc-muted); }
.bihc-form input[type="text"], .bihc-form input[type="tel"], .bihc-form input[type="email"], .bihc-form select, .bihc-form textarea {
    display: block; width: 100%; margin: 0 0 12px; padding: 12px 15px; font-family: inherit; font-size: 15px; color: #333;
    background: var(--bihc-bg); border: 1px solid var(--bihc-line); border-radius: 10px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.bihc-form select { height: 48px; }
.bihc-form input:focus, .bihc-form select:focus, .bihc-form textarea:focus {
    background: #fff; border-color: var(--bihc-green); box-shadow: 0 0 0 3px rgba(41, 179, 75, .18);
}
.bihc-form .g-recaptcha { margin: 4px 0 14px; transform-origin: 0 0; }
.bihc-form-note { margin: 12px 0 0; font-size: 13px; text-align: center; color: var(--bihc-muted); }
.bihc-form-note i { color: var(--bihc-green); }

/* ---------- Single post ---------- */
.bihc-post { padding: 36px 0 50px; background: var(--bihc-bg); }
.bihc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: stretch; }
.bihc-layout-main { min-width: 0; align-self: start; }

.bihc-article {
    padding: 0 0 34px; overflow: hidden; background: #fff; border-radius: var(--bihc-radius); box-shadow: var(--bihc-shadow);
}
.bihc-post-image img { display: block; width: 100%; max-height: 480px; margin: 0; object-fit: cover; }
.bihc-content { padding: 34px 42px 10px; font-size: 18px; line-height: 1.85; color: #333; }
.bihc-content > *:first-child { margin-top: 0; }
/* Older posts start with a copy of the featured image - hide that first image when the featured image is already shown */
.bihc-has-thumb > p:first-child > img:only-child { display: none; }
.bihc-has-thumb > p:first-child:has(> img:only-child) { margin: 0; }
.bihc-content p { margin: 0 0 1.3em; }
.bihc-content h2 { position: relative; margin: 1.6em 0 .7em; padding-left: 16px; font-size: 28px; font-weight: 700; line-height: 1.3; }
.bihc-content h2:before { content: ''; position: absolute; left: 0; top: 4px; bottom: 6px; width: 5px; border-radius: 3px; background: var(--bihc-green); }
.bihc-content h3 { margin: 1.4em 0 .6em; font-size: 23px; font-weight: 700; }
.bihc-content h4 { margin: 1.3em 0 .5em; font-size: 20px; font-weight: 700; }
.bihc-content a { color: var(--bihc-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.bihc-content ul, .bihc-content ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.bihc-content ul li, .bihc-content ol li { position: relative; margin-bottom: .6em; padding-left: 32px; }
.bihc-content ul li:before {
    content: '\f00c'; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; font-family: FontAwesome; font-size: 11px;
    line-height: 22px; text-align: center; color: #fff; background: var(--bihc-green); border-radius: 50%;
}
.bihc-content ol { counter-reset: bihc-ol; }
.bihc-content ol li { counter-increment: bihc-ol; }
.bihc-content ol li:before {
    content: counter(bihc-ol); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; font-size: 13px; font-weight: 700;
    line-height: 25px; text-align: center; color: #fff; background: var(--bihc-navy); border-radius: 50%;
}
.bihc-content blockquote {
    margin: 1.6em 0; padding: 22px 26px; font-size: 19px; font-style: italic; color: var(--bihc-navy);
    background: var(--bihc-bg); border-left: 5px solid var(--bihc-green); border-radius: 0 12px 12px 0;
}
.bihc-content img { border-radius: 12px; }
.bihc-content figure { margin: 1.6em 0; }
.bihc-content figcaption, .bihc-content .wp-caption-text { margin-top: 8px; font-size: 14px; text-align: center; color: var(--bihc-muted); }
.bihc-content table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: 16px; }
.bihc-content th, .bihc-content td { padding: 10px 14px; border: 1px solid var(--bihc-line); }
.bihc-content th { color: #fff; background: var(--bihc-navy); }
.bihc-content .alignleft { float: left; margin: 6px 24px 16px 0; }
.bihc-content .alignright { float: right; margin: 6px 0 16px 24px; }
.bihc-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.bihc-article > .bihc-cta { margin: 24px 42px 0; }

.bihc-post-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 42px 0; padding-top: 22px; border-top: 1px solid var(--bihc-line); }
.bihc-tags { font-size: 14px; }
.bihc-tags > i { margin-right: 6px; color: var(--bihc-green); }
.bihc-tags a { display: inline-block; margin: 3px 4px 3px 0; padding: 4px 12px; color: var(--bihc-navy); background: var(--bihc-bg); border-radius: 15px; }
.bihc-tags a:hover { color: #fff; background: var(--bihc-green); }
.bihc-share { display: flex; align-items: center; gap: 8px; }
.bihc-share span { font-weight: 700; color: var(--bihc-navy); }
.bihc-share a {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff !important;
    background: var(--bihc-navy); border-radius: 50%; transition: background .2s ease, transform .2s ease;
}
.bihc-share a:hover { background: var(--bihc-green); transform: translateY(-2px); }

.bihc-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 42px 0; }
.bihc-post-nav a { display: block; padding: 16px 20px; font-weight: 700; line-height: 1.4; color: var(--bihc-navy); background: var(--bihc-bg); border-radius: 12px; }
.bihc-post-nav a:hover { color: #fff; background: var(--bihc-navy); }
.bihc-post-nav small { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--bihc-green); }
.bihc-post-nav-next { grid-column: 2; text-align: right; }
.bihc-comments { margin: 30px 42px 0; }
.bihc-comments textarea, .bihc-comments input[type="text"], .bihc-comments input[type="email"], .bihc-comments input[type="url"] {
    width: 100%; padding: 10px 14px; border: 1px solid var(--bihc-line); border-radius: 10px;
}
.bihc-comments .submit { padding: 11px 24px; font-weight: 700; color: #fff; background: var(--bihc-green); border: 0; border-radius: 30px; }

/* ---------- Sidebar ---------- */
.bihc-sidebar { min-width: 0; }
.bihc-sticky { position: sticky; top: 90px; }
.bihc-widget { margin-bottom: 24px; padding: 24px; background: #fff; border-radius: var(--bihc-radius); box-shadow: var(--bihc-shadow); }
.bihc-widget-form { padding: 0; background: none; box-shadow: none; }
.bihc-widget-form .bihc-form { padding: 24px; }
.bihc-widget-form .bihc-form-title { font-size: 21px; }
.bihc-widget-form .g-recaptcha { transform: scale(.92); }
#bihc-enquiry { scroll-margin-top: 100px; }
.bihc-widget-title { position: relative; margin: 0 0 16px; padding-bottom: 10px; font-size: 19px; font-weight: 700; }
.bihc-widget-title:after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--bihc-green); }
.bihc-stickybox { padding: 20px; color: #fff; background: var(--bihc-navy); }
.bihc-callbox { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: #fff !important; }
.bihc-callbox:hover span { color: #7ee09a; }
.bihc-sticky .bihc-widget { margin-bottom: 0; }
.bihc-callbox > i {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 50px; height: 50px; font-size: 21px;
    background: var(--bihc-green); border-radius: 50%;
}
.bihc-callbox span { font-size: 24px; font-weight: 700; line-height: 1.1; }
.bihc-callbox small { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: #b9cde2; }
.bihc-services, .bihc-recent { margin: 0; padding: 0; list-style: none; }
.bihc-services li { border-bottom: 1px solid var(--bihc-line); }
.bihc-services li:last-child { border-bottom: 0; }
.bihc-services a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 600; }
.bihc-services i {
    flex: 0 0 32px; width: 32px; height: 32px; font-size: 14px; line-height: 32px; text-align: center; color: var(--bihc-green);
    background: rgba(41, 179, 75, .12); border-radius: 50%; transition: all .2s ease;
}
.bihc-services a:hover i { color: #fff; background: var(--bihc-green); }
.bihc-recent li { margin-bottom: 14px; }
.bihc-recent li:last-child { margin-bottom: 0; }
.bihc-recent a { display: flex; gap: 12px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.bihc-recent img { flex: 0 0 72px; width: 72px; height: 60px; margin: 0; object-fit: cover; border-radius: 8px; }
.bihc-recent small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--bihc-muted); }

/* ---------- Related / sections ---------- */
.bihc-related { padding: 10px 0 60px; background: var(--bihc-bg); }
.bihc-section-title { margin: 0 0 28px; font-size: 32px; font-weight: 700; text-align: center; }
.bihc-section-title span { color: var(--bihc-green); }

.bihc-service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.bihc-service-grid a {
    display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; background: #fff;
    border-radius: 12px; box-shadow: var(--bihc-shadow); transition: transform .25s ease;
}
.bihc-service-grid a:hover { transform: translateY(-3px); }
.bihc-service-grid i {
    flex: 0 0 42px; height: 42px; font-size: 17px; line-height: 42px; text-align: center; color: #fff; background: var(--bihc-navy); border-radius: 50%;
}
.bihc-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Fallback header/footer (only if the main site files are missing) */
.bihc-fallback-header { padding: 14px 0; background: #fff; border-bottom: 4px solid var(--bihc-green); }
.bihc-fallback-header .container { display: flex; align-items: center; justify-content: space-between; }
.bihc-fallback-header img { height: 60px; }
.bihc-fallback-footer { padding: 24px 0; text-align: center; color: #fff; background: var(--bihc-navy); }
.bihc-fallback-footer a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .bihc-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 991px) {
    .bihc-grid { grid-template-columns: repeat(2, 1fr); }
    .bihc-card-featured { grid-template-columns: 1fr; }
    .bihc-card-featured .bihc-card-img { min-height: 0; aspect-ratio: 16 / 9; }
    .bihc-card-featured .bihc-card-body { padding: 26px 28px; }
    .bihc-card-featured .bihc-card-title { font-size: 26px; }
    .bihc-lead-grid { grid-template-columns: 1fr; gap: 34px; }
    .bihc-layout { grid-template-columns: 1fr; }
    .bihc-sticky { position: static; }
    .bihc-hero-title { font-size: 36px; }
    .bihc-hero-post .bihc-hero-title { font-size: 32px; }
}
@media (max-width: 767px) {
    .bihc-hero { padding: 32px 0 36px; }
    .bihc-hero-post { padding: 26px 0 30px; }
    .bihc-hero-title, .bihc-hero-post .bihc-hero-title { font-size: 28px; }
    .bihc-hero-intro { font-size: 16px; }
    .bihc-grid { grid-template-columns: 1fr; gap: 22px; }
    .bihc-list { padding: 36px 0 30px; }
    .bihc-content { padding: 24px 20px 6px; font-size: 17px; }
    .bihc-content h2 { font-size: 24px; }
    .bihc-content .alignleft, .bihc-content .alignright { float: none; margin: 0 0 16px; }
    .bihc-article > .bihc-cta, .bihc-post-footer, .bihc-post-nav, .bihc-comments { margin-left: 20px; margin-right: 20px; }
    .bihc-post-nav { grid-template-columns: 1fr; }
    .bihc-post-nav-next { grid-column: 1; }
    .bihc-cta { padding: 26px 22px; }
    .bihc-cta h3 { font-size: 22px; }
    .bihc-cta-actions .bihc-btn { width: 100%; }
    .bihc-lead { padding: 46px 0; }
    .bihc-lead-text h2 { font-size: 28px; }
    .bihc-form { padding: 22px 18px; }
    .bihc-form .g-recaptcha { transform: scale(.88); }
    .bihc-section-title { font-size: 26px; }
}

/* ==========================================================================
   Magazine layout (blog home mosaic, chip bar, 2-column list, sidebar widgets)
   ========================================================================== */
.bihc-top { padding: 26px 0 8px; background: var(--bihc-bg); }
.bihc-top-title { margin: 0 0 16px; font-size: 26px; font-weight: 700; color: var(--bihc-navy) !important; }
.bihc-top-title span { color: var(--bihc-green); }
.bihc-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; height: 440px; }
.bihc-mosaic-single { grid-template-columns: 1fr; }
.bihc-mosaic-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 0; }

/* Overlay card: photo with title on top */
.bihc-ov { position: relative; display: block; overflow: hidden; min-height: 0; border-radius: 16px; background: var(--bihc-navy); }
.bihc-ov img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .7s ease; }
.bihc-ov:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 50, 0) 25%, rgba(0, 20, 50, .55) 55%, rgba(0, 20, 50, .92) 100%); }
.bihc-ov:hover img { transform: scale(1.06); }
.bihc-ov-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 26px; }
.bihc-ov-title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    font-size: 30px; font-weight: 700; line-height: 1.22; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.bihc-ov-meta { font-size: 13px; color: #d6e2ef; }
.bihc-ov-meta i { color: #7ee09a; }
.bihc-ov-small .bihc-ov-body { gap: 7px; padding: 14px 16px; }
.bihc-ov-small .bihc-ov-title { font-size: 16px; line-height: 1.3; -webkit-line-clamp: 3; }
.bihc-ov-small .bihc-ov-meta { display: none; }
.bihc-ov-small .bihc-badge { padding: 4px 10px; font-size: 11px; }

/* Slider */
.bihc-slider { position: relative; overflow: hidden; min-height: 0; border-radius: 16px; }
.bihc-slider .bihc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.bihc-slider .bihc-slide.is-active { opacity: 1; visibility: visible; }
.bihc-slider .bihc-slide:only-of-type { position: absolute; }
.bihc-dots { position: absolute; top: 16px; right: 18px; z-index: 3; display: flex; gap: 6px; padding: 7px 9px; background: rgba(0, 20, 50, .45); border-radius: 12px; }
.bihc-dots button { width: 9px; height: 9px; padding: 0; background: rgba(255, 255, 255, .55); border: 0; border-radius: 6px; cursor: pointer; transition: all .3s ease; }
.bihc-dots button.is-active { width: 26px; background: #fff; }

/* Category chip bar */
.bihc-chipbar { padding: 16px 0 6px; background: var(--bihc-bg); }
.bihc-chipbar .bihc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.bihc-chipbar .bihc-chips::-webkit-scrollbar { display: none; }
.bihc-chipbar .bihc-chip {
    display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--bihc-navy) !important;
    background: #fff; border: 1px solid var(--bihc-line); box-shadow: 0 2px 8px rgba(0, 51, 104, .05);
}
.bihc-chipbar .bihc-chip i { width: 8px; height: 8px; border-radius: 50%; }
.bihc-chipbar .bihc-chip:hover, .bihc-chipbar .bihc-chip.is-active { color: #fff !important; background: var(--bihc-navy); border-color: var(--bihc-navy); }

/* "All articles" fixed on the left, category marquee beside it */
.bihc-chiprow { display: flex; align-items: center; gap: 10px; }
.bihc-chipbar .bihc-chip-all { flex: none; }
.bihc-chiprow .bihc-marquee { flex: 1 1 auto; min-width: 0; }

/* Category marquee: chips slide right-to-left in a loop, pause on hover / keyboard focus */
.bihc-chipbar .bihc-marquee { display: block; overflow: hidden; padding: 4px 0 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.bihc-marquee-track { display: flex; width: max-content; animation: bihc-marquee 30s linear infinite; }
.bihc-marquee-group, .bihc-marquee-more { display: flex; flex: none; gap: 8px; padding-right: 8px; }
.bihc-marquee-more { padding-right: 0; }
.bihc-marquee:hover .bihc-marquee-track, .bihc-marquee:focus-within .bihc-marquee-track { animation-play-state: paused; }
@keyframes bihc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .bihc-marquee-track { animation: none; }
    .bihc-chipbar .bihc-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .bihc-marquee-more, .bihc-marquee-group[aria-hidden] { display: none; }
}

.bihc-list { padding-top: 26px; }
.bihc-list-title { position: relative; margin: 0 0 22px; padding-left: 16px; font-size: 26px; font-weight: 700; }
.bihc-list-title:before { content: ''; position: absolute; left: 0; top: 3px; bottom: 6px; width: 5px; border-radius: 3px; background: var(--bihc-green); }
.bihc-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bihc-grid-2 .bihc-card-title { font-size: 19px; }
.bihc-hero-slim { padding: 34px 0 38px; }

/* Single post hero pill */
.bihc-pill {
    display: inline-block; margin-bottom: 14px; padding: 6px 15px; font-size: 13px; font-weight: 700; letter-spacing: .4px;
    color: #fff !important; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px;
}
.bihc-pill:hover { background: var(--bihc-green); border-color: var(--bihc-green); }
.bihc-meta-light b { color: #fff; }
.bihc-post-image { padding: 22px 22px 0; }
.bihc-post-image img { border-radius: 14px; }
/* Post title + meta at the top of the article (the navy banner above posts was removed) */
.bihc-post-head { padding: 26px 26px 0; }
.bihc-post-title { margin: 0 0 12px; font-size: 34px; font-weight: 700; line-height: 1.22; color: var(--bihc-navy); }
.bihc-post-meta { font-size: 14.5px; }
.bihc-post-meta b { color: var(--bihc-navy); }
@media (max-width: 767px) {
    .bihc-post-head { padding: 18px 16px 0; }
    .bihc-post-title { font-size: 26px; }
}

/* Sidebar widgets */
.bihc-widget-title i { margin-right: 6px; color: var(--bihc-green); }
.bihc-widget .bihc-search { margin: 0; }
.bihc-widget .bihc-search input[type="search"] { height: 50px; padding-right: 58px; font-size: 15px; background: var(--bihc-bg); border: 1px solid var(--bihc-line); box-shadow: none; }
.bihc-widget .bihc-search button { top: 5px; right: 5px; width: 40px; height: 40px; }
.bihc-trending { margin: 0; padding: 0; list-style: none; counter-reset: bihc-tr; }
.bihc-trending li { margin-bottom: 14px; counter-increment: bihc-tr; }
.bihc-trending li:last-child { margin-bottom: 0; }
.bihc-trending a { display: flex; gap: 12px; align-items: center; }
.bihc-trending-img { position: relative; flex: 0 0 82px; height: 64px; }
.bihc-trending-img img { width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 10px; }
.bihc-trending-img:before {
    content: counter(bihc-tr); position: absolute; top: -6px; left: -6px; z-index: 1; width: 22px; height: 22px; font-size: 12px; font-weight: 700;
    line-height: 22px; text-align: center; color: #fff; background: var(--bihc-green); border: 2px solid #fff; border-radius: 50%;
}
.bihc-trending-text small { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.bihc-trending-text strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.35; color: var(--bihc-navy); }
.bihc-trending a:hover strong { color: var(--bihc-green); }
.bihc-catlist { margin: 0; padding: 0; list-style: none; }
.bihc-catlist li { border-bottom: 1px solid var(--bihc-line); }
.bihc-catlist li:last-child { border-bottom: 0; }
.bihc-catlist a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-weight: 600; }
.bihc-catlist span { display: inline-flex; align-items: center; gap: 9px; }
.bihc-catlist span i { width: 9px; height: 9px; border-radius: 50%; }
.bihc-catlist em { min-width: 28px; padding: 2px 8px; font-size: 12px; font-style: normal; font-weight: 700; text-align: center; color: var(--bihc-navy); background: var(--bihc-bg); border-radius: 12px; }

/* Bottom "Ready" band */
.bihc-ready { padding: 0 0 60px; background: var(--bihc-bg); }
.bihc-ready-box {
    position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: 40px 44px; color: #fff; border-radius: 18px; background: linear-gradient(120deg, var(--bihc-navy-dark), var(--bihc-navy) 55%, #0b4f8c);
}
.bihc-ready-box:after { content: ''; position: absolute; right: -80px; top: -110px; width: 280px; height: 280px; border-radius: 50%; background: rgba(41, 179, 75, .2); }
.bihc-ready-box > * { position: relative; z-index: 1; }
.bihc-ready-box > div:first-child { flex: 1 1 420px; }
.bihc-ready-box .bihc-kicker { color: #7ee09a; }
.bihc-ready-box h2 { margin: 0 0 8px; font-size: 30px; font-weight: 700; color: #fff !important; }
.bihc-ready-box p { margin: 0; font-size: 16px; color: #d6e2ef; }
.bihc-ready-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 991px) {
    .bihc-mosaic { grid-template-columns: 1fr; height: auto; }
    .bihc-slider { height: 380px; }
    .bihc-mosaic-side { grid-template-rows: 200px 200px; }
}
@media (max-width: 767px) {
    .bihc-top-title { font-size: 22px; }
    .bihc-slider { height: 320px; }
    .bihc-ov-title { font-size: 22px; }
    .bihc-ov-body { padding: 18px; }
    .bihc-mosaic-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 175px; gap: 10px; }
    .bihc-ov-small .bihc-ov-body { padding: 10px 11px; gap: 5px; }
    .bihc-ov-small .bihc-ov-title { font-size: 13px; }
    .bihc-ov-small .bihc-badge { padding: 3px 8px; font-size: 9px; }
    .bihc-grid-2 { grid-template-columns: 1fr; }
    .bihc-post-image { padding: 14px 14px 0; }
    .bihc-ready-box { padding: 28px 22px; }
    .bihc-ready-box h2 { font-size: 24px; }
    .bihc-ready-actions .bihc-btn { width: 100%; }
}

/* ==========================================================================
   Header mega menu styles copied from the main site (sass/main.css + css/responsive.css),
   which the blog does not load in full.
   ========================================================================== */
.new-mega li .side1 { text-align: center; padding: 0; }
.new-mega li .side1 h4 { color: #23527c; font-weight: 500; font-size: 16px; margin-bottom: 7px; }
.new-mega li .side1 img { border-radius: 10px; }
.new-mega li .side1 p { color: #5d5d5d; font-size: 14px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; }
.new-mega li .side3 ul li a { font-family: "Roboto Slab", serif; color: #23527c; text-decoration: none !important; font-weight: 500; font-size: 16px; }
.new-mega li .side3 strong { font-weight: 500; color: #222; }
.new-mega li .side3 h4 { color: #23527c; font-weight: 600; font-size: 16px; margin-bottom: 7px; }
.new-mega li .side3 p { color: #5d5d5d; font-size: 14px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; }
.new-mega li ul li img { float: left; width: 48px; }
.new-mega li ul li .age-item { padding-left: 55px; }
.new-mega li ul li .age-item h4 { font-size: 16px; font-weight: 500; color: #000; }
.new-mega li ul li .age-item h4 a { font-family: "Roboto Slab", serif; color: #23527c; text-decoration: none !important; font-weight: 600; font-size: 16px; }
.new-mega li ul li .age-item p { color: #5d5d5d; font-size: 13px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; }
@media only screen and (max-width: 767px) {
    .navbar-collapse.in { overflow-y: auto; max-height: 400px; }
    .mega-dropdown { position: relative !important; }
    .dropdown-menu { position: relative !important; }
    .navbar .dropdown-menu { min-width: 100%; left: 0 !important; transform: translateX(0%); }
    .new-mega li .side1, .new-mega li .side3 { display: none; }
    .mega-dropdown-menu li { display: flow-root; margin-bottom: 10px; }
    .new-mega li ul li .age-item p { display: none; }
    .mega-dropdown .dropdown-menu { box-shadow: none; }
}