/* ==========================================================================
   NivaasMart brand type — the same look for the key facts everywhere
   (website + Android app): property / project TITLE, PRICE and LOCATION.
     Title    : Poppins 700, Deep Navy   #0F1B3D
     Price    : Poppins 800, Royal Blue  #1747C9  (the one colour buyers learn = price)
     Per-unit : Inter 600,   Slate       #64748B  (₹5.6K / sq.ft, "onwards")
     Location : Inter 500,   Slate       #5B6478
   Titles on photos (hero banners) keep white text — only the font changes.
   Loaded last on every page, so it wins over older page styles.
   ========================================================================== */
:root {
    --nm-title: #0F1B3D;
    --nm-price: #1747C9;
    --nm-price-sub: #64748B;
    --nm-loc: #5B6478;
    --nm-font-head: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --nm-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- TITLES (cards, lists, detail pages) ---------- */
.lc-title, .lc-title a, .mlc-title, .mlc-title a,
.lst-card h3, .lst-card h3 a, .prj-card h3, .prj-card h3 a, .prj-card-body h3,
.hv2-fp-body > b, .hv2-nl-card-body > b, .hv2-rp-card-body > b, .hv2-prop2-titlerow b, .hv2-tp-title,
.hv2-spot .hv2-fp-body > b,
.bysaved-name, .bysaved-name a, .dvp-proj-body h4, .dvn-proj-body h4, .dvn-proj-name,
.nmpd-title h1, .pd2-side-title, .bc-card h3, .bydash-pcard h4, .bydash-pcard-title,
.listing-card h3, .property-card h3, .dvr-card-body h3 a {
    font-family: var(--nm-font-head) !important;
    font-weight: 700 !important;
    color: var(--nm-title) !important;
    letter-spacing: -.2px;
}
/* Hero titles sit on photos → keep them white, same font */
.pd2-hero-text h1 { font-family: var(--nm-font-head) !important; font-weight: 700 !important; letter-spacing: -.3px; }

/* ---------- PRICES ---------- */
.lc-price, .lst-card-price, .prj-card-price, .lst-promo-price,
.hv2-fp-price, .hv2-nl-card-price, .hv2-rp-card-price, .hv2-prop2-price, .hv2-tp-price, .hv2-price,
.bysaved-price, .bydash-pcard-price, .bc-card-price, .dvn-proj-price, .dvp-proj-price, .tpc-price,
.nmpd-price, .nmpd-cmp-price, .pd2-side-price, .pd-variant-price, .brv-price, .bqe-price, .bqe-detail-price,
.sdash-list-price, .hv2-bym .bym-prop-price, .bym-prop-price,
.nmpd-price > b, .pd2-side-price-row > div:first-child > b {
    font-family: var(--nm-font-head) !important;
    font-weight: 800 !important;
    color: var(--nm-price) !important;
    letter-spacing: -.2px;
}
/* the small per-unit / "onwards" / asterisk part next to a price */
.nmpd-price > span, .pd2-side-price .lbl, .pd2-side-price .approx, .pd2-side-price .approx b, .pd2-side-price-row > div:first-child > b span,
.nmpd-price small, .lc-price small, .lst-card-price small, .prj-card-price small,
.hv2-fp-price small, .pd2-side-price small, .nmpd-price .per, .nmpd-price-sub {
    font-family: var(--nm-font-body) !important;
    font-weight: 600 !important;
    color: var(--nm-price-sub) !important;
}

/* ---------- LOCATION lines ---------- */
.listing-loc, .lst-card-loc, .prj-card-loc, .hv2-fp-loc, .hv2-nl-card-loc, .hv2-rp-card-loc, .hv2-prop2-loc, .hv2-tp-loc,
.bysaved-loc, .dvp-proj-loc, .dvn-proj-loc, .nmpd-title p, .nmpd-title .loc {
    font-family: var(--nm-font-body) !important;
    font-weight: 500 !important;
    color: var(--nm-loc) !important;
}
.pd2-hero-loc { font-family: var(--nm-font-body) !important; font-weight: 500 !important; }

/* Location pills that sit ON a photo (dark glass background) must stay white —
   the grey location colour above made them unreadable (e.g. Recommended Projects). */
.hv2-rp-card-loc, .hv2-rp-card-loc svg { color: #fff !important; }
.hv2-rp-card-loc { background: rgba(15,23,42,.72) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); text-shadow: 0 1px 2px rgba(0,0,0,.35); }

/* Cards: soft light border + shadow instead of the heavy black outline */
.hv2-devshow2-card, .hv2-prop2-card, .hv2-handpick-photo, .hv2-handpick-body { border: 1px solid #E6EBF3 !important; box-shadow: 0 6px 20px rgba(15,23,42,.06) !important; }
.hv2-handpick-photo { border-bottom: 0 !important; }
.hv2-devshow2-card:hover, .hv2-prop2-card:hover { box-shadow: 0 12px 28px rgba(15,23,42,.10) !important; }

/* Blog on the home page: compact (was taking a whole screen) */
.hv2-blog-compact { padding-top: 28px !important; padding-bottom: 28px !important; }
.hv2-blog-compact .hv2-blog-head { margin-bottom: 16px; }
.hv2-blog-compact .hv2-blog-head h2 ,.hv2-blog-compact .hv2-blog-head h1 { font-size: 24px; margin-bottom: 4px; }
.hv2-blog-compact .hv2-blog-head p { font-size: 13px; }
.hv2-blog-compact .hv2-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hv2-blog-compact .hv2-blog-card-media { aspect-ratio: 16 / 8; min-height: 0; max-height: 170px; }
.hv2-blog-compact .hv2-blog-card-body { padding: 12px 14px; }
.hv2-blog-compact .hv2-blog-card-body h4 { font-size: 15px; margin-bottom: 6px; }
.hv2-blog-compact .hv2-blog-card-body p { font-size: 12.5px; line-height: 1.5; margin-bottom: 10px; -webkit-line-clamp: 2; }
.hv2-blog-compact .hv2-blog-author-row { font-size: 12px; }
@media (max-width: 900px) {
  .hv2-blog-compact .hv2-blog-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; padding-bottom: 4px; }
  .hv2-blog-compact .hv2-blog-grid::-webkit-scrollbar { display: none; }
  .hv2-blog-compact .hv2-blog-card { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
  .hv2-blog-compact .hv2-blog-card-body p { display: none; }
  .hv2-blog-compact .hv2-blog-head h2 ,  .hv2-blog-compact .hv2-blog-head h1 { font-size: 21px; }
}
