/* BMH-INLINE-CSS: moved from home/index.blade.php */


    /* STEP 16Q — EXTENDED MEDIA ROW CSS */
    .bmh-extended-media-row {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .bmh-extended-kicker {
        margin-bottom: 7px;
        color: #e21d2f;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .bmh-extended-media-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 7px 4px 18px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .bmh-extended-media-card {
        position: relative;
        display: flex;
        flex: 0 0 285px;
        min-height: 118px;
        align-items: center;
        gap: 15px;
        padding: 17px;
        border: 1px solid rgba(7,26,47,.08);
        border-radius: 17px;
        background: #fff;
        box-shadow: 0 7px 22px rgba(7,26,47,.055);
        text-decoration: none;
        scroll-snap-align: start;
        transition: transform .18s ease, box-shadow .18s ease;
    }

    .bmh-extended-media-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(7,26,47,.10);
    }

    .bmh-extended-media-logo {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        display: grid;
        place-items: center;
        overflow: hidden;
        border-radius: 15px;
        background: #f0f3f7;
        color: #071a2f;
        font-size: 23px;
        font-weight: 900;
    }

    .bmh-extended-media-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .bmh-extended-media-info {
        min-width: 0;
    }

    .bmh-extended-media-info h3 {
        margin: 0;
        color: #071a2f;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 800;
    }

    .bmh-extended-media-location {
        margin-top: 6px;
        color: #667085;
        font-size: 12px;
        line-height: 1.4;
    }

    .bmh-extended-media-verified {
        display: inline-block;
        margin-top: 7px;
        color: #1877f2;
        font-size: 11px;
        font-weight: 800;
    }

    @media (max-width: 600px) {
        .bmh-extended-media-card {
            flex-basis: 260px;
        }
    }

    .bmh-home {
        --bmh-navy: #071a2f;
        --bmh-navy-2: #0b2945;
        --bmh-red: #e21d2f;
        --bmh-green: #169b62;
        --bmh-text: #172033;
        --bmh-muted: #667085;
        --bmh-border: #e6eaf0;
        --bmh-bg: #f5f7fa;
        background: var(--bmh-bg);
        color: var(--bmh-text);
        overflow: hidden;
    }

    .bmh-container {
        width: min(1200px, calc(100% - 32px));
        margin: 0 auto;
    }


    /* =========================================================
       BMH HERO V2
       Reference-inspired premium discovery hero.
       Homepage only.
       ========================================================= */


    /* =========================================================
       STEP 16L-C-C — POPULAR MEDIA PREMIUM REFINEMENT
       Homepage only. Visual-only refinement.
       No database/controller changes.
       ========================================================= */

    .bmh-popular-media-v2 {
        position: relative;
        overflow: hidden;
        background:
            linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    }

    .bmh-popular-media-v2::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(7,26,47,.10),
            transparent
        );
    }

    .bmh-popular-media-v2 .bmh-section-head {
        position: relative;
        z-index: 1;
    }

    .bmh-popular-media-v2 .bmh-section-title {
        letter-spacing: -.35px;
    }

    .bmh-popular-media-v2 .bmh-section-subtitle {
        max-width: 720px;
    }

    .bmh-popular-media-track {
        position: relative;
        z-index: 1;
        display: flex;
        gap: 18px;
        margin-right: -3px;
        padding: 8px 4px 20px;
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-padding-left: 4px;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .bmh-popular-media-track::-webkit-scrollbar {
        height: 6px;
    }

    .bmh-popular-media-track::-webkit-scrollbar-track {
        background: #eef2f6;
        border-radius: 999px;
    }

    .bmh-popular-media-track::-webkit-scrollbar-thumb {
        background: #c7d0da;
        border-radius: 999px;
    }

    .bmh-popular-media-card {
        position: relative;
        display: flex;
        flex: 0 0 300px;
        min-height: 136px;
        align-items: flex-start;
        gap: 17px;
        padding: 19px 19px 18px;
        border: 1px solid rgba(7,26,47,.085);
        border-radius: 19px;
        background:
            linear-gradient(145deg, #ffffff 0%, #fbfcfd 100%);
        box-shadow:
            0 8px 24px rgba(7,26,47,.055),
            0 1px 2px rgba(7,26,47,.035);
        isolation: isolate;
    }

    .bmh-popular-media-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 18px;
        bottom: 18px;
        width: 3px;
        border-radius: 0 4px 4px 0;
        background: var(--bmh-red);
        opacity: .82;
        transition: height .2s ease, top .2s ease, opacity .2s ease;
    }

    .bmh-popular-media-card:hover {
        transform: translateY(-4px);
        border-color: rgba(226,29,47,.22);
        box-shadow:
            0 17px 36px rgba(7,26,47,.105),
            0 3px 8px rgba(7,26,47,.045);
    }

    .bmh-popular-media-card:hover::before {
        top: 13px;
        bottom: 13px;
        opacity: 1;
    }

    .bmh-popular-media-logo {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        margin-top: 1px;
        border: 1px solid #e6ebf1;
        border-radius: 17px;
        background:
            radial-gradient(circle at 30% 25%, #ffffff, transparent 55%),
            #f4f7fa;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.75),
            0 5px 14px rgba(7,26,47,.055);
    }

    .bmh-popular-media-logo img {
        padding: 8px;
        transition: transform .2s ease;
    }

    .bmh-popular-media-card:hover .bmh-popular-media-logo img {
        transform: scale(1.045);
    }

    .bmh-popular-media-logo span {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            linear-gradient(145deg, rgba(7,26,47,.035), rgba(226,29,47,.045));
        color: var(--bmh-navy);
        font-size: 27px;
        line-height: 1;
    }

    .bmh-popular-media-info {
        flex: 1 1 auto;
        min-width: 0;
        padding: 3px 20px 0 0;
    }

    .bmh-popular-media-info h3 {
        margin: 0 0 8px;
        padding-right: 2px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 900;
        letter-spacing: -.15px;
    }

    .bmh-popular-media-meta {
        display: inline-flex;
        align-items: center;
        min-height: 23px;
        padding: 3px 8px;
        border: 1px solid rgba(226,29,47,.12);
        border-radius: 999px;
        background: rgba(226,29,47,.055);
        color: var(--bmh-red);
        font-size: 10px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: .15px;
    }

    .bmh-popular-media-location {
        margin-top: 9px;
        padding-top: 8px;
        border-top: 1px solid #edf0f4;
        font-size: 10px;
        line-height: 1.35;
    }

    .bmh-popular-media-location::before {
        content: "•";
        margin-right: 5px;
        color: var(--bmh-green);
        font-weight: 900;
    }

    .bmh-popular-verified {
        top: 13px;
        right: 13px;
        width: 21px;
        height: 21px;
        border: 2px solid #fff;
        box-shadow: 0 3px 8px rgba(7,26,47,.13);
        font-size: 10px;
        z-index: 3;
    }

    @media (max-width: 600px) {
        .bmh-popular-media-track {
            gap: 13px;
            padding-bottom: 17px;
        }

        .bmh-popular-media-card {
            flex-basis: 275px;
            min-height: 128px;
            gap: 14px;
            padding: 17px;
            border-radius: 17px;
        }

        .bmh-popular-media-logo {
            flex-basis: 57px;
            width: 57px;
            height: 57px;
            border-radius: 15px;
        }

        .bmh-popular-media-info h3 {
            font-size: 15px;
        }
    }


    .bmh-popular-kicker {
        margin-bottom: 7px;
        color: var(--bmh-red);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 1.5px;
    }

    .bmh-empty-state {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 28px;
        border: 1px dashed #d8dee7;
        border-radius: 15px;
        background: #fafbfc;
        color: var(--bmh-muted);
    }

    .bmh-empty-state strong {
        color: var(--bmh-text);
        font-size: 14px;
    }

    .bmh-empty-state span {
        font-size: 12px;
    }

    


    .bmh-hero {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        background:
            radial-gradient(circle at 88% 18%, rgba(226,29,47,.20), transparent 25%),
            radial-gradient(circle at 5% 85%, rgba(22,155,98,.13), transparent 30%),
            linear-gradient(135deg, #06172b 0%, #0a2946 52%, #0d3b59 100%);
        color: #fff;
        padding: 78px 0 82px;
    }

    .bmh-hero::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: 520px;
        height: 520px;
        right: -170px;
        top: -190px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 50%;
        box-shadow:
            0 0 0 55px rgba(255,255,255,.018),
            0 0 0 110px rgba(255,255,255,.014),
            0 0 0 165px rgba(255,255,255,.010);
    }

    .bmh-hero::after {
        content: "";
        position: absolute;
        z-index: -1;
        left: -180px;
        bottom: -250px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255,255,255,.025);
    }

    .bmh-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
        gap: 62px;
        align-items: center;
    }

    .bmh-hero-copy-wrap {
        max-width: 690px;
    }

    .bmh-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 8px 13px;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 999px;
        background: rgba(255,255,255,.065);
        backdrop-filter: blur(10px);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .25px;
    }

    .bmh-eyebrow-dot {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-radius: 50%;
        background: #36c779;
        box-shadow: 0 0 0 5px rgba(54,199,121,.11);
    }

    .bmh-hero h1 {
        margin: 22px 0 18px;
        max-width: 720px;
        font-size: clamp(38px, 5vw, 66px);
        line-height: 1.08;
        letter-spacing: -1.8px;
        font-weight: 900;
    }

    .bmh-hero h1 span {
        color: #ff4a5b;
    }

    .bmh-hero-copy {
        max-width: 650px;
        margin: 0;
        color: rgba(255,255,255,.74);
        font-size: 16px;
        line-height: 1.85;
    }


    .bmh-hero-trust {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 17px;
    }

    .bmh-hero-trust span {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0 10px;
        border-radius: 8px;
        background: rgba(255,255,255,.055);
        color: rgba(255,255,255,.64);
        font-size: 11px;
        font-weight: 700;
    }

    .bmh-social-row { background: #fff; padding: 30px 0; border-bottom: 1px solid #e6eaf0; }
    .bmh-social-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
    .bmh-social-head-left { display: flex; align-items: center; gap: 10px; }
    .bmh-social-title { color: #071a2f; font-size: 18px; font-weight: 900; }
    .bmh-social-seeall { color: #e21d2f; font-size: 13px; font-weight: 800; white-space: nowrap; }
    .bmh-social-track-wrap { position: relative; }
    .bmh-social-track { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
    .bmh-social-track::-webkit-scrollbar { display: none; }
    .bmh-social-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; font-size: 16px; }
    .bmh-social-arrow-left { left: -6px; }
    .bmh-social-arrow-right { right: -6px; }
    .bmh-social-card { flex: 0 0 180px; background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; padding: 16px; text-align: center; box-shadow: 0 4px 14px rgba(15,35,65,.06); }
    .bmh-social-card-icon { width: 48px; height: 48px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff1f2; font-weight: 900; font-size: 18px; color: #e21d2f; }
    .bmh-social-card-name { font-size: 14px; font-weight: 800; color: #172033; line-height: 1.3; }
    .bmh-social-card-platform { margin-top: 4px; font-size: 10px; color: #98a2b3; }
    .bmh-social-empty { padding: 28px; border-radius: 14px; background: #fafbfc; border: 1px dashed #d8dee7; color: #667085; font-size: 13px; text-align: center; }

    .bmh-hero-checklist {
        position: relative;
        z-index: 2;
        width: min(340px, 92%);
        padding: 26px 24px;
        border-radius: 20px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.16);
        backdrop-filter: blur(14px);
        box-shadow: 0 24px 60px rgba(0,0,0,.24);
    }
    .bmh-hero-checklist-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 9px 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        color: rgba(255,255,255,.85);
        font-size: 13px;
        line-height: 1.5;
    }
    .bmh-hero-checklist-item:last-of-type { border-bottom: 0; }
    .bmh-hero-checklist-icon {
        flex: 0 0 20px; width: 20px; height: 20px;
        display: inline-flex; align-items: center; justify-content: center;
        border-radius: 6px; background: rgba(54,199,121,.18);
        color: #36c779; font-size: 12px; font-weight: 900;
    }
    .bmh-hero-checklist-cta {
        margin-top: 16px; padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,.1);
        color: #ff4a5b; font-size: 15px; font-weight: 900; line-height: 1.4;
    }
    .bmh-hero-panel {
        position: relative;
        min-height: 390px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bmh-orbit {
        position: absolute;
        width: 370px;
        height: 370px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 50%;
        box-shadow:
            0 0 0 42px rgba(255,255,255,.018),
            0 0 0 84px rgba(255,255,255,.012);
    }

    .bmh-orbit::before,
    .bmh-orbit::after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .bmh-orbit::before {
        width: 11px;
        height: 11px;
        top: 33px;
        left: 82px;
        background: #e21d2f;
        box-shadow: 0 0 0 7px rgba(226,29,47,.12);
    }

    .bmh-orbit::after {
        width: 9px;
        height: 9px;
        right: 48px;
        bottom: 85px;
        background: #36c779;
        box-shadow: 0 0 0 7px rgba(54,199,121,.10);
    }

    .bmh-hub-card {
        position: relative;
        z-index: 2;
        width: min(330px, 88%);
        padding: 34px 28px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 25px;
        background: linear-gradient(
            145deg,
            rgba(255,255,255,.13),
            rgba(255,255,255,.055)
        );
        box-shadow:
            0 30px 70px rgba(0,0,0,.28),
            inset 0 1px 0 rgba(255,255,255,.10);
        backdrop-filter: blur(18px);
        text-align: center;
    }

    .bmh-logo-mark {
        width: 76px;
        height: 76px;
        margin: 0 auto 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 21px;
        background: linear-gradient(135deg, #e21d2f, #a80e20);
        color: #fff;
        font-size: 39px;
        font-weight: 950;
        box-shadow: 0 18px 38px rgba(226,29,47,.25);
    }

    .bmh-hub-card h2 {
        margin: 0;
        font-size: 25px;
        font-weight: 900;
        letter-spacing: -.4px;
    }

    .bmh-hub-card p {
        margin: 10px 0 0;
        color: rgba(255,255,255,.62);
        font-size: 12px;
        line-height: 1.7;
    }

    .bmh-hub-card p strong {
        color: rgba(255,255,255,.90);
    }

    /* BMH HERO — PREMIUM DEVICE / WORLD VISUAL */
    .bmh-hero-devices {
        position: relative;
        width: min(100%, 570px);
        min-height: 390px;
        display: flex;
        align-items: center;
        justify-content: center;
        isolation: isolate;
    }

    .bmh-hero-world {
        position: absolute;
        width: 370px;
        height: 370px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 50%;
        box-shadow:
            0 0 0 42px rgba(255,255,255,.018),
            0 0 0 84px rgba(255,255,255,.012);
        z-index: -1;
    }

    .bmh-hero-world::before,
    .bmh-hero-world::after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .bmh-hero-world::before {
        width: 10px;
        height: 10px;
        top: 45px;
        left: 76px;
        background: #e21d2f;
        box-shadow: 0 0 0 7px rgba(226,29,47,.12);
    }

    .bmh-hero-world::after {
        width: 9px;
        height: 9px;
        right: 46px;
        bottom: 78px;
        background: #36c779;
        box-shadow: 0 0 0 7px rgba(54,199,121,.10);
    }

    .bmh-hero-globe {
        position: absolute;
        width: 205px;
        height: 205px;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 50%;
        opacity: .72;
    }

    .bmh-hero-globe::before,
    .bmh-hero-globe::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255,255,255,.075);
        border-radius: 50%;
    }

    .bmh-hero-globe::before {
        transform: scaleX(.42);
    }

    .bmh-hero-globe::after {
        transform: scaleY(.42);
    }

    .bmh-hero-laptop {
        position: relative;
        z-index: 3;
        width: min(410px, 76%);
        transform: translate(-12px, 5px);
    }

    .bmh-hero-laptop-screen {
        position: relative;
        aspect-ratio: 16 / 10;
        padding: 9px;
        border: 2px solid rgba(255,255,255,.34);
        border-bottom: 0;
        border-radius: 17px 17px 8px 8px;
        background: linear-gradient(145deg, #162d4b, #071426);
        box-shadow:
            0 28px 55px rgba(0,0,0,.38),
            inset 0 1px 0 rgba(255,255,255,.12);
    }

    .bmh-hero-laptop-screen::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,.35);
        transform: translateX(-50%);
    }

    .bmh-hero-screen-inner {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 9px;
        background:
            radial-gradient(circle at 78% 18%, rgba(215,25,32,.42), transparent 34%),
            linear-gradient(135deg, #0b1f3a, #12345a 58%, #082619);
    }

    .bmh-hero-screen-brand {
        position: absolute;
        top: 12%;
        left: 7%;
        font-size: clamp(9px, 1.2vw, 13px);
        font-weight: 900;
        letter-spacing: .4px;
        color: rgba(255,255,255,.78);
    }

    .bmh-hero-screen-title {
        position: absolute;
        top: 29%;
        left: 7%;
        right: 7%;
        color: #fff;
        font-size: clamp(15px, 2.2vw, 27px);
        line-height: 1.15;
        font-weight: 950;
    }

    .bmh-hero-screen-title span {
        color: #ff3042;
    }

    .bmh-hero-screen-meta {
        position: absolute;
        left: 7%;
        bottom: 12%;
        color: rgba(255,255,255,.62);
        font-size: clamp(7px, .85vw, 10px);
        font-weight: 700;
    }

    .bmh-hero-laptop-base {
        position: relative;
        width: 108%;
        height: 16px;
        margin-left: -4%;
        border-radius: 0 0 15px 15px;
        background: linear-gradient(180deg, #b8c2cf, #667386);
        box-shadow: 0 15px 28px rgba(0,0,0,.28);
    }

    .bmh-hero-laptop-base::after {
        content: "";
        position: absolute;
        left: 38%;
        right: 38%;
        top: 3px;
        height: 4px;
        border-radius: 0 0 5px 5px;
        background: rgba(20,30,45,.42);
    }

    .bmh-hero-phone {
        position: absolute;
        z-index: 5;
        right: 2%;
        bottom: 18px;
        width: 126px;
        height: 245px;
        padding: 7px;
        border: 2px solid rgba(255,255,255,.42);
        border-radius: 22px;
        background: linear-gradient(145deg, #1b2d45, #060e19);
        box-shadow: 0 28px 50px rgba(0,0,0,.42);
        transform: rotate(4deg);
    }

    .bmh-hero-phone-screen {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 15px;
        background: linear-gradient(160deg, #0b1f3a 0%, #12385c 58%, #073b2d 100%);
    }

    .bmh-hero-phone-screen::before {
        content: "";
        position: absolute;
        top: 7px;
        left: 50%;
        width: 35px;
        height: 8px;
        border-radius: 0 0 8px 8px;
        background: #050b13;
        transform: translateX(-50%);
    }

    .bmh-hero-phone-globe {
        position: absolute;
        top: 42px;
        left: 50%;
        width: 70px;
        height: 70px;
        border: 1px solid rgba(255,255,255,.32);
        border-radius: 50%;
        transform: translateX(-50%);
    }

    .bmh-hero-phone-globe::before,
    .bmh-hero-phone-globe::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 50%;
    }

    .bmh-hero-phone-globe::before {
        transform: scaleX(.4);
    }

    .bmh-hero-phone-globe::after {
        transform: scaleY(.4);
    }

    .bmh-hero-phone-label {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 29px;
        color: #fff;
        text-align: center;
        font-size: 10px;
        font-weight: 900;
        line-height: 1.35;
    }

    .bmh-hero-phone-label span {
        display: block;
        margin-top: 5px;
        color: #36c779;
        font-size: 8px;
    }

    .bmh-hero-ad-badge {
        position: absolute;
        z-index: 6;
        top: -10px;
        right: 74px;
        min-height: 23px;
        padding: 3px 9px;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 7px;
        background: rgba(11,31,58,.92);
        color: rgba(255,255,255,.72);
        font-size: 8px;
        font-weight: 900;
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    .bmh-hero-devices .bmh-ad-slot.bmh-ad-hero {
        position: absolute;
        z-index: 7;
        left: 9px;
        right: 9px;
        top: 9px;
        bottom: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 9px;
        background: rgba(255,255,255,.035);
    }

    .bmh-hero-devices .bmh-ad-slot.bmh-ad-hero:empty {
        display: none;
    }

    @media (max-width: 900px) {
        .bmh-hero-devices {
            width: min(100%, 560px);
            min-height: 350px;
        }

        .bmh-hero-laptop {
            width: min(390px, 76%);
            transform: translate(-8px, 5px);
        }

        .bmh-hero-phone {
            right: 1%;
            width: 112px;
            height: 220px;
        }
    }

    @media (max-width: 600px) {
        .bmh-hero-devices {
            min-height: 315px;
            width: 100%;
        }

        .bmh-hero-world {
            width: 285px;
            height: 285px;
        }

        .bmh-hero-globe {
            width: 155px;
            height: 155px;
        }

        .bmh-hero-laptop {
            width: min(340px, 78%);
            transform: translate(-8px, 0);
        }

        .bmh-hero-phone {
            right: 0;
            bottom: 8px;
            width: 94px;
            height: 185px;
        }

        .bmh-hero-ad-badge {
            right: 55px;
        }
    }

    @media (max-width: 430px) {
        .bmh-hero-devices {
            min-height: 285px;
        }

        .bmh-hero-laptop {
            width: 78%;
        }

        .bmh-hero-phone {
            width: 82px;
            height: 162px;
            padding: 5px;
            border-radius: 17px;
        }

        .bmh-hero-phone-screen {
            border-radius: 12px;
        }

        .bmh-hero-phone-globe {
            top: 31px;
            width: 52px;
            height: 52px;
        }

        .bmh-hero-phone-label {
            bottom: 17px;
            font-size: 8px;
        }

        .bmh-hero-phone-label span {
            font-size: 7px;
        }
    }

    @media (max-width: 900px) {
        .bmh-hero {
            padding: 62px 0 66px;
        }

        .bmh-hero-grid {
            grid-template-columns: 1fr;
            gap: 48px;
        }

        .bmh-hero-copy-wrap {
            max-width: 760px;
            margin: 0 auto;
            text-align: center;
        }

        .bmh-eyebrow {
            justify-content: center;
        }

        .bmh-hero-copy {
            margin-left: auto;
            margin-right: auto;
        }


        .bmh-hero-trust {
            justify-content: center;
        }

        .bmh-hero-panel {
            min-height: 330px;
        }
    }

    @media (max-width: 600px) {
        .bmh-hero {
            padding: 48px 0 54px;
        }

        .bmh-hero h1 {
            margin-top: 18px;
            font-size: clamp(34px, 10vw, 46px);
            letter-spacing: -1px;
        }

        .bmh-hero-copy {
            font-size: 14px;
            line-height: 1.75;
        }


        .bmh-hero-panel {
            min-height: 285px;
        }

        .bmh-orbit {
            width: 275px;
            height: 275px;
        }

        .bmh-hub-card {
            width: min(285px, 88%);
            padding: 28px 22px;
        }

        .bmh-logo-mark {
            width: 64px;
            height: 64px;
            font-size: 32px;
        }

        .bmh-hub-card h2 {
            font-size: 21px;
        }
    }

    .bmh-hero {
        position: relative;
        background:
            radial-gradient(circle at 82% 25%, rgba(226,29,47,.16), transparent 28%),
            radial-gradient(circle at 12% 75%, rgba(22,155,98,.14), transparent 30%),
            linear-gradient(135deg, #06182c 0%, #0a2946 55%, #0d3855 100%);
        color: #fff;
        padding: 72px 0 78px;
    }

    .bmh-hero-grid {
        display: grid;
        grid-template-columns: 1.08fr .92fr;
        gap: 55px;
        align-items: center;
    }

    .bmh-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 12px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 999px;
        background: rgba(255,255,255,.07);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .2px;
    }

    .bmh-eyebrow-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #36c779;
        box-shadow: 0 0 0 5px rgba(54,199,121,.12);
    }

    .bmh-hero h1 {
        margin: 20px 0 14px;
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.08;
        font-weight: 900;
        letter-spacing: -1.5px;
    }

    .bmh-hero h1 span {
        color: #ff3042;
    }

    .bmh-hero-copy {
        max-width: 680px;
        color: rgba(255,255,255,.78);
        font-size: 18px;
        line-height: 1.8;
    }


    .bmh-hero-panel {
        position: relative;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bmh-orbit {
        position: absolute;
        width: 280px;
        height: 280px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
    }

    .bmh-orbit:before,
    .bmh-orbit:after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.08);
    }

    .bmh-orbit:before {
        inset: 30px;
    }

    .bmh-orbit:after {
        inset: 62px;
    }

    .bmh-hub-card {
        position: relative;
        width: min(360px, 90%);
        padding: 30px;
        border-radius: 26px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.16);
        backdrop-filter: blur(12px);
        box-shadow: 0 25px 80px rgba(0,0,0,.25);
        text-align: center;
    }

    .bmh-logo-mark {
        width: 76px;
        height: 76px;
        margin: 0 auto 17px;
        border-radius: 22px;
        display: grid;
        place-items: center;
        background: linear-gradient(145deg, #1bb56f, #087a4c);
        color: #fff;
        font-size: 38px;
        font-weight: 900;
        box-shadow: 0 14px 35px rgba(0,0,0,.2);
    }

    .bmh-hub-card h2 {
        margin: 0;
        font-size: 27px;
        font-weight: 900;
    }

    .bmh-hub-card p {
        margin: 9px 0 0;
        color: rgba(255,255,255,.68);
        line-height: 1.6;
    }

    .bmh-section {
        padding: 55px 0;
    }

    .bmh-section-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 24px;
    }

    .bmh-section-title {
        margin: 0;
        font-size: 28px;
        font-weight: 900;
        letter-spacing: -.5px;
    }

    .bmh-section-subtitle {
        margin: 6px 0 0;
        color: var(--bmh-muted);
        line-height: 1.6;
    }

    .bmh-link {
        color: var(--bmh-red);
        font-weight: 800;
        white-space: nowrap;
    }

    .bmh-type-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 13px;
    }

    .bmh-type-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 135px;
        padding: 18px 12px;
        border: 1px solid var(--bmh-border);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 7px 25px rgba(15,35,65,.05);
        transition: transform .2s, box-shadow .2s, border-color .2s;
        text-align: center;
    }

    .bmh-type-card:hover {
        transform: translateY(-3px);
        border-color: rgba(226,29,47,.3);
        box-shadow: 0 14px 32px rgba(15,35,65,.09);
    }

    .bmh-type-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 11px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: #fff1f2;
        color: var(--bmh-red);
        font-size: 22px;
        font-weight: 900;
    }

    .bmh-type-name {
        font-weight: 800;
        font-size: 14px;
    }

    .bmh-type-count {
        margin-top: 5px;
        color: #98a2b3;
        font-size: 12px;
    }

    .bmh-region-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 13px;
    }

    .bmh-region-card {
        padding: 20px 15px;
        border: 1px solid var(--bmh-border);
        border-radius: 18px;
        background: #fff;
        text-align: center;
        box-shadow: 0 7px 25px rgba(15,35,65,.04);
    }

    .bmh-region-flag {
        font-size: 28px;
        margin-bottom: 9px;
    }

    .bmh-region-name {
        font-weight: 800;
        font-size: 14px;
    }

    .bmh-discovery {
        padding: 28px;
        border-radius: 25px;
        background: linear-gradient(135deg, #fff 0%, #f9fbfd 100%);
        border: 1px solid var(--bmh-border);
        box-shadow: 0 12px 38px rgba(15,35,65,.06);
    }

    .bmh-media-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .bmh-media-card {
        min-height: 185px;
        display: flex;
        flex-direction: column;
        padding: 21px;
        border-radius: 18px;
        background: #fff;
        border: 1px solid var(--bmh-border);
        box-shadow: 0 7px 25px rgba(15,35,65,.05);
    }

    .bmh-media-logo {
        width: 60px;
        height: 60px;
        display: grid;
        place-items: center;
        border-radius: 15px;
        background: #f2f4f7;
        overflow: hidden;
        margin-bottom: 15px;
        font-weight: 900;
        color: var(--bmh-navy);
    }

    .bmh-media-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .bmh-media-card h3 {
        margin: 0;
        font-size: 17px;
        font-weight: 900;
    }

    .bmh-media-meta {
        margin-top: 7px;
        color: var(--bmh-muted);
        font-size: 12px;
    }

    .bmh-media-card .bmh-link {
        margin-top: auto;
        padding-top: 16px;
        font-size: 13px;
    }

    .bmh-empty {
        padding: 34px;
        border: 1px dashed #d8dee8;
        border-radius: 18px;
        background: #fafbfc;
        text-align: center;
    }

    .bmh-empty-icon {
        width: 54px;
        height: 54px;
        margin: 0 auto 12px;
        display: grid;
        place-items: center;
        border-radius: 16px;
        background: #eef2f6;
        color: var(--bmh-navy);
        font-size: 24px;
        font-weight: 900;
    }

    .bmh-empty h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 900;
    }

    .bmh-empty p {
        margin: 7px auto 0;
        max-width: 580px;
        color: var(--bmh-muted);
        line-height: 1.7;
    }


    /* =========================================================
       STEP 16L-D-B — CATEGORIES PREMIUM REFINEMENT
       Homepage only. Visual-only refinement.
       Real database categories preserved.
       ========================================================= */

    .bmh-stats-v2 {
        position: relative;
        overflow: hidden;
        padding: 58px 0;
        background:
            radial-gradient(circle at 10% 20%, rgba(255,255,255,.055), transparent 28%),
            radial-gradient(circle at 90% 80%, rgba(220,38,38,.08), transparent 30%),
            var(--bmh-navy);
        color: #fff;
    }

    .bmh-stats-v2 .bmh-section-head {
        margin-bottom: 28px;
    }

    .bmh-stats-v2 .bmh-stat-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 22px;
        background: rgba(255,255,255,.10);
        box-shadow: 0 18px 45px rgba(0,0,0,.14);
    }

    .bmh-stats-v2 .bmh-stat {
        position: relative;
        min-height: 132px;
        padding: 30px 20px;
        background: rgba(255,255,255,.035);
        text-align: center;
        transition: background .2s ease, transform .2s ease;
    }

    .bmh-stats-v2 .bmh-stat:hover {
        background: rgba(255,255,255,.065);
    }

    .bmh-stats-v2 .bmh-stat-value {
        font-size: clamp(30px, 3vw, 38px);
        line-height: 1;
        font-weight: 900;
        letter-spacing: -.02em;
    }

    .bmh-stats-v2 .bmh-stat-label {
        margin-top: 10px;
        color: rgba(255,255,255,.68);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .01em;
    }

    @media (max-width: 900px) {
        .bmh-stats-v2 .bmh-stat-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        .bmh-stats-v2 {
            padding: 44px 0;
        }

        .bmh-stats-v2 .bmh-stat {
            min-height: 112px;
            padding: 25px 14px;
        }

        .bmh-stats-v2 .bmh-stat-value {
            font-size: 28px;
        }

        .bmh-stats-v2 .bmh-stat-label {
            font-size: 12px;
        }
    }

    .bmh-cta {
        padding: 55px 0;
    }

    .bmh-cta-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        padding: 38px;
        border-radius: 25px;
        background: linear-gradient(135deg, #fff, #f8fafc);
        border: 1px solid var(--bmh-border);
        box-shadow: 0 12px 38px rgba(15,35,65,.06);
    }

    .bmh-cta-box h2 {
        margin: 0;
        font-size: 27px;
        font-weight: 900;
    }

    .bmh-cta-box p {
        margin: 8px 0 0;
        color: var(--bmh-muted);
    }

    .bmh-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 22px;
        border-radius: 11px;
        background: var(--bmh-red);
        color: #fff;
        font-weight: 800;
        white-space: nowrap;
    }

    @media (max-width: 900px) {
        .bmh-hero-grid {
            grid-template-columns: 1fr;
            gap: 35px;
        }

        .bmh-hero-panel {
            min-height: 240px;
        }

        .bmh-type-grid,
        .bmh-region-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .bmh-media-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .bmh-category-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        .bmh-container {
            width: min(100% - 22px, 1200px);
        }

        .bmh-hero {
            padding: 48px 0 55px;
        }

        .bmh-hero h1 {
            font-size: 38px;
        }

        .bmh-hero-copy {
            font-size: 15px;
        }


        .bmh-section {
            padding: 40px 0;
        }

        .bmh-section-title {
            font-size: 23px;
        }

        .bmh-section-head {
            display: block;
        }

        .bmh-section-head .bmh-link {
            display: inline-block;
            margin-top: 10px;
        }

        .bmh-type-grid,
        .bmh-region-grid,
        .bmh-media-grid,
        .bmh-category-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .bmh-stat-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .bmh-cta-box {
            display: block;
            padding: 27px;
        }

        .bmh-button {
            margin-top: 20px;
            width: 100%;
        }
    }

    /* =========================================================
       BMH MASTER HOMEPAGE HEADER
       Homepage-only. Shared layouts/app.blade.php untouched.
       ========================================================= */

    .bmh-master-header svg {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .bmh-quicknav a {
        gap: 6px;
    }

    .bmh-login-btn {
        gap: 7px;
    }

    .bmh-master-search button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .bmh-master-nav a {
        gap: 7px;
    }

    .bmh-master-nav a svg {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
        opacity: .9;
    }

    .bmh-hero-memorial {
        position: absolute;
        left: 50%;
        bottom: 8%;
        width: 46%;
        max-width: 220px;
        transform: translateX(-50%);
        z-index: 1;
        opacity: 0.9;
    }
    @media (max-width: 600px) {
        .bmh-hero-memorial {
            width: 38%;
            bottom: 6%;
        }
    }

    .bmh-utility-bar {
        background: #0a4d2e;
        color: #fff;
        font-size: 12px;
    }
    .bmh-utility-bar-inner {
        width: min(1280px, calc(100% - 40px));
        min-height: 32px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .bmh-utility-bar a {
        color: rgba(255,255,255,.85);
        font-weight: 600;
    }
    .bmh-utility-bar a:hover {
        color: #fff;
    }
    .bmh-utility-links {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    @media (max-width: 600px) {
        .bmh-utility-bar-inner {
            width: calc(100% - 22px);
            min-height: 28px;
            font-size: 11px;
        }
        .bmh-utility-links {
            gap: 10px;
        }
    }

    .bmh-master-header {
        position: relative;
        z-index: 100;
        background: #fff;
        border-bottom: 1px solid #e6eaf0;
    }

    .bmh-quicknav {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-right: 6px;
    }

    .bmh-quicknav a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border-radius: 8px;
        color: #29364d;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .bmh-quicknav a:hover {
        background: #f1f4f8;
    }

    .bmh-login-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 20px;
        border-radius: 9px;
        background: var(--bmh-red);
        color: #fff !important;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .bmh-login-btn:hover {
        background: #c91427;
    }

    @media (max-width: 900px) {
        .bmh-quicknav {
            display: none;
        }

        .bmh-master-header-top {
            width: min(100% - 28px, 760px);
        }

        .bmh-master-brand {
            gap: 10px;
        }

        .bmh-master-search {
            order: 3;
            flex-basis: 100%;
            max-width: none;
        }

        .bmh-master-actions {
            margin-left: auto;
        }
    }

    .bmh-master-header-top {
        width: min(1280px, calc(100% - 40px));
        min-height: 76px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
    }

    .bmh-master-brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-width: max-content;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 600px;
        height: 136px;
        flex: 0 0 600px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
    }

    .bmh-full-logo {
        display: block;
        width: 600px;
        height: 136px;
        max-width: none;
        object-fit: contain;
        object-position: left center;
    }

    .bmh-master-search {
        flex: 1 1 520px;
        max-width: 560px;
        position: relative;
    }

    .bmh-master-search form {
        display: flex;
        align-items: center;
        width: 100%;
        height: 44px;
        border: 1px solid #dfe5ed;
        border-radius: 12px;
        background: #f8fafc;
        overflow: hidden;
        transition: border-color .2s, box-shadow .2s, background .2s;
    }

    .bmh-master-search form:focus-within {
        background: #fff;
        border-color: rgba(226,29,47,.45);
        box-shadow: 0 0 0 4px rgba(226,29,47,.08);
    }

    .bmh-master-search input {
        width: 100%;
        min-width: 0;
        height: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        padding: 0 15px;
        color: var(--bmh-text);
        font: inherit;
        font-size: 14px;
    }

    .bmh-master-search input::placeholder {
        color: #8a94a6;
    }

    .bmh-master-search button {
        flex: 0 0 auto;
        height: 34px;
        margin-right: 5px;
        padding: 0 17px;
        border: 0;
        border-radius: 9px;
        background: var(--bmh-red);
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: transform .2s, background .2s;
    }

    .bmh-master-search button:hover {
        background: #c91427;
        transform: translateY(-1px);
    }

    .bmh-master-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: max-content;
    }

    .bmh-master-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 11px;
        border-radius: 9px;
        color: var(--bmh-navy);
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
        transition: background .2s, color .2s;
    }

    .bmh-master-action:hover {
        background: #f1f4f8;
    }

    .bmh-master-action-primary {
        background: var(--bmh-navy);
        color: #fff;
    }

    .bmh-master-action-primary:hover {
        background: var(--bmh-navy-2);
        color: #fff;
    }

    .bmh-master-nav {
        background: var(--bmh-navy);
        color: #fff;
        border-top: 1px solid rgba(255,255,255,.06);
    }

    .bmh-master-nav-inner {
        width: min(1280px, calc(100% - 40px));
        min-height: 46px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bmh-master-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .bmh-master-nav a {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-height: 46px;
        padding: 0 14px;
        border-bottom: 2px solid transparent;
        color: rgba(255,255,255,.82);
        font-size: 13px;
        font-weight: 750;
        white-space: nowrap;
        transition: background .2s, color .2s, border-color .2s;
    }

    .bmh-master-nav a:hover,
    .bmh-master-nav a:focus-visible {
        background: rgba(255,255,255,.07);
        color: #fff;
        border-bottom-color: var(--bmh-red);
    }

    .bmh-master-nav a:first-child {
        color: #fff;
        background: rgba(255,255,255,.07);
    }

    @media (max-width: 900px) {
        .bmh-master-header-top {
            width: min(100% - 28px, 760px);
            flex-wrap: wrap;
            gap: 12px;
            padding: 14px 0;
        }

        .bmh-master-brand {
            flex: 0 1 auto;
        }

        .bmh-master-search {
            order: 3;
            flex-basis: 100%;
            max-width: none;
        }

        .bmh-master-actions {
            margin-left: auto;
        }

        .bmh-master-nav-inner {
            width: calc(100% - 28px);
            min-height: 46px;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
        }
    }

    @media (max-width: 600px) {
        .bmh-master-header-top {
            width: calc(100% - 22px);
            gap: 10px;
            padding: 11px 0 12px;
        }

        .bmh-master-brand {
            gap: 9px;
            min-width: 0;
        }
        .bmh-master-brand-mark.bmh-full-logo-wrap {
            width: 440px;
            height: 104px;
            flex: 0 0 440px;
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            background: transparent;
            border-radius: 0;
            box-shadow: none;
            overflow: hidden;
        }

        .bmh-full-logo {
            display: block;
            width: 440px;
            height: 104px;
            max-width: none;
            object-fit: contain;
            object-position: left center;
        }


        .bmh-master-actions {
            gap: 0;
            flex: 0 0 auto;
        }

        .bmh-login-btn {
            min-height: 38px;
            padding: 0 11px;
            border-radius: 9px;
            gap: 6px;
            font-size: 12px;
        }

        .bmh-login-btn svg {
            width: 16px;
            height: 16px;
            flex-basis: 16px;
        }

        .bmh-master-search form {
            height: 42px;
            border-radius: 11px;
        }

        .bmh-master-search input {
            padding: 0 12px;
            font-size: 13px;
        }

        .bmh-master-search button {
            height: 32px;
            margin-right: 4px;
            padding: 0 12px;
            border-radius: 8px;
            gap: 5px;
            font-size: 12px;
        }

        .bmh-master-search button svg {
            width: 15px;
            height: 15px;
            flex-basis: 15px;
        }

        .bmh-master-nav-inner {
            width: 100%;
            padding: 0 7px;
            gap: 2px;
            min-height: 44px;
        }

        .bmh-master-nav a {
            min-height: 44px;
            padding: 0 11px;
            gap: 6px;
            font-size: 12px;
        }

        .bmh-master-nav a svg {
            width: 14px;
            height: 14px;
            flex-basis: 14px;
        }
    }

    @media (max-width: 390px) {

        .bmh-login-btn {
            padding: 0 9px;
        }

        .bmh-login-btn span {
            display: none;
        }

        .bmh-login-btn svg {
            width: 17px;
            height: 17px;
            flex-basis: 17px;
        }

        .bmh-master-search button span {
            display: none;
        }

        .bmh-master-search button {
            width: 38px;
            padding: 0;
        }
    }


    /* STEP 16L-B — Master Media Discovery */
    .bmh-discovery-v2 {
        padding-top: 12px;
    }

    .bmh-discovery-v2 .bmh-discovery-intro {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 22px;
    }

    .bmh-discovery-v2 .bmh-discovery-copy {
        max-width: 720px;
    }

    .bmh-discovery-v2 .bmh-discovery-kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        color: #b91c1c;
        font-size: .76rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .bmh-discovery-v2 .bmh-discovery-kicker::before {
        content: "";
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background: #b91c1c;
    }

    .bmh-discovery-v2 .bmh-discovery-title {
        margin: 0;
        color: #0f172a;
        font-size: clamp(1.55rem, 2.5vw, 2.15rem);
        line-height: 1.2;
        font-weight: 900;
    }

    .bmh-discovery-v2 .bmh-discovery-text {
        margin: 9px 0 0;
        color: #64748b;
        font-size: .96rem;
        line-height: 1.7;
    }

    .bmh-discovery-v2 .bmh-discovery-link {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #0f172a;
        font-size: .88rem;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
    }

    .bmh-discovery-v2 .bmh-discovery-link:hover {
        color: #b91c1c;
    }

    .bmh-discovery-v2 .bmh-discovery-row {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(150px, 1fr);
        gap: 13px;
        overflow-x: auto;
        padding: 3px 2px 12px;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }

    .bmh-discovery-v2 .bmh-discovery-row::-webkit-scrollbar {
        height: 7px;
    }

    .bmh-discovery-v2 .bmh-discovery-row::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

    .bmh-discovery-v2 .bmh-discovery-card {
        position: relative;
        min-height: 112px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 17px 16px;
        border: 1px solid #e2e8f0;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 7px 20px rgba(15, 23, 42, .06);
        text-decoration: none;
        overflow: hidden;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

    .bmh-discovery-v2 .bmh-discovery-card::after {
        content: "";
        position: absolute;
        right: -22px;
        bottom: -28px;
        width: 78px;
        height: 78px;
        border-radius: 50%;
        background: rgba(185, 28, 28, .055);
    }

    .bmh-discovery-v2 .bmh-discovery-card:hover {
        transform: translateY(-3px);
        border-color: #fecaca;
        box-shadow: 0 13px 28px rgba(15, 23, 42, .10);
    }

    .bmh-discovery-v2 .bmh-discovery-icon {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #b91c1c;
        font-size: 1.15rem;
        font-weight: 900;
    }

    .bmh-discovery-v2 .bmh-discovery-card-title {
        position: relative;
        z-index: 1;
        color: #0f172a;
        font-size: .93rem;
        font-weight: 850;
    }

    .bmh-discovery-v2 .bmh-discovery-arrow {
        color: #94a3b8;
        font-size: .85rem;
        font-weight: 800;
    }

    .bmh-discovery-v2 .bmh-region-card {
        min-height: 122px;
    }

    .bmh-discovery-v2 .bmh-region-icon {
        font-size: 1.35rem;
    }

    @media (max-width: 700px) {
        .bmh-discovery-v2 .bmh-discovery-intro {
            align-items: flex-start;
            flex-direction: column;
            gap: 10px;
        }

        .bmh-discovery-v2 .bmh-discovery-row {
            grid-auto-columns: minmax(145px, 72vw);
        }
    }


    /* ==================================================
       STEP 16L-F-B2 — HOMEPAGE MASTER FOOTER
       Homepage-only footer — shared layout untouched
       ================================================== */

    .bmh-master-footer {
        background: #07182f;
        color: #dce6f3;
        margin-top: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .bmh-footer-main {
        max-width: 1180px;
        margin: 0 auto;
        padding: 58px 24px 42px;
        display: grid;
        grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
        gap: 34px;
    }

    .bmh-footer-brand {
        max-width: 330px;
    }

    .bmh-footer-brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #e31b23, #b30f18);
        color: #fff;
        font-size: 24px;
        font-weight: 900;
        margin-bottom: 16px;
        box-shadow: 0 10px 25px rgba(0,0,0,.22);
    }

    .bmh-footer-brand h3 {
        margin: 0 0 10px;
        color: #fff;
        font-size: 21px;
        font-weight: 800;
        letter-spacing: -.2px;
    }

    .bmh-footer-brand p {
        margin: 0;
        color: #aebed1;
        font-size: 14px;
        line-height: 1.8;
    }

    .bmh-footer-column h4 {
        margin: 0 0 16px;
        color: #fff;
        font-size: 15px;
        font-weight: 800;
    }

    .bmh-footer-links {
        display: grid;
        gap: 10px;
    }

    .bmh-footer-links a {
        color: #aebed1;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.5;
        transition: color .2s ease, transform .2s ease;
    }

    .bmh-footer-links a:hover {
        color: #fff;
        transform: translateX(3px);
    }

    .bmh-footer-bottom {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .bmh-footer-bottom-inner {
        max-width: 1180px;
        margin: 0 auto;
        padding: 18px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .bmh-footer-bottom p {
        margin: 0;
        color: #91a4ba;
        font-size: 13px;
        line-height: 1.6;
    }

    .bmh-footer-directory {
        color: #fff;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
    }

    .bmh-footer-directory:hover {
        color: #fff;
    }

    @media (max-width: 900px) {
        .bmh-footer-main {
            grid-template-columns: 1.25fr 1fr 1fr;
            gap: 30px;
        }
    }

    @media (max-width: 650px) {
        .bmh-footer-main {
            grid-template-columns: 1fr 1fr;
            padding: 42px 20px 32px;
            gap: 30px 24px;
        }

        .bmh-footer-brand {
            grid-column: 1 / -1;
            max-width: none;
        }

        .bmh-footer-bottom-inner {
            padding: 16px 20px;
            align-items: flex-start;
            flex-direction: column;
        }
    }

    @media (max-width: 430px) {
        .bmh-footer-main {
            grid-template-columns: 1fr;
        }

        .bmh-footer-brand {
            grid-column: auto;
        }
    }


/* ============================================================
   BMH HOMEPAGE — MASTER VISUAL POLISH
   Additive only — existing HTML/content preserved.
   ============================================================ */

.bmh-home .bmh-social-row {
    padding: 34px 0;
    border-bottom: 1px solid #e6eaf0;
}

.bmh-home .bmh-social-row + .bmh-social-row {
    border-top: 0;
}

.bmh-home .bmh-social-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.bmh-home .bmh-social-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
    color: var(--bmh-navy);
}

.bmh-home .bmh-social-title::before {
    content: "";
    width: 4px;
    height: 22px;
    flex: 0 0 4px;
    border-radius: 99px;
    background: var(--bmh-red);
}

.bmh-home .bmh-social-seeall {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid #e2e7ee;
    border-radius: 10px;
    background: #fff;
    color: var(--bmh-red);
    font-size: 12px;
    font-weight: 900;
    transition: .18s ease;
}

.bmh-home .bmh-social-seeall:hover {
    border-color: rgba(226,29,47,.25);
    box-shadow: 0 6px 18px rgba(15,35,65,.08);
    transform: translateY(-1px);
}

.bmh-home .bmh-social-card {
    border-color: #e3e8ef;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(15,35,65,.055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bmh-home .bmh-social-card:hover {
    transform: translateY(-3px);
    border-color: rgba(226,29,47,.18);
    box-shadow: 0 12px 28px rgba(15,35,65,.10);
}

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

.bmh-home .bmh-section-head {
    margin-bottom: 22px;
}

.bmh-home .bmh-section-title {
    color: var(--bmh-navy);
    font-weight: 950;
    letter-spacing: -.02em;
}

.bmh-home .bmh-section-subtitle {
    color: var(--bmh-muted);
}

.bmh-home .bmh-category-grid {
    gap: 16px;
}

.bmh-home .bmh-category-card {
    min-height: 108px;
    border: 1px solid #e2e7ee;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15,35,65,.045);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bmh-home .bmh-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(226,29,47,.18);
    box-shadow: 0 13px 30px rgba(15,35,65,.09);
}

.bmh-home .bmh-media-grid {
    gap: 18px;
}

.bmh-home .bmh-media-card {
    border: 1px solid #e2e7ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15,35,65,.045);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bmh-home .bmh-media-card:hover {
    transform: translateY(-3px);
    border-color: rgba(226,29,47,.18);
    box-shadow: 0 14px 32px rgba(15,35,65,.10);
}


/* BMH MEDIA DIRECTORY — COMPACT SOURCE CARDS */
.bmh-home .bmh-media-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
}

.bmh-home .bmh-media-grid > .bmh-media-card {
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
}

.bmh-home .bmh-media-grid > .bmh-media-card .bmh-media-logo,
.bmh-home .bmh-media-grid > .bmh-media-card .bmh-logo,
.bmh-home .bmh-media-grid > .bmh-media-card .media-logo {
    width: 58px;
    height: 58px;
    min-width: 58px;
    margin: 0 auto 8px;
}

.bmh-home .bmh-media-grid > .bmh-media-card img {
    max-width: 58px;
    height: 58px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .bmh-home .bmh-media-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .bmh-home .bmh-media-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    .bmh-home .bmh-media-grid > .bmh-media-card {
        padding: 9px 6px;
        border-radius: 10px;
    }

    .bmh-home .bmh-media-grid > .bmh-media-card .bmh-media-logo,
    .bmh-home .bmh-media-grid > .bmh-media-card .bmh-logo,
    .bmh-home .bmh-media-grid > .bmh-media-card .media-logo {
        width: 46px;
        height: 46px;
        min-width: 46px;
        margin-bottom: 5px;
    }

    .bmh-home .bmh-media-grid > .bmh-media-card img {
        max-width: 46px;
        height: 46px;
    }
}

@media (max-width: 420px) {
    .bmh-home .bmh-media-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .bmh-home .bmh-media-grid > .bmh-media-card {
        padding: 7px 4px;
    }

    .bmh-home .bmh-media-grid > .bmh-media-card .bmh-media-logo,
    .bmh-home .bmh-media-grid > .bmh-media-card .bmh-logo,
    .bmh-home .bmh-media-grid > .bmh-media-card .media-logo {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .bmh-home .bmh-media-grid > .bmh-media-card img {
        max-width: 40px;
        height: 40px;
    }
}


/* BMH CATEGORY DIRECTORY — SOURCE GRID */
.bmh-home .bmh-category-source-grid {
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:10px;
}
.bmh-home .bmh-category-source-card {
    min-width:0;
    min-height:112px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:10px 7px;
    border:1px solid #e2e7ee;
    border-radius:13px;
    background:#fff;
    text-decoration:none;
    box-shadow:0 5px 18px rgba(15,35,65,.045);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bmh-home .bmh-category-source-card:hover {
    transform:translateY(-2px);
    border-color:rgba(226,29,47,.20);
    box-shadow:0 10px 24px rgba(15,35,65,.08);
}
.bmh-home .bmh-category-source-logo {
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    margin-bottom:7px;
    overflow:hidden;
    border-radius:10px;
    background:#fff;
}
.bmh-home .bmh-category-source-logo img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
.bmh-home .bmh-category-source-name {
    width:100%;
    overflow:hidden;
    color:var(--bmh-navy);
    font-size:12px;
    line-height:1.35;
    font-weight:800;
    text-align:center;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}
@media (max-width:1100px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns:repeat(6,minmax(0,1fr));
    }
}
@media (max-width:700px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:7px;
    }
    .bmh-home .bmh-category-source-card {
        min-height:88px;
        padding:7px 4px;
        border-radius:10px;
    }
    .bmh-home .bmh-category-source-logo {
        width:44px;
        height:44px;
        margin-bottom:5px;
    }
    .bmh-home .bmh-category-source-name {
        font-size:10px;
        line-height:1.25;
    }
}
@media (max-width:420px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:5px;
    }
    .bmh-home .bmh-category-source-card {
        min-height:82px;
        padding:6px 3px;
    }
    .bmh-home .bmh-category-source-logo {
        width:38px;
        height:38px;
    }
    .bmh-home .bmh-category-source-name {
        font-size:9.5px;
    }
}

/* BMH MEDIA DIRECTORY — UNIVERSAL CATEGORY DENSITY */

.bmh-home .bmh-category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
}

.bmh-home .bmh-category-grid > .bmh-category-card {
    min-width: 0;
}

.bmh-home .bmh-extended-media-card,
.bmh-home .bmh-popular-media-card {
    min-width: 0;
}

@media (max-width: 1100px) {
    .bmh-home .bmh-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .bmh-home .bmh-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .bmh-home .bmh-category-grid > .bmh-category-card {
        padding: 9px 6px;
        border-radius: 10px;
    }

    .bmh-home .bmh-extended-media-card,
    .bmh-home .bmh-popular-media-card {
        padding: 9px 6px;
    }
}

@media (max-width: 420px) {
    .bmh-home .bmh-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .bmh-home .bmh-category-grid > .bmh-category-card {
        padding: 7px 4px;
    }
}

.bmh-home .bmh-media-card img {
    display: block;
}

.bmh-home .bmh-cta {
    padding: 48px 0;
}

.bmh-home .bmh-cta-box {
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(15,35,65,.08);
}

@media (max-width: 700px) {
    .bmh-home .bmh-social-row {
        padding: 27px 0;
    }

    .bmh-home .bmh-social-head {
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .bmh-home .bmh-social-title {
        font-size: 17px;
    }

    .bmh-home .bmh-social-seeall {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .bmh-home .bmh-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .bmh-home .bmh-media-grid {
        gap: 12px;
    }

    .bmh-home .bmh-category-grid {
        gap: 12px;
    }

    .bmh-home .bmh-cta {
        padding: 34px 0;
    }
}

@media (max-width: 430px) {
    .bmh-home .bmh-social-head {
        gap: 10px;
    }

    .bmh-home .bmh-social-title {
        font-size: 16px;
    }

    .bmh-home .bmh-social-title::before {
        height: 19px;
        width: 3px;
        flex-basis: 3px;
    }

    .bmh-home .bmh-social-seeall {
        font-size: 10px;
        padding: 5px 8px;
    }
}


/* BMH HOMEPAGE — FINAL NON-HERO VISUAL POLISH */

.bmh-home .bmh-social-row {
    position: relative;
    padding: 36px 0;
    border-bottom: 1px solid #e6eaf0;
}

.bmh-home .bmh-social-row:nth-of-type(even) {
    background: #f8fafc;
}

.bmh-home .bmh-social-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.bmh-home .bmh-social-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
    color: var(--bmh-navy);
    letter-spacing: -.2px;
}

.bmh-home .bmh-social-seeall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #fff;
    color: var(--bmh-navy);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.bmh-home .bmh-social-seeall:hover {
    transform: translateY(-1px);
    border-color: var(--bmh-red);
    color: var(--bmh-red);
}

.bmh-home .bmh-social-card {
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7,26,47,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bmh-home .bmh-social-card:hover {
    transform: translateY(-3px);
    border-color: #cfd8e5;
    box-shadow: 0 14px 32px rgba(7,26,47,.10);
}

.bmh-home .bmh-section {
    padding-top: 44px;
    padding-bottom: 44px;
}

.bmh-home .bmh-section-head {
    margin-bottom: 22px;
}

.bmh-home .bmh-section-title {
    margin: 0;
    color: var(--bmh-navy);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.3px;
}

.bmh-home .bmh-section-subtitle {
    margin-top: 7px;
    color: var(--bmh-muted);
    font-size: 14px;
    line-height: 1.65;
}

.bmh-home .bmh-category-grid,
.bmh-home .bmh-media-grid {
    gap: 18px;
}

.bmh-home .bmh-category-card,
.bmh-home .bmh-media-card {
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7,26,47,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bmh-home .bmh-category-card:hover,
.bmh-home .bmh-media-card:hover {
    transform: translateY(-3px);
    border-color: #cfd8e5;
    box-shadow: 0 14px 32px rgba(7,26,47,.09);
}

.bmh-home .bmh-media-card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.bmh-home .bmh-cta {
    padding-top: 48px;
    padding-bottom: 48px;
}

.bmh-home .bmh-cta-box {
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(7,26,47,.12);
}

@media (max-width: 700px) {
    .bmh-home .bmh-social-row {
        padding: 28px 0;
    }

    .bmh-home .bmh-social-head {
        align-items: flex-start;
        gap: 12px;
    }

    .bmh-home .bmh-social-title {
        font-size: 18px;
    }

    .bmh-home .bmh-social-seeall {
        min-height: 34px;
        padding: 6px 11px;
        font-size: 12px;
    }

    .bmh-home .bmh-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .bmh-home .bmh-section-title {
        font-size: 21px;
    }
}

@media (max-width: 430px) {
    .bmh-home .bmh-social-head {
        flex-direction: column;
    }

    .bmh-home .bmh-social-seeall {
        width: 100%;
    }

    .bmh-home .bmh-section-title {
        font-size: 20px;
    }
}


<style>
/* BMH HEADER MASTER REFERENCE FIX 2026-09-13 */

/* Compact approved header proportions */
.bmh-master-header-top {
    width: min(1280px, calc(100% - 40px));
    min-height: 96px;
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Approved supplied full logo — preserve artwork, crop only transparent canvas */
.bmh-master-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 300px;
    width: 300px;
    height: 96px;
    min-width: 300px;
    gap: 0;
    overflow: hidden;
}

.bmh-master-brand-mark.bmh-full-logo-wrap {
    position: relative;
    display: block;
    width: 300px !important;
    height: 96px !important;
    flex: 0 0 300px !important;
    min-width: 300px;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.bmh-full-logo {
    position: absolute;
    display: block;
    width: 287px !important;
    height: 191px !important;
    max-width: none !important;
    object-fit: fill !important;
    left: 0;
    top: -43px;
}

/* Reference-style search */
.bmh-master-search {
    flex: 1 1 300px;
    width: 300px;
    max-width: 320px;
    min-width: 260px;
}

.bmh-master-search form {
    height: 40px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #d7dee8;
}

.bmh-master-search input {
    font-size: 13px;
    padding: 0 13px;
}

.bmh-master-search button {
    height: 40px;
    min-width: 42px;
    margin: 0;
    padding: 0 13px;
    border-radius: 0 7px 7px 0;
}

/* Reference-style right utilities */
.bmh-master-actions {
    flex: 0 0 auto;
    gap: 4px;
}

.bmh-quicknav {
    flex: 0 0 auto;
    gap: 2px;
    margin-right: 0;
}

.bmh-quicknav a {
    padding: 8px 9px;
    font-size: 12px;
    gap: 5px;
}

/* Primary navigation MUST remain visible on desktop */
.bmh-master-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    background: var(--bmh-navy) !important;
    color: #fff !important;
}

.bmh-master-nav-inner {
    width: min(1280px, calc(100% - 40px));
    min-height: 42px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bmh-master-nav-inner::-webkit-scrollbar {
    display: none;
}

.bmh-master-nav a {
    min-height: 42px;
    padding: 0 11px;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.94);
    white-space: nowrap;
}

.bmh-master-nav a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.bmh-master-nav a:first-child {
    background: var(--bmh-red);
    color: #fff;
    border-radius: 0 0 4px 4px;
}

/* Keep mobile responsive behavior compact */
@media (max-width: 900px) {
    .bmh-master-header-top {
        width: min(100% - 28px, 760px);
        min-height: 78px;
        height: auto;
    }

    .bmh-master-brand {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
        height: 78px;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 220px !important;
        height: 78px !important;
        flex-basis: 220px !important;
        min-width: 220px;
    }

    .bmh-full-logo {
        width: 210px !important;
        height: 140px !important;
        top: -31px;
    }

    .bmh-master-nav-inner {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .bmh-master-header-top {
        min-height: 68px;
    }

    .bmh-master-brand {
        flex: 0 0 180px;
        width: 180px;
        min-width: 180px;
        height: 68px;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 180px !important;
        height: 68px !important;
        flex-basis: 180px !important;
        min-width: 180px;
    }

    .bmh-full-logo {
        width: 172px !important;
        height: 115px !important;
        top: -26px;
    }

    .bmh-master-nav-inner {
        min-height: 42px;
        height: 42px;
    }
}
<style>
/* BMH NATIONAL NEWSPAPER — HOMEPAGE ONLY: 18 CARDS / 6 PER ROW */
.bmh-home .bmh-national-newspaper-row .bmh-social-track{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:16px !important;
    overflow:visible !important;
}

@media (max-width:1100px){
    .bmh-home .bmh-national-newspaper-row .bmh-social-track{
        display:grid !important;
        grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    }
}

@media (max-width:700px){
    .bmh-home .bmh-national-newspaper-row .bmh-social-track{
        display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:8px !important;
    }
}

/* BMH MASTER COMPACT PASS — MAIN SECTIONS + HERO */
.bmh-home .bmh-social-track{
    display:grid !important;
    
    gap:12px !important;
    overflow:visible !important;
}
.bmh-home .bmh-social-card{
    width:auto !important;
    min-width:0 !important;
    flex:initial !important;
    padding:10px !important;
    border-radius:10px !important;
}
.bmh-home .bmh-social-card-icon{
    width:40px !important;
    height:40px !important;
    margin:0 auto 7px !important;
    border-radius:9px !important;
    font-size:15px !important;
}
.bmh-home .bmh-social-card-name{
    font-size:12px !important;
    line-height:1.3 !important;
}
.bmh-home .bmh-social-card-platform{
    font-size:9px !important;
    line-height:1.2 !important;
}
.bmh-home .bmh-popular-media-track{
    display:grid !important;
    grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    gap:12px !important;
    overflow:visible !important;
}
.bmh-home .bmh-popular-media-card{
    min-width:0 !important;
    width:auto !important;
    padding:10px !important;
    border-radius:10px !important;
}
.bmh-home .bmh-popular-media-logo{
    min-height:48px !important;
}
.bmh-home .bmh-popular-media-logo img{
    max-width:56px !important;
    max-height:42px !important;
    object-fit:contain !important;
}
.bmh-home .bmh-popular-media-card .bmh-popular-media-name{
    font-size:12px !important;
    line-height:1.3 !important;
}

/* HERO / AD SURFACE — approximately one-third of current vertical footprint */
.bmh-home .bmh-hero{
    min-height:0 !important;
    height:auto !important;
    padding-top:24px !important;
    padding-bottom:24px !important;
}
.bmh-home .bmh-hero .bmh-container{
    min-height:0 !important;
}
.bmh-home .bmh-hero-panel{
    min-height:0 !important;
    padding:12px !important;
}
.bmh-home .bmh-hero-devices{
    transform:scale(.45) !important;
    transform-origin:center center !important;
    margin:-10% 0 !important;
}
.bmh-home .bmh-hero-laptop{
    max-width:70% !important;
}
.bmh-home .bmh-hero-phone{
    transform:scale(.72) !important;
}
.bmh-home .bmh-hero-screen-title{
    font-size:20px !important;
}
.bmh-home .bmh-hero-screen-brand,
.bmh-home .bmh-hero-screen-meta,
.bmh-home .bmh-hero-ad-badge{
    font-size:10px !important;
}
.bmh-home .bmh-hero-trust{
    margin-top:10px !important;
    gap:6px !important;
}
.bmh-home .bmh-hero-trust span{
    font-size:10px !important;
    padding:5px 8px !important;
}

/* responsive */
@media (max-width:1100px){
    .bmh-home .bmh-social-track,
    .bmh-home .bmh-popular-media-track{
        grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    }
}
@media (max-width:700px){
    .bmh-home .bmh-social-track,
    .bmh-home .bmh-popular-media-track{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:8px !important;
    }
    .bmh-home .bmh-social-card{
        padding:8px !important;
    }
    .bmh-home .bmh-social-card-icon{
        width:34px !important;
        height:34px !important;
    }
    .bmh-home .bmh-hero{
        padding-top:12px !important;
        padding-bottom:12px !important;
    }
    .bmh-home .bmh-hero-devices{
        transform:scale(.55) !important;
        margin:-18% 0 !important;
    }
}
@media (max-width:420px){
    .bmh-home .bmh-social-track,
    .bmh-home .bmh-popular-media-track{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }
}

/* BMH STATISTICS — REMOVE ENTIRE SECTION */
.bmh-home .bmh-stats-v2{
    display:none !important;
}


/* BMH — REGIONAL + INDIAN BENGALI
   SAME OUTER BOX VISUAL AS THE APPROVED CATEGORY BOX */
.bmh-home .bmh-priority-category-box {
    position: relative !important;
    margin: 18px 0 20px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e4e8ee !important;
    border-top: 3px solid var(--bmh-red, #d71920) !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06) !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .bmh-home .bmh-priority-category-box {
        margin: 14px 0 16px !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }
}


/* BMH HEADER SURGICAL MASTER FIX 2026-09-13 */

/* The approved reference has a compact white header followed
   immediately by a visible navy navigation strip. */
.bmh-master-header {
    position: relative !important;
    z-index: 100 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
}

.bmh-master-header-top {
    position: relative !important;
    z-index: 101 !important;
    width: min(1280px, calc(100% - 40px)) !important;
    min-height: 92px !important;
    height: 92px !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

/* Keep the supplied full logo artwork intact while using the
   transparent canvas correctly. */
.bmh-master-brand {
    position: relative !important;
    z-index: 102 !important;
    flex: 0 0 330px !important;
    width: 330px !important;
    min-width: 330px !important;
    height: 92px !important;
    overflow: hidden !important;
}

.bmh-master-brand-mark.bmh-full-logo-wrap {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 330px !important;
    height: 92px !important;
    min-width: 330px !important;
    flex: 0 0 330px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.bmh-full-logo {
    position: absolute !important;
    display: block !important;
    left: 0 !important;
    top: -48px !important;
    width: 330px !important;
    height: 220px !important;
    max-width: none !important;
    object-fit: fill !important;
    object-position: left center !important;
}

/* Reference-style search */
.bmh-master-search {
    position: relative !important;
    z-index: 102 !important;
    flex: 1 1 320px !important;
    width: 320px !important;
    max-width: 340px !important;
    min-width: 280px !important;
}

.bmh-master-search form {
    height: 40px !important;
    border: 1px solid #d9e0e9 !important;
    border-radius: 7px !important;
    background: #fff !important;
}

.bmh-master-search input {
    font-size: 13px !important;
    color: #172033 !important;
}

.bmh-master-search button {
    height: 40px !important;
    min-width: 42px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border-radius: 0 7px 7px 0 !important;
}

/* Utility links */
.bmh-quicknav,
.bmh-master-actions {
    position: relative !important;
    z-index: 102 !important;
}

/* FORCE THE PRIMARY NAV TO OCCUPY REAL DOCUMENT SPACE */
.bmh-master-nav {
    position: relative !important;
    z-index: 110 !important;
    display: block !important;
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #0B1F3A !important;
    color: #fff !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    clear: both !important;
}

.bmh-master-nav-inner {
    position: relative !important;
    z-index: 111 !important;
    display: flex !important;
    align-items: center !important;
    width: min(1280px, calc(100% - 40px)) !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bmh-master-nav a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 11px !important;
    color: rgba(255,255,255,.94) !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
}

.bmh-master-nav a svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    fill: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bmh-master-nav a:first-child {
    background: #D71920 !important;
    color: #fff !important;
    border-radius: 0 0 4px 4px !important;
}

/* Never let the hero overlap the header navigation. */
.bmh-home {
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 900px) {
    .bmh-master-header-top {
        width: min(100% - 28px, 760px) !important;
        min-height: 76px !important;
        height: 76px !important;
    }

    .bmh-master-brand {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        height: 76px !important;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 220px !important;
        height: 76px !important;
        min-width: 220px !important;
        flex-basis: 220px !important;
    }

    .bmh-full-logo {
        width: 220px !important;
        height: 147px !important;
        top: -32px !important;
    }

    .bmh-master-nav,
    .bmh-master-nav-inner {
        height: 42px !important;
        min-height: 42px !important;
    }
}

@media (max-width: 600px) {
    .bmh-master-header-top {
        min-height: 68px !important;
        height: 68px !important;
    }

    .bmh-master-brand {
        flex-basis: 180px !important;
        width: 180px !important;
        min-width: 180px !important;
        height: 68px !important;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 180px !important;
        height: 68px !important;
        min-width: 180px !important;
        flex-basis: 180px !important;
    }

    .bmh-full-logo {
        width: 180px !important;
        height: 120px !important;
        top: -26px !important;
    }
}


/* BMH HEADER APPROVED LOGO + REFERENCE NAV 2026-09-13 */

/*
 * APPROVED FULL LOGO
 * Original artwork is 1536x1024.
 * Visible artwork is approximately x=10..1506, y=229..770.
 * Display the original file without distortion and hide only its
 * transparent canvas through the wrapper.
 */
.bmh-master-brand {
    position: relative !important;
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    height: 92px !important;
    overflow: visible !important;
}

.bmh-master-brand-mark.bmh-full-logo-wrap {
    position: relative !important;
    display: block !important;
    width: 300px !important;
    height: 92px !important;
    min-width: 300px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.bmh-full-logo {
    position: absolute !important;
    display: block !important;

    /* 1536 -> 300 scale */
    width: 300px !important;
    height: 200px !important;
    max-width: none !important;

    /* Visible artwork begins around y=229/1024*200 = 44.7px */
    left: -2px !important;
    top: -45px !important;

    object-fit: fill !important;
    object-position: left top !important;
}

/* Reference header proportions */
.bmh-master-header-top {
    min-height: 92px !important;
    height: 92px !important;
    gap: 20px !important;
}

/* Reference-style search */
.bmh-master-search {
    flex: 1 1 320px !important;
    max-width: 360px !important;
    min-width: 280px !important;
}

.bmh-master-search form {
    height: 40px !important;
    border-radius: 7px !important;
}

.bmh-master-search button {
    height: 40px !important;
    min-width: 42px !important;
}

/* Reference primary navigation */
.bmh-master-nav {
    position: relative !important;
    z-index: 110 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    background: #0B1F3A !important;
    overflow: hidden !important;
}

.bmh-master-nav-inner {
    display: flex !important;
    align-items: center !important;
    width: min(1280px, calc(100% - 40px)) !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.bmh-master-nav a {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 10px !important;
    color: #fff !important;
    background: transparent !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

.bmh-master-nav a svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    fill: none !important;
}

.bmh-master-nav a:first-child {
    background: #D71920 !important;
    color: #fff !important;
    border-radius: 0 0 4px 4px !important;
}

/* Desktop reference spacing */
@media (min-width: 901px) {
    .bmh-master-header-top {
        align-items: center !important;
    }

    .bmh-quicknav {
        gap: 0 !important;
    }

    .bmh-quicknav a {
        padding: 8px 8px !important;
        font-size: 12px !important;
    }
}

/* Tablet/mobile */
@media (max-width: 900px) {
    .bmh-master-brand {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        height: 76px !important;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 220px !important;
        height: 76px !important;
        min-width: 220px !important;
    }

    .bmh-full-logo {
        width: 220px !important;
        height: 147px !important;
        left: -1px !important;
        top: -33px !important;
    }

    .bmh-master-header-top {
        min-height: 76px !important;
        height: 76px !important;
    }
}

@media (max-width: 600px) {
    .bmh-master-brand {
        flex-basis: 180px !important;
        width: 180px !important;
        min-width: 180px !important;
        height: 68px !important;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 180px !important;
        height: 68px !important;
        min-width: 180px !important;
    }

    .bmh-full-logo {
        width: 180px !important;
        height: 120px !important;
        left: -1px !important;
        top: -27px !important;
    }
}


/* BMH MOBILE HEADER SEARCH FLOW FIX 2026-09-13 */

/*
 * Mobile order:
 * Utility
 * Logo/header row
 * Search
 * Primary navigation
 * Hero
 *
 * Desktop/tablet rules are intentionally untouched.
 */
@media (max-width: 600px) {

    .bmh-master-header {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .bmh-master-header-top {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 6px 12px 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    /* Keep supplied logo artwork intact. */
    .bmh-master-brand {
        order: 1 !important;
        flex: 0 0 180px !important;
        width: 180px !important;
        min-width: 180px !important;
        height: 68px !important;
        overflow: visible !important;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap {
        width: 180px !important;
        height: 68px !important;
        min-width: 180px !important;
        overflow: hidden !important;
    }

    .bmh-full-logo {
        width: 180px !important;
        height: 120px !important;
        max-width: none !important;
        left: -1px !important;
        top: -27px !important;
    }

    /*
     * Search becomes a full-width second row inside the header,
     * so it cannot fall underneath the navigation.
     */
    .bmh-master-search {
        order: 3 !important;
        flex: 1 0 100% !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 120 !important;
    }

    .bmh-master-search form {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 121 !important;
    }

    .bmh-master-search input {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 13px !important;
    }

    .bmh-master-search button {
        height: 42px !important;
        min-height: 42px !important;
    }

    /*
     * Keep quick utilities in the top row when present.
     * They cannot occupy the search row.
     */
    .bmh-quicknav {
        order: 2 !important;
        flex: 0 0 auto !important;
    }

    .bmh-master-actions {
        order: 2 !important;
        flex: 0 0 auto !important;
    }

    /*
     * Navigation is a separate block after the complete header-top.
     */
    .bmh-master-nav {
        position: relative !important;
        z-index: 130 !important;
        display: block !important;
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .bmh-master-nav-inner {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .bmh-master-nav a {
        flex: 0 0 auto !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 13px !important;
        font-size: 14px !important;
    }

    .bmh-master-nav a svg {
        width: 17px !important;
        height: 17px !important;
    }
}


/* BMH HERO COMPACT HEADLINE WIDTH 2026-09-13 */

/*
 * Match the approved reference proportion:
 * the left hero content stays compact, approximately around
 * the visual width of the supplied BMH logo.
 * No font, background, device or overall hero layout changes.
 */
.bmh-hero-copy-wrap {
    max-width: 540px !important;
}

.bmh-hero h1 {
    max-width: 520px !important;
}

.bmh-hero-copy {
    max-width: 540px !important;
}

@media (max-width: 900px) {
    .bmh-hero-copy-wrap,
    .bmh-hero h1,
    .bmh-hero-copy {
        max-width: 100% !important;
    }
}


/* BMH HEADER REFERENCE BALANCE FIX 2026-09-21
   Main Header only.
   Real Bangla Media Hub logo retained.
   No lower homepage section changes.
*/

.bmh-master-header-top{
    width:min(1380px,calc(100% - 56px)) !important;
    min-height:100px !important;
    height:100px !important;
    margin:0 auto !important;
    gap:34px !important;
    display:flex !important;
    align-items:center !important;
}

.bmh-master-brand{
    width:330px !important;
    height:100px !important;
    flex:0 0 330px !important;
    overflow:visible !important;
}

.bmh-master-brand-mark.bmh-full-logo-wrap{
    width:330px !important;
    height:100px !important;
    overflow:visible !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
}

.bmh-full-logo{
    width:330px !important;
    height:auto !important;
    max-width:none !important;
    max-height:100px !important;
    object-fit:contain !important;
    object-position:left center !important;
    transform:scale(1.22) !important;
    transform-origin:left center !important;
}

.bmh-master-search{
    flex:1 1 auto !important;
    width:auto !important;
    max-width:560px !important;
    min-width:380px !important;
    margin:0 auto !important;
}

.bmh-master-search form{
    height:48px !important;
    border-radius:9px !important;
}

.bmh-master-search input{
    font-size:15px !important;
    padding:0 18px !important;
}

.bmh-master-search button{
    min-width:92px !important;
    padding:0 17px !important;
}

.bmh-quicknav{
    flex:0 0 auto !important;
    gap:18px !important;
}

.bmh-quicknav a{
    font-size:13px !important;
    font-weight:600 !important;
}

.bmh-master-actions{
    flex:0 0 auto !important;
}

.bmh-login-btn{
    min-height:40px !important;
    padding:0 17px !important;
    font-size:13px !important;
    border-radius:8px !important;
}

/* Tablet */
@media (max-width:1180px){
    .bmh-master-header-top{
        width:calc(100% - 36px) !important;
        min-height:88px !important;
        height:88px !important;
        gap:22px !important;
    }

    .bmh-master-brand,
    .bmh-master-brand-mark.bmh-full-logo-wrap{
        width:270px !important;
        height:88px !important;
        flex-basis:270px !important;
    }

    .bmh-full-logo{
        width:270px !important;
        max-height:88px !important;
    }

    .bmh-master-search{
        min-width:280px !important;
    }

    .bmh-quicknav{
        gap:11px !important;
    }

    .bmh-quicknav a{
        font-size:12px !important;
    }
}

/* Mobile */
@media (max-width:700px){
    .bmh-master-header-top{
        width:calc(100% - 24px) !important;
        min-height:0 !important;
        height:auto !important;
        padding:9px 0 12px !important;
        display:grid !important;
        grid-template-columns:1fr auto !important;
        gap:10px 12px !important;
    }

    .bmh-master-brand,
    .bmh-master-brand-mark.bmh-full-logo-wrap{
        width:205px !important;
        height:62px !important;
        flex:none !important;
    }

    .bmh-full-logo{
        width:205px !important;
        max-height:62px !important;
        transform:scale(1.12) !important;
    }

    .bmh-master-search{
        grid-column:1 / -1 !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
    }

    .bmh-master-search form{
        height:44px !important;
    }

    .bmh-quicknav{
        display:none !important;
    }

    .bmh-login-btn{
        min-height:38px !important;
        padding:0 12px !important;
        font-size:12px !important;
    }
}


/* BMH HEADER FINAL VISUAL TUNE 2026-09-21
   Main Header only — final proportion/alignment adjustment.
*/

.bmh-master-header-top{
    width:min(1380px,calc(100% - 56px)) !important;
    min-height:96px !important;
    height:96px !important;
    gap:30px !important;
    align-items:center !important;
}

.bmh-master-brand,
.bmh-master-brand-mark.bmh-full-logo-wrap{
    width:310px !important;
    height:96px !important;
    flex:0 0 310px !important;
}

.bmh-full-logo{
    width:310px !important;
    max-height:96px !important;
    transform:scale(1.15) !important;
    transform-origin:left center !important;
}

.bmh-master-search{
    max-width:570px !important;
    min-width:360px !important;
}

.bmh-master-search form{
    height:48px !important;
}

.bmh-quicknav{
    gap:16px !important;
}

.bmh-quicknav a{
    font-size:13px !important;
}

.bmh-login-btn{
    min-height:40px !important;
    padding:0 16px !important;
    font-size:13px !important;
}

@media (max-width:1180px){
    .bmh-master-header-top{
        width:calc(100% - 36px) !important;
        min-height:86px !important;
        height:86px !important;
        gap:20px !important;
    }

    .bmh-master-brand,
    .bmh-master-brand-mark.bmh-full-logo-wrap{
        width:265px !important;
        height:86px !important;
        flex-basis:265px !important;
    }

    .bmh-full-logo{
        width:265px !important;
        max-height:86px !important;
    }
}


/* BMH HEADER LOGIN VISIBILITY FINAL 2026-09-21
   Main Header login/action area only.
*/

.bmh-master-actions{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    z-index:20 !important;
    flex:0 0 auto !important;
    align-items:center !important;
    justify-content:flex-end !important;
    width:auto !important;
    min-width:max-content !important;
}

.bmh-master-actions .bmh-login-btn{
    display:inline-flex !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    z-index:21 !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:82px !important;
    min-height:40px !important;
    padding:0 17px !important;
    background:#0a4d2e !important;
    border:1px solid #0a4d2e !important;
    border-radius:8px !important;
    color:#ffffff !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
    box-shadow:0 2px 7px rgba(10,77,46,.16) !important;
}

.bmh-master-actions .bmh-login-btn svg{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:17px !important;
    height:17px !important;
    flex:0 0 17px !important;
}

.bmh-master-actions .bmh-login-btn span{
    display:inline !important;
    visibility:visible !important;
    opacity:1 !important;
}

.bmh-master-actions .bmh-login-btn:hover{
    background:#083d25 !important;
    border-color:#083d25 !important;
}

@media (max-width:700px){
    .bmh-master-actions{
        display:flex !important;
        min-width:max-content !important;
    }

    .bmh-master-actions .bmh-login-btn{
        min-width:72px !important;
        min-height:38px !important;
        padding:0 12px !important;
        font-size:12px !important;
    }
}


.bmh-ad-hero{padding:14px 0 6px}
.bmh-ad-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bmh-ad-card{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;text-decoration:none!important;color:#fff!important;overflow:hidden;min-height:120px;box-shadow:0 10px 30px rgba(15,23,42,.15)}
.bmh-ad-nyv{background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.14),transparent 40%),linear-gradient(120deg,#0b1f4b 0%,#14306e 55%,#c8102e 140%)}
.bmh-ad-be{background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.14),transparent 40%),linear-gradient(120deg,#7f1d1d 0%,#c2410c 65%,#f59e0b 140%)}
.bmh-ad-logo{flex:0 0 auto;width:clamp(64px,9vw,104px);height:clamp(64px,9vw,104px);background:#fff;border-radius:16px;display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}
.bmh-ad-logo img{max-width:100%;max-height:100%;object-fit:contain}
.bmh-ad-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.bmh-ad-text b{font-size:clamp(16px,1.8vw,22px);font-weight:800;line-height:1.2}
.bmh-ad-text small{font-size:clamp(12px,1.2vw,15px);color:#fde68a;font-weight:600}
.bmh-ad-text em{font-style:normal;font-size:clamp(11px,1vw,13px);opacity:.85}
.bmh-ad-cta{flex:0 0 auto;background:#fff;color:#0f172a;font-weight:800;font-size:13px;padding:8px 14px;border-radius:999px;white-space:nowrap}
.bmh-ad-label{position:absolute;top:8px;right:12px;font-size:10px;background:rgba(255,255,255,.18);padding:2px 7px;border-radius:999px}
@media (max-width:767px){.bmh-ad-hero-grid{grid-template-columns:1fr;gap:10px}.bmh-ad-card{min-height:96px;padding:12px 14px;gap:10px}.bmh-ad-cta{padding:6px 10px;font-size:12px}}


                    .bmh-home-press-club-featured{
                        width:100%;
                        margin:24px 0 30px;
                    }

                    .bmh-home-press-club-head{
                        display:flex;
                        align-items:center;
                        justify-content:space-between;
                        gap:22px;
                        margin-bottom:18px;
                    }

                    .bmh-home-press-club-title-wrap{
                        display:flex;
                        align-items:center;
                        gap:15px;
                        min-width:0;
                    }

                    .bmh-home-press-club-icon{
                        width:58px;
                        height:58px;
                        flex:0 0 58px;
                        display:flex;
                        align-items:center;
                        justify-content:center;
                        border-radius:16px;
                        background:linear-gradient(145deg,#d9fff1,#eaf7ff);
                        border:1px solid #d7eee6;
                        box-shadow:0 5px 16px rgba(15,23,42,.06);
                        font-size:27px;
                    }

                    .bmh-home-press-club-title-wrap h2{
                        margin:0;
                        color:#172033;
                        font-size:27px;
                        line-height:1.2;
                        font-weight:900;
                        letter-spacing:-.02em;
                    }

                    .bmh-home-press-club-title-wrap p{
                        margin:5px 0 0;
                        color:#667085;
                        font-size:13px;
                        line-height:1.45;
                        font-weight:600;
                    }

                    .bmh-home-press-club-all{
                        flex:0 0 auto;
                        display:inline-flex;
                        align-items:center;
                        gap:9px;
                        padding:12px 19px;
                        border-radius:14px;
                        background:#e7faf2;
                        color:#087a55;
                        text-decoration:none;
                        font-size:14px;
                        font-weight:800;
                        border:1px solid #d2f0e3;
                        transition:all .18s ease;
                    }

                    .bmh-home-press-club-all:hover{
                        transform:translateY(-1px);
                        background:#d9f7eb;
                    }

                    .bmh-home-press-club-arrow{
                        font-size:21px;
                        line-height:1;
                    }

                                        .bmh-home-press-club-grid{
                        display:grid;
                        grid-template-columns:repeat(6,minmax(0,1fr));
                        gap:12px;
                    }

                    .bmh-home-press-club-card{
                        min-width:0;
                        min-height:0;
                        height:auto;
                        display:flex;
                        flex-direction:column;
                        align-items:center;
                        justify-content:center;
                        padding:10px;
                        background:#fff;
                        border:1px solid #e1e8ef;
                        border-radius:10px;
                        box-shadow:0 2px 8px rgba(15,23,42,.04);
                        text-align:center;
                        transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
                    }

                    .bmh-home-press-club-card:hover{
                        transform:translateY(-2px);
                        border-color:#cfe8dd;
                        box-shadow:0 7px 16px rgba(15,23,42,.07);
                    }

                    .bmh-home-press-club-logo{
                        width:56px;
                        height:56px;
                        flex:0 0 56px;
                        display:flex;
                        align-items:center;
                        justify-content:center;
                        overflow:hidden;
                        border-radius:9px;
                        background:linear-gradient(145deg,#fbfffd,#f5f8fb);
                        border:1px solid #e3ebe7;
                        box-shadow:0 2px 6px rgba(15,23,42,.04);
                        padding:4px;
                    }

                    .bmh-home-press-club-logo img{
                        width:100%;
                        height:100%;
                        object-fit:contain;
                        display:block;
                    }

                    .bmh-home-press-club-card h3{
                        width:100%;
                        margin:7px 0 0;
                        color:#172033;
                        font-size:12px;
                        line-height:1.3;
                        font-weight:800;
                    }

                    @media (max-width:760px){
                        .bmh-home-press-club-head{
                            align-items:flex-start;
                            flex-direction:column;
                            gap:13px;
                        }

                        .bmh-home-press-club-all{
                            align-self:flex-end;
                        }

                        .bmh-home-press-club-grid{
                            grid-template-columns:repeat(2,minmax(0,1fr));
                            gap:11px;
                        }

                        .bmh-home-press-club-card{
                            min-height:0;
                            height:auto;
                            padding:8px;
                        }

                        .bmh-home-press-club-logo{
                            width:48px;
                            height:48px;
                            flex-basis:48px;
                        }

                        .bmh-home-press-club-card h3{
                            font-size:10.5px;
                            margin-top:6px;
                        }

                        .bmh-home-press-club-title-wrap h2{
                            font-size:22px;
                        }

                        .bmh-home-press-club-title-wrap p{
                            font-size:11.5px;
                        }
                    }



/* Keep the final "আপনার মিডিয়া এখানে" CTA visually independent. */
.bmh-cta {
    margin-top: 28px !important;
    padding-top: 0 !important;
}

.bmh-cta .bmh-container {
    padding-top: 0;
}

.bmh-cta .bmh-cta-box {
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

@media (max-width: 767px) {
    .bmh-cta {
        margin-top: 20px !important;
    }

    .bmh-cta .bmh-cta-box {
        border-radius: 15px;
    }
}


/* ==========================================================
   BMH — ALL CATEGORY VISUAL PASS
   SCOPE: ALL HOMEPAGE CATEGORY MEDIA SECTIONS
   VISUAL ONLY — DO NOT AFFECT DATA OR CATEGORY LOGIC
   ========================================================== */

.bmh-home .bmh-category-media-row {
    position: relative;
    margin: 18px 0 20px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e4e8ee;
    border-top: 3px solid var(--bmh-red, #d71920);
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
}

/* Clean category heading row */
.bmh-home .bmh-category-media-row > .bmh-container > .bmh-category-media-content > div:first-child {
    margin-bottom: 14px !important;
    padding: 0 0 10px 10px;
    border-bottom: 1px solid #e7ebf0;
    border-left: 4px solid var(--bmh-red, #d71920);
}

/* Preserve existing heading typography */
.bmh-home .bmh-category-media-row > .bmh-container > .bmh-category-media-content > div:first-child h3 {
    line-height: 1.35;
}

/* Keep the existing source-card system intact */
.bmh-home .bmh-category-media-row .bmh-category-source-grid {
    background: transparent;
}

/* Mobile */
@media (max-width: 767px) {
    .bmh-home .bmh-category-media-row {
        margin: 14px 0 16px;
        padding: 12px;
        border-radius: 14px;
    }

    .bmh-home .bmh-category-media-row > .bmh-container > .bmh-category-media-content > div:first-child {
        padding-left: 8px;
        margin-bottom: 12px !important;
    }
}


/* BMH HERO REFERENCE BALANCE 2026-09-13 */

/* Keep the Hero compact and visually balanced with the approved header/logo. */
.bmh-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr) !important;
    gap: 42px !important;
}

.bmh-hero-copy-wrap {
    max-width: 500px !important;
}

.bmh-hero h1 {
    max-width: 500px !important;
    font-size: clamp(42px, 4.35vw, 60px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.025em !important;
}

.bmh-hero-copy {
    max-width: 500px !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.bmh-hero-devices {
    transform: scale(.94);
    transform-origin: center center;
}

@media (max-width: 1100px) {
    .bmh-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr) !important;
        gap: 28px !important;
    }

    .bmh-hero h1 {
        font-size: clamp(40px, 5vw, 54px) !important;
    }
}

@media (max-width: 900px) {
    .bmh-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .bmh-hero-copy-wrap,
    .bmh-hero h1,
    .bmh-hero-copy {
        max-width: 100% !important;
    }

    .bmh-hero-devices {
        transform: scale(.9);
    }
}

@media (max-width: 600px) {
    .bmh-hero {
        padding-top: 52px !important;
        padding-bottom: 58px !important;
    }

    .bmh-hero h1 {
        font-size: clamp(38px, 11vw, 48px) !important;
    }

    .bmh-hero-copy {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .bmh-hero-devices {
        transform: scale(.82);
    }
}


/* BMH HERO HEADLINE FINAL COMPACT 2026-09-14 */

.bmh-hero-copy-wrap {
    max-width: 430px !important;
}

.bmh-hero h1 {
    max-width: 430px !important;
    font-size: clamp(40px, 3.55vw, 52px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.02em !important;
}

@media (max-width: 1100px) {
    .bmh-hero-copy-wrap,
    .bmh-hero h1 {
        max-width: 420px !important;
    }

    .bmh-hero h1 {
        font-size: clamp(38px, 4.4vw, 48px) !important;
    }
}

@media (max-width: 900px) {
    .bmh-hero-copy-wrap,
    .bmh-hero h1 {
        max-width: 100% !important;
    }
}

@media (max-width: 600px) {
    .bmh-hero h1 {
        font-size: clamp(36px, 10vw, 46px) !important;
    }
}


/* BMH HERO SECTION — TRUE 1OF3 COMPACT */
.bmh-home .bmh-hero {
    height: 128px !important;
    min-height: 128px !important;
    max-height: 128px !important;
    padding: 6px 14px !important;
    overflow: hidden !important;
}

.bmh-home .bmh-hero-devices {
    width: min(100%, 310px) !important;
    min-height: 112px !important;
    height: 112px !important;
    transform: scale(.72) !important;
    transform-origin: center center !important;
}

.bmh-home .bmh-hero-content {
    transform: scale(.72) !important;
    transform-origin: left center !important;
}

.bmh-home .bmh-hero h1,
.bmh-home .bmh-hero h2,
.bmh-home .bmh-hero p {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

@media (max-width: 700px) {
    .bmh-home .bmh-hero {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        padding: 5px 9px !important;
    }

    .bmh-home .bmh-hero-devices {
        min-height: 88px !important;
        height: 88px !important;
        transform: scale(.62) !important;
    }

    .bmh-home .bmh-hero-content {
        transform: scale(.62) !important;
    }
}



/* =========================================================
   BMH — MASTER RESPONSIVE MEDIA CARD SYSTEM
   ONE visual card language across desktop / laptop / tablet /
   iPad / mobile.

   Media Explore is intentionally excluded.
   ========================================================= */

/* ---------- STANDARD CARD GRID ---------- */

.bmh-home .bmh-media-grid,
.bmh-home .bmh-category-grid,
.bmh-home .bmh-category-source-grid {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

/* Popular and social sections remain horizontally usable,
   but their cards use the same visual proportions. */

.bmh-home .bmh-popular-media-track,
.bmh-home .bmh-social-track {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow-x: visible !important;
}

/* ---------- ONE STANDARD CARD HEIGHT ---------- */

.bmh-home .bmh-media-card,
.bmh-home .bmh-category-card,
.bmh-home .bmh-popular-media-card,
.bmh-home .bmh-social-card {
    width: 100% !important;
    height: 124px !important;
    min-height: 124px !important;
    max-height: 124px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 10px !important;
}

/* ---------- ONE STANDARD LOGO AREA ---------- */

.bmh-home .bmh-media-card .bmh-media-logo,
.bmh-home .bmh-media-card .bmh-logo,
.bmh-home .bmh-media-card .media-logo,
.bmh-home .bmh-category-card .bmh-category-icon,
.bmh-home .bmh-category-card .bmh-category-logo,
.bmh-home .bmh-popular-media-card .bmh-popular-media-logo,
.bmh-home .bmh-social-card .bmh-social-card-icon {
    width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 62px !important;

    margin: 0 auto 6px !important;
    box-sizing: border-box !important;
}

/* ---------- ACTUAL LOGO IMAGE ---------- */

.bmh-home .bmh-media-card img,
.bmh-home .bmh-category-card img,
.bmh-home .bmh-popular-media-card img,
.bmh-home .bmh-social-card img {
    width: auto !important;
    height: auto !important;

    max-width: 92px !important;
    max-height: 58px !important;

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

    display: block !important;
    margin: auto !important;
}

/* Popular logo has its own wrapper. */
.bmh-home .bmh-popular-media-card .bmh-popular-media-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 96px !important;
    max-height: 58px !important;
    object-fit: contain !important;
}

/* ---------- TEXT: SAME HIERARCHY ---------- */

.bmh-home .bmh-media-card h3,
.bmh-home .bmh-category-card h3,
.bmh-home .bmh-popular-media-card h3,
.bmh-home .bmh-popular-media-card .bmh-popular-media-name,
.bmh-home .bmh-social-card .bmh-social-card-name {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    text-align: center !important;

    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Secondary metadata stays compact and aligned. */

.bmh-home .bmh-popular-media-card .bmh-popular-media-meta,
.bmh-home .bmh-popular-media-card .bmh-popular-media-location,
.bmh-home .bmh-social-card .bmh-social-card-platform {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;

    font-size: 9px !important;
    line-height: 1.2 !important;

    overflow: hidden !important;
}

/* ---------- SOCIAL ICONS WITHOUT LOGO ---------- */

.bmh-home .bmh-social-card .bmh-social-card-icon {
    width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    flex-basis: 62px !important;

    margin-bottom: 6px !important;
}

/* ---------- LAPTOP / NORMAL DESKTOP ----------
   8 cards per row. */

@media (min-width: 1200px) {

    .bmh-home .bmh-media-grid,
    .bmh-home .bmh-category-grid,
    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-popular-media-track,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    }

    .bmh-home .bmh-media-card,
    .bmh-home .bmh-category-card,
    .bmh-home .bmh-popular-media-card,
    .bmh-home .bmh-social-card {
        height: 128px !important;
        min-height: 128px !important;
        max-height: 128px !important;
    }
}

/* ---------- WIDE DESKTOP ----------
   Use 10 when the viewport has enough room. */

@media (min-width: 1500px) {

    .bmh-home .bmh-media-grid,
    .bmh-home .bmh-category-grid,
    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-popular-media-track,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    }
}

/* ---------- TABLET / iPAD ----------
   6 cards per row. */

@media (min-width: 701px) and (max-width: 1199px) {

    .bmh-home .bmh-media-grid,
    .bmh-home .bmh-category-grid,
    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-popular-media-track,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .bmh-home .bmh-media-card,
    .bmh-home .bmh-category-card,
    .bmh-home .bmh-popular-media-card,
    .bmh-home .bmh-social-card {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
    }

    .bmh-home .bmh-media-card img,
    .bmh-home .bmh-category-card img,
    .bmh-home .bmh-popular-media-card img,
    .bmh-home .bmh-social-card img {
        max-width: 86px !important;
        max-height: 54px !important;
    }
}

/* ---------- MOBILE ----------
   4 cards per row. */

@media (max-width: 700px) {

    .bmh-home .bmh-media-grid,
    .bmh-home .bmh-category-grid,
    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-popular-media-track,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bmh-home .bmh-media-card,
    .bmh-home .bmh-category-card,
    .bmh-home .bmh-popular-media-card,
    .bmh-home .bmh-social-card {
        height: 108px !important;
        min-height: 108px !important;
        max-height: 108px !important;
        padding: 7px !important;
    }

    .bmh-home .bmh-media-card .bmh-media-logo,
    .bmh-home .bmh-media-card .bmh-logo,
    .bmh-home .bmh-media-card .media-logo,
    .bmh-home .bmh-category-card .bmh-category-icon,
    .bmh-home .bmh-category-card .bmh-category-logo,
    .bmh-home .bmh-popular-media-card .bmh-popular-media-logo {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        flex-basis: 52px !important;
    }

    .bmh-home .bmh-media-card img,
    .bmh-home .bmh-category-card img,
    .bmh-home .bmh-popular-media-card img,
    .bmh-home .bmh-social-card img {
        max-width: 76px !important;
        max-height: 48px !important;
    }

    .bmh-home .bmh-media-card h3,
    .bmh-home .bmh-category-card h3,
    .bmh-home .bmh-popular-media-card .bmh-popular-media-name,
    .bmh-home .bmh-social-card .bmh-social-card-name {
        font-size: 10px !important;
    }
}

/* ---------- SMALL PHONE ----------
   Still 4 columns; only physical dimensions reduce. */

@media (max-width: 420px) {

    .bmh-home .bmh-media-grid,
    .bmh-home .bmh-category-grid,
    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-popular-media-track,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .bmh-home .bmh-media-card,
    .bmh-home .bmh-category-card,
    .bmh-home .bmh-popular-media-card,
    .bmh-home .bmh-social-card {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        padding: 6px !important;
    }

    .bmh-home .bmh-media-card img,
    .bmh-home .bmh-category-card img,
    .bmh-home .bmh-popular-media-card img,
    .bmh-home .bmh-social-card img {
        max-width: 68px !important;
        max-height: 44px !important;
    }
}

/* =========================================================
   IMPORTANT:
   "মিডিয়া এক্সপ্লোর করুন" is NOT targeted by this system.
   Hero/ad is NOT targeted by this system.
   ========================================================= */




/* =========================================================
   BMH — POPULAR BANGLA MEDIA
   FINAL TARGETED PRESENTATION
   REAL LOGO + MEDIA NAME ONLY
   ========================================================= */

.bmh-home .bmh-popular-media-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}

.bmh-home .bmh-popular-media-logo {
    width:100% !important;
    height:68px !important;
    min-height:68px !important;
    max-height:68px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}

.bmh-home .bmh-popular-media-logo img {
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:94% !important;
    max-height:60px !important;
    object-fit:contain !important;
    object-position:center !important;
    margin:auto !important;
}

.bmh-home .bmh-popular-media-info {
    width:100% !important;
    margin:7px 0 0 !important;
    padding:0 !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

.bmh-home .bmh-popular-media-info h3 {
    width:100% !important;
    margin:0 !important;
    padding:0 4px !important;

    text-align:center !important;
    font-size:12px !important;
    line-height:1.2 !important;
    font-weight:600 !important;

    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

/* Explicitly ensure old secondary presentation elements
   cannot appear in Popular Media. */
.bmh-home .bmh-popular-media-card .bmh-popular-media-meta,
.bmh-home .bmh-popular-media-card .bmh-popular-media-location,
.bmh-home .bmh-popular-media-card .bmh-popular-verified {
    display:none !important;
}

/* Tablet / iPad */
@media (max-width:1100px) {
    .bmh-home .bmh-popular-media-logo {
        height:64px !important;
        min-height:64px !important;
        max-height:64px !important;
    }

    .bmh-home .bmh-popular-media-logo img {
        max-height:56px !important;
    }
}

/* Mobile */
@media (max-width:700px) {
    .bmh-home .bmh-popular-media-logo {
        height:56px !important;
        min-height:56px !important;
        max-height:56px !important;
    }

    .bmh-home .bmh-popular-media-logo img {
        max-height:47px !important;
        max-width:92% !important;
    }

    .bmh-home .bmh-popular-media-info h3 {
        font-size:10px !important;
    }
}

/* Small phone */
@media (max-width:420px) {
    .bmh-home .bmh-popular-media-logo {
        height:51px !important;
        min-height:51px !important;
        max-height:51px !important;
    }

    .bmh-home .bmh-popular-media-logo img {
        max-height:42px !important;
    }
}



/* =========================================================
   MEDIA EXPLORE — FINAL REFERENCE V10
   ========================================================= */

/* THE COMPLETE WHITE CARD */
.bmh-home .bmh-type-grid .bmh-type-card {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

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

    margin: 0 !important;
    padding: 7px 6px 5px !important;
    box-sizing: border-box !important;

    background: #FFFFFF !important;

    border: 1px solid #E21D2F !important;
    border-radius: 18px !important;

    box-shadow: none !important;
    overflow: hidden !important;

    text-align: center !important;
}

/* OPEN LOGO AREA — NO CIRCLE, NO RING */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon {
    position: relative !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

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

    margin: 0 !important;
    padding: 2px 4px 0 !important;
    box-sizing: border-box !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    outline: none !important;

    overflow: visible !important;
}

/* KILL ALL OLD CIRCLE EFFECTS */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon::before,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* REAL ICON — SLIGHTLY LARGE, BUT BALANCED */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
    display: block !important;

    width: auto !important;
    height: 76px !important;

    max-width: 94px !important;
    max-height: 76px !important;

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

    object-fit: contain !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    filter: none !important;
}

/* NAME INSIDE THE SAME RED-OUTLINED BOX */
.bmh-home .bmh-type-grid .bmh-type-card h3,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-name,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-label {
    position: absolute !important;

    left: 5px !important;
    right: 5px !important;
    bottom: 26px !important;

    display: block !important;

    width: auto !important;
    height: 18px !important;

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

    color: #102A43 !important;

    text-align: center !important;
    font-size: 12px !important;
    line-height: 18px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* SOURCE COUNT — BOTTOM */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-count,
.bmh-home .bmh-type-grid .bmh-type-card .count,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-count,
.bmh-home .bmh-type-grid .bmh-type-card small {
    position: absolute !important;

    left: 5px !important;
    right: 5px !important;
    bottom: 7px !important;

    display: block !important;

    width: auto !important;
    height: 14px !important;

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

    color: #6B7C93 !important;

    text-align: center !important;
    font-size: 9px !important;
    line-height: 14px !important;
    font-weight: 600 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* MOBILE */
@media (max-width: 700px) {
    .bmh-home .bmh-type-grid .bmh-type-card {
        height: 128px !important;
        min-height: 128px !important;
        border-radius: 15px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon {
        height: 76px !important;
        min-height: 76px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
        height: 62px !important;
        max-height: 62px !important;
        max-width: 76px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card h3,
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-name,
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-label {
        bottom: 22px !important;
        font-size: 10px !important;
        line-height: 14px !important;
        height: 14px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-count,
    .bmh-home .bmh-type-grid .bmh-type-card .count,
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-count,
    .bmh-home .bmh-type-grid .bmh-type-card small {
        bottom: 5px !important;
        font-size: 8px !important;
        line-height: 12px !important;
        height: 12px !important;
    }
}


/* MEDIA EXPLORE V12 — FINAL BALANCED ICON POSITION */

.bmh-home .bmh-type-grid .bmh-type-card {
    position: relative !important;
    overflow: hidden !important;
}

/* ICON AREA */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon {
    position: absolute !important;
    top: 15px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon::before,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon::after {
    display: none !important;
    content: none !important;
}

/* REAL ICON SIZE */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
    display: block !important;
    width: auto !important;
    height: 72px !important;
    max-height: 72px !important;
    max-width: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
}

/* NAME — closer to icon */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-name,
.bmh-home .bmh-type-grid .bmh-type-card h3,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-label {
    position: absolute !important;
    left: 5px !important;
    right: 5px !important;
    bottom: 25px !important;
    width: auto !important;
    height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 15px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* COUNT */
.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-count,
.bmh-home .bmh-type-grid .bmh-type-card .count,
.bmh-home .bmh-type-grid .bmh-type-card .bmh-count,
.bmh-home .bmh-type-grid .bmh-type-card small {
    position: absolute !important;
    left: 5px !important;
    right: 5px !important;
    bottom: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

/* TABLET */
@media (max-width: 1100px) {
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon {
        top: 13px !important;
        height: 68px !important;
        min-height: 68px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
        height: 66px !important;
        max-height: 66px !important;
        max-width: 90px !important;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon {
        top: 9px !important;
        height: 62px !important;
        min-height: 62px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
        height: 56px !important;
        max-height: 56px !important;
        max-width: 76px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-name,
    .bmh-home .bmh-type-grid .bmh-type-card h3,
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-label {
        bottom: 22px !important;
        font-size: 10px !important;
    }

    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-count,
    .bmh-home .bmh-type-grid .bmh-type-card .count,
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-count,
    .bmh-home .bmh-type-grid .bmh-type-card small {
        bottom: 5px !important;
        font-size: 8px !important;
    }
}


.bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
    height: 80px !important;
    max-height: 80px !important;
    max-width: 108px !important;
}

@media (max-width: 1100px) {
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
        height: 73px !important;
        max-height: 73px !important;
        max-width: 98px !important;
    }
}

@media (max-width: 700px) {
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
        height: 63px !important;
        max-height: 63px !important;
        max-width: 84px !important;
    }
}

@media (max-width: 420px) {
    .bmh-home .bmh-type-grid .bmh-type-card .bmh-type-icon img {
        height: 57px !important;
        max-height: 57px !important;
        max-width: 76px !important;
    }
}


/* =========================================================
   BMHUB 06 — CATEGORY SOURCE CARD MASTER
   3 COLUMNS / WIDER LOGO / SHORTER LOGO / NAME ONLY
   Applies to every category source grid
   ========================================================= */

.bmh-home .bmh-category-source-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

.bmh-home .bmh-category-source-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 112px !important;
    padding: 12px 8px 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.bmh-home .bmh-category-source-card .bmh-category-source-logo {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 8px !important;
    box-sizing: border-box !important;
}

.bmh-home .bmh-category-source-card .bmh-category-source-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 118px !important;
    max-height: 44px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

.bmh-home .bmh-category-source-card .bmh-category-source-name {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* Tablet / larger screens */
@media (min-width: 768px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .bmh-home .bmh-category-source-card {
        min-height: 118px !important;
        padding: 13px 10px 11px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo img {
        max-width: 140px !important;
        max-height: 47px !important;
    }
}

/* Mobile — ALWAYS 3 SOURCE CARDS PER ROW */
@media (max-width: 767px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .bmh-home .bmh-category-source-card {
        min-height: 104px !important;
        padding: 10px 5px 9px !important;
        border-radius: 12px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        margin-bottom: 7px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo img {
        max-width: 105px !important;
        max-height: 39px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-name {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }
}


/* =========================================================

/* BMHUB 06 — FINAL CATEGORY SOURCE CARD SYSTEM */
.bmh-home .bmh-category-source-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

.bmh-home .bmh-category-source-card {
    min-width: 0 !important;
    min-height: 92px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 7px !important;
    border: 1px solid #e2e7ee !important;
    border-radius: 12px !important;
    background: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(15,35,65,.045) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.bmh-home .bmh-category-source-card:hover {
    transform: translateY(-2px);
    border-color: #cfd8e3 !important;
    box-shadow: 0 7px 20px rgba(15,35,65,.08) !important;
}

.bmh-home .bmh-category-source-logo {
    width: 82px !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 6px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.bmh-home .bmh-category-source-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.bmh-home .bmh-category-source-name {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--bmh-navy) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    box-sizing: border-box !important;
}

@media (max-width: 1100px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .bmh-home .bmh-category-source-logo {
        width: 82px !important;
        height: 40px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 700px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bmh-home .bmh-category-source-card {
        min-height: 86px !important;
        padding: 7px 5px !important;
    }

    .bmh-home .bmh-category-source-logo {
        width: 76px !important;
        height: 36px !important;
        min-height: 36px !important;
        margin-bottom: 5px !important;
    }

    .bmh-home .bmh-category-source-name {
        font-size: 10.5px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 420px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .bmh-home .bmh-category-source-card {
        min-height: 80px !important;
        padding: 6px 4px !important;
    }

    .bmh-home .bmh-category-source-logo {
        width: 68px !important;
        height: 32px !important;
        min-height: 32px !important;
    }

    .bmh-home .bmh-category-source-name {
        font-size: 9.5px !important;
    }
}

@media (max-width: 360px) {
    .bmh-home .bmh-category-source-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .bmh-home .bmh-category-source-card {
        min-height: 76px !important;
        padding: 5px 3px !important;
    }

    .bmh-home .bmh-category-source-logo {
        width: 62px !important;
        height: 29px !important;
        min-height: 29px !important;
    }

    .bmh-home .bmh-category-source-name {
        font-size: 9px !important;
    }
}


/* BMHUB 06 — UNIFIED MEDIA SOURCE CARD SYSTEM */

/*
 * FINAL UNIFIED SOURCE-CARD RULE
 *
 * INTENTIONALLY EXCLUDED:
 *   .bmh-popular-media-card
 *   .bmh-category-card
 *
 * These belong to:
 *   জনপ্রিয় বাংলা মিডিয়া
 *   মিডিয়া এক্সপ্লোর করুন
 *
 * All other source/category cards use this visual system.
 */


/* ============================================================
   1. CATEGORY SOURCE CARDS
   ============================================================ */

.bmh-home .bmh-category-source-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    overflow: visible !important;
}

.bmh-home .bmh-category-source-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 186px !important;
    height: 186px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 12px 12px 11px !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 18px !important;

    text-decoration: none !important;
    overflow: hidden !important;

    box-shadow: 0 5px 18px rgba(15,35,65,.055) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease !important;
}

.bmh-home .bmh-category-source-card:hover {
    transform: translateY(-2px) !important;
    border-color: #cfd8e3 !important;
    box-shadow: 0 10px 24px rgba(15,35,65,.09) !important;
}


/* Large logo area */
.bmh-home .bmh-category-source-logo {
    width: 100% !important;
    height: 132px !important;
    min-height: 132px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 2px 3px !important;

    background: #ffffff !important;
    border-radius: 10px !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

.bmh-home .bmh-category-source-logo img {
    display: block !important;

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

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

    object-fit: contain !important;
    object-position: center !important;
}


/* Only source name */
.bmh-home .bmh-category-source-name {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 3px !important;

    color: #10243d !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;

    text-align: center !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    box-sizing: border-box !important;
}


/* ============================================================
   2. ALL LOWER MEDIA/SOCIAL SOURCE ROWS
   জাতীয় সংবাদপত্র
   অনলাইন নিউজ পোর্টাল
   Facebook
   YouTube
   Instagram
   X
   Television
   Radio
   International
   USA
   UK
   etc.
   ============================================================ */


/*
 * IMPORTANT:
 * The actual HTML container is .bmh-social-track.
 * The previous override incorrectly relied on .bmh-social-grid.
 */

.bmh-home .bmh-social-track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;

    width: 100% !important;

    overflow: visible !important;

    padding: 2px 2px 4px !important;

    box-sizing: border-box !important;
}


/* Every source card gets the same card size */
.bmh-home .bmh-social-track .bmh-social-card {
    width: 100% !important;
    min-width: 0 !important;

    min-height: 186px !important;
    height: 186px !important;

    flex: none !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 12px 12px 11px !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 1px solid #dfe5ec !important;
    border-radius: 18px !important;

    text-align: center !important;
    text-decoration: none !important;

    overflow: hidden !important;

    box-shadow: 0 5px 18px rgba(15,35,65,.055) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease !important;
}

.bmh-home .bmh-social-track .bmh-social-card:hover {
    transform: translateY(-2px) !important;
    border-color: #cfd8e3 !important;
    box-shadow: 0 10px 24px rgba(15,35,65,.09) !important;
}


/* Large logo area */
.bmh-home .bmh-social-track .bmh-social-card-icon {
    width: 100% !important;
    height: 132px !important;
    min-height: 132px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 2px 3px !important;

    background: #ffffff !important;
    border-radius: 10px !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    font-size: 0 !important;
    color: transparent !important;
}

.bmh-home .bmh-social-track .bmh-social-card-icon img {
    display: block !important;

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

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

    object-fit: contain !important;
    object-position: center !important;
}


/* Only source name */
.bmh-home .bmh-social-track .bmh-social-card-name {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 3px !important;

    color: #10243d !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;

    text-align: center !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    box-sizing: border-box !important;
}


/* Hide platform/category labels */
.bmh-home .bmh-social-track .bmh-social-card-platform {
    display: none !important;
}


/*
 * Keep horizontal arrow controls visually available if present,
 * but they do not change the card sizing.
 */
.bmh-home .bmh-social-track-wrap {
    position: relative !important;
}


/* ============================================================
   3. TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 174px !important;
        height: 174px !important;
        padding: 10px 9px 9px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 120px !important;
        min-height: 120px !important;
    }
}


/* ============================================================
   4. MOBILE — EXACTLY 3 COLUMNS
   ============================================================ */

@media (max-width: 700px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 128px !important;
        height: 128px !important;

        padding: 7px 5px 6px !important;
        border-radius: 13px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 88px !important;
        min-height: 88px !important;

        padding: 2px !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }
}


/* ============================================================
   5. SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 116px !important;
        height: 116px !important;

        padding: 6px 4px 5px !important;
        border-radius: 12px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 76px !important;
        min-height: 76px !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        font-size: 9.5px !important;
    }
}


/* ============================================================
   6. VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 360px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 106px !important;
        height: 106px !important;

        padding: 5px 3px 4px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 69px !important;
        min-height: 69px !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        font-size: 9px !important;
    }
}



/* ============================================================
   BMH COMPACT UNIFIED SOURCE CARDS — FINAL TIGHT HEIGHT
   Protected:
   - জনপ্রিয় বাংলা মিডিয়া
   - মিডিয়া এক্সপ্লোর করুন
   ============================================================ */

.bmh-home .bmh-category-source-card,
.bmh-home .bmh-social-track .bmh-social-card {
    min-height: 156px !important;
    height: 156px !important;
    padding: 7px 8px 6px !important;
    border-radius: 12px !important;
}

.bmh-home .bmh-category-source-logo,
.bmh-home .bmh-social-track .bmh-social-card-icon {
    height: 112px !important;
    min-height: 112px !important;
    padding: 2px !important;
    border-radius: 9px !important;
}

.bmh-home .bmh-category-source-logo img,
.bmh-home .bmh-social-track .bmh-social-card-icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.bmh-home .bmh-category-source-name,
.bmh-home .bmh-social-track .bmh-social-card-name {
    margin-top: 4px !important;
    padding: 0 2px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
}

.bmh-home .bmh-social-track .bmh-social-card-platform {
    display: none !important;
}


/* =========================
   TABLET
   ========================= */
@media (max-width: 767px) {

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 116px !important;
        height: 116px !important;
        padding: 5px 4px 4px !important;
        border-radius: 10px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 78px !important;
        min-height: 78px !important;
        padding: 2px !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        margin-top: 3px !important;
        font-size: 9.5px !important;
        line-height: 1.15 !important;
    }
}


/* =========================
   MOBILE — 3 COLUMNS
   ========================= */
@media (max-width: 420px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 106px !important;
        height: 106px !important;
        padding: 4px 3px 3px !important;
        border-radius: 9px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 72px !important;
        min-height: 72px !important;
        padding: 1px !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        margin-top: 3px !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
    }
}


/* =========================
   VERY SMALL MOBILE
   ========================= */
@media (max-width: 360px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 98px !important;
        height: 98px !important;
        padding: 3px 2px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 66px !important;
        min-height: 66px !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        margin-top: 2px !important;
        font-size: 8.5px !important;
    }
}


/* ============================================================
   BMH FINAL COMPACT CARD
   96px DESKTOP / 70px MOBILE
   LOGOS MAXIMIZED INSIDE THE CARD
   ============================================================ */

/* ---------- DESKTOP ---------- */

.bmh-home .bmh-category-source-grid,
.bmh-home .bmh-social-track {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.bmh-home .bmh-category-source-card,
.bmh-home .bmh-social-track .bmh-social-card {
    min-height: 96px !important;
    height: 96px !important;
    padding: 3px 4px 2px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.bmh-home .bmh-category-source-logo,
.bmh-home .bmh-social-track .bmh-social-card-icon {
    height: 68px !important;
    min-height: 68px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.bmh-home .bmh-category-source-logo img,
.bmh-home .bmh-social-track .bmh-social-card-icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.bmh-home .bmh-category-source-name,
.bmh-home .bmh-social-track .bmh-social-card-name {
    margin: 2px 0 0 !important;
    padding: 0 !important;
    height: 17px !important;
    min-height: 17px !important;
    font-size: 10px !important;
    line-height: 17px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.bmh-home .bmh-social-track .bmh-social-card-platform {
    display: none !important;
}


/* ---------- TABLET / MOBILE ---------- */

@media (max-width: 767px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 70px !important;
        height: 70px !important;
        padding: 2px 3px 1px !important;
        border-radius: 8px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 49px !important;
        min-height: 49px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

    .bmh-home .bmh-category-source-logo img,
    .bmh-home .bmh-social-track .bmh-social-card-icon img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        margin: 1px 0 0 !important;
        height: 15px !important;
        min-height: 15px !important;
        font-size: 8.5px !important;
        line-height: 15px !important;
    }
}


/* ---------- VERY SMALL MOBILE ---------- */

@media (max-width: 360px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 70px !important;
        height: 70px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        height: 49px !important;
        min-height: 49px !important;
    }
}


/* ============================================================
   BMH 10 — ALL MEDIA SOURCE ROWS — SAME FINAL CARD SIZE
   ------------------------------------------------------------
   APPLIES TO:
   - জাতীয় সংবাদপত্র
   - অনলাইন নিউজ পোর্টাল
   - Facebook
   - YouTube
   - Instagram
   - X
   - TV
   - Radio
   - USA / UK / International media rows
   - অন্যান্য সব media-source rows

   PROTECTED / UNTOUCHED:
   - জনপ্রিয় বাংলা মিডিয়া
   - মিডিয়া এক্সপ্লোর করুন
   ============================================================ */


/* =========================
   DESKTOP — 5 CARDS
   ========================= */

.bmh-home .bmh-category-source-grid,
.bmh-home .bmh-social-track {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.bmh-home .bmh-category-source-card,
.bmh-home .bmh-social-track .bmh-social-card {
    min-height: 96px !important;
    height: 96px !important;
    padding: 3px 4px 2px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 10px !important;
}

.bmh-home .bmh-category-source-logo,
.bmh-home .bmh-social-track .bmh-social-card-icon {
    width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.bmh-home .bmh-category-source-logo img,
.bmh-home .bmh-social-track .bmh-social-card-icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.bmh-home .bmh-category-source-name,
.bmh-home .bmh-social-track .bmh-social-card-name {
    margin: 2px 0 0 !important;
    padding: 0 !important;
    height: 17px !important;
    min-height: 17px !important;
    font-size: 10px !important;
    line-height: 17px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.bmh-home .bmh-social-track .bmh-social-card-platform {
    display: none !important;
}


/* =========================
   MOBILE — 3 CARDS
   ========================= */

@media (max-width: 767px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        width: 100% !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 70px !important;
        height: 70px !important;
        padding: 2px 3px 1px !important;
        border-radius: 8px !important;
    }

    .bmh-home .bmh-category-source-logo,
    .bmh-home .bmh-social-track .bmh-social-card-icon {
        width: 100% !important;
        height: 49px !important;
        min-height: 49px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .bmh-home .bmh-category-source-logo img,
    .bmh-home .bmh-social-track .bmh-social-card-icon img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .bmh-home .bmh-category-source-name,
    .bmh-home .bmh-social-track .bmh-social-card-name {
        margin: 1px 0 0 !important;
        height: 15px !important;
        min-height: 15px !important;
        font-size: 8.5px !important;
        line-height: 15px !important;
    }
}


/* =========================
   VERY SMALL MOBILE
   ========================= */

@media (max-width: 360px) {

    .bmh-home .bmh-category-source-grid,
    .bmh-home .bmh-social-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .bmh-home .bmh-category-source-card,
    .bmh-home .bmh-social-track .bmh-social-card {
        min-height: 70px !important;
        height: 70px !important;
    }
}


/* =========================================================
   BMH — APPROVED BOX STYLE EXTENDED TO ALL DIRECTORY SECTIONS
   VISUAL CONTAINER ONLY
   CONTENT / DATA / TYPOGRAPHY / CARD DESIGN UNCHANGED
   ========================================================= */

/* Master media rows:
   Press Club, Community, Documentary, Fact Check,
   Blog, News Agency, Magazine, Podcast, etc. */
.bmh-home .bmh-social-row {
    position: relative !important;
    margin: 18px 0 20px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e4e8ee !important;
    border-top: 3px solid var(--bmh-red, #d71920) !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06) !important;
}

/* Keep the existing heading typography and controls intact.
   Only add the same visual divider/accent around the heading area. */
.bmh-home .bmh-social-row > .bmh-container > .bmh-social-head {
    margin-bottom: 14px !important;
    padding: 0 0 10px 10px !important;
    border-bottom: 1px solid #e7ebf0 !important;
    border-left: 4px solid var(--bmh-red, #d71920) !important;
}

/* Do not alter card internals. */
.bmh-home .bmh-social-row .bmh-social-track {
    background: transparent !important;
}

/* Popular Bangla Media */
.bmh-home .bmh-popular-media-v2 {
    position: relative !important;
    margin: 18px 0 20px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e4e8ee !important;
    border-top: 3px solid var(--bmh-red, #d71920) !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06) !important;
}

/* Popular Bangla Media heading — visual divider only */
.bmh-home .bmh-popular-media-v2 > .bmh-container > .bmh-section-head {
    margin-bottom: 14px !important;
    padding: 0 0 10px 10px !important;
    border-bottom: 1px solid #e7ebf0 !important;
    border-left: 4px solid var(--bmh-red, #d71920) !important;
}

/* Media Explore */
.bmh-home #bmh-home-media-explore {
    position: relative !important;
    margin: 18px 0 20px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e4e8ee !important;
    border-top: 3px solid var(--bmh-red, #d71920) !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06) !important;
}

/* Media Explore heading — visual divider only */
.bmh-home #bmh-home-media-explore > .bmh-container > .bmh-section-head {
    margin-bottom: 14px !important;
    padding: 0 0 10px 10px !important;
    border-bottom: 1px solid #e7ebf0 !important;
    border-left: 4px solid var(--bmh-red, #d71920) !important;
}

/* Preserve existing grids/card internals */
.bmh-home #bmh-home-media-explore .bmh-type-grid,
.bmh-home .bmh-popular-media-v2 .bmh-popular-media-track {
    background: transparent !important;
}

/* Mobile: same box rhythm, without changing typography/card sizes */
@media (max-width: 767px) {
    .bmh-home .bmh-social-row,
    .bmh-home .bmh-popular-media-v2,
    .bmh-home #bmh-home-media-explore {
        margin: 14px 0 16px !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .bmh-home .bmh-social-row > .bmh-container > .bmh-social-head,
    .bmh-home .bmh-popular-media-v2 > .bmh-container > .bmh-section-head,
    .bmh-home #bmh-home-media-explore > .bmh-container > .bmh-section-head {
        padding-left: 8px !important;
        margin-bottom: 12px !important;
    }
}



/* BMH — SAME APPROVED BOX STYLE FOR ALL CATEGORY SECTIONS
   VISUAL ONLY — CONTENT / DATA / TYPOGRAPHY UNCHANGED
*/
.bmh-home .bmh-category-media-row {
    position: relative !important;
    margin: 18px 0 20px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e4e8ee !important;
    border-top: 3px solid var(--bmh-red, #d71920) !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06) !important;
}

.bmh-home .bmh-category-media-row > .bmh-container > .bmh-category-media-content > div:first-child {
    margin-bottom: 14px !important;
    padding: 0 0 10px 10px !important;
    border-bottom: 1px solid #e7ebf0 !important;
    border-left: 4px solid var(--bmh-red, #d71920) !important;
}

.bmh-home .bmh-category-media-row .bmh-category-source-grid {
    background: transparent !important;
}

@media (max-width: 767px) {
    .bmh-home .bmh-category-media-row {
        margin: 14px 0 16px !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .bmh-home .bmh-category-media-row > .bmh-container > .bmh-category-media-content > div:first-child {
        padding-left: 8px !important;
        margin-bottom: 12px !important;
    }
}


/* =========================================================
   BMH CATEGORY SOURCE CARDS — LOGO LARGE / CLEAN
   MEDIA EXPLORE IS NOT TOUCHED
   ========================================================= */

/* Card stays clean and compact */
.bmh-home .bmh-category-source-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* WHITE LOGO AREA — NO RED INNER CIRCLE / RING */
.bmh-home .bmh-category-source-card .bmh-category-source-logo {
    width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 auto 7px !important;
    padding: 4px !important;
    position: relative !important;
}

/* Remove any decorative pseudo-elements, including red circles */
.bmh-home .bmh-category-source-card .bmh-category-source-logo::before,
.bmh-home .bmh-category-source-card .bmh-category-source-logo::after {
    content: none !important;
    display: none !important;
}

/* LARGE REAL LOGO — preserve original aspect ratio */
.bmh-home .bmh-category-source-card .bmh-category-source-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 96px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ONLY THE SOURCE NAME */
.bmh-home .bmh-category-source-card .bmh-category-source-name {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #111827 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

/* Never show repeated category/type labels inside these cards */
.bmh-home .bmh-category-source-card .bmh-category-source-meta,
.bmh-home .bmh-category-source-card .bmh-media-meta,
.bmh-home .bmh-category-source-card .bmh-source-type,
.bmh-home .bmh-category-source-card .bmh-media-type,
.bmh-home .bmh-category-source-card .bmh-category-source-type,
.bmh-home .bmh-category-source-card .bmh-category-source-description {
    display: none !important;
}

/* TABLET */
@media (max-width: 1100px) {
    .bmh-home .bmh-category-source-card .bmh-category-source-logo {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo img {
        max-width: 88px !important;
        max-height: 64px !important;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .bmh-home .bmh-category-source-card .bmh-category-source-logo {
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        margin-bottom: 5px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo img {
        max-width: 78px !important;
        max-height: 57px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-name {
        font-size: 11px !important;
    }
}

/* SMALL MOBILE */
@media (max-width: 420px) {
    .bmh-home .bmh-category-source-card .bmh-category-source-logo {
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
    }

    .bmh-home .bmh-category-source-card .bmh-category-source-logo img {
        max-width: 70px !important;
        max-height: 51px !important;
    }
}


/*
 * BMHUB — SAME MASTER SOURCE-CARD SIZE
 *
 * IMPORTANT:
 * No card height, width, min-height or grid sizing is defined here.
 * Every section uses the existing homepage master source-card size.
 * This rule only keeps individual logos contained and centered.
 */
.bmh-home .bmh-category-source-card .bmh-category-source-logo img {
    display: block !important;
    max-width: 170px !important;
    max-height: 64px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
}


/* =========================================================
   BMHUB — MEDIA EXPLORE TRUE FINAL LOCK
   Desktop and mobile use the same visual structure.
   ========================================================= */

#bmh-home-media-explore .bmh-type-grid {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

#bmh-home-media-explore .bmh-type-card {
    position: relative !important;
    width: 100% !important;
    height: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
    padding: 6px 6px 30px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

#bmh-home-media-explore .bmh-type-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

#bmh-home-media-explore .bmh-type-icon img,
#bmh-home-media-explore .bmh-type-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Name: always a separate bottom area */
#bmh-home-media-explore .bmh-type-card .bmh-type-name,
#bmh-home-media-explore .bmh-type-card .bmh-type-label,
#bmh-home-media-explore .bmh-type-card h3 {
    position: absolute !important;
    left: 3px !important;
    right: 3px !important;
    bottom: 9px !important;
    width: auto !important;
    height: 25px !important;
    max-height: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

/* Count: its own separate line */
#bmh-home-media-explore .bmh-type-card .bmh-type-count,
#bmh-home-media-explore .bmh-type-card .count,
#bmh-home-media-explore .bmh-type-card .bmh-count,
#bmh-home-media-explore .bmh-type-card small {
    position: absolute !important;
    left: 3px !important;
    right: 3px !important;
    bottom: 2px !important;
    width: auto !important;
    height: 9px !important;
    max-height: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 9px !important;
    line-height: 9px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* Tablet and mobile: FOUR cards per row */
@media (max-width:1200px) {
    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }
}

/* iPhone / mobile */
@media (max-width:700px) {
    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
        padding: 5px 3px 30px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        left: 2px !important;
        right: 2px !important;
        bottom: 9px !important;
        height: 25px !important;
        max-height: 25px !important;
        font-size: 10px !important;
        line-height: 1.12 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom: 2px !important;
        font-size: 8px !important;
        line-height: 9px !important;
        height: 9px !important;
        max-height: 9px !important;
    }
}

/* Small phones */
@media (max-width:420px) {
    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height: 110px !important;
        min-height: 110px !important;
        max-height: 110px !important;
        padding: 5px 2px 29px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom: 8px !important;
        height: 24px !important;
        max-height: 24px !important;
        font-size: 9.5px !important;
        line-height: 1.1 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom: 2px !important;
        font-size: 7.5px !important;
        line-height: 8px !important;
        height: 8px !important;
        max-height: 8px !important;
    }
}


/* =========================================================
   BMHUB — MEDIA EXPLORE FINAL DESKTOP + MOBILE
   DESKTOP LAYOUT LOCKED
   MOBILE PORTRAIT REDESIGNED
   ========================================================= */

/* =========================
   DESKTOP — DO NOT CHANGE
   ========================= */
@media (min-width:1201px) {

    #bmh-home-media-explore .bmh-type-icon {
        transform:translateY(-6px) !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom:5px !important;
        height:24px !important;
        max-height:24px !important;
        line-height:1.08 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom:0 !important;
        height:8px !important;
        line-height:1 !important;
    }
}


/* =========================
   TABLET
   ========================= */
@media (min-width:701px) and (max-width:1200px) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
        padding:5px 5px 28px !important;
        box-sizing:border-box !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:58px !important;
        height:58px !important;
        transform:translateY(-3px) !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom:5px !important;
        height:23px !important;
        max-height:23px !important;
        font-size:11px !important;
        line-height:1.08 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom:0 !important;
        height:8px !important;
        font-size:8px !important;
        line-height:1 !important;
    }
}


/* =========================
   MOBILE PORTRAIT
   NEW SYSTEM — MATCH REFERENCE
   ========================= */
@media (max-width:700px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:8px !important;
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        width:100% !important;
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
        padding:5px 3px 29px !important;
        box-sizing:border-box !important;
        border-radius:12px !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        overflow:hidden !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:54px !important;
        height:54px !important;
        min-width:54px !important;
        min-height:54px !important;
        margin:0 auto !important;
        transform:translateY(-1px) !important;
        flex-shrink:0 !important;
    }

    #bmh-home-media-explore .bmh-type-icon img,
    #bmh-home-media-explore .bmh-type-icon svg {
        width:100% !important;
        height:100% !important;
        object-fit:contain !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        position:absolute !important;
        left:2px !important;
        right:2px !important;
        bottom:6px !important;
        height:23px !important;
        max-height:23px !important;
        margin:0 !important;
        padding:0 !important;
        font-size:10px !important;
        line-height:1.08 !important;
        font-weight:700 !important;
        text-align:center !important;
        overflow:hidden !important;
        display:-webkit-box !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:2 !important;
        align-items:center !important;
        justify-content:center !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        position:absolute !important;
        left:2px !important;
        right:2px !important;
        bottom:0 !important;
        height:7px !important;
        margin:0 !important;
        padding:0 !important;
        font-size:8px !important;
        line-height:1 !important;
        text-align:center !important;
        white-space:nowrap !important;
        overflow:hidden !important;
    }
}


/* =========================
   SMALL PHONE
   ========================= */
@media (max-width:420px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:6px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:110px !important;
        min-height:110px !important;
        max-height:110px !important;
        padding:4px 2px 28px !important;
        border-radius:11px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:50px !important;
        height:50px !important;
        min-width:50px !important;
        min-height:50px !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom:5px !important;
        height:22px !important;
        max-height:22px !important;
        font-size:9.5px !important;
        line-height:1.06 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom:0 !important;
        height:7px !important;
        font-size:7.5px !important;
    }
}


/* =========================
   MOBILE LANDSCAPE
   LAPTOP-LIKE VIEW
   ========================= */
@media (max-width:900px) and (orientation:landscape) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(8,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:58px !important;
        height:58px !important;
        transform:translateY(-4px) !important;
    }
}



/* =========================================================
   BMHUB — MEDIA EXPLORE
   DESKTOP: 8 COLUMNS — KEEP CURRENT CARD SIZE
   MOBILE PORTRAIT: 4 COLUMNS
   ========================================================= */

/* ---------- LAPTOP / DESKTOP ---------- */
@media (min-width:1201px) {

    #bmh-home-media-explore .bmh-type-icon {
        transform:translateY(-10px) !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom:5px !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom:0 !important;
    }
}


/* ---------- TABLET ---------- */
@media (min-width:701px) and (max-width:1200px) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        transform:translateY(-7px) !important;
    }
}


/* ---------- MOBILE PORTRAIT ---------- */
@media (max-width:700px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:8px !important;
        width:100% !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        width:100% !important;
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
        padding:4px 4px 30px !important;
        box-sizing:border-box !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        overflow:hidden !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:54px !important;
        height:54px !important;
        min-width:54px !important;
        min-height:54px !important;
        margin:0 auto !important;
        transform:translateY(-5px) !important;
        flex-shrink:0 !important;
    }

    #bmh-home-media-explore .bmh-type-icon img,
    #bmh-home-media-explore .bmh-type-icon svg {
        width:100% !important;
        height:100% !important;
        object-fit:contain !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        position:absolute !important;
        left:4px !important;
        right:4px !important;
        bottom:7px !important;
        height:24px !important;
        max-height:24px !important;
        margin:0 !important;
        padding:0 !important;
        font-size:11px !important;
        line-height:1.12 !important;
        font-weight:700 !important;
        text-align:center !important;
        overflow:hidden !important;
        display:-webkit-box !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:2 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        position:absolute !important;
        left:4px !important;
        right:4px !important;
        bottom:1px !important;
        height:8px !important;
        margin:0 !important;
        padding:0 !important;
        font-size:8px !important;
        line-height:1 !important;
        text-align:center !important;
        white-space:nowrap !important;
        overflow:hidden !important;
    }
}


/* ---------- SMALL PHONE ---------- */
@media (max-width:420px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:6px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:110px !important;
        min-height:110px !important;
        max-height:110px !important;
        padding:3px 3px 29px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:50px !important;
        height:50px !important;
        min-width:50px !important;
        min-height:50px !important;
        transform:translateY(-4px) !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        left:3px !important;
        right:3px !important;
        bottom:6px !important;
        font-size:10px !important;
    }
}


/* ---------- MOBILE LANDSCAPE = LAPTOP STYLE ---------- */
@media (max-width:900px) and (orientation:landscape) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(8,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:58px !important;
        height:58px !important;
        transform:translateY(-7px) !important;
    }
}




/* =========================================================
   MEDIA EXPLORE — FINAL SPACING + MOBILE FORCE
   ========================================================= */

/* LAPTOP — KEEP 8 COLUMNS, ONLY VISUAL POSITIONING */
@media screen and (min-width:1201px) {

    #bmh-home-media-explore .bmh-type-icon {
        transform:translateY(-13px) !important;
    }

    /* Name and count closer together */
    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom:3px !important;
        height:20px !important;
        max-height:20px !important;
        line-height:1.05 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom:0 !important;
        height:7px !important;
        line-height:1 !important;
    }
}


/* TABLET */
@media screen and (min-width:701px) and (max-width:1200px) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        transform:translateY(-9px) !important;
    }
}


/* =========================================================
   MOBILE PORTRAIT — FORCE 4 COLUMNS
   ========================================================= */
@media screen and (max-width:700px) and (orientation:portrait),
       screen and (max-device-width:700px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        grid-auto-flow:row !important;
        gap:8px !important;
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
        min-height:0 !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        width:100% !important;
        min-width:0 !important;
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
        padding:3px 4px 29px !important;
        box-sizing:border-box !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        overflow:hidden !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:54px !important;
        height:54px !important;
        min-width:54px !important;
        min-height:54px !important;
        margin:0 auto !important;
        transform:translateY(-5px) !important;
        flex:0 0 54px !important;
    }

    #bmh-home-media-explore .bmh-type-icon img,
    #bmh-home-media-explore .bmh-type-icon svg {
        width:100% !important;
        height:100% !important;
        object-fit:contain !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        position:absolute !important;
        left:3px !important;
        right:3px !important;
        bottom:7px !important;
        height:22px !important;
        max-height:22px !important;
        margin:0 !important;
        padding:0 !important;
        font-size:11px !important;
        line-height:1.08 !important;
        font-weight:700 !important;
        text-align:center !important;
        overflow:hidden !important;
        display:-webkit-box !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:2 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        position:absolute !important;
        left:3px !important;
        right:3px !important;
        bottom:1px !important;
        height:7px !important;
        margin:0 !important;
        padding:0 !important;
        font-size:8px !important;
        line-height:1 !important;
        text-align:center !important;
        white-space:nowrap !important;
        overflow:hidden !important;
    }
}


/* SMALL PORTRAIT PHONE */
@media screen and (max-width:420px) and (orientation:portrait),
       screen and (max-device-width:420px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:6px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:110px !important;
        min-height:110px !important;
        max-height:110px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:50px !important;
        height:50px !important;
        min-width:50px !important;
        min-height:50px !important;
        flex-basis:50px !important;
        transform:translateY(-4px) !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        font-size:10px !important;
    }
}


/* MOBILE LANDSCAPE — KEEP LAPTOP-LIKE 8 COLUMNS */
@media screen and (max-width:900px) and (orientation:landscape) {

    #bmh-home-media-explore .bmh-type-grid {
        grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        height:112px !important;
        min-height:112px !important;
        max-height:112px !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width:58px !important;
        height:58px !important;
        transform:translateY(-9px) !important;
    }
}




/* =========================================================
   MOBILE PORTRAIT — HARD 4 COLUMN FIX
   DESKTOP + LANDSCAPE UNTOUCHED
   ========================================================= */

@media only screen and (max-width:700px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        display:grid !important;
        grid-template-columns:repeat(4, 1fr) !important;
        grid-template-rows:auto !important;
        grid-auto-columns:auto !important;
        grid-auto-flow:row !important;
        width:100% !important;
        max-width:none !important;
        gap:8px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        display:flex !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        box-sizing:border-box !important;
    }
}


/* SMALL PHONE — STILL 4 COLUMNS */
@media only screen and (max-width:420px) and (orientation:portrait) {

    #bmh-home-media-explore .bmh-type-grid {
        display:grid !important;
        grid-template-columns:repeat(4, 1fr) !important;
        grid-auto-flow:row !important;
        gap:6px !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        min-width:0 !important;
        width:auto !important;
    }
}



/* MEDIA EXPLORE — NATURAL NAME + COUNT SPACING
   Keep card size, icon size and 4/8-column layout unchanged.
*/

#bmh-home-media-explore .bmh-type-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    position:relative !important;
}

/* Name: use natural height instead of reserving a fixed 2-line block */
#bmh-home-media-explore .bmh-type-card .bmh-type-name,
#bmh-home-media-explore .bmh-type-card .bmh-type-label,
#bmh-home-media-explore .bmh-type-card h3 {
    position:absolute !important;
    left:3px !important;
    right:3px !important;
    bottom:18px !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    max-height:24px !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1.08 !important;
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:normal !important;
    text-align:center !important;
}

/* Count sits immediately below the name area */
#bmh-home-media-explore .bmh-type-card .bmh-type-count,
#bmh-home-media-explore .bmh-type-card .count,
#bmh-home-media-explore .bmh-type-card .bmh-count,
#bmh-home-media-explore .bmh-type-card small {
    position:absolute !important;
    left:3px !important;
    right:3px !important;
    bottom:2px !important;
    width:auto !important;
    height:9px !important;
    max-height:9px !important;
    margin:0 !important;
    padding:0 !important;
    line-height:9px !important;
    text-align:center !important;
}

/* Mobile portrait: preserve the now-correct 4-column layout */
@media only screen and (max-width:700px) and (orientation:portrait) {
    #bmh-home-media-explore .bmh-type-card .bmh-type-name,
    #bmh-home-media-explore .bmh-type-card .bmh-type-label,
    #bmh-home-media-explore .bmh-type-card h3 {
        bottom:17px !important;
        max-height:22px !important;
        line-height:1.06 !important;
    }

    #bmh-home-media-explore .bmh-type-card .bmh-type-count,
    #bmh-home-media-explore .bmh-type-card .count,
    #bmh-home-media-explore .bmh-type-card .bmh-count,
    #bmh-home-media-explore .bmh-type-card small {
        bottom:2px !important;
        height:8px !important;
        max-height:8px !important;
        line-height:8px !important;
    }
}


/* BMHUB — MEDIA EXPLORE MOBILE ONLY — 4 CARDS PER ROW */
@media screen and (max-width: 767px) and (orientation: portrait) {
    #bmh-home-media-explore .bmh-type-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #bmh-home-media-explore .bmh-type-card {
        width: 100% !important;
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #bmh-home-media-explore .bmh-type-icon {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }

    #bmh-home-media-explore .bmh-type-icon img,
    #bmh-home-media-explore .bmh-type-icon svg {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
}

<style id="bmh-popular-media-spacing-fix-v2">
/* BMH POPULAR MEDIA SPACING FIX v2 */
.bmh-popular-kicker{
    margin-top:16px !important;
    margin-bottom:8px !important;
}

#bmh-popular-media-title{
    margin-top:0 !important;
    margin-bottom:5px !important;
}

.bmh-popular-media-v2 .bmh-section-subtitle{
    margin-top:0 !important;
}


/* BMH POPULAR MEDIA LOGO SPACING v1 */
.bmh-popular-media-v2 .bmh-section-head{
    padding-top:18px !important;
    margin-bottom:6px !important;
}

.bmh-popular-media-v2 .bmh-section-title{
    margin-top:0 !important;
}

.bmh-popular-media-v2 .bmh-popular-media-track{
    margin-top:0 !important;
}


/* BMH HEADER LOGO — FINAL VERTICAL FIT */
.bmh-master-header .bmh-master-header-top{
    min-height:110px !important;
    height:110px !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
    box-sizing:border-box !important;
    align-items:center !important;
}

.bmh-master-header .bmh-master-brand{
    height:90px !important;
    align-items:center !important;
    overflow:visible !important;
}

.bmh-master-header .bmh-master-brand-mark.bmh-full-logo-wrap{
    width:300px !important;
    height:90px !important;
    flex:0 0 300px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    overflow:visible !important;
    transform:translateY(8px) !important;
}

.bmh-master-header .bmh-full-logo{
    width:300px !important;
    height:90px !important;
    max-width:300px !important;
    object-fit:contain !important;
    object-position:left center !important;
    display:block !important;
}





}

/* BMH NEWS AGENCY — LOGO DISPLAY FIX */
.bmh-home .bmh-master-news_agency .bmh-social-card-icon{
    width:56px !important;
    height:56px !important;
    margin:0 auto 9px !important;
    padding:5px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#fff !important;
    border:1px solid #edf0f4 !important;
    border-radius:10px !important;
    box-sizing:border-box !important;
}

.bmh-home .bmh-master-news_agency .bmh-social-card-icon img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center !important;
}

.bmh-home .bmh-master-news_agency .bmh-social-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
}

.bmh-home .bmh-master-news_agency .bmh-social-card-name{
    width:100% !important;
    min-height:32px !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
    text-align:center !important;
}

@media (max-width:700px){
    .bmh-home .bmh-master-news_agency .bmh-social-card-icon{
        width:48px !important;
        height:48px !important;
        padding:4px !important;
    }
}



/* ============================================================
   BMH HEADER REFERENCE DESIGN FINAL 2026-09-21
   Main Header only.
   Uses the real Bangla Media Hub logo.
   Do not move or expose raw CSS/source text above Header.
   ============================================================ */

.bmh-utility-bar{
    display:none !important;
}

.bmh-master-header{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    background:#ffffff !important;
    border-top:3px solid #0a4d2e !important;
    border-bottom:1px solid #e5e7eb !important;
    box-shadow:0 3px 14px rgba(15,23,42,.07) !important;
    position:relative !important;
    z-index:1000 !important;
}

.bmh-master-header-top{
    width:min(1320px,calc(100% - 48px)) !important;
    min-height:92px !important;
    height:92px !important;
    margin:0 auto !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:28px !important;
    box-sizing:border-box !important;
}

.bmh-master-brand{
    width:285px !important;
    height:92px !important;
    flex:0 0 285px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    overflow:hidden !important;
    text-decoration:none !important;
}

.bmh-master-brand-mark.bmh-full-logo-wrap{
    width:285px !important;
    height:92px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    position:relative !important;
    overflow:hidden !important;
}

.bmh-full-logo{
    display:block !important;
    width:285px !important;
    height:auto !important;
    max-width:none !important;
    max-height:92px !important;
    object-fit:contain !important;
    object-position:left center !important;
    position:static !important;
}

.bmh-master-search{
    flex:1 1 auto !important;
    width:auto !important;
    max-width:600px !important;
    min-width:320px !important;
    margin:0 auto !important;
}

.bmh-master-search form{
    width:100% !important;
    height:48px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    background:#ffffff !important;
    border:1px solid #cfd8e3 !important;
    border-radius:10px !important;
    box-shadow:0 2px 7px rgba(15,23,42,.04) !important;
    overflow:hidden !important;
}

.bmh-master-search input{
    flex:1 1 auto !important;
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    color:#1f2937 !important;
    font-size:15px !important;
    font-weight:400 !important;
    padding:0 18px !important;
    box-sizing:border-box !important;
}

.bmh-master-search input::placeholder{
    color:#8a97a8 !important;
    opacity:1 !important;
}

.bmh-master-search button{
    flex:0 0 auto !important;
    height:100% !important;
    min-width:92px !important;
    padding:0 18px !important;
    border:0 !important;
    border-left:1px solid #dce3eb !important;
    border-radius:0 !important;
    background:#0a4d2e !important;
    color:#ffffff !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    font-size:13px !important;
    font-weight:700 !important;
    cursor:pointer !important;
}

.bmh-master-search button svg{
    width:17px !important;
    height:17px !important;
    flex:0 0 17px !important;
}

.bmh-quicknav{
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:16px !important;
    white-space:nowrap !important;
}

.bmh-quicknav a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    color:#334155 !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1 !important;
    transition:color .18s ease !important;
}

.bmh-quicknav a:hover{
    color:#0a4d2e !important;
}

.bmh-quicknav a svg{
    width:17px !important;
    height:17px !important;
    flex:0 0 17px !important;
}

.bmh-master-actions{
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
}

.bmh-login-btn{
    min-height:40px !important;
    padding:0 17px !important;
    border-radius:8px !important;
    background:#0a4d2e !important;
    border:1px solid #0a4d2e !important;
    color:#ffffff !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    font-size:13px !important;
    font-weight:700 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    box-shadow:0 2px 6px rgba(10,77,46,.16) !important;
}

.bmh-login-btn:hover{
    background:#083d25 !important;
    border-color:#083d25 !important;
}

@media (max-width:1180px){
    .bmh-master-header-top{
        width:min(100% - 32px,1180px) !important;
        gap:20px !important;
    }

    .bmh-master-brand,
    .bmh-master-brand-mark.bmh-full-logo-wrap{
        width:250px !important;
        flex-basis:250px !important;
    }

    .bmh-full-logo{
        width:250px !important;
    }

    .bmh-quicknav{
        gap:10px !important;
    }

    .bmh-quicknav a{
        font-size:12px !important;
    }
}

@media (max-width:900px){
    .bmh-master-header-top{
        width:calc(100% - 28px) !important;
        min-height:82px !important;
        height:82px !important;
        gap:16px !important;
    }

    .bmh-master-brand,
    .bmh-master-brand-mark.bmh-full-logo-wrap{
        width:210px !important;
        height:82px !important;
        flex-basis:210px !important;
    }

    .bmh-full-logo{
        width:210px !important;
        max-height:82px !important;
    }

    .bmh-master-search{
        min-width:220px !important;
    }

    .bmh-quicknav{
        display:none !important;
    }
}

@media (max-width:700px){
    .bmh-master-header-top{
        width:calc(100% - 24px) !important;
        min-height:0 !important;
        height:auto !important;
        padding:10px 0 12px !important;
        display:grid !important;
        grid-template-columns:1fr auto !important;
        gap:10px 12px !important;
        align-items:center !important;
    }

    .bmh-master-brand{
        width:205px !important;
        height:62px !important;
        flex:none !important;
    }

    .bmh-master-brand-mark.bmh-full-logo-wrap{
        width:205px !important;
        height:62px !important;
    }

    .bmh-full-logo{
        width:205px !important;
        max-height:62px !important;
    }

    .bmh-master-actions{
        justify-self:end !important;
    }

    .bmh-login-btn{
        min-height:38px !important;
        padding:0 12px !important;
        font-size:12px !important;
    }

    .bmh-master-search{
        grid-column:1 / -1 !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
    }

    .bmh-master-search form{
        height:44px !important;
    }
}







<style id="bmh-unified-seeall-button-final">
/* ============================================================
   BMH — ONE UNIFIED "সব দেখুন" BUTTON FOR ALL SECTIONS
   Same shape / radius / border / padding / alignment everywhere.
   ============================================================ */

.bmh-home .bmh-social-seeall {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: 34px !important;
    padding: 7px 13px !important;
    border: 1px solid #e21d2f !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #e21d2f !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: all .18s ease !important;
}

.bmh-home .bmh-social-seeall:hover {
    background: #e21d2f !important;
    color: #ffffff !important;
    border-color: #e21d2f !important;
    text-decoration: none !important;
}

/* Category / priority section "সব দেখুন" links */
.bmh-home .bmh-section-head .bmh-social-seeall,
.bmh-home .bmh-social-head .bmh-social-seeall {
    flex: 0 0 auto !important;
}

/* Keep heading and button on the same clean horizontal line */
.bmh-home .bmh-social-head,
.bmh-home .bmh-section-head {
    align-items: center !important;
}

/* Mobile */
@media (max-width: 767px) {
    .bmh-home .bmh-social-seeall {
        min-height: 32px !important;
        padding: 6px 11px !important;
        font-size: 12px !important;
        border-radius: 999px !important;
    }
}

