body { font-family: Arial, sans-serif; background: #f9f9f9; margin: 0; padding: 0; }
img, div, button {
  -webkit-tap-highlight-color: transparent;
}
    header { background-color: #ffffff; border-bottom: 1px solid #ddd; padding: 15px 20px; box-shadow: 0 6px 32px #0575e610;}
    .header-container { max-width: 1200px; margin: -18px auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; position: relative; }
    .logo a { text-decoration: none; font-size: 1rem; font-weight: bold; color: #333; }
    .container { display: flex; flex-direction: row; max-width: 1300px; margin: 30px auto; padding: 0 20px; gap: 30px; }
    .main-content { flex: 3; }

    .blog-section{display:flex;flex-direction:column;gap:20px;}
    .blog-post{display:flex;align-items:flex-start;background:#fff;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,0.08);padding:15px;transition:0.3s;}
    .blog-post:hover{box-shadow:0 6px 14px rgba(0,0,0,0.15);}
    .blog-post img{width:220px;height:140px;object-fit:cover;border-radius:6px;margin-right:15px;flex-shrink:0;}
    .blog-post-content{flex:1;}
    .blog-post-content h2{font-size:20px;margin:0 0 8px 0;line-height:1.4;}
    .blog-post-content h2 a{color:#111;text-decoration:none;}
    .blog-post-content h2 a:hover{color:#0073e6;}
    .blog-post-content p{font-size:15px;color:#555;margin-bottom:10px;}
    .blog-post-content a{font-weight:bold;color:#0073e6;text-decoration:none;}
    .blog-post-content a:hover{text-decoration:underline;}
    aside { flex: 1; background: #fff; padding: 20px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; height: fit-content; }
    .widget { margin-bottom: 25px; }
    .widget h3 { font-size: 1.1rem; margin-bottom: 10px; color: #111; }
    .widget ul { list-style: none; padding: 0; }
    .widget ul li { margin-bottom: 8px; }
    .widget ul li a { color: #0073e6; text-decoration: none; font-size: 0.95rem; }
    .ads-row{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:20px 0;}
    .ads-row > div{flex:0 0 auto;}

    
    @media (max-width:992px){.container{flex-direction:column;}aside{width:100%;}}
    
    @media (max-width:768px){
    .blog-post{display:flex;flex-direction:row;  align-items:flex-start;}
    .blog-post img{width:120px;height:80px;object-fit:cover;margin-right:10px;}
    .blog-post-content h2{font-size:16px;line-height:1.3;}
    .blog-post-content p{font-size:13px;}
    .blog-post-content a{font-weight:bold;color:#0073e6;font-size:12px;text-decoration:none;} 
    .ads-row{flex-direction:column;align-items:center;}}
    
     footer {background: #0f172a;border-top: 1px solid #1e293b;text-align: center;padding: 40px 10px;margin-top: 40px;font-size: 0.9rem;color: #cbd5e1;}
    .footer-container {max-width: 1200px;margin: auto;padding: 28px 16px;}
    .footer-links {margin-bottom: 12px;}
    .footer-links a {color: #e2e8f0;text-decoration: none;margin: 6px 10px;font-size: 13px;display: inline-block;transition: 0.2s ease;}
    .footer-links a:hover {color: #38bdf8;}
    #recent-posts-list li { background-color: #f4f4f4; border: 1px solid #ddd; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; transition: background-color 0.3s ease; }
    #recent-posts-list li:hover { background-color: #eaeaea; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
    #recent-posts-list li a { text-decoration: none; color: #333; font-weight: bold; font-size: 0.95rem; display: block; }
   
    .pagination {width: 100%;display: flex;justify-content: center;align-items: center;gap: 10px;margin: 50px 0 25px 0;}
    .pagination button {padding: 10px 16px;border: 1px solid #dcdcdc;background: #ffffff;cursor: pointer;border-radius: 8px;font-size: 14px;font-weight: 600;transition: all 0.25s ease;}
    .pagination button:hover {background: #0073e6;color: #ffffff;border-color: #0073e6;transform: translateY(-2px);box-shadow: 0 4px 10px rgba(0, 115, 230, 0.25);}
    .pagination button.active {background: linear-gradient(135deg, #0073e6, #00aaff);color: #ffffff;border: none;box-shadow: 0 4px 14px rgba(0, 115, 230, 0.35);transform: translateY(-1px);}
    
    