/* =========================
   BLOG HERO
   ========================= */
   
   body, ul, li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}
   
   a {
     justify-content: center;
     text-decoration: none;
     color: #06215E;
     font-weight: bold;
   }
   
.blog-hero {
  background: linear-gradient(135deg, #06215E, #0b3aa4);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.blog-hero h2 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.blog-hero p {
  max-width: 650px;
  margin: auto;
  color: #e5e7eb;
  font-size: 1.05rem;
}

/* =========================
   BLOG LAYOUT
   ========================= */
.blog-container {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 2rem;
}

/* =========================
   BLOG CARDS
   ========================= */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

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

/* =========================
   BLOG CONTENT
   ========================= */
.blog-content {
  padding: 1.1rem;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.blog-content h3 {
  font-size: 1.05rem;
  margin: 6px 0;
  color: #06215E;
}

.blog-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.blog-content a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.blog-content a:hover {
  text-decoration: underline;
}

/* =========================
   SIDEBAR
   ========================= */
.blog-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-box {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.sidebar-box h4 {
  color: #06215E;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box ul li {
  margin-bottom: 8px;
}

.sidebar-box ul a {
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
}

.sidebar-box ul a:hover {
  color: #2563eb;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}