/* ============================================================
   Realty Sold Summary — Frontend Styles
   Scoped to .rss-wrap to avoid theme conflicts
   ============================================================ */

/* ── Theme override reset — prevent theme heading/link styles bleeding in ── */
.rss-wrap h1,
.rss-wrap h2,
.rss-wrap h3,
.rss-wrap h4,
.rss-wrap p,
.rss-wrap span,
.rss-wrap a,
.rss-wrap td,
.rss-wrap th,
.rss-wrap button,
.rss-wrap div {
  box-sizing: border-box;
}

/* Neutralise common theme colour injections on headings */
.rss-hero .rss-wrap h1,
.rss-hero h1,
.rss-hero h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  background-image: none !important;
  text-shadow: none !important;
}

:root {
  --rss-blue:       #0056a7;
  --rss-blue-dark:  #003f7d;
  --rss-blue-light: #e8f2ff;
  --rss-ink:        #1a1a1a;
  --rss-body:       #444;
  --rss-muted:      #888;
  --rss-border:     #e4e8ee;
  --rss-bg:         #f4f6f9;
  --rss-white:      #ffffff;
  --rss-green:      #1a7f4b;
  --rss-green-bg:   #eaf6f0;
  --rss-red:        #c0392b;
  --rss-red-bg:     #fdf0ee;
  --rss-amber:      #b06e00;
  --rss-amber-bg:   #fff8e6;
  --rss-radius:     10px;
  --rss-shadow:     0 2px 12px rgba(0,0,0,0.07);
}

/* ── Wrapper ── */
.rss-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rss-body);
}

.rss-wrap * { box-sizing: border-box; }
.rss-wrap a { text-decoration: none; }

/* ── Hero ── */
.rss-hero {
  background: linear-gradient(135deg, var(--rss-blue-dark) 0%, var(--rss-blue) 60%, #1a7cb8 100%);
  color: var(--rss-white);
  padding: 48px 0 40px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.rss-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}

.rss-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.rss-badge,
.rss-wrap .rss-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px;
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.92) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  -webkit-text-fill-color: rgba(255,255,255,0.92) !important;
}

.rss-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5dde8f;
  animation: rss-blink 2s infinite;
}

@keyframes rss-blink {
  0%,100% { opacity:1; }
  50%      { opacity:0.3; }
}

.rss-hero h1,
.rss-wrap .rss-hero h1,
.rss-wrap .rss-hero h1 *,
.rss-hero h1 a {
  font-size: clamp(26px, 4vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.8px !important;
  color: #ffffff !important;
  margin: 0 0 12px !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

.rss-hero h1 .rss-hl,
.rss-wrap .rss-hero h1 .rss-hl {
  color: #7ec8f5 !important;
  -webkit-text-fill-color: #7ec8f5 !important;
}

.rss-hero-desc,
.rss-wrap .rss-hero-desc {
  font-size: 15px !important;
  color: rgba(255,255,255,0.80) !important;
  max-width: 480px;
  line-height: 1.7 !important;
  font-weight: 300 !important;
  margin-bottom: 18px !important;
  background: none !important;
  -webkit-text-fill-color: rgba(255,255,255,0.80) !important;
}

.rss-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rss-hero-tag,
.rss-wrap .rss-hero-tag,
.rss-wrap .rss-hero-tag a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 4px 11px;
  border-radius: 100px;
  -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
}

/* Archive card */
.rss-archive-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--rss-radius);
  padding: 18px;
}

.rss-archive-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.rss-archive-list { list-style: none; margin: 0; padding: 0; }
.rss-archive-list li { border-bottom: 1px solid rgba(255,255,255,0.15); }
.rss-archive-list li:last-child { border-bottom: none; }
.rss-archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.15s;
}
.rss-archive-list a:hover { opacity: 0.75; color: #ffffff !important; }
.rss-archive-list a.rss-current { color: #ffffff !important; font-weight: 700; }

.rss-archive-pill {
  font-size: 10px;
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
}

/* ── Stat Strip ── */
.rss-stats {
  background: #f0f5fb;
  border-top: 1px solid #d0e2f4;
  border-bottom: 1px solid #d0e2f4;
}

.rss-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.rss-stat {
  padding: 22px 16px;
  border-right: 1px solid #d0e2f4;
}
.rss-stat:last-child { border-right: none; }
.rss-stat:first-child { padding-left: 0; }

.rss-stat-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rss-muted);
  font-weight: 700;
  margin-bottom: 5px;
}

.rss-stat-value {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--rss-ink);
  line-height: 1.1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.rss-stat-value.rss-blue  { color: var(--rss-blue); }
.rss-stat-value.rss-green { color: var(--rss-green); }
.rss-stat-value.rss-amber { color: var(--rss-amber); }

.rss-stat-note {
  font-size: 11px;
  color: var(--rss-muted);
}

/* ── Main content area ── */
.rss-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

/* ── Section header ── */
.rss-sec-head {
  margin-bottom: 18px;
}

.rss-sec-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--rss-ink);
  letter-spacing: -0.3px;
}

.rss-sec-sub {
  font-size: 12px;
  color: var(--rss-muted);
  margin-top: 3px;
}

/* ── Tabs ── */
.rss-tab-bar {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--rss-border);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rss-tab-bar::-webkit-scrollbar { display: none; }

.rss-tab-btn {
  background: none;
  border: none;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rss-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  font-family: inherit;
}
.rss-tab-btn:hover  { color: var(--rss-ink); }
.rss-tab-btn.rss-active { color: var(--rss-blue); border-bottom-color: var(--rss-blue); }

.rss-tab-panel { display: none; }
.rss-tab-panel.rss-active { display: block; }

/* ── Table ── */
.rss-table-wrap {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-top: none;
  border-radius: 0 0 var(--rss-radius) var(--rss-radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--rss-shadow);
}

.rss-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 520px;
}

.rss-table thead th {
  background: #f8f9fb;
  padding: 11px 14px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rss-muted);
  border-bottom: 1px solid var(--rss-border);
  white-space: nowrap;
}
.rss-table thead th.r { text-align: right; }
.rss-table thead th.c { text-align: center; }

.rss-table tbody tr {
  border-bottom: 1px solid var(--rss-border);
  transition: background 0.12s;
}
.rss-table tbody tr:last-child { border-bottom: none; }
.rss-table tbody tr:hover { background: #f8faff; }

.rss-table td { padding: 12px 14px; vertical-align: middle; }

.rss-city-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--rss-ink);
}

/* Ready for when city links are enabled — swap span → a and add class rss-city-link */
.rss-city-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--rss-ink);
  text-decoration: none;
  transition: color 0.15s;
}
.rss-city-link:hover { color: var(--rss-blue); text-decoration: underline; }
.rss-city-nolink {
  font-weight: 600;
  font-size: 14px;
  color: var(--rss-muted);
}

.rss-td-r { text-align: right; font-variant-numeric: tabular-nums; }
.rss-td-c { text-align: center; }
.rss-muted-cell { color: var(--rss-muted); }

/* Badges */
.rss-badge-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.rss-b-green { background: var(--rss-green-bg); color: var(--rss-green); }
.rss-b-red   { background: var(--rss-red-bg);   color: var(--rss-red); }
.rss-b-amber { background: var(--rss-amber-bg); color: var(--rss-amber); }
.rss-b-blue  { background: var(--rss-blue-light); color: var(--rss-blue); }

.rss-txt-green { color: var(--rss-green); font-weight: 700; }
.rss-txt-red   { color: var(--rss-red);   font-weight: 700; }

/* DOM bars */
.rss-dom-wrap { display: flex; align-items: center; gap: 7px; justify-content: flex-end; }
.rss-dom-track { width: 54px; height: 4px; background: var(--rss-border); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.rss-dom-fill  { height: 100%; border-radius: 2px; background: var(--rss-blue); transition: width 1.2s ease; }
.rss-dom-fill.hot  { background: var(--rss-green); }
.rss-dom-fill.slow { background: var(--rss-red); }

/* ── Explainer cards ── */
.rss-explain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.rss-explain-card {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-radius: var(--rss-radius);
  padding: 22px;
  box-shadow: var(--rss-shadow);
}

.rss-explain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rss-ink);
  margin: 0 0 8px;
}

.rss-explain-card p {
  font-size: 13px;
  color: var(--rss-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Programs panel ── */
.rss-programs {
  margin-top: 40px;
  background: var(--rss-blue-light);
  border: 1px solid #c6dff7;
  border-radius: var(--rss-radius);
  padding: 28px;
}

.rss-programs h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rss-blue-dark);
  margin: 0 0 6px;
}

.rss-programs-sub {
  font-size: 13px;
  color: var(--rss-blue);
  margin-bottom: 20px;
}

.rss-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rss-program-card {
  background: var(--rss-white);
  border: 1px solid #c6dff7;
  border-radius: 8px;
  padding: 18px;
}

.rss-program-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--rss-blue-dark);
  margin: 0 0 6px;
}

.rss-program-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--rss-blue);
  line-height: 1.1;
  margin-bottom: 6px;
}

.rss-program-card p {
  font-size: 12px;
  color: var(--rss-muted);
  line-height: 1.6;
  margin: 0;
}

.rss-programs-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--rss-blue);
  opacity: 0.75;
}

/* ── FAQ ── */
.rss-faq { margin-top: 40px; }

.rss-faq-head {
  margin-bottom: 16px;
}

.rss-faq-item {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-radius: var(--rss-radius);
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--rss-shadow);
}

.rss-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rss-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}
.rss-faq-q:hover { background: #f8faff; }

.rss-faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--rss-blue-light);
  color: var(--rss-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
  line-height: 1;
}

.rss-faq-item.rss-open .rss-faq-icon {
  transform: rotate(45deg);
  background: var(--rss-blue);
  color: var(--rss-white);
}

.rss-faq-a {
  display: none;
  padding: 14px 20px 16px;
  font-size: 13px;
  color: var(--rss-muted);
  line-height: 1.75;
  border-top: 1px solid var(--rss-border);
}
.rss-faq-item.rss-open .rss-faq-a { display: block; }

.rss-hl-text {
  display: inline-block;
  background: var(--rss-blue-light);
  color: var(--rss-blue);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
}

/* ── CTA ── */
.rss-cta {
  margin-top: 40px;
  background: var(--rss-blue);
  border-radius: 14px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.rss-cta h2 {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}

.rss-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.75) !important;
  margin: 0;
}

.rss-cta-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

.rss-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.rss-btn-white { background: #ffffff !important; color: var(--rss-blue) !important; }
.rss-btn-white:hover { background: #f0f7ff !important; color: var(--rss-blue) !important; }
.rss-btn-ghost { background: rgba(255,255,255,0.12) !important; color: #ffffff !important; border: 1px solid rgba(255,255,255,0.3) !important; }
.rss-btn-ghost:hover { background: rgba(255,255,255,0.22) !important; color: #ffffff !important; }

/* ── No data state ── */
.rss-no-data {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-radius: var(--rss-radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--rss-muted);
}

.rss-no-data p { margin: 8px 0 0; font-size: 14px; }

/* ── Property Type Switcher ── */
.rss-type-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  padding: 16px 0 0;
}

.rss-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rss-white);
  border: 2px solid var(--rss-border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rss-muted);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.rss-type-btn:hover {
  border-color: var(--rss-blue);
  color: var(--rss-blue);
}
.rss-type-btn.rss-active {
  background: var(--rss-blue);
  border-color: var(--rss-blue);
  color: #ffffff !important;
}

.rss-type-icon { font-size: 15px; }
.rss-type-label { white-space: nowrap; }

.rss-type-count {
  background: rgba(0,0,0,0.12);
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 2px;
}
.rss-type-btn.rss-active .rss-type-count {
  background: rgba(255,255,255,0.25);
}

.rss-type-panel { display: none; }
.rss-type-panel.rss-active { display: block; }

.rss-type-panel .rss-tab-bar {
  border-top: none;
  margin-top: 0;
  background: #f8f9fb;
  padding: 0 4px;
  border: 1px solid var(--rss-border);
  border-bottom: none;
  border-radius: var(--rss-radius) var(--rss-radius) 0 0;
}

/* ── Data Disclaimer ── */
.rss-disclaimer {
  margin-top: 28px;
  padding: 16px 20px;
  background: #f8f9fb;
  border: 1px solid var(--rss-border);
  border-left: 3px solid #c0c8d4;
  border-radius: 6px;
}

.rss-disclaimer p {
  font-size: 11px;
  color: #999;
  line-height: 1.7;
  margin: 0;
}

.rss-disclaimer strong {
  color: #777;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .rss-hero-inner   { grid-template-columns: 1fr; }
  .rss-archive-card { display: none; }
  .rss-hero         { padding: 32px 0 28px; }
  .rss-hero h1      { font-size: 26px; }

  .rss-stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .rss-stat         { padding: 16px 12px; }
  .rss-stat:nth-child(2) { border-right: none; }
  .rss-stat:first-child  { padding-left: 12px; }

  .rss-explain-grid  { grid-template-columns: 1fr; }
  .rss-programs-grid { grid-template-columns: 1fr; }

  .rss-cta { grid-template-columns: 1fr; padding: 28px 20px; }
  .rss-cta-btns { justify-content: flex-start; }

  .rss-main { padding: 28px 16px 24px; }
  .rss-tab-btn { padding: 10px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
  .rss-hero-tags  { gap: 4px; }
  .rss-hero-tag   { font-size: 10px; }
  .rss-stat-value { font-size: 19px; }
  .rss-btn        { padding: 10px 16px; font-size: 12px; }
}


/* ============================================================
   City Sold Page  [sold_city]
   All colours from existing :root variables — no new values
   ============================================================ */

/* ── Stat strip: 6-col for city page ── */
.rss-city-stats-grid {
  grid-template-columns: repeat(6, 1fr);
}
.rss-city-stats-grid .rss-stat:last-child  { border-right: none; }
.rss-city-stats-grid .rss-stat:first-child { padding-left: 0; }

/* ── City hero breadcrumb ── */
.rss-city-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.rss-city-breadcrumb a {
  color: rgba(255,255,255,0.7) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
  transition: opacity 0.15s;
}
.rss-city-breadcrumb a:hover { opacity: 0.85; }
.rss-city-breadcrumb span { opacity: 0.4; }

/* ── Hero right sidebar card ── */
.rss-city-hero-inner {
  grid-template-columns: 1fr 240px;
}

.rss-city-hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--rss-radius);
  overflow: hidden;
}

.rss-city-hcard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
}
.rss-city-hcard-row:last-child { border-bottom: none; }

.rss-city-hcard-label {
  color: rgba(255,255,255,0.6) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.6) !important;
  font-size: 11px;
}

.rss-city-hcard-value {
  font-weight: 700;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-variant-numeric: tabular-nums;
}
.rss-city-hcard-value.rss-blue  { color: #7ec8f5 !important; -webkit-text-fill-color: #7ec8f5 !important; }
.rss-city-hcard-value.rss-green { color: #5dde8f !important; -webkit-text-fill-color: #5dde8f !important; }
.rss-city-hcard-value.rss-amber { color: #ffd077 !important; -webkit-text-fill-color: #ffd077 !important; }

/* ── Two-col layout: content + sidebar ── */
.rss-city-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.rss-city-content { min-width: 0; }

/* ── Type panel data split ── */
.rss-city-data-card {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-top: none;
  border-radius: 0 0 var(--rss-radius) var(--rss-radius);
  box-shadow: var(--rss-shadow);
  overflow: hidden;
}

.rss-city-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rss-city-split-col {
  padding: 20px;
  border-right: 1px solid var(--rss-border);
}
.rss-city-split-col:last-child { border-right: none; }

.rss-city-split-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rss-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rss-border);
  margin-bottom: 14px;
}

/* ── Price rows ── */
.rss-city-prow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #f2f4f7;
  font-size: 13px;
}
.rss-city-prow:last-child { border-bottom: none; }

.rss-city-prow-label { color: var(--rss-muted); }

.rss-city-prow-val {
  font-weight: 700;
  color: var(--rss-ink);
  font-variant-numeric: tabular-nums;
}
.rss-city-prow-hero {
  font-size: 18px;
  font-weight: 800;
  color: var(--rss-blue);
  letter-spacing: -0.3px;
}
.rss-city-prow-muted { color: var(--rss-muted); font-weight: 400; }

/* Sale/list badge variants */
.rss-city-sl-hot  { background: var(--rss-green-bg); color: var(--rss-green); }
.rss-city-sl-warm { background: var(--rss-blue-light); color: var(--rss-blue); }
.rss-city-sl-cold { background: var(--rss-red-bg); color: var(--rss-red); }

/* ── Luxury strip ── */
.rss-city-lux-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rss-border);
  margin-top: 14px;
  padding-top: 14px;
}
.rss-city-lux-item { text-align: center; padding: 0 8px; border-right: 1px solid var(--rss-border); }
.rss-city-lux-item:first-child { text-align: left; padding-left: 0; }
.rss-city-lux-item:last-child  { border-right: none; }

.rss-city-lux-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rss-muted);
  margin-bottom: 4px;
}
.rss-city-lux-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--rss-ink);
  font-variant-numeric: tabular-nums;
}

/* ── Competition bars ── */
.rss-city-comp-row { margin-bottom: 14px; }
.rss-city-comp-row:last-of-type { margin-bottom: 0; }

.rss-city-comp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
  font-size: 13px;
}
.rss-city-comp-label { color: var(--rss-muted); }
.rss-city-comp-val   { font-weight: 700; font-variant-numeric: tabular-nums; }

.rss-city-comp-track {
  height: 5px;
  background: var(--rss-border);
  border-radius: 100px;
  overflow: hidden;
}
.rss-city-comp-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s ease;
}
.rss-city-comp-green { background: var(--rss-green); }
.rss-city-comp-amber { background: var(--rss-amber); }
.rss-city-comp-red   { background: var(--rss-red); }

/* ── DOM bar (city page version — standalone, not table cell) ── */
.rss-city-dom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rss-border);
}
.rss-city-dom-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 7px;
}
.rss-city-dom-label { color: var(--rss-muted); }
.rss-city-dom-val   { font-weight: 700; color: var(--rss-ink); font-variant-numeric: tabular-nums; }

.rss-city-dom-track {
  height: 7px;
  background: var(--rss-border);
  border-radius: 100px;
  overflow: hidden;
}
.rss-city-dom-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--rss-amber);
  transition: width 0.8s ease;
}
.rss-city-dom-fill.hot  { background: var(--rss-green); }
.rss-city-dom-fill.slow { background: var(--rss-red); }

.rss-city-dom-scale {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--rss-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Verdict strip ── */
.rss-city-verdict {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--rss-bg);
  border: 1px solid var(--rss-border);
  border-left: 3px solid var(--rss-blue);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--rss-body);
  line-height: 1.6;
}
.rss-city-verdict strong { color: var(--rss-ink); }

/* ── Nearby cities table wrapper ── */
.rss-city-nearby-card {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-top: none;
  border-radius: 0 0 var(--rss-radius) var(--rss-radius);
  overflow-x: auto;
  box-shadow: var(--rss-shadow);
}

/* ── Sidebar cards ── */
.rss-city-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rss-city-side-card {
  background: var(--rss-white);
  border: 1px solid var(--rss-border);
  border-radius: var(--rss-radius);
  box-shadow: var(--rss-shadow);
  overflow: hidden;
}

.rss-city-side-head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--rss-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rss-muted);
}

.rss-city-side-body { padding: 12px 16px; }

.rss-city-nearby-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rss-border);
  font-size: 13px;
}
.rss-city-nearby-row:last-child { border-bottom: none; }
.rss-city-nearby-name  { font-weight: 500; color: var(--rss-ink); }
.rss-city-nearby-price { color: var(--rss-blue); font-weight: 700; font-variant-numeric: tabular-nums; }

.rss-city-side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--rss-blue) !important;
  border-top: 1px solid var(--rss-border);
  transition: background 0.12s;
}
.rss-city-side-link:hover { background: var(--rss-blue-light); }

/* ── Archive list (sidebar) ── */
.rss-city-arch-list { list-style: none; margin: 0; padding: 0; }
.rss-city-arch-list li { border-bottom: 1px solid var(--rss-border); }
.rss-city-arch-list li:last-child { border-bottom: none; }
.rss-city-arch-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 12px;
  color: var(--rss-body);
  transition: color 0.12s;
}
.rss-city-arch-list a:hover    { color: var(--rss-blue); }
.rss-city-arch-list a.rss-city-arch-cur { color: var(--rss-blue); font-weight: 600; }

/* ── CTA card (sidebar) ── */
.rss-city-cta {
  background: linear-gradient(135deg, var(--rss-blue-dark) 0%, var(--rss-blue) 100%);
  border-radius: var(--rss-radius);
  padding: 22px 18px;
  color: #ffffff;
}

.rss-city-cta-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 7px;
}

.rss-city-cta p {
  font-size: 12px;
  color: rgba(255,255,255,0.75) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
  margin-bottom: 14px;
  line-height: 1.5;
}

.rss-city-cta-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: var(--rss-blue) !important;
  -webkit-text-fill-color: var(--rss-blue) !important;
  transition: opacity 0.15s;
  margin-bottom: 8px;
}
.rss-city-cta-btn:last-child { margin-bottom: 0; }
.rss-city-cta-btn:hover { opacity: 0.88; }

.rss-city-cta-btn-ghost {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.3);
}
.rss-city-cta-btn-ghost:hover { background: rgba(255,255,255,0.22) !important; }

/* ── Responsive — city page ── */
@media (max-width: 900px) {
  .rss-city-main { grid-template-columns: 1fr; }
  .rss-city-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .rss-city-stats-grid .rss-stat:nth-child(3) { border-right: none; }
  .rss-city-stats-grid .rss-stat:nth-child(4),
  .rss-city-stats-grid .rss-stat:nth-child(5),
  .rss-city-stats-grid .rss-stat:nth-child(6) { border-top: 1px solid #d0e2f4; }
}

@media (max-width: 768px) {
  .rss-city-hero-inner { grid-template-columns: 1fr; }
  .rss-city-split      { grid-template-columns: 1fr; }
  .rss-city-split-col:first-child { border-right: none; border-bottom: 1px solid var(--rss-border); }
  .rss-city-lux-strip  { grid-template-columns: 1fr 1fr; }
  .rss-city-lux-item:nth-child(2) { border-right: none; }
  .rss-city-lux-item:last-child   { grid-column: span 2; text-align: left; padding-left: 0; border-top: 1px solid var(--rss-border); padding-top: 10px; margin-top: 4px; }
}

@media (max-width: 480px) {
  .rss-city-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rss-city-stats-grid .rss-stat:nth-child(2) { border-right: none; }
  .rss-city-stats-grid .rss-stat:nth-child(3) { border-right: 1px solid #d0e2f4; }
  .rss-city-stats-grid .rss-stat:nth-child(6) { display: none; }
}
