*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: #fafafa;
    color: #222;
}


/* Header Css */
header {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
header #blog-logo{
    color: #542ca7;
    font-weight: 600;
    font-size: 30px;
    display: flex;
    gap: 5px;
    text-decoration: none;
}
/* Header Css End */


/* Cards Css */
.container {
    max-width: 1400px;
    width: 95%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 20px;
}
.card:hover {
    transform: translateY(-3px);
}
.card img {
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}
.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #542ca7;
    text-decoration: none;
}
/* Cards Css End */


/* Single Post Css */
.single-container {
    max-width: 780px;
    width: 95%;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eee;
}
.post-cover {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}
.single-container h1{
    margin-bottom: 20px;
}
.date {
    color: #777;
    margin-bottom: 20px;
}
/* Single Post Css End */


/* Pagination Css */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    font-family: 'Arial', sans-serif;
    gap: 6px;
    margin-bottom: 50px;
  }
  
  .page-link {
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #444;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  
  .page-link:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
  }
  
  .page-link.active {
    background-color: #542ca7;
    color: white;
  }
  
  .page-link.disabled {
    color: #aaa;
    background-color: #f9f9f9;
    border-color: #e5e5e5;
    pointer-events: none;
    box-shadow: none;
  }
  .page-link.prev,
  .page-link.next {
    background-color: #f0f3ff;
    min-width: 85px;
    text-align: center;
  }
  
  .page-link.prev:hover,
  .page-link.next:hover {
    color: #fff;
    background-color: #542ca7;
  }
  
  .ellipsis {
    padding: 8px 6px;
    color: #777;
    font-weight: bold;
  }
/* Pagination Css End */


/* Footer Css */
footer{
    background-color: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
  }
  footer p{
    color: #fff;
    font-size: 16px;
  }
  footer a{
    text-decoration: none;
    color: #8534ff;
  }
/* Footer Css End */
  

/* Responsive Css */
  @media (max-width: 991px) {
    .container {
        max-width: 95%;
        grid-template-columns: repeat(1, 1fr);
    }
    .single-container {
        max-width: 95%;
    }
  }
/* Responsive Css End */
