@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url(./fonts/Lato-400.woff2) format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url(./fonts/Lato-700.woff2) format('woff2');
}

body {
    font-family: "Lato", 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;
}
.m7 .inews-post-content p{
    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;
}

.footer{    margin-top: 50px;}
.inews-post-cat{text-transform: capitalize;}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    padding: 20px 20px;
    max-width: 1200px;
    margin: auto;
}


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

.nav-links li a {
    color: #0C1923;
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-family: "Lato", sans-serif;
}

.nav-links li a:hover {
    background: #dc3545;
    color: #fff;
}

.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: "Lato", 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 .inews-post-thumb,
.m1 .inews-post-item a {
    height: 100%;
}

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

.m2 .inews-post-item img,
.m5 .inews-post-item img,
.m3 .inews-post-item img,
.m4 .inews-post-item img,
.m7 .inews-post-item img {
    width: 100%;
    aspect-ratio: 1/0.6;
    object-fit: cover;
    display: block;
}

.m2 .inews-post-item,
.m3 .inews-post-item,
.m4 .inews-post-item {
    align-items: center !important;
}

.m5 .inews-post-item h3 {
    margin: 6px 0;
}

.m6 .inews-post-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}



.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: 15px !important;
    font-style: normal;
    font-weight: bold;
    color: #0C1923;
    font-family: "Lato", 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: "Lato", 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: "Lato", 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: "Lato", sans-serif !important;
}


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

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

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

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

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

.search_btn{
    position: absolute;
    background-color: #dc3545;
    top: 0;
    right: 0;
    width: 57px;
    height: 100%;
}
.search_btn a{
    padding: 8px 20px;
}
.search_btn i{
    color: #fff;
}


.m2 .inews-post-block7 .posts-wrap:first-child .inews-post-item{
    width: 50%;
}

@media (max-width:550px) {

    .m1 .inews-post-item img {
        height: auto;
        aspect-ratio: 1/0.6;
    }

    .inews-post-block1 .inews-post-item .inews-post-info .inews-post-cat {
        padding: 0px 8px;
        position: absolute;
        width: auto;
        height: auto;
        left: 15px;
        top: 5px;
        text-transform: capitalize;
    }

    .m1 .inews-post-title h3 a {
        font-size: 16px;
        line-height: 1.3;
        padding: 30px 15px 10px;
    }

    .inews-post-block1 .inews-post-item .inews-post-info {
        padding: 0;
    }

    .post-block {
        margin-bottom: 15px;
    }

    .inews-block-title {
        margin-bottom: 15px;
    }

    .m2 .inews-post-title,
    .m3 .inews-post-title,
    .m7 .inews-post-title {
        margin: 5px 0 !important;
    }

    .m2 .inews-post-title h3 a,
    .m3 .inews-post-title h3 a,
    .m7 .inews-post-title h3 a,
    .m5 .inews-post-item h3 a,
    .m4 .inews-post-item h3 a {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .m2 .inews-post-content p,
    .m3 .inews-post-content p,
    .m7 .inews-post-content p {
        font-size: 12px;
        line-height: 1.4;
    }

    .widget-title,
    .inews-post-block7 .posts-wrap .inews-post-item,
    .inews-post-block5 .posts-wrap .inews-post-item,
    .inews-post-block7 .posts-wrap:last-child .inews-post-item {
        margin-bottom: 15px;
    }

    .m3 .inews-post-block5 .posts-wrap:last-child .inews-post-item:last-child {
        margin-bottom: 0;
    }

    .inews-post-block4 {
        gap: 15px;
    }

    .inews-post-block5 .posts-wrap:last-child .inews-post-item .inews-post-thumb a img,
    .inews-post-block4 .inews-post-item .inews-post-thumb a img {
        aspect-ratio: 1/0.6;
    }

    .inews-post-block6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .random-post-widget .random-post-widget-slider .owl-dots {
        margin-top: 10px;
    }
  .inews-post-block7 .posts-wrap:last-child .inews-post-item:last-child {
  margin-bottom: 0;
}

.m2 .inews-post-block7 .posts-wrap:first-child .inews-post-item {
    width: 100%;
}
.search{
    max-width: 500px;
    width: 100%;
    margin: 0 auto 15px;
    position: relative;
}

.search input{
    padding: 3px 12px;
    margin: 10px auto;
}

.search_btn{
    height: 32px;
    top: 10px;
}
.search_btn a{
    padding: 4px 20px;
}
.search_btn i{
    color: #fff;
}
}