/* ==========================================================================
   Hero Homes Mohali — /blog (listing + detail) page-only design system
   Scoped with the "bl-" prefix so nothing here touches the shared
   home / amenities / gallery / highlights / location / contact / emi styles.
   ========================================================================== */

.bl-section {
  padding: 84px 0;
}

.bl-container {
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
}

.bl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ED1C24;
}

.bl-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #ED1C24;
  display: inline-block;
}

/* ---------- LISTING HERO ---------- */
.bl-hero {
  background: #ffffff;
  padding: 56px 0 64px;
}

.bl-hero-inner {
  max-width: 780px;
}

.bl-hero h1 {
  margin: 0 0 16px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.bl-hero-lede {
  margin: 0;
  color: #4a4a4a;
  font-size: 16.5px;
  line-height: 1.75;
}

/* ---------- BLOG GRID ---------- */
.bl-grid-section {
  background: #f4f4f6;
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.bl-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e9e9ec;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 16, 24, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(16, 16, 24, 0.12);
}

.bl-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.bl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bl-card:hover .bl-card-media img {
  transform: scale(1.06);
}

.bl-card-category {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 14px;
  background: #ED1C24;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 999px;
}

.bl-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bl-card-date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #6e6e6e;
  font-size: 12.5px;
  font-weight: 600;
}

.bl-card-date i {
  color: #ED1C24;
  font-size: 11px;
}

.bl-card-body h2 {
  margin: 0 0 10px;
  color: #101018;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.bl-card-body p {
  margin: 0 0 18px;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.bl-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ED1C24;
  font-size: 13.5px;
  font-weight: 700;
}

.bl-card:hover .bl-card-readmore {
  gap: 12px;
}

.bl-card-readmore i {
  transition: transform 0.2s ease;
}

/* ---------- EMPTY STATE ---------- */
.bl-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6e6e6e;
  font-size: 15px;
}

/* ---------- DETAIL: featured banner ---------- */
.bl-post-hero {
  background: #ffffff;
  padding: 40px 0 0;
}

.bl-post-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(16, 16, 24, 0.16);
}

.bl-post-media img {
  width: 100%;
  height: min(48vh, 440px);
  object-fit: cover;
  display: block;
}

.bl-post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 28px 0 14px;
}

.bl-post-badge {
  padding: 7px 16px;
  background: rgba(237, 28, 36, 0.08);
  color: #ED1C24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 999px;
}

.bl-post-date,
.bl-post-readtime {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6e6e6e;
  font-size: 13.5px;
  font-weight: 600;
}

.bl-post-date i,
.bl-post-readtime i {
  color: #ED1C24;
}

/* ---------- DETAIL: article body ---------- */
.bl-post-title {
  max-width: 900px;
}

.bl-post-title h1 {
  margin: 0 0 8px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
}

.bl-post-body {
  max-width: 820px;
}

.bl-post-body h2 {
  margin: 40px 0 16px;
  color: #101018;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.3;
}

.bl-post-body h3 {
  margin: 30px 0 12px;
  color: #101018;
  font-size: 19px;
  line-height: 1.35;
}

.bl-post-body p {
  margin: 0 0 18px;
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.8;
}

.bl-post-body ul,
.bl-post-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.8;
}

.bl-post-body li {
  margin-bottom: 8px;
}

.bl-post-body a {
  color: #ED1C24;
  font-weight: 600;
  text-decoration: underline;
}

.bl-post-body a:hover {
  color: #101018;
}

.bl-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 10px 0 20px;
}

.bl-post-body strong {
  color: #101018;
}

.bl-post-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid #ED1C24;
  background: #f4f4f6;
  border-radius: 10px;
  color: #3a3a3a;
  font-size: 16px;
  font-style: italic;
}

.bl-post-trust {
  max-width: 820px;
  margin-top: 34px;
  padding: 18px 22px;
  background: #f4f4f6;
  border: 1px solid #e9e9ec;
  border-left: 4px solid #ED1C24;
  border-radius: 10px;
  color: #4a4a4a;
  font-size: 13.5px;
  line-height: 1.6;
}

.bl-post-trust strong {
  color: #101018;
}

.bl-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #101018;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.bl-post-back:hover {
  color: #ED1C24;
}

/* ---------- Related posts ---------- */
.bl-related {
  background: #f4f4f6;
}

.bl-related-head {
  margin: 0 0 32px;
}

.bl-related-head h2 {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(22px, 2.8vw, 28px);
}

/* ---------- Not found ---------- */
.bl-notfound {
  text-align: center;
  padding: 90px 20px;
}

.bl-notfound h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  color: #101018;
}

.bl-notfound p {
  margin: 0 0 26px;
  color: #4a4a4a;
  font-size: 15.5px;
}

/* ---------- CTA banner (shared look) ---------- */
.bl-cta {
  position: relative;
  background: #101018;
  overflow: hidden;
}

.bl-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(237, 28, 36, 0.24), transparent 60%),
    radial-gradient(600px 300px at 88% 90%, rgba(237, 28, 36, 0.16), transparent 60%);
}

.bl-cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.bl-cta-text h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.bl-cta-text p {
  margin: 0;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
}

.bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.bl-btn:hover {
  transform: translateY(-2px);
}

.bl-btn--primary {
  background: #ED1C24;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(237, 28, 36, 0.30);
}

.bl-btn--primary:hover {
  background: #C81219;
}

.bl-btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.bl-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.bl-btn--outline-dark {
  background: transparent;
  border-color: #101018;
  color: #101018;
}

.bl-btn--outline-dark:hover {
  background: #101018;
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bl-section {
    padding: 56px 0;
  }

  .bl-hero {
    padding: 40px 0 40px;
  }

  .bl-grid {
    grid-template-columns: 1fr;
  }

  .bl-post-media img {
    height: 260px;
  }

  .bl-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
