/* =====================================================================
   Builder project page hero (/Builder/Details/{id}) — calm, light version.
   Soft off-white surface, dark text, one accent (the gold "Enquire now"), facts as a quiet strip,
   the photo framed on the right with a small GujRERA badge. Loaded after builder-project-details.css.
   ===================================================================== */
.bpd-rich .bpd-spotlight--cinema {
  --hero-h: clamp(360px, 44vh, 480px);
  --bph-ink: #1c1917;
  --bph-muted: #6b6560;
  --bph-faint: #8a847c;
  --bph-line: #e4e1dc;
  border: 1px solid var(--bph-line);
  border-radius: 20px;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(245, 184, 61, 0.08), transparent 70%),
    linear-gradient(135deg, #ffffff 0%, #f7f6f3 60%, #f1f3f7 100%);
  color: var(--bph-ink);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 12px 32px rgba(28, 25, 23, 0.06);
}

/* No moving glow, no blurred photo wash behind the text, no floating photo */
.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__aurora,
.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__ambient {
  display: none;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo {
  background: transparent;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo::after {
  content: none;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__image,
.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__nav {
  animation: none;
}

.bpd-rich .bpd-spotlight--cinema .bpd-spotlight__image {
  border: 1px solid var(--bph-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.12);
}

/* ---------- Left column ---------- */
.bph {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  color: var(--bph-ink);
}

.bph-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.bph-eyebrow {
  margin: 0 0.35rem 0 0;
  color: var(--bph-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bph-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.6rem;
  border: 1px solid var(--bph-line);
  border-radius: 999px;
  background: #fff;
  color: var(--bph-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.bph-status__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #d97706;
}

.bph-status.is-live .bph-status__dot {
  background: #16a34a;
}

.bph-status.is-off .bph-status__dot {
  background: #dc2626;
}

.bph-title {
  margin: 0.15rem 0 0;
  color: var(--bph-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

/* Facts: one white strip with hairline dividers */
.bph-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  margin: 0.9rem 0 0.2rem;
  overflow: hidden;
  border: 1px solid var(--bph-line);
  border-radius: 12px;
  background: #fff;
}

.bph-facts__item {
  min-width: 0;
  padding: 0.7rem 0.95rem;
  border-left: 1px solid var(--bph-line);
}

.bph-facts__item:first-child {
  border-left: 0;
}

.bph-facts dt {
  overflow: hidden;
  color: var(--bph-faint);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bph-facts dd {
  margin: 0.2rem 0 0;
  color: var(--bph-ink);
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bph-facts dd small {
  color: var(--bph-faint);
  font-size: 0.75rem;
  font-weight: 500;
}

.bph-facts dd .bi {
  margin-right: 0.25rem;
  color: #f59e0b;
  font-size: 0.85rem;
}

.bph-facts__item--price dd {
  color: #9a6408;
}

/* Actions */
.bph-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.bpd-rich .bph-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 1px solid var(--bph-line);
  border-radius: 10px;
  background: #fff;
  color: var(--bph-ink) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bpd-rich .bph-btn:hover {
  border-color: #cfcac2;
  background: #fafaf8;
}

.bpd-rich .bph-btn .bi {
  color: #7c3aed;
}

.bpd-rich .bph-btn--primary {
  border-color: #f5b83d;
  background: #f5b83d;
  color: #1c1917 !important;
}

.bpd-rich .bph-btn--primary .bi {
  color: #1c1917;
}

.bpd-rich .bph-btn--primary:hover {
  border-color: #eaa92a;
  background: #eaa92a;
}

.bph-btn__count {
  min-width: 1.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #efeeea;
  color: var(--bph-muted);
  font-size: 0.72rem;
  text-align: center;
}

.bph-saved {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.25rem;
  color: var(--bph-muted);
  font-size: 0.85rem;
}

.bph-saved .bi {
  color: #e11d48;
}

@media (max-width: 991.98px) {
  .bph-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bph-facts__item:nth-child(odd) {
    border-left: 0;
  }

  .bph-facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--bph-line);
  }

}

/* ---------- Builder + place on one line ---------- */
.bph-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  color: var(--bph-muted);
  font-size: 0.95rem;
}

.bph-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bph-meta strong {
  color: var(--bph-ink);
  font-weight: 600;
}

.bph-meta__by .bi { color: #4f46e5; }
.bph-meta__place .bi { color: #dc2626; }

/* ---------- Highlight chips (real data only, soft tints) ---------- */
.bph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.bph-chip,
.bph-chip > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
}

.bph-chip > a {
  padding: 0;
  min-height: 0;
  color: inherit !important;
}

.bph-chip--ok { background: #ecfdf3; color: #166534; }
.bph-chip--config { background: #eef2ff; color: #3730a3; }
.bph-chip--size { background: #eff6ff; color: #1d4ed8; }
.bph-chip--loan { background: #f0fdfa; color: #115e59; }
.bph-chip--amenity { background: #f5f3ff; color: #6d28d9; }

/* ---------- Facts: soft values ---------- */
.bph-facts dd.is-soft {
  color: var(--bph-muted);
  font-size: 1rem;
  font-weight: 600;
}

.bph-facts dd.is-soft a {
  margin-left: 0.35rem;
  color: #9a6408 !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.bph-facts__item--price dd.is-soft {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  color: var(--bph-muted);
  white-space: normal;
  line-height: 1.25;
}

.bph-facts__item--price dd.is-soft a {
  margin-left: 0;
}

/* ---------- Bottom row: actions + GujRERA ---------- */
.bph-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.6rem;
}

.bph-bottom .bph-actions {
  margin-top: 0;
}

.bpd-rich .bph-rera {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  border: 1px solid #cfe0d6;
  border-radius: 10px;
  background: #f6faf7;
  color: var(--bph-ink) !important;
  text-decoration: none !important;
}

.bpd-rich .bph-rera:hover {
  border-color: #3f6b56;
}

.bph-rera img {
  flex: 0 0 auto;
  border-radius: 6px;
  background: #fff;
}

.bph-rera span {
  display: grid;
  min-width: 0;
}

.bph-rera small {
  color: #3f6b56;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bph-rera strong {
  overflow: hidden;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- "View all photos" pill on the photo ---------- */
.bpd-rich .bph-photos {
  position: absolute;
  right: 2.1rem;
  bottom: 2.1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--bph-ink) !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(15, 22, 38, 0.18);
}

.bpd-rich .bph-photos .bi {
  color: #7c3aed;
}

.bph-photos__count {
  min-width: 1.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #efeeea;
  font-size: 0.72rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .bpd-rich .bph-photos {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .bph-bottom {
    align-items: stretch;
  }

  .bpd-rich .bph-rera {
    width: 100%;
  }
}

/* ---------- Phone / tablet: photo on top, light content below ---------- */
@media (max-width: 991.98px) {
  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__photo::after {
    content: none;
  }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__main {
    margin-top: 0;
    padding: 1.15rem 1.15rem 1.25rem;
    background: transparent;
  }

  .bpd-rich .bpd-spotlight--cinema .bpd-spotlight__image {
    border-radius: 20px 20px 0 0;
  }
}
