.news-header{
    background:#f7f9fc;
    text-align:center;
    background-size: cover;
    background-repeat: no-repeat;
}
.news-header-overlay {
    width:100%;
    padding:100px 0 130px 0;
    background-color: #00000033;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
.news-header h1{
    font-size:42px;
    margin-bottom:10px;
    font-weight:700;
    color: #fff;
}


.news-card{
    display:flex;
    gap:30px;
    margin-bottom:35px;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-5px);
}

.news-thumb{
    width:340px;
    flex-shrink:0;
}

.news-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.news-content{
    padding:30px 30px 50px 30px;
    flex:1;
}

.news-date{
    color:#888;
    font-size:14px;
    margin-bottom:8px;
}

.news-content h2{
    margin:0 0 15px;
    font-size:24px;
    line-height:1.3;
    padding: 0.5rem 0 0 0;
}

.news-content h2 a{
    text-decoration:none;
    color:#246390;
}

.news-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

.read-more{
  
    font-size: 15px;
    font-weight: 400;
    background-color: transparent;
    background-image: linear-gradient(143deg, #2A759A 0%, #3AADBA 100%);
    transition-duration: 0.7s;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #308DA8;
    border-radius: 30px 30px 30px 30px;
    padding: 15px 30px 15px 30px;
    color: #fff;
}

.read-more:hover{
    color: #308DA8;
    background-color: transparent;
    background-image: linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF00 100%);
}

.news-pagination{
    text-align:center;
    margin:60px 0;
}

.news-pagination .page-numbers{
    display:inline-block;
    padding:12px 18px;
    margin:4px;
    border-radius:50px;
    text-decoration:none;
    background:#f3f3f3;
    color:#333;
}

.news-pagination .current{
    background:#0066cc;
    color:#fff;
}

@media(max-width:768px){

.news-card{
    flex-direction:column;
}

.news-thumb{
    width:100%;
}

.news-thumb img{
    height:250px;
}

.news-content{
    padding:20px;
}

.news-content h2{
    font-size:24px;
}

.news-header h1{
    font-size:34px;
}

}


.news-wrapper {

        transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: -30px;
    margin-bottom: 0px;
    padding: 50px 0px 50px 0px;
    border-radius: 30px 30px 0px 0px;
    z-index: 2;
    background: #fff;

}


.single-news-title {
    padding: 0.5rem 0 0 0;
}


.post-navigation{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    width:100%;
}

.prev-post{
    flex:1;
    text-align:left;
}

.next-post{
    flex:1;
    text-align:right;
}

.post-navigation a{
    display:inline-block;
}

.news-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:60px 0;
    flex-wrap:wrap;
}

.news-pagination .page-numbers{
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:44px;
    height:44px;
    padding:0 16px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    color:#333;
    text-decoration:none;
    font-weight:600;
    transition:all .3s ease;
}
.news-pagination .current{
    background:#0066cc;
    border-color:#0066cc;
    color:#fff;
}

.news-pagination .dots{
    border:none;
}
.news-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:60px 0;
    flex-wrap:wrap;
}

.news-pagination .page-numbers{
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:44px;
    height:44px;
    padding:0 16px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    color:#308DA8;
    text-decoration:none;
    font-weight:600;
    transition:all .3s ease;
    border-radius: 100px;
}

.news-pagination .page-numbers:hover{
    background-color: transparent;
    background-image: linear-gradient(143deg, #2A759A 0%, #3AADBA 100%);
    color:#fff;
}

.news-pagination .current{
        background-color: transparent;
    background-image: linear-gradient(143deg, #2A759A 0%, #3AADBA 100%);
    border-color:#308DA8;
    color:#fff;
}

.news-pagination .dots{
    border:none;
}


.prev.page-numbers, .next.page-numbers {
    font-size: 1rem;
    color: #308DA8;
}


/// new carousal slider ///////////
img.news-thumb-img.wp-post-image {
    display:block !important;
    width:100%;
    height:100%;
    object-fit:cover;
}