/*
=================================
Single Post Layout
=================================
*/

.single-layout{

    display:grid;
    grid-template-columns:minmax(0, 2.5fr) minmax(280px, 1fr);
    gap:30px;
    margin:40px auto;
    align-items:start;

}


/*
=================================
Main Article
=================================
*/

.single-post{

    background:#fff;

}



.single-title{

    font-size:36px;
    line-height:1.45;
    font-weight:700;
    margin:0 0 15px;
    color:#222;

}



.post-meta{

    color:#777;
    font-size:14px;
    margin-bottom:25px;
    padding-bottom:12px;
    border-bottom:1px solid #e5e5e5;

}



.single-thumbnail img{

    width:100%;
    height:auto;
    border-radius:8px;
    margin-bottom:25px;

}



.single-content{

    font-size:18px;
    line-height:1.9;
    color:#333;

}



.single-content p{

    margin-bottom:22px;

}



/*
=================================
Sidebar
=================================
*/


.single-sidebar{

    border-left:1px solid #eee;
    padding-left:20px;

}



.sidebar-box h2,
.latest-post-section h2{

    background:#075b85;
    color:#fff;
    font-size:20px;
    font-weight:700;
    padding:10px 15px;
    border-radius:4px;
    margin-bottom:20px;

}




.sidebar-news-item{

    display:flex;
    gap:12px;
    padding-bottom:15px;
    margin-bottom:15px;
    border-bottom:1px solid #eee;

}



.sidebar-news-item img{

    width:95px;
    height:70px;
    object-fit:cover;
    border-radius:5px;

}



.sidebar-news-title{

    flex:1;

}



.sidebar-news-title a{

    font-size:16px;
    font-weight:600;
    color:#222;
    text-decoration:none;
    line-height:1.5;

}



.sidebar-news-title a:hover{

    color:#075b85;

}



/*
=================================
Latest Posts
=================================
*/


.latest-post-section{

    margin-top:50px;

}



.latest-post-list{

    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;

}



.latest-post-item{

    background:#fff;
    border:1px solid #eee;
    padding:12px;
    border-radius:6px;
    transition:.3s;

}



.latest-post-item:hover{

    transform:translateY(-5px);

}



.latest-post-item img{

    width:100%;
    height:130px;
    object-fit:cover;
    border-radius:5px;
    margin-bottom:10px;

}



.latest-post-item h3{

    margin:0;

}



.latest-post-item h3 a{

    font-size:16px;
    line-height:1.5;
    color:#222;
    text-decoration:none;

}



.latest-post-item span{

    display:block;
    margin-top:8px;
    color:#777;
    font-size:13px;

}





/*
=================================
Desktop Large Screen
=================================
*/

@media(min-width:1200px){

.single-layout{

    max-width:1200px;
    margin-left:auto;
    margin-right:auto;

}

}



/*
=================================
Tablet
=================================
*/


@media(max-width:992px){


.single-layout{

    grid-template-columns:1fr;
    gap:35px;

}



.single-sidebar{

    border-left:none;
    padding-left:0;

}



.latest-post-list{

    grid-template-columns:repeat(3,1fr);

}


}





/*
=================================
Mobile
=================================
*/


@media(max-width:600px){


.single-layout{

    margin:25px 15px;

}



.single-title{

    font-size:25px;
    line-height:1.5;

}



.single-content{

    font-size:16px;
    line-height:1.8;

}



.sidebar-news-item img{

    width:85px;
    height:60px;

}



.sidebar-news-title a{

    font-size:15px;

}



.latest-post-list{

    grid-template-columns:1fr;

}



.latest-post-item img{

    height:auto;

}


}