.sl-page {
  padding: 1.6rem 0 2.4rem;
}

.sl-breadcrumbs {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.9rem;
}

.sl-hero {
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #101827 0%, #253246 52%, #3b4d67 100%);
  color: #f8fafc;
  border-radius: 16px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.sl-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  line-height: 1.12;
}

.sl-hero p {
  margin: 0;
  color: rgba(248, 250, 252, 0.92);
}

.sl-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f7c948;
  font-weight: 700;
}

.sl-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sl-hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.86rem;
}

.sl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.88rem;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
}

.sl-btn-primary {
  background: #f7c948;
  color: #111827;
}

.sl-btn-secondary {
  background: rgba(15, 23, 42, 0.35);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.3);
}

.sl-stats-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.sl-stat {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.8rem;
  background: #fff;
}

.sl-stat .k {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.sl-stat .v {
  margin: 0.34rem 0 0;
  font-size: 1.56rem;
  font-weight: 800;
  color: #0f172a;
}

.sl-stat .s {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #475569;
}

.sl-care-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.sl-care-tabs a {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f2937;
  background: #fff;
}

.sl-care-tabs a.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.sl-map-shell {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  min-height: 430px;
  position: relative;
}

.sl-map {
  width: 100%;
  height: 430px;
}

.sl-map-popup {
  font-size: 0.82rem;
  line-height: 1.45;
}

.sl-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #475569;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(248, 250, 252, 0.75));
  z-index: 500;
}

.sl-map-controls {
  position: absolute;
  right: 0.72rem;
  top: 0.72rem;
  z-index: 520;
  display: grid;
  gap: 0.35rem;
}

.sl-map-controls button {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 8px;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.35rem 0.5rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}

.sl-map-controls button.is-active {
  background: #111827;
  color: #f8fafc;
  border-color: #111827;
}

.sl-map-facility-icon-wrap,
.sl-map-hospital-icon-wrap {
  background: transparent;
  border: 0;
}

.sl-map-facility-icon {
  --pin-color: #2e7d32;
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 999px;
  background: var(--pin-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.28);
}

.sl-map-hospital-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  border: 2px solid #0f172a;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
}

.sl-map-popup-card {
  display: grid;
  gap: 0.35rem;
  min-width: 210px;
}

.sl-map-popup-card h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.25;
}

.sl-map-popup-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.35;
}

.sl-map-popup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.26rem;
  margin-top: 0.15rem;
}

.sl-map-popup-badge {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.1rem 0.36rem;
  font-size: 0.64rem;
  line-height: 1.2;
  color: #334155;
  background: #f8fafc;
  font-weight: 700;
}

.sl-map-popup-link {
  margin-top: 0.2rem;
  font-size: 0.77rem;
  font-weight: 800;
  color: #1d4ed8;
}

.sl-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: 0.9rem;
}

.sl-section {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.sl-section h2 {
  margin: 0;
  font-size: 1.25rem;
}

.sl-section p {
  margin: 0.72rem 0 0;
  color: #334155;
  line-height: 1.58;
}

.sl-pill-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.sl-pill-list li {
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  background: #fff;
}

.sl-regulatory {
  margin-top: 1rem;
  border: 1px solid #33261f;
  border-radius: 16px;
  background: linear-gradient(125deg, #111827 0%, #1f2937 60%, #1e293b 100%);
  color: #f8fafc;
  padding: 1.1rem;
}

.sl-regulatory h2,
.sl-regulatory h3 {
  margin: 0;
}

.sl-regulatory p {
  margin: 0.7rem 0 0;
  color: rgba(248, 250, 252, 0.87);
  line-height: 1.55;
}

.sl-reg-cards {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sl-reg-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
  padding: 0.75rem;
  display: grid;
  gap: 0.42rem;
}

.sl-reg-card p {
  margin: 0;
  font-size: 0.81rem;
  color: rgba(248, 250, 252, 0.78);
}

.sl-reg-card a {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f7c948;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sl-featured-block {
  margin-top: 1rem;
}

.sl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.66rem;
}

.sl-premium-tag {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.sl-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.sl-featured-card {
  border: 1px solid #f7c948;
  border-radius: 12px;
  background: #fff;
  padding: 0.8rem;
  display: grid;
  gap: 0.52rem;
}

.sl-featured-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.sl-featured-top {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  align-items: center;
}

.sl-verified-pill {
  border: 1px solid #eab308;
  color: #854d0e;
  background: #fef9c3;
  border-radius: 999px;
  padding: 0.08rem 0.46rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.sl-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  font-size: 0.79rem;
  color: #475569;
}

.sl-featured-meta a {
  color: #1d4ed8;
  font-weight: 700;
}

.sl-featured-actions {
  display: flex;
  gap: 0.5rem;
}

.sl-featured-actions .sl-btn {
  font-size: 0.79rem;
  padding: 0.42rem 0.58rem;
}

.sl-facility-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.sl-facility-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.8rem;
  background: #fff;
}

.sl-facility-item h3 {
  margin: 0;
  font-size: 1.04rem;
}

.sl-facility-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.sl-badge-row {
  margin-top: 0.48rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.sl-badge {
  border-radius: 999px;
  padding: 0.15rem 0.48rem;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.care-assisted {
  background: #ecfdf3;
  color: #166534;
  border-color: #86efac;
}

.care-memory {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.care-nursing {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.care-independent {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #c4b5fd;
}

.care-residential {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

.care-adult-day {
  background: #ecfeff;
  color: #0e7490;
  border-color: #67e8f9;
}

.care-ccrc {
  background: #f7f7f7;
  color: #44403c;
  border-color: #d6d3d1;
}

.sl-facility-actions {
  margin-top: 0.58rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
  font-size: 0.81rem;
}

.sl-facility-actions a {
  color: #1d4ed8;
  font-weight: 700;
}

.sl-data-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem;
}

.sl-data-grid .cell {
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.54rem 0.65rem;
  background: #fff;
}

.sl-data-grid .cell .k {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sl-data-grid .cell .v {
  margin-top: 0.28rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.sl-faq {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.sl-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.72rem 0.83rem;
  background: #fff;
}

.sl-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.sl-faq p {
  margin: 0.62rem 0 0;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.56;
}

.sl-nearby-grid {
  margin-top: 0.74rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.sl-nearby-grid a {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.58rem 0.64rem;
  background: #fff;
  display: grid;
  gap: 0.22rem;
}

.sl-nearby-grid a strong {
  font-size: 0.9rem;
}

.sl-nearby-grid a span {
  color: #64748b;
  font-size: 0.77rem;
}

.sl-trust-footer {
  margin-top: 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 0.74rem 0.82rem;
  background: #f8fafc;
  color: #475569;
  font-size: 0.83rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.sl-muted {
  color: #64748b;
}

.sl-city-page {
  padding-top: 2rem;
  padding-bottom: 3.4rem;
}

.sl-city-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at top left, rgba(255, 249, 239, 0.98) 0%, rgba(252, 245, 236, 0.96) 32%, rgba(244, 237, 226, 0.98) 100%);
  box-shadow: 0 28px 70px rgba(86, 67, 33, 0.08);
}

.sl-city-hero::after {
  content: '';
  position: absolute;
  inset: auto -3.5rem -4rem auto;
  width: 15rem;
  height: 15rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212, 160, 11, 0.18) 0%, rgba(212, 160, 11, 0) 70%);
  pointer-events: none;
}

.sl-city-kicker {
  margin: 0;
  color: #b88318;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sl-city-display {
  margin: 0.5rem 0 0;
  max-width: 12ch;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #171717;
}

.sl-city-display-accent {
  color: #b4833d;
}

.sl-city-lead {
  margin: 1.25rem 0 0;
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #505965;
}

.sl-city-copy {
  margin-top: 1.45rem;
  max-width: 49rem;
  display: grid;
  gap: 1rem;
}

.sl-city-copy p {
  margin: 0;
  color: #404853;
  font-size: 1rem;
  line-height: 1.86;
}

.sl-city-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.sl-city-stat {
  border: 1px solid #eadfce;
  border-radius: 18px;
  background: #fff;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(86, 67, 33, 0.04);
}

.sl-city-stat-label {
  margin: 0;
  color: #8a6a39;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sl-city-stat-value {
  margin: 0.48rem 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  line-height: 1;
  color: #171717;
}

.sl-city-stat-value--cost {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.sl-city-stat-note {
  margin: 0.44rem 0 0;
  color: #66707d;
  font-size: 0.88rem;
  line-height: 1.5;
}

.sl-city-section {
  margin-top: 2.4rem;
}

.sl-city-section--regulations {
  padding: 2rem 2rem 2.1rem;
  border: 1px solid #eadfce;
  border-radius: 24px;
  background: linear-gradient(180deg, #faf7f1 0%, #f5efe4 100%);
}

.sl-city-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.sl-city-section-head h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  line-height: 1.05;
  color: #171717;
}

.sl-city-section-head p {
  margin: 0.55rem 0 0;
  max-width: 44rem;
  color: #616b77;
  line-height: 1.7;
}

.sl-city-section-kicker {
  margin: 0 0 0.55rem;
  color: #8a6a39;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sl-city-section-link {
  white-space: nowrap;
  border-bottom: 1px solid #c7a26c;
  color: #8a5d16;
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 0.18rem;
}

.sl-city-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.sl-city-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 180px;
  border: 1px solid #eadfce;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(86, 67, 33, 0.05);
}

.sl-city-card--no-side {
  grid-template-columns: 136px minmax(0, 1fr);
}

.sl-city-card-mark {
  position: relative;
  border-right: 1px solid #eadfce;
  background: linear-gradient(180deg, #faf2e5 0%, #f2e6d3 100%);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
}

.sl-city-card-mark::before {
  content: '';
  position: absolute;
  inset: 1rem auto auto 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 106, 57, 0.22);
}

.sl-city-card-monogram {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: #8a5d16;
}

.sl-city-card-mark-label {
  position: relative;
  z-index: 1;
  color: #75644a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sl-city-card-body {
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 0.88rem;
}

.sl-city-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.sl-city-card-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.14;
  color: #171717;
}

.sl-city-card-title a:hover {
  color: #8a5d16;
}

.sl-city-card-address {
  margin: 0.42rem 0 0;
  color: #66707d;
  line-height: 1.65;
}

.sl-city-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.sl-city-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7dce3;
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  color: #374151;
  background: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sl-city-pill--trust {
  border-color: #eadfce;
  background: #faf4ea;
  color: #8a5d16;
}

.sl-city-pill--neutral {
  border-color: #dce2e8;
  background: #f8fafc;
  color: #4b5563;
}

.sl-city-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  color: #535c68;
  font-size: 0.92rem;
}

.sl-city-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.sl-city-card-meta strong {
  color: #18181b;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sl-city-card-meta a {
  color: #8a5d16;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(138, 93, 22, 0.28);
  text-underline-offset: 0.16rem;
}

.sl-city-card-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem 1rem;
  padding-top: 0.92rem;
  border-top: 1px solid #ede7dc;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sl-city-card-side {
  border-left: 1px solid #eadfce;
  background: #fcfaf6;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-city-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  background: #18181b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sl-city-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.sl-city-grid-cards--nearby {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sl-city-grid-card {
  border: 1px solid #eadfce;
  border-radius: 18px;
  background: #fff;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.36rem;
  min-height: 100%;
  box-shadow: 0 12px 28px rgba(86, 67, 33, 0.04);
}

.sl-city-grid-card strong {
  color: #171717;
  font-size: 1rem;
  line-height: 1.35;
}

.sl-city-grid-card span {
  color: #66707d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.sl-city-grid-card--static {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 241, 0.96) 100%);
}

.sl-city-accordion {
  display: grid;
  gap: 0.72rem;
}

.sl-city-accordion details {
  border: 1px solid #e4d9c6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.95rem 1rem;
}

.sl-city-accordion summary {
  cursor: pointer;
  font-weight: 800;
  color: #1f2937;
  font-size: 1rem;
}

.sl-city-accordion p {
  margin: 0.75rem 0 0;
  color: #55606d;
  line-height: 1.75;
}

.sl-city-local-resources {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #ede7dc;
}

.sl-city-local-resources p {
  margin: 0 0 0.75rem;
  color: #4b5563;
  font-size: 0.94rem;
  font-weight: 700;
}

.sl-city-local-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sl-city-local-pills span {
  border: 1px solid #eadfce;
  border-radius: 999px;
  padding: 0.34rem 0.74rem;
  background: #faf4ea;
  color: #8a5d16;
  font-size: 0.83rem;
  font-weight: 700;
}

.sl-city-trust-note {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  color: #6b7280;
  font-size: 0.84rem;
}

.sl-state-page {
  padding-top: 2rem;
  padding-bottom: 3.8rem;
}

.sl-state-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #2a241d;
  border-radius: 0; /* Full width for the new template look */
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: #1A1A1A;
  color: #f7f0e2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 60vh;
  justify-content: center;
}

.sl-state-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  filter: grayscale(100%);
}

.sl-state-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-state-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #1A1A1A, transparent, #1A1A1A);
  pointer-events: none;
}

.sl-state-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.sl-state-hero-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.sl-state-hero-flag {
  color: #D4AF37;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sl-state-hero-kicker {
  color: rgba(247, 240, 226, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sl-state-hero-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sl-state-hero-accent {
  color: #D4AF37;
}

.sl-state-hero-lead {
  margin: 0;
  max-width: 42rem;
  color: rgba(247, 240, 226, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
}

.sl-state-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.sl-btn-primary {
  background: #D4AF37;
  color: #1A1A1A;
  transition: all 0.2s;
}

.sl-btn-primary:hover {
  background: #F4E0A1;
  transform: translateY(-1px);
}

.sl-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sl-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sl-state-stats {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #2e2923;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #171411 0%, #1f1a15 100%);
  box-shadow: 0 16px 36px rgba(20, 12, 7, 0.12);
}

.sl-state-stat {
  padding: 1rem 1.1rem 1.05rem;
  border-right: 1px solid rgba(226, 213, 187, 0.12);
}

.sl-state-stat:last-child {
  border-right: 0;
}

.sl-state-stat-value {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1;
  color: #f8ecd7;
}

.sl-state-stat-label {
  margin: 0.38rem 0 0;
  color: #d8b264;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sl-state-stat-note {
  margin: 0.42rem 0 0;
  color: rgba(247, 240, 226, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.sl-state-overview,
.sl-state-resources,
.sl-state-section--markets {
  margin-top: 2.2rem;
  border: 1px solid #eadfce;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf8 0%, #faf6ef 100%);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: 0 14px 34px rgba(86, 67, 33, 0.05);
}

.sl-state-section {
  margin-top: 2.4rem;
}

.sl-state-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.sl-state-section-head h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  color: #181512;
}

.sl-state-section-head p {
  margin: 0.55rem 0 0;
  max-width: 44rem;
  color: #616b77;
  line-height: 1.72;
}

.sl-state-section-kicker {
  margin: 0 0 0.55rem;
  color: #b2863d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sl-state-section-link {
  white-space: nowrap;
  border-bottom: 1px solid #c7a26c;
  color: #8a5d16;
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 0.18rem;
}

.sl-state-overview-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.sl-state-overview-copy p {
  margin: 0;
  color: #424b57;
  font-size: 0.98rem;
  line-height: 1.84;
}

.sl-state-hub-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
}

.sl-state-hub-card {
  position: relative;
  overflow: hidden;
  min-height: 13rem;
  border: 1px solid #2d2924;
  border-radius: 24px;
  padding: 1.2rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: flex-end;
  background: linear-gradient(140deg, #1f252d 0%, #364554 45%, #1a1d22 100%);
  box-shadow: 0 18px 36px rgba(29, 21, 13, 0.16);
  color: #f8f0e1;
}

.sl-state-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.14) 0%, rgba(8, 8, 10, 0.68) 100%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 22%);
  pointer-events: none;
}

.sl-state-hub-card.is-featured {
  grid-column: span 8;
  min-height: 15rem;
  background: linear-gradient(135deg, #243644 0%, #4f6d7f 44%, #1b232d 100%);
}

.sl-state-hub-card.is-secondary {
  grid-column: span 4;
  background: linear-gradient(135deg, #3a2f25 0%, #6a5440 46%, #1f1b17 100%);
}

.sl-state-hub-card.is-compact {
  grid-column: span 6;
  min-height: 12.25rem;
  background: linear-gradient(135deg, #252729 0%, #34363c 50%, #18191c 100%);
}

.sl-state-hub-card > * {
  position: relative;
  z-index: 1;
}

.sl-state-hub-region {
  margin: 0;
  color: #ddb666;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sl-state-hub-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.02;
  color: #fff7eb;
}

.sl-state-hub-meta {
  margin: 0;
  color: rgba(250, 240, 223, 0.92);
  font-weight: 700;
  line-height: 1.5;
}

.sl-state-hub-note {
  margin: 0;
  color: rgba(250, 240, 223, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

.sl-state-hub-cta {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3d18f 0%, #c69231 100%);
  color: #23160c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sl-state-method {
  margin-top: 2.4rem;
}

.sl-state-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.sl-state-method-card {
  border: 1px solid #eadfce;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9f6ef 100%);
  padding: 1.35rem 1.3rem;
  box-shadow: 0 14px 34px rgba(86, 67, 33, 0.05);
}

.sl-state-method-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #171717;
}

.sl-state-method-card p {
  margin: 0.8rem 0 0;
  color: #4f5966;
  line-height: 1.72;
}

.sl-state-method-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.sl-state-method-card li {
  position: relative;
  padding-left: 1rem;
  color: #6a7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sl-state-method-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #c69231;
}

.sl-state-method-card--cost {
  background: linear-gradient(180deg, #171411 0%, #221d17 100%);
  border-color: #2d2822;
}

.sl-state-method-card--cost h3,
.sl-state-method-card--cost p,
.sl-state-method-card--cost strong {
  color: #f9efdd;
}

.sl-state-method-kicker {
  margin: 0;
  color: #d7a84f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sl-state-cost-pill {
  margin-top: 1rem;
  border: 1px solid rgba(215, 168, 79, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.28rem;
}

.sl-state-cost-pill span {
  color: rgba(249, 239, 221, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sl-state-cost-pill strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.sl-state-resources {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(145deg, #171816 0%, #2a2823 52%, #3f3a31 100%);
  border-color: #4a4336;
  color: #f8efdf;
}

.sl-state-resources::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.sl-state-resources > * {
  position: relative;
  z-index: 1;
}

.sl-state-resources .sl-state-section-kicker {
  color: rgba(245, 208, 141, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.sl-state-resources-copy h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.sl-state-resources-copy p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.sl-state-trust-callout {
  margin-top: 1rem;
  border: 1px solid rgba(215, 168, 79, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.36rem;
}

.sl-state-trust-callout strong {
  color: #f5d08d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sl-state-trust-callout span {
  color: rgba(248, 239, 223, 0.84);
  line-height: 1.65;
}

.sl-state-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.sl-state-resource-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1.05rem 1rem;
  display: grid;
  gap: 0.42rem;
  min-height: 100%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.sl-state-resource-card strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.sl-state-resource-card span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.sl-state-resource-card span:last-child {
  color: #f5d08d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sl-state-resource-card a {
  color: #f5d08d;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.sl-state-resource-card a:hover {
  color: #ffe1ab;
}

.sl-state-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem 0.9rem;
}

.sl-state-market-link {
  border-bottom: 1px solid #eadfce;
  padding-bottom: 0.7rem;
  display: grid;
  gap: 0.24rem;
}

.sl-state-market-link strong {
  color: #171717;
  font-size: 1rem;
}

.sl-state-market-link span {
  color: #66707d;
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .sl-reg-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-nearby-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sl-city-card {
    grid-template-columns: 120px minmax(0, 1fr) 164px;
  }

  .sl-city-card--no-side {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .sl-city-grid-cards--nearby {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-state-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-state-overview-copy {
    grid-template-columns: 1fr 1fr;
  }

  .sl-state-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-state-hub-card,
  .sl-state-hub-card.is-featured,
  .sl-state-hub-card.is-secondary,
  .sl-state-hub-card.is-compact {
    grid-column: span 1;
  }

  .sl-state-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-state-resources {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .sl-stats-grid,
  .sl-featured-grid,
  .sl-data-grid {
    grid-template-columns: 1fr;
  }

  .sl-grid {
    grid-template-columns: 1fr;
  }

  .sl-nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-map-shell,
  .sl-map {
    min-height: 330px;
    height: 330px;
  }

  .sl-city-stats,
  .sl-city-grid-cards {
    grid-template-columns: 1fr 1fr;
  }

  .sl-city-card {
    grid-template-columns: 1fr;
  }

  .sl-city-card-mark,
  .sl-city-card-side {
    border: 0;
  }

  .sl-city-card-mark {
    border-bottom: 1px solid #eadfce;
    min-height: 112px;
  }

  .sl-city-card-side {
    border-top: 1px solid #eadfce;
  }

  .sl-city-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sl-state-resource-grid,
  .sl-state-market-grid,
  .sl-state-overview-copy {
    grid-template-columns: 1fr;
  }

  .sl-state-section-head,
  .sl-state-section-head--split {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .sl-nearby-grid {
    grid-template-columns: 1fr;
  }

  .sl-city-page {
    padding-top: 1.4rem;
  }

  .sl-state-page {
    padding-top: 1.4rem;
  }

  .sl-city-hero,
  .sl-city-section--regulations {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .sl-state-hero,
  .sl-state-overview,
  .sl-state-resources,
  .sl-state-section--markets {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .sl-city-stats,
  .sl-city-grid-cards {
    grid-template-columns: 1fr;
  }

  .sl-state-stats,
  .sl-state-method-grid,
  .sl-state-resource-grid,
  .sl-state-market-grid,
  .sl-state-hub-grid {
    grid-template-columns: 1fr;
  }

  .sl-city-card-body {
    padding: 1rem;
  }

  .sl-city-card-side {
    padding: 1rem;
  }

  .sl-city-display {
    max-width: none;
    font-size: clamp(2.3rem, 11vw, 3.1rem);
  }

  .sl-state-hero-title {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}
