body{
    font-family:'Poppins',sans-serif;
    background:#f4f6f9;
}

.navbar{
    background:#fff;
}

/* HERO */
.hero{
    background:linear-gradient(135deg,#0d6efd,#002855);
    color:white;
    padding:70px 0;
    text-align:center;
}

.hero h1{
    font-weight:700;
}

.hero .lead{
    opacity:.9;
}

/* POSTS */
.post-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:25px;
    transition:.3s;
}

.post-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

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

.post-card h3,
.post-card h5{
    font-weight:600;
}

/* SIDEBAR */
.sidebar-box{
    background:#fff;
    padding:20px;
    border-radius:12px;
    margin-bottom:20px;
}

/* ADS */
.ad-space{
    background:#e9ecef;
    border-radius:10px;
    padding:10px;
    text-align:center;
    margin:20px 0;
}

.ad-space img{
    width:100%;
    height:auto;
}

/* FOOTER */
.footer{
    background:#0f172a;
    color:#ddd;
    padding:60px 0;
}

.footer h5{
    color:white;
    margin-bottom:15px;
}

.footer a{
    color:#ccc;
    text-decoration:none;
}

.footer a:hover{
    color:white;
}

.footer hr{
    border-color:#334155;
}

/* FLOATING AD */
.floating-ad{
    position:fixed;
    right:20px;
    bottom:20px;
    width:400px;
    height:600px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    overflow:hidden;
    z-index:999;
}

.floating-ad img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.close-ad{
    position:absolute;
    top:5px;
    right:10px;
    cursor:pointer;
    font-weight:bold;
    color:#000;
    background:white;
    padding:2px 8px;
    border-radius:20px;
}





.post-header h1{
    font-weight:700;
    margin-bottom:10px;
}

.post-header{
    border-bottom:1px solid #e5e7eb;
    padding-bottom:15px;
}

.post-content img{
    max-width:100%;
    border-radius:10px;
    margin:15px 0;
}

.post-content p{
    line-height:1.8;
    font-size:16px;
}






/* POST PAGE */
.post-content img{
    max-width:100%;
    border-radius:8px;
    margin:20px 0;
}

/* RELATED POSTS */
.related-post{
    background:#f8f9fa;
    transition:.3s;
    border:1px solid #eee;
}

.related-post:hover{
    background:#0d6efd;
    transform:translateX(5px);
}

.related-link{
    text-decoration:none;
    color:#333;
    font-weight:500;
    display:block;
}

.related-post:hover .related-link{
    color:#fff;
}






/* SIDEBAR CATEGORIES */
.category-item{
    background:#f8f9fa;
    border:1px solid #eee;
    transition:.3s;
}

.category-link{
    text-decoration:none;
    color:#333;
    font-weight:500;
    display:block;
}

.category-item:hover{
    background:#0d6efd;
    transform:translateX(5px);
}

.category-item:hover .category-link{
    color:#fff;
}
