.header-banner {
    width: calc(100% - 12px);
    margin: 4px auto 0;
    min-height: 170px;
    box-sizing: border-box;
}

.header-banner__inner {
    width: 100%;
    max-width: 1370px;
    min-height: 170px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    padding: 10px 30px;
    box-sizing: border-box;

    background-image:
        linear-gradient(
            90deg,
            rgba(250, 252, 244, 1) 0%,
            rgba(250, 252, 244, 1) 42%,
            rgba(250, 252, 244, 0.98) 58%,
            rgba(250, 252, 244, 0.92) 63%,
            rgba(250, 252, 244, 0.75) 68%,
            rgba(250, 252, 244, 0.48) 73%,
            rgba(250, 252, 244, 0.20) 78%,
            rgba(250, 252, 244, 0.05) 82%,
            rgba(250, 252, 244, 0) 86%
        ),
        url("https://storage-vnportal.vnpt.vn/gov-tnn/10089/banner/header/cpnminh1.jpg");

    background-repeat: no-repeat;

    background-position:
        center center,
        right center;

    background-size:
        100% 100%,
        auto 200%;
}


@media (max-width: 991px) {

    .header-banner__inner {
        min-height: 150px;

        padding: 10px 22px;

        background-image:
            linear-gradient(
                90deg,
                rgba(250, 252, 244, 1) 0%,
                rgba(250, 252, 244, 0.98) 35%,
                rgba(250, 252, 244, 0.90) 48%,
                rgba(250, 252, 244, 0.65) 60%,
                rgba(250, 252, 244, 0.30) 72%,
                rgba(250, 252, 244, 0.05) 82%,
                rgba(250, 252, 244, 0) 90%
            ),
            url("https://storage-vnportal.vnpt.vn/gov-tnn/10089/banner/header/cpnminh1.jpg");

        background-position:
            center center,
            right center;

        background-size:
            100% 100%,
            auto 165%;
    }
}



@media (max-width: 767px) {

    .header-banner__inner {
        min-height: 125px;

        padding: 10px 15px;

       
        background-image:
            linear-gradient(
                90deg,
                rgba(250, 252, 244, 1) 0%,
                rgba(250, 252, 244, 0.98) 25%,
                rgba(250, 252, 244, 0.92) 38%,
                rgba(250, 252, 244, 0.75) 50%,
                rgba(250, 252, 244, 0.48) 62%,
                rgba(250, 252, 244, 0.20) 75%,
                rgba(250, 252, 244, 0.05) 86%,
                rgba(250, 252, 244, 0) 100%
            ),
            url("https://storage-vnportal.vnpt.vn/gov-tnn/10089/banner/header/cpnminh1.jpg");

       

        background-size:
            100% 100%,
            auto 140%;
    }
}




.header-banner__brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-banner__logo {
    width: 125px;
    height: auto;
    display: block;
    flex-shrink: 0;
    max-width: 80px;
}

.header-banner__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-banner__sub {
    color: #49664a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-banner__title {
    margin-top: 5px;

    color: #008000;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
}

.header-banner {
    width: 100%;
    margin: 0;
    background: linear-gradient(
        90deg,
        #fafcf4 0%,
        #fafcf4 45%,
        #dfefd5 100%
    );
}




@media (max-width: 768px) {

    .header-banner {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: 120px;

        background-position: center right;
    }

    .header-banner__inner {
        min-height: 120px;
        padding: 10px 15px;
    }

    .header-banner__brand {
        gap: 12px;
    }

    .header-banner__logo {
        width: 80px;
    }

    .header-banner__sub {
        font-size: 10px;
    }

    .header-banner__title {
        margin-top: 3px;
        font-size: 22px;
    }
}

@media only screen and (max-width: 768px) {
    #TopBar > table:first-child > tbody > tr > td.td-layout.layout-1 {
        position: relative;
    }

    #TopBar .UISingleSearch_default .SingleSearch {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0;
        margin: 0 !important;
        transform: none !important;
        width: calc(100vw - 50px) !important;
        z-index: 1;
    }
}
