/* cbhr-detail.css — small additions on top of the live detail page stylesheet.
   Everything here is either (a) needed by the data-driven renderer instead of
   Webflow's CMS runtime, or (b) a brand-token-only tweak for the listing-office
   card. No new design language: colours come from variables.css. */

/* location map: Leaflet replaces the live inline embed */
#listing-map {
  min-height: 27rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--pin-stripe, #f3f6fc);
}

.listing-map-pin {
  background: transparent;
  border: 0;
}

/* listing-office card (live shows the listing agent photo here; DDF records
   only carry the office, so the card shows the brokerage identity) */
.contact-grid-right ._100-height {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-grid-right-image {
  width: 100%;
  height: 18rem;
  object-fit: contain;
  background: var(--cb-blue, #012169);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.contact-grid-right-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* "More Information" accordion: closed by default like the live page; the
   renderer toggles the inline height, so no transition is required here */
.rl_faq1_answer {
  overflow: hidden;
}

.rl_faq1_icon-wrapper.is-open .rl_faq1_icon {
  transform: rotate(180deg);
}

.rl_faq1_icon {
  transition: transform 0.2s ease;
}

/* keep long remarks readable on mobile without the live's CMS empty states */
@media (max-width: 767px) {
  .contact-grid-right-image {
    height: 10rem;
    padding: 1.5rem;
  }

  #listing-map {
    min-height: 16rem;
  }
}
