.newsDetailContent {
    font-family: "Kanit", sans-serif;
    p {
        font-size: 20px;
        line-height: 1.3;
        font-weight: 300;
        font-style: normal;
        color: #000000;
        margin-bottom: 2rem;
    }
    h2 {
        font-size: clamp(1.25rem, calc(1.25rem + 0.75vw), 2rem);
        line-height: clamp(1.625rem, calc(1.625rem + 0.9375vw), 41px);
        font-weight: 600;
        color: #282650;
        margin-bottom: clamp(1rem, calc(1rem + 0.75vw), 2rem);
    }
}

.cardNews {
    position: relative;
}

.cardNews.newsTop {
    position: relative;
    margin-right: -200px;
    padding-left: 15%;
}

.cardNews img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.cardNews img.a {
    border-radius: 15px;
}

.cardNews .rowCardNews.newsTop {
    padding: 40px;
    opacity: 0.85;
    width: 100%;
    margin-top: 0px;
}

.cardNews .rowCardNews {
    padding: 30px;
    background: #fff;
    margin-top: -40px;
    position: relative;
    width: 90%;
}

.cardNews .rowCardNews.bgNone {
    padding: 20px 0 0 0;
    background: none;
}

.text-overflow-clamp {
    width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
}

.text-overflow-clamp.a {
    -webkit-line-clamp: 4;
}

.newsSec1 {
    background: url(../img/news/bg-news-cat.png) no-repeat center;
    background-size: cover;
    padding: 80px 0;
    padding-top: 20px;
    width: 100%;
    overflow: hidden;
}

.regular06 {
    padding: 0;
    margin: 0;
    padding-left: 12%;
    margin-right: -300px;
}

.regular05 {
    margin: 0;
    padding: 0;
    margin-top: 12px !important;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.videoWrapper {
    position: relative;
    padding-bottom: 48.25%;
    /* 16:9 */
    padding-top: 0;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.img-cardNews {
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.img-cardNews-details {
    width: 100%;
    height: 800px;
    object-fit: cover;
}

.img-gallery {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.sp-header {
    height: auto !important;
    border-bottom: 20px #E8002C solid;
}

.boxMainTop {
    margin-top: 100px;
}

.sec04 {
    position: relative;
    background: #f5f5f5;
    padding: 60px 0;
}

.sec04.details {
    background: #fff;
}

.detailsMarginTop {
    margin-top: -540px;
}

.sp-header.details {
    height: auto !important;
    padding-top: 160px;
    padding-bottom: 500px;
}
/* Dots */

.slick-dotted.slick-slider {
    margin-bottom: 0px;
}

.slick-dots01 {
    position: absolute;
    bottom: -50px;
    left: 10%;
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots01 li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer;
}

.slick-dots01 li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots01 li button:hover,
.slick-dots01 li button:focus {
    outline: none;
}

.slick-dots01 li button:hover:before,
.slick-dots01 li button:focus:before {
    opacity: 1;
}

.slick-dots01 li button:before {
    font-family: 'slick';
    font-size: 60px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots01 li.slick-active button:before {
    opacity: .75;
    color: #002DEB;
}

.slick-dots {
    bottom: 15px;
}

.secSpirit {
    padding: 60px 0;
    background: #002DEB;
}

.secNewsList {
    background: #f5f5f5;
    padding: 60px 0;
}

.next-pre-btn {
    background: none !important;
    border: none;
    color: #515257 !important;
    font-weight: 600 !important;
}

.next-pre-btn svg {
    color: #002DEB;
}

.pagination {
    gap: 10px;
}

.page-selection a{
    background: none !important;
    border: none !important;
    width: 33px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
}

.page-selection:has(a.active) {
    border-radius: 50%;
    background-color: #002DEB;
}

.page-selection:has(a.last) {
    border-radius: 50%;
    border: 1px solid #002DEB;
}

.page-selection a.active {
    color: #fff;
}

.textLink.header {
    font-size: 35px;
    line-height: 41px;
    font-weight: 600;
    color: #282650;
}

.textLink.medium.header {
    font-size: 26px;
    line-height: 32px;
}

.slick-active {
    width: 70px !important;
}

.slick-dots01 li.slick-active button {
    width: 100% !important;
    height: 15px !important;
    background-color: #002DEB;
    border-radius: 10px;
    transform: translateY(0.5px);
}

.slick-active button::before {
    display: none;
    content: none;
}

@media screen and (max-width:1620px) {}

@media screen and (max-width:1440px) {
    .img-cardNews {
        height: 540px;
    }
    .cardNews img {
        height: 280px;
    }
    .cardNews img.details {
        height: 200px;
    }
    .img-cardNews-details {
        height: 550px;
    }
    .img-gallery {
        height: 450px;
    }
}

@media screen and (max-width:1366px) {
    .detailsMarginTop {
        margin-top: -510px;
    }
    .sp-header.details {
        padding-top: 120px !important;
        padding-bottom: 470px;
    }
}

@media screen and (max-width:1280px) {
    .cardNews .rowCardNews.newsTop {
        padding: 20px 40px;
    }
    .img-cardNews {
        height: 500px;
    }
    .cardNews img {
        height: 240px;
    }
    .img-cardNews-details {
        height: 550px;
    }
}

@media screen and (max-width:1024px) {
    .cardNews .rowCardNews {
        padding: 20px;
        width: 95%;
    }
    .textLink.medium {
        font-size: 22px;
        line-height: 28px;
    }
    .img-cardNews {
        height: 480px;
    }
    .cardNews img {
        height: 200px;
    }
    .cardNews img.details {
        height: 160px;
    }
    .img-cardNews-details {
        height: 450px;
    }
    .img-gallery {
        height: 350px;
    }
    .sp-header.details {
        padding-bottom: 270px !important;
    }
    .detailsMarginTop {
        margin-top: -322px;
    }
}

@media screen and (max-width:991px) {
    .cardNews.newsTop {
        margin-right: 0;
        padding-left: 0;
    }
    .text-overflow-clamp.a {
        -webkit-line-clamp: 3;
    }
    
    .cardNews .rowCardNews.newsTop {
        opacity: 1;
    }
}

@media screen and (max-width:820px) {
    
    .sec04 {
        padding: 40px 0;
    }
    .regular06 {
        padding-left: 4%;
        margin-right: -300px;
    }
    .img-cardNews-details {
        height: 380px;
    }
    .img-gallery {
        height: 300px;
    }
    .videoWrapper {
        padding-bottom: 56.25%;
    }
    .secSpirit img {
        padding: 40px 0;
        display: none;
    }
    .cardNews img.details {
        height: 220px;
    }
}

@media screen and (max-width:737px) {}

@media screen and (max-width:560px) {
    .videoWrapper {
        padding-bottom: 56.25%;
    }
    .sp-header {
        padding: 0 !important;
    }
    .img-cardNews {
        height: 280px;
    }
    .cardNews .rowCardNews.newsTop {
        padding: 20px 20px;
    }
    .cardNews img {
        height: 240px;
    }
    .img-gallery {
        height: 220px;
    }
    .sec04 {
        padding: 40px 0;
    }
    .secNewsList {
        padding: 40px 0;
    }
    .detailsMarginTop {
        padding: 20px;
        margin-top: -253px;
    }
    .img-cardNews-details {
        height: 280px;
    }
    .cardNews img.details {
        height: 240px;
    }
    .sp-header.details {
        padding-bottom: 200px !important;
    }
}

@media screen and (max-width:414px) {}

@media screen and (max-width:375px) {}