/*
Qanoon Markaz
News Page Styling
*/


/* Hero Banner */

.news-hero{

    width:100%;

    margin-bottom:40px;

}

.news-banner-image{

    width:100%;

    height:480px;

    object-fit:cover;

    display:block;

    border-radius:0 0 15px 15px;

}

@media(max-width:768px){

    .news-banner-image{

        height:220px;

        border-radius:0;

    }

}


/* =====================
See Updated News related below Categories?
===================== */


.news-looking-section {

    text-align:center;

    margin-bottom:35px;

}


.news-looking-section h2 {

    font-size:30px;

    color:#000e36;

    margin-bottom:25px;

}




/* Category Buttons */


.news-category-buttons {


    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;


}



.news-category-btn {


    background:#000e36;

    color:white;

    border:none;

    padding:13px 30px;

    border-radius:30px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;


}



.news-category-btn:hover {


    background:#e0a800;


}
.news-category-btn.active{
    background:#e0a800;
    color:#fff;
}
.news-category-btn{
    text-decoration: none;
}

.news-category-btn:hover{
    text-decoration: none;
}

.news-category-btn:focus{
    text-decoration: none;
}

.news-category-btn:visited{
    text-decoration: none;
}
.news-looking-title{
    text-align:center;
    font-size:60px;
    font-weight:700;
    color:#001b5e;
    margin-bottom:15px;
}

.news-current-category{
    text-align:center;
    font-size:28px;
    color:#001b5e;
    margin-bottom:25px;
    font-weight:700;
}






/* =====================
70% - 30% Layout
===================== */


.news-main-layout {


    display:flex;

    gap:30px;

    align-items:flex-start;


}



.news-main-content {


    width:70%;

}



.news-sidebar {


    width:30%;

}
/*=====================================
MAIN LAYOUT
=====================================*/

.news-layout{

    width:97%;

    display:grid;

    grid-template-columns:2.2fr 1fr;

    gap:30px;

    align-items:start;

    margin-top:40px;
    margin-left: 20px;

}

.news-content{

    width:100%;

}

.news-sidebar{

    width:100%;

}

/* Mobile */

@media(max-width:992px){

    .news-layout{

        grid-template-columns:1fr;

    }

    .news-content,
    .news-sidebar{

        flex:0 0 100%;

        max-width:100%;

    }

}
/*=====================================
News CARD
=====================================*/

.news-card{

    display:flex;

    gap:25px;

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    margin-bottom:30px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

    transition:.3s;

}

.news-card:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}

/* Featured Image */

.news-card-image{

    width:280px;

    min-width:280px;

}

.news-card-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}

/* Content */

.news-card-content{

    flex:1;

    padding:35px;

}

.news-card-title{

    margin:0 0 15px;

    font-size:30px;

    line-height:1.4;

}

.news-card-title a{

    text-decoration:none;

    color:#000e36;

}

.news-card-title a:hover{

    color:#e0a800;

}

/* Meta */

.news-meta{

    display:flex;

    gap:20px;

    margin-bottom:18px;

    color:#777;

    font-size:15px;

}

/* Excerpt */

.news-excerpt{

    color:#555;

    line-height:1.8;

    margin-bottom:20px;

}

/* Read More */

.news-readmore{

    display:inline-block;

    padding:12px 24px;

    background:#000e36;

    color:#fff;

    text-decoration:none;

    border-radius:5px;

    transition:.3s;

}

.news-readmore:hover{

    background:#e0a800;

    color:#fff;

}

/* Pagination */

.news-pagination{

    margin-top:40px;

    text-align:center;

}

.news-pagination .page-numbers{

    display:inline-block;

    margin:5px;

    padding:10px 16px;

    background:#fff;

    border-radius:6px;

    text-decoration:none;

    color:#000e36;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

.news-pagination .current{

    background:#000e36;

    color:#fff;

}

/* Mobile */

@media(max-width:768px){

    .news-card{

        flex-direction:column;

    }

    .news-card-image{

        width:100%;

        min-width:100%;

    }

    .news-card-image img{

        height:220px;

    }

    .news-card-title{

        font-size:24px;

    }

}

/*=====================================
SIDEBAR
=====================================*/

.news-sidebar-box{

    background:#ffffff;

    padding:25px;

    margin-bottom:25px;

    border-radius:12px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.news-sidebar-box h3{

    margin:0 0 18px;

    padding-bottom:10px;

    border-bottom:2px solid #000e36;

    color:#000e36;

    font-size:22px;

}

.news-sidebar-list{

    list-style:none;

    margin:0;

    padding:0;

}

.news-sidebar-list li{

    border-bottom:1px solid #ececec;

    padding:12px 0;

}

.news-sidebar-list li:last-child{

    border-bottom:none;

}

.news-sidebar-list a{

    text-decoration:none;

    color:#333;

    transition:.3s;

}

.news-sidebar-list a:hover{

    color:#000e36;

    padding-left:6px;

}

.news-sidebar-btn{

    display:inline-block;

    background:#000e36;

    color:#fff;

    padding:12px 24px;

    border-radius:6px;

    text-decoration:none;

    margin-top:15px;

    transition:.3s;

}

.news-sidebar-btn:hover{

    background:#e0a800;

    color:#fff;

}
/*=====================================
WRITE FOR US
=====================================*/

.write-for-us{

    background:linear-gradient(135deg,#000e36,#000e36);

    color:#fff;

    text-align:center;
    

}

.write-for-us h3{

    color:#fff;

    border:none;

}

.write-for-us p{

    color:#f5f5f5;

    line-height:1.8;

}

.submit-article-btn{

    display:inline-block;

    margin-top:20px;

    padding:14px 28px;

    background:#e0a800;

    color:#fff;

    text-decoration:none;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}

.submit-article-btn:hover{

    background:#fff;

    color:#000e36;

}
/*=====================================
WHATSAPP
=====================================*/

.whatsapp-box{

    background:#005514;

    text-align:center;

    color:#fff;

}

.whatsapp-box h3{

    color:#fff;

    border:none;

}

.whatsapp-box p{

    color:#fff;

    line-height:1.8;

}

.whatsapp-btn{

    display:inline-block;

    margin-top:20px;

    padding:14px 28px;

    background:#fff;

    color:#005514;

    text-decoration:none;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}

.whatsapp-btn:hover{

    background:#005514;

    color:#fff;

}
.news-category-list{

    list-style:none;

    padding:0;

    margin:0;

}

.news-category-list li{

    border-bottom:1px solid #e8e8e8;

}

.news-category-list li:last-child{

    border-bottom:none;

}

.news-category-list a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    text-decoration:none;

    color:#000e36;

    font-weight:600;

    transition:.3s;

}

.news-category-list a:hover{

    color:#e0a800;

}

.news-category-list span{

    background:#000e36;

    color:#fff;

    padding:3px 10px;

    border-radius:20px;

    font-size:13px;

}

/*=====================================
SINGLE news POINT
=====================================*/

.news-single-page{

    width:95%;

    max-width:1400px;

    margin:0 auto 60px;

}

.news-single-hero img{

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:15px;

    margin-bottom:30px;

}


.news-single-header{

    background:#fff;

    padding:35px;

    border-radius:15px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    margin-bottom:30px;

}

.news-single-title{

    font-size:42px;

    color:#123B7A;

    margin-bottom:20px;

    line-height:1.4;

}

.news-single-meta{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    color:#666;

    font-size:16px;

}
/*=====================================
SINGLE ARTICLE LAYOUT
=====================================*/

.news-single-layout{

    display:grid;

    grid-template-columns:2.2fr 1fr;

    gap:35px;

    margin-top:35px;

}

@media(max-width:992px){

    .news-single-layout{

        grid-template-columns:1fr;

    }

}

/*=====================================
ARTICLE
=====================================*/

.news-article{

    background:#fff;

    border-radius:15px;

    padding:35px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.news-featured-image{

    margin-bottom:35px;

}

.news-featured-image img{

    width:100%;
    height: 400px;

    border-radius:12px;

    display:block;

}

/*=====================================
ARTICLE TYPOGRAPHY
=====================================*/

.news-article-content{

    color:#000000;

    font-size:20px;

    line-height:1.9;
    text-align:justify;

}

.news-article-content p{

    margin-bottom:22px;

}

.news-article-content h2{

    color:#123B7A;

    font-size:34px;

    margin:40px 0 20px;

    border-left:5px solid #D4AF37;

    padding-left:15px;

}

.news-article-content h3{

    color:#123B7A;

    font-size:28px;

    margin:35px 0 18px;

}

.news-article-content h4{

    color:#123B7A;

    font-size:22px;

    margin:30px 0 15px;

}

.news-article-content ul,
.news-article-content ol{

    margin:20px 0 20px 30px;

}

.news-article-content li{

    margin-bottom:12px;

}

.news-article-content blockquote{

    background:#F5F8FC;

    border-left:5px solid #123B7A;

    padding:20px 25px;

    margin:30px 0;

    font-style:italic;

    border-radius:8px;

}

.news-article-content table{

    width:100%;

    border-collapse:collapse;

    margin:30px 0;

}

.news-article-content table th{

    background:#123B7A;

    color:#fff;

    padding:12px;

}

.news-article-content table td{

    padding:12px;

    border:1px solid #ddd;

}

/*=====================================
VIEWS
=====================================*/

.news-view-box{

    margin-top:35px;

    padding:18px 25px;

    background:#F8F8F8;

    border-left:5px solid #123B7A;

    display:flex;

    justify-content:space-between;

    border-radius:8px;

}

/*=====================================
BACK BUTTON
=====================================*/

.news-back-button{

    margin-top:40px;

}

.news-back-button a{

    display:inline-block;

    background:#123B7A;

    color:#fff;

    padding:14px 28px;

    text-decoration:none;

    border-radius:6px;

    transition:.3s;

}

.news-back-button a:hover{

    background:#D4AF37;

}


/*=====================================
RELATED news POINTS
=====================================*/

.news-related-posts{

    margin-top:60px;

}

.news-related-posts h2{

    color:#123B7A;

    margin-bottom:30px;

    border-left:5px solid #D4AF37;

    padding-left:15px;

}

.news-related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.news-related-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 6px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.news-related-card:hover{

    transform:translateY(-5px);

}

.news-related-card img{

    width:100%;

    height:180px;

    object-fit:cover;

    display:block;

}

.news-related-card h3{

    padding:20px;

    font-size:20px;

    line-height:1.5;

    color:#123B7A;

}

.news-related-card a{

    text-decoration:none;

}

.related-date{

    display:block;

    padding:0 20px 20px;

    color:#777;

    font-size:14px;

}

@media(max-width:992px){

    .news-related-grid{

        grid-template-columns:1fr;

    }

}


/*=====================================
POPULAR news 
=====================================*/

.news-sidebar-list li{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.news-sidebar-list li span{

    background:#000e36;

    color:#fff;

    padding:4px 10px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

}
.latest-news-slider{

    display:flex;
    flex-direction:column;

}

.latest-news-item{

    display:flex;
    align-items:center;

    gap:15px;

    padding:12px;

    text-decoration:none;

    color:#222;

    border-bottom:1px solid #ececec;

    transition:.3s;

}

.latest-news-item:hover{

    background:#f5f8ff;

}

.latest-news-item:hover h4{

    color:#e0a800;

}

.latest-news-thumb{

    width:70px;

    height:70px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:6px;

}

.latest-news-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.3s;

}

.latest-news-item:hover img{

    transform:scale(1.08);

}

.latest-news-info{

    flex:1;

}

.latest-news-info h4{

    font-size:15px;

    line-height:22px;

    color:#000e36;

    margin:0 0 5px;

    transition:.3s;

}

.latest-news-info span{

    color:#777;

    font-size:13px;

}
.news-single-wrapper{

    max-width:1400px;
    margin:40px auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:35px;
    align-items:start;

}

.news-single-main{

    width:100%;
    min-width:0;

}

.news-single-sidebar{

    width:100%;

}

.news-single-hero{

    margin-bottom:30px;

}

.news-single-title{

    font-size:42px;
    color:#000e36;
    margin-top:15px;

}
.news-breadcrumb{

    font-size:15px;
    color:#777;

}

.news-breadcrumb a{

    color:#000e36;
    text-decoration:none;

}

.news-breadcrumb span{

    margin:0 8px;

}
.news-category-badge{

    display:inline-block;
    margin-top:15px;

    background:#e0a800;

    color:#fff;

    padding:7px 16px;

    border-radius:30px;

    font-size:14px;

}
.news-category-badge{

    display:inline-block;
    margin-top:15px;

    background:#e0a800;

    color:#fff;

    padding:7px 16px;

    border-radius:30px;

    font-size:14px;

}
.news-featured-image img{

    width:100%;
    border-radius:12px;

}
.news-featured-image img{

    width:100%;
    border-radius:12px;

}
/*==================================
SHARE BOX
==================================*/

.news-share-box{

    margin:50px 0;

    padding:25px;

    background:#f8f9fb;

    border-radius:10px;

}

.news-share-box h3{

    color:#ff0000;

    margin-bottom:20px;
    text-align: center;
    font-size: 40px;

}

.news-share-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:15px;
    
}

.news-share-buttons a{

    padding:12px 22px;

    border-radius:6px;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.news-share-buttons a:hover{

    transform:translateY(-2px);
    background:#e0a800;
}

.share-whatsapp{

    background:#000e36;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;

}

.share-facebook{

    background:#000e36;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;

}

.share-x{

    background:#000e36;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;

}

.share-linkedin{

    background:#000e36;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;

}

.share-copy{

    background:#000e36;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;

}

.share-copy:hover{

    background:#e0a800;
    transform:translateY(-2px);

}
/*========================================
RELATED news POINTS
========================================*/

.news-related{

    margin:70px 0;

}

.news-related h2{

    color:#000e36;

    font-size:30px;

    margin-bottom:30px;

    border-left:6px solid #e0a800;

    padding-left:15px;

}

.news-related-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.news-related-card{

    display:flex;

    gap:18px;

    text-decoration:none;

    background:#fff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.35s;

}

.news-related-card:hover{

    transform:translateY(-4px);

}

.news-related-card img{

    width:150px;

    object-fit:cover;

}

.news-related-content{

    padding:18px;

}

.news-related-content h4{

    color:#000e36;

    margin-bottom:10px;

    transition:.3s;

}

.news-related-card:hover h4{

    color:#e0a800;

}

.news-related-content span{

    color:#888;

    font-size:14px;

}
@media(max-width:768px){

.news-related-grid{

    grid-template-columns:1fr;

}

}
/*====================================
COMMENTS
====================================*/

.news-comments{

    margin-top:50px;
    background:#fff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.news-comments-title{

    font-size:30px;
    color:#000e36;
    margin-bottom:30px;
    border-bottom:3px solid #C79A1B;
    padding-bottom:12px;

}

.news-comment-list{

    list-style:none;
    padding:0;
    margin:0;

}

.news-comment-list li{

    margin-bottom:25px;
    padding-bottom:25px;
    border-bottom:1px solid #eee;

}

.news-comment-list .avatar{

    border-radius:50%;

}

.comment-author{

    font-weight:700;
    color:#000e36;

}

.comment-meta{

    font-size:14px;
    color:#777;
    margin:8px 0;

}

.comment-content{

    margin-top:12px;
    line-height:1.8;

}

.comment-reply-link{

    display:inline-block;
    margin-top:10px;
    color:#C79A1B;
    font-weight:600;
    text-decoration:none;

}

.comment-reply-link:hover{

    color:#000e36;

}   
.comment-form{

    margin-top:35px;

}

.comment-form p{

    margin-bottom:20px;

}

.comment-form input,

.comment-form textarea{

    width:100%;
    padding:14px 18px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;

}

.comment-form textarea{

    min-height:180px;

}

.comment-form input:focus,

.comment-form textarea:focus{

    outline:none;
    border-color:#000e36;

}

.news-comment-submit{
    background:#000e36;
    color:#fff;
    border:none;
    padding:14px 35px;
    border-radius:6px;
    cursor:pointer;
}

.comment-form .submit:hover{

    background:#C79A1B;

}
/* Cookie Checkbox */

.comment-form-cookies-consent{

    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;

}

.comment-form-cookies-consent input{

    width:auto !important;
    margin:0;

}

.comment-form-cookies-consent label{

    margin:0;
    cursor:pointer;
    font-size:16px;
    color:#000e36;

}
/* Hide replies after the 2nd one */
.comment .children > li:nth-child(n+3){
    display:none;
}

.load-more-replies{
    margin:10px 0 0 60px;
    color:#000e36;
    cursor:pointer;
    font-weight:600;
}



/*==========================
COMMENTS
==========================*/

.news-comment-list{
    list-style:none;
    margin:0;
    padding:0;
}

.news-comment-list li{
    list-style:none;
    margin-bottom:20px;
}

/* Reply indentation */

.news-comment-list .children{
    margin-left:60px;
    padding-left:30px;
    border-left:2px solid #ececec;
}

/* Comment */

.news-comment{

    padding:5px 0;

}

/* Top Row */

.news-comment-top{

    display:flex;
    align-items:center;
    gap:24px;

}

/* Avatar */

.news-comment-avatar img{

    width:42px;
    height:42px;
    border-radius:50%;
    display:block;

}

/* Right Side */

.news-comment-info{

    flex:1;

}

/* Name Date Time */

.news-comment-meta{

    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;

}

.news-comment-author{

    font-size:16px;
    font-weight:700;
    color:#000e36;

}

.news-comment-date,
.news-comment-time{

    font-size:13px;
    color:#777;

}

/* Comment Text */

.news-comment-content{

    margin-left:54px;
    margin-top:8px;

    font-size:15px;
    line-height:1.7;
    color:#333;

}

/* Reply */

.news-comment-reply{

    margin-left:54px;
    

}

.comment-reply-link{

    color:#000e36;
    text-decoration:none;
    font-size:14px;
    font-weight:600;

}

.comment-reply-link:hover{

    color:#e0a800;

}
.load-more-comments{
    display:block;
    margin:20px auto;
    padding:10px 25px;
    background:#000e36;
    color:#fff;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-weight:600;
}

.load-more-comments:hover{
    background:#e0a800;
    color:#000;
}


/*====================================
Previous / Next Navigation
====================================*/

.news-post-navigation{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin:50px 0;

}

.news-post-navigation a{

    display:inline-block;
    padding:14px 28px;
    background:#000e36;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    border-radius:6px;
    transition:.3s ease;

}

.news-post-navigation a:hover{

    background:#C79A1B;
    color:#fff;
    transform:translateY(-2px);

}

.news-prev,
.news-next{

    display:flex;

}

@media(max-width:768px){

    .news-post-navigation{

        flex-direction:column;
        width:100%;

    }

    .news-post-navigation a{

        width:100%;
        text-align:center;

    }

}
/*====================================
news SEARCH
====================================*/

.news-search-widget{

    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:30px;

}

.news-search-widget h3{

    margin-bottom:18px;
    color:#0B2D6B;
    font-size:24px;

}

.news-search-form{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.news-search-form input[type=text]{

    padding:14px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:16px;

}

.news-search-form input[type=text]:focus{

    outline:none;
    border-color:#0B2D6B;

}

.news-search-form button{

    background:#0B2D6B;
    color:#fff;
    border:none;
    padding:14px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;

}

.news-search-form button:hover{

    background:#C79A1B;

}
/*=====================================
AJAX SEARCH
=====================================*/

.news-search-form{

    position:relative;

}

#news-search{

    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:16px;

}

#news-search:focus{

    outline:none;
    border-color:#000e36;

}

#news-search-results{

    position:absolute;
    top:100%;
    left:0;
    right:0;

    background:#fff;

    border:1px solid #ddd;

    border-top:none;

    z-index:999;

    display:none;

    max-height:420px;

    overflow-y:auto;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

.search-item{

    display:flex;

    gap:12px;

    padding:12px;

    border-bottom:1px solid #eee;

    text-decoration:none;

    color:#222;

    transition:.3s;

}

.search-item:hover{

    background:#f7f7f7;

}

.search-item img{

    width:70px;

    height:60px;

    object-fit:cover;

    border-radius:4px;

}

.search-item h4{

    margin:0;

    font-size:16px;

    color:#000e36;

}

.search-item span{

    font-size:13px;

    color:#777;

}

/* ==========================================================
   QANOON MARKAZ — NEWS
   FINAL RESPONSIVE OVERRIDES
   DO NOT CHANGE EXISTING CLASS NAMES
   ========================================================== */


/* ==========================================================
   GLOBAL SAFETY
   ========================================================== */

.news-layout,
.news-single-wrapper,
.news-single-page,
.news-main-layout,
.news-single-layout,
.news-card,
.news-article,
.news-comments,
.news-share-box,
.news-sidebar-box,
.news-related {
    box-sizing:border-box;
}

.news-layout *,
.news-single-wrapper *,
.news-single-page *,
.news-main-layout *,
.news-single-layout * {
    box-sizing:border-box;
}

.news-card img,
.news-featured-image img,
.news-single-hero img,
.news-related-card img,
.latest-news-thumb img,
.search-item img {
    max-width:100%;
}


/* ==========================================================
   MAIN NEWS LAYOUT
   ========================================================== */

.news-layout {

    width:calc(100% - 40px);
    max-width:1400px;

    margin:40px auto 0;

    display:grid;

    grid-template-columns:minmax(0, 2.2fr) minmax(260px, 1fr);

    gap:30px;

    align-items:start;

}

.news-content,
.news-sidebar {

    width:100%;
    min-width:0;

}


/* ==========================================================
   NEWS CARD — DESKTOP
   ========================================================== */

.news-card {

    width:100%;
    min-width:0;

}

.news-card-content {

    min-width:0;

}

.news-card-title,
.news-card-title a {

    overflow-wrap:anywhere;

}


/* ==========================================================
   SINGLE NEWS LAYOUT
   ========================================================== */

.news-single-wrapper {

    width:calc(100% - 40px);
    max-width:1400px;

    margin:40px auto;

    display:grid;

    grid-template-columns:minmax(0, 2fr) minmax(260px, 1fr);

    gap:35px;

    align-items:start;

}

.news-single-main,
.news-single-sidebar {

    width:100%;
    min-width:0;

}

.news-single-page {

    width:calc(100% - 40px);
    max-width:1400px;

}


/* ==========================================================
   NEWS HERO
   ========================================================== */

.news-single-hero {

    width:100%;
    overflow:hidden;

}

.news-single-hero img {

    width:100%;
    max-width:100%;

    height:320px;

    object-fit:cover;

    display:block;

}


/* ==========================================================
   FEATURED IMAGE
   ========================================================== */

.news-featured-image {

    width:100%;
    overflow:hidden;

}

.news-featured-image img {

    width:100%;
    max-width:100%;

    height:400px;

    object-fit:cover;

    display:block;

}


/* ==========================================================
   SINGLE NEWS HEADER
   ========================================================== */

.news-single-header {

    width:100%;
    min-width:0;

}

.news-single-title {

    font-size:42px;
    line-height:1.35;

    overflow-wrap:anywhere;

}

.news-single-meta {

    display:flex;
    flex-wrap:wrap;

    gap:15px 25px;

}


/* ==========================================================
   NEWS ARTICLE
   ========================================================== */

.news-article {

    width:100%;
    min-width:0;

    padding:35px;

}

.news-article-content {

    width:100%;
    max-width:100%;

    overflow-wrap:anywhere;

}

.news-article-content img {

    max-width:100%;
    height:auto;

}

.news-article-content iframe,
.news-article-content video {

    max-width:100%;

}

.news-article-content table {

    display:block;

    width:100%;

    overflow-x:auto;

    white-space:nowrap;

}

.news-article-content pre {

    max-width:100%;
    overflow-x:auto;

}


/* ==========================================================
   RELATED NEWS
   ========================================================== */

.news-related-grid {

    width:100%;

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:25px;

}

.news-related-card {

    width:100%;
    min-width:0;

}

.news-related-card img {

    max-width:100%;

}

.news-related-content {

    min-width:0;

}

.news-related-content h4 {

    overflow-wrap:anywhere;

}


/* ==========================================================
   SHARE BOX
   ========================================================== */

.news-share-box {

    width:100%;
    min-width:0;

}

.news-share-buttons {

    display:flex;
    flex-wrap:wrap;

    justify-content:center;

    gap:12px;

}

.news-share-buttons a,
.share-whatsapp,
.share-facebook,
.share-x,
.share-linkedin,
.share-copy {

    box-sizing:border-box;

}


/* ==========================================================
   COMMENTS
   ========================================================== */

.news-comments {

    width:100%;
    min-width:0;

}

.news-comment-list {

    width:100%;
    min-width:0;

}

.news-comment-list .children {

    margin-left:60px;
    padding-left:30px;

}

.news-comment-content {

    max-width:100%;
    overflow-wrap:anywhere;

}


/* ==========================================================
   SEARCH
   ========================================================== */

.news-search-widget {

    width:100%;
    min-width:0;

}

.news-search-form {

    width:100%;
    min-width:0;

}

#news-search {

    width:100%;
    max-width:100%;

    box-sizing:border-box;

}

#news-search-results {

    width:100%;
    max-width:100%;

}

.search-item {

    min-width:0;

}

.search-item h4 {

    overflow-wrap:anywhere;

}


/* ==========================================================
   LATEST NEWS
   ========================================================== */

.latest-news-slider {

    width:100%;
    min-width:0;

}

.latest-news-item {

    min-width:0;

}

.latest-news-info {

    min-width:0;

}

.latest-news-info h4 {

    overflow-wrap:anywhere;

}


/* ==========================================================
   TABLET / SMALL LAPTOP — 1024px
   ========================================================== */

@media (max-width:1024px){

    .news-layout {

        width:calc(100% - 30px);

        grid-template-columns:minmax(0, 1fr);

        gap:30px;

        margin:30px auto 0;

    }

    .news-single-wrapper {

        width:calc(100% - 30px);

        grid-template-columns:minmax(0, 1fr);

        gap:30px;

        margin:30px auto;

    }

    .news-single-page {

        width:calc(100% - 30px);

    }

    .news-sidebar,
    .news-single-sidebar {

        width:100%;

    }

    .news-single-layout {

        grid-template-columns:minmax(0, 1fr);

        gap:30px;

    }

    .news-single-title {

        font-size:36px;

    }

    .news-article {

        padding:30px;

    }

    .news-article-content {

        font-size:19px;

    }

    .news-related-grid {

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

}


/* ==========================================================
   TABLET — 768px
   ========================================================== */

@media (max-width:768px){

    .news-layout {

        width:calc(100% - 24px);

        margin:25px auto 0;

        gap:25px;

    }

    .news-single-wrapper {

        width:calc(100% - 24px);

        margin:25px auto;

        gap:25px;

    }

    .news-single-page {

        width:calc(100% - 24px);

        margin-bottom:40px;

    }


    /* Main hero */

    .news-banner-image {

        width:100%;

        height:280px;

        object-fit:cover;

        border-radius:0;

    }


    /* Single news hero */

    .news-single-hero img {

        height:280px;

        border-radius:10px;

    }


    /* Featured image */

    .news-featured-image img {

        height:300px;

    }


    /* Looking section */

    .news-looking-title {

        font-size:42px;

        line-height:1.2;

    }

    .news-current-category {

        font-size:24px;

        line-height:1.3;

    }

    .news-looking-section {

        margin-bottom:25px;

        padding:0 15px;

    }

    .news-looking-section h2 {

        font-size:26px;

        line-height:1.3;

    }


    /* Categories */

    .news-category-buttons {

        gap:10px;

        padding:0 10px;

    }

    .news-category-btn {

        padding:10px 18px;

        font-size:14px;

    }


    /* News cards */

    .news-card {

        flex-direction:column;

        gap:0;

    }

    .news-card-image {

        width:100%;

        min-width:100%;

    }

    .news-card-image img {

        width:100%;

        height:260px;

    }

    .news-card-content {

        padding:25px;

    }

    .news-card-title {

        font-size:25px;

        line-height:1.35;

    }

    .news-meta {

        flex-wrap:wrap;

        gap:8px 15px;

    }


    /* Single header */

    .news-single-header {

        padding:25px;

    }

    .news-single-title {

        font-size:32px;

        line-height:1.35;

    }

    .news-single-meta {

        gap:10px 18px;

        font-size:14px;

    }


    /* Article */

    .news-article {

        padding:25px;

        border-radius:12px;

    }

    .news-article-content {

        font-size:18px;

        line-height:1.8;

        text-align:left;

    }

    .news-article-content h2 {

        font-size:28px;

        margin:32px 0 18px;

    }

    .news-article-content h3 {

        font-size:24px;

        margin:28px 0 15px;

    }

    .news-article-content h4 {

        font-size:20px;

    }


    /* Related news */

    .news-related-grid {

        grid-template-columns:1fr;

        gap:20px;

    }

    .news-related-card {

        flex-direction:row;

    }

    .news-related-card img {

        width:140px;

        min-width:140px;

        height:140px;

    }


    /* Share */

    .news-share-box {

        margin:35px 0;

        padding:20px;

    }

    .news-share-box h3 {

        font-size:30px;

    }

    .news-share-buttons {

        gap:10px;

    }

    .news-share-buttons a,
    .share-whatsapp,
    .share-facebook,
    .share-x,
    .share-linkedin,
    .share-copy {

        padding:11px 16px;

        font-size:14px;

    }


    /* Comments */

    .news-comments {

        padding:25px;

    }

    .news-comments-title {

        font-size:26px;

    }

    .news-comment-list .children {

        margin-left:35px;

        padding-left:20px;

    }

}


/* ==========================================================
   MOBILE — 576px
   ========================================================== */

@media (max-width:576px){

    .news-layout {

        width:calc(100% - 20px);

        margin:20px auto 0;

        gap:20px;

    }

    .news-single-wrapper {

        width:calc(100% - 20px);

        margin:20px auto;

        gap:20px;

    }

    .news-single-page {

        width:calc(100% - 20px);

    }


    /* Main hero */

    .news-hero {

        margin-bottom:20px;

        overflow:hidden;

    }

    .news-banner-image {

        width:100%;

        height:210px;

        border-radius:0;

    }


    /* Looking section */

    .news-looking-section {

        margin-bottom:20px;

        padding:0 8px;

    }

    .news-looking-title {

        font-size:32px;

        line-height:1.25;

    }

    .news-current-category {

        font-size:21px;

        line-height:1.3;

    }

    .news-looking-section h2 {

        font-size:23px;

    }


    /* Categories */

    .news-category-buttons {

        gap:8px;

        padding:0 5px;

    }

    .news-category-btn {

        padding:9px 15px;

        font-size:13px;

        border-radius:25px;

    }


    /* News cards */

    .news-card {

        margin-bottom:20px;

        border-radius:10px;

    }

    .news-card-image img {

        height:210px;

    }

    .news-card-content {

        padding:20px;

    }

    .news-card-title {

        font-size:22px;

        line-height:1.4;

        margin-bottom:12px;

    }

    .news-meta {

        flex-wrap:wrap;

        gap:8px 15px;

        font-size:13px;

    }

    .news-excerpt {

        font-size:15px;

        line-height:1.7;

    }

    .news-readmore {

        padding:10px 18px;

        font-size:14px;

    }


    /* Sidebar */

    .news-sidebar-box {

        padding:20px;

        margin-bottom:20px;

        border-radius:10px;

    }

    .news-sidebar-box h3 {

        font-size:20px;

    }


    /* Single news */

    .news-single-hero img {

        height:210px;

        border-radius:8px;

        margin-bottom:20px;

    }

    .news-single-header {

        padding:20px;

        border-radius:10px;

    }

    .news-single-title {

        font-size:27px;

        line-height:1.35;

    }

    .news-single-meta {

        display:block;

        font-size:14px;

    }

    .news-single-meta > * {

        margin-bottom:7px;

    }


    /* Featured image */

    .news-featured-image {

        margin-bottom:25px;

    }

    .news-featured-image img {

        height:230px;

        border-radius:8px;

    }


    /* Article */

    .news-article {

        padding:20px;

        border-radius:10px;

    }

    .news-article-content {

        font-size:17px;

        line-height:1.8;

    }

    .news-article-content h2 {

        font-size:25px;

        padding-left:10px;

        border-left-width:4px;

    }

    .news-article-content h3 {

        font-size:22px;

    }

    .news-article-content h4 {

        font-size:19px;

    }

    .news-article-content ul,
    .news-article-content ol {

        margin-left:20px;

        padding-left:15px;

    }

    .news-article-content blockquote {

        padding:15px;

        margin:20px 0;

    }


    /* Related */

    .news-related {

        margin:45px 0;

    }

    .news-related h2 {

        font-size:25px;

        padding-left:10px;

    }

    .news-related-card {

        flex-direction:column;

    }

    .news-related-card img {

        width:100%;

        min-width:100%;

        height:200px;

    }

    .news-related-content {

        padding:16px;

    }


    /* Share */

    .news-share-box {

        padding:18px;

        margin:30px 0;

    }

    .news-share-box h3 {

        font-size:26px;

    }

    .news-share-buttons {

        display:grid;

        grid-template-columns:1fr 1fr;

        gap:10px;

    }

    .news-share-buttons a,
    .share-whatsapp,
    .share-facebook,
    .share-x,
    .share-linkedin,
    .share-copy {

        width:100%;

        padding:11px 8px;

        font-size:13px;

        text-align:center;

    }


    /* Comments */

    .news-comments {

        padding:20px;

        border-radius:10px;

    }

    .news-comments-title {

        font-size:24px;

        margin-bottom:20px;

    }

    .news-comment-top {

        gap:12px;

    }

    .news-comment-content {

        margin-left:0;

        font-size:14px;

    }

    .news-comment-reply {

        margin-left:0;

    }

    .news-comment-list .children {

        margin-left:15px;

        padding-left:15px;

    }


    /* Previous / Next */

    .news-post-navigation {

        gap:10px;

        margin:35px 0;

    }

    .news-post-navigation a {

        width:100%;

        padding:12px 18px;

        font-size:14px;

    }


    /* Search */

    .news-search-widget {

        padding:20px;

    }

    .news-search-widget h3 {

        font-size:21px;

    }

    .search-item {

        gap:9px;

        padding:10px;

    }

    .search-item img {

        width:55px;

        height:50px;

    }

    .search-item h4 {

        font-size:14px;

    }

    .search-item span {

        font-size:12px;

    }


    /* Latest news */

    .latest-news-item {

        gap:10px;

        padding:10px;

    }

    .latest-news-thumb {

        width:60px;

        height:60px;

    }

    .latest-news-info h4 {

        font-size:14px;

        line-height:20px;

    }

    .latest-news-info span {

        font-size:12px;

    }

}


/* ==========================================================
   VERY SMALL MOBILE — 400px
   ========================================================== */

@media (max-width:400px){

    .news-layout {

        width:calc(100% - 14px);

    }

    .news-single-wrapper {

        width:calc(100% - 14px);

    }

    .news-single-page {

        width:calc(100% - 14px);

    }


    /* Hero */

    .news-banner-image {

        height:175px;

    }

    .news-single-hero img {

        height:175px;

    }

    .news-featured-image img {

        height:190px;

    }


    /* Titles */

    .news-looking-title {

        font-size:28px;

    }

    .news-current-category {

        font-size:19px;

    }

    .news-looking-section h2 {

        font-size:21px;

    }


    /* Categories */

    .news-category-buttons {

        gap:6px;

    }

    .news-category-btn {

        padding:8px 12px;

        font-size:12px;

    }


    /* Cards */

    .news-card-image img {

        height:180px;

    }

    .news-card-content {

        padding:16px;

    }

    .news-card-title {

        font-size:20px;

    }


    /* Single */

    .news-single-header {

        padding:16px;

    }

    .news-single-title {

        font-size:24px;

    }


    /* Article */

    .news-article {

        padding:16px;

    }

    .news-article-content {

        font-size:16px;

    }

    .news-article-content h2 {

        font-size:22px;

    }

    .news-article-content h3 {

        font-size:20px;

    }


    /* Share */

    .news-share-buttons {

        grid-template-columns:1fr;

    }

    .news-share-box h3 {

        font-size:23px;

    }


    /* Comments */

    .news-comments {

        padding:16px;

    }

    .news-comments-title {

        font-size:22px;

    }


    /* Related */

    .news-related-card img {

        height:175px;

    }

}


/* ==========================================================
   EXTRA SMALL — 360px
   ========================================================== */

@media (max-width:360px){

    .news-layout,
    .news-single-wrapper,
    .news-single-page {

        width:calc(100% - 10px);

    }

    .news-looking-title {

        font-size:25px;

    }

    .news-current-category {

        font-size:18px;

    }

    .news-category-btn {

        padding:7px 10px;

        font-size:11px;

    }

    .news-card-title {

        font-size:19px;

    }

    .news-single-title {

        font-size:22px;

    }

}


/* ==========================================================
   PREVENT HORIZONTAL OVERFLOW
   ========================================================== */

.news-layout,
.news-single-wrapper,
.news-single-page,
.news-card,
.news-article,
.news-comments,
.news-share-box,
.news-related,
.news-sidebar-box {

    overflow-wrap:anywhere;

}

.news-article-content,
.news-card-content,
.news-single-header,
.news-related-content {

    min-width:0;

}
