/* GLOBAL STYLING */
/* body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  margin: 0;
  padding: 0;
} */

/* .container {
  max-width: 1140px;
  margin: auto;
  padding: 2rem 1rem;
} */
/* 
/* HERO BANNER */
/* .hero-banner {
  background: radial-gradient(ellipse at top left, #003f84, #012f67 60%, #001c48);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
} */

/* .hero-banner h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
} */ */

/* GRID & COLUMNS */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.col-md-6 {
  flex: 0 0 calc(50% - 0.75rem);
}

.col-lg-4 {
  flex: 0 0 30%;
}

/* POST CARD */
.post-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.post-card img {
  width: 100%;
  height: 180px; /* Fixed height for uniformity */
  object-fit: cover; /* Ensures the image fills the box without distortion */
  border-radius: 6px;
  margin-bottom: 1rem;
}
@media (max-width: 576px) {
  .post-card img {
    height: 140px;
  }
}


.post-body h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

.post-meta span {
  font-size: 0.85rem;
  color: #64748b;
  margin-right: 10px;
}

.post-meta i {
  margin-right: 4px;
}

.post-body p {
  font-size: 0.9rem;
  color: #475569;
}

.post-body a {
  font-weight: 600;
  text-decoration: none;
  color: #0f62fe;
  margin-top: 0.5rem;
  display: inline-block;
}

/* SIDEBAR BOX */
.sidebar-box {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.sidebar-box h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  color: #003399;
}

.sidebar-box ul {
  list-style: none;
  padding-left: 1rem;
}

.sidebar-box li {
  margin-bottom: 0.5rem;
}

.sidebar-box a {
  color: #007bff;
  font-size: 0.95rem;
  text-decoration: none;
}

.sidebar-box a:hover {
  text-decoration: underline;
}

/* MINI BLOGS */
.mini-blog {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mini-blog img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.mini-blog-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  transition: color 0.2s;
}

/* Scrollable Containers */
#latestBlogs, #popularBlogs {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 6px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #0f62fe #f1f5f9;
}

#latestBlogs::-webkit-scrollbar, #popularBlogs::-webkit-scrollbar {
  width: 6px;
}

#latestBlogs::-webkit-scrollbar-thumb, #popularBlogs::-webkit-scrollbar-thumb {
  background: #0f62fe;
  border-radius: 4px;
}

#latestBlogs::-webkit-scrollbar-track, #popularBlogs::-webkit-scrollbar-track {
  background: #f1f5f9;
}

/* PAGINATION */
.pagination {
  display: flex;
  list-style: none;
  padding: 1rem 0;
  justify-content: center;
}

.pagination li {
  margin: 0 5px;
}

.pagination .page-link {
  padding: 0.4rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #0f172a;
}

.pagination .active .page-link {
  background-color: #0f62fe;
  color: white;
  border-color: #0f62fe;
}

.pagination .disabled .page-link {
  color: #ccc;
  pointer-events: none;
}
/* .blog-logo {
  max-width: 80px;
  height: auto;
  vertical-align: middle;
  margin-left: 10px;
} */
/* .post-card img[src$="logo.png"] {
  max-width: 40px;
  height: auto;
  object-fit: contain;
} */
