/*
 Theme Name: Porto Child
 Theme URI: https://www.portotheme.com/
 Description: Porto Child Theme for Medical News Portal
 Author: Your Name
 Template: porto
 Version: 1.0.0
 Text Domain: porto-child
*/

body{
    font-family:"Poppins",sans-serif;
}

img{
    max-width:100%;
    height:auto;
}

.news-container{
    max-width:1320px;
    margin:auto;
    padding:0 15px;
}
.news-sidebar{

position:sticky;

top:30px;

}

.sidebar-widget{

background:#fff;

padding:20px;

margin-bottom:25px;

border-radius:10px;

box-shadow:0 5px 18px rgba(0,0,0,.08);

}

.sidebar-widget h4{

font-size:22px;

margin-bottom:18px;

font-weight:700;

}

.latest-post{

display:flex;

gap:12px;

margin-bottom:18px;

}

.latest-post img{

width:90px;

height:70px;

object-fit:cover;

border-radius:6px;

}

.latest-post a{

font-weight:600;

color:#222;

text-decoration:none;

}

.latest-post span{

display:block;

font-size:13px;

color:#777;

margin-top:4px;

}

.popular-post{

padding:12px 0;

border-bottom:1px solid #eee;

}

.popular-post:last-child{

border-bottom:none;

}

.popular-post a{

text-decoration:none;

color:#222;

font-weight:600;

}

.sidebar-widget ul{

padding-left:18px;

}

.sidebar-widget li{

margin-bottom:10px;

}

/*==================================================
    MEDICAL NEWS SINGLE PAGE
==================================================*/

.news-container{
    max-width:1320px;
    margin:40px auto;
    padding:0 15px;
}

.news-breadcrumb{
    font-size:14px;
    margin-bottom:20px;
    color:#666;
}

.news-breadcrumb a{
    color:#0d6efd;
    text-decoration:none;
}

.news-category{
    display:inline-block;
    background:#eaf4ff;
    color:#0056b3;
    padding:8px 18px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:20px;
}

.news-title{

    font-size:48px;

    line-height:1.25;

    font-weight:800;

    color:#111;

    margin-bottom:25px;

}

.news-meta{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    color:#666;

    font-size:15px;

    margin-bottom:25px;

}

.news-meta i{

    color:#0d6efd;

    margin-right:6px;

}

.news-featured-image{

    margin-bottom:30px;

}

.news-featured-image img{

    width:100%;

    border-radius:12px;

    box-shadow:0 10px 35px rgba(0,0,0,.12);

}

/*==================================
 Share
==================================*/

.news-share{

    display:flex;

    align-items:center;

    gap:15px;

    margin:35px 0;

}

.news-share span{

    font-weight:700;

}

.news-share a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#f5f5f5;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#333;

    transition:.3s;

    text-decoration:none;

}

.news-share a:hover{

    background:#0d6efd;

    color:#fff;

}

/*==================================
 Article
==================================*/

.news-content{

    font-size:18px;

    line-height:1.95;

    color:#333;

}

.news-content h2{

    margin-top:45px;

    margin-bottom:18px;

    font-size:34px;

    font-weight:800;

}

.news-content h3{

    margin-top:35px;

    margin-bottom:15px;

    font-size:28px;

    font-weight:700;

}

.news-content p{

    margin-bottom:24px;

}

.news-content ul{

    padding-left:25px;

    margin-bottom:25px;

}

.news-content li{

    margin-bottom:10px;

}

.news-content img{

    width:100%;

    border-radius:12px;

    margin:30px 0;

}

/*==================================
 Tags
==================================*/

.news-tags{

    margin-top:45px;

}

.news-tags strong{

    margin-right:10px;

}

.news-tags a{

    display:inline-block;

    padding:8px 16px;

    margin:6px;

    border-radius:30px;

    background:#f5f5f5;

    color:#333;

    text-decoration:none;

}

.news-tags a:hover{

    background:#0d6efd;

    color:#fff;

}

/*==================================
 Previous Next
==================================*/

.news-navigation{

    display:flex;

    justify-content:space-between;

    margin:60px 0;

    padding:25px 0;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

}

.news-navigation a{

    font-weight:700;

    color:#111;

    text-decoration:none;

}

.news-navigation a:hover{

    color:#0d6efd;

}

/*==================================
 Related Posts
==================================*/

.related-posts{

    margin-top:60px;

}

.related-posts h3{

    font-size:34px;

    margin-bottom:30px;

    font-weight:800;

}

.related-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    margin-bottom:30px;

}

.related-card:hover{

    transform:translateY(-6px);

}

.related-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.related-card h5{

    padding:20px;

    font-size:18px;

    line-height:1.5;

}

.related-card a{

    color:#111;

    text-decoration:none;

}

/*==================================
 Responsive
==================================*/

@media(max-width:991px){

.news-title{

font-size:36px;

}

.news-meta{

gap:15px;

}

.news-navigation{

flex-direction:column;

gap:20px;

}

}

@media(max-width:767px){

.news-title{

font-size:30px;

}

.news-content{

font-size:17px;

}

.news-share{

flex-wrap:wrap;

}

}













.author-box{

display:flex;

gap:20px;

padding:30px;

background:#fff;

margin:50px 0;

border-radius:12px;

box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.author-image img{

border-radius:50%;

}

.author-content h4{

font-size:24px;

margin-bottom:10px;

}

.author-content p{

margin:0;

line-height:1.8;

}

.newsletter-box{

background:#0056b3;

color:#fff;

padding:50px;

border-radius:12px;

text-align:center;

margin-top:60px;

}

.newsletter-box h3{

color:#fff;

margin-bottom:20px;

font-size:34px;

}

.newsletter-box input{

height:52px;

}

.newsletter-box input[type=submit]{

background:#fff;

color:#0056b3;

border:none;

}