﻿
:root {
    --font-family-literata: "Literata", serif;
    --font-family-inter: "Inter", sans-serif;
}
/* ===== Logo (quochuy) ===== */
.UIBannerControl .banner img {
    width: 79.28px;
    height: 80px;
}

.UIBannerControl .BannerContent .ImageWrapper {
    max-width: 80px;
    max-height: 80px;
}

    .UIBannerControl .BannerContent .ImageWrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        content: url(images/quochuy.png);
    }

.UIBannerControl .BannerContent {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 120px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* ===== Banner tổng ===== */
.UIBannerControl {
    background: url(images/bgtrongdong.png) #bd1723 no-repeat center center;
    background-size: cover;
}

    .UIBannerControl .banner {
        position: relative;
        display: flex;
        align-items: center;
        width: 1180px;
        height: 140px;
        margin: auto;
        overflow: hidden;

    }

        .UIBannerControl .banner > a,
        .UIBannerControl .banner .text {
            position: relative;
            z-index: 2;
        }

        .UIBannerControl .banner .text {
            margin-left: 24px;
            flex: 1;
        }

        .UIBannerControl .banner div .info a {
            font-family: var(--font-family-literata);
            font-weight: 700;
            font-size: 2.225rem;
            line-height: 2.5rem;
            color: #d61c26;
            margin-bottom: 0;
            text-transform: capitalize;
        }

        .UIBannerControl .banner div .info2 a {
            font-family: var(--font-family-inter);
            font-weight: 600;
            font-size: 1.125rem;
            line-height: 1.4;
            margin-bottom: 0;
            text-transform: uppercase;
        }


        .UIBannerControl .banner div .website a {
            font-family: Roboto;
            font-size: 36px;
            font-weight: 500;
            line-height: 42px;
            color: #DC0000;
            text-align: left;
        }

    .UIBannerControl .bottom-circle {
        display: none;
    }

    .UIBannerControl .img-phuxuyen {
        width: 1200px;
    }

    /* ===== Ảnh collage bên phải - hòa vào nền đỏ ===== */
    .UIBannerControl .banner-photo-wrapper {
        position: relative;
        align-self: stretch;
        flex-shrink: 0;
        overflow: hidden;
    }

        .UIBannerControl .banner-photo-wrapper img#img-banner-right {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%, black 100%), linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
            -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0%, black 30%, black 100%), linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
            mask-composite: intersect;
        }

/* ===== Responsive: mobile ===== */
@media only screen and (max-width: 768px) {
    tr.col-2-left-300 > td:nth-child(2) {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
    }

    .UIBannerControl {
        width: 100%;
        border-bottom: none;
        color: #fff;
    }

        .UIBannerControl .banner {
            width: 100vw;
            height: 80px;
            margin: 0;
            padding: 0 12px;
        }

            .UIBannerControl .banner .text {
                margin-left: 12px;
            }

            .UIBannerControl .banner img {
                width: 40px !important;
                height: 40px !important;
            }

            .UIBannerControl .banner div .info a,
            .UIBannerControl .BannerContent .Content .Bottom {
                font-family: Merriweather;
                font-size: 14px;
                font-weight: 900;
                line-height: 13.83px;
                text-align: left;
                white-space: nowrap;
                text-shadow: none;
                -webkit-text-stroke: 1px rgba(255,255,255,0);
            }

            .UIBannerControl .banner div .info2 a {
                font-family: Roboto;
                font-size: 8px;
                font-weight: 500;
                line-height: 12px;
                text-align: left;
                -webkit-text-stroke: .6px rgba(0,0,0,0);
                text-shadow: 0 1px 3px rgba(0,0,0,.5);
            }

            .UIBannerControl .banner div .website a {
                font-size: 15px;
                font-weight: 500;
                line-height: 18px;
                color: #fff;
                text-align: left;
            }

        .UIBannerControl .bottom-circle {
            display: inherit;
            height: 20px;
            background: #fff;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }

        .UIBannerControl .banner-photo-wrapper {
            width: 80px;
        }
}

/* ===== Responsive: tablet ===== */
@media only screen and (min-width: 769px) and (max-width: 1179px) {
    .UIBannerControl {
        width: 100vw;
        padding: 10px 16px;
    }

        .UIBannerControl .banner {
            width: 100%;
            height: auto;
            margin: unset;
            gap: 16px;
        }

            .UIBannerControl .banner .text {
                margin: 0;
            }

            .UIBannerControl .banner div .info a {
                font-size: 26px;
                line-height: 1.5;
            }

        .UIBannerControl .banner-photo-wrapper {
            zoom: 0.8;
        }
}
