/* Homepage-aligned visual layer for location/taxonomy pages.
 * Source-owned and deliberately scoped to .location-taxonomy-v2 so Business Detail,
 * Header/Footer and unrelated public pages remain unchanged.
 */

.location-taxonomy-v2 {
  --lt-page: #fffaf2;
  --lt-surface: #fffdf8;
  --lt-surface-strong: #ffffff;
  --lt-surface-soft: #fff7e8;
  --lt-border: #eadfce;
  --lt-border-strong: #dcc9ad;
  --lt-text: #172033;
  --lt-text-soft: #596579;
  --lt-text-muted: #7b8493;
  --lt-accent: #d97706;
  --lt-accent-strong: #b45309;
  --lt-accent-soft: #fff0cf;
  --lt-shadow: 0 18px 48px rgb(79 54 24 / 8%);
  --lt-shadow-hover: 0 22px 58px rgb(79 54 24 / 13%);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.25rem 0 4.5rem;
  background: var(--lt-page);
  color: var(--lt-text);
}

.location-taxonomy-v2 > * {
  width: min(calc(100% - 2.5rem), 88rem);
  margin-inline: auto;
}

.location-taxonomy-v2 :where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--lt-accent);
  outline-offset: 3px;
}

.location-taxonomy-v2 .state-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  margin-bottom: .9rem;
  color: var(--lt-text-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.location-taxonomy-v2 .state-breadcrumbs a {
  color: var(--lt-text-soft);
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}

.location-taxonomy-v2 .state-breadcrumbs a:hover {
  color: var(--lt-accent-strong);
}

.location-taxonomy-v2 .state-breadcrumbs > span[aria-hidden="true"],
.location-taxonomy-v2 .state-breadcrumbs > span:not([aria-current]) {
  color: #b9aa94;
}

.location-taxonomy-v2 .state-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 25rem;
  border: 1px solid var(--lt-border);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 85% 18%, rgb(245 158 11 / 10%), transparent 30%),
    linear-gradient(145deg, #fffdf8 0%, #fff7e8 100%);
  box-shadow: var(--lt-shadow);
}

.location-taxonomy-v2 .state-hero-has-image {
  background-image:
    linear-gradient(90deg, rgb(255 250 242 / 98%) 0%, rgb(255 250 242 / 93%) 47%, rgb(255 250 242 / 58%) 72%, rgb(255 250 242 / 18%) 100%),
    var(--state-hero-image);
  background-size: cover;
  background-position: center;
}

html[dir="rtl"] .location-taxonomy-v2 .state-hero-has-image {
  background-image:
    linear-gradient(270deg, rgb(255 250 242 / 98%) 0%, rgb(255 250 242 / 93%) 47%, rgb(255 250 242 / 58%) 72%, rgb(255 250 242 / 18%) 100%),
    var(--state-hero-image);
}

.location-taxonomy-v2 .state-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgb(255 250 242 / 48%) 100%);
}

.location-taxonomy-v2 .state-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 58rem);
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.4rem, 6vw, 4.75rem);
}

.location-taxonomy-v2 .state-eyebrow,
.location-taxonomy-v2 .state-section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 .8rem;
  color: #a16207;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

html[lang="fa"] .location-taxonomy-v2 .state-eyebrow,
html[lang="fa"] .location-taxonomy-v2 .state-section-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.location-taxonomy-v2 .state-title {
  max-width: 18ch;
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}

html[lang="fa"] .location-taxonomy-v2 .state-title {
  line-height: 1.25;
  letter-spacing: 0;
}

.location-taxonomy-v2 .state-text {
  max-width: 48rem;
  margin: 1.15rem 0 0;
  color: var(--lt-text-soft);
  font-size: clamp(.98rem, 1.5vw, 1.16rem);
  line-height: 1.9;
  text-wrap: pretty;
}

.location-taxonomy-v2 .state-search {
  width: min(100%, 46rem);
  margin-top: 1.65rem;
}

.location-taxonomy-v2 .state-search .hero-search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .55rem;
  padding: .5rem;
  border: 1px solid rgb(255 255 255 / 86%);
  border-radius: 1.4rem;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 16px 40px rgb(15 23 42 / 9%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.location-taxonomy-v2 .state-search .hero-input {
  min-width: 0;
  min-height: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .55rem .95rem;
  border: 1px solid #e5ddd1;
  border-radius: 1rem;
  background: rgb(255 255 255 / 92%);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.location-taxonomy-v2 .state-search .hero-input:focus-within {
  border-color: rgb(217 119 6 / 58%);
  box-shadow: 0 0 0 3px rgb(245 158 11 / 10%);
}

.location-taxonomy-v2 .state-search .hero-input-label {
  margin-bottom: .18rem;
  color: var(--lt-text-muted);
  font-size: .72rem;
  font-weight: 700;
}

.location-taxonomy-v2 .state-search .hero-input-control {
  width: 100%;
  min-width: 0;
  height: 1.8rem;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--lt-text);
  font: inherit;
  font-weight: 650;
  box-shadow: none;
}

.location-taxonomy-v2 .state-search .hero-input-control::placeholder {
  color: #9a938a;
  opacity: 1;
  font-weight: 500;
}

.location-taxonomy-v2 .btn-cta {
  min-height: 4rem;
  padding: .8rem 1.4rem;
  border: 0;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffb223 0%, #f59e0b 100%);
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(217 119 6 / 18%);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.location-taxonomy-v2 .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgb(217 119 6 / 24%);
  filter: saturate(1.04);
}

.location-taxonomy-v2 .state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.location-taxonomy-v2 .state-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: .46rem .82rem;
  border: 1px solid rgb(217 119 6 / 16%);
  border-radius: 999px;
  background: rgb(255 255 255 / 68%);
  color: var(--lt-text-soft);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.location-taxonomy-v2 .state-action-link:hover,
.location-taxonomy-v2 .state-action-link-accent {
  border-color: rgb(217 119 6 / 36%);
  background: var(--lt-accent-soft);
  color: #92400e;
}

.location-taxonomy-v2 .state-section {
  margin-top: clamp(2.5rem, 5vw, 4.6rem);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.location-taxonomy-v2 .state-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

.location-taxonomy-v2 .state-section-title,
.location-taxonomy-v2 .national-location-title {
  margin: 0;
  color: var(--lt-text);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}

html[lang="fa"] .location-taxonomy-v2 .state-section-title,
html[lang="fa"] .location-taxonomy-v2 .national-location-title {
  letter-spacing: 0;
  line-height: 1.45;
}

.location-taxonomy-v2 .state-section-meta {
  flex: 0 0 auto;
  margin: 0;
  color: var(--lt-text-muted);
  font-size: .86rem;
  font-weight: 700;
}

.location-taxonomy-v2 .state-region-grid,
.location-taxonomy-v2 .state-city-grid,
.location-taxonomy-v2 .city-category-grid,
.location-taxonomy-v2 .business-list-grid,
.location-taxonomy-v2 .biz-related-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.location-taxonomy-v2 :is(.state-region-card, .state-city-card, .city-category-card, .business-list-card, .biz-related-inline-card) {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lt-border);
  border-radius: 1.35rem;
  background: var(--lt-surface);
  color: var(--lt-text);
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(79 54 24 / 4%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.location-taxonomy-v2 :is(.state-region-card, .state-city-card, .city-category-card, .business-list-card, .biz-related-inline-card):hover {
  transform: translateY(-2px);
  border-color: rgb(217 119 6 / 32%);
  background: #fffefa;
  box-shadow: var(--lt-shadow-hover);
}

.location-taxonomy-v2 :is(.state-region-media, .state-city-media, .city-category-media, .business-list-media) {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #fff3d8, #f7ead2);
}

.location-taxonomy-v2 :is(.state-region-image, .state-city-image, .city-category-image, .business-list-image) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.location-taxonomy-v2 :is(.state-region-card, .state-city-card, .city-category-card, .business-list-card):hover :is(.state-region-image, .state-city-image, .city-category-image, .business-list-image) {
  transform: scale(1.025);
}

.location-taxonomy-v2 :is(.state-region-fallback, .state-city-fallback, .city-category-fallback, .business-list-fallback) {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #92400e;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 850;
}

.location-taxonomy-v2 :is(.state-region-body, .state-city-body, .city-category-body, .business-list-body) {
  padding: 1.05rem 1.1rem 1.15rem;
}

.location-taxonomy-v2 :is(.state-region-body, .state-city-body, .city-category-body, .business-list-body) strong,
.location-taxonomy-v2 .biz-related-inline-card strong {
  display: block;
  color: var(--lt-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.location-taxonomy-v2 :is(.state-region-body p, .state-city-body span, .city-category-body span, .business-list-body p),
.location-taxonomy-v2 .biz-related-inline-card span {
  margin: .35rem 0 0;
  color: var(--lt-text-muted);
  font-size: .84rem;
  line-height: 1.55;
}

.location-taxonomy-v2 .state-region-meta,
.location-taxonomy-v2 .business-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: .75rem;
}

.location-taxonomy-v2 .state-region-meta span,
.location-taxonomy-v2 .business-list-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: var(--lt-surface-soft);
  color: #8b5e1c;
  font-size: .74rem;
  font-weight: 750;
}

.location-taxonomy-v2 .biz-related-inline-card {
  padding: 1rem 1.05rem;
}

.location-taxonomy-v2 .state-empty {
  padding: 2rem;
  border: 1px dashed var(--lt-border-strong);
  border-radius: 1.25rem;
  background: rgb(255 253 248 / 72%);
  color: var(--lt-text-soft);
  text-align: center;
}

.location-taxonomy-v2 .state-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.7rem;
}

.location-taxonomy-v2 .state-page-link,
.location-taxonomy-v2 .state-page-current {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid var(--lt-border);
  border-radius: .8rem;
  background: var(--lt-surface);
  color: var(--lt-text-soft);
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
}

.location-taxonomy-v2 .state-page-link:hover {
  border-color: rgb(217 119 6 / 32%);
  color: var(--lt-accent-strong);
}

.location-taxonomy-v2 .state-page-current {
  background: var(--lt-surface-soft);
  color: var(--lt-text);
}

.location-taxonomy-v2 .home-faq-list {
  display: grid;
  gap: .7rem;
}

.location-taxonomy-v2 .home-faq-item {
  overflow: hidden;
  border: 1px solid var(--lt-border);
  border-radius: 1rem;
  background: var(--lt-surface);
}

.location-taxonomy-v2 .home-faq-item summary {
  padding: 1rem 1.05rem;
  color: var(--lt-text);
  font-weight: 800;
  cursor: pointer;
}

.location-taxonomy-v2 .home-faq-item p {
  margin: 0;
  padding: 0 1.05rem 1.05rem;
  color: var(--lt-text-soft);
  line-height: 1.8;
}

.location-taxonomy-v2 .state-cta-box {
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--lt-border);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--lt-surface-soft);
}

.location-taxonomy-v2 .state-cta-box p {
  margin: 0;
  color: var(--lt-text-soft);
  line-height: 1.7;
}

.location-taxonomy-v2 .national-location {
  padding: 1.25rem;
  border: 1px solid var(--lt-border);
  border-radius: 1.35rem;
  background: var(--lt-surface);
  color: var(--lt-text);
  box-shadow: 0 8px 24px rgb(79 54 24 / 4%);
}

.location-taxonomy-v2 .national-location-controls {
  gap: .7rem;
  margin-top: 1rem;
}

.location-taxonomy-v2 .national-location-field > span:first-child {
  color: var(--lt-text-muted);
  font-size: .76rem;
  font-weight: 750;
}

.location-taxonomy-v2 .national-location-select select {
  min-height: 3.2rem;
  border-color: var(--lt-border);
  border-radius: .9rem;
  background: var(--lt-surface-strong);
  color: var(--lt-text);
}

.location-taxonomy-v2 .national-location-hint {
  color: var(--lt-text-muted);
}

.location-taxonomy-v2 .national-location-links {
  scrollbar-width: thin;
}

.location-taxonomy-v2 .national-location-links a {
  border-color: var(--lt-border);
  border-radius: 999px;
  background: var(--lt-surface-soft);
  color: var(--lt-text-soft);
  font-weight: 700;
}

.location-taxonomy-v2 .national-location-links a:hover {
  border-color: rgb(217 119 6 / 34%);
  color: var(--lt-accent-strong);
}

@media (max-width: 1023px) {
  .location-taxonomy-v2 > * {
    width: min(calc(100% - 2rem), 88rem);
  }

  .location-taxonomy-v2 .state-hero,
  .location-taxonomy-v2 .state-hero-copy {
    min-height: 22rem;
  }

  .location-taxonomy-v2 .state-hero-copy {
    padding: 2.5rem;
  }

  .location-taxonomy-v2 .state-region-grid,
  .location-taxonomy-v2 .state-city-grid,
  .location-taxonomy-v2 .city-category-grid,
  .location-taxonomy-v2 .business-list-grid,
  .location-taxonomy-v2 .biz-related-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .location-taxonomy-v2 {
    padding-top: .8rem;
    padding-bottom: 3rem;
  }

  .location-taxonomy-v2 > * {
    width: min(calc(100% - 1.25rem), 88rem);
  }

  .location-taxonomy-v2 .state-breadcrumbs {
    margin-bottom: .65rem;
    font-size: .78rem;
  }

  .location-taxonomy-v2 .state-hero {
    min-height: auto;
    border-radius: 1.4rem;
  }

  .location-taxonomy-v2 .state-hero-has-image,
  html[dir="rtl"] .location-taxonomy-v2 .state-hero-has-image {
    background-image:
      linear-gradient(180deg, rgb(255 250 242 / 82%) 0%, rgb(255 250 242 / 96%) 52%, #fffaf2 100%),
      var(--state-hero-image);
    background-position: center top;
  }

  .location-taxonomy-v2 .state-hero-copy {
    min-height: auto;
    padding: 2rem 1.15rem 1.35rem;
  }

  .location-taxonomy-v2 .state-title {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .location-taxonomy-v2 .state-text {
    font-size: .95rem;
    line-height: 1.8;
  }

  .location-taxonomy-v2 .state-search .hero-search-grid {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 1.15rem;
  }

  .location-taxonomy-v2 .state-search .btn-cta {
    width: 100%;
    min-height: 3.35rem;
  }

  .location-taxonomy-v2 .state-section {
    margin-top: 2.7rem;
  }

  .location-taxonomy-v2 .state-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }

  .location-taxonomy-v2 .state-region-grid,
  .location-taxonomy-v2 .state-city-grid,
  .location-taxonomy-v2 .city-category-grid,
  .location-taxonomy-v2 .business-list-grid,
  .location-taxonomy-v2 .biz-related-inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-taxonomy-v2 .state-cta-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  .location-taxonomy-v2 {
    --lt-page: #101010;
    --lt-surface: #171717;
    --lt-surface-strong: #1d1d1d;
    --lt-surface-soft: #201b14;
    --lt-border: #2d2d2d;
    --lt-border-strong: #3b342b;
    --lt-text: #f5f5f5;
    --lt-text-soft: #c7c7c7;
    --lt-text-muted: #9b9b9b;
    --lt-accent: #f59e0b;
    --lt-accent-strong: #fbbf24;
    --lt-accent-soft: #2a2113;
    --lt-shadow: 0 18px 48px rgb(0 0 0 / 18%);
    --lt-shadow-hover: 0 22px 58px rgb(0 0 0 / 28%);
  }

  .location-taxonomy-v2 .state-breadcrumbs > span[aria-hidden="true"],
  .location-taxonomy-v2 .state-breadcrumbs > span:not([aria-current]) {
    color: #5f5a53;
  }

  .location-taxonomy-v2 .state-eyebrow,
  .location-taxonomy-v2 .state-section-kicker {
    color: #fbbf24;
  }

  .location-taxonomy-v2 .state-title {
    color: #fafafa;
  }

  .location-taxonomy-v2 .state-hero {
    border-color: var(--lt-border);
    background:
      radial-gradient(circle at 85% 18%, rgb(245 158 11 / 10%), transparent 30%),
      linear-gradient(145deg, #151515 0%, #111111 100%);
  }

  .location-taxonomy-v2 .state-hero-has-image {
    background-image:
      linear-gradient(90deg, rgb(16 16 16 / 98%) 0%, rgb(16 16 16 / 92%) 48%, rgb(16 16 16 / 63%) 74%, rgb(16 16 16 / 28%) 100%),
      var(--state-hero-image);
  }

  html[dir="rtl"] .location-taxonomy-v2 .state-hero-has-image {
    background-image:
      linear-gradient(270deg, rgb(16 16 16 / 98%) 0%, rgb(16 16 16 / 92%) 48%, rgb(16 16 16 / 63%) 74%, rgb(16 16 16 / 28%) 100%),
      var(--state-hero-image);
  }

  .location-taxonomy-v2 .state-hero::after {
    background: linear-gradient(180deg, transparent 0%, rgb(16 16 16 / 55%) 100%);
  }

  .location-taxonomy-v2 .state-search .hero-search-grid {
    border-color: rgb(255 255 255 / 7%);
    background: rgb(20 20 20 / 80%);
    box-shadow: 0 18px 48px rgb(0 0 0 / 28%);
  }

  .location-taxonomy-v2 .state-search .hero-input {
    border-color: #303030;
    background: rgb(25 25 25 / 94%);
  }

  .location-taxonomy-v2 .state-search .hero-input-control {
    color: #f5f5f5;
  }

  .location-taxonomy-v2 .state-search .hero-input-control::placeholder {
    color: #8f8f8f;
  }

  .location-taxonomy-v2 .state-action-link {
    border-color: rgb(245 158 11 / 18%);
    background: rgb(23 23 23 / 76%);
    color: #c7c7c7;
  }

  .location-taxonomy-v2 .state-action-link:hover,
  .location-taxonomy-v2 .state-action-link-accent {
    border-color: rgb(245 158 11 / 36%);
    background: #2a2113;
    color: #fbbf24;
  }

  .location-taxonomy-v2 :is(.state-region-card, .state-city-card, .city-category-card, .business-list-card, .biz-related-inline-card):hover {
    background: #1b1b1b;
  }

  .location-taxonomy-v2 :is(.state-region-media, .state-city-media, .city-category-media, .business-list-media) {
    background: linear-gradient(145deg, #2a2113, #1b1814);
  }

  .location-taxonomy-v2 :is(.state-region-fallback, .state-city-fallback, .city-category-fallback, .business-list-fallback) {
    color: #fbbf24;
  }

  .location-taxonomy-v2 .state-region-meta span,
  .location-taxonomy-v2 .business-list-meta span {
    color: #f0c36f;
  }

  .location-taxonomy-v2 .state-empty {
    background: rgb(23 23 23 / 72%);
  }

  .location-taxonomy-v2 .national-location-select select {
    color-scheme: dark;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-taxonomy-v2 *,
  .location-taxonomy-v2 *::before,
  .location-taxonomy-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

/* Visual review refinements: keep these scoped to location/taxonomy pages only. */
.location-taxonomy-v2 .state-title {
  max-width: 20ch;
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
}

/* Legacy location styles draw the section kicker as a clipped badge. Keep the
 * hero eyebrow treatment, but make section kickers plain, readable labels. */
.location-taxonomy-v2 .state-section-kicker {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  white-space: normal !important;
  line-height: 1.4 !important;
}

.location-taxonomy-v2 .state-section-kicker::before,
.location-taxonomy-v2 .state-section-kicker::after {
  content: none !important;
  display: none !important;
}

/* The old location bundle still gives some cards a split/grid layout. Force the
 * refreshed cards to a single full-width media + body stack so flags and category
 * imagery actually use the card width. */
.location-taxonomy-v2 :is(.state-region-card, .state-city-card, .city-category-card, .business-list-card) {
  display: block !important;
  grid-template-columns: none !important;
}

.location-taxonomy-v2 :is(.state-region-media, .state-city-media, .city-category-media, .business-list-media) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.location-taxonomy-v2 :is(.state-region-image, .state-city-image, .city-category-image, .business-list-image) {
  width: 100% !important;
  max-width: none !important;
}

/* The legacy search bundle paints the native input itself with a second dark
 * rectangle. The containing .hero-input owns the surface; the input must stay
 * transparent so placeholder and typed text sit on one continuous background. */
.location-taxonomy-v2 .state-search .hero-input-control,
.location-taxonomy-v2 .state-search input.hero-input-control,
.location-taxonomy-v2 .state-search input.hero-input-control[type="search"] {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 639px) {
  .location-taxonomy-v2 .state-title {
    font-size: clamp(1.9rem, 9.5vw, 2.65rem);
  }
}
