/* .big-col-bgm {
    max-width: 2560px;
    width: 100%;
} */








/* video เต็มจอ */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}


/* overlay กันตัวหนังสือจม */
.preregis-section .bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* ปรับความเข้มได้ */
    z-index: 2;
}



.text-detail>img {
    padding: 0 10px 6px;
}

.number-mst-preregis {
    font-family: 'Rowdies', cursive;
    padding: 5px 0 0 0;
    font-size: 1em;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 2px #00b5ddb8;
}

.number-preregis {
    font-family: 'Rowdies', cursive;
}

.number-preregis::before,
.number-preregis::after {
    font-family: 'Mitr';
}

.text-pre-success {
    font-size: .7em;
    color: #ffffff;
    text-shadow: 0 1px 4px #00b5dde8;
}


@media (min-width: 1921px) {

    body {
        scroll-snap-type: none !important;
    }

    html,
    body {
        scroll-behavior: auto !important;
        scroll-snap-type: none !important;
        overflow-y: auto !important;
    }

    .row-crt {
        max-width: 1920px !important;
        margin: 0 auto !important;
    }

    #Sec-Preregis.update {
        /* background-size: cover !important; */
        height: 1000px !important;
    }



    #Sec-News.update {
        /* background-size: cover !important; */
        min-height: 980px !important;
        height: fit-content !important;
    }

    #Sec-CRT.update {
        /* background-size: cover !important; */
        height: fit-content !important;
    }

    #Sec-System.update {
        /* background-size: cover !important; */
        height: fit-content !important;
    }

    #Sec-System.update .container {
        max-width: 1920px;
        margin: 0 auto;
    }

    .footer {
        width: 100% !important;
        min-height: 99px !important;
    }

    /* .footer-bottom {
        background: linear-gradient(90deg, rgb(34 34 34 / 0%) 0%,
                rgb(34 34 34 / 10%) 2%,
                rgb(34 34 34 / 90%) 5%,
                rgb(34 34 34 / 100%) 50%,
                rgb(34 34 34 / 90%) 96%,
                rgb(34 34 34 / 10%) 98%,
                rgb(34 34 34 / 0%) 100%) !important;
    } */

    .text-st-detail {
        font-size: 24px !important;
    }
}

@media (max-width: 1920px) {
    #Sec-CRT {
        width: 100%;
        padding: 0;
        background: url(../images/bg-sec-4-old.webp?v=1.35) center / 100% no-repeat;
    }
}


@media (max-width: 1200px) {
    #Sec-Preregis.update {
        padding-top: 70px !important;
    }
}

@media (max-width: 1024px) {
    .bg-video {
        display: none;
    }

    #Sec-Preregis.update {
        padding-top: 0px !important;
    }

    .text-preregis-title.update {
        font-size: 70px !important;
    }

    .text-preregis-title.update span {
        font-size: 60px !important;
    }

    .text-detail.big {
        font-size: 40px !important;
    }



}

@media (max-width: 992px) {

    .text-seeyou {
        font-size: 52px;
    }

    .img-logo-s1 {
        width: 430px !important;
        object-fit: contain !important;
    }

    .text-preregis-title.update {
        font-size: 52px !important;
    }

    .text-preregis-title.update span {
        font-size: 44px !important;
    }

    .text-detail.big {
        font-size: 36px !important;
    }

    .box-text-ready {
        height: 55px !important;
        font-size: 34px !important;
    }

    #Sec-News {
        background: url(../images/bg-sec-3-md.webp?v=1.35) bottom center / 100% no-repeat;
        /* min-height: 1000px; */
        display: flex;
        align-items: center;
    }

    #Sec-CRT {
        background: url(../images/bg-sec-4-md.webp?v=1.35) bottom center / 100% no-repeat;
        /* min-height: 1000px; */
        display: flex;
        align-items: center;
    }
}


@media (max-width: 550px) {

    .milestone-point.goal::after {
        width: 30px;
        height: 30px;
        top: -3px;
        left: 25px;
    }

    .btn-more {
        bottom: 10px !important;
        padding: .1em 1em !important;
        border-radius: 30px !important;
        font-size: .8rem !important;
    }

    .text-detail>img {
        display: none;
    }

    .btn-main-line img {
        max-width: 300px;
    }

    .text-seeyou {
        font-size: 40px;
    }

    .img-logo-s1 {
        width: 295px !important;
        object-fit: contain !important;
    }

    .box-text-ready {
        width: 372px !important;
        height: 42px !important;
        font-size: 24px !important;
    }

    .footer {
        min-height: 140px !important;
    }

}

@media (max-width: 375px) {

    .btn-main-line img {
        max-width: 280px;
    }

    .text-seeyou {
        font-size: 36px;
    }

    .text-preregis-title.update {
        font-size: 40px !important;
    }

    .text-preregis-title.update span {
        font-size: 32px !important;
    }

    .box-text-ready {
        width: 285px !important;
        height: 34px !important;
        font-size: 19px !important;
    }

    .footer {
        min-height: 162px !important;
    }
}