/* Bhawani Estates v12 — cleaner composition, readable contrast and natural copy.
   Purposefully limited to public-site presentation. All admin and enquiry APIs,
   projects, full-screen media and brand colours remain unchanged. */

/* 1. Remove decorative rules without removing form-field boundaries or
      keyboard focus indicators. Retain important table/chart boundaries. */
body.atelier-v5 .bv5-band-line,
body.atelier-v5 .bv5-read-progress,
body.atelier-v5 .eye::before,
body.atelier-v5 .bv5-kicker::before {
  display: none !important;
}
body.atelier-v5 .bv5-editorial-band {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(18px, 3vw, 42px);
}
body.atelier-v5 .bv5-editorial-band p {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: .4em;
  row-gap: .12em;
}
body.atelier-v5 .bv5-editorial-band p strong,
body.atelier-v5 .bv5-editorial-band p .cms-phrase { flex: 0 1 auto; }

/* Replace ornamental underlines with readable links and restrained hover states. */
body.atelier-v5 :is(
  .heritage-numbers a,
  .bv5-editorial-band a,
  .bv5-inline-link,
  .bv5-manifesto > a,
  .bv5-related header > a,
  .bv5-nextchapter-text > a,
  .textlink,
  .back
) {
  border-bottom: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.atelier-v5 :is(.headin nav a,.textlink)::after { display: none !important; }
body.atelier-v5 :is(.heritage-numbers a,.bv5-inline-link,.bv5-manifesto>a,.textlink):hover {
  color: #a16b37;
}
body.atelier-v5 .bv5-editorial-band a:hover {color: #fff5df;}
body.atelier-v5 .bv5-collection-copy {
  border-top: 0 !important;
  padding-top: clamp(16px, 1.7vw, 23px);
  margin-top: 0;
}
body.atelier-v5 .heritage-numbers dl > div {
  border-top: 0 !important;
  padding-top: 0;
}
body.atelier-v5 .bv5-project-nav,
body.atelier-v5 .chapterbar { border-bottom: 0 !important; }
body.atelier-v5 .projectbody .fact-panel { border-top: 0 !important; }
body.atelier-v5 .fact-actions { border-top: 0 !important; padding-top: 0; }
body.atelier-v5 .projectbody aside li { border-top: 0 !important; padding-block: 9px; }
body.atelier-v5 footer,
body.atelier-v5 footer small { border-top: 0 !important; }

/* Tabbed property-category selectors remain clearly separated by space and
   subtle surface tint, not a grid of ornamental dividing lines. */
body.atelier-v5 .bv5-portfolio-categories {
  gap: clamp(10px, 1.3vw, 17px);
  border-top: 0 !important;
}
body.atelier-v5 .bv5-portfolio-categories a,
body.atelier-v5 .bv5-portfolio-categories a:nth-child(odd) {
  border: 0 !important;
  padding: clamp(18px, 1.9vw, 28px);
  background: rgba(255, 255, 255, .27);
  border-radius: 4px;
  transition: background-color .22s ease, transform .22s ease;
}
body.atelier-v5 .bv5-portfolio-categories a:hover {
  background: rgba(255, 255, 255, .52);
  transform: translateY(-2px);
}
body.atelier-v5 .faq-list {border-top: 0 !important; display: grid; gap: 10px;}
body.atelier-v5 .faq-item {
  border: 0 !important;
  background: rgba(255, 255, 255, .44);
  border-radius: 4px;
}
body.atelier-v5 .faq-item[open] {background: rgba(255, 255, 255, .75);}

/* 2. Contrast: the previous muted beige/grey disclaimer was nearly invisible
      on a burgundy project facts panel. Restore clear, high-contrast copy. */
body.atelier-v5 .fact-panel .facts-disclaimer {
  color: #f4e8e3 !important;
  opacity: 1 !important;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  border-top: 0 !important;
  padding-top: 0;
  max-width: 83ch;
  margin-top: clamp(19px, 2vw, 27px);
  margin-bottom: 0;
}
body.atelier-v5 .fact-panel :is(dd,dt,a) {opacity: 1;}
body.atelier-v5 .fact-panel dd {
  font-family: var(--sans) !important;
  font-weight: 600;
  line-height: 1.37;
  letter-spacing: -.012em;
  color: #fff7ee;
}
body.atelier-v5 .fact-panel dt {color: #efd5b5;}
body.atelier-v5 .fact-panel .fact-actions a {color: #fff0dc !important;}
body.atelier-v5 .fact-panel .fact-actions a:hover {color: #ffdf9d !important;}
body.atelier-v5 :is(.split.dark,.invite,.filmtease,.bv5-nextchapter) p:not(.eye) {
  color: #f1e8df;
}

/* 3. Readable prose: stop packing the legacy statement at ~62-72px with
      negative 0.045em tracking, which visually merged adjacent words. */
body.atelier-v5 main p:not(.eye):not(.count) {
  word-spacing: normal;
  text-wrap: pretty;
}
body.atelier-v5 .bv5-manifesto {
  padding-block: clamp(66px, 8vw, 112px);
}
body.atelier-v5 .bv5-manifesto p {
  font-family: var(--sans) !important;
  font-size: clamp(29px, 3.05vw, 49px) !important;
  font-weight: 500 !important;
  line-height: 1.43 !important;
  letter-spacing: -.016em !important;
  word-spacing: .035em;
  text-wrap: pretty;
  max-width: min(1100px, 100%);
  margin: clamp(22px, 2.7vw, 37px) 0 clamp(22px, 2.8vw, 39px);
  overflow-wrap: normal;
}
body.atelier-v5 .bv5-manifesto p em {
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: inherit !important;
  font-weight: inherit !important;
  color: #987040;
}

/* Keep long multi-word headings from looking fused together while preserving
   the established Manrope typeface and burgundy/gold emphasis. */
body.atelier-v5 :is(.bv5-finder-intro,.bv5-portfolio-intro,.bv5-curated-head,.bv5-related) h2 {
  letter-spacing: -.018em !important;
  word-spacing: .025em;
}
body.atelier-v5 :is(.bv5-nextchapter,.bv5-manifesto,.bv5-curated,.bv5-finder-block) p {
  overflow-wrap: break-word;
}

@media(max-width:760px) {
  body.atelier-v5 .bv5-editorial-band {grid-template-columns: minmax(0,1fr) auto;}
  body.atelier-v5 .bv5-editorial-band p {align-items: flex-start;}
  body.atelier-v5 .bv5-manifesto p {
    font-size: clamp(27px, 5.5vw, 39px) !important;
    line-height: 1.47 !important;
    letter-spacing: -.01em !important;
    word-spacing: .025em;
  }
  body.atelier-v5 .fact-panel .facts-disclaimer {font-size: 13px;}
}
@media(max-width:480px) {
  body.atelier-v5 .bv5-editorial-band {display:block;}
  body.atelier-v5 .bv5-editorial-band p {display:block;}
  body.atelier-v5 .bv5-editorial-band p .cms-phrase {margin-left:.34em;}
  body.atelier-v5 .bv5-portfolio-categories {grid-template-columns:1fr;gap:10px;}
  body.atelier-v5 .bv5-manifesto p {
    font-size:clamp(26px,7.3vw,33px) !important;
    line-height:1.5 !important;
  }
}
