/* ==========================================================================
   BSA CARBON MEDICAL DESIGN SYSTEM v3.0 — www.brasilsemalergia.com.br
   World-Class Clinical UI/UX, Zero-Overflow Responsive Header, Instant Search,
   Symptom Bento Hub, Patient Accessibility & WCAG 2.1 AA Hardening
   ========================================================================== */

:root {
  --bsa-c-emerald: #017231;
  --bsa-c-emerald-dark: #015826;
  --bsa-c-emerald-deep: #064E3B;
  --bsa-c-emerald-soft: #ECFDF5;
  --bsa-c-navy: #0F3D5E;
  --bsa-c-navy-deep: #0A2540;
  --bsa-c-ink: #0F172A;
  --bsa-c-muted: #334155;
  --bsa-c-border: #CBD5E1;
  --bsa-c-surface: #FFFFFF;
  --bsa-c-bg: #F4F7FA;
  --bsa-c-gold: #B45309;
}

/* 1. TOP VIEWPORT READING PROGRESS BAR */
.bsa-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10060;
  background: transparent;
  pointer-events: none;
}
.bsa-top-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #017231 55%, #0F3D5E 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.45);
  transition: width 0.1s linear;
}

/* 2. ACCESSIBILITY FONT SCALING (A- / A0 / A+) */
html[data-bsa-font="sm"] .bsa-verbete {
  font-size: 15px !important;
  line-height: 1.72 !important;
}
html[data-bsa-font="lg"] .bsa-verbete,
html[data-bsa-font="lg"] .bsa-verbete p,
html[data-bsa-font="lg"] .bsa-verbete li {
  font-size: 18.5px !important;
  line-height: 1.82 !important;
}
html[data-bsa-font="xl"] .bsa-verbete,
html[data-bsa-font="xl"] .bsa-verbete p,
html[data-bsa-font="xl"] .bsa-verbete li {
  font-size: 20.5px !important;
  line-height: 1.86 !important;
}

/* 3. CRITICAL GLOBAL ANTI-OVERFLOW & FLEXBOX MIN-WIDTH FIX (ELIMINATES MOBILE CLIPPING) */
html, body {
  max-width: 100vw !important;
  overflow-x: clip !important;
}
#sp-top-bar,
#sp-top-bar > .container,
#sp-top-bar .row,
#sp-top-bar #sp-logo,
#sp-top-bar #sp-top-b,
#sp-top-b > .sp-column,
#sp-top-b .sp-module,
#sp-top-b .sp-module-content,
#sp-top-b .search.jd-search,
#sp-top-b .search.jd-search form,
.bsa-mobile-search-off form,
#sp-header,
#sp-header > .container,
#sp-header .row,
#sp-header #sp-menu {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#sp-top-b input[name="searchword"],
#mod-search-searchword,
.bsa-mobile-search-off input[name="searchword"] {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 0% !important;
  box-sizing: border-box !important;
}

/* 4. WORLD-CLASS INSTITUTIONAL TOP BAR (#sp-top-bar) */
body #sp-top-bar {
  background: linear-gradient(135deg, #015826 0%, #017231 52%, #065F46 100%) !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  position: relative !important;
  z-index: 10030 !important;
}

@media (min-width: 992px) {
  body #sp-top-bar > .container {
    max-width: 1240px !important;
    padding: 8px 20px !important;
    margin: 0 auto !important;
  }
  body #sp-top-bar .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 !important;
  }
  body #sp-top-bar #sp-logo {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 0 1 auto !important;
  }
  body #sp-top-bar #sp-logo > .sp-column {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }
  body #sp-top-bar #sp-logo .logo img.sp-default-logo {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.16));
  }
  .bsa-hdr-trust {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    color: #ECFDF5;
    line-height: 1.25;
  }
  .bsa-hdr-trust strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #FFFFFF;
  }
  .bsa-hdr-trust span {
    font-size: 11px;
    font-weight: 600;
    color: #D1FAE5;
  }
  @media (max-width: 1199.98px) {
    .bsa-hdr-trust {
      display: none !important;
    }
  }
  body #sp-top-bar #sp-top-b {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
  }
  body #sp-top-bar #sp-top-b > .sp-column {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: auto !important;
  }
  body #sp-top-bar #sp-top-b .sp-module,
  body #sp-top-bar #sp-top-b .sp-module-content,
  body #sp-top-bar #sp-top-b .search.jd-search {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body #sp-top-bar #sp-top-b .search.jd-search form {
    width: 280px !important;
    height: 40px !important;
    padding: 3px 5px 3px 15px !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
    position: relative !important;
    transition: width 0.18s ease, box-shadow 0.18s ease !important;
  }
  body #sp-top-bar #sp-top-b .search.jd-search form:focus-within {
    width: 330px !important;
    border-color: #A7F3D0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24) !important;
  }
  body #sp-top-bar #sp-top-b .bsa-search-submit {
    display: inline-flex !important;
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    border-radius: 999px !important;
  }
}

/* Header Action Controls (A-/A+ & Quick Schedule) */
.bsa-hdr-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.bsa-font-ctrl {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 2px;
}
.bsa-font-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.14s ease, color 0.14s ease;
}
.bsa-font-btn:hover,
.bsa-font-btn.is-active {
  background: #FFFFFF;
  color: var(--bsa-c-emerald-dark);
}
.bsa-hdr-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #FEF08A !important;
  color: #064E3B !important;
  font-size: 12.2px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.14s ease, background 0.14s ease;
}
.bsa-hdr-cta:hover,
.bsa-hdr-cta:focus {
  background: #FDE047 !important;
  color: #022C22 !important;
  transform: translateY(-1px);
}

/* Search Submit SVG Button */
.bsa-search-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bsa-c-emerald) !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, transform 0.15s ease !important;
}
.bsa-search-submit:hover {
  background: var(--bsa-c-emerald-dark) !important;
}
.bsa-search-submit svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.4;
  display: block;
}

/* 5. SMART INSTANT MEDICAL AUTOCOMPLETE DROPDOWN */
.search.jd-search,
.bsa-mobile-search-off {
  position: relative !important;
}
.bsa-instant-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 320px;
  max-width: min(460px, calc(100vw - 24px));
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-top: 3px solid var(--bsa-c-emerald);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  z-index: 10080;
  overflow: hidden;
  display: none;
  color: var(--bsa-c-ink);
}
@media (min-width: 992px) {
  #sp-top-b .bsa-instant-results {
    left: auto;
    right: 0;
    width: 420px;
  }
}
.bsa-instant-results.is-open {
  display: block;
}
.bsa-instant-head {
  padding: 8px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body #sp-top-bar ul.bsa-instant-list,
.bsa-instant-list {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 6px !important;
  max-height: 320px;
  overflow-y: auto;
}
body #sp-top-bar ul.bsa-instant-list > li,
.bsa-instant-list > li.bsa-instant-item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.35 !important;
}
body #sp-top-bar ul.bsa-instant-list > li::before,
body #sp-top-bar ul.bsa-instant-list > li::after,
body #sp-top-bar .bsa-instant-results *::before,
body #sp-top-bar .bsa-instant-results *::after,
.bsa-instant-results *::before,
.bsa-instant-results *::after {
  content: none !important;
  display: none !important;
}
.bsa-instant-item a {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  padding: 8px 11px !important;
  border-radius: 9px;
  text-decoration: none !important;
  transition: background 0.12s ease;
}
.bsa-instant-item a:hover,
.bsa-instant-item a.is-focused {
  background: #ECFDF5 !important;
}
.bsa-instant-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bsa-c-emerald-dark);
}
.bsa-instant-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bsa-c-navy);
  line-height: 1.3;
}
.bsa-instant-sub {
  font-size: 11.8px;
  color: #475569;
  line-height: 1.3;
}
.bsa-instant-foot {
  padding: 8px 12px;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}
.bsa-instant-submit-all {
  width: 100%;
  border: 0;
  background: var(--bsa-c-navy);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.bsa-instant-submit-all:hover {
  background: var(--bsa-c-emerald-dark);
}

/* 6. MOBILE HEADER & STICKY QUICK-NAV STRIP (< 992px) — ZERO CLIPPING */
@media (max-width: 991.98px) {
  .bsa-hdr-trust,
  .bsa-hdr-tools {
    display: none !important;
  }
  body #sp-top-bar > .container {
    width: 100% !important;
    padding: 10px 12px 12px 12px !important;
    margin: 0 !important;
  }
  body #sp-top-bar .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  body #sp-top-bar #sp-logo {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body #sp-top-bar #sp-logo .logo {
    height: auto !important;
    min-height: 0 !important;
    text-align: center !important;
  }
  body #sp-top-bar #sp-logo .logo a {
    display: inline-flex !important;
    justify-content: center !important;
  }
  body #sp-top-bar #sp-logo img.sp-default-logo.visible-xs,
  body #sp-top-bar #sp-logo img.sp-default-logo {
    max-height: 46px !important;
    height: 46px !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    object-fit: contain !important;
  }
  body #sp-top-bar #sp-top-b,
  body #sp-top-bar #sp-top-b.hidden-xs,
  body #sp-top-bar #sp-top-b.hidden-sm {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body #sp-top-bar #sp-top-b .search.jd-search form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 3px 5px 3px 14px !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16) !important;
  }
  body #sp-top-bar #sp-top-b #mod-search-searchword {
    font-size: 14px !important;
    color: #0F172A !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 8px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Sticky Mobile Navigation Bar (#sp-header) */
  body #sp-header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #CBD5E1 !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07) !important;
    padding: 6px 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body #sp-header > .container {
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body #sp-header .sp-megamenu-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }
  body #sp-header #offcanvas-toggler {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 36px !important;
    line-height: 1 !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: var(--bsa-c-navy) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
    box-shadow: 0 2px 6px rgba(15, 61, 94, 0.2) !important;
  }
  body #sp-header #offcanvas-toggler svg {
    width: 16px;
    height: 16px;
    stroke: #FFFFFF;
    fill: none;
    stroke-width: 2.2;
  }
  .bsa-mob-quickstrip {
    display: flex !important;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  .bsa-mob-quickstrip::-webkit-scrollbar {
    display: none;
  }
  .bsa-mob-qlink {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: var(--bsa-c-navy) !important;
    font-size: 11.8px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    flex: 0 0 auto;
  }
  .bsa-mob-qlink--green {
    background: #ECFDF5;
    border-color: #86EFAC;
    color: var(--bsa-c-emerald-dark) !important;
  }
}
@media (min-width: 992px) {
  .bsa-mob-quickstrip {
    display: none !important;
  }
}

/* 7. DESKTOP NAVIGATION BAR (#sp-header >= 992px) & PURE-CSS VECTOR CHEVRONS (ZERO TOFU SQUARES!) */
@media (min-width: 992px) {
  body #sp-header {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #DCE5F0 !important;
    box-shadow: 0 4px 16px rgba(15, 39, 68, 0.06) !important;
  }
  body #sp-header > .container {
    max-width: 1240px !important;
    padding: 4px 20px !important;
    margin: 0 auto !important;
  }
  body #sp-header #sp-menu ul.sp-megamenu-parent {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px 6px !important;
    padding: 4px 0 !important;
  }
  body #sp-header #sp-menu ul.sp-megamenu-parent > li > a,
  body #sp-header #sp-menu ul.sp-megamenu-parent > li > span {
    font-size: 12.2px !important;
    font-weight: 600 !important;
    padding: 5.5px 11px !important;
    border-radius: 8px !important;
    color: #0F172A !important;
    background: #F8FAFC !important;
    border: 1px solid #DCE5F0 !important;
    letter-spacing: -0.005em !important;
  }
  body #sp-header #sp-menu ul.sp-megamenu-parent > li.active > a,
  body #sp-header #sp-menu ul.sp-megamenu-parent > li.current-item > a,
  body #sp-header #sp-menu ul.sp-megamenu-parent > li:hover > a {
    background: var(--bsa-c-emerald) !important;
    border-color: var(--bsa-c-emerald) !important;
    color: #FFFFFF !important;
  }
}

/* Pure CSS Geometric Chevron replacing broken FontAwesome \f107 tofu square */
body #sp-header #sp-menu ul.sp-megamenu-parent > li.sp-has-child > a::after,
body #sp-header #sp-menu ul.sp-megamenu-parent > li.sp-has-child > span::after {
  content: "" !important;
  display: inline-block !important;
  width: 5.5px !important;
  height: 5.5px !important;
  border-right: 1.8px solid currentColor !important;
  border-bottom: 1.8px solid currentColor !important;
  transform: rotate(45deg) !important;
  margin-left: 6px !important;
  margin-top: -2px !important;
  vertical-align: middle !important;
  font-family: inherit !important;
  opacity: 0.82 !important;
}

/* Replace broken FontAwesome bullets inside dropdowns & offcanvas with clean CSS shapes */
body #sp-header .sp-dropdown-main li.sp-menu-item > a i.fa-stop::before,
.offcanvas-menu li a i.fa-stop::before {
  content: "" !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: var(--bsa-c-emerald) !important;
  vertical-align: middle !important;
}

/* Offcanvas Drawer Polish & Close Button */
.offcanvas-menu {
  background: #FFFFFF !important;
  color: #0F172A !important;
  width: min(320px, 86vw) !important;
  box-shadow: -10px 0 34px rgba(15, 23, 42, 0.22) !important;
}
.offcanvas-menu .close-offcanvas {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  border: 1px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  color: #0F172A !important;
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  cursor: pointer !important;
  padding: 0 !important;
  z-index: 10;
}
.offcanvas-menu .close-offcanvas svg {
  width: 16px;
  height: 16px;
  stroke: #0F172A;
  stroke-width: 2.2;
}
.offcanvas-menu .offcanvas-inner {
  padding: 56px 16px 28px 16px !important;
}
.offcanvas-menu .offcanvas-inner ul.nav.menu > li {
  border-bottom: 1px solid #EEF2F7 !important;
}
.offcanvas-menu .offcanvas-inner ul.nav.menu > li > a {
  color: #0F172A !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 38px 10px 6px !important;
  display: block !important;
}
.offcanvas-menu .offcanvas-menu-toggler i.fa::before {
  content: "" !important;
}
.offcanvas-menu .offcanvas-menu-toggler::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #0F3D5E;
  border-bottom: 2px solid #0F3D5E;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}
.offcanvas-menu .offcanvas-menu-toggler:not(.collapsed)::after {
  transform: rotate(-135deg);
}

/* Reportagens Slider Buttons (<button class="prev"> / <button class="next">) */
#jtcontentslider461 button.prev,
#jtcontentslider461 button.next {
  appearance: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: var(--bsa-c-navy) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 3px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}
#jtcontentslider461 button.prev:hover,
#jtcontentslider461 button.next:hover {
  background: var(--bsa-c-emerald) !important;
  border-color: var(--bsa-c-emerald) !important;
  color: #FFFFFF !important;
}
#jtcontentslider461 button.prev svg,
#jtcontentslider461 button.next svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

/* 8. UNIVERSAL PATIENT UTILITY & BREADCRUMB BAR (.bsa-patient-bar) */
.bsa-patient-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 10px 14px;
  margin: 0 0 18px 0;
  background: #F8FAFC;
  border: 1px solid #DCE5F0;
  border-radius: 12px;
  font-size: 12.2px;
  color: #334155;
}
.bsa-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.bsa-breadcrumbs a {
  color: var(--bsa-c-navy) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.bsa-breadcrumbs a:hover {
  color: var(--bsa-c-emerald-dark) !important;
  text-decoration: underline !important;
}
.bsa-bc-sep {
  color: #64748B;
  font-size: 11px;
}
.bsa-bc-current {
  color: #475569;
  font-weight: 600;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bsa-patient-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.bsa-read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #EEF2F6;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
}
.bsa-pbar-font {
  display: inline-flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  background: #FFFFFF;
  overflow: hidden;
}
.bsa-pbar-font button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #0F172A;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 8px;
  cursor: pointer;
}
.bsa-pbar-font button:hover,
.bsa-pbar-font button.is-active {
  background: var(--bsa-c-emerald);
  color: #FFFFFF;
}
.bsa-pbar-share {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: var(--bsa-c-navy) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
}
.bsa-pbar-share:hover {
  background: #ECFDF5 !important;
  border-color: #86EFAC !important;
  color: var(--bsa-c-emerald-dark) !important;
}

/* 9. HOMEPAGE SYMPTOM, EXAM & SPECIALTY BENTO QUICK-FINDER (.bsa-symptom-hub) */
.bsa-symptom-hub {
  width: 100%;
  margin: 22px 0 26px 0;
  padding: 22px 22px 24px 22px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid #CBD5E1;
  border-radius: 18px;
  box-sizing: border-box;
}
.bsa-symptom-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 16px 0;
}
.bsa-symptom-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bsa-c-emerald-dark);
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.bsa-verbete .bsa-symptom-title {
  font-size: 19.5px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  color: var(--bsa-c-navy) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.bsa-verbete p.bsa-symptom-sub {
  font-size: 13.5px !important;
  color: #334155 !important;
  margin: 4px 0 0 0 !important;
  line-height: 1.45 !important;
}
.bsa-symptom-all-link {
  font-size: 12.8px !important;
  font-weight: 700 !important;
  color: var(--bsa-c-emerald-dark) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.bsa-symptom-all-link:hover {
  text-decoration: underline !important;
}
.bsa-symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 639.98px) {
  .bsa-symptom-hub {
    padding: 16px 14px;
  }
  .bsa-symptom-grid {
    grid-template-columns: 1fr;
  }
}
.bsa-verbete a.bsa-symptom-card {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  background: #FFFFFF;
  border: 1px solid #DCE5F0;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(15, 39, 68, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.bsa-verbete a.bsa-symptom-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 114, 49, 0.45);
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.09);
}
.bsa-symptom-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: #ECFDF5;
  border: 1px solid rgba(1, 114, 49, 0.2);
  color: var(--bsa-c-emerald-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bsa-symptom-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.bsa-symptom-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.bsa-symptom-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--bsa-c-navy);
  line-height: 1.3;
}
.bsa-verbete a.bsa-symptom-card:hover .bsa-symptom-name {
  color: var(--bsa-c-emerald-dark);
}
.bsa-symptom-desc {
  font-size: 12.4px;
  font-weight: 500;
  color: #475569;
  line-height: 1.42;
}
.bsa-symptom-go {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bsa-c-emerald-dark);
  margin-top: 2px;
}

/* 10. WCAG 2.1 AA CONTRAST HARDENING ACROSS ALL PORTAL WIDGETS */
.bsa-bento-tag {
  color: #065F46 !important;
}
.bsa-bento-card--edu .bsa-bento-tag {
  color: #1E40AF !important;
}
.bsa-bento-card--cap .bsa-bento-tag {
  color: #78350F !important;
}
.bsa-disc-label,
.bsa-disc-sub,
.bsa-home-tv-sub {
  color: #334155 !important;
}
#sp-copyright,
#sp-footer {
  background: #0A2540 !important;
  color: #E2E8F0 !important;
}
#sp-copyright a,
#sp-footer a {
  color: #A7F3D0 !important;
}
