/* ===================================================================
   Business Hub — Home & Blog redesign (2026)
   Scoped to the home page, blog list and blog article only.
   Every selector is prefixed `bhr-` so nothing here can leak into the
   rest of the platform (which still uses the `bh-` / Bootstrap styles).

   This boundary is frozen on purpose, not left unfinished: `bhr-`
   styles home and blog, and nothing else. Extending it to the rest of
   the app is a design decision for the project owner to make, not a
   refactor to reach for — it should never happen by accident just
   because a `bhr-` class looks reusable on another page.
   =================================================================== */

.bhr {
    --bhr-primary: #1a4b84;
    --bhr-primary-dark: #0a325e;
    --bhr-primary-light: #e6eef5;
    --bhr-primary-border: #c3d3e2;
    --bhr-accent: #e6a817;
    --bhr-accent-light: #f8c531;
    --bhr-ink: #212b36;
    --bhr-ink-soft: #37414f;
    --bhr-body: #4b5563;
    --bhr-muted: #5b6470;
    --bhr-faint: #9aa3af;
    --bhr-border: #e6eaf2;
    --bhr-border-strong: #c7cfdd;
    --bhr-rule: #eef1f6;
    --bhr-surface: #ffffff;
    --bhr-surface-alt: #f8f9fb;
    --bhr-surface-blue: #f4f7fd;
    --bhr-max: 1200px;
}

/* -------------------------------------------------- base ---------- */

.bhr,
.bhr * {
    box-sizing: border-box;
}

.bhr {
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    color: var(--bhr-ink);
    background: var(--bhr-surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Links inside the bhr- scope take the editorial link colour — but a button
   carries its own colour by definition, so exclude anything button-shaped.
   Without this, any button placed inside .bhr silently loses its own colour:
   it cost the home hero's two CTAs theirs when the .bhr wrapper was extended
   up over the hero, dropping the primary CTA to 4.18:1 and rendering the
   secondary one as dark navy text on a dark navy panel. Every bhr- button
   (.bhr-btn, .bhr-empty-btn, .bhr-sharebtn, .bhr-aside-btn) already declares
   its own colour, so none of them relies on the rule below. */
.bhr a:not(:where([class*="btn"], [class*="cta"])) {
    color: var(--bhr-primary);
}

.bhr a:not(:where([class*="btn"], [class*="cta"])):hover {
    color: var(--bhr-primary-dark);
}

.bhr :focus-visible {
    outline: 3px solid var(--bhr-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.bhr-shell {
    max-width: var(--bhr-max);
    margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
    .bhr * {
        transition: none !important;
    }
}

/* ==================================================================
   SHARED PRIMITIVES
   ================================================================== */

.bhr-badge-soft {
    margin: 0 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.bhr-cta-gold {
    background: var(--bhr-accent);
    color: var(--bhr-primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 6px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    transition: background-color 0.2s;
}

.bhr-cta-gold:hover,
.bhr-cta-gold:focus-visible {
    background: var(--bhr-accent-light);
    color: var(--bhr-primary-dark);
}

.bhr-cta-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.bhr-cta-ghost:hover,
.bhr-cta-ghost:focus-visible {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

/* The one conversion point in the credits section, so it reads as a button.
   It used to be a white pill on the section's own near-white ground, leaning
   on a 1px border and a faint shadow to hold an edge — which left it quieter
   than the two informational credit rows above it. Solid institutional navy
   keeps the calm editorial register of this page while giving the action the
   weight it earns, and 6px matches every other primary action on the site. */
.bhr-cta-primary {
    background: var(--bhr-primary);
    color: #ffffff;
    border: 1px solid var(--bhr-primary);
    box-shadow: 0 2px 8px rgba(10, 50, 94, 0.18);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 6px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.bhr-cta-primary:hover,
.bhr-cta-primary:focus-visible {
    background: var(--bhr-primary-dark);
    border-color: var(--bhr-primary-dark);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(10, 50, 94, 0.28);
}

.bhr-cta-primary i {
    transition: transform 0.2s ease;
}

.bhr-cta-primary:hover i {
    transform: translateX(3px);
}

/* ==================================================================
   HOME — HERO
   ================================================================== */

.bhr-hero {
    background: linear-gradient(135deg, #1a4b84 0%, #0e2f5a 60%, #112748 100%);
    color: #ffffff;
    padding: clamp(48px, 8vw, 96px) 24px clamp(120px, 14vw, 150px);
}

.bhr-hero-copy {
    max-width: 780px;
}

.bhr-hero-title {
    margin: 0 0 20px;
    font-size: clamp(32px, 5.4vw, 56px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-wrap: balance;
    color: #ffffff;
}

.bhr-hero-title span {
    color: var(--bhr-accent-light);
}

.bhr-hero-sub {
    margin: 0 0 32px;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    text-wrap: pretty;
}

.bhr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.bhr-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
}

.bhr-checks li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.bhr-checks i {
    color: var(--bhr-accent-light);
    font-size: 14px;
}

.bhr-stats {
    margin: 48px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 780px;
}

.bhr-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.bhr-stat dt {
    order: 2;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.bhr-stat dd {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

/* ==================================================================
   HOME — QUICK SEARCH CARD
   ================================================================== */

.bhr-search {
    padding: 0 24px;
    margin-top: -84px;
    position: relative;
    z-index: 10;
}

/* The home page kept its original hero, which has no overlap allowance —
   sit the card below it instead of pulling it up. */
.bhr-search--flush {
    margin-top: 0;
    padding-top: clamp(40px, 6vw, 64px);
}

.bhr-search-card {
    max-width: var(--bhr-max);
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(10, 50, 94, 0.16);
    border: 1px solid var(--bhr-border);
    padding: clamp(20px, 3.5vw, 32px);
}

.bhr-search-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 18px;
}

.bhr-search-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--bhr-primary);
}

.bhr-search-head p {
    margin: 0;
    font-size: 14px;
    color: var(--bhr-muted);
}

.bhr-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    align-items: end;
}

.bhr-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bhr-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bhr-ink-soft);
}

.bhr-select,
.bhr-input {
    min-height: 48px;
    border: 1.5px solid var(--bhr-border-strong);
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--bhr-ink);
    background: #ffffff;
    width: 100%;
}

.bhr-select:focus,
.bhr-input:focus {
    border-color: var(--bhr-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 75, 132, 0.15);
}

.bhr-submit {
    min-height: 48px;
    background: var(--bhr-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    padding: 0 26px;
    transition: background-color 0.2s;
}

.bhr-submit:hover,
.bhr-submit:focus-visible {
    background: var(--bhr-primary-dark);
}

/* ==================================================================
   SECTIONS + CARD GRIDS
   ================================================================== */

.bhr-section {
    padding: clamp(56px, 8vw, 88px) 24px;
    background: #ffffff;
}

.bhr-section--tight-top {
    padding-bottom: 0;
}

.bhr-section--alt {
    background: var(--bhr-surface-blue);
    border-top: 1px solid var(--bhr-border);
    border-bottom: 1px solid var(--bhr-border);
    margin-top: clamp(56px, 8vw, 88px);
}

.bhr-section--soft {
    background: var(--bhr-surface-alt);
    border-top: 1px solid var(--bhr-border);
}

.bhr-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.bhr-section-title {
    margin: 0 0 6px;
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--bhr-ink);
}

.bhr-section-sub {
    margin: 0;
    color: var(--bhr-muted);
    font-size: 15px;
    max-width: 560px;
}

.bhr-section-link {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--bhr-primary-dark);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bhr-section-link:hover,
.bhr-section-link:focus-visible {
    text-decoration: underline;
}

.bhr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.bhr-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bhr-card {
    background: #ffffff;
    border: 1px solid var(--bhr-border);
    border-radius: 16px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s;
}

.bhr-card:hover {
    box-shadow: 0 10px 28px rgba(10, 50, 94, 0.12);
}

.bhr-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.bhr-chip {
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 5px 14px;
}

.bhr-chip--blue {
    background: var(--bhr-primary-light);
    color: var(--bhr-primary);
}

.bhr-chip--gold {
    background: #fdf1dc;
    color: #7a5200;
}

.bhr-flag {
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 5px 12px;
    letter-spacing: 0.4px;
}

.bhr-flag--new {
    background: #e7f6ec;
    color: #186a30;
}

.bhr-flag--urgent {
    background: #fdeaec;
    color: #a51929;
}

.bhr-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.bhr-card-title a {
    color: var(--bhr-ink);
    text-decoration: none;
}

.bhr-card-title a:hover,
.bhr-card-title a:focus-visible {
    color: var(--bhr-primary-dark);
}

.bhr-card-text {
    margin: 0;
    font-size: 14px;
    color: var(--bhr-body);
    line-height: 1.65;
}

.bhr-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--bhr-rule);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: var(--bhr-muted);
}

.bhr-card-foot strong {
    color: var(--bhr-ink-soft);
}

/* empty state inside a card grid */

.bhr-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 24px;
    background: var(--bhr-surface-alt);
    border: 1px solid var(--bhr-border);
    border-radius: 16px;
}

.bhr-empty h3,
.bhr-empty h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
}

.bhr-empty p {
    margin: 0 auto 20px;
    color: var(--bhr-muted);
    font-size: 15px;
    max-width: 460px;
}

.bhr-empty p:last-child {
    margin-bottom: 0;
}

.bhr-empty-btn {
    min-height: 48px;
    background: var(--bhr-primary);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    padding: 0 28px;
}

.bhr-empty-btn:hover {
    background: var(--bhr-primary-dark);
}

/* ==================================================================
   POST CARDS (home teaser + blog list)
   ================================================================== */

.bhr-postcard {
    background: #ffffff;
    border: 1px solid var(--bhr-border);
    border-top: 4px solid var(--bhr-primary);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s;
}

.bhr-postcard:hover {
    box-shadow: 0 10px 28px rgba(10, 50, 94, 0.12);
}

.bhr-postmeta {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--bhr-muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.bhr-posttag {
    color: var(--bhr-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
}

a.bhr-posttag:hover,
a.bhr-posttag:focus-visible {
    color: var(--bhr-primary-dark);
    text-decoration: underline;
}

/* category tab bar on the blog list and category hubs */

.bhr-cattabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.bhr-cattab {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid var(--bhr-border-strong);
    background: #ffffff;
    color: var(--bhr-ink-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.bhr-cattab:hover,
.bhr-cattab:focus-visible {
    border-color: var(--bhr-primary);
    color: var(--bhr-primary-dark);
}

.bhr-cattab.is-active {
    background: var(--bhr-primary);
    border-color: var(--bhr-primary);
    color: #ffffff;
}

.bhr-cattab.is-active:hover,
.bhr-cattab.is-active:focus-visible {
    color: #ffffff;
}

.bhr-posttitle {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.bhr-posttitle a {
    color: var(--bhr-ink);
    text-decoration: none;
}

.bhr-posttitle a:hover,
.bhr-posttitle a:focus-visible {
    color: var(--bhr-primary-dark);
}

.bhr-postexcerpt {
    margin: 0;
    font-size: 14.5px;
    color: var(--bhr-body);
    line-height: 1.65;
}

.bhr-readmore {
    margin-top: auto;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    color: var(--bhr-primary-dark);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bhr-readmore:hover,
.bhr-readmore:focus-visible {
    text-decoration: underline;
}

.bhr-postfoot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--bhr-rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bhr-postfoot .bhr-readmore {
    margin-top: 0;
}

.bhr-byline {
    font-size: 13.5px;
    color: var(--bhr-muted);
}

/* ==================================================================
   HOME — CREDITS SECTION
   ================================================================== */

.bhr-credits {
    max-width: var(--bhr-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.bhr-eyebrow {
    margin: 0 0 16px;
    display: inline-block;
    background: var(--bhr-primary-light);
    color: var(--bhr-primary);
    border: 1px solid var(--bhr-primary-border);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 999px;
    padding: 7px 16px;
}

.bhr-credits h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.bhr-credits-lead {
    margin: 0 0 28px;
    font-size: 16.5px;
    color: var(--bhr-body);
    line-height: 1.7;
    text-wrap: pretty;
}

.bhr-credit-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bhr-credit-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--bhr-border);
    border-radius: 14px;
    padding: 14px 18px;
    flex-wrap: wrap;
}

.bhr-credit-pill {
    background: #fdf1dc;
    color: #7a5200;
    border: 1px solid #f3ddb0;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    padding: 8px 16px;
    white-space: nowrap;
}

.bhr-credit-label {
    font-size: 15px;
    color: var(--bhr-ink-soft);
    font-weight: 500;
}

.bhr-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.bhr-step {
    background: #ffffff;
    border: 1px solid var(--bhr-border);
    border-radius: 18px;
    padding: 26px;
    text-align: center;
}

.bhr-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bhr-primary-light);
    color: var(--bhr-primary);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
}

.bhr-step h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
}

.bhr-step p {
    margin: 0;
    font-size: 14px;
    color: var(--bhr-muted);
}

/* ==================================================================
   PAGE HERO (blog list) + BREADCRUMBS
   ================================================================== */

.bhr-pagehero {
    background: linear-gradient(135deg, #1a4b84 0%, #0e2f5a 60%, #112748 100%);
    color: #ffffff;
    padding: clamp(48px, 7vw, 80px) 24px;
}

.bhr-pagehero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.6vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #ffffff;
}

.bhr-pagehero-sub {
    margin: 0;
    font-size: clamp(15.5px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    line-height: 1.65;
    text-wrap: pretty;
}

.bhr-pagehero .bhr-badge-soft {
    margin-bottom: 14px;
    padding: 7px 16px;
    font-size: 13.5px;
}

.bhr-crumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

.bhr-crumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bhr-crumbs a,
.bhr-crumbs li {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.bhr-crumbs a:hover,
.bhr-crumbs a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.bhr-crumbs [aria-current='page'] {
    color: #ffffff;
    font-weight: 600;
}

.bhr-crumbs-sep {
    color: rgba(255, 255, 255, 0.6);
}

/* light variant, used on the article header */

.bhr-crumbs--light a,
.bhr-crumbs--light li {
    color: var(--bhr-muted);
}

.bhr-crumbs--light a:hover,
.bhr-crumbs--light a:focus-visible {
    color: var(--bhr-primary-dark);
    text-decoration: underline;
}

.bhr-crumbs--light [aria-current='page'] {
    color: var(--bhr-ink-soft);
    font-weight: 600;
}

.bhr-crumbs--light .bhr-crumbs-sep {
    color: var(--bhr-faint);
}

/* ==================================================================
   BLOG LIST
   ================================================================== */

.bhr-bloglist {
    padding: clamp(36px, 5vw, 56px) 24px clamp(56px, 8vw, 88px);
    background: #ffffff;
}

.bhr-blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
    margin-bottom: 14px;
}

.bhr-blog-toolbar .bhr-field--search {
    flex: 1 1 320px;
}

.bhr-blog-toolbar .bhr-field--sort {
    flex: 0 1 220px;
}

.bhr-results {
    margin: 0 0 26px;
    font-size: 14px;
    color: var(--bhr-muted);
}

/* ==================================================================
   BLOG ARTICLE
   ================================================================== */

.bhr-article-head {
    background: var(--bhr-surface-alt);
    border-bottom: 1px solid var(--bhr-border);
    padding: clamp(32px, 5vw, 56px) 24px;
}

.bhr-article-head-inner {
    max-width: 860px;
    margin: 0 auto;
}

.bhr-article-tag {
    margin: 0 0 14px;
    display: inline-block;
    background: var(--bhr-primary-light);
    color: var(--bhr-primary);
    border: 1px solid var(--bhr-primary-border);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 999px;
    padding: 7px 16px;
    text-transform: uppercase;
    text-decoration: none;
}

a.bhr-article-tag:hover,
a.bhr-article-tag:focus-visible {
    background: var(--bhr-primary);
    border-color: var(--bhr-primary);
    color: #ffffff;
}

.bhr-article-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4.4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.bhr-article-meta {
    margin: 0;
    font-size: 14.5px;
    color: var(--bhr-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.bhr-article-meta strong {
    color: var(--bhr-ink-soft);
}

.bhr-article-layout {
    max-width: var(--bhr-max);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 56px) 24px clamp(56px, 8vw, 88px);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4vw, 56px);
    align-items: flex-start;
    background: #ffffff;
}

.bhr-article {
    flex: 1 1 560px;
    min-width: 0;
    max-width: 760px;
}

.bhr-lede {
    margin: 0 0 32px;
    padding: 20px 26px;
    border-left: 4px solid var(--bhr-primary);
    background: var(--bhr-surface-blue);
    border-radius: 0 14px 14px 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--bhr-ink-soft);
    font-weight: 500;
    text-wrap: pretty;
}

/* --- rendered post body (TinyMCE output) --- */

.bhr-prose {
    font-size: 16.5px;
    line-height: 1.75;
    color: #2f3945;
}

.bhr-prose h2 {
    margin: 36px 0 14px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--bhr-ink);
}

.bhr-prose h3 {
    margin: 28px 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--bhr-ink);
}

.bhr-prose h4 {
    margin: 24px 0 10px;
    font-size: 17.5px;
    font-weight: 700;
    color: var(--bhr-ink);
}

.bhr-prose p {
    margin: 0 0 18px;
    text-wrap: pretty;
}

.bhr-prose ul,
.bhr-prose ol {
    margin: 0 0 18px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bhr-prose li::marker {
    color: var(--bhr-primary);
}

.bhr-prose a {
    color: var(--bhr-primary);
    text-decoration: underline;
}

.bhr-prose a:hover {
    color: var(--bhr-primary-dark);
}

.bhr-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 8px 0 24px;
}

.bhr-prose figure {
    margin: 0 0 24px;
}

.bhr-prose figcaption {
    font-size: 13.5px;
    color: var(--bhr-muted);
    margin-top: 8px;
}

.bhr-prose blockquote {
    margin: 32px 0;
    padding: 22px 28px;
    background: var(--bhr-primary);
    color: #ffffff;
    border-radius: 16px;
    font-size: 17.5px;
    line-height: 1.65;
    font-weight: 500;
}

.bhr-prose blockquote p {
    margin: 0 0 10px;
}

.bhr-prose blockquote p:last-child {
    margin-bottom: 0;
}

.bhr-prose blockquote footer,
.bhr-prose blockquote cite {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-style: normal;
}

.bhr-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 15px;
}

.bhr-prose th,
.bhr-prose td {
    border: 1px solid var(--bhr-border);
    padding: 10px 14px;
    text-align: left;
}

.bhr-prose th {
    background: var(--bhr-primary-light);
    color: var(--bhr-primary);
    font-weight: 700;
}

.bhr-prose pre {
    background: #0f1b2b;
    color: #e6eef5;
    padding: 18px 20px;
    border-radius: 14px;
    overflow-x: auto;
    margin: 0 0 24px;
}

.bhr-prose hr {
    border: none;
    border-top: 1px solid var(--bhr-border);
    margin: 32px 0;
}

/* --- share block --- */

.bhr-share {
    margin-top: 44px;
    padding: 24px 28px;
    background: var(--bhr-surface-alt);
    border: 1px solid var(--bhr-border);
    border-radius: 16px;
}

.bhr-share h2 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
}

.bhr-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bhr-sharebtn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--bhr-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.bhr-sharebtn:hover,
.bhr-sharebtn:focus-visible {
    background: var(--bhr-primary-dark);
    color: #ffffff;
}

/* The base `.bhr a` rule (0,1,1) outranks `.bhr-sharebtn` (0,1,0) and was
   repainting these labels primary blue — the same blue as the pill, so they
   read as empty. The copy button is a <button>, which `.bhr a` never matched,
   which is why only the three links lost their text. Match the type selector
   so the white label wins. */
a.bhr-sharebtn,
a.bhr-sharebtn:hover,
a.bhr-sharebtn:focus-visible {
    color: #ffffff;
}

.bhr-sharebtn--copy {
    background: #ffffff;
    border: 1.5px solid var(--bhr-border-strong);
    color: var(--bhr-ink-soft);
}

.bhr-sharebtn--copy:hover,
.bhr-sharebtn--copy:focus-visible {
    background: #ffffff;
    border-color: var(--bhr-primary);
    color: var(--bhr-primary-dark);
}

.bhr-backlink {
    margin: 32px 0 0;
}

.bhr-backlink a {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--bhr-primary-dark);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bhr-backlink a:hover,
.bhr-backlink a:focus-visible {
    text-decoration: underline;
}

/* --- sidebar --- */

.bhr-aside {
    flex: 1 1 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bhr-aside-card {
    background: #ffffff;
    border: 1px solid var(--bhr-border);
    border-radius: 16px;
    padding: 26px;
}

.bhr-aside-card h2 {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 700;
}

.bhr-related {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.bhr-related li {
    border-bottom: 1px solid var(--bhr-rule);
    padding: 12px 0;
}

.bhr-related li:first-child {
    padding-top: 0;
}

.bhr-related li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bhr-related a {
    color: var(--bhr-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.5;
    display: block;
}

.bhr-related a:hover,
.bhr-related a:focus-visible {
    color: var(--bhr-primary-dark);
}

.bhr-related span {
    font-size: 13px;
    color: var(--bhr-muted);
}

.bhr-aside-card--nl {
    background: var(--bhr-primary-light);
    border-color: var(--bhr-primary-border);
}

.bhr-aside-card--nl h2 {
    margin-bottom: 8px;
    color: var(--bhr-primary);
}

.bhr-aside-card--nl p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--bhr-ink-soft);
    line-height: 1.6;
}

.bhr-aside-btn {
    background: var(--bhr-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    width: 100%;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.bhr-aside-btn:hover,
.bhr-aside-btn:focus-visible {
    background: var(--bhr-primary-dark);
    color: #ffffff;
}

.bhr-aside-card--cta {
    background: var(--bhr-primary);
    border-color: var(--bhr-primary);
    color: #ffffff;
}

.bhr-aside-card--cta h2 {
    margin-bottom: 8px;
    color: #ffffff;
}

.bhr-aside-card--cta p {
    margin: 0 0 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.bhr-aside-btn--gold {
    background: var(--bhr-accent);
    color: var(--bhr-primary-dark);
}

.bhr-aside-btn--gold:hover,
.bhr-aside-btn--gold:focus-visible {
    background: var(--bhr-accent-light);
    color: var(--bhr-primary-dark);
}

/* --- sign-up box inside a post, for guests (lot SEO Booster 10). Doubled class: it also sits inside
   .bhr-prose, whose p, ul and a rules it must override. --- */

.bhr-signup.bhr-signup {
    margin: 36px 0;
    padding: 24px 26px;
    background: var(--bhr-primary);
    border-radius: 16px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}

.bhr-signup .bhr-signup-title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.bhr-signup .bhr-signup-intro {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.88);
}

.bhr-signup .bhr-signup-list {
    margin: 0 0 18px;
    padding-left: 20px;
    color: #ffffff;
}

.bhr-signup .bhr-signup-list li {
    margin: 0 0 4px;
}

.bhr-signup .bhr-signup-list li::marker {
    color: var(--bhr-accent-light);
}

.bhr-signup .bhr-signup-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.bhr-signup .bhr-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--bhr-accent);
    color: var(--bhr-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.bhr-signup .bhr-signup-btn:hover,
.bhr-signup .bhr-signup-btn:focus-visible {
    background: var(--bhr-accent-light);
    color: var(--bhr-primary-dark);
}

.bhr-signup .bhr-signup-link,
.bhr-signup .bhr-signup-login a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.bhr-signup .bhr-signup-link:hover,
.bhr-signup .bhr-signup-login a:hover {
    color: var(--bhr-accent-light);
}

.bhr-signup .bhr-signup-login {
    margin: 14px 0 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 480px) {
    .bhr-signup.bhr-signup {
        padding: 20px 18px;
    }

    .bhr-signup .bhr-signup-btn {
        width: 100%;
    }
}
