body {
    font-family: "Kanit", sans-serif;
}

@font-face {
    font-family: 'Kanit';
    font-style: italic;
    font-weight: 500;
    src: url(../fonts/Kanit500.woff2) format('woff2');
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

.t-l1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.t-l2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t-l3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.t-l4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

p {
    color: #9b9b9b;
}

.row-50 {
    margin-bottom: 0;
}
.product{    max-width: 100%;}
header {
    background-color: #424349;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 10px 20px;
    max-width: 1200px;
    margin: auto;
}


.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: block;
    color: #fff;
    font-weight: 400;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 14px;
    font-family: "Kanit", sans-serif;
}

.nav-links li a:hover {
    text-decoration: underline;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line1,
.line2,
.line3 {
    width: 22px;
    height: 2px;
    background-color: #fff;
    margin: 2px;
}


.logo a {
    font-weight: bold;
    font-family: "Kanit", sans-serif;
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    font-style: italic;
}

#Popular img {
    width: 100%;
    object-fit: cover;
    display: block;
}

#Popular .cover-6 img{
    aspect-ratio: 1/0.6;
}

#Trending img,
#Don img {
    width: 100px;
    aspect-ratio: 1/1;
    display: block;
    object-fit: cover;
}

#You img {
    width: 100%;
    display: block;
    aspect-ratio: 1/0.7;
    object-fit: cover;
}

#You .product-header {
    min-height: auto;
    height: 100%;
}

#You a {
    display: block;
    height: 100%;
}

#You .product-figure {
    position: relative;
}

#Popular .post-future{ height:100%;   background: #fff;}

.product-header .badge {
    z-index: 999;
}

.post-classic {
    text-transform: none;
}

.thumbnail-creative-overlay h6 {
    opacity: 1;
}

.thumbnail-creative img {
    opacity: 0.5;
}
.blog-post {
    padding: 15px;
}

.dt-content h1,
.dt-content h2,
.dt-content h3,
.dt-content h4,
.dt-content h1 span,
.dt-content h2 span,
.dt-content h3 span,
.dt-content h4 span {
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-style: normal;
    font-weight: 500 !important;
    color: #0C1923;
    font-family: "Kanit", sans-serif !important;
}

.dt-content .dt-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
    color: #0C1923 !important;
    margin-bottom: 10px !important;
    font-style: normal;
    font-weight: bold;
    font-family: "Kanit", sans-serif !important;
}

.dt-content p,
.dt-content span,
.dt-content ul li,
.dt-content ol li {
    color: #0C1923 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-style: normal;
    font-family: "Kanit", sans-serif !important;
    font-weight: 300 !important;
    text-align: left !important;
    margin-left: 0 !important;
}

.dt-content ul,
.dt-content ol {
    margin-bottom: 10px !important;
    margin-left: 30px !important;
    padding-left: 0 !important;
    font-family: "Kanit", sans-serif !important;
}


.dt-content ul,
.dt-content ul li {
    list-style: disc;
}

.dt-content ol,
.dt-content ol li {
    list-style: decimal;

}

.dt-content img {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 15px !important;
    height: auto !important;
    display: block;
}


.dt-content strong,
.dt-content strong p ,
.dt-content strong span{
font-weight: 500 !important;}


.post-classic{font-weight: 400;}

.post-carmen img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-carmen-main{
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 99;
}

.post-carmen-main h4{
    font-size: 18px;
    color: #fff;
}

.search{
    width: 60%;
    padding: 0;
    margin: auto;
    position: relative;
}
.search input{
    display: block;
    width: 100%;
    padding: 5px 19px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #9b9b9b;
    border-radius: 3px;
    outline: none;
    border: 1px solid #e1e1e1;
}

.search_btn {
    position: absolute;
    right: 20px;
    top: 7px;
}

i{
    font-style: normal;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        /* 将导航链接改为纵向布局 */
        background-color: #fff;
        /* 为导航链接添加背景色 */
        padding: 10px;
        /* 为导航链接添加内边距 */
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        padding-top: 60px;
        height: 100vh;
    }

    .navbar {
        padding: 6px 20px;
    }

    .logo img {
        max-width: 180px;
        max-height: 25px;
    }

    .nav-links.nav-active {
        display: flex;
        position: fixed;
    }

    .nav-links li a {
        width: 100%;
    }

    .burger {
        display: flex;
    }

    .toggle {
        position: fixed;
        z-index: 9999;
        right: 20px;
        font-size: 24px;
        top: 20px;
    }
}

@media (max-width:550px) {
    .logo a {
        font-size: 22px;
    }

    section.section-sm:first-of-type,
    section.section-md:first-of-type,
    section.section-lg:first-of-type,
    section.section-xl:first-of-type,
    section.section-xxl:first-of-type {
        padding-top: 5px;
    }

    .heading-component-title {
        margin-bottom: 6px;
    }

    .heading-component+.row {
        margin-top: 10px;
    }

    .post-future-main {
        padding: 10px;
        display: block;
    }

    .post-future-text+* {
        margin-top: 5px;
    }

    .post-future hr {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .post-future-title+* {
        margin-top: 5px;
    }

    .post-future .button-gray-outline {
        padding: 10px 20px;
    }

    .row-30>* {
        margin-bottom: 15px;
    }

    #Popular img {
        aspect-ratio: 1/0.5;
    }

    .row-50>* {
        margin-bottom: 30px;
    }

    .heading-component+* {
        margin-top: 10px;
    }

    #You .product-content {
        padding: 10px;
    }

    #You h6 {
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0.025em;
        line-height: 1.35;
    }

    .owl-spacing-1 .owl-stage-outer {
        margin: 0;
        padding: 0;
    }

    .aside-components>* {
        margin-bottom: 15px;
    }

    .list-post-classic .post-classic {
        padding: 10px 10px;
    }
    .blog-post {
        padding: 10px;
    }

    .dt-content .dt-title{
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    .navbar,
    .nav-links li a{
        color: #000;
    }
    * + .product {
        margin-top: 15px;
    }
    #You img{
        aspect-ratio: 1/0.6;
    }
    .post-carmen img{
        height: auto;
        aspect-ratio: 1/0.6;
        position: relative;
        top:0;
        left: 0;
        transform: none;
    }
    .post-carmen{
        height: auto;
        padding: 0;
    }
    .post-carmen a{
        display: block;
    }
    .post-carmen:hover img {
        transform: none;
    }
    .post-carmen-main h4 {
        font-size: 16px;
        color: #fff;
    }
.search{
    width: 100%;
}


}