body {
    font-family: 'Montserrat', sans-serif;
}

.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 {
    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;
}


/* @font-face {
    font-family: 'Montserrat';
    src: url() format('truetype');
    font-weight: normal;
    font-style: normal;
} */

a h2:hover {
    text-decoration: underline;
}

.dt-content h1,
.dt-content h2 {
    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: #181E23 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.dt-content .dt-title {
    font-size: 20px !important;
    line-height: 1.5 !important;
    color: #181E23 !important;
    margin-bottom: 15px !important;
    font-style: normal;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.dt-content h3,
.dt-content h4 {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-indent: 0px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-style: normal;
    color: #181E23;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-left: 0 !important;
}

.dt-content p,
.dt-content span {
    color: #181E23 !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: 'Montserrat', 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;
    padding-left: 30px;
    font-family: 'Montserrat', 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 ul li,
.dt-content ol li {
    color: #181E23 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-style: normal;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
}

.dt-content img {
    display: block;
    cursor: auto;
    width: 100%;
    max-width: 400px !important;
    height: auto !important;
    margin: auto;
    margin-bottom: 15px;
}

.dt-content strong,
.dt-content strong span {
    font-weight: 600 !important;
}

header {
    background-color: #fff;
    border-bottom: 2px solid #ec6a2a;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    max-width: 1200px;
    margin: auto;
}


.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}


.nav-links li a {
    color: #333;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 10px;
    display: block;
}

.nav-links li a:hover {
    color: #ec6a2a
}

.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: #333;
    margin: 2px;
}

.logo a {
    font-size: 30px;
    line-height: 34px;
    color: #333;
    padding: 10px 10px;
    display: block;
    font-weight: 700;

}

.logo a:hover {
    color: #333;
}


@media screen and (max-width: 992px) {
    .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: 0px 0px;
    }

    .logo a {
        padding: 10px 10px;
        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: 24px;
        font-size: 24px;
        top: 0px;
    }
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

img {
    object-fit: cover;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #000;
}

.m1,
.m2,
.m3,
.m4,
.dt {
    padding: 24px 0;
}


#You {
    margin-top: 150px;
}

h2 {
    font-size: 18px;
    line-height: 26px;
}

.catename,
.m1 span.catename {
    display: inline-block;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.3;
    color: #ec6a2a;
    text-transform: capitalize;
}

.m1 a h2,
.m2 a h2,
.m3 a h2,
.m4 a h2,
.recent-post-item h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.m1 a,
.m4 a {
    padding: 12px;
}

.m2 #Popular a {
    padding: 12px;
}

.recent-post-item h2 {
    font-size: 14px;
    line-height: 20px;
}

.m3 a {
    padding: 12px;
}

.section-title,
.widget-title {
    margin-bottom: 20px;
}

.rating {
    justify-content: flex-end !important;
}

.rating div {
    width: auto;
}

.recent-post-item {
    margin-bottom: 0;
    padding: 12px 0;
}

.dt .widget-title h2 {
    font-size: 16px !important;
}

.search {
    width: 80%;
    margin: 10px auto;
    position: relative;
}

.search_btn {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #ec6a2a;
}

.search_btn a{
    color: #fff;
    padding: 0 12px;
    line-height: 38px;
    height: 100%;
    display: block;
}

@media (min-width: 1400px) {
    .dt .container {
        max-width: 1200px;
    }
}

@media (max-width:992px) {
    #You {
        margin-top: 20px;
    }
}

@media (max-width:769px) {

    .m1,
    .m2,
    .m3,
    .m4,
    .dt {
        padding: 16px 0;
    }

    .section-title h2,
    .widget-title h2 {
        font-size: 24px;
    }
}

@media (max-width:550px) {

    .m1,
    .m2,
    .m3,
    .m4,
    .dt {
        padding: 8px 0;
    }

    .team-item {
        padding: 15px;
    }

    .team-item .team-item-img-box img {
        aspect-ratio: 1 / 0.6;
    }

    .team-item .team-item-info {
        padding: 0px 0px 0px 0px;
    }

    .section-title h2,
    .widget-title h2 {
        font-size: 20px;
    }

    .section-title,
    .widget-title {
        margin-bottom: 10px;
    }

    #You {
        margin-top: 6px;
    }

    .recent-listing-item {
        padding: 10px;
    }

    p.t_13 {
        line-height: 20px;
        font-size: 14px;
    }

    .m1 a,
    .m2 #Popular a,
    .m3 a {
        padding: 8px 12px;
    }

    .recent-post-item {
        padding: 8px 0px;
    }

    .search_btn a{
        color: #fff;
        padding: 0 12px;
        line-height: 38px;
        height: 100%;
        display: block;
    }

}