section.recent-blogs.mb-3 {
  background: #efefef54;
  padding: 15px 20px 10px 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo_class {
  display: none;
}

form label.error {
  color: red;
  font-size: 12px;
}

.blog-banner {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

ul#recentBlogs li {
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 15px;
  margin-bottom: 15px !important;
  list-style-type: disclosure-closed;
}

ul#recentBlogs li::marker {
  color: #d6d5d5;
}

ul#recentBlogs li a {
  color: #000000bd;
}

section.recent-blogs h3 {
  position: relative;
  font-size: 18px;
  text-align: center;
  padding: 5px !important;
  margin-bottom: 15px;
  border: 1px dashed #00000014;
  width: 50%;
  color: #000000cc;
}

/* ================= BLOG UI ENHANCEMENT ================= */

.blog-banner {
  position: relative;
  height: auto;
  overflow: hidden;
}

.blog-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.65)
  );
}

.blog-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

/* Content Container */
.blog-content {
  background: #ffffff;
  border-radius: 14px;
  padding: 45px 45px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* Typography System */
.blog-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.blog-content h2 {
  font-size: 1.55rem;
  margin-top: 45px;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid #c79a4a;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

.blog-content p,
.blog-content li {
  font-size: 16px;
}

/* Lists */
.blog-content ul {
  background: #fafafa;
  padding: 22px 28px !important;
  border-radius: 10px;
}

.blog-content ul li strong {
  color: #333;
}

/* Section Spacing */
.blog-content section + section,
.blog-content h2 + p {
  margin-top: 25px;
}

/* FAQ Styling */
.blog-content h3[style*="Q"] {
  background: #f9f9f9;
  padding: 18px 22px;
  border-radius: 10px;
  border-left: 4px solid #333;
}

/* Related Articles */
.blog-content a {
  color: #b3873f;
  font-weight: 500;
  text-decoration: none;
}

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

/* Sidebar */
.recent-blogs {
  position: sticky;
  top: 100px;
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.recent-blogs h3 {
  font-size: 1.15rem;
  border-bottom: 1px solid #eee;
}

.recent-blogs ul li {
  margin-bottom: 14px;
}

/* ================= BLOG TABLE ENHANCEMENT ================= */

.blog-content .table-responsive {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Table Base */
.blog-content table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

/* Header */
.blog-content table thead th {
  background: linear-gradient(180deg, #2c2c2c, #1f1f1f);
  color: #ffffff;
  font-weight: 600;
  padding: 16px 18px;
  border: none;
  vertical-align: middle;
}

/* Body Cells */
.blog-content table tbody td {
  padding: 16px 18px;
  border-top: 1px solid #eeeeee;
  color: #555;
  vertical-align: middle;
}

/* First Column Emphasis */
.blog-content table tbody td:first-child {
  font-weight: 600;
  color: #333;
  background: #fafafa;
}

/* Zebra Effect (Subtle) */
.blog-content table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

/* Hover Cue */
.blog-content table tbody tr:hover td {
  background: #f6f6f6;
  transition: background 0.2s ease-in-out;
}

/* Borders Cleanup */
.blog-content .table-bordered > :not(caption) > * {
  border-width: 0;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .blog-content table thead th,
  .blog-content table tbody td {
    padding: 14px 14px;
    font-size: 14px;
  }

  .blog-content {
    padding: 25px;
    border-radius: 10px;
  }

  .blog-content h1 {
    font-size: 1.75rem;
  }

  .blog-banner {
    height: 42vh;
  }

  .blog-banner,
  section.recent-blogs.mb-3 {
    height: auto;
  }
}
