/* Magicbricks-inspired blog aesthetics (built on existing Bootstrap theme) */
.blog-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 12%, #ffffff 100%);
}

.blog-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 39, 91, 0.02) 0%, rgba(9, 39, 91, 0.08) 100%), #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(8, 26, 53, 0.12);
  border: 1px solid rgba(19, 99, 198, 0.08);
}
.blog-hero .hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px){
  .blog-hero .hero-img { height: 240px; }
}
.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(19,99,198,.12);
  background: #f4f8ff;
  color: #1363c6;
  text-decoration: none;
  font-weight: 600;
}
.blog-chip:hover {
  background: #ffffff;
  color: #0b1a2b;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(8, 26, 53, 0.08);
  border: 1px solid rgba(19, 99, 198, 0.08);
  height: 100%;
  transition: transform .12s ease, box-shadow .12s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(8, 26, 53, 0.12);
}
.blog-card .thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card .body {
  padding: 18px 18px 16px;
}
.blog-meta {
  font-size: 12px;
  color: rgba(0,0,0,.55);
}
.blog-title {
  font-size: 18px;
  line-height: 1.35;
  margin: 10px 0 10px;
  color: #0b1a2b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-excerpt{
  color: rgba(0,0,0,.70);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.blog-section-title{
  font-weight: 700;
  color: #0b1a2b;
}
.blog-toolbar{
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(8, 26, 53, 0.08);
  border: 1px solid rgba(19, 99, 198, 0.08);
}
.blog-toolbar input{
  background: #f4f6f8 !important;
  border-radius: 12px !important;
}

.blog-sidebar-cta {
  background: linear-gradient(180deg, #2f6cd1 0%, #1f57b3 100%);
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(19, 99, 198, 0.18);
}

.blog-sidebar-cta h3 {
  color: #ffffff;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.blog-sidebar-cta p {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.7;
}

.blog-sidebar-cta .btn {
  font-weight: 700;
  min-width: 148px;
}

.blog-pagination .page-link {
  border: 0;
  color: #1363c6;
  border-radius: 10px;
  margin: 0 4px;
  box-shadow: 0 4px 12px rgba(8, 26, 53, 0.08);
}

.blog-pagination .page-item.active .page-link {
  background: #1363c6;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .blog-hero .hero-img {
    height: 300px;
  }

  .blog-sidebar-cta h3 {
    font-size: 26px;
  }
}
