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


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


.t_13,
.m2 a .excert,
.m3 .medium-gutters a .excert,
.m4 a .excert {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

.catename {
    text-transform: capitalize !important;
    color: #0faf97;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span {
    font-family: "Poppins", sans-serif
}

a h2:hover {
    text-decoration: underline;
}

.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.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-family: "Poppins", sans-serif !important;
}

.dt-content .dt-title {
    font-size: 20px !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    font-style: normal;
    font-weight: 600 !important;
    font-family: "Poppins", sans-serif !important;
}


.dt-content p,
.dt-content span,
.dt-content ul li,
.dt-content ol li {
    color: #333 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin-left: 0 !important;
}

.dt-content ul,
.dt-content ol {
    margin-bottom: 15px;
    margin-left: 0px !important;
    padding-left: 30px !important;
    font-family: "Poppins", 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 {
    display: block;
    cursor: auto;
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    margin: auto;
    margin-bottom: 15px;
}

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

header {
    position: relative;
    background-color: #04091e;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    max-width: 1140px;
    margin: auto;
}


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


.nav-links li a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 10px;
    display: block;
}

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

.nav-links li a img {
    width: 24px;
}

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

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

.logo a {
    font-size: 30px;
    line-height: 34px;
    color: #f6214b;
    padding: 20px 10px;
    display: block;
    font-weight: 600;
    text-transform: capitalize;

}




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

    .navbar {
        padding: 0px 0px;
    }

    .logo a {
        padding: 8px 15px;
        font-size: 24px;
        line-height: 26px;
    }

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

    .nav-links li a {
        padding: 10px 10px;
    }

    .burger {
        display: flex;
        padding: 10px 15px;
    }

    .toggle {
        position: fixed;
        z-index: 9999;
        right: 6px;
        font-size: 24px;
        top: 0px;
        color: #fff;
    }

    header:after {
        width: 50%;
        left: 0;
    }
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

img {
    object-fit: cover;
}

h2 {
    font-size: 20px;
    line-height: 28px;
}

a {
    display: block;
}


.tags li {
    text-transform: capitalize;
}

.top-post-right img {
    width: 100%;
    aspect-ratio: 1/0.65;
    display: block;
}

.top-post-left .feature-image-thumb {
    height: 100%;
}

.top-post-left img {
    width: 100%;
    height: 100%;
      aspect-ratio: 1 / 0.655;
}

.top-post-right a:first-child {
    margin-bottom: 10px;
}

.m2 a .excert,
.m3 .medium-gutters a .excert,
.m4 a .excert {
    color: #777777;
}

.m2 a img,
.m3 a img,
.m4 a img {
    width: 100%;
    aspect-ratio: 1/0.65;
}

.m4 .post-lists a .thumb,
.m5 a .thumb {
    width: 100px;
}

.m4 .post-lists a .thumb img,
.m5 a .thumb img {
    width: 100%;
    aspect-ratio: 1/0.8;
}

.m4 .post-lists a .detail,
.m5 a .details {
    width: calc(100% - 100px);
}

.cate .latest-post-wrap {
    display: flex;
    flex-wrap: wrap;
}

.cate .latest-post-wrap .cat-title {
    width: 100%;
}

.cate .latest-post-wrap a {
    width: 50%;
    margin: 0;
}

.cate {
    margin-top: 20px;
}

.search {
    width: 100% !important;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search input {
    max-width: 500px;
    width: 100%;
    border: none;
    outline: none;
    background: #ecf0f1;
    padding-left: 15px;
    color: #212529;
    padding: 9px;
}

.search input::placeholder{
    color: #212529;
}

.search a {
    color: #fff;
    width: 100% !important;
}

.search_btn {
    padding: 8px 20px;
    background: #f6214b;
    font-size: 12px;
    font-weight: 500;
}

.m3 .medium-gutters a{padding-bottom: 20px;}

@media (max-width: 575px) {
    .m1 {
        padding-top: 6px;
    }

    .top-post-left img,
    .top-post-right img,
    .m2 a img,
    .m3 a img,
    .m4 a img {
        aspect-ratio: 1/0.6;
    }

    .latest-post-area {
        margin-top: 10px;
    }

    .latest-post-area .latest-post-wrap,
    .popular-post-wrap,
    .sidebars-area {
        padding: 10px;
    }

    .latest-post-area .latest-post-wrap .single-latest-post {
        margin-top: 10px;
    }

    .latest-post-area .latest-post-wrap .single-latest-post .meta {
        margin: 4px 0px;
    }


    .cate .latest-post-wrap a {
        width: 100%;
    }

.m3 .medium-gutters a{padding-bottom: 10px;}
      .popular-post-wrap .single-popular-post:first-child .details {
        margin-bottom: 0px;
    }
      .sidebars-area {
        margin-top: 10px;
    }
  .editors-pick-post .details {
    padding-bottom: 10px;
}
  
  .tags li{    padding: 2px 14px;}
}