/* ===========================
   Banner
=========================== */

.banner-container {
    width: 100%;
    text-align: center;
    padding: 0 0 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.banner-container h1 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    color: #005BAC;
    margin-bottom: 25px;
    line-height: 1.3;
}
.banner-pc {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner-pc img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Khung banner */

.banner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);

    background: #fff;
}

/* Hiệu ứng mờ trên */

.banner::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:50px;
    z-index:2;
    pointer-events:none;

}

/* Hiệu ứng mờ dưới */

.banner::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:50px;
    z-index:2;
    pointer-events:none;

}

/* Hover */

.banner:hover img{
    transform:scale(1.02);
    filter:brightness(1.03);
}

/* ===========================
   PC / Mobile
=========================== */

.banner-pc{
    display:block;
    width:100%;
}

.banner-mobile{
    display:none;
}

/* ===========================
   Mobile
=========================== */

@media (max-width:768px){

    .banner-container{
        padding:15px 0 25px;
    }

    .banner-container h1{
        font-size:24px;
        margin-bottom:18px;
        padding:0 12px;
    }

    .banner{
        width:95%;
        border-radius:16px;
    }

    .banner-pc{
        display:none;
    }

    .banner-mobile{
        display:block;
    }

    .banner::before,
    .banner::after{
        height:28px;
    }
}
