/*!
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Description: A plain-vanilla & lightweight theme for Elementor page builder
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor
*/

.blog-container{
max-width:1200px;
margin:40px auto;
padding:20px;
}

.blog-banner img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.blog-content{
margin:auto;
}

.blog-meta{
display:flex;
gap:20px;
font-size:14px;
color:#666;
margin:20px 0;
flex-wrap:wrap;
}

.blog-content h1{
font-size:42px;
margin-bottom:20px;
color:#222;
}

.blog-content p{
font-size:18px;
line-height:1.9;
color:#444;
margin-bottom:20px;
}

.blog-content img{
max-width:100%;
height:auto;
border-radius:10px;
margin:20px 0;
}

.author-box{
display:flex;
gap:20px;
margin:60px 0;
padding:25px;
background:#f7f7f7;
border-radius:12px;
align-items:center;
}

.author-image img{
border-radius:50%;
}

.post-navigation{
display:flex;
justify-content:space-between;
margin:40px 0;
}

.post-navigation a{
text-decoration:none;
font-weight:600;
color:#0d6efd;
}

.related-posts{
margin-top:60px;
}

.related-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.related-card{
text-decoration:none;
color:#222;
background:#fff;
box-shadow:0 5px 15px rgba(0,0,0,.08);
border-radius:10px;
overflow:hidden;
transition:.3s;
}

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

.related-card img{
width:100%;
height:220px;
object-fit:cover;
}

.related-card h4{
padding:15px;
font-size:18px;
}

@media(max-width:768px){

.blog-content h1{
font-size:30px;
}

.related-grid{
grid-template-columns:1fr;
}

.author-box{
flex-direction:column;
text-align:center;
}

.post-navigation{
flex-direction:column;
gap:15px;
}

}