: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.125rem, 0.95rem + 0.55vw, 1.5rem); /* ~18px mobile, ~22px laptop, 24px max */
    --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;
}

/* Higher specificity than a bare [dir="rtl"] rule, so styles injected by
   browser extensions (e.g. font-family: 'Urdu' !important) can't replace the theme Urdu font. */
html [dir="rtl"],
html :lang(ur),
html .urdu-font,
html .urdu-title {
    font-family: var(--bmh-font-urdu) !important;
}

.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;
    }
}

/* =========================================================
   SHARED SHELL: page base, buttons, topbar, branding, navigation,
   urgent notices and footer. Home is the reference design; inner
   pages load this same file so both render identically.
========================================================= */

/*
 * 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: 700;

    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: 700;

    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: 2.8;
    padding-bottom:7px;

    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;
}



/* =========================================================
   Shared shell refinements (moved from home.css in source order)
========================================================= */

.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);
}

.bmh-footer__grid > div > a:not(.bmh-brand) {
    font-size: 11px;
}

.bmh-footer__grid > div > a:not(.bmh-brand) {
    font-size: 13px;
    line-height: 1.5;
}

.bmh-footer__bottom {
    font-size: 12px;
}

.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;
}

.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;
    /* Same size Home gets from `.bmh-home button`; inner pages have no .bmh-home wrapper. */
    font-size: 0.81rem;
}

.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-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-nav-updates,
.bmh-nav-updates span {
    color: var(--bmh-white) !important;
}

.bmh-nav-updates b {
    background: var(--bmh-coral-700) !important;
    color: var(--bmh-white) !important;
}

.bmh-urgent {
    background: var(--bmh-coral-700);
}

.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: 2.6;
}

.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;
}

/*
 * Rules shared by the Home bundle and the inner bundle.
 * /services and /contact-us use the inner layout but load the Home bundle,
 * so the page shell, the inner page title and the social actions live here.
 */

/* PAGE SHELL */
.bmh-inner-page-shell {
    min-width: 0;
    padding: 16px 0 32px;
}

/* Home sections reused as full inner pages (/services, /contact-us). */
.bmh-section.bmh-services-page-shared,
.bmh-section.bmh-contact-page-shared {
    padding: 0;
    background: transparent;
}

.bmh-contact-page-shared > .bmh-inner-content {
    width: 100%;
}

/*
 * INNER PAGE TITLE
 * One design for every inner page heading variant:
 * .bmh-page-intro, .bmh-inner-title, .bmh-news-detail__header and legacy .section-title.
 */
.bmh-page-intro,
.bmh-inner-title,
.bmh-news-detail__header,
.bmh-inner-content .section-title {
    margin: 0 0 12px;
    padding: 13px 16px;
    border: 1px solid var(--bmh-border);
    border-radius: 14px;
    background: var(--bmh-white);
    box-shadow: var(--bmh-shadow);
    text-align: left;
}

.bmh-page-intro,
.bmh-inner-title,
.bmh-news-detail__header {
    display: grid;
    gap: 3px;
}

.bmh-page-intro .bmh-eyebrow,
.bmh-inner-title__eyebrow,
.bmh-news-detail__eyebrow {
    display: block;
    margin: 0;
    color: var(--bmh-accent);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bmh-page-title,
.bmh-page-intro h1,
.bmh-inner-title h1,
.bmh-news-detail__header h1 {
    margin: 0;
    color: var(--bmh-green-dark);
    font-size: var(--bmh-title-inner-size) !important;
    font-weight: var(--bmh-title-inner-weight) !important;
    line-height: var(--bmh-title-inner-line-height) !important;
    overflow-wrap: anywhere;
    text-align: left;
    text-wrap: balance;
}

.bmh-page-intro p,
.bmh-inner-title p,
.bmh-news-detail__header p {
    max-width: 820px;
    margin: 0;
    color: var(--bmh-muted);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
}

/* INNER TITLE SOCIAL ACTIONS */
/* Social source is moved into the heading by script where supported. */
.bmh-inner-social-source {
    display: none;
}

.bmh-inner-heading-with-social {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 16px;
    align-items: center;
}

.bmh-inner-heading-with-social > :not(.bmh-inner-social) {
    grid-column: 1;
}

.bmh-inner-heading-with-social > .bmh-inner-social {
    grid-column: 2;
    grid-row: 1 / span 4;
}

.bmh-inner-social {
    grid-column: 2;
    grid-row: 1 / span 4;
}

.bmh-inner-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--bmh-border);
    border-radius: 999px;
    background: var(--bmh-green-soft);
}

.bmh-inner-social__label {
    padding: 0 5px 0 7px;
    color: var(--bmh-green-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bmh-inner-social__action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--bmh-white) !important;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}

.bmh-inner-social__action:hover,
.bmh-inner-social__action:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.bmh-inner-social__action--facebook {
    background: #1877f2;
}

.bmh-inner-social__action--x {
    background: #111;
}

.bmh-inner-social__action--whatsapp {
    background: #168c4f;
}

.bmh-inner-social__action--youtube {
    background: #d92828;
}

.bmh-inner-social__widget {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

.bmh-inner-social__widget iframe {
    display: block;
    max-width: none;
}

.bmh-inner-social__widget--youtube {
    min-width: 105px;
}

/* Tablet and mobile: title block on top, social actions below, all left aligned. */
@media (max-width: 1050px) {
    .bmh-inner-heading-with-social {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .bmh-inner-heading-with-social > .bmh-inner-social {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        justify-content: flex-start;
        max-width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .bmh-page-intro,
    .bmh-inner-title,
    .bmh-news-detail__header,
    .bmh-inner-content .section-title {
        margin-bottom: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }
}

@media (max-width: 750px) {
    .bmh-page-intro .bmh-eyebrow,
    .bmh-inner-title__eyebrow,
    .bmh-news-detail__eyebrow {
        font-size: 0.7rem;
    }

    .bmh-page-title,
    .bmh-page-intro h1,
    .bmh-inner-title h1,
    .bmh-news-detail__header h1 {
        line-height: 1.3 !important;
    }

    .bmh-page-intro p,
    .bmh-inner-title p,
    .bmh-news-detail__header p {
        font-size: 0.84rem;
    }

    .bmh-inner-heading-with-social > .bmh-inner-social {
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 6px;
        padding: 3px;
    }

    .bmh-inner-social__label {
        display: none;
    }

    .bmh-inner-social__action {
        min-height: 26px;
        gap: 4px;
        padding: 4px 9px;
        font-size: 0.68rem;
        font-weight: 700;
    }
}

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


/* =========================================================
   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
========================================================= */


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


/*
 * 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.
 */


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


/*
 * Slide link / wrapper.
 */


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


/*
 * Gradient overlay.
 */


/*
 * Gallery title.
 */


/*
 * Gallery controls.
 */


/*
 * Gallery dots.
 */


/*
 * Empty gallery state.
 */


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

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


/* =========================================================
   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
========================================================= */


/* Grid */


/* Card */


/* Same decorative bubble language as main cards */


/* Icon */


/* Content */


/* Arrow */


/* 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 */

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














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


/* Large structural cards */


/* Shared internal card heading */


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


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


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


/* Legacy headings */


/* Lists coming from the DB */


/* Contact links */


/* Existing icons inside DB content */


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


/* Google map */


/* Address + hours */


/* Prevent unnecessary Bootstrap/database spacing */


/* Business hours should remain readable */


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

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


/* Bottom-right decorative circle */


/* 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 */


/* Phone and email */

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


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

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

    overflow: hidden;

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

    color: #fff;
}


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


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


/* More filter */


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

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


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


/*
 * Explicitly force filtered cards to disappear.
 */


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

/* 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.
 */


/*
 * Slightly narrower laptop screens.
 */

/* 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.
 */


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


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

/* END Gallery - Slick Slide Positioning Fix */

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

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


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


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


/* Header row */


/* Icon */


/* Heading */


/* Arrow */


/* Action area gets full card width */


/* Retain line breaks */


/* Buttons */


/* New badge */


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


/*
 * 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.
 */


/* Main clickable title row */


/* Hover only the title row */


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


/* Remove old Bootstrap button appearance */


/* First two lightweight action links */


/* Separator */


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


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


/*
 * Put icon and title together.
 */


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


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


/*
 * Hide all actions first.
 */


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


/*
 * Remove the old dot separator.
 */


/*
 * Clear clickable hover state.
 */


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

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

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


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

.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
========================================================= */


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

.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;
}


/* =========================================================
   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
.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 */


/* Give left Downloads side more visual dominance */


/* Slightly wider model-paper cards */


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

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


/*
 * Reduce unnecessary outer spacing.
 */


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

/*
 * Four cards in one row.
 */


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


/*
 * Compact icon.
 */


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


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


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


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


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


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


.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;
}

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


/* Tabs */


/* Main permanent-map shell */


/* Permanent map */


/* Right content */


/* Chairman */


/* Database Chairman content cleanup */


/* Board at a glance */


/* Officer / Section panels */


/* Existing rich/database content inside dark panel */


/* =========================================================
   BOARD AT A GLANCE - EXPANDED INSTITUTION DASHBOARD
========================================================= */


/* Main decorative bubble */


/* Header */


/* =========================================================
   FOUR PRIMARY SUMMARY CARDS
========================================================= */


.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.bmh-card-hover-lift:hover
.bmh-glance-summary-card__icon {
    transform:
        scale(1.06);

    background:
        rgba(255, 255, 255, .18);
}


/* =========================================================
   SHARED CARD BUBBLE
========================================================= */


.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
========================================================= */


/* =========================================================
   FOUR DISTRICT CARDS
========================================================= */


.bmh-glance-district-card.bmh-card-hover-lift:hover {
    border-color:
        rgba(255, 255, 255, .20);

    background:
        rgba(255, 255, 255, .085);
}


/* =========================================================
   SSC / HSSC BREAKDOWN
========================================================= */


.bmh-glance-breakdown-card.bmh-card-hover-lift:hover {
    border-color:
        rgba(255, 255, 255, .20);

    background:
        rgba(255, 255, 255, .10);
}


/* =========================================================
   IMPROVE TEXT READABILITY
========================================================= */

/* ============================================================
   BOARD AT A GLANCE
   COMPACT HEIGHT + LARGER READABLE TEXT
============================================================ */


/* ============================================================
   SECTION HEADER
============================================================ */


/* ============================================================
   TOP 4 SUMMARY CARDS
============================================================ */


/* ============================================================
   DISTRICT SECTION HEADING
============================================================ */


/* ============================================================
   DISTRICT CARDS
============================================================ */


/* SSC / HSSC small boxes */


/* District total */


/* ============================================================
   SSC / HSSC BREAKDOWN
============================================================ */


/* Breakdown 3 category boxes */

/* =========================================================
   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__db-content,
.bmh-institution-compact-card__content small,
.bmh-download-card-copy small,
.bmh-location-detail__content {
    font-size: 11px;
}

/* Institution cards: slightly more compact than the redesign draft. */

/* Contact cards: compact without reducing tap/readability. */

/* Footer readability. */

/* Gallery: before Slick, reserve the final geometry and show one real slide only. */

/* Latest Updates is CSS-first: only the Blade-marked active panel paints. */

/*
 * Services: avoid flashing the complete database list before JS applies
 * the default "key" filter. The Blade already outputs data-service-tags.
 */

/* More consistent About tabs. */

/* Board map is intentionally narrow; vertical artwork gets room without dead space. */

/* Smooth component readiness without hiding usable content. */

/* =========================================================
   FINAL TYPOGRAPHY REFINEMENT
========================================================= */

/* General supporting text */


/* Latest Updates */


/* Services */


/* Institution Corner */


/* Board at a Glance */


/* Downloads */


/* Contact */


/* 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-section-head {
        margin-bottom: 18px;
    }

}


/* =========================================================
   2. SMALL TEXT READABILITY
========================================================= */

/*
 * Keep main headings unchanged.
 * Increase only supporting copy and small labels.
 */


/* Latest Updates */


/* Services */


/* Institution Corner */


/* Downloads */


/* Board */


/* Contact */


/* Footer */




/* =========================================================
   3. ABOUT SECTION BALANCE
========================================================= */

/*
 * Keep the permanent map, but give more room to
 * Chairman / At a Glance / Officers / Sections.
 */


/*
 * The jurisdiction artwork is vertical.
 * Avoid forcing it to fill excessive horizontal space.
 */


/* =========================================================
   4. ABOUT TABS
========================================================= */


/* Existing red accent remains, make it slightly tighter */


/* =========================================================
   5. BOARD AT A GLANCE DENSITY
========================================================= */


/* =========================================================
   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.
 */


/* =========================================================
   7. INSTITUTION CORNER - COMPACT CARDS
========================================================= */


/* =========================================================
   8. MODEL PAPERS DIFFERENTIATION
========================================================= */


/* =========================================================
   9. CONTACT SECTION COMPACTION
========================================================= */


/* Keep the map visually dominant without adding extra height */


/* =========================================================
   10. FOOTER REFINEMENT
========================================================= */











/* =========================================================
   FINAL REFINEMENTS - EXCLUDING CHAIRMAN
========================================================= */


/* =========================================================
   1. BOARD AT A GLANCE - IMPROVE SMALL LABEL READABILITY
========================================================= */


/* =========================================================
   2. SERVICES - SLIGHTLY NARROW FEATURED SIDEBAR
========================================================= */


/* =========================================================
   3. SERVICES - MORE SPACE BETWEEN TITLE AND ACTIONS
========================================================= */


/* Featured services also get a little breathing room */


/* =========================================================
   4. INSTITUTION CORNER - SLIGHT READABILITY IMPROVEMENT
========================================================= */


/* =========================================================
   5. DOWNLOADS - REMOVE FORCED EMPTY HEIGHT
========================================================= */


/*
 * Prevent the left Downloads panel from stretching
 * to Facebook's height.
 */


/* =========================================================
   6. DOWNLOADS - KEEP CARDS COMPACT
========================================================= */


/* =========================================================
   7. CONTACT - SMALL FINAL TIGHTENING
========================================================= */


/* =========================================================
   8. GENERAL CARD HOVER CONSISTENCY
========================================================= */

/* =========================================================
   9. TABLET POLISH
========================================================= */

/* =========================================================
   DATABASE DOWNLOADS + SOCIAL FOLLOW PANEL
========================================================= */

.bmh-download-modern-content,
.bmh-social-follow-card {
    height: 100%;
}

.bmh-social-follow-card {
    align-self: stretch;
}

.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;
}

/* =========================================================
   COMPACT SERVICES DIRECTORY
========================================================= */

/* =========================================================
   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-section {
    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-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);
}
















/* =========================================================
   Shared service-card header + flush action-footer pattern
========================================================= */

/* =========================================================
   Service action footers: divided links, not buttons
========================================================= */

/* =========================================================
   Service directory cards
========================================================= */

/* =========================================================
   Services card alignment and featured panel
========================================================= */

: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);
}

/* =========================================================
   Featured cards: aligned title and single-line links
========================================================= */

/* =========================================================
   Directory cards: content actions and final footer actions
========================================================= */

/* Hover lift is opt-in for compact cards only. */

/* Compact three-row desktop service grid */

/* =========================================================
   Homepage review pass: visual system and accessibility
========================================================= */




.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: 22px;
}

.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-gallery-tag,
.bmh-update-new {
    background: var(--bmh-coral-700) !important;
    color: var(--bmh-white) !important;
}


.bmh-eyebrow {
    color: #ad492e;
}







/* Featured Services: compact, flexible, database-driven rows. */
