/*
 * Post-inquiry sidebar (BPCOM-1738) on the redesigned detail page and the v2
 * inquiry page. The reviewed refinements on the design system: one orange
 * label and one body line, a compact type scale for the ~330px card, one muted
 * meta line with the price bold beneath it, same-tab title links, contact
 * values as one-line chips, more space between blocks and less inside a card.
 * Buttons and the message field are .bp-btn and .bp-textarea.
 */
.inquiry-followup {
  color: var(--bp-color-black, #161616);
  font-family: var(--bp-font-body, Manrope, sans-serif);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.inquiry-followup [hidden] { display: none !important; }
.inquiry-followup p { margin: 0; }

.inquiry-followup .inquiry-followup-eyebrow {
  margin: 0 0 6px;
  color: var(--bp-color-orange, #ff622c);
  font-size: var(--bp-text-2xs, 12px);
  font-weight: var(--bp-weight-bold, 700);
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.inquiry-followup .inquiry-followup-title {
  margin: 0 0 2px;
  color: inherit;
  font-family: var(--bp-font-body, Manrope, sans-serif);
  font-size: var(--bp-text-xs, 14px);
  font-weight: var(--bp-weight-bold, 700);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.inquiry-followup .inquiry-followup-copy {
  margin: 0 0 12px;
  color: var(--bp-color-dark-2, #6b7588);
  font-size: 13px;
  line-height: 1.5;
}
.inquiry-followup-title a,
.inquiry-followup-card-address a {
  color: inherit;
  text-decoration: none;
}
.inquiry-followup-title a:hover,
.inquiry-followup-title a:focus,
.inquiry-followup-card-address a:hover,
.inquiry-followup-card-address a:focus {
  color: var(--bp-color-orange, #ff622c);
  text-decoration: underline;
}

.inquiry-followup-divider {
  margin: 24px 0 20px;
  border: 0;
  border-top: 1px solid var(--bp-color-medium, #e2ddd6);
}
.inquiry-followup .inquiry-followup-listings-heading {
  margin: 0 0 12px;
  color: inherit;
  font-family: var(--bp-font-body, Manrope, sans-serif);
  font-size: var(--bp-text-xs, 14px);
  font-weight: var(--bp-weight-bold, 700);
  line-height: 1.35;
}

.inquiry-followup-card {
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--bp-color-medium, #e2ddd6);
  border-radius: var(--bp-radius-sm, 4px);
  background: var(--bp-color-white, #fff);
}
.inquiry-followup-card.is-contacted { display: none; }
.inquiry-followup-card-body {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.inquiry-followup-thumb,
.inquiry-followup-thumb-empty {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--bp-radius-xs, 3px);
  background: var(--bp-color-lighter-1, #f3eeec);
}
.inquiry-followup-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inquiry-followup-card-copy { min-width: 0; flex: 1 1 auto; }
.inquiry-followup .inquiry-followup-card-address {
  margin: 0 0 2px;
  font-size: var(--bp-text-xs, 14px);
  font-weight: var(--bp-weight-semibold, 600);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.inquiry-followup .inquiry-followup-card-meta {
  margin: 0;
  color: var(--bp-color-dark-2, #6b7588);
  font-size: var(--bp-text-2xs, 12px);
  line-height: 1.4;
}
.inquiry-followup .inquiry-followup-card-price {
  margin: 4px 0 0;
  color: inherit;
  font-size: 13px;
  font-weight: var(--bp-weight-bold, 700);
  line-height: 1.35;
}

/* One line per value, so a long e-mail address fits the card. */
.inquiry-followup-chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}
.inquiry-followup .inquiry-followup-chips li {
  box-sizing: border-box;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid var(--bp-color-medium, #e2ddd6);
  border-radius: var(--bp-radius-sm, 4px);
  background: var(--bp-color-lighter-1, #f3eeec);
  color: inherit;
  font-size: var(--bp-text-2xs, 12px);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The card CTA on the card's compact scale; it stays the primary action. */
.inquiry-followup-card .bp-btn {
  min-height: 36px;
  padding: 6px 12px;
  font-size: var(--bp-text-xs, 14px);
  line-height: 20px;
}
.inquiry-followup-form .bp-btn + .bp-btn { margin-top: 8px; }

.inquiry-followup-more {
  display: inline-block;
  margin-top: 4px;
  color: var(--bp-color-orange, #ff622c);
  font-size: 13px;
  text-decoration: none;
}
.inquiry-followup-more:hover,
.inquiry-followup-more:focus { color: var(--bp-color-orange, #ff622c); text-decoration: underline; }

.inquiry-followup .inquiry-followup-error {
  margin: 0 0 10px;
  color: #b42318;
  font-size: 13px;
}
