:root {
    --bmh-green-950: #18382d;
    --bmh-green-900: #245342;
    --bmh-green-800: #39705c;
    --bmh-green-700: #4d816c;
    --bmh-green-100: #dfe9e3;
    --bmh-green-50: #e8f0eb;
    --bmh-coral-700: #b95335;
    --bmh-coral-500: #d96845;
    --bmh-coral: var(--bmh-coral-500);
    --bmh-coral-dark: var(--bmh-coral-700);
    --bmh-coral-100: #f3dcd3;
    --bmh-coral-50: #fbefea;
    --bmh-cream: #f7f3ea;
    --bmh-cream-dark: #f0e9d6;
    --bmh-surface: #fff;
    --bmh-surface-2: #f3f7f4;
    --bmh-gold: #d8bd2c;
    --bmh-ink: #202c27;
    --bmh-ink-faint: #8b9691;
    --bmh-muted: #64716b;
    --bmh-border: #dde5e0;
    --bmh-white: var(--bmh-surface);
    --bmh-green: var(--bmh-green-800);
    --bmh-green-dark: var(--bmh-green-900);
    --bmh-green-deep: var(--bmh-green-950);
    --bmh-featured-panel-background: linear-gradient(155deg, var(--bmh-green-dark), var(--bmh-green));
    --bmh-green-soft: var(--bmh-green-50);
    --bmh-green-pale: var(--bmh-green-50);
    --bmh-red: var(--bmh-coral);
    --bmh-accent: var(--bmh-coral-dark);
    --bmh-text: var(--bmh-ink);
    --bmh-text-muted: var(--bmh-muted);
    --bmh-line: var(--bmh-border);
    --bmh-bg: var(--bmh-cream);
    --bmh-radius-sm: 8px;
    --bmh-radius-md: 14px;
    --bmh-radius-lg: 20px;
    --bmh-radius: var(--bmh-radius-lg);
    --bmh-shadow-sm: 0 4px 14px rgba(24, 56, 45, 0.06);
    --bmh-shadow-md: 0 10px 28px rgba(24, 56, 45, 0.10);
    --bmh-shadow-lg: 0 18px 44px rgba(15, 61, 36, 0.14);
    --bmh-shadow: var(--bmh-shadow-sm);
    --bmh-shadow-hover: var(--bmh-shadow-md);
    --bmh-space-section-desktop: 52px;
    --bmh-space-section-tablet: 40px;
    --bmh-space-section-mobile: 34px;
    --bmh-space-heading-content: 14px;
    --bmh-space-card-gap: 12px;
    --bmh-font-ui: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    --bmh-font-display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    --bmh-font-urdu: "Noto Nastaliq Urdu Draft", "Noto Naskh Arabic", "Segoe UI", Tahoma, serif;
    --bmh-title-section-size: 27px;
    --bmh-title-card-size: 17px;
    --bmh-title-inner-size: clamp(1.3rem, 1.8vw, 1.7rem);
    --bmh-title-page-size: clamp(1.25rem, 1.8vw, 1.7rem);
    --bmh-title-utility-size: clamp(1.05rem, 1.25vw, 1.25rem);
    --bmh-title-weight: 800;
    --bmh-title-inner-weight: 750;
    --bmh-title-line-height: 1.18;
    --bmh-title-inner-line-height: 1.2;
    --bmh-title-tracking: -0.01em;
}

@font-face {
    font-family: 'Noto Nastaliq Urdu Draft';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/urdu/NotoNastaliqUrduDraft.woff2') format('woff2');
}

@font-face {
    font-family: "Roboto Condensed";
    src: url("../fonts/roboto/RobotoCondensed-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url("../fonts/roboto/RobotoCondensed-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.bmh-svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: visible;
    fill: currentColor;
    vertical-align: -0.125em;
}

.bmh-svg-icon.fa-fw {
    width: 1.25em;
}

:lang(ur) {
    font-family: var(--bmh-font-urdu) !important;
    font-size: 15px;
    direction: rtl;
}

[dir="rtl"] {
    font-family: var(--bmh-font-urdu) !important;
    direction: rtl;
}

.urdu-font,
.urdu-title {
    font-family: var(--bmh-font-urdu) !important;
    font-size: 15px;
    line-height: 34px !important;
    font-weight: normal !important;
    padding: 2px 12px;
    text-align: justify;
    direction: rtl;
}

.bmh-updates-dock {
    --dock-green: var(--bmh-green-900);
    position: fixed;
    z-index: 9000;
    top: 50%;
    right: 0;
    display: flex;
    height: 450px;
    max-height: calc(100vh - 32px);
    transform: translate(400px, -50%);
    transition: transform .28s ease;
    filter: drop-shadow(var(--bmh-shadow-md));
}

.bmh-nav-updates,
.bmh-updates-dock__category-tabs {
    display: none;
}

.bmh-updates-dock__trigger[hidden],
.bmh-nav-updates[hidden] {
    display: none !important;
}

.bmh-updates-dock.is-open {
    transform: translate(0, -50%);
}

.bmh-updates-dock__trigger {
    order: 1;
    align-self: center;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 30px;
    min-height: 132px;
    padding: 7px 3px;
    border: 0;
    border-radius: 10px 0 0 10px;
    background: var(--bmh-coral-700);
    color: var(--bmh-white);
    cursor: pointer;
}

.bmh-updates-dock__trigger > i {
    font-size: 11px;
}

.bmh-updates-dock__trigger > span {
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.bmh-updates-dock__trigger > small {
    position: absolute;
    top: 5px;
    left: -6px;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 2px solid var(--bmh-white);
    border-radius: 50%;
    background: var(--bmh-coral-700);
    color: var(--bmh-white);
    font-size: 8px;
}

.bmh-updates-dock__drawer {
    order: 2;
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--bmh-border);
    border-right: 0;
    border-radius: var(--bmh-radius-md) 0 0 var(--bmh-radius-md);
    background: var(--bmh-surface);
}

.bmh-updates-dock__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 12px 10px 16px;
    border-bottom: 1px solid var(--bmh-border);
    background: var(--bmh-surface);
    color: var(--bmh-green-900);
}

.bmh-updates-dock__heading {
    margin-right: auto;
    min-width: 0;
}

.bmh-updates-dock__heading small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
    color: var(--bmh-coral-700);
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bmh-updates-count {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding-inline: 5px;
    border-radius: 999px;
    background: var(--bmh-coral-700);
    color: var(--bmh-white);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    vertical-align: middle;
}

.bmh-updates-card .bmh-card-head h2 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bmh-updates-dock__heading .bmh-updates-count {
    min-width: 18px;
    height: 18px;
    padding-inline: 4px;
    font-size: 8px;
}

.bmh-updates-dock__heading strong {
    display: block;
    color: var(--bmh-green-900);
    font-size: var(--bmh-title-card-size);
    font-weight: var(--bmh-title-weight);
    line-height: var(--bmh-title-line-height);
}

.bmh-updates-dock__head a {
    color: var(--bmh-green-800);
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.bmh-updates-dock__head a span {
    margin-left: 2px;
}

.bmh-updates-dock__head button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--bmh-border);
    border-radius: 50%;
    background: var(--bmh-green-50);
    color: var(--bmh-green-900);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}

.bmh-updates-dock__head :is(a, button) {
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.bmh-updates-dock__head a:hover,
.bmh-updates-dock__head a:focus-visible {
    color: var(--bmh-green-950);
}

.bmh-updates-dock__head button:hover,
.bmh-updates-dock__head button:focus-visible {
    border-color: var(--bmh-green-100);
    background: var(--bmh-green-100);
}

.bmh-updates-dock__category-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--bmh-border);
    background: var(--bmh-surface-2);
}

.bmh-updates-dock__category-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 32px;
    padding: 4px 5px;
    border: 0;
    border-radius: 7px;
    background: var(--bmh-surface);
    color: var(--bmh-muted);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
}

.bmh-updates-dock__category-tabs button.is-active {
    background: var(--bmh-green-800);
    color: var(--bmh-white);
}

.bmh-updates-dock__category-tabs button:hover,
.bmh-updates-dock__category-tabs button:focus-visible {
    background: var(--bmh-green-100);
    color: var(--bmh-green-950);
}

.bmh-updates-dock__category-tabs button.is-active:hover,
.bmh-updates-dock__category-tabs button.is-active:focus-visible {
    background: var(--bmh-green-900);
    color: var(--bmh-white);
}

.bmh-updates-dock__category-tabs button small {
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding-inline: 3px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .8);
    color: var(--bmh-green-900);
    font-size: 8px;
}

.bmh-updates-dock__panel {
    display: none;
    min-height: 0;
    overflow-y: auto;
    scrollbar-color: var(--bmh-green-700) var(--bmh-green-50);
    scrollbar-width: thin;
}

.bmh-updates-dock__panel.is-active {
    display: block;
    flex: 1 1 auto;
}

.bmh-updates-dock__panel::-webkit-scrollbar {
    width: 6px;
}

.bmh-updates-dock__panel::-webkit-scrollbar-track {
    background: var(--bmh-green-50);
}

.bmh-updates-dock__panel::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: var(--bmh-green-700);
}

.bmh-updates-dock__panel > a {
    display: grid;
    grid-template-columns: 43px 1fr 14px;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--bmh-border);
    color: var(--bmh-ink);
    text-decoration: none;
}

.bmh-updates-dock__panel > a:hover {
    background: var(--bmh-surface-2);
}

.bmh-updates-dock__panel > a:focus-visible {
    background: var(--bmh-surface-2);
}

.bmh-updates-dock__panel time {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    border-radius: 8px;
    background: var(--bmh-green-50);
    color: var(--bmh-green-900);
}

.bmh-updates-dock__panel time strong {
    font-size: 16px;
    line-height: 1;
}

.bmh-updates-dock__panel time span {
    font-size: .6875rem;
}

.bmh-updates-dock__panel > a > span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bmh-green-950);
    font-size: .8125rem;
    font-weight: 750;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bmh-updates-dock__panel > a > i {
    color: var(--bmh-coral-700);
    font-style: normal;
    font-weight: 800;
}

.bmh-updates-dock__panel > p {
    padding: 80px 20px;
    color: var(--bmh-muted);
    text-align: center;
}

@media (max-width: 767px) {
    .bmh-nav .bmh-nav__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
    }

    .bmh-nav .bmh-nav-toggle,
    .bmh-nav .bmh-nav-updates {
        align-self: center;
        height: 44px;
        min-height: 44px;
        padding-block: 0;
        line-height: 1;
    }

    .bmh-nav .bmh-nav-toggle > span,
    .bmh-nav .bmh-nav-updates > span,
    .bmh-nav .bmh-nav-updates > small {
        line-height: 1;
    }

    .bmh-nav .bmh-nav-menu {
        order: 3;
        flex-basis: 100%;
    }

    .bmh-updates-dock__category-tabs button {
        font-size: .8125rem;
    }

    .bmh-updates-dock {
        position: fixed;
        z-index: 9000;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        display: block;
        width: 100%;
        height: 0;
        padding: 0;
        background: transparent;
        transform: none;
        filter: none;
    }

    .bmh-updates-dock.is-open {
        transform: none;
    }

    .bmh-updates-dock::before {
        position: fixed;
        z-index: -1;
        inset: 0;
        background: rgba(4, 28, 18, .5);
        content: "";
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .bmh-updates-dock.is-open::before {
        opacity: 1;
        visibility: visible;
    }

    .bmh-nav-updates {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        min-width: 0;
        margin-left: auto;
        padding: 5px 0 5px 12px;
        border: 0;
        background: transparent;
        color: #12643e;
        text-align: right;
        cursor: pointer;
    }

    .bmh-nav-updates > span {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 800;
    }

    .bmh-nav-updates__bell {
        display: inline-block;
        flex: 0 0 auto;
        width: 1em;
        color: currentColor;
        font-size: 12px;
    }

    .bmh-nav-updates > span b {
        display: grid;
        min-width: 18px;
        height: 18px;
        place-items: center;
        padding-inline: 4px;
        border-radius: 10px;
        background: #ed4a2b;
        color: #fff;
        font-size: 8px;
    }

    .bmh-nav-updates small {
        display: none;
        color: #718078;
        font-size: 9px;
        font-weight: 600;
    }

    .bmh-nav-updates > i {
        display: inline-block;
        flex: 0 0 auto;
        width: 1em;
        height: 1em;
        padding: 0;
        border-radius: 0;
        background: none;
        color: currentColor;
        font-size: 12px;
    }

    .bmh-updates-dock__trigger {
        display: none;
    }

    .bmh-updates-dock__drawer {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: min(76vh, 388px);
        max-height: min(76vh, 388px);
        overflow: hidden;
        border: 0;
        border-radius: 20px 20px 0 0;
        transform: translateY(105%);
        transition: transform .28s ease;
    }

    .bmh-updates-dock.is-open .bmh-updates-dock__drawer {
        transform: translateY(0);
    }

    .bmh-updates-dock__head {
        position: sticky;
        z-index: 2;
        top: 0;
        min-height: 54px;
        border-radius: 20px 20px 0 0;
    }

    .bmh-updates-dock__panel > a {
        min-height: 58px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .bmh-nav-updates small {
        display: block;
    }
}

@media (min-width: 768px) {
    .bmh-updates-dock__trigger {
        width: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .bmh-brand-actions {
        gap: 7px;
    }

    .bmh-brand-actions .bmh-btn {
        min-height: 40px;
        padding-inline: 10px;
    }

    .bmh-brand-actions .bmh-btn--outline {
        min-width: 132px;
    }

    .bmh-nav-menu .bmh-nav-link {
        padding-inline: 8px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .bmh-nav .bmh-nav__inner {
        display: block;
        min-height: 42px;
    }

    .bmh-nav .bmh-nav-toggle {
        display: flex;
        min-height: 42px;
        padding-block: 8px;
    }

    .bmh-nav .bmh-nav-menu {
        display: none;
        width: 100%;
        padding: 0 0 10px;
        gap: 4px;
    }

    .bmh-nav .bmh-nav-menu.is-open {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bmh-nav .bmh-nav-menu .bmh-nav-link {
        justify-content: flex-start;
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bmh-updates-dock {
        transition: none;
    }
}

/* =========================================================
   BISE Malakand Modern Theme
   Main homepage styles
========================================================= */

/*
 * Preserved custom Urdu font.
 * The font file itself can continue to be compiled/served through Mix.
 */
.site-urdu-name {
    display: block;
    margin-top: 4px;
    padding: 0 0 0 6px;
    margin-bottom: 2px;

    color: var(--bmh-green-800);

    font-family: var(--bmh-font-urdu) !important;
    font-size: 22px;
    line-height: 45px !important;
    word-spacing: 1px;

    direction: rtl;
    text-align: left;
}

.bmh-page {
    margin: 0;

    line-height: 1.5;
}

.bmh-shell a {
    text-decoration: none;
}

.bmh-shell img {
    max-width: 100%;
    height: auto;
}

.bmh-container {
    width: min(calc(100% - 24px), 1480px);
    margin-inline: auto;
}

.bmh-skip-link {
    position: absolute;
    top: 10px;
    left: -9999px;
}

.bmh-skip-link:focus {
    left: 10px;
    z-index: 9999;

    padding: 10px 14px;

    background: #fff;
    border-radius: 10px;
    box-shadow: var(--bmh-shadow);
}


/* =========================================================
   Shared buttons
========================================================= */

.bmh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 16px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.bmh-btn--outline {
    border: 1px solid #d5e4db;
}


/* =========================================================
   Top utility bar
========================================================= */

.bmh-topbar {

    font-size: 12px;
}

.bmh-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 38px;

    gap: 14px;
}

.bmh-topbar__links,
.bmh-social {
    display: flex;
    align-items: center;

    gap: 14px;
}

.bmh-topbar__links {
    margin-right: auto;
}

.bmh-social {
    margin-left: auto;
}

.bmh-topbar a {
    color: #fff;
    opacity: 0.94;
}

.bmh-topbar a:hover,
.bmh-topbar a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.bmh-social__label {
    margin-right: 2px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 11px;
    font-weight: 700;
}

.bmh-social a {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);
    color: #fff;

    font-weight: 800;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.bmh-social a:hover,
.bmh-social a:focus-visible {
    background: #fff;
    color: var(--bmh-green-deep);
    border-color: #fff;

    text-decoration: none;
}


/* =========================================================
   Main branding row
========================================================= */

.bmh-brandbar__inner {
    display: grid;
    grid-template-columns:
        minmax(500px, 1fr)
        minmax(260px, 320px);
    grid-template-rows: auto auto;
    align-items: center;

    min-height: 100px;

    column-gap: 28px;
    row-gap: 7px;
    padding-block: 8px;
}

.bmh-brand {
    display: flex;
    align-items: center;

    width: fit-content;
    max-width: 100%;
    min-width: 0;

    gap: 1px;

    color: inherit;

    grid-row: 1 / 3;
}

.bmh-brand img {
    flex: 0 0 auto;

    width: 95px;
    height: 95px;

    object-fit: contain;
}

.bmh-brand-copy {
    width: min(600px, calc(100vw - 130px));
    max-width: 100%;
    min-width: 0;
}

.bmh-brand strong {
    display: block;

    width: 100%;
    max-width: none;

    color: var(--bmh-green-dark);

    font-family: var(--bmh-font-display);
    font-size: clamp(22px, 1.55vw, 25px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.bmh-brand-title {
    white-space: nowrap;
}

.bmh-brand-copy > .site-urdu-name {
    display: inline;
    margin: 0 0 0 5px;
    padding: 0;
    color: var(--bmh-green-800);
    font-size: 22px;
    line-height: 51px !important;
    text-align: left;
    white-space: nowrap;
}

.bmh-header-search {
    width: 100%;
    max-width: 280px;
    margin: 0;
    justify-self: end;
    align-self: end;
}

.bmh-header-search form {
    position: relative;

    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.bmh-header-search input[type="text"],
.bmh-header-search input[type="search"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 43px;
    min-height: 43px;

    padding: 0 48px 0 16px;

    border: 1px solid rgba(15, 90, 55, 0.16);
    border-radius: 12px;

    font-size: 13px;
    line-height: 41px;

    outline: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.bmh-header-search button,
.bmh-header-search input[type="submit"] {
    box-sizing: border-box;
    position: absolute;
    top: 5px;
    right: 5px;

    width: 34px;
    height: 34px;

    padding: 0;
    margin: 0 !important;

    border: 0;
    border-radius: 9px;

    background: var(--bmh-green);
    color: #fff;

    transform: none;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.bmh-header-search button {
    top: 50%;
    display: grid;
    place-items: center;
    line-height: 1;
    transform: translateY(-50%);
}

.bmh-header-search button i {
    display: block;
    width: 1em;
    height: 0.9em;
    margin: 0;
    line-height: 1;
    transform: translateY(-1px);
}

@media (max-width: 950px) {
    .bmh-header-search input[type="text"],
    .bmh-header-search input[type="search"] {
        height: 38px;
        min-height: 38px;
        padding: 0 44px 0 14px;
        line-height: 36px;
    }

    .bmh-header-search button,
    .bmh-header-search input[type="submit"] {
        top: 50%;
        right: 5px;
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
}

@media (max-width: 600px) {
    .bmh-header-search input[type="text"],
    .bmh-header-search input[type="search"] {
        height: 36px;
        min-height: 36px;
        padding: 0 41px 0 13px;
        border-radius: 11px;
        line-height: 34px;
    }

    .bmh-header-search button,
    .bmh-header-search input[type="submit"] {
        top: 50%;
        right: 4px;
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
}

.bmh-header-search button:hover,
.bmh-header-search button:focus-visible,
.bmh-header-search input[type="submit"]:hover,
.bmh-header-search input[type="submit"]:focus-visible {
    background: var(--bmh-red);
}

.bmh-brand-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;
    justify-self: end;
    align-self: start;

    white-space: nowrap;
}

.bmh-brand-actions .bmh-btn {
    min-height: 36px;

    padding: 8px 13px;
    font-size: 11px;
}

.bmh-brand-actions .bmh-btn--outline {
    min-width: 132px;
}


/* =========================================================
   Sticky primary navigation
========================================================= */

.bmh-nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: 42px;
    border-top: 1px solid rgba(15, 90, 55, 0.05);
    border-bottom: 1px solid rgba(15, 90, 55, 0.09);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.bmh-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
}

.bmh-nav-toggle {
    display: none;
    align-items: center;

    gap: 8px;

    padding: 12px;

    border: 0;

    background: transparent;
    color: var(--bmh-green-dark);

    font-weight: 800;

    cursor: pointer;
}

.bmh-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
}

.bmh-nav-menu .bmh-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    gap: 7px;
    padding: 6px 12px;

    border-radius: 8px;

    color: var(--bmh-green-dark);

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    transform: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.bmh-nav-menu .bmh-nav-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 1em;
    margin: 0;

    color: var(--bmh-green);

    font-size: 13px;
    line-height: 1;
    text-align: center;

    transition: color 0.2s ease;
}

.bmh-nav-menu .bmh-nav-link > span {
    /*display: inline-flex;*/
    align-items: center;
    height: 1em;
    line-height: 1;
}

@media (min-width: 701px) {
    .bmh-nav-menu .bmh-nav-link {
        height: 36px;
        padding-block: 0;
    }

    .bmh-nav-menu .bmh-nav-link > i,
    .bmh-nav-menu .bmh-nav-link > span {
        /*height: 16px;*/
        line-height: 15px;
    }

    .bmh-nav-menu .bmh-nav-link > i {
        transform: translateY(-1px);
    }
}

.bmh-nav-menu .bmh-nav-link::after {
    content: "";

    position: absolute;
    right: auto;
    bottom: 0;
    left: 50%;

    width: 24px;
    height: 3px;

    border-radius: 999px;

    opacity: 0;

    transform:
        translateX(-50%)
        scaleX(0.4);

    transform-origin: center;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.bmh-nav-menu .bmh-nav-link:hover,
.bmh-nav-menu .bmh-nav-link:focus-visible {
    background: transparent;
    color: var(--bmh-green-dark);
}

.bmh-nav-menu .bmh-nav-link:hover i,
.bmh-nav-menu .bmh-nav-link:focus-visible i {
    color: var(--bmh-red);
}

.bmh-nav-menu .bmh-nav-link:hover::after,
.bmh-nav-menu .bmh-nav-link:focus-visible::after {
    opacity: 0.5;

    transform:
        translateX(-50%)
        scaleX(1);
}

.bmh-nav-menu .bmh-nav-link.is-active {
    background: transparent;
    color: var(--bmh-green-dark);

    box-shadow: none;
}

.bmh-nav-menu .bmh-nav-link.is-active i {
    color: var(--bmh-green);
}

.bmh-nav-menu .bmh-nav-link.is-active::after {
    opacity: 1;

    transform:
        translateX(-50%)
        scaleX(1);
}

.bmh-nav-menu .bmh-nav-link:focus-visible {
    outline: 3px solid rgba(15, 90, 55, 0.18);
    outline-offset: 2px;
}


/* =========================================================
   Urgent notices
========================================================= */

.bmh-urgent {

    border-block: 1px solid #dceae2;
}

.bmh-urgent__inner {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        34px
        34px;
    align-items: center;

    min-height: 46px;

    gap: 5px;

    overflow: hidden;
}

.bmh-carousel-control {
    position: relative;
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.bmh-carousel-control--urgent {

    background: #fff;
    color: var(--bmh-green-dark);

    box-shadow: 0 4px 12px rgba(20, 67, 46, 0.10);
}

.bmh-carousel-control--urgent:hover,
.bmh-carousel-control--urgent:focus-visible {
    background: var(--bmh-green);
    color: #fff;
}

.bmh-round-control--pause {
    color: var(--bmh-red);
}

.bmh-urgent__viewport {
    min-height: 44px;

    overflow: hidden;
}

.bmh-urgent__track {
    display: flex;

    width: max-content;

    will-change: transform;
}

.bmh-urgent__group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;

    gap: 34px;
    padding-right: 34px;
}

.bmh-urgent__item {
    position: relative;
    z-index: 1;

    max-width: 720px;

    color: #355348;
    font-family: var(--bmh-font-urdu) !important;
    font-size: 14px;
    line-height: 1.8;

    direction: rtl;
    text-align: right;

    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
}

.bmh-urgent__item:hover,
.bmh-urgent__item:focus-visible {
    color: var(--bmh-green-dark);
    text-decoration: none;
}

.bmh-urgent__item::before {
    content: "✦";

    margin-left: 8px;
}


/* =========================================================
   Hero: Gallery + Latest Updates
========================================================= */

.bmh-hero-section {
    padding: 14px 0 46px;

    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(34, 136, 82, 0.10),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #f8fbf9,
            #eef4f0
        );
}

.bmh-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(330px, 0.9fr);
    align-items: stretch;

    gap: 18px;
}


/* =========================================================
   Shared cards
========================================================= */

.bmh-card {
    position: relative;

    isolation: isolate;

    overflow: hidden;

    background: #fff;
    border: 1px solid var(--bmh-line);
    border-radius: var(--bmh-radius);

    box-shadow: var(--bmh-shadow);

    transition:
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease;
}

/* =========================================================
   Card corner bubble
   Keep visible shape consistent during hover
========================================================= */

.bmh-card--corner-pattern::after {
    content: "";

    position: absolute;
    right: -42px;
    bottom: -42px;
    z-index: 0;

    width: 112px;
    height: 112px;

    border-radius: 50%;

    background: rgba(34, 136, 82, 0.055);

    pointer-events: none;

    transform: scale(1);
    transform-origin: center;

    transition:
        transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
        background-color 0.35s ease;
}

.bmh-card > * {
    position: relative;
    z-index: 1;
}

.bmh-card--corner-pattern:hover::after,
.bmh-card--corner-pattern:focus-within::after {
    transform: scale(1.18);

    background: rgba(34, 136, 82, 0.08);
}

.bmh-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
    padding: 18px 20px 14px;

    border-bottom: 1px solid var(--bmh-line);
}

.bmh-card-head h2,
.bmh-section-head h2 {
    margin: 0;
}

.bmh-card-head > a,
.bmh-section-head > a {

    white-space: nowrap;
}

.bmh-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--bmh-red);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.bmh-eyebrow--light {
    color: #f6d4c9;
}


/* =========================================================
   Gallery
========================================================= */

.bmh-gallery-card,
.bmh-updates-card {
    height: 520px;
}


.bmh-gallery-card {
    display: flex;
    flex-direction: column;
}


.bmh-gallery-stage {
    position: relative;

    flex: 1 1 auto;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: var(--bmh-green-900);
}


/*
 * Gallery root fills the complete stage.
 */

.bmh-gallery-slider {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


/*
 * Before Slick initializes, show only the first image.
 */


/*
 * Slick containers fill the gallery height.
 *
 * IMPORTANT:
 * Do not set width on .slick-slide or .bmh-gallery-slide.
 * Slick calculates and applies those widths itself.
 */

.bmh-gallery-slider.slick-initialized,
.bmh-gallery-slider.slick-initialized
.slick-list,
.bmh-gallery-slider.slick-initialized
.slick-track {
    height: 100% !important;
}


.bmh-gallery-slider.slick-initialized
.slick-slide.slick-active {
    opacity: 1 !important;
    z-index: 999;
}


.bmh-gallery-slider.slick-initialized
.slick-slide:not(.slick-active) {
    opacity: 0 !important;
    z-index: 998;
}


/*
 * Individual gallery slide.
 *
 * Never use width: 100% !important here.
 * Slick needs to control the slide width.
 */

.bmh-gallery-slide {
    position: relative;

    height: 100%;

    overflow: hidden;
}


/*
 * Slide link / wrapper.
 */

.bmh-gallery-slide__link {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: var(--bmh-green-900);
}

.bmh-gallery-slide__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}


/*
 * Gallery image.
 *
 * The image fills the available slide area without cropping.
 */

.bmh-gallery-slide img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: contain;
    object-position: center;

    background: var(--bmh-green-900);
}


/*
 * Gradient overlay.
 */

.bmh-gallery-slide__shade {
    position: absolute;

    inset: 0;
    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(5, 34, 21, 0.82)
        );
}


/*
 * Gallery title.
 */

.bmh-gallery-slide__content {
    position: absolute;
    right: 160px;
    bottom: 46px;
    left: 24px;
    z-index: 3;

    color: #fff;

    pointer-events: none;
}


.bmh-gallery-tag {
    display: inline-flex;

    margin-bottom: 8px;
    padding: 5px 8px;

    border-radius: 999px;

    background: var(--bmh-red);

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}


.bmh-gallery-slide__content strong {
    display: -webkit-box;
    overflow: hidden;

    font-size: 20px;
    line-height: 1.2;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/*
 * Gallery controls.
 */

.bmh-gallery-controls {
    position: absolute;
    right: 16px;
    bottom: 8px;
    z-index: 1000;

    display: flex;
    align-items: center;

    gap: 6px;

    pointer-events: auto;
}


.bmh-carousel-control--gallery {
    z-index: 1001;

    background: rgba(255, 255, 255, 0.94);
    color: var(--bmh-green-dark);

    pointer-events: auto;
}


.bmh-carousel-control--gallery:hover,
.bmh-carousel-control--gallery:focus-visible {
    background: var(--bmh-green);
    color: #fff;
}


.bmh-gallery-controls span {
    padding: 8px 9px;

    border-radius: 999px;

    background: rgba(10, 67, 43, 0.80);
    color: #fff;

    font-size: 9px;
}


/*
 * Gallery dots.
 */

.bmh-gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 22px;
    z-index: 1000;

    display: flex;

    gap: 2px;

    pointer-events: auto;
}


.bmh-gallery-dots button {
    position: relative;
    z-index: 1001;

    width: 22px;
    height: 18px;
    min-width: 22px;
    min-height: 18px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: transparent;

    cursor: pointer;

    pointer-events: auto;

    transition:
        background-color 0.2s ease;
}

.bmh-gallery-dots button::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    margin: 5px auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}


.bmh-gallery-dots button.is-active::before {
    width: 20px;
    background: #fff;
}


/*
 * Empty gallery state.
 */

.bmh-gallery-empty {
    display: grid;
    place-items: center;
    align-content: center;

    min-height: 100%;

    gap: 8px;

    color: #fff;
}


.bmh-gallery-empty i {
    font-size: 42px;
}


/* =========================================================
   Latest Updates
========================================================= */

.bmh-updates-card {
    display: flex;
    flex-direction: column;
    border-color: var(--bmh-border);
    background: var(--bmh-surface);
    box-shadow: var(--bmh-shadow-sm);
}

.bmh-updates-card .bmh-card-head {
    background: var(--bmh-surface);
}

.bmh-updates-card .bmh-card-head .bmh-eyebrow {
    color: var(--bmh-coral-700);
    font-size: .68rem;
    line-height: 1.2;
    letter-spacing: .08em;
}

.bmh-updates-card .bmh-card-head h2 {
    color: var(--bmh-green-900);
    font-size: var(--bmh-title-card-size);
    font-weight: var(--bmh-title-weight);
    line-height: var(--bmh-title-line-height);
}

.bmh-updates-card .bmh-card-head,
.bmh-updates-card .bmh-tab-scroll,
.bmh-updates-card .bmh-updates-footer {
    flex: 0 0 auto;
}

.bmh-tab-scroll {
    overflow: hidden;
}

.bmh-tab-list {
    display: flex;

    gap: 4px;
    padding: 8px 10px;

    overflow-x: auto;

    border-bottom: 1px solid var(--bmh-border);
    background: var(--bmh-surface-2);

    scrollbar-width: none;
}

.bmh-tab-list::-webkit-scrollbar {
    display: none;
}

.bmh-tab-list button {
    flex: 0 0 auto;

    min-height: 36px;

    padding: 8px 11px;

    border: 0;
    border: 1px solid transparent;
    border-radius: var(--bmh-radius-sm);

    background: transparent;
    color: var(--bmh-muted);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.bmh-tab-list button:hover,
.bmh-tab-list button:focus-visible {
    border-color: var(--bmh-border);
    background: var(--bmh-surface);
    color: var(--bmh-green-900);
}

.bmh-tab-list button.is-active {
    border-color: var(--bmh-green-800);
    background: var(--bmh-green-800);
    color: var(--bmh-white);
}

.bmh-updates-content {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;

    scrollbar-width: thin;
}

.bmh-tab-pane {
    display: none;
}

.bmh-tab-pane.is-active {
    display: block;
}

.bmh-update-item {
    display: grid;
    grid-template-columns:
        44px
        minmax(0, 1fr)
        38px;
    align-items: center;

    min-height: 58px;

    gap: 9px;
    padding: 7px 11px;

    border-bottom: 1px solid var(--bmh-line);

    background: var(--bmh-surface);
    color: var(--bmh-ink);
    transition: background-color .2s ease;
}

.bmh-update-item:hover,
.bmh-update-item:focus-visible {
    background: var(--bmh-surface-2);
}

.bmh-update-date {
    display: grid;
    place-items: center;

    min-height: 40px;

    border-radius: 10px;

    background: var(--bmh-green-50);
    color: var(--bmh-green-900);

    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.bmh-update-date small {
    display: block;

    margin-top: 0px;

    font-size: 12px;
}

.bmh-update-copy small {
    display: block;

    margin-bottom: 3px;

    color: var(--bmh-coral-700);
    font-weight: 800;
}

.bmh-update-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.bmh-update-new {
    display: inline-flex;
    align-items: center;
    min-height: 14px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--bmh-coral-700);
    color: var(--bmh-white);
    font-size: 6.5px;
    font-weight: 800;
    line-height: 1;
}

.bmh-update-copy strong {
    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    color: var(--bmh-green-950);
    font-size: .8125rem;
    font-weight: 750;
    line-height: 1.35;
}

.bmh-update-arrow {
    color: var(--bmh-coral-700);

    font-weight: 800;
}

.bmh-updates-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    padding: 11px 14px;

    border-top: 1px solid var(--bmh-line);

    background: var(--bmh-surface-2);
}

.bmh-updates-footer span {
    color: var(--bmh-muted);
}

.bmh-updates-footer a {
    color: var(--bmh-green-800);

    font-weight: 800;
}


/* =========================================================
   Shared section headings
========================================================= */

.bmh-section {
    padding: 40px 0;

    scroll-margin-top: 72px;
}

.bmh-section--soft {
    background: #f0f5f2;
}

.bmh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 18px;
}

.bmh-section-head p {

    margin: 7px 0 0;
}

/* =========================================================
   Compact Institution Corner
========================================================= */

.bmh-institution-section {
    padding-top: 42px;
    padding-bottom: 42px;
}


/* Grid */

.bmh-institution-compact-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 12px;
}


/* Card */

.bmh-institution-compact-card {
    position: relative;

    display: grid;

    grid-template-columns:
        46px
        minmax(0, 1fr)
        28px;

    align-items: center;

    min-width: 0;

    gap: 13px;

    padding:
        18px
        16px;

    overflow: hidden;

    color: inherit;

    text-decoration: none;

    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}


/* Same decorative bubble language as main cards */

.bmh-institution-compact-card::after {
    content: "";

    position: absolute;

    right: -34px;
    bottom: -42px;

    width: 105px;
    height: 105px;

    border-radius: 50%;

    background:
        rgba(
            34,
            136,
            82,
            0.055
        );

    pointer-events: none;

    transform: scale(1);

    transform-origin:
        100%
        100%;

    transition:
        transform
        0.35s
        cubic-bezier(
            0.2,
            0.7,
            0.2,
            1
        );
}


/* Icon */

.bmh-institution-compact-card__icon {
    position: relative;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border-radius: 13px;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);

    font-size: 17px;

    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}


/* Content */

.bmh-institution-compact-card__content {
    position: relative;
    z-index: 1;

    display: block;

    min-width: 0;
}


.bmh-institution-compact-card__content strong {
    display: -webkit-box;

    overflow: hidden;

    margin-bottom: 6px;

    color: #30443a;
    font-weight: 750;
    line-height: 1.35;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


.bmh-institution-compact-card__content small {
    display: -webkit-box;

    overflow: hidden;

    color:
        var(--bmh-muted);
    font-weight: 400;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* Arrow */

.bmh-institution-compact-card__arrow {
    position: relative;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    color:
        var(--bmh-green-dark);

    font-size: 10px;

    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}


/* Hover */

.bmh-institution-compact-card.bmh-card-hover-lift:hover,
.bmh-institution-compact-card.bmh-card-hover-lift:focus-visible {
    border-color:
        #cce0d3;

    box-shadow:
        0
        14px
        30px
        rgba(
            18,
            78,
            49,
            0.10
        );

    color: inherit;
    text-decoration: none;
}


.bmh-institution-compact-card.bmh-card-hover-lift:hover::after,
.bmh-institution-compact-card.bmh-card-hover-lift:focus-visible::after {
    transform:
        scale(1.18);
}


/* Keyboard focus */

.bmh-institution-compact-card:focus-visible {
    outline:
        3px
        solid
        rgba(
            34,
            136,
            82,
            0.18
        );

    outline-offset: 2px;
}

/* =========================================================
   Footer
========================================================= */

.bmh-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--bmh-featured-panel-background);
}

.bmh-footer__grid {
    display: grid;
    grid-template-columns:
        1.3fr
        1fr
        1fr
        1fr;
}

.bmh-footer__grid h3 {
    margin: 0 0 12px;

    color: var(--bmh-white);
}

.bmh-footer__grid > div > a:not(.bmh-brand) {
    display: block;

    color: rgba(255, 255, 255, 0.78);
}

.bmh-footer__grid > div > a:hover {
    color: var(--bmh-white);
}

.bmh-footer__brand .bmh-brand {
    gap: 9px;
}

.bmh-footer__brand .bmh-brand img {
    width: 60px;
    height: 60px;
    padding: 6px;
    border-radius: 12px;
    background: var(--bmh-white);
    box-shadow: 0 8px 24px rgba(10, 49, 39, 0.18);
}

.bmh-footer__brand .bmh-brand strong {
    color: var(--bmh-white);
}

.bmh-footer__brand .bmh-brand small {
    color: rgba(255, 255, 255, 0.74);
}

.bmh-footer__social {
    display: flex;

    gap: 8px;
    margin-top: 15px;
}

.bmh-footer__social a {
    display: grid;
    place-items: center;

    width: 31px;
    height: 31px;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
    color: var(--bmh-white);
}

.bmh-footer__social a:hover,
.bmh-footer__social a:focus-visible {
    border-color: var(--bmh-white);
    background: var(--bmh-white);
    color: var(--bmh-green-dark);
}

.bmh-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    gap: 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* =========================================================
   Contact Section
========================================================= */

.bmh-contact-layout-modern {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, 0.85fr);

    align-items: stretch;

    gap: 18px;
}


/* Large structural cards */

.bmh-contact-directory-card,
.bmh-location-card {
    min-width: 0;
    height: 100%;
}

.bmh-contact-directory-card:hover,
.bmh-location-card:hover {
    transform: none;
}


/* Shared internal card heading */

.bmh-contact-card-head {
    display: flex;
    align-items: center;

    gap: 12px;

    border-bottom: 1px solid var(--bmh-line);
}

.bmh-contact-card-head h3 {
    margin: 0;

    color: var(--bmh-green-dark);

    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.bmh-contact-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;

    width: 44px;
    height: 44px;

    border-radius: 13px;

    background: var(--bmh-green-soft);
    color: var(--bmh-green-dark);

    font-size: 17px;
}


/* =========================================================
   Dynamic Office Contacts
========================================================= */


/*
 * The legacy DB body currently uses Bootstrap rows/columns.
 * Convert those columns into the modern two-column layout.
 */

.bmh-contact-directory > .row,
.bmh-contact-directory .row:first-child {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 28px;

    margin:
        0
        !important;
}


/*
 * Remove the old Bootstrap widths inside this component only.
 */

.bmh-contact-directory
[class*="col-"] {
    width: auto !important;
    max-width: none !important;

    padding:
        0
        !important;

    flex:
        none
        !important;
}


/* Legacy headings */

.bmh-contact-directory h1,
.bmh-contact-directory h2,
.bmh-contact-directory h3,
.bmh-contact-directory h4,
.bmh-contact-directory h5,
.bmh-contact-directory h6 {
    margin:
        0
        0
        12px;

    color: var(--bmh-green-dark);

    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;
}


/* Lists coming from the DB */

.bmh-contact-directory ul {
    margin: 0;

    padding-left: 22px;
}

.bmh-contact-directory li {
    margin-bottom: 7px;

    color: #52665c;

    line-height: 1.55;
}

.bmh-contact-directory li::marker {
    color: var(--bmh-green);
}


/* Contact links */

.bmh-contact-directory a {
    color: var(--bmh-green-dark);

    overflow-wrap: anywhere;

    transition:
        color
        0.2s
        ease;
}

.bmh-contact-directory a:hover,
.bmh-contact-directory a:focus-visible {
    color: var(--bmh-red);
}


/* Existing icons inside DB content */

.bmh-contact-directory i {
    color: var(--bmh-green-dark);
}


/* =========================================================
   Location Card
========================================================= */

.bmh-location-card {
    display: flex;
    flex-direction: column;
}


/* Google map */

.bmh-location-map {
    padding:
        12px
        12px
        0;
}


.bmh-location-map iframe {
    display: block;

    width: 100% !important;
    height: 295px !important;
    min-height: 295px;

    border: 0;
    border-radius: 13px;
}


/* Address + hours */

.bmh-location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--bmh-line);
}


.bmh-location-detail {
    display: flex;
    align-items: flex-start;

    min-width: 0;

    gap: 11px;
    padding: 16px 18px;
}


.bmh-location-detail + .bmh-location-detail {
    border-left: 1px solid var(--bmh-line);
}


.bmh-location-detail__icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    border-radius: 11px;

    background: var(--bmh-green-soft);
    color: var(--bmh-green-dark);

    font-size: 13px;
}


.bmh-location-detail > div {
    min-width: 0;
}


.bmh-location-detail strong {
    display: block;

    margin-bottom: 5px;

    color: var(--bmh-green-dark);
    font-weight: 750;
}


.bmh-location-detail__content {
    color: var(--bmh-muted);
    line-height: 1.5;
}


.bmh-location-detail__content p {
    margin: 0 0 3px;
}


/* Prevent unnecessary Bootstrap/database spacing */

.bmh-location-detail__content ul,
.bmh-location-detail__content ol {
    margin: 0;
    padding-left: 16px;
}


.bmh-location-detail__content br + br {
    display: none;
}


/* Business hours should remain readable */

.bmh-location-detail--hours {
    align-content: flex-start;
}

.bmh-location-detail--hours p {
    white-space: normal;
}

.bmh-location-detail--hours strong {
    white-space: nowrap;
}


/* Fallback for an older/unexpected DB structure */

.bmh-location-legacy {
    padding: 20px 24px;
}

.bmh-location-legacy h1,
.bmh-location-legacy h2,
.bmh-location-legacy h3,
.bmh-location-legacy h4 {
    color: var(--bmh-green-dark);
}

/* =========================================================
   Contact Office Mini Cards
========================================================= */

.bmh-contact-office-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.bmh-contact-office-item {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    border: 1px solid var(--bmh-line);
    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 8px 22px rgba(18, 78, 49, 0.06);

    transition:
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease;
}


/* Bottom-right decorative circle */

.bmh-contact-office-item::after {
    content: "";

    position: absolute;
    right: -32px;
    bottom: -42px;
    z-index: 0;

    width: 104px;
    height: 104px;

    border-radius: 50%;

    background:
        rgba(34, 136, 82, 0.055);

    pointer-events: none;

    transform: scale(1);
    transform-origin: 100% 100%;

    transition:
        transform 0.35s
        cubic-bezier(0.2, 0.7, 0.2, 1);
}


.bmh-contact-office-item > * {
    position: relative;
    z-index: 1;
}


/* Hover interaction */

.bmh-contact-office-item.bmh-card-hover-lift:hover {
    border-color: #cfe2d7;

    box-shadow:
        0 14px 30px rgba(18, 78, 49, 0.11);

}


.bmh-contact-office-item.bmh-card-hover-lift:hover::after,
.bmh-contact-office-item.bmh-card-hover-lift:focus-within::after {
    transform: scale(1.17);
}


/* Office title */

.bmh-contact-office-item h4 {
    margin:
        0
        0
        0;

    color: var(--bmh-green-dark);
    font-weight: 750;
    line-height: 1.3;
}


/* Phone and email */

.bmh-contact-office-item a {
    display: flex;
    align-items: center;

    width: fit-content;
    max-width: 100%;

    gap: 6px;
    margin-top: 3px;

    color: var(--bmh-muted);
    line-height: 1.45;

    transition:
        color 0.2s ease;
}


.bmh-contact-office-item a:hover,
.bmh-contact-office-item a:focus-visible {
    color: var(--bmh-green-dark);
}


.bmh-contact-office-item a i {
    flex: 0 0 14px;

    width: 14px;

    color: var(--bmh-green-dark);

    font-size: 9px;
    text-align: center;
}


.bmh-contact-office-item a span {
    min-width: 0;

    overflow-wrap: anywhere;
}

/* =========================================================
   Services Directory
========================================================= */

.bmh-services-directory-layout {
    display: grid;

    align-items: start;
}

.bmh-section.bmh-services-page-shared {
    padding: 0;
    background: transparent;
}


/* =========================================================
   Featured Services
========================================================= */

.bmh-featured-services,
.bmh-card.bmh-featured-services {
    padding: 22px;

    overflow: hidden;

    background: var(--bmh-featured-panel-background);

    color: #fff;
}


.bmh-featured-services:hover {
    transform: none;
}


.bmh-featured-services::after {
    width: 170px;
    height: 170px;

    background:
        rgba(
            255,
            255,
            255,
            0.10
        );
}


.bmh-featured-services__head {
    display: flex;
    align-items: flex-start;

    gap: 12px;
}


.bmh-featured-services__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #fff;
    color: var(--bmh-green-dark);

    font-size: 16px;
}


.bmh-featured-services__eyebrow {
    display: block;

    margin-top: 2px;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;

    text-transform: uppercase;
}


.bmh-featured-services__head p {
    margin:
        6px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 11px;
    line-height: 1.5;
}


.bmh-featured-services__list {
    display: grid;
}


.bmh-featured-service-link {
    display: grid;
    grid-template-columns:
        20px
        minmax(0, 1fr)
        16px;
    align-items: center;

    min-height: 44px;

    gap: 9px;
    padding:
        9px
        11px;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius: 10px;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    transition:
        background-color
        0.2s
        ease,
        border-color
        0.2s
        ease;
}


.bmh-featured-service-link:hover,
.bmh-featured-service-link:focus-visible {
    background:
        rgba(
            255,
            255,
            255,
            0.16
        );

    border-color:
        rgba(
            255,
            255,
            255,
            0.28
        );

    color: #fff;
}


.bmh-featured-service-link > i:first-child {
    text-align: center;
}


.bmh-featured-service-link__arrow {
    font-size: 9px;

    opacity: 0.8;
}


.bmh-featured-services__empty {
    padding: 16px;

    border:
        1px
        dashed
        rgba(
            255,
            255,
            255,
            0.25
        );

    border-radius: 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.76
        );

    font-size: 11px;
}


/* =========================================================
   Browse Services
========================================================= */

.bmh-services-browser {
    min-width: 0;
}


.bmh-services-browser__top {
    flex-wrap: wrap;
}


.bmh-services-browser__top h3 {
    margin: 0;

    color: var(--bmh-green-dark);

    font-size: 18px;
    font-weight: 760;
}


/* =========================================================
   Service Filters
========================================================= */

.bmh-service-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}


.bmh-service-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px
        solid
        #d7e3dc;

    border-radius: 999px;

    background: #fff;
    color: var(--bmh-green-dark);
    font-weight: 750;

    cursor: pointer;

    transition:
        background-color
        0.2s
        ease,
        border-color
        0.2s
        ease,
        color
        0.2s
        ease;
}


.bmh-service-filter:hover,
.bmh-service-filter:focus-visible {
    border-color:
        var(--bmh-green);

    background:
        var(--bmh-green-soft);
}


.bmh-service-filter.is-active {
    border-color:
        var(--bmh-green);

    background:
        var(--bmh-green);

    color: #fff;
}


/* More filter */

.bmh-service-more-filter {
    position: relative;
}


.bmh-service-more-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;

    min-width: 180px;

    padding: 6px;

    border:
        1px
        solid
        var(--bmh-line);

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 12px 28px
        rgba(
            18,
            78,
            49,
            0.14
        );
}


.bmh-service-more-menu button {
    display: flex;
    align-items: center;

    width: 100%;

    gap: 9px;
    padding:
        9px
        10px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: var(--bmh-ink);

    font-size: 11px;

    cursor: pointer;

    text-align: left;
}


.bmh-service-more-menu button:hover,
.bmh-service-more-menu button:focus-visible {
    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);
}


/* =========================================================
   Compact Service Cards
========================================================= */

.bmh-service-directory-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );
}


.bmh-service-directory-card {
    position: relative;

    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        26px;
    align-items: center;

    min-height: 106px;

    gap: 12px;
    padding:
        15px
        14px;

    color:
        var(--bmh-ink);
}


.bmh-service-directory-card__icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);

    font-size: 16px;
}


.bmh-service-directory-card__content small {
    display: block;

    margin-bottom: 5px;

    color:
        var(--bmh-red);
    font-weight: 800;
    letter-spacing: 0.3px;
}


.bmh-service-directory-card__content strong {
    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    color:
        #30443a;
    font-weight: 750;
}


.bmh-service-directory-card__arrow {
    display: grid;
    place-items: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);

    font-size: 9px;

    transition:
        background-color
        0.2s
        ease,
        color
        0.2s
        ease;
}


.bmh-service-directory-card:hover
.bmh-service-directory-card__arrow,
.bmh-service-directory-card:focus-visible
.bmh-service-directory-card__arrow {
    background:
        var(--bmh-green);

    color: #fff;
}


.bmh-service-directory-card__new {
    position: absolute;
    top: 8px;
    right: 8px;

    padding:
        3px
        6px;

    border-radius: 999px;

    background:
        var(--bmh-red);

    color: #fff;

    font-size: 7px;
    font-weight: 800;
}

/* =========================================================
   Services Browser Header
========================================================= */

.bmh-services-browser__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;
    margin-bottom: 8px;
}


.bmh-services-browser__heading {
    min-width: 0;
}


.bmh-services-browser__heading h3 {
    margin: 0;

    color: var(--bmh-green-dark);

    font-size: 18px;
    font-weight: 760;
}


.bmh-services-browser__heading p {
    margin: 3px 0 0;

    color: var(--bmh-muted);
}


/* =========================================================
   Services Search
========================================================= */

.bmh-service-search {
    position: relative;
    box-sizing: border-box;

    flex: 0 1 310px;

    min-width: 220px;
}


.bmh-service-search > i {
    position: absolute;
    top: 50%;
    left: 13px;

    z-index: 2;

    color: var(--bmh-green-dark);

    font-size: 12px;

    transform: translateY(-50%);

    pointer-events: none;
}


.bmh-service-search input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 40px;

    padding:
        8px
        40px
        8px
        36px;

    border:
        1px
        solid
        #d6e3dc;

    border-radius: 12px;

    background: #fff;
    color: var(--bmh-ink);

    font-size: 11px;

    outline: none;

    transition:
        border-color
        0.2s
        ease,
        box-shadow
        0.2s
        ease;
}


.bmh-service-search input::placeholder {
    color: #89978f;
}


.bmh-service-search input:focus {
    border-color:
        var(--bmh-green);

    box-shadow:
        0
        0
        0
        3px
        rgba(
            34,
            136,
            82,
            0.08
        );
}


.bmh-service-search button {
    box-sizing: border-box;
    position: absolute;
    top: 6px;
    right: 6px;

    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    padding: 0;
    margin: 0 !important;

    border: 0;
    border-radius: 8px;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);

    cursor: pointer;

    transform: none;
}


.bmh-service-search button:hover,
.bmh-service-search button:focus-visible {
    background:
        var(--bmh-green);

    color: #fff;
}


/*
 * Explicitly force filtered cards to disappear.
 */
.bmh-service-directory-card[hidden] {
    display: none !important;
}


/* =========================================================
   No Matching Services
========================================================= */

.bmh-service-empty {
    padding:
        34px
        20px;

    margin-top: 12px;

    border:
        1px
        dashed
        #ccdcd3;

    border-radius: 14px;

    background:
        rgba(
            255,
            255,
            255,
            0.55
        );

    text-align: center;
}


.bmh-service-empty[hidden] {
    display: none !important;
}


.bmh-service-empty__icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    margin:
        0
        auto
        10px;

    border-radius: 12px;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);
}


.bmh-service-empty strong {
    display: block;

    color:
        var(--bmh-green-dark);

    font-size: 14px;
}


.bmh-service-empty p {
    margin:
        5px
        0
        0;

    color:
        var(--bmh-muted);

    font-size: 11px;
}

/* BMH SERVICES INLINE TOOLS START */

/*
 * Desktop and laptop:
 *
 * Filters stay on the left.
 * Search stays on the right.
 * Neither area drops to a second row.
 */

.bmh-services-browser__tools {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        270px;

    align-items: center;

    gap: 12px;

    width: 100%;

    margin-bottom: 10px;
}


.bmh-services-browser__tools
.bmh-service-filters {
    display: flex;

    align-items: center;

    min-width: 0;

    width: 100%;

    overflow-x: auto;

    overflow-y: visible;

    scrollbar-width: none;
}


.bmh-services-browser__tools
.bmh-service-filters::-webkit-scrollbar {
    display: none;
}


.bmh-services-browser__tools
.bmh-service-filter {
    flex: 0 0 auto;
}


.bmh-services-browser__tools
.bmh-service-search {
    position: relative;

    width: 270px;
    min-width: 0;

    margin: 0;
}


/*
 * Slightly narrower laptop screens.
 */

@media (
    min-width: 821px
)
and (
    max-width: 1180px
) {

    .bmh-services-browser__tools {
        grid-template-columns:
            minmax(0, 1fr)
            235px;

        gap: 9px;
    }


    .bmh-services-browser__tools
    .bmh-service-search {
        width: 235px;
    }


    .bmh-services-browser__tools
    .bmh-service-filter {
        padding-inline: 11px;

        font-size: 9px;
    }

}

/* BMH SERVICES INLINE TOOLS END */

/* =========================================================
   Gallery - Slick Slide Positioning Fix
========================================================= */

/*
 * Slick fade mode positions every slide horizontally first,
 * then moves each slide back over the first position using
 * its inline left value.
 *
 * The slides must therefore float horizontally.
 * Without this, they stack vertically and only slide 1
 * remains inside the visible gallery stage.
 */

.bmh-gallery-slider {
    direction: ltr;
}


.bmh-gallery-slider.slick-initialized
.slick-list {
    position: relative;

    display: block;

    width: 100%;
    height: 100% !important;

    overflow: hidden;
}


.bmh-gallery-slider.slick-initialized
.slick-track {
    position: relative;

    top: 0 !important;

    display: block !important;

    height: 100% !important;
}


.bmh-gallery-slider.slick-initialized
.slick-track::before,
.bmh-gallery-slider.slick-initialized
.slick-track::after {
    display: table;

    content: "";
}


.bmh-gallery-slider.slick-initialized
.slick-track::after {
    clear: both;
}


/*
 * Critical fix:
 * slides must sit horizontally, not vertically.
 *
 * Do not override Slick's inline:
 * - left
 * - top
 * - opacity
 * - z-index
 * - width
 */

.bmh-gallery-slider.slick-initialized
.slick-slide {
    display: block;

    float: left !important;

    height: 100% !important;
    min-height: 1px;

    clear: none !important;
}


.bmh-gallery-slider.slick-initialized
.slick-slide > div {
    height: 100%;
}


.bmh-gallery-slider.slick-initialized
.bmh-gallery-slide {
    height: 100%;
}


.bmh-gallery-slider.slick-initialized
.bmh-gallery-slide__link {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: var(--bmh-green-900);
}


.bmh-gallery-slider.slick-initialized
.bmh-gallery-slide img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: contain;
    object-position: center;

    background: var(--bmh-green-900);
}


/*
 * Keep controls above all Slick slides.
 */

.bmh-gallery-controls,
.bmh-gallery-dots {
    z-index: 1000 !important;

    pointer-events: auto;
}


.bmh-gallery-controls .bmh-carousel-control--gallery,
.bmh-gallery-dots button {
    z-index: 1001 !important;

    pointer-events: auto;
}

/* END Gallery - Slick Slide Positioning Fix */

/* =========================================================
   SERVICES DATABASE ACTIONS - SAFE ENHANCEMENT
   Does not change the base Services Directory layout.
========================================================= */

/* ---------- Right-side service cards ---------- */

.bmh-service-directory-card__db-content {
    min-width: 0;
}

.bmh-service-directory-card__db-content .service-det,
.bmh-service-directory-card__db-content img,
.bmh-service-directory-card__db-content picture,
.bmh-service-directory-card__db-content figure,
.bmh-service-directory-card__db-content iframe {
    display: none !important;
}

.bmh-service-directory-card__db-content .service-w-button {
    display: block;
    margin: 0 !important;
    padding: 0 !important;

    color: var(--bmh-green-dark);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;

    white-space: normal;
}

.bmh-service-directory-card__db-content .service-w-button br {
    display: block;
    content: "";
    margin-bottom: 6px;
}

.bmh-service-directory-card__db-content .service-w-button .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 30px;

    margin:
        0
        5px
        5px
        0 !important;

    padding:
        6px
        10px !important;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.20) !important;

    border-radius:
        8px !important;

    background:
        var(--bmh-green-soft) !important;

    color:
        var(--bmh-green-dark) !important;

    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
    white-space: normal;
}

.bmh-service-directory-card__db-content .service-w-button .btn:hover,
.bmh-service-directory-card__db-content .service-w-button .btn:focus {
    border-color:
        var(--bmh-green) !important;

    background:
        var(--bmh-green) !important;

    color:
        #fff !important;
}

.bmh-service-directory-card__db-content .service-w-button .btn:nth-of-type(n) {
    display: inline-flex !important;
}


/* ---------- Featured Services ---------- */

.bmh-featured-service-link--rich {
    display: block;
    overflow: hidden;
}

.bmh-featured-service-link--rich
.bmh-featured-service-link__main {
    display: grid;

    grid-template-columns:
        18px
        minmax(0, 1fr)
        14px;

    align-items: center;

    gap: 8px;

    padding:
        10px
        10px
        6px;

    color: #fff !important;

    text-decoration: none !important;
}

.bmh-featured-service-link--rich
.bmh-featured-service-link__main > i,
.bmh-featured-service-link--rich
.bmh-featured-service-link__main > span {
    color: #fff !important;
}

.bmh-featured-service-link--rich
.bmh-featured-service-link__main > span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.bmh-featured-service-db-content {
    padding:
        0
        10px
        10px
        36px;
}

.bmh-featured-service-db-content
.service-w-button {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 9px;
    line-height: 1.35;
}

.bmh-featured-service-db-content
.service-w-button br {
    display: none;
}

.bmh-featured-service-db-content
.service-w-button .btn {
    display: none !important;
}

.bmh-featured-service-db-content
.service-w-button .btn:first-of-type {
    display: inline-flex !important;

    align-items: center;

    min-height: 25px;

    max-width: 100%;

    margin: 0 !important;

    padding:
        5px
        8px !important;

    border:
        1px
        solid
        rgba(255, 255, 255, 0.22) !important;

    border-radius:
        7px !important;

    background:
        rgba(255, 255, 255, 0.10) !important;

    color:
        #fff !important;

    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 8px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
    white-space: normal;
}

.bmh-featured-service-db-content
.service-w-button .btn:first-of-type:hover {
    background:
        rgba(255, 255, 255, 0.18) !important;
}


/* =========================================================
   SERVICE CARDS - ACTION FIRST REDESIGN
========================================================= */

.bmh-service-directory-card--actions {
    position: relative;

    min-width: 0;

    overflow: hidden;
}


/* Header row */

.bmh-service-directory-card--actions
.bmh-service-directory-card__head {
    display: grid;

    min-width: 0;
}


/* Icon */

.bmh-service-directory-card--actions
.bmh-service-directory-card__icon {
    position: static;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;

    flex: none;
}


/* Heading */

.bmh-service-directory-card__heading {
    min-width: 0;
}


.bmh-service-directory-card__heading small {
    display: block;

    color: var(--bmh-accent);
    font-weight: 800;

    line-height: 1.1;

    text-transform: uppercase;
}


.bmh-service-directory-card__title {
    display: block;

    color: var(--bmh-green-dark);
    font-weight: 750;

    text-decoration: none;
}


.bmh-service-directory-card__title:hover,
.bmh-service-directory-card__title:focus {
    color: var(--bmh-green);
}


/* Arrow */

.bmh-service-directory-card--actions
.bmh-service-directory-card__arrow {
    position: static;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin: 0;

    border-radius: 50%;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green);

    text-decoration: none;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.bmh-service-directory-card--actions
.bmh-service-directory-card__arrow:hover,
.bmh-service-directory-card--actions
.bmh-service-directory-card__arrow:focus {
    background:
        var(--bmh-green);

    color:
        #fff;

    transform:
        translateX(2px);
}


/* Action area gets full card width */

.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {

    padding-left: 0;
}


.bmh-service-directory-card--actions
.service-w-button {

    margin: 0 !important;

    color:
        var(--bmh-green-dark);

    font-size: 11px;
    font-weight: 650;

    line-height: 1.4;

    white-space: normal;
}


/* Retain line breaks */

.bmh-service-directory-card--actions
.service-w-button br {

    content: "";

    margin-bottom: 7px;
}


/* Buttons */

.bmh-service-directory-card--actions
.service-w-button .btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.20) !important;

    border-radius:
        8px !important;

    box-shadow:
        none !important;

    font-family:
        inherit !important;

    text-decoration:
        none !important;

    white-space:
        normal;
}


/* New badge */

.bmh-service-directory-card--actions
.bmh-service-directory-card__new {
    top: 8px;
    right: 8px;
}


/* =========================================================
   FEATURED SERVICES - INLINE TEXT LINKS
========================================================= */


.bmh-featured-service-actions
.service-w-button {

    color:
        rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}


/*
 * Hide plain text from the database action area
 * in Featured Services.
 */


/*
 * Stored BR is not needed in the compact inline layout.
 */


/*
 * Hide all links first.
 */


/*
 * Show only the first two actions as lightweight text links.
 */


/*
 * Divider between the two links.
 */


/*
 * Hover/focus.
 */

/* =========================================================
   FEATURED SERVICES - STRUCTURE FIX
========================================================= */

/*
 * The original class is now used as a wrapper.
 * Reset its old single-link grid behavior.
 */
.bmh-featured-services__list > .bmh-featured-service-link {

    grid-template-columns: none !important;
    align-items: initial !important;
    gap: 0 !important;

    width: 100%;

    min-height: 0;

    padding: 0 !important;

    color: #fff !important;

    text-decoration: none !important;

    overflow: hidden;
}


/* Main clickable title row */


.bmh-featured-service-link__main > i {
    color: #fff !important;
}


/* Hover only the title row */

.bmh-featured-service-link__main:hover,
.bmh-featured-service-link__main:focus {
    color: #fff !important;

    text-decoration: none !important;
}


.bmh-featured-service-link__main:hover > span,
.bmh-featured-service-link__main:focus > span {
    color: #fff !important;
}


/* =========================================================
   Inline Featured Actions
========================================================= */

.bmh-featured-service-actions {
    display: block;
}


/* Remove old Bootstrap button appearance */


/* First two lightweight action links */

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2) {
    position: relative;
}


/* Separator */

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1)::after {

    margin-left: 6px;

    color:
        rgba(255, 255, 255, 0.42);
}


/* Do not let stored BR disturb the layout */


.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):focus,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):focus {

    text-underline-offset: 2px;
}


/* =========================================================
   FEATURED SERVICES - COMPACT TITLE + ACTION LINKS
========================================================= */

.bmh-featured-service-link__main {
    display: grid !important;

    align-items: center;

    gap: 8px;

    width: 100%;

    color: #fff !important;

    text-decoration: none !important;
}


/*
 * Put icon and title together.
 */

.bmh-featured-service-link__main > i:first-child {
    display: inline-block;

    position: absolute;

    width: auto;
    height: auto;

    color:
        rgba(255, 255, 255, 0.86) !important;
}


.bmh-featured-service-link__main > span {
    display: block;

    min-width: 0;

    color: #fff !important;
    font-weight: 700;
}


/*
 * Arrow uses only a very small area.
 */

.bmh-featured-service-link__main
.bmh-featured-service-link__arrow {
    position: static;

    justify-self: end;

    width: auto;
    height: auto;

    color:
        rgba(255, 255, 255, 0.80) !important;
}


/* =========================================================
   Action Area
========================================================= */

.bmh-featured-service-actions {
    width: 100%;
}


.bmh-featured-service-actions
.service-w-button {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 0;
}


/*
 * Hide all actions first.
 */

.bmh-featured-service-actions
.service-w-button .btn {
    display: none !important;
}


/*
 * Show first two actions as compact clickable links.
 */

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2) {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: auto !important;

    min-width: 0 !important;

    max-width: 100%;

    margin: 0 !important;

    border:
        1px
        solid
        rgba(255, 255, 255, 0.16) !important;

    border-radius:
        6px !important;

    box-shadow:
        none !important;

    font-family:
        inherit !important;

    font-weight:
        650 !important;

    text-decoration:
        none !important;

    white-space:
        normal;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}


/*
 * Remove the old dot separator.
 */

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1)::after {
    display: none !important;

    content: none !important;
}


/*
 * Clear clickable hover state.
 */

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):focus,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):focus {

    text-decoration:
        none !important;
}


/*
 * Stored BR should not affect compact layout.
 */

.bmh-featured-service-actions
.service-w-button br {
    display: none !important;
}

/* =========================================================
   FEATURED SERVICES - FINAL POLISH
========================================================= */


.bmh-featured-services__list > .bmh-featured-service-link {
    border-radius: 10px;
}


.bmh-featured-service-link__main
.bmh-featured-service-link__arrow {

    opacity: 0.78;
}


.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2) {

    line-height:
        1.15 !important;
}


.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):focus,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):focus {
    border-color:
        rgba(255, 255, 255, 0.30) !important;
}

/* =========================================================
   DOWNLOADS - MODERN REDESIGN RESTORED
========================================================= */

.bmh-download-section {
    position: relative;
}

.bmh-download-modern-content {
    display: flex;

    flex-direction: column;

    min-width: 0;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.10);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0
        16px
        34px
        rgba(22, 74, 49, 0.07);
}


/* =========================================================
   Primary Download Cards
========================================================= */

.bmh-download-primary-card,
.bmh-download-secondary-card {
    position: relative;

    display: grid;

    grid-template-columns:
        46px
        minmax(0, 1fr)
        30px;

    align-items: center;

    gap: 12px;

    min-width: 0;

    padding: 16px;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.12);

    border-radius: 14px;

    background:
        #fff;

    color:
        var(--bmh-green-dark);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.bmh-download-primary-card::after,
.bmh-download-secondary-card::after {
    content: "";

    position: absolute;

    right: -22px;
    bottom: -24px;

    width: 78px;
    height: 78px;

    border-radius: 50%;

    background:
        rgba(15, 103, 66, 0.055);
}

.bmh-download-primary-card.bmh-card-hover-lift:hover,
.bmh-download-primary-card.bmh-card-hover-lift:focus-visible,
.bmh-download-secondary-card.bmh-card-hover-lift:hover,
.bmh-download-secondary-card.bmh-card-hover-lift:focus-visible {
    border-color:
        rgba(15, 103, 66, 0.24);

    box-shadow:
        0
        12px
        24px
        rgba(22, 74, 49, 0.08);

    color:
        var(--bmh-green-dark);

    text-decoration:
        none;
}


/* =========================================================
   Shared Download Card Elements
========================================================= */

.bmh-download-card-icon {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green);

    font-size: 17px;
}

.bmh-download-card-copy {
    position: relative;

    z-index: 2;

    min-width: 0;
}

.bmh-download-card-copy strong {
    display: block;

    margin-bottom: 4px;

    color:
        var(--bmh-green-dark);
    font-weight: 750;
    line-height: 1.3;
}

.bmh-download-card-copy small {
    display: block;

    color:
        var(--bmh-text-muted);
    line-height: 1.45;
}

.bmh-download-card-arrow {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green);

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.bmh-download-primary-card:hover
.bmh-download-card-arrow,
.bmh-download-primary-card:focus-visible
.bmh-download-card-arrow,
.bmh-download-secondary-card:hover
.bmh-download-card-arrow,
.bmh-download-secondary-card:focus-visible
.bmh-download-card-arrow {
    background:
        var(--bmh-green);

    color:
        #fff;

    transform:
        translateX(2px);
}


/* =========================================================
   Model Papers Card
========================================================= */

.bmh-model-papers-card {
    position: relative;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.12);

    border-radius: 14px;

    overflow: hidden;
}

.bmh-model-papers-card::after {
    content: "";

    position: absolute;

    right: -34px;
    bottom: -36px;

    width: 110px;
    height: 110px;

    border-radius: 50%;
}

.bmh-model-papers-intro {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        46px
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;
}

.bmh-model-papers-intro strong {
    display: block;

    margin-bottom: 3px;

    color:
        var(--bmh-green-dark);

    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
}

.bmh-model-papers-intro small {
    display: block;

    color:
        var(--bmh-text-muted);
    line-height: 1.45;
}

.bmh-model-papers-grid {
    position: relative;

    z-index: 2;

    display: grid;
}

.bmh-model-paper-item {
    position: relative;

    display: block;

    min-width: 0;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.11);

    border-radius: 10px;

    color:
        var(--bmh-green-dark);

    text-decoration: none;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.bmh-model-paper-item.bmh-card-hover-lift:hover,
.bmh-model-paper-item.bmh-card-hover-lift:focus-visible {

    border-color:
        rgba(15, 103, 66, 0.22);

    color:
        var(--bmh-green-dark);

    text-decoration:
        none;
}

.bmh-model-paper-item > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin-bottom: 8px;

    border-radius: 9px;

    background:
        #fff;

    color:
        var(--bmh-green);

    font-size: 13px;
}

.bmh-model-paper-item strong {
    display: block;

    margin-bottom: 2px;
    font-weight: 750;
    line-height: 1.25;
}

.bmh-model-paper-item small {
    display: block;

    margin-bottom: 5px;

    color:
        var(--bmh-accent);

    font-size: 8px;
    font-weight: 750;

    text-transform: uppercase;
}

.bmh-model-paper-item em {
    display: block;

    color:
        var(--bmh-text-muted);
    font-style: normal;
    line-height: 1.35;
}

.bmh-model-paper-arrow {
    position: absolute;

    right: 10px;
    top: 50%;

    transform:
        translateY(-50%);

    color:
        var(--bmh-green);

    font-size: 9px;
}


/* =========================================================
   Secondary Downloads
========================================================= */


/* =========================================================
   Facebook Card
========================================================= */

.bmh-facebook-card
.bmh-card-head {
    flex:
        0
        0
        auto;
}


/* =========================================================
   Downloads Section Refinement
========================================================= */

.bmh-download-section
.bmh-section-head {
    margin-bottom: 18px;
}


/* =========================================================
   DOWNLOADS - FINAL LAYOUT / FACEBOOK RESTORE
========================================================= */


/* =========================================================
   Facebook Card - Final Style
========================================================= */

.bmh-facebook-card {
    position: relative;

    display: flex;

    flex-direction: column;

    border:
        1px
        solid
        rgba(15, 103, 66, 0.10);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0
        16px
        34px
        rgba(22, 74, 49, 0.07);

    overflow: hidden;
}


.bmh-facebook-card
.bmh-card-head {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;

    border-bottom:
        1px
        solid
        rgba(15, 103, 66, 0.10);

    background:
        #fff;
}


.bmh-facebook-card
.bmh-card-head .bmh-eyebrow {
    margin-bottom: 3px;
}


.bmh-facebook-card
.bmh-card-head h2 {
    margin: 0;

    color:
        var(--bmh-green-dark);
    line-height: 1.2;
}


.bmh-facebook-card
.bmh-card-head > a {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    flex:
        0
        0
        auto;

    margin-top: 2px;

    color:
        var(--bmh-green-dark);
    font-weight: 700;

    text-decoration: none;
}


.bmh-facebook-card
.bmh-card-head > a:hover,
.bmh-facebook-card
.bmh-card-head > a:focus {
    color:
        var(--bmh-green);

    text-decoration:
        underline;

    text-underline-offset:
        2px;
}


/* Facebook embed area */

.bmh-facebook-card__body {
    flex:
        1
        1
        auto;

    display: flex;
    justify-content: flex-start;

    overflow: hidden;
}


.bmh-facebook-card__body iframe {

    border: 0;
}


/* Give left Downloads side more visual dominance */


/* Slightly wider model-paper cards */


/* =========================================================
   DOWNLOADS - COMPACT 4 CARD LAYOUT
========================================================= */

/*
 * Wider Downloads area, compact Facebook area.
 */

.bmh-download-modern-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2.65fr)
        minmax(270px, 1fr);

    gap: 18px;
}


/*
 * Reduce unnecessary outer spacing.
 */

.bmh-download-modern-content {
    gap: 12px;

    padding: 16px;
}


/* =========================================================
   TOP DOWNLOAD CARDS
========================================================= */

/*
 * Four cards in one row.
 */

.bmh-download-primary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}


/*
 * Make cards taller/vertical instead of wide horizontal cards.
 */

.bmh-download-primary-card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;

    padding:
        14px
        14px
        13px !important;

    gap: 8px;

    overflow: hidden;
}


/*
 * Compact icon.
 */

.bmh-download-primary-card
.bmh-download-card-icon {
    width: 38px;
    height: 38px;

    flex:
        0
        0
        38px;

    border-radius: 10px;

    font-size: 15px;
}


/*
 * Card text takes full available width.
 */

.bmh-download-primary-card
.bmh-download-card-copy {
    width: 100%;

    min-width: 0;
}


.bmh-download-primary-card
.bmh-download-card-copy strong {
    margin-bottom: 4px;

    font-size: 12px;
    line-height: 1.25;
}


.bmh-download-primary-card
.bmh-download-card-copy small {
    display: -webkit-box;

    overflow: hidden;

    color:
        var(--bmh-text-muted);

    font-size: 9px;
    line-height: 1.4;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/*
 * Arrow becomes a small bottom-right action.
 */

.bmh-download-primary-card
.bmh-download-card-arrow {
    position: absolute;

    right: 12px;
    bottom: 11px;

    width: 27px;
    height: 27px;

    font-size: 9px;
}


/*
 * Keep enough space for the arrow.
 */

.bmh-download-primary-card
.bmh-download-card-copy {
    padding-right: 18px;
}


/* =========================================================
   MODEL PAPERS
========================================================= */

.bmh-model-papers-card {
    padding: 14px;
}


.bmh-model-papers-intro {
    margin-bottom: 11px;
}


.bmh-model-papers-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;
}


.bmh-model-paper-item {
    min-height: 92px;

    padding:
        10px
        25px
        10px
        10px;
}


/* =========================================================
   REMAINING DOWNLOAD CARDS
========================================================= */

.bmh-download-secondary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.bmh-download-secondary-card {
    min-height: 74px;

    padding: 12px 13px;
}


/* =========================================================
   FACEBOOK - MINIMIZED
========================================================= */

.bmh-facebook-card {
    min-width: 0;
}


.bmh-facebook-card
.bmh-card-head {
    padding:
        14px
        15px
        11px;
}


.bmh-facebook-card
.bmh-card-head h2 {
    font-size: 17px;
}


.bmh-facebook-card
.bmh-card-head > a {
    font-size: 9px;
}


.bmh-facebook-card__body {
    min-height: 0;

    padding: 10px;

    align-items: flex-start;

    background:
        #f7faf8;
}


.bmh-facebook-card__body iframe {
    display: block;

    width: 100% !important;

    max-width: 100%;

    margin: 0 auto;
}

/* =========================================================
   MERGED ABOUT + BOARD AT A GLANCE
========================================================= */

.bmh-board-hub__heading {
    margin-bottom: 16px;
}


/* Tabs */

.bmh-board-hub__nav {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 12px;
}


.bmh-board-hub__tab {

    isolation: isolate;

    overflow: hidden;

    display: flex;

    align-items: center;

    min-width: 0;

    gap: 8px;
    padding: 10px;

    border:
        1px
        solid
        var(--bmh-line);

    border-radius: var(--bmh-radius);

    background: #fff;

    color:
        var(--bmh-green-dark);

    text-align: left;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.bmh-board-hub__tab::before {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    z-index: -1;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(34, 136, 82, 0.055);
    pointer-events: none;
    transition:
        transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
        background-color 0.35s ease;
}


.bmh-board-hub__tab:hover,
.bmh-board-hub__tab:focus-visible {
    transform:
        translateY(-2px);

    border-color:
        #cfe2d7;

    box-shadow:
        var(--bmh-shadow-hover);
}

.bmh-board-hub__tab:hover::before,
.bmh-board-hub__tab:focus-visible::before {
    transform: scale(1.18);
    background: rgba(34, 136, 82, 0.08);
}


.bmh-board-hub__tab.is-active {
    border-color:
        var(--bmh-green);

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);
}


.bmh-board-hub__tab-icon {
    display: grid;

    place-items: center;

    flex:
        0
        0
        34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green);

    font-size: 15px;
}


.bmh-board-hub__tab.is-active
.bmh-board-hub__tab-icon {
    background:
        #fff;

    color:
        var(--bmh-green);
}


.bmh-board-hub__tab strong,
.bmh-board-hub__tab small {
    display: block;
}


.bmh-board-hub__tab strong {
    line-height: 1.3;
}


.bmh-board-hub__tab small {
    margin-top: 3px;

    opacity: 0.72;
}


/* Main permanent-map shell */

.bmh-board-hub__shell {
    display: grid;

    min-height: 590px;

    border-radius: 19px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #155f40,
            var(--bmh-green-dark)
        );

    box-shadow:
        var(--bmh-shadow);
}

.bmh-board-hub__shell.is-profile-relocated {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__content {
    padding-left: 20px;
    height: 340px;
    overflow: hidden;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__panel.is-active {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.bmh-board-hub__shell.is-profile-relocated
.bmh-board-hub__panel.is-active::-webkit-scrollbar {
    display: none;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-directory,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-db-content {
    min-height: 100%;
}

.bmh-institution-profile {
    display: none;
}

.bmh-institution-profile.is-ready {
    display: grid;
    grid-template-columns:
        minmax(300px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: stretch;
    gap: 16px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 19px;
    background:
        linear-gradient(
            135deg,
            #155f40,
            var(--bmh-green-dark)
        );
    box-shadow: var(--bmh-shadow);
}

.bmh-institution-profile .bmh-board-hub__map,
.bmh-institution-profile .bmh-board-glance {
    min-width: 0;
    height: 100%;
    margin: 0;
}

.bmh-institution-profile .bmh-board-hub__map {
    padding: 20px;
}

.bmh-institution-profile .bmh-board-hub__map-image {
    min-height: 280px;
}

.bmh-glance-section {
    padding-top: 0;
}

.bmh-glance-section .bmh-board-hub__map-image {
    flex: 1 1 320px;
    width: 100%;
    height: 320px;
    min-height: 300px;
}

.bmh-glance-section .bmh-board-hub__map-image img {
    max-height: 320px;
}

@media (max-width: 1000px) {
    .bmh-institution-profile.is-ready {
        grid-template-columns: 1fr;
    }

    .bmh-institution-profile .bmh-board-hub__map-image {
        min-height: 240px;
    }

    .bmh-glance-section .bmh-board-hub__map-image {
        flex-basis: 270px;
        height: 270px;
        min-height: 250px;
    }

    .bmh-glance-section .bmh-board-hub__map-image img {
        max-height: 270px;
    }
}


/* Permanent map */

.bmh-board-hub__map {
    display: flex;

    flex-direction: column;

    min-width: 0;

    margin: 24px;

    padding:
        24px
        26px
        20px;

    border-radius: 27px;

    background:
        #f8fbf9;
}


.bmh-board-hub__map-head {
    flex:
        0
        0
        auto;
}


.bmh-board-hub__eyebrow {
    display: block;

    margin-bottom: 5px;

    color:
        var(--bmh-red);

    text-transform: uppercase;
}


.bmh-board-hub__map h3 {
    margin:
        0
        0
        5px;

    color:
        var(--bmh-green);

    font-size: 25px;
    line-height: 1.2;
}

.bmh-board-hub__map p {
    margin: 0;

    color:
        var(--bmh-muted);
}

.bmh-board-hub__map-image {
    flex:
        1
        1
        auto;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 360px;

    /*padding:
        12px
        20px;*/
}


.bmh-board-hub__map-image img {
    display: block;
    height: 100%;

    /*max-width: 590px;*/
    /*max-height: 400px;*/

    object-fit: contain;
}


.bmh-board-hub__districts {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.bmh-board-hub__districts span {
    display: inline-flex;

    align-items: center;

    min-height: 28px;

    gap: 5px;
    padding:
        5px
        9px;

    border:
        1px
        solid
        rgba(15, 90, 55, 0.12);

    border-radius: 999px;

    background:
        var(--bmh-green-soft);

    color:
        var(--bmh-green-dark);
    font-weight: 700;
}


/* Right content */

.bmh-board-hub__content {
    min-width: 0;

    padding:
        24px
        24px
        24px
        0;
}


.bmh-board-hub__panel {
    display: none;

    height: 100%;
}


.bmh-board-hub__panel.is-active {
    display: block;
}


.bmh-board-overview {
    display: grid;

    grid-template-rows:
        auto
        1fr;

    height: 100%;

    gap: 12px;
}


/* Chairman */

.bmh-board-chairman,
.bmh-board-glance,
.bmh-board-directory {
    border:
        1px
        solid
        rgba(255, 255, 255, 0.14);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.09);

    color: #fff;
}


.bmh-board-chairman {
    padding: 17px;
}


.bmh-board-chairman__head,
.bmh-board-glance__head,
.bmh-board-directory__head {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}


.bmh-board-chairman h3,
.bmh-board-glance h3,
.bmh-board-directory h3 {
    margin: 0;

    color: #fff;

    font-size: 18px;
}


.bmh-board-chairman
.bmh-board-hub__eyebrow,
.bmh-board-glance
.bmh-board-hub__eyebrow,
.bmh-board-directory
.bmh-board-hub__eyebrow {
    color:
        #f0cf6a;
}


.bmh-board-chairman__quote {
    color:
        rgba(255, 255, 255, 0.42);

    font-size: 24px;
}


.bmh-board-chairman__body {
    display: grid;

    grid-template-columns:
        72px
        minmax(0, 1fr);

    align-items: center;

    gap: 14px;

    margin-top: 13px;
}


.bmh-board-chairman__photo img {
    display: block;

    width: 68px;
    height: 68px;

    border:
        3px
        solid
        rgba(255, 255, 255, 0.75);

    border-radius: 50%;

    object-fit: cover;
}


.bmh-board-chairman__message p {
    margin:
        0
        0
        8px;

    color:
        rgba(255, 255, 255, 0.83);

    font-size: 10px;
    line-height: 1.55;
}


.bmh-board-chairman__message a,
.bmh-board-glance__head a {
    color: #fff;

    font-size: 8px;
    font-weight: 750;
}


/* Database Chairman content cleanup */

.bmh-board-chairman__database-content {
    /*max-height: 195px;*/

   /*margin-top: 12px;*/

    overflow: auto;

    color:
        rgba(255, 255, 255, 0.87);

    /*font-size: 10px;*/
    /*line-height: 1.55;*/
    text-align:justify;
}


.bmh-board-chairman__database-content img {
    /*float: left;*/

    width: 175px !important;
    height: 175px !important;

    /*margin:
        0
        14px
        6px
        0;*/

    border-radius: 50%;

    object-fit: cover;
}


/* Board at a glance */


.bmh-board-glance__stats {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-top: 13px;
}


.bmh-board-glance__stats > div {
    display: grid;

    grid-template-columns:
        30px
        minmax(0, 1fr);

    align-items: center;

    min-height: 70px;

    column-gap: 9px;

    padding: 10px;

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.08);
}


.bmh-board-glance__stats span {
    grid-row:
        1 / 3;

    display: grid;

    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.10);
}


.bmh-board-glance__stats strong {
    align-self: end;

    color: #fff;

    font-size: 17px;
}


.bmh-board-glance__stats small {
    align-self: start;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 7px;
}


.bmh-board-glance__institutions {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 6px;

    margin-top: 9px;
}


.bmh-board-glance__institutions > div {
    padding:
        8px
        9px;

    border-radius: 9px;

    background:
        rgba(2, 46, 28, 0.25);
}


.bmh-board-glance__institutions small,
.bmh-board-glance__institutions strong {
    display: block;
}


.bmh-board-glance__institutions small {
    color:
        rgba(255, 255, 255, 0.58);

    font-size: 6.5px;
}


.bmh-board-glance__institutions strong {
    margin-top: 2px;

    color: #fff;

    font-size: 12px;
}


/* Officer / Section panels */

.bmh-board-directory {
    height: 100%;

    padding: 20px;

    overflow: auto;
}


.bmh-board-directory__head p {
    max-width: 510px;

    margin:
        6px
        0
        0;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 9px;
}


.bmh-board-directory__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin-top: 16px;
}


.bmh-board-directory__card {
    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 76px;

    padding: 12px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.08);
}


.bmh-board-directory__card > span {
    display: grid;

    place-items: center;

    flex:
        0
        0
        38px;

    width: 38px;
    height: 38px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.10);
}


.bmh-board-directory__card strong,
.bmh-board-directory__card small {
    display: block;
}


.bmh-board-directory__card strong {
    color: #fff;

    font-size: 10px;
}


.bmh-board-directory__card small {
    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.60);

    font-size: 7px;
}


.bmh-board-sections-list {
    display: grid;

    gap: 7px;

    margin-top: 16px;
}


.bmh-board-sections-list a {
    display: grid;

    grid-template-columns:
        34px
        minmax(0, 1fr)
        20px;

    align-items: center;

    gap: 9px;

    min-height: 52px;

    padding:
        8px
        11px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.08);

    color: #fff;
}


.bmh-board-sections-list a:hover,
.bmh-board-sections-list a:focus-visible {
    background:
        rgba(255, 255, 255, 0.14);
}


.bmh-board-sections-list a > span {
    display: grid;

    place-items: center;

    width: 34px;
    height: 34px;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.10);
}


.bmh-board-sections-list strong {
    font-size: 9px;
}


/* Existing rich/database content inside dark panel */

.bmh-board-hub__database-content {
    margin-top: 14px;
    max-height: 450px;

    color:
        rgba(255, 255, 255, 0.86);
}


.bmh-board-hub__database-content,
.bmh-board-hub__database-content p,
.bmh-board-hub__database-content td,
.bmh-board-hub__database-content th {
    color:
        rgba(255, 255, 255, 0.86);
}


.bmh-board-hub__database-content table {
    width: 100% !important;
}


.bmh-board-hub__database-content a {
    color: #fff;
}


/* =========================================================
   BOARD AT A GLANCE - EXPANDED INSTITUTION DASHBOARD
========================================================= */

.bmh-board-glance {
    position: relative;

    overflow: hidden;
}


/* Main decorative bubble */

.bmh-board-glance::after {
    content: "";

    position: absolute;

    right: -60px;
    bottom: -72px;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    background:
        rgba(152, 190, 79, 0.09);

    pointer-events: none;

    transition:
        transform .35s ease,
        opacity .35s ease;
}


.bmh-board-glance:hover::after {
    transform:
        scale(1.12);

    opacity: .85;
}


/* Header */

.bmh-board-glance__head {
    position: relative;

    z-index: 2;
}


.bmh-board-glance__head > a {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .08);

    color: #fff;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}


.bmh-board-glance__head > a:hover {
    background:
        rgba(255, 255, 255, .14);

    transform:
        translateX(2px);
}


/* =========================================================
   FOUR PRIMARY SUMMARY CARDS
========================================================= */

.bmh-board-glance__summary {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


.bmh-glance-summary-card {
    position: relative;

    display: flex;

    align-items: center;

    min-width: 0;

    gap: 10px;

    border:
        1px
        solid
        rgba(255, 255, 255, .11);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .075);

    overflow: hidden;

    transition:
        transform .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.bmh-glance-summary-card.bmh-card-hover-lift:hover {
    border-color:
        rgba(255, 255, 255, .22);

    background:
        rgba(255, 255, 255, .12);

    box-shadow:
        0 10px 22px
        rgba(0, 0, 0, .08);
}


.bmh-glance-summary-card__icon {
    position: relative;

    z-index: 2;

    display: grid;

    place-items: center;

    flex:
        0
        0
        36px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .12);

    color: #fff;

    transition:
        transform .22s ease,
        background-color .22s ease;
}


.bmh-glance-summary-card.bmh-card-hover-lift:hover
.bmh-glance-summary-card__icon {
    transform:
        scale(1.06);

    background:
        rgba(255, 255, 255, .18);
}


.bmh-glance-summary-card > div {
    position: relative;

    z-index: 2;

    min-width: 0;
}


.bmh-glance-summary-card strong {
    display: block;

    color: #fff;
    font-weight: 750;
}


.bmh-glance-summary-card small {
    display: block;

    color:
        rgba(255, 255, 255, .72);
    font-weight: 600;
}


/* =========================================================
   SHARED CARD BUBBLE
========================================================= */

.bmh-glance-card-bubble {
    position: absolute;

    right: -24px;
    bottom: -29px;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .045);

    pointer-events: none;

    transition:
        transform .3s ease,
        background-color .3s ease;
}


.bmh-glance-summary-card.bmh-card-hover-lift:hover
.bmh-glance-card-bubble,
.bmh-glance-district-card.bmh-card-hover-lift:hover
.bmh-glance-card-bubble,
.bmh-glance-breakdown-card.bmh-card-hover-lift:hover
.bmh-glance-card-bubble {
    transform:
        scale(1.28);

    background:
        rgba(255, 255, 255, .08);
}


/* =========================================================
   SUBHEADING
========================================================= */

.bmh-board-glance__subhead {
    position: relative;

    z-index: 2;
}


.bmh-board-glance__subhead span {
    display: block;

    margin-bottom: 2px;

    color:
        #f0cf6a;
    font-weight: 800;

    letter-spacing: .07em;

    text-transform: uppercase;
}


.bmh-board-glance__subhead strong {
    display: block;

    color: #fff;
    font-weight: 700;
}


/* =========================================================
   FOUR DISTRICT CARDS
========================================================= */

.bmh-board-glance__district-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


.bmh-glance-district-card {
    position: relative;

    min-width: 0;

    border:
        1px
        solid
        rgba(255, 255, 255, .10);

    border-radius: 11px;

    background:
        rgba(4, 63, 39, .22);

    overflow: hidden;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}


.bmh-glance-district-card.bmh-card-hover-lift:hover {
    border-color:
        rgba(255, 255, 255, .20);

    background:
        rgba(255, 255, 255, .085);
}


.bmh-glance-district-card__head {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 7px;
}


.bmh-glance-district-card__head > span {
    display: grid;

    place-items: center;

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .10);

    color:
        #f0cf6a;
}


.bmh-glance-district-card__head strong {
    color: #fff;
    font-weight: 700;
}


.bmh-glance-district-card__stats {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.bmh-glance-district-card__stats > div {

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .065);
}


.bmh-glance-district-card__stats small,
.bmh-glance-district-card__stats strong {
    display: block;
}


.bmh-glance-district-card__stats small {
    color:
        rgba(255, 255, 255, .60);
}


.bmh-glance-district-card__stats strong {

    color: #fff;
}


.bmh-glance-district-card__total {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    border-top:
        1px
        solid
        rgba(255, 255, 255, .09);
}


.bmh-glance-district-card__total span {
    color:
        rgba(255, 255, 255, .60);
}


.bmh-glance-district-card__total strong {
    color: #fff;
}


/* =========================================================
   SSC / HSSC BREAKDOWN
========================================================= */

.bmh-board-glance__breakdown {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.bmh-glance-breakdown-card {
    position: relative;

    min-width: 0;

    border:
        1px
        solid
        rgba(255, 255, 255, .10);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, .065);

    overflow: hidden;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}


.bmh-glance-breakdown-card.bmh-card-hover-lift:hover {
    border-color:
        rgba(255, 255, 255, .20);

    background:
        rgba(255, 255, 255, .10);
}


.bmh-glance-breakdown-card__head {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        32px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 8px;
}


.bmh-glance-breakdown-card__icon {
    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, .10);

    color: #fff;
}


.bmh-glance-breakdown-card__head small,
.bmh-glance-breakdown-card__head strong {
    display: block;
}


.bmh-glance-breakdown-card__head small {
    color:
        #f0cf6a;

    text-transform: uppercase;

    letter-spacing: .05em;
}


.bmh-glance-breakdown-card__head strong {
    margin-top: 2px;

    color: #fff;
}


.bmh-glance-breakdown-card__total {
    color: #fff;
    font-weight: 750;
}


.bmh-glance-breakdown-card__grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


.bmh-glance-breakdown-card__grid > div {
    min-width: 0;

    border-radius: 8px;

    background:
        rgba(3, 52, 32, .24);
}


.bmh-glance-breakdown-card__grid small,
.bmh-glance-breakdown-card__grid strong {
    display: block;
}


.bmh-glance-breakdown-card__grid small {
    color:
        rgba(255, 255, 255, .58);
}


.bmh-glance-breakdown-card__grid strong {

    color: #fff;
}


/* =========================================================
   IMPROVE TEXT READABILITY
========================================================= */

.bmh-board-glance {
    font-size: 12px;
}

.bmh-board-chairman {
    font-size: 16px;
}

/* ============================================================
   BOARD AT A GLANCE
   COMPACT HEIGHT + LARGER READABLE TEXT
============================================================ */

.bmh-board-glance {
    padding: 18px 20px !important;
}


/* ============================================================
   SECTION HEADER
============================================================ */

.bmh-board-glance__head {
    margin-bottom: 12px !important;
}

.bmh-board-hub__eyebrow {
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px !important;
}

.bmh-board-glance__head h3 {
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin: 4px 0 0 !important;
}

.bmh-board-glance__head > a {
    padding: 8px 12px !important;
    font-size: 11px !important;
}


/* ============================================================
   TOP 4 SUMMARY CARDS
============================================================ */

.bmh-board-glance__summary {
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.bmh-glance-summary-card {
    min-height: 72px !important;
    padding: 11px 13px !important;
}

.bmh-glance-summary-card__icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 17px !important;
}

.bmh-glance-summary-card strong {
    font-size: 22px !important;
    line-height: 1 !important;
}

.bmh-glance-summary-card small {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin-top: 5px !important;
}


/* ============================================================
   DISTRICT SECTION HEADING
============================================================ */

.bmh-board-glance__subhead {
    margin: 8px 0 9px !important;
}

.bmh-board-glance__subhead span {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.bmh-board-glance__subhead strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
}


/* ============================================================
   DISTRICT CARDS
============================================================ */

.bmh-board-glance__district-grid {
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.bmh-glance-district-card {
    padding: 11px 12px 9px !important;
    min-height: 0 !important;
}

.bmh-glance-district-card__head {
    margin-bottom: 8px !important;
}

.bmh-glance-district-card__head > span {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 14px !important;
}

.bmh-glance-district-card__head strong {
    font-size: 14px !important;
    line-height: 1.2 !important;
}


/* SSC / HSSC small boxes */

.bmh-glance-district-card__stats {
    gap: 7px !important;
}

.bmh-glance-district-card__stats > div {
    padding: 7px 9px !important;
    min-height: 48px !important;
}

.bmh-glance-district-card__stats small {
    font-size: 10px !important;
    line-height: 1 !important;
}

.bmh-glance-district-card__stats strong {
    font-size: 16px !important;
    line-height: 1.1 !important;
    margin-top: 4px !important;
}


/* District total */

.bmh-glance-district-card__total {
    margin-top: 6px !important;
    padding-top: 6px !important;
}

.bmh-glance-district-card__total span {
    font-size: 10px !important;
}

.bmh-glance-district-card__total strong {
    font-size: 16px !important;
    line-height: 1 !important;
}


/* ============================================================
   SSC / HSSC BREAKDOWN
============================================================ */

.bmh-board-glance__breakdown {
    gap: 10px !important;
    margin-top: 0 !important;
}

.bmh-glance-breakdown-card {
    padding: 10px 12px !important;
    min-height: 0 !important;
}

.bmh-glance-breakdown-card__head {
    margin-bottom: 8px !important;
}

.bmh-glance-breakdown-card__icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 17px !important;
}

.bmh-glance-breakdown-card__head small {
    font-size: 9px !important;
    line-height: 1.1 !important;
}

.bmh-glance-breakdown-card__head strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
}

.bmh-glance-breakdown-card__total {
    font-size: 21px !important;
    line-height: 1 !important;
}


/* Breakdown 3 category boxes */

.bmh-glance-breakdown-card__grid {
    gap: 7px !important;
}

.bmh-glance-breakdown-card__grid > div {
    padding: 7px 9px !important;
    min-height: 44px !important;
}

.bmh-glance-breakdown-card__grid small {
    font-size: 9px !important;
    line-height: 1.15 !important;
}

.bmh-glance-breakdown-card__grid strong {
    font-size: 15px !important;
    line-height: 1 !important;
    margin-top: 4px !important;
}

/* =========================================================
   FINAL REFINEMENTS + STABLE INITIAL PAINT
========================================================= */

/* Slightly denser page rhythm while keeping mobile breathing room. */
.bmh-section-head {
    margin-bottom: 18px;
}

/* Public-facing text should not feel like a dense admin dashboard. */
.bmh-service-directory-card__title,
.bmh-institution-compact-card__content strong,
.bmh-download-card-copy strong,
.bmh-contact-office-item h4 {
    letter-spacing: 0;
}

.bmh-service-directory-card__db-content,
.bmh-institution-compact-card__content small,
.bmh-download-card-copy small,
.bmh-location-detail__content,
.bmh-footer__grid > div > a:not(.bmh-brand) {
    font-size: 11px;
}

/* Institution cards: slightly more compact than the redesign draft. */
.bmh-institution-compact-card {
    min-height: 112px;
    padding-block: 15px;
}

/* Contact cards: compact without reducing tap/readability. */
.bmh-contact-office-item {
    padding-block: 12px;
}

/* Footer readability. */

/* Gallery: before Slick, reserve the final geometry and show one real slide only. */
.bmh-gallery-slider:not(.slick-initialized) .bmh-gallery-slide {
    position: absolute;
    inset: 0;
}

.bmh-gallery-slider:not(.slick-initialized) .bmh-gallery-slide:not(:first-child) {
    display: none !important;
}

[data-bmh-gallery]:not(.is-initialized) .bmh-gallery-controls,
[data-bmh-gallery]:not(.is-initialized) .bmh-gallery-dots {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

[data-bmh-gallery].is-initialized .bmh-gallery-controls,
[data-bmh-gallery].is-initialized .bmh-gallery-dots {
    visibility: visible;
    opacity: 1;
}

/* Latest Updates is CSS-first: only the Blade-marked active panel paints. */
.bmh-tab-pane:not(.is-active) {
    display: none;
}

/*
 * Services: avoid flashing the complete database list before JS applies
 * the default "key" filter. The Blade already outputs data-service-tags.
 */
[data-bmh-service-browser]:not(.is-initialized)
[data-bmh-service-item] {
    display: none !important;
}

[data-bmh-service-browser]:not(.is-initialized)
[data-bmh-service-item][data-service-tags~="key"] {
    display: block !important;
}

[data-bmh-service-browser]:not(.is-initialized)
[data-bmh-service-empty] {
    display: none !important;
}

/* More consistent About tabs. */

.bmh-board-hub__tab.is-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--bmh-red);
}

.bmh-board-hub__tab {
    position: relative;
}

/* Board map is intentionally narrow; vertical artwork gets room without dead space. */
.bmh-board-hub__shell {
    grid-template-columns:
        minmax(360px, 0.68fr)
        minmax(0, 1.32fr);
}

/* Smooth component readiness without hiding usable content. */
[data-bmh-gallery].is-initialized .bmh-gallery-slider,
[data-bmh-service-browser].is-initialized {
    visibility: visible;
}

/* =========================================================
   FINAL TYPOGRAPHY REFINEMENT
========================================================= */

/* General supporting text */


/* Latest Updates */

.bmh-update-copy strong {
    line-height: 1.4;
}


/* Services */
.bmh-service-filter {
    font-size: 11px;
}

.bmh-services-browser__heading p {
    font-size: 11px;
}

.bmh-service-directory-card__db-content,
.bmh-service-directory-card--actions .service-w-button {
    font-size: 11.5px;
}


/* Institution Corner */


/* Board at a Glance */

.bmh-board-glance__subhead span {
    font-size: 8px;
}

.bmh-board-glance__subhead strong {
    font-size: 13px;
}

.bmh-glance-district-card__stats small,
.bmh-glance-district-card__total span {
    font-size: 8px;
}

.bmh-glance-district-card__total strong {
    font-size: 13px;
}

.bmh-glance-breakdown-card__head small {
    font-size: 7.5px;
}

.bmh-glance-breakdown-card__head strong {
    font-size: 12px;
}


/* Downloads */

.bmh-model-paper-item strong {
    font-size: 12.5px;
}

.bmh-model-paper-item em {
    font-size: 9px;
}


/* Contact */
.bmh-contact-office-item h4 {
    font-size: 15.5px;
}

.bmh-contact-office-item a {
    font-size: 12px;
}

.bmh-location-detail strong {
    font-size: 12.5px;
}

.bmh-location-detail__content {
    font-size: 11.5px;
}


/* Footer */


/* =========================================================
   FINAL HOMEPAGE UI REFINEMENT
   Typography, density and component balance
========================================================= */


/* =========================================================
   1. GLOBAL SECTION SPACING
========================================================= */

/*
 * Desktop was 50px.
 * Reduce the long-page feeling while retaining clear separation.
 */
@media (min-width: 901px) {

    .bmh-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .bmh-institution-section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .bmh-section-head {
        margin-bottom: 18px;
    }

}


/* =========================================================
   2. SMALL TEXT READABILITY
========================================================= */

/*
 * Keep main headings unchanged.
 * Increase only supporting copy and small labels.
 */


/* Latest Updates */

.bmh-update-copy small {
    font-size: 8px;
}

.bmh-update-copy strong {
    font-size: 12.5px;
}

.bmh-updates-footer {
    font-size: 10px;
}


/* Services */

.bmh-services-browser__heading p,
.bmh-featured-services__head p {
    font-size: 11px;
    line-height: 1.5;
}

.bmh-service-directory-card__content small {
    font-size: 9px;
    line-height: 1.45;
}

.bmh-service-directory-card__content strong {
    font-size: 13px;
    line-height: 1.35;
}


/* Institution Corner */

.bmh-institution-compact-card__content strong {
    font-size: 14px;
}


/* Downloads */

.bmh-download-card-copy strong {
    font-size: 13px;
}

.bmh-download-card-copy small {
    font-size: 10.5px;
}

.bmh-model-papers-intro small {
    font-size: 10.5px;
}


/* Board */

.bmh-board-hub__tab strong {
    font-size: 12px;
}

.bmh-board-hub__tab small {
    font-size: 9px;
}

.bmh-board-hub__map p {
    font-size: 11px;
}

.bmh-board-hub__districts span {
    font-size: 9px;
}


/* Contact */

.bmh-contact-office-item {
    font-size: 12px;
}

.bmh-contact-office-item strong {
    font-size: 13px;
}


/* Footer */

.bmh-footer__grid > div > a:not(.bmh-brand) {
    font-size: 13px;
    line-height: 1.5;
}

.bmh-footer__bottom {
    font-size: 12px;
}


/* =========================================================
   3. ABOUT SECTION BALANCE
========================================================= */

/*
 * Keep the permanent map, but give more room to
 * Chairman / At a Glance / Officers / Sections.
 */

@media (min-width: 1101px) {

    .bmh-board-hub__shell {
        grid-template-columns:
            minmax(330px, 0.63fr)
            minmax(0, 1.37fr);
    }

    .bmh-board-hub__map {
        margin:
            20px
            14px
            20px
            20px;

        padding:
            22px
            20px
            18px;
    }

    .bmh-board-hub__content {
        padding:
            20px
            20px
            20px
            0;
    }

}


/*
 * The jurisdiction artwork is vertical.
 * Avoid forcing it to fill excessive horizontal space.
 */

.bmh-board-hub__map-image {
    padding-inline: 8px;
}

.bmh-board-hub__map-image img {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
}


/* =========================================================
   4. ABOUT TABS
========================================================= */

.bmh-board-hub__tab {
    min-height: 72px;

    border-color:
        rgba(15, 90, 55, 0.10);

    box-shadow:
        0
        7px
        20px
        rgba(18, 78, 49, 0.055);
}


.bmh-board-hub__tab:not(.is-active):hover,
.bmh-board-hub__tab:not(.is-active):focus-visible {
    background:
        #f3f9f5;

    border-color:
        rgba(34, 136, 82, 0.26);

    transform:
        translateY(-2px);
}


.bmh-board-hub__tab.is-active {
    box-shadow:
        0
        10px
        24px
        rgba(18, 78, 49, 0.13);
}


/* Existing red accent remains, make it slightly tighter */

.bmh-board-hub__tab.is-active::after {
    right: 22px;
    left: 22px;
}

.bmh-board-hub__shell.is-profile-relocated {
    position: relative;
    isolation: isolate;
    border: 1px solid var(--bmh-line);
    border-radius: var(--bmh-radius);
    background: #fff;
    box-shadow: var(--bmh-shadow);
}

.bmh-board-hub__shell.is-profile-relocated::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    z-index: 0;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(34, 136, 82, 0.055);
    pointer-events: none;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__content {
    position: relative;
    z-index: 1;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-glance,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-directory,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-db-content {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--bmh-text);
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman h3,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-glance h3,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-directory h3,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-content-title h3 {
    color: var(--bmh-green-dark);
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__eyebrow,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-content-title > div > span {
    color: var(--bmh-red);
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman__head,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-directory__head,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-content-title {
    display: block;
    margin-bottom: 12px;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-about-content-title__icon,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman__quote {
    display: none;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__eyebrow,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-content-title > div > span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman h3,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-directory h3,
.bmh-board-hub__shell.is-profile-relocated .bmh-about-content-title h3 {
    margin: 2px 0 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman__quote {
    color: var(--bmh-green);
    opacity: 0.28;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-chairman__database-content,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__database-content,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__database-content p,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__database-content td,
.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__database-content th {
    color: var(--bmh-text);
}

.bmh-board-hub__shell.is-profile-relocated
.bmh-board-chairman__database-content {
    overflow-x: hidden;
}

.bmh-board-hub__shell.is-profile-relocated
.bmh-board-chairman__database-content .row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    width: 100%;
    margin: 12px 0 0 !important;
}

.bmh-board-hub__shell.is-profile-relocated
.bmh-board-chairman__database-content .row > div {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

.bmh-board-hub__shell.is-profile-relocated
.bmh-board-chairman__database-content img {
    width: 210px !important;
    height: 210px !important;
    max-width: 210px !important;
}

.bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__database-content a {
    color: var(--bmh-green-dark);
}

@media (max-width: 900px) {
    .bmh-board-hub .bmh-board-hub__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow-x: visible;
        padding-bottom: 0;
    }

    .bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__content {
        height: 440px;
        padding: 14px;
    }

    .bmh-board-hub__shell.is-profile-relocated
    .bmh-board-chairman__database-content .row {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 16px;
    }

    .bmh-board-hub__shell.is-profile-relocated
    .bmh-board-chairman__database-content img {
        width: 170px !important;
        height: 170px !important;
        max-width: 170px !important;
    }
}

@media (max-width: 600px) {
    .bmh-board-hub .bmh-board-hub__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .bmh-board-hub .bmh-board-hub__tab {
        width: 100%;
        min-height: 64px;
    }

    .bmh-board-hub__shell.is-profile-relocated .bmh-board-hub__content {
        height: 520px;
        padding: 12px;
    }

    .bmh-board-hub__shell.is-profile-relocated
    .bmh-board-chairman__database-content .row {
        display: block;
    }

    .bmh-board-hub__shell.is-profile-relocated
    .bmh-board-chairman__database-content .row > div:first-child {
        display: flex;
        justify-content: center;
        margin-bottom: 14px;
    }

    .bmh-board-hub__shell.is-profile-relocated
    .bmh-board-chairman__database-content img {
        width: 210px !important;
        height: 210px !important;
        max-width: 210px !important;
    }
}


/* =========================================================
   5. BOARD AT A GLANCE DENSITY
========================================================= */

.bmh-board-glance {
    padding: 16px;
}


.bmh-board-glance__summary {
    gap: 7px;
}


.bmh-glance-summary-card {
    min-height: 70px;

    padding:
        10px
        11px;
}


.bmh-glance-summary-card strong {
    font-size: 18px;
}


.bmh-board-glance__subhead {
    margin:
        11px
        0
        7px;
}


.bmh-board-glance__district-grid {
    gap: 7px;
}


.bmh-glance-district-card {
    padding: 9px;
}


.bmh-glance-district-card__head {
    margin-bottom: 7px;
}


.bmh-glance-district-card__stats > div {
    padding:
        6px
        7px;
}


.bmh-glance-district-card__stats small {
    font-size: 8px;
}


.bmh-glance-district-card__stats strong {
    font-size: 13px;
}


.bmh-board-glance__breakdown {
    margin-top: 7px;
}


.bmh-glance-breakdown-card {
    padding: 9px;
}


.bmh-glance-breakdown-card__grid > div {
    padding:
        6px
        7px;
}


.bmh-glance-breakdown-card__grid small {
    font-size: 7.5px;
}


.bmh-glance-breakdown-card__grid strong {
    font-size: 11px;
}


/* =========================================================
   6. SERVICES FILTER + SEARCH ALIGNMENT
========================================================= */

/*
 * Existing HTML already has the correct order:
 * Browse heading
 * Filters + Search
 * Cards
 *
 * Keep filters/search on one baseline on desktop.
 */

@media (min-width: 901px) {

    .bmh-services-browser__tools {
        align-items: center !important;

        margin-top: 8px;
        margin-bottom: 10px;
    }

    .bmh-services-browser__tools
    .bmh-service-filters {
        min-height: 42px;

        align-items: center;
    }

    .bmh-services-browser__tools
    .bmh-service-search {
        align-self: center;
    }

    .bmh-service-search input {
        min-height: 42px;
    }

}


/* =========================================================
   7. INSTITUTION CORNER - COMPACT CARDS
========================================================= */

@media (min-width: 1201px) {

    .bmh-institution-compact-grid {
        gap: 10px;
    }

    .bmh-institution-compact-card {
        grid-template-columns:
            42px
            minmax(0, 1fr)
            26px;

        min-height: 118px;

        gap: 11px;

        padding:
            15px
            14px;
    }

    .bmh-institution-compact-card__icon {
        width: 42px;
        height: 42px;

        border-radius: 11px;

        font-size: 15px;
    }

    .bmh-institution-compact-card__content strong {
        margin-bottom: 4px;
    }

    .bmh-institution-compact-card__arrow {
        width: 26px;
        height: 26px;
    }

}


/* =========================================================
   8. MODEL PAPERS DIFFERENTIATION
========================================================= */

.bmh-model-papers-card {
    border-color:
        rgba(34, 136, 82, 0.20);

    background:
        linear-gradient(
            135deg,
            #fbfefc,
            #f2f8f4
        );

    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(255, 255, 255, 0.65);
}


.bmh-model-papers-card::after {
    background:
        rgba(34, 136, 82, 0.075);
}


.bmh-model-paper-item {
    background:
        rgba(255, 255, 255, 0.72);

    border-color:
        rgba(15, 103, 66, 0.14);
}


.bmh-model-paper-item:hover,
.bmh-model-paper-item:focus-visible {
    background: #fff;

    box-shadow:
        0
        7px
        18px
        rgba(18, 78, 49, 0.07);
}


/* =========================================================
   9. CONTACT SECTION COMPACTION
========================================================= */

.bmh-contact-card-head {
    padding:
        16px
        20px
        13px;
}


.bmh-contact-directory {
    padding: 16px;
}


.bmh-contact-office-item {
    min-height: 76px;
}


/* Keep the map visually dominant without adding extra height */

.bmh-location-details {
    font-size: 11px;
}


/* =========================================================
   10. FOOTER REFINEMENT
========================================================= */

.bmh-footer {
    padding:
        36px
        0
        16px;
}


.bmh-footer__grid {
    gap: 22px;
}


.bmh-footer__grid h3 {
    margin-bottom: 10px;

    font-size: 16px;
}


.bmh-footer__grid > div > a:not(.bmh-brand) {
    padding:
        4px
        0;
}


.bmh-footer__bottom {
    margin-top: 22px;

    padding-top: 13px;

    color: rgba(255, 255, 255, 0.7);

    font-weight: 500;
}


/* =========================================================
   FINAL REFINEMENTS - EXCLUDING CHAIRMAN
========================================================= */


/* =========================================================
   1. BOARD AT A GLANCE - IMPROVE SMALL LABEL READABILITY
========================================================= */

.bmh-glance-summary-card small,
.bmh-glance-district-card__stats small,
.bmh-glance-district-card__total span,
.bmh-glance-breakdown-card__head small,
.bmh-glance-breakdown-card__grid small {
    font-size: 8px;
    line-height: 1.35;
}


.bmh-glance-summary-card small {
    font-size: 9.5px;
}


.bmh-glance-district-card__head strong {
    font-size: 11.5px;
}


.bmh-glance-district-card__total span {
    font-size: 8px;
}


/* =========================================================
   2. SERVICES - SLIGHTLY NARROW FEATURED SIDEBAR
========================================================= */

@media (min-width: 1101px) {

    .bmh-services-directory-layout {
        grid-template-columns:
            225px
            minmax(0, 1fr);
    }

}


/* =========================================================
   3. SERVICES - MORE SPACE BETWEEN TITLE AND ACTIONS
========================================================= */

.bmh-service-directory-card__content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.bmh-service-directory-card__db-content {
    margin-top: 8px;
}


.bmh-service-directory-card__db-content
.service-w-button {
    margin-top: 8px;
}


.bmh-service-directory-card__content strong
+ .bmh-service-directory-card__db-content {
    margin-top: 8px;
}


/* Featured services also get a little breathing room */


/* =========================================================
   4. INSTITUTION CORNER - SLIGHT READABILITY IMPROVEMENT
========================================================= */

.bmh-institution-compact-card__content small {
    font-size: 10.5px;
    line-height: 1.45;
}


/* =========================================================
   5. DOWNLOADS - REMOVE FORCED EMPTY HEIGHT
========================================================= */


.bmh-download-modern-content {
    height: auto;
    min-height: 0;
}


.bmh-facebook-card {
    height: auto;
    align-self: start;
}


/*
 * Prevent the left Downloads panel from stretching
 * to Facebook's height.
 */


/* =========================================================
   6. DOWNLOADS - KEEP CARDS COMPACT
========================================================= */

.bmh-download-primary-card {
    min-height: 124px;
}


.bmh-model-papers-card {
    margin-top: 10px;
}


/* =========================================================
   7. CONTACT - SMALL FINAL TIGHTENING
========================================================= */

.bmh-contact-office-grid {
    gap: 7px;
}


.bmh-contact-office-item {
    padding:
        9px
        11px;
}


.bmh-contact-office-item strong {
    margin-bottom: 3px;
}


/* =========================================================
   8. GENERAL CARD HOVER CONSISTENCY
========================================================= */

/* =========================================================
   9. TABLET POLISH
========================================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .bmh-services-directory-layout {
        grid-template-columns:
            210px
            minmax(0, 1fr);
    }

    .bmh-glance-summary-card small {
        font-size: 9px;
    }

    .bmh-institution-compact-card__content small {
        font-size: 10px;
    }

}

/* =========================================================
   DATABASE DOWNLOADS + SOCIAL FOLLOW PANEL
========================================================= */

.bmh-download-modern-layout {
    align-items: stretch;
}

.bmh-download-modern-layout > * {
    min-height: 100%;
}

.bmh-download-modern-content,
.bmh-social-follow-card {
    height: 100%;
}

.bmh-social-follow-card {
    align-self: stretch;
}

.bmh-download-primary-grid--3,
.bmh-model-papers-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bmh-download-primary-grid--2,
.bmh-model-papers-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmh-download-primary-grid--1,
.bmh-model-papers-grid--1 {
    grid-template-columns: minmax(0, 1fr);
}

.bmh-social-follow-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 103, 66, 0.10);
    background: #fff;
}

.bmh-social-follow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.bmh-social-follow-action:hover,
.bmh-social-follow-action:focus-visible {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.94);
}

.bmh-social-follow-action.is-facebook {
    background: #1877f2;
}

.bmh-social-follow-action.is-x {
    background: #111;
}

.bmh-social-follow-action.is-youtube {
    background: #e62117;
}

.bmh-social-follow-card .bmh-facebook-card__body {
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
    padding: 12px;
}

.bmh-social-follow-card .bmh-facebook-card__body iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 300px;
}

.bmh-deferred-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--bmh-border);
    border-radius: 13px;
    background: var(--bmh-green-soft);
}

.bmh-deferred-embed--facebook {
    min-height: 300px;
}

.bmh-deferred-embed--map {
    min-height: 295px;
}

.bmh-deferred-embed__placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border: 0;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(34, 136, 82, 0.13),
            transparent 34%
        ),
        linear-gradient(145deg, #f8fcfa, var(--bmh-green-soft));
    color: var(--bmh-green-dark);
    cursor: pointer;
    text-align: left;
}

.bmh-deferred-embed__placeholder:hover,
.bmh-deferred-embed__placeholder:focus-visible {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(34, 136, 82, 0.2),
            transparent 36%
        ),
        linear-gradient(145deg, #fff, #e1f2e9);
}

.bmh-deferred-embed__icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--bmh-green);
    color: var(--bmh-white);
    font-size: 1.1rem;
}

.bmh-deferred-embed--facebook
    .bmh-deferred-embed__icon {
    background: #1877f2;
}

.bmh-deferred-embed__placeholder strong,
.bmh-deferred-embed__placeholder small {
    display: block;
}

.bmh-deferred-embed__placeholder strong {
    font-size: 0.95rem;
}

.bmh-deferred-embed__placeholder small {
    margin-top: 3px;
    color: var(--bmh-muted);
    font-size: 0.78rem;
}

.bmh-deferred-embed
    [data-bmh-deferred-frame] {
    display: block;
    width: 100% !important;
}

.bmh-deferred-embed[data-bmh-deferred-state="loading"]
    .bmh-deferred-embed__placeholder::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(34, 136, 82, 0.2);
    border-top-color: var(--bmh-green);
    border-radius: 50%;
    content: "";
    animation: bmh-spin 0.8s linear infinite;
}

@keyframes bmh-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   COMPACT SERVICES DIRECTORY
========================================================= */

.bmh-services-directory-layout {
    grid-template-columns:
        minmax(340px, 370px)
        minmax(0, 1fr);
    gap: 16px;
}

.bmh-featured-services {
    padding: 18px;
}

.bmh-featured-services__list {
    gap: 4px;
    margin-top: 14px;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2) {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: rgba(255, 255, 255, 0.82) !important;
}

.bmh-services-browser__tools .bmh-service-filters {
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 0;
    overflow: visible;
}

.bmh-service-filter {
    min-height: 30px;
    gap: 5px;
    padding: 5px 11px;
}

.bmh-service-more-menu {
    z-index: 100;
}

.bmh-service-directory-grid {
    gap: 7px;
}

.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {
    margin-top: 6px;
}

.bmh-service-directory-card--actions .service-w-button br {
    display: none;
}

.bmh-service-directory-card--actions
.service-w-button .btn {
    flex: 0 1 auto;
    margin: 0 !important;
    border-color: rgba(15, 103, 66, 0.13) !important;
    background: rgba(34, 136, 82, 0.045) !important;
    color: var(--bmh-green-dark) !important;
    font-weight: 650 !important;
}

.bmh-service-directory-card--actions
.service-w-button .btn:hover,
.bmh-service-directory-card--actions
.service-w-button .btn:focus {
    border-color: rgba(15, 103, 66, 0.30) !important;
}

.bmh-service-directory-card__icon {
    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.bmh-service-directory-card:hover
.bmh-service-directory-card__icon,
.bmh-service-directory-card:focus-within
.bmh-service-directory-card__icon {
    background: var(--bmh-green);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   v11 design-system alignment
   Palette, type hierarchy, backgrounds, cards, buttons,
   header/navigation and urgent ticker
========================================================= */

.bmh-page {
    background: var(--bmh-cream);
    color: var(--bmh-ink);
    font-family: var(--bmh-font-ui);
}

.bmh-home .bmh-hero-section {
    background: var(--bmh-cream);
}

.bmh-home .bmh-section {
    background: var(--bmh-cream);
}

.bmh-home #bmh-board,
.bmh-home #bmh-institutions,
.bmh-home #bmh-downloads {
    background: var(--bmh-white);
}

.bmh-home #bmh-services,
.bmh-home #board-at-a-glance,
.bmh-home #bmh-contact {
    background: var(--bmh-cream);
}

.bmh-card-head h2,
.bmh-section-head h2 {
    color: var(--bmh-green-900);
    font-size: var(--bmh-title-section-size);
    font-weight: var(--bmh-title-weight);
    line-height: var(--bmh-title-line-height);
    letter-spacing: var(--bmh-title-tracking);
}

.bmh-card-head h2 {
    font-size: var(--bmh-title-card-size);
}

.bmh-section-head p {
    max-width: 56ch;
    color: var(--bmh-muted);
    font-size: 15px;
    line-height: 1.55;
}

.bmh-eyebrow,
.bmh-featured-services__eyebrow {
    color: var(--bmh-coral-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.bmh-card-head > a,
.bmh-section-head > a {
    color: var(--bmh-green-800);
    font-size: 13px;
    font-weight: 700;
}

.bmh-home :is(
    .bmh-card,
    .bmh-institution-compact-card,
    .bmh-download-primary-card,
    .bmh-download-secondary-card,
    .bmh-contact-directory-card,
    .bmh-contact-office-item,
    .bmh-service-directory-card,
    .bmh-glance-summary-card,
    .bmh-glance-district-card,
    .bmh-glance-breakdown-card
) {
    border-color: var(--bmh-border);
    border-radius: var(--bmh-radius-md);
    background-color: var(--bmh-white);
    box-shadow: var(--bmh-shadow-sm);
}

.bmh-home :is(
    .bmh-gallery-card,
    .bmh-updates-card,
    .bmh-about,
    .bmh-glance,
    .bmh-featured-services
) {
    border-radius: var(--bmh-radius-lg);
}

.bmh-home :is(
    .bmh-card,
    .bmh-institution-compact-card,
    .bmh-download-primary-card,
    .bmh-download-secondary-card,
    .bmh-contact-office-item,
    .bmh-service-directory-card
):hover {
    border-color: var(--bmh-coral-100);
    box-shadow: var(--bmh-shadow-md);
    transform: none;
}

.bmh-btn {
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.bmh-btn:hover {
    box-shadow: none;
    transform: none;
}

.bmh-btn--accent {
    background: var(--bmh-coral);
    color: var(--bmh-white);
}

.bmh-btn--accent:hover,
.bmh-btn--accent:focus-visible {
    background: var(--bmh-coral-dark);
    color: var(--bmh-white);
}

.bmh-btn--outline {
    border-color: var(--bmh-green-900);
    background: transparent;
    color: var(--bmh-green-900);
}

.bmh-btn--outline:hover,
.bmh-btn--outline:focus-visible {
    border-color: var(--bmh-green-900);
    background: var(--bmh-green-900);
    color: var(--bmh-white);
}

.bmh-topbar {
    background: var(--bmh-featured-panel-background);
    color: var(--bmh-cream);
}

.bmh-brandbar {
    border-bottom: 1px solid var(--bmh-border);
    background: var(--bmh-white);
}

.bmh-header-search input[type="text"],
.bmh-header-search input[type="search"] {
    border-color: var(--bmh-border);
    background: var(--bmh-green-50);
    color: var(--bmh-ink);
}

.bmh-header-search input[type="text"]:focus,
.bmh-header-search input[type="search"]:focus {
    border-color: var(--bmh-coral);
    background: var(--bmh-white);
    box-shadow: 0 0 0 3px rgba(226, 101, 60, 0.12);
}

.bmh-nav {
    border: 0;
    background: var(--bmh-green-900);
    box-shadow: var(--bmh-shadow-sm);
}

.bmh-nav-menu .bmh-nav-link,
.bmh-nav-menu .bmh-nav-link.is-active,
.bmh-nav-toggle {
    color: var(--bmh-cream);
}

.bmh-nav-menu .bmh-nav-link i,
.bmh-nav-menu .bmh-nav-link.is-active i {
    color: currentColor;
}

.bmh-nav-menu .bmh-nav-link:hover,
.bmh-nav-menu .bmh-nav-link:focus-visible,
.bmh-nav-menu .bmh-nav-link.is-active {
    background: rgba(226, 101, 60, 0.12);
    color: var(--bmh-white);
}

.bmh-nav-menu .bmh-nav-link::after {
    background: var(--bmh-coral);
}

.bmh-nav-menu .bmh-nav-link:focus-visible {
    outline-color: var(--bmh-coral);
}

.bmh-urgent {
    border: 0;
    background: var(--bmh-coral);
    color: var(--bmh-white);
}

.bmh-urgent__item,
.bmh-urgent__item:hover,
.bmh-urgent__item:focus-visible {
    color: var(--bmh-white);
}

.bmh-urgent__item::before {
    color: var(--bmh-white);
}

.bmh-urgent .bmh-carousel-control--urgent {
    background: rgba(255, 255, 255, 0.18);
    color: var(--bmh-white);
    box-shadow: none;
}

.bmh-urgent .bmh-carousel-control--urgent:hover,
.bmh-urgent .bmh-carousel-control--urgent:focus-visible {
    background: rgba(255, 255, 255, 0.32);
    color: var(--bmh-white);
}

.bmh-home #board-at-a-glance :is(
    .bmh-glance-summary-card,
    .bmh-glance-district-card,
    .bmh-glance-breakdown-card
) {
    border-color: var(--bmh-border);
    background: var(--bmh-white);
}

.bmh-home #board-at-a-glance :is(
    .bmh-glance-summary-card,
    .bmh-glance-district-card,
    .bmh-glance-breakdown-card
):hover {
    border-color: var(--bmh-coral-100);
    background: var(--bmh-green-50);
    transform: none;
}

.bmh-home #board-at-a-glance .bmh-glance-summary-card__icon,
.bmh-home #board-at-a-glance .bmh-glance-district-card__head > span,
.bmh-home #board-at-a-glance .bmh-glance-breakdown-card__icon {
    background: var(--bmh-green-50);
    color: var(--bmh-green-800);
}

.bmh-home #board-at-a-glance :is(
    .bmh-glance-summary-card strong,
    .bmh-glance-district-card__head strong,
    .bmh-glance-district-card__stats strong,
    .bmh-glance-district-card__total strong,
    .bmh-glance-breakdown-card__head strong,
    .bmh-glance-breakdown-card__total,
    .bmh-glance-breakdown-card__grid strong
) {
    color: var(--bmh-ink);
}

.bmh-home #board-at-a-glance :is(
    .bmh-glance-summary-card small,
    .bmh-glance-district-card__stats small,
    .bmh-glance-district-card__total span,
    .bmh-glance-breakdown-card__grid small
) {
    color: var(--bmh-green-900);
}

.bmh-home #board-at-a-glance :is(
    .bmh-glance-district-card__stats > div,
    .bmh-glance-breakdown-card__grid > div
) {
    background: var(--bmh-green-50);
}

.bmh-home #board-at-a-glance .bmh-glance-district-card__total {
    border-top-color: var(--bmh-border);
}

.bmh-home #board-at-a-glance .bmh-glance-breakdown-card__head small {
    color: var(--bmh-coral-dark);
}

.bmh-home #board-at-a-glance .bmh-glance-card-bubble {
    background: rgba(57, 112, 92, 0.06);
}

.bmh-home #bmh-services .bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-home #bmh-services .bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2) {
    font-size: 12px !important;
    line-height: 1.15 !important;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 10px 11px !important;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions
.bmh-service-directory-card__head {
    grid-template-columns: 36px minmax(0, 1fr) 30px;
    align-items: start;
    gap: 8px;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions
.bmh-service-directory-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
}

.bmh-home #bmh-services .bmh-service-directory-card__heading small {
    margin-bottom: 2px;
    font-size: 7px;
}

.bmh-home #bmh-services .bmh-service-directory-card__title {
    font-size: 12px;
    line-height: 1.2;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions
.bmh-service-directory-card__arrow {
    width: 30px;
    height: 30px;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: 36px;
    margin-top: auto;
    padding-top: 6px;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions
.service-w-button {
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.bmh-home #bmh-services .bmh-service-directory-card--actions
.service-w-button .btn {
    min-height: 24px;
    padding: 3px 7px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
}

@media (max-width: 820px) {
    .bmh-home #bmh-services .bmh-service-directory-card--actions {
        height: auto;
        min-height: 118px;
    }
}

/* =========================================================
   Shared service-card header + flush action-footer pattern
========================================================= */

.bmh-featured-services__list > .bmh-featured-service-link {
    display: flex !important;
    flex-direction: column;
}

.bmh-featured-service-link__main {
    grid-template-columns: minmax(0, 1fr) 18px;
    min-height: 42px;
    padding: 8px 11px 7px !important;
}

.bmh-featured-service-link__main > i:first-child {
    margin-top: 1px;
    font-size: 14px;
}

.bmh-featured-service-link__main > span {
    font-size: 13px;
    line-height: 1.25;
}

.bmh-featured-service-link__main
.bmh-featured-service-link__arrow {
    font-size: 11px;
}

.bmh-featured-service-actions {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.bmh-featured-service-actions .service-w-button {
    gap: 4px;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2) {
    min-height: 24px !important;
    padding: 3px 7px !important;
    font-size: 11.5px !important;
}

.bmh-service-directory-card--actions {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 10px 11px !important;
}

.bmh-service-directory-card--actions
.bmh-service-directory-card__head {
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    align-items: start;
    gap: 8px;
}

.bmh-service-directory-card--actions
.bmh-service-directory-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 15px;
}

.bmh-service-directory-card__heading small {
    margin-bottom: 2px;
    font-size: 7.5px;
}

.bmh-service-directory-card__title {
    font-size: 13px;
    line-height: 1.2;
}

.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {
    display: flex;
    align-items: center;
    width: calc(100% + 22px);
    min-height: 34px;
    margin: auto -11px -10px;
    border-top: 1px solid var(--bmh-border);
}

.bmh-service-directory-card--actions
.service-w-button {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}

.bmh-service-directory-card--actions
.service-w-button .btn {
    min-height: 24px;
    padding: 3px 7px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
}

@media (max-width: 820px) {
    .bmh-service-directory-card--actions {
        height: auto;
        min-height: 122px;
    }
}

/* =========================================================
   Service action footers: divided links, not buttons
========================================================= */

.bmh-featured-service-actions {
    padding: 0 !important;
    background: transparent;
}

.bmh-featured-service-actions .service-w-button,
.bmh-service-directory-card--actions .service-w-button {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2),
.bmh-service-directory-card--actions
.service-w-button .btn {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 29px !important;
    margin: 0 !important;
    padding: 5px 9px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
    text-align: left;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(odd) {
    border-right-color: var(--bmh-border) !important;
}

.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(n+3) {
    border-top: 1px solid var(--bmh-border) !important;
}

.bmh-featured-service-actions
.service-w-button .btn:only-of-type,
.bmh-service-directory-card--actions
.service-w-button .btn:last-of-type:nth-of-type(odd) {
    grid-column: 1 / -1;
    border-right: 0 !important;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):hover,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1):focus,
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2):focus {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #fff !important;
}

.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {
    padding: 0;
    background: transparent;
}

.bmh-service-directory-card--actions
.service-w-button .btn:hover,
.bmh-service-directory-card--actions
.service-w-button .btn:focus {
    background: var(--bmh-green-50) !important;
    color: var(--bmh-green-900) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(odd) {
    border-right: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(n+3) {
    border-top: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:last-of-type:nth-of-type(odd) {
    grid-column: 1 / -1;
    border-right: 0 !important;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn {
    justify-content: center;
    text-align: center;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button br {
    display: none !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card__heading,
:is(#bmh-services, #services)
.bmh-service-directory-card__title {
    text-align: left;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(1),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.bmh-featured-service-actions
.service-w-button .btn:nth-of-type(2),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(n+3) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
}

.bmh-featured-service-actions
.service-w-button .btn:only-of-type,
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:only-of-type {
    grid-column: 1 / -1 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1) {
    right: auto;
    left: 11px;
    z-index: 2;
    display: inline-flex !important;
    color: var(--bmh-green-900) !important;
    font-weight: 700 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(2) {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(3) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    border-right: 0 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:not(:has(.btn:nth-of-type(3)))
.btn:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 2 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:not(:has(.btn:nth-of-type(3)))
.btn:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1) {
    top: 56px;
    bottom: auto;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content:has(.btn:nth-of-type(3)) {
    min-height: 58px;
    border-top: 0;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3)) {
    grid-template-rows: repeat(2, minmax(29px, auto)) !important;
    grid-auto-flow: row;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(2) {
    border-right: 1px solid var(--bmh-border) !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: 29px !important;
    grid-auto-flow: row !important;
    gap: 0 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:not(:has(.btn:nth-of-type(3)))
.btn:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 2 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:not(:has(.btn:nth-of-type(3)))
.btn:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3)) {
    grid-template-rows: repeat(2, 29px) !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1) {
    position: static !important;
    grid-area: 1 / 1 / 2 / 3 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / 2 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(3) {
    grid-area: 2 / 2 / 3 / 3 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note) {
    grid-template-rows: repeat(2, 29px) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content:has(.bmh-service-directory-card__note) {
    min-height: 58px;
    border-top: 0;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__note {
    grid-area: 1 / 1 / 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    color: var(--bmh-green-900);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:nth-of-type(1) {
    grid-area: 2 / 1 / 3 / 2 !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:nth-of-type(2) {
    grid-area: 2 / 2 / 3 / 3 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note):not(:has(.btn:nth-of-type(3))) {
    width: 100%;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note):not(:has(.btn:nth-of-type(3)))
.bmh-service-directory-card__note {
    position: absolute;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note):not(:has(.btn:nth-of-type(3)))
.btn {
    position: absolute !important;
    bottom: 0;
    width: 50% !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note):not(:has(.btn:nth-of-type(3)))
.btn:nth-of-type(1) {
    left: 0;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note):not(:has(.btn:nth-of-type(3)))
.btn:nth-of-type(2) {
    right: 0;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1),
#services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1) {
    place-self: center !important;
    width: auto !important;
    min-height: 25px !important;
    padding: 4px 11px !important;
    border: 1px solid var(--bmh-border) !important;
    border-radius: 7px !important;
    background: var(--bmh-green-50) !important;
}

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1):hover,
#services
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1):hover {
    border-color: rgba(15, 103, 66, 0.28) !important;
    background: var(--bmh-green-100) !important;
    color: var(--bmh-green-900) !important;
}

/* =========================================================
   Service directory cards
========================================================= */

:is(#bmh-services, #services) .bmh-service-directory-grid {
    gap: 12px;
}

:is(#bmh-services, #services) .bmh-service-directory-card--actions {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 168px;
    padding: 14px 14px 0 !important;
    overflow: hidden;
    border: 1px solid var(--bmh-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(18, 78, 49, 0.08);
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__head {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    align-items: start;
    width: 100%;
    gap: 10px;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 15px;
}

:is(#bmh-services, #services)
.bmh-service-directory-card__heading small {
    margin: 0 0 3px;
    color: var(--bmh-red);
    font-size: 8px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.25px;
}

:is(#bmh-services, #services)
.bmh-service-directory-card__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--bmh-green-dark);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.28;
    text-align: left;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__arrow {
    justify-self: end;
    width: 32px;
    height: 32px;
    font-size: 9px;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__new {
    top: 9px;
    right: 51px;
    padding: 3px 7px;
    font-size: 7px;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {
    display: flex;
    align-items: stretch;
    width: calc(100% + 28px);
    margin: auto -14px 0;
    padding: 0;
    overflow: hidden;
    background: rgba(234, 245, 239, 0.35);
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: 42px !important;
    grid-auto-flow: row !important;
    height: 100%;
    gap: 0 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 11px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--bmh-green-dark) !important;
    font-size: 10.5px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    text-overflow: clip !important;
    text-align: left !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn::after {
    content: "\2192";
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 7px;
    font-size: 13px;
    line-height: 1;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 2 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3 !important;
    border-left: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:only-of-type {
    grid-column: 1 / -1 !important;
    border-left: 0 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3)),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note) {
    grid-template-rows: 34px 42px !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1) {
    position: static !important;
    grid-area: 1 / 1 / 2 / 3 !important;
    place-self: center !important;
    width: auto !important;
    padding: 4px 11px !important;
    border-radius: 7px !important;
    background: var(--bmh-green-soft) !important;
    text-align: center !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(1)::after {
    display: none;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / 2 !important;
    border-top: 1px solid var(--bmh-border) !important;
    border-left: 0 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-of-type(3) {
    grid-area: 2 / 2 / 3 / 3 !important;
    border-top: 1px solid var(--bmh-border) !important;
    border-left: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note):not(:has(.btn:nth-of-type(3))) {
    position: static !important;
    display: grid !important;
    height: 76px !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button
.bmh-service-directory-card__note {
    grid-area: 1 / 1 / 2 / 3;
    align-self: center;
    inset: auto;
    color: var(--bmh-green-dark);
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:nth-of-type(1) {
    grid-area: 2 / 1 / 3 / 2 !important;
    border-top: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:nth-of-type(2) {
    grid-area: 2 / 2 / 3 / 3 !important;
    border-top: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:hover,
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:focus {
    background: var(--bmh-green-soft) !important;
    color: var(--bmh-green-deep) !important;
}

@media (max-width: 820px) {
    :is(#bmh-services, #services) .bmh-service-directory-card--actions {
        height: auto;
        min-height: 168px;
    }
}

/* =========================================================
   Services card alignment and featured panel
========================================================= */

.bmh-home #bmh-services
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content,
#services
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content {
    width: calc(100% + 28px) !important;
    margin: auto -14px 0 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button {
    width: 100% !important;
}

:is(#bmh-services, #services)
.bmh-featured-services__eyebrow {
    color: #fff !important;
    font-size: 13px;
    letter-spacing: 0.7px;
}

:is(#bmh-services, #services)
.bmh-featured-services__head p {
    color: rgba(255, 255, 255, 0.78) !important;
}

:is(#bmh-services, #services)
.bmh-featured-services__list {
    gap: 8px;
}

:is(#bmh-services, #services)
.bmh-featured-services__list > .bmh-featured-service-link {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease,
        box-shadow .22s ease;
}

:is(#bmh-services, #services)
.bmh-featured-services__list > .bmh-featured-service-link.bmh-card-hover-lift:hover {
    border-color: rgba(255, 255, 255, 0.27);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 22px rgba(8, 39, 31, 0.18);
}

:is(#bmh-services, #services)
.bmh-featured-service-link__main {
    min-height: 0;
}

:is(#bmh-services, #services)
.bmh-featured-service-link__main > i:first-child {
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

:is(#bmh-services, #services)
.bmh-featured-service-link__main > span {
    font-weight: 750;
    text-align: left;
}

:is(#bmh-services, #services)
.bmh-featured-service-link__main
.bmh-featured-service-link__arrow {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    gap: 2px 7px !important;
    padding: 0 !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button:has(.btn:nth-of-type(3)) {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn {
    position: static !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-overflow: clip !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:nth-last-of-type(n+3),
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:nth-last-of-type(-n+2),
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:only-of-type {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    line-height: 1.35 !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:not(:first-of-type)::before {
    width: 1px;
    height: 10px;
    margin-right: 7px;
    background: rgba(255, 255, 255, 0.30);
    content: "";
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:hover,
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:focus {
    background: transparent !important;
    color: #fff !important;
    text-decoration: underline !important;
}

/* =========================================================
   Featured cards: aligned title and single-line links
========================================================= */

:is(#bmh-services, #services)
.bmh-featured-services__list > .bmh-featured-service-link {
    min-height: 74px;
}

:is(#bmh-services, #services)
.bmh-featured-service-link__main > span {
    display: block;
    line-height: 1.25;
}

:is(#bmh-services, #services)
.bmh-featured-service-link__main
.bmh-featured-service-link__arrow {
    align-self: center;
    margin: 0;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button,
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button:has(.btn:nth-of-type(3)) {
    align-items: center;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn,
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:nth-last-of-type(n+3),
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:nth-last-of-type(-n+2),
:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:only-of-type {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    padding: 0 7px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:first-of-type {
    padding-left: 0 !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:last-of-type {
    padding-right: 0 !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions
.service-w-button .btn:not(:first-of-type)::before {
    display: none;
}

/* =========================================================
   Directory cards: content actions and final footer actions
========================================================= */

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content:not(:has(.btn:nth-of-type(3))):not(:has(.bmh-service-directory-card__note)) {
    flex: 0 0 42px;
    width: calc(100% + 28px) !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: auto -14px 0 !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:not(:has(.btn:nth-of-type(3))):not(:has(.bmh-service-directory-card__note)) {
    height: 42px !important;
    min-height: 42px !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:not(:has(.btn:nth-of-type(3))):not(:has(.bmh-service-directory-card__note))
.btn {
    position: relative !important;
    display: block !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 7px 29px 7px 11px !important;
    overflow: hidden !important;
    line-height: 28px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content:has(.btn:nth-of-type(3)),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.bmh-service-directory-card__db-content:has(.bmh-service-directory-card__note) {
    flex: 0 0 112px;
    width: calc(100% + 28px) !important;
    height: 112px !important;
    min-height: 112px !important;
    margin: auto -14px 0 !important;
    border-top: 0;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3)),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note) {
    position: relative !important;
    display: flex !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    height: 112px !important;
    min-height: 112px !important;
    gap: 4px !important;
    padding: 7px 8px 49px !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn::after {
    display: none !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button .btn:nth-last-of-type(-n+2)::after {
    position: absolute;
    top: 50%;
    right: 10px;
    display: block !important;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-last-of-type(n+3) {
    position: static !important;
    display: inline-flex !important;
    flex: 0 1 auto;
    width: auto !important;
    max-width: calc(100% - 8px) !important;
    height: 26px !important;
    min-height: 26px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    overflow: hidden !important;
    border: 1px solid var(--bmh-border) !important;
    border-radius: 7px !important;
    background: var(--bmh-green-soft) !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Hover lift is opt-in for compact cards only. */
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-last-of-type(-n+2),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:nth-last-of-type(-n+2) {
    position: absolute !important;
    bottom: 0 !important;
    display: block !important;
    width: 50% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px 29px 7px 11px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-top: 1px solid var(--bmh-border) !important;
    border-radius: 0 !important;
    background: rgba(234, 245, 239, 0.35) !important;
    line-height: 28px !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:nth-last-of-type(2),
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:nth-last-of-type(2) {
    right: auto !important;
    left: 0 !important;
    border-right: 1px solid var(--bmh-border) !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.btn:nth-of-type(3))
.btn:last-of-type,
:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button:has(.bmh-service-directory-card__note)
.btn:last-of-type {
    right: 0 !important;
    left: auto !important;
}

:is(#bmh-services, #services)
.bmh-service-directory-card--actions
.service-w-button
.bmh-service-directory-card__note {
    position: static !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Compact three-row desktop service grid */

@media (min-width: 821px) {
}

/* =========================================================
   Homepage review pass: visual system and accessibility
========================================================= */

.bmh-brand-heading {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--bmh-green-950);
    font-family: var(--bmh-font-display);
    font-size: clamp(1.5rem, 1.75vw, 1.75rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: 0.005em;
}

.bmh-brand-heading .bmh-brand-title {
    color: inherit;
}

.bmh-brand-heading + .site-urdu-name {
    display: block;
    margin: 5px 0 0;
    color: var(--bmh-green-800);
    font-size: 1.125rem;
    line-height: 1.55 !important;
}

.bmh-home {
    color: var(--bmh-ink);
}

.bmh-home .bmh-section {
    padding-block: 56px;
}

.bmh-home .bmh-section--soft {
    background: var(--bmh-surface-2);
}

.bmh-home .bmh-section-head {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 14px;
}

.bmh-home .bmh-section-head h2,
.bmh-home .bmh-card-head h2 {
    color: var(--bmh-green-900);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.bmh-home .bmh-section-head h2 {
    font-size: clamp(25px, 1.9vw, 28px);
    line-height: 1.15;
}

.bmh-home .bmh-section-head p {
    max-width: 760px;
    margin-top: 7px;
    color: var(--bmh-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.bmh-home .bmh-eyebrow {
    margin-bottom: 5px;
    color: var(--bmh-coral-700);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.bmh-home .bmh-card,
.bmh-home .bmh-institution-compact-card,
.bmh-home .bmh-contact-office-item,
.bmh-home .bmh-glance-summary-card {
    border-color: var(--bmh-border);
    border-radius: var(--bmh-radius-md);
    box-shadow: var(--bmh-shadow-sm);
}

.bmh-home .bmh-card-head {
    padding: 16px 18px 13px;
    border-color: var(--bmh-border);
}

.bmh-home .bmh-card-head h2 {
    font-size: 1.15rem;
    line-height: 1.25;
}

.bmh-home .bmh-card-head > a,
.bmh-home .bmh-section-head > a {
    color: var(--bmh-green-800);
    font-size: 0.81rem;
    font-weight: 750;
}

.bmh-btn,
.bmh-home button,
.bmh-home [role="button"] {
    font-size: 0.81rem;
}

.bmh-btn--accent {
    border-color: var(--bmh-green-800);
    background: var(--bmh-green-800);
    color: var(--bmh-white);
}

.bmh-btn--accent:hover,
.bmh-btn--accent:focus-visible {
    border-color: var(--bmh-green-900);
    background: var(--bmh-green-900);
    color: var(--bmh-white);
}

.bmh-shell :is(a, button, input, select, textarea, [role="button"], [role="tab"]):focus-visible {
    outline: 3px solid rgba(57, 112, 92, 0.32);
    outline-offset: 3px;
}

.bmh-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bmh-nav-updates,
.bmh-nav-updates span {
    color: var(--bmh-white) !important;
}

.bmh-nav-updates b,
.bmh-gallery-tag,
.bmh-update-new {
    background: var(--bmh-coral-700) !important;
    color: var(--bmh-white) !important;
}

.bmh-urgent {
    background: var(--bmh-coral-700);
}

.bmh-eyebrow {
    color: #ad492e;
}

:is(#bmh-services, #services) .bmh-featured-service-actions .service-w-button .btn {
    min-height: 32px !important;
    align-items: center;
    justify-content: center;
    padding-block: 7px !important;
}

.bmh-topbar__links a,
.bmh-social__label,
.bmh-nav-link,
.bmh-brand-actions .bmh-btn {
    font-size: 0.81rem;
}

.bmh-social a {
    width: 36px;
    height: 36px;
}

.bmh-urgent__item {
    color: var(--bmh-white);
    font-family: var(--bmh-font-urdu) !important;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.8;
}

.bmh-tab-list button,
.bmh-updates-footer a,
.bmh-update-item,
.bmh-update-item small {
    font-size: 0.81rem;
}

.bmh-institution-compact-card__content strong,
.bmh-contact-office-item h4,
.bmh-glance-summary-card strong {
    color: var(--bmh-green-900);
}

.bmh-institution-compact-card__content small,
.bmh-contact-office-item p,
.bmh-contact-office-item a,
.bmh-location-detail__content,
.bmh-glance-summary-card small {
    color: var(--bmh-muted);
    font-size: 0.81rem;
    line-height: 1.45;
}

.bmh-footer__grid h3 {
    font-size: 1rem;
    font-weight: 750;
}

.bmh-footer__grid > div > a:not(.bmh-brand) {
    min-height: 36px;
    padding-block: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.81rem;
    line-height: 1.45;
}

.bmh-footer__bottom {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    line-height: 1.5;
}

.bmh-gallery-slide img {
    aspect-ratio: 956 / 420;
}

.bmh-gallery-slide[aria-hidden="true"],
.bmh-gallery-slide[aria-hidden="true"] a,
.bmh-gallery-slide[aria-hidden="true"] button {
    pointer-events: none;
}

/* Featured Services: compact, flexible, database-driven rows. */

:is(#bmh-services, #services) .bmh-featured-services {
    padding: 18px;
    background: linear-gradient(155deg, var(--bmh-green-900), var(--bmh-green-800));
}

:is(#bmh-services, #services) .bmh-featured-services__head {
    gap: 10px;
    margin-bottom: 14px;
}

:is(#bmh-services, #services) .bmh-featured-services__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 14px;
}

:is(#bmh-services, #services) .bmh-featured-services__eyebrow {
    font-size: 0.75rem !important;
    line-height: 1.25;
}

:is(#bmh-services, #services) .bmh-featured-services__head p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0.78rem;
    line-height: 1.4;
}

:is(#bmh-services, #services) .bmh-featured-services__list {
    gap: 7px;
}

:is(#bmh-services, #services) .bmh-featured-services__list > .bmh-featured-service-link {
    min-height: 64px;
}

:is(#bmh-services, #services) .bmh-featured-service-link__main {
    grid-template-columns: 18px minmax(0, 1fr) 12px !important;
    gap: 9px;
    padding: 10px 12px 7px !important;
}

:is(#bmh-services, #services) .bmh-featured-service-link__main > span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bmh-white);
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.3;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

:is(#bmh-services, #services) .bmh-featured-service-actions {
    padding: 0 12px 9px !important;
}

:is(#bmh-services, #services)
.bmh-featured-service-actions .service-w-button .btn,
:is(#bmh-services, #services)
.bmh-featured-service-actions .service-w-button .btn:nth-last-of-type(n+3),
:is(#bmh-services, #services)
.bmh-featured-service-actions .service-w-button .btn:nth-last-of-type(-n+2) {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
}

@media (min-width: 821px) {
}

@media (min-width: 821px) {
}

@media (min-width: 821px) {
}
