body { font-family: Arial, sans-serif; background: #f9f9f9; margin: 0; padding: 0; }
    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: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .blog-post { background: white; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .blog-post:hover { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
    .blog-post img { width: 100%; height: auto; }
    .blog-post-content { padding: 1rem; }
    .blog-post-content h2 { font-size: 1.2rem; margin: 0 0 0.5rem; color: #000; }
    .blog-post-content p { font-size: 0.95rem; margin-bottom: 1rem; }
    .blog-post-content a { color: #000; font-weight: bold; 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; }
    @media (max-width: 992px) { .container { flex-direction: column; } .blog-section { grid-template-columns: repeat(2, 1fr); } aside { margin-top: 20px; width: 100%; } }
    @media (max-width: 600px) { .blog-section { grid-template-columns: 1fr; } }
    /*footer { background-color: #ffffff; border-top: 1px solid #ddd; text-align: center; padding: 20px 10px; margin-top: 40px; font-size: 0.9rem; color: #555; }*/
    /*.footer-links { margin-bottom: 10px; }*/
    /*.footer-links a { margin: 0 10px; color: #0073e6; text-decoration: none; }*/
    /*.footer-links a:hover { text-decoration: underline; }*/
    
     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 Design Fix ===== */

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 50px 0 25px 0;
}

/* normal button */
.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;
}

/* hover effect */
.pagination button:hover {
  background: #0073e6;
  color: #ffffff;
  border-color: #0073e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 115, 230, 0.25);
}

/* active page button */
.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);
}

