/* Shared styles for the property listing pages: hero, property cards, pagination and CTA box.
   Used by the Gurgaon area pages (Dwarka Expressway, SPR, Golf Course Road, Golf Course Extension Road,
   Sohna Road), the status pages (New Launch, Under Construction, Ready To Move), and the city / plots /
   commercial listing pages (Delhi, Mumbai, Hyderabad, Pune, Bangalore, Lucknow, Noida, Panipat,
   industrial plots). Page-only blocks (.rp-guide, .seo-content) are scoped so they only touch pages that use them. */

/* property cards: long names end with "…" only when they don't fit */
.property-card .card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.property-card .property-details p { margin-bottom: 8px; }

/* pagination: wraps neatly on small screens */
.pagination { flex-wrap: wrap; row-gap: 8px; }
.pagination .page-link {
    color: #000 !important;
    border: 1px solid #000;
    background-color: #fff;
    font-size: 12px;
}
.pagination .page-item { margin: 0 0.25rem; }
.pagination .page-item.active .page-link {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}
.pagination .page-link:hover {
    background-color: #000;
    color: #fff !important;
}

/* CTA BOX */
.cta-box {
  background: #ffffff;
  border: 2px solid #7d7d7d;
  border-radius: 14px;
  padding: 32px 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  gap: 24px;
}

/* long area names: heading wraps, button text stays on one line */
.cta-action { flex-shrink: 0; }
.cta-btn { white-space: nowrap; }

.cta-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0;   /* keeps the heading centred next to the button */
}

.cta-text p {
  font-size: 16px;
  color: #333;
  margin: 0;
}

.cta-btn {
  background: #000;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-text h2 { font-size: 24px; }
  .cta-box { padding: 24px 20px; }
  .property-card img { height: 220px; }
  .property-card .property-details p { font-size: 13px; }

  /* hero text panel: was 48px padding and large text, so it ran very tall on phones */
  .rp-hero-text h1 { font-size: 1.45rem; line-height: 1.25; margin-bottom: .75rem; }
  .rp-hero-text .lead { font-size: 1rem; line-height: 1.65; margin-bottom: 0; }
}

/* hero clears the fixed navbar (82px), which was covering the top of the photo */
.rp-hero { padding-top: 106px; }

/* buyer's guide (Delhi, Mumbai) */
.rp-guide h2, .rp-guide h3 { margin: 1.1rem 0 .5rem; font-size: 14px; font-weight: 700; }
.rp-guide p, .rp-guide li { font-size: 13px; line-height: 1.7; }
.rp-guide p { margin-bottom: .75rem; }
.rp-guide ol, .rp-guide ul { margin-bottom: .75rem; padding-left: 1.25rem; }
.rp-guide li { margin-bottom: .35rem; }
.rp-guide li > strong { display: block; margin-bottom: .2rem; }
.rp-guide li > p { margin-bottom: .25rem; }
.rp-guide li > ul { margin: .25rem 0 .6rem; }

/* SEO content block (Commercial Delhi) */
.seo-content h2 { font-size: 14px; font-weight: 700; margin-top: 1rem; }
.seo-content h3 { font-size: 13px; font-weight: 700; margin-top: 1rem; }
.seo-content h4 { font-size: 13px; font-weight: 600; margin: .75rem 0 .35rem; }
.seo-content p, .seo-content li { font-size: 13px; }
.seo-content ul { padding-left: 1.2rem; margin-bottom: .75rem; }
