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

.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;
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #828282;
    padding: 20px 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: #828282;
    font-weight: 500;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}

.nav-links li a:hover {
    color: #212529;
}

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

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


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

@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;
    }
}

.m1,
.m3 {
    padding: 30px 0;
}

.m1 .post-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1/0.6;
    object-fit: cover;
}

.m1 .item {
    padding: 0 15px;
    display: block;
}

.m1 .single-popular-post {
    counter-increment: mvp-trend;
}

.m1 .single-popular-post span::after {
    content: counter(mvp-trend) ".";

}

.m1 .single-popular-post a {
    padding: 10px 20px;
    display: block;
}



.m2 a {
    display: block;
    padding: 15px;
}

.m2 .text {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ffffff5e;
    padding: 15px;
  width:100%;text-align: center;
}

.m1 a h6,
.m2 .text h2,
.m3 .trending a h6 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
}

.m2 a:hover .text {
    display: block;
    transition: width 0.3s ease;
}

.m2 a img {
    display: block;
    width: 100%;
    aspect-ratio: 1/0.7;
    object-fit: cover;
}

.m3 .trending a {
    display: block;
    padding: 0 15px 15px;
}

.m3 .trending a img {
    width: 100%;
    aspect-ratio: 1/1.2;
    display: block;
    object-fit: cover;
    margin-bottom: 10px;
}

.m3 .you img {
    width: 100%;
    aspect-ratio: 1/0.5;
    display: block;
    object-fit: cover;
}

.dt {
    padding: 30px 0;
}


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

.dt-content .dt-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
    color: #0C1923 !important;
    margin-bottom: 15px !important;
    font-style: normal;
    font-weight: bold;
    font-family: "Roboto", 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: 15px !important;
    font-style: normal;
    font-family: "Roboto", sans-serif !important;
    font-weight: 400;
    text-align: left !important;
    margin-left: 0 !important;
}

.dt-content ul,
.dt-content ol {
    margin-bottom: 15px;
    margin-left: 30px;
    padding-left: 0;
    font-family: "Roboto", 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: 500px;
    margin: 0 auto 15px !important;
    height: auto !important;
    display: block;
}

.dt .single-blog-post img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}


.search {
    max-width: 500px;
    width: 100%;
    margin: 0 auto 20px;
    position: relative;
}

.search input {
    width: 100%;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    outline: none;
    border-radius: 8px;
}

.search_btn {
    position: absolute;
    top:8px;
    right: 0;
    width: 57px;
    height: 100%;
}

.search_btn a {
    padding: 8px 20px;
}

.search_btn i {
    color: #ee002d;
}

@media (max-width:550px) {

    .m1 {
        padding: 10px 0 0;
    }

    .m3 {
        padding: 15px 0 50px;
    }

    .single-blog-post.style-3 .post-data {
        padding: 5px 0 0;
    }

    .section-heading h6 {
        line-height: 30px;
        height: 30px;
    }

    .section-heading {
        margin-bottom: 10px;
    }

    .popular-news-widget {
        padding: 0px 0px;
        margin-bottom: 15px !important;
    }

    .video-post-area {
        padding: 15px 0;
    }

    .m2 a {
        padding: 10px 15px;
    }

    .m2 a img {
        aspect-ratio: 1/0.6;
    }

    .m2 .text {
        display: block;
    }

    .m3 .trending a img {
        aspect-ratio: 1/0.6;
    }

    .m3 .trending a {
        padding: 0 5px 15px;
    }

    .m3 .trending a:nth-child(2n+1){
        padding-left: 15px;
    }

    .m3 .trending a:nth-child(2n+2){
        padding-right: 15px;
    }

    .m3 .trending a img {
        margin-bottom: 5px;
    }


    .m1 a h6,
    .m2 .text h2,
    .m3 .trending a h6 {
        font-size: 14px;
        line-height: 1.5;
    }

    .single-blog-post .post-data .post-catagory {
        font-size: 12px;
    }

    .dt {
        padding: 10px 0 50px;
    }

    .sear-list .item {
        padding: 0px 5px;
    }

    .sear-list .item:nth-child(2n+1) {
        padding-left: 15px;
    }

    .sear-list .item:nth-child(2n+2) {
        padding-right: 15px;
    }
}