/* Sober Network trust, accessibility, and mobile-density pass — 2026-07-10. */

.skip-to-content {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 1000001;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #124737;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.skip-to-content:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.m-search,
.header-search .sf {
  appearance: none;
  border: 0;
  color: inherit;
  font: inherit;
}

.m-search {
  cursor: pointer;
}

.header-search .sf {
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.trust-band {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden;
  padding: 0 !important;
}

.trust-band > span {
  min-width: 0;
  min-height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  color: #34483d !important;
  line-height: 1.22;
  text-align: center;
}

.trust-band > span + span {
  border-left: 1px solid rgba(18, 71, 55, .10);
}

.card-source-note {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 24px;
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid #dfe9e4;
  border-radius: 999px;
  background: #fff;
  color: #255846;
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-tags:empty {
  display: none !important;
}

.card-heart,
.card-cta,
.sec-link,
.rnav-a,
.audio-play-badge,
.dr-share,
.dr-more,
.mobile-city-primary,
.mobile-city-secondary,
.recovery-actions a,
.recovery-actions button,
#recovery-pathways-rail .rp-action {
  min-width: 44px !important;
  min-height: 44px !important;
}

button.card-heart {
  appearance: none;
  width: 44px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 999px;
  cursor: pointer;
}

.card-cta,
.sec-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

button.card-cta {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

button.sec-link {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

button.rnav-a {
  appearance: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

button.audio-play-badge {
  appearance: none;
  z-index: 2;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.facility-profile .profile-fact-ledger {
  padding: 20px;
}

.facility-profile .profile-fact-ledger .seo-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 22px;
}

.facility-profile .profile-fact-ledger .seo-fact {
  display: block;
  min-width: 0;
  padding: 12px;
}

.facility-profile .profile-fact-ledger dt {
  color: #64748b;
  font-size: .75rem;
  font-weight: 800;
}

.facility-profile .profile-fact-ledger dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: #1e293b;
  font-size: .9rem;
  font-weight: 700;
}

.facility-profile .profile-fact-ledger h3 {
  margin-top: 20px;
}

.facility-profile .profile-fact-ledger .profile-source-notes {
  padding: 13px 15px 13px 32px;
  border: 1px solid #dce8e2;
  border-radius: 12px;
  background: #f7fbf8;
}

.facility-profile .profile-fact-ledger .profile-questions {
  padding-left: 24px;
}

.facility-profile .fd-owner-claim a,
.facility-profile .fd-share-btn,
.facility-profile .fd-lead-btn {
  min-height: 44px;
}

@media (max-width: 744px) {
  .trust-band {
    margin: 10px 14px 4px !important;
  }

  .trust-band > span {
    min-height: 52px;
    gap: 4px;
    padding: 8px 5px;
    font-size: 10.5px !important;
  }

  .trust-band .material-symbols-outlined {
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
    font-size: 15px !important;
  }

  .sober-product-strip a,
  .sober-product-strip button {
    min-height: 96px !important;
  }

  .content-tabs {
    padding-top: 4px !important;
  }

  .sec-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start !important;
    gap: 10px !important;
  }

  .sec-title {
    max-width: none !important;
    min-width: 0;
    font-size: clamp(20px, 6vw, 24px) !important;
    overflow-wrap: break-word;
  }

  .sec-link {
    align-self: start !important;
    padding: 8px 11px !important;
  }

  .card-r1 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
  }

  .card-name,
  .card-name-link {
    width: 100%;
    -webkit-line-clamp: 3 !important;
  }

  .card-source-note {
    min-height: 22px;
    padding: 4px 6px;
    font-size: 9.75px;
  }

  .card-cta {
    min-height: 44px !important;
    padding: 8px 12px !important;
  }

  .directory-route .mobile-city-intro {
    padding: 20px 18px 16px !important;
  }

  .directory-route .mobile-city-intro h2 {
    max-width: 16ch !important;
    font-size: clamp(30px, 9vw, 38px) !important;
  }

  .directory-route .mobile-city-intro > p.hero-subhead-copy {
    margin: 10px 0 14px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .directory-route .mobile-city-stats {
    display: none !important;
  }

  .directory-route .trust-band {
    margin-bottom: 8px !important;
  }

  .facility-profile .profile-fact-ledger .seo-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .sec-head {
    grid-template-columns: 1fr !important;
  }

  .sec-link {
    justify-self: start;
  }

  .trust-band > span {
    flex-direction: column;
    font-size: 9.75px !important;
  }
}

@media (min-width: 745px) {
  .directory-route .desktop-hero {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .directory-route .content-tabs {
    padding-top: 14px !important;
  }
}

/* Keep every secondary/mobile control at a real 44px touch target. */
.mob-sheet-head button,
#cmpToggle,
#cmpCC,
#cmpClose {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
}

#cmpOpen,
.dr-toggle {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
}

html #claude-quick-exit {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
}

.mob-sheet-handle {
  box-sizing: border-box !important;
  position: relative;
  width: 44px !important;
  height: 44px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.mob-sheet-handle::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 19.5px;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #d1ded7;
}
