/* THF local discovery — city archive only. All rules are scoped. */
body.tax-location .thf-location-hub {
  --city-accent: #5de3a5;
  --city-text: #eff7f1;
  --city-muted: #b4c9ba;
  --city-line: #33473a;
  --city-panel: #1d2822;
  color: var(--city-text);
  background: #191b1d;
  overflow: clip;
  padding-bottom: 42px;
}
body.tax-location .thf-location-hub * { box-sizing: border-box; }
body.tax-location .thf-location-hub #main-content {
  background: #191b1d !important;
}
body.tax-location .thf-location-hub .thf-location-hub__main {
  float: none !important; width: 100% !important; max-width: 100% !important;
  margin: 0 auto; padding: 18px 0 0;
}
body.tax-location .thf-location-hub__container {
  width: min(94%, 1400px); max-width: 1400px;
  margin: 0 auto;
}
body.tax-location .thf-location-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  font-size: 12px; margin: 0 0 17px; color: #aab5ae;
}
body.tax-location .thf-location-breadcrumb a { color: #b1d9c2; text-decoration: none; }
body.tax-location .thf-location-breadcrumb a:hover { color: #8cf3be; text-decoration: underline; }
body.tax-location .thf-location-breadcrumb i { font-size: 9px; opacity: .7; }
body.tax-location .thf-location-hero {
  position: relative; overflow: hidden; isolation: isolate; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(220px, 28%);
  min-height: 278px; border-radius: 14px; margin-bottom: 14px;
  border: 1px solid #355542;
  background: linear-gradient(115deg,#172c21 0%,#1c3227 62%,#20372a 100%);
}
body.tax-location .thf-location-hero--no-image { grid-template-columns: minmax(0,1fr); }
body.tax-location .thf-location-hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle,rgba(18,138,81,.16), transparent 65%);
  top: -310px; left: 10%;
}
body.tax-location .thf-location-hero__content { padding: 27px clamp(20px, 3vw, 42px); min-width: 0; }
body.tax-location .thf-location-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: #91e6b6;
  font-size: 12px; letter-spacing: .055em; font-weight: 800; text-transform: uppercase;
  margin-bottom: 8px;
}
body.tax-location .thf-location-hero h1 {
  color: #fff !important; font-size: clamp(27px, 3.1vw, 44px) !important;
  font-weight: 850; line-height: 1.12; margin: 3px 0 11px !important;
  padding: 0 !important; letter-spacing: -.03em;
}
body.tax-location .thf-location-hero__lead {
  color: #c7dfcf !important; max-width: 760px;
  font-size: clamp(13px, 1.1vw, 15px) !important;
  line-height: 1.55 !important; margin: 0 0 14px !important; padding: 0 !important;
}
body.tax-location .thf-location-hero__stats {
  display: flex; flex-wrap: wrap; gap: 16px; color: #a8d7bd;
  margin: 0 0 16px; font-size: 12px;
}
body.tax-location .thf-location-hero__stats span { display: inline-flex; align-items: center; gap: 6px; }
body.tax-location .thf-location-hero__stats i { color: #5adf9e; }
body.tax-location .thf-location-hero__stats strong { color: #fff; font-weight: 850; }
body.tax-location .thf-location-search {
  display: flex; align-items: center; gap: 11px; padding: 6px 6px 6px 15px;
  min-height: 49px; background: #f7fcf8; border: 1px solid #fff;
  border-radius: 10px; max-width: 740px; margin: 0; box-shadow: 0 3px 18px #0002;
}
body.tax-location .thf-location-search > i { color: #246442; font-size: 15px; }
body.tax-location .thf-location-search input[type="search"] {
  flex: 1 1 auto; width: 40px; min-width: 0; border: none !important;
  outline-offset: 3px; border-radius: 0; background: transparent !important;
  color: #183328 !important; font-size: 13px; padding: 8px 0 !important; box-shadow: none !important;
}
body.tax-location .thf-location-search input::placeholder { color: #67766d; opacity: 1; }
body.tax-location .thf-location-search button {
  display: inline-flex; gap: 10px; align-items: center; justify-content: center;
  background: #04885b; border: 0; border-radius: 7px; color: #fff !important;
  font-weight: 800; font-size: 13px; padding: 10px 15px; cursor: pointer; white-space: nowrap;
}
body.tax-location .thf-location-search button:hover { background: #066e4c; }
body.tax-location .thf-location-search :focus-visible { outline: 2px solid #38a36c; outline-offset: 2px; }
body.tax-location .thf-location-hero__links {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px;
}
body.tax-location .thf-location-hero__links a {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  color: #abe9c3 !important; font-size: 12px; font-weight: 750;
}
body.tax-location .thf-location-hero__links a:hover { color: #fff !important; text-decoration: underline; }
body.tax-location .thf-location-hero__visual { position: relative; overflow: hidden; margin: 0; min-height: 100%; }
body.tax-location .thf-location-hero__visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(25,49,33,.50),transparent 45%);
}
body.tax-location .thf-location-hero__photo {
  display: block; object-fit: cover; object-position: center;
  width: 100%; height: 100%; min-height: 278px;
}
body.tax-location .thf-location-quicklinks {
  display: flex; flex-direction: column; gap: 10px; border: 1px solid #2b3930;
  background: #202923; padding: 12px 16px; border-radius: 11px;
}
body.tax-location .thf-location-quicklinks__group {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0;
}
body.tax-location .thf-location-quicklinks__group strong {
  font-size: 12px; color: #deeee3; font-weight: 800; margin-right: 3px;
}
body.tax-location .thf-location-quicklinks__group a {
  border: 1px solid #3b5a48; background: #2a3d30; border-radius: 7px;
  color: #b7e7ca !important; font-size: 12px; text-decoration: none;
  padding: 5px 9px; line-height: 1.35;
}
body.tax-location .thf-location-quicklinks__group a:hover,
body.tax-location .thf-location-quicklinks__group a:focus-visible {
  border-color: #6cdda1; background: #1f5439; color: #fff !important;
}
/* The actual results, not the editorial sidebar, are the central page feature. */
body.tax-location .thf-location-hub .thf-city-sections { margin-top: 18px; }
body.tax-location .thf-location-hub .thf-city-sections__nav { margin: 0 0 22px; gap: 9px; }
body.tax-location .thf-location-hub .thf-city-sections__nav a { padding: 9px 14px; font-size: 13px; background: #153a29; }
body.tax-location .thf-location-hub .thf-city-section { margin: 0 0 37px; scroll-margin-top: 85px; }
body.tax-location .thf-location-hub .thf-city-section__heading { margin-bottom: 16px; padding: 0 0 13px; }
body.tax-location .thf-location-hub .thf-city-section__heading h2 { font-size: clamp(21px, 2.1vw, 28px); }
body.tax-location .thf-location-hub .thf-city-section__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
body.tax-location .thf-location-hub .thf-city-card__media { height: 178px; }
body.tax-location .thf-location-hub .thf-city-card__body { padding: 15px 16px 16px; }
body.tax-location .thf-location-hub .thf-city-card h3 { font-size: 17px; }
body.tax-location .thf-location-hub .thf-city-card__body > p { font-size: 13px; }
body.tax-location .thf-location-hub .thf-city-card__body > p.thf-city-card__address {
  display: flex; align-items: flex-start; gap: 6px; font-size: 12px !important;
  color: #9ad4b1 !important; margin: 1px 0 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.tax-location .thf-city-card__address i { flex: 0 0 auto; margin-top: 2px; }
body.tax-location .thf-location-hub .thf-city-card__action { font-size: 13px; }
body.tax-location .thf-location-guide {
  margin: 45px 0 24px; padding: clamp(20px,2.8vw,38px);
  border: 1px solid #35483a; background: #202923; border-radius: 13px;
}
body.tax-location .thf-location-guide__label {
  color: #7ce0ab; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: 9px;
}
body.tax-location .thf-location-guide h2 {
  color: #fff !important; font-size: clamp(21px, 2.1vw, 29px) !important;
  font-weight: 800; margin: 0 0 15px; padding: 0; line-height: 1.23;
}
body.tax-location .thf-location-guide__content {
  max-width: 960px; color: #cddbd1; font-size: 14px; line-height: 1.78;
}
body.tax-location .thf-location-guide__content p,
body.tax-location .thf-location-guide__content li,
body.tax-location .thf-location-guide__content strong {
  color: #cddbd1 !important; font-size: 14px !important;
}
body.tax-location .thf-location-guide__content p { margin: 0 0 13px !important; }
body.tax-location .thf-location-guide__content a { color: #84e6b4 !important; text-decoration: underline; text-underline-offset: 3px; }
body.tax-location .thf-location-guide__content a:hover { color: #fff !important; }
body.tax-location .thf-location-guide__content strong { color: #fff !important; }
body.tax-location .thf-location-confidence {
  display: flex; align-items: flex-start; gap: 14px;
  background: #1e2620; border-left: 3px solid #52cb90;
  padding: 19px 20px; border-radius: 0 10px 10px 0;
  margin: 30px 0;
}
body.tax-location .thf-location-confidence__icon { font-size: 25px; color: #6be7a2; }
body.tax-location .thf-location-confidence h2 {
  font-size: 17px !important; color: #fff !important; padding: 0;
  margin: 0 0 5px; font-weight: 800; line-height: 1.35;
}
body.tax-location .thf-location-confidence p {
  color: #bdccbf !important; font-size: 13px !important;
  line-height: 1.65; margin: 0 0 8px; max-width: 940px;
}
body.tax-location .thf-location-confidence a { color: #86dfad !important; font-size: 12px; font-weight: 800; text-decoration: none; }
body.tax-location .thf-location-confidence a:hover { text-decoration: underline; }
body.tax-location .thf-location-endlinks {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
body.tax-location .thf-location-endlinks a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: 9px; border: 1px solid #365942;
  color: #d8eee0 !important; background: #21412c; font-weight: 750;
  text-decoration: none; font-size: 13px;
}
body.tax-location .thf-location-endlinks a:hover { background: #2b583b; }
@media (max-width: 980px) {
  body.tax-location .thf-location-hero { grid-template-columns: minmax(0,1fr) minmax(175px,31%); }
  body.tax-location .thf-location-hub .thf-city-section__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tax-location .thf-location-hub .thf-city-card__media { height: 156px; }
}
@media (max-width: 640px) {
  body.tax-location .thf-location-hub__main { padding-top: 10px; }
  body.tax-location .thf-location-hub__container { width: 94%; }
  body.tax-location .thf-location-breadcrumb { margin-bottom: 10px; font-size: 11px; }
  body.tax-location .thf-location-hero { grid-template-columns: minmax(0,1fr); min-height: 0; margin-bottom: 11px; border-radius: 11px; }
  body.tax-location .thf-location-hero__visual { display: none; }
  body.tax-location .thf-location-hero__content { padding: 19px 16px 18px; }
  body.tax-location .thf-location-hero__eyebrow { font-size: 10px; margin-bottom: 7px; }
  body.tax-location .thf-location-hero h1 { font-size: clamp(26px, 7.8vw, 34px) !important; line-height: 1.13; }
  body.tax-location .thf-location-hero__lead { font-size: 12px !important; line-height: 1.54 !important; }
  body.tax-location .thf-location-hero__stats { margin: 0 0 13px; gap: 11px; font-size: 11px; }
  body.tax-location .thf-location-search { gap: 7px; padding: 5px 5px 5px 10px; }
  body.tax-location .thf-location-search button { padding: 9px 10px; font-size: 12px; }
  body.tax-location .thf-location-search button i { display: none; }
  body.tax-location .thf-location-search input[type="search"] { font-size: 12px; }
  body.tax-location .thf-location-quicklinks { padding: 10px; gap: 8px; }
  body.tax-location .thf-location-quicklinks__group { gap: 6px; }
  body.tax-location .thf-location-quicklinks__group strong { flex: 0 0 100%; }
  body.tax-location .thf-location-quicklinks__group a { padding: 5px 8px; font-size: 11px; }
  body.tax-location .thf-location-hub .thf-city-sections__nav { gap: 6px; }
  body.tax-location .thf-location-hub .thf-city-sections__nav a { padding: 7px 9px; font-size: 11px; }
  body.tax-location .thf-location-hub .thf-city-section { margin-bottom: 26px; }
  body.tax-location .thf-location-hub .thf-city-section__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  body.tax-location .thf-location-hub .thf-city-card { display: flex; flex-direction: column; }
  body.tax-location .thf-location-hub .thf-city-card__media { flex: 0 0 auto; width: 100%; height: 118px; min-height: 0; }
  body.tax-location .thf-location-hub .thf-city-card__body { flex: 1; padding: 10px; }
  body.tax-location .thf-location-hub .thf-city-card h3 { font-size: 14px; }
  body.tax-location .thf-location-hub .thf-city-card__body > p { font-size: 11px; }
  body.tax-location .thf-location-hub .thf-city-card__body > p.thf-city-card__address { font-size: 10px !important; }
  body.tax-location .thf-location-hub .thf-city-card__action { font-size: 11px; }
  body.tax-location .thf-location-guide { margin-top: 30px; padding: 18px; }
  body.tax-location .thf-location-guide__content p, body.tax-location .thf-location-guide__content li { font-size: 13px !important; }
  body.tax-location .thf-location-confidence { padding: 14px 12px; gap: 10px; }
  body.tax-location .thf-location-confidence__icon { font-size: 20px; }
}
