/* BulkPartner V40.4.17 – active Property Collection / Areas archive link.
   No default/hover link changes: only the URL-matched current term gets
   anthracite text and a 1px orange underline, including on pagination. */
body .sidebar .widget a.bp-taxonomy-current,
body .sidebar .widget a.bp-taxonomy-current:link,
body .sidebar .widget a.bp-taxonomy-current:visited,
body .sidebar .widget a.bp-taxonomy-current:hover,
body .sidebar .widget a.bp-taxonomy-current:focus,
body .sidebar .widget a.bp-taxonomy-current:active {
  color: #394041 !important;
  -webkit-text-fill-color: #394041 !important;
  font-weight: 300 !important;
  background: transparent !important;
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-color: #e38b0d !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}
/* When the label can be identified, underline ONLY its glyphs; never the
   grey count badge or the full width of a flex-based widget row. */
body .sidebar .widget a.bp-taxonomy-current.bp-taxonomy-current-has-label,
body .sidebar .widget a.bp-taxonomy-current.bp-taxonomy-current-has-label:hover,
body .sidebar .widget a.bp-taxonomy-current.bp-taxonomy-current-has-label:focus {
  text-decoration: none !important;
}
body .sidebar .widget a.bp-taxonomy-current .bp-taxonomy-current-label {
  display: inline;
  width: fit-content;
  max-width: 100%;
  border-bottom: 1px solid #e38b0d !important;
  color: #394041 !important;
  -webkit-text-fill-color: #394041 !important;
  font-weight: 300 !important;
  text-decoration: none !important;
}

/* V40.4.19 — Keep the property-taxonomy count badge legible.
   The active category link uses -webkit-text-fill-color: #394041;
   that property inherits into count badges unless explicitly reset.
   This applies ONLY to the count inside the currently selected sidebar
   taxonomy link, never to the underlined label or other widget links. */
body .sidebar .widget a.bp-taxonomy-current .bp-pt-badge,
body .sidebar .widget a.bp-taxonomy-current .bp-ptw-badge,
body .sidebar .widget a.bp-taxonomy-current .count-badge,
body .sidebar .widget a.bp-taxonomy-current .term-count,
body .sidebar .widget a.bp-taxonomy-current .count {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}
