/* ========================================================================
   ELIKA Site Modernizer 9.6.7 — press and active-listing finishing touches
   ======================================================================== */

/* Keep the Press destination directly beneath the left-hand recognition
   title without creating an additional publication-grid column. */
html body .em-recognition-label {
  display: block !important;
}

html body .em-recognition-press {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 0 4px !important;
  color: #29312b !important;
  -webkit-text-fill-color: #29312b !important;
  border: 0 !important;
  border-bottom: 1px solid #b58b48 !important;
  background: transparent !important;
  font: 700 9px/1.25 Arial, Helvetica, sans-serif !important;
  letter-spacing: .13em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

html body .em-recognition-press:is(:hover, :focus-visible) {
  color: #8d672f !important;
  -webkit-text-fill-color: #8d672f !important;
  border-bottom-color: #8d672f !important;
}

/* The original Post Closing control draws a horizontal slider track behind
   its radio choices. The choices are now buttons, so the legacy track must
   not remain visible through the inter-button gaps. */
html body.single-vc_listing .property-info .vc-post-closing
  .slider-wrapper .radio-slider:is(.three, .six)::before {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
  background: transparent !important;
}

/* Let large closing-cost figures and their percentages share the narrow rail
   without allowing the final character to be cropped at the right edge. */
html body.single-vc_listing .property-info .vcrp-buyer-calculator {
  overflow: visible !important;
}

html body.single-vc_listing .property-info .vcrp-buyer-calculator .calc-row {
  grid-template-columns: minmax(0, 1fr) minmax(112px, 126px) !important;
  gap: 9px !important;
  padding-right: 2px !important;
}

html body.single-vc_listing .property-info .vcrp-buyer-calculator .rs-value-wrap {
  box-sizing: border-box !important;
  grid-template-columns: minmax(68px, 1fr) minmax(34px, auto) !important;
  justify-self: end !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 126px !important;
}

html body.single-vc_listing .property-info .vcrp-buyer-calculator
  .rs-value-wrap > .rs {
  min-width: 0 !important;
  max-width: none !important;
  font-size: 15px !important;
}

html body.single-vc_listing .property-info .vcrp-buyer-calculator
  .rs-value-wrap > .rs-value-pct {
  padding-right: 1px !important;
}

/* WPForms initializes the international phone UI after first paint. Reserve
   its country selector width so the flag never covers the Phone placeholder. */
html body.single-vc_listing #wpforms-54005-field_7-container .iti {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
}

html body.single-vc_listing #wpforms-54005-field_7-container
  input#wpforms-54005-field_7[type="tel"] {
  box-sizing: border-box !important;
  width: 100% !important;
  padding-right: 14px !important;
  padding-left: 62px !important;
}

/* Match the breadcrumb trail to the Save this listing utility type and give
   its separators a deliberate CSS chevron rather than a faint fragment. */
html body.single-vc_listing .vcrp-bc-row {
  font: 700 11px/1.35 Arial, Helvetica, sans-serif !important;
  letter-spacing: .105em !important;
}

html body.single-vc_listing .vcrp-bc-row .cs-separator {
  box-sizing: border-box !important;
  flex: 0 0 7px !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  margin: 0 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  border: 0 !important;
  border-top: 1px solid #858a84 !important;
  border-right: 1px solid #858a84 !important;
  background: none !important;
  font-size: 0 !important;
  transform: rotate(45deg) !important;
}

@media (max-width: 780px) {
  html body.single-vc_listing .vcrp-bc-row {
    font-size: 11px !important;
  }

  html body.single-vc_listing .vcrp-bc-row .cs-separator {
    margin-right: 12px !important;
    margin-left: 12px !important;
  }
}

@media (max-width: 430px) {
  html body.single-vc_listing .property-info .vcrp-buyer-calculator .calc-row {
    grid-template-columns: minmax(0, 1fr) minmax(108px, 122px) !important;
    gap: 7px !important;
  }

  html body.single-vc_listing .property-info .vcrp-buyer-calculator .rs-value-wrap {
    grid-template-columns: minmax(65px, 1fr) minmax(32px, auto) !important;
    gap: 6px !important;
    max-width: 122px !important;
  }

  html body.single-vc_listing .property-info .vcrp-buyer-calculator
    .rs-value-wrap > .rs {
    font-size: 14px !important;
  }
}
