/* ==========================================================================
   Listuply design system
   Palette borrows from American roadside commerce: interstate-sign blue,
   the amber of a hand-painted FOR SALE placard, and a cool grey paper.
   Type pairs Archivo (signage grotesque) with IBM Plex Mono, which carries
   every piece of listing data - prices, mileage, square footage, IDs.
   ========================================================================== */

:root {
  --brand: #FD5701;
  --brand-hover: #E94F00;
  --brand-active: #D94700;
  --brand-soft: #FFF2EB;
  --brand-soft-strong: #FFD8C5;
  --brand-surface: #FFF7F3;
  --ink: #1D2127;
  --ink-2: #344054;
  --muted: #667085;
  --faint: #98A2B3;
  --paper: #F7F8FA;
  --card: #ffffff;
  --surface-soft: #FAFAFA;
  --surface-warm: #FFF9F6;
  --line: #E5E7EB;
  --line-soft: #EEF0F2;
  --line-strong: #D0D5DD;
  --header: #252A30;
  --header-secondary: #323840;
  --header-search: #3A414A;
  --header-border: #4A525C;
  --header-placeholder: #B5BDC7;

  --route: var(--brand);
  --route-dark: var(--brand-hover);
  --route-tint: var(--brand-soft);
  --sign: var(--brand-soft);
  --sign-dark: var(--brand-active);
  --sign-tint: var(--brand-surface);
  --verify: #1b7a55;
  --verify-tint: #e4f2eb;
  --alert: #b03a2e;
  --alert-tint: #f8e9e7;

  --display: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --data: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 29, .06), 0 1px 1px rgba(20, 24, 29, .04);
  --shadow: 0 4px 16px rgba(20, 24, 29, .08);
  --shadow-lg: 0 18px 48px rgba(20, 24, 29, .16);

  --rail: 268px;
  --header-h: 62px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 30px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--route);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r);
}
.skip-link:focus { left: 8px; }

.wrap { width: min(1440px, 100% - 32px); margin-inline: auto; }

/* ------------------------------------------------------------- masthead -- */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: var(--route);
  color: #fff;
  border-bottom: 1px solid var(--route-dark);
}
.masthead-inner {
  display: flex; align-items: center; gap: 14px;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--sign); color: var(--route-dark);
  display: grid; place-items: center;
  font-family: var(--data); font-weight: 600; font-size: 16px;
}
.logo-word { font-size: 20px; font-weight: 800; letter-spacing: -0.035em; }
.logo-word span { color: var(--sign); }

.search-shell { flex: 1; display: flex; min-width: 0; position: relative; }
.search-shell form { display: flex; width: 100%; gap: 0; }
.search-input, .search-zip {
  border: none; background: #fff; color: var(--ink);
  height: 40px; padding: 0 14px;
}
.search-input { flex: 1; min-width: 0; border-radius: var(--r) 0 0 var(--r); }
.search-zip {
  width: 108px; font-family: var(--data); font-size: 13px;
  border-left: 1px solid var(--line);
}
.search-go {
  height: 40px; padding: 0 18px; border: none; cursor: pointer;
  background: var(--sign); color: var(--route-dark);
  font-weight: 700; border-radius: 0 var(--r) var(--r) 0;
}
.search-go:hover { background: #ffb524; }

.suggest {
  position: absolute; top: 46px; left: 0; right: 0; z-index: 70;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.suggest button {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  width: 100%; text-align: left; padding: 9px 14px;
  background: none; border: none; cursor: pointer; border-bottom: 1px solid var(--line);
}
.suggest button:last-child { border-bottom: none; }
.suggest button:hover, .suggest button[aria-selected="true"] { background: var(--route-tint); }
.suggest .ctx { font-size: 11px; color: var(--muted); font-family: var(--data); white-space: nowrap; }

.mast-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mast-link {
  padding: 8px 11px; border-radius: var(--r); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.88); position: relative;
}
.mast-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.mast-badge {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px;
  background: var(--sign); color: var(--route-dark); border-radius: 8px;
  font-family: var(--data); font-size: 10px; font-weight: 600;
  display: grid; place-items: center; padding: 0 4px;
}
.btn-post {
  background: var(--sign); color: var(--route-dark); font-weight: 700;
  padding: 9px 16px; border-radius: var(--r); border: none; cursor: pointer;
  white-space: nowrap;
}
.btn-post:hover { background: #ffb524; }

/* category bar */
.catbar { background: var(--route-dark); }
.catbar-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catbar-inner::-webkit-scrollbar { display: none; }
.catbar a {
  padding: 9px 13px; font-size: 13px; font-weight: 500; white-space: nowrap;
  color: rgba(255,255,255,.78); border-bottom: 2px solid transparent;
}
.catbar a:hover { color: #fff; }
.catbar a.is-active { color: #fff; border-bottom-color: var(--sign); }
.catbar .count { font-family: var(--data); font-size: 11px; opacity: .6; margin-left: 5px; }

/* ---------------------------------------------------------------- main -- */

.main { min-height: 70vh; padding-bottom: 56px; }

.page-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 14px; padding: 22px 0 14px;
}
.crumbs { font-size: 12px; color: var(--muted); font-family: var(--data); margin-bottom: 6px; }
.crumbs a:hover { color: var(--route); text-decoration: underline; }
.crumbs span { opacity: .5; margin: 0 5px; }

.result-count { font-family: var(--data); font-size: 13px; color: var(--muted); }
.result-count b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------- browse layout -- */

.browse { display: grid; grid-template-columns: var(--rail) 1fr; gap: 22px; align-items: start; }

.rail {
  position: sticky; top: calc(var(--header-h) + 42px);
  max-height: calc(100vh - var(--header-h) - 60px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 4px 0;
  scrollbar-width: thin;
}
.rail-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.rail-head h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.rail-clear { background: none; border: none; color: var(--route); font-size: 12px; cursor: pointer; font-weight: 600; }
.rail-clear:hover { text-decoration: underline; }

.facet { border-bottom: 1px solid var(--line); }
.facet:last-child { border-bottom: none; }
.facet > summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 11px 14px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.facet > summary::-webkit-details-marker { display: none; }
.facet > summary::after {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform .15s;
}
.facet[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.facet-body { padding: 0 14px 13px; }
.facet-scroll { max-height: 216px; overflow-y: auto; margin: -2px -4px 0; padding: 2px 4px; }

.check {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
  font-size: 13px; cursor: pointer;
}
.check input { width: 15px; height: 15px; accent-color: var(--route); flex-shrink: 0; margin: 0; }
.check .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check .n { font-family: var(--data); font-size: 11px; color: var(--faint); }
.check:hover .label { color: var(--route); }

.range-row { display: flex; gap: 7px; align-items: center; }
.range-row input {
  width: 100%; min-width: 0; height: 32px; padding: 0 8px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: var(--data); font-size: 12px; background: #fff;
}
.range-row span { color: var(--faint); font-size: 12px; }
.range-presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chip-mini {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 3px 9px; font-size: 11px; font-family: var(--data);
  cursor: pointer; color: var(--ink-2);
}
.chip-mini:hover { border-color: var(--route); color: var(--route); }
.chip-mini.is-on { background: var(--route); border-color: var(--route); color: #fff; }

.histogram { display: flex; align-items: flex-end; gap: 2px; height: 34px; margin-bottom: 9px; }
.histogram i {
  flex: 1; background: var(--route-tint); border-radius: 1px 1px 0 0;
  min-height: 2px; transition: background .15s;
}
.histogram i.is-in { background: var(--route); }

.subcat-list a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 5px 0; font-size: 13px;
}
.subcat-list a:hover { color: var(--route); }
.subcat-list .n { font-family: var(--data); font-size: 11px; color: var(--faint); }

/* ---------------------------------------------------------- result bar -- */

.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 9px 12px; margin-bottom: 14px;
}
.toolbar .spacer { flex: 1; }
.select {
  height: 34px; padding: 0 30px 0 10px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); background: #fff; font-size: 13px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2369737d' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.geo-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 5px 6px 5px 12px;
  font-family: var(--data); font-size: 12px; background: #fff;
}
.geo-pill input { width: 62px; border: none; font-family: var(--data); font-size: 12px; padding: 0; }
.geo-pill select { border: none; background: var(--paper); border-radius: 14px; padding: 3px 6px; font-size: 11px; font-family: var(--data); cursor: pointer; }

.view-toggle { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button {
  border: none; background: #fff; padding: 7px 11px; cursor: pointer; font-size: 12px; font-weight: 600;
  color: var(--muted);
}
.view-toggle button.is-on { background: var(--route); color: #fff; }

.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--route-tint); color: var(--route-dark);
  border: 1px solid #c9d8e6; border-radius: 20px;
  padding: 4px 8px 4px 11px; font-size: 12px; font-weight: 500;
}
.chip button {
  border: none; background: rgba(23,70,110,.14); color: var(--route);
  width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 11px; line-height: 1; padding: 0;
}
.chip button:hover { background: var(--route); color: #fff; }

/* --------------------------------------------------------------- cards -- */

.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
}
.grid.is-list { grid-template-columns: 1fr; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  position: relative;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }

.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-flags { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; }
.flag {
  font-family: var(--data); font-size: 10px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 3px;
  background: rgba(20,24,29,.78); color: #fff; backdrop-filter: blur(4px);
}
.flag.is-featured { background: var(--sign); color: var(--route-dark); }
.flag.is-sold { background: var(--alert); }
.flag.is-free { background: var(--verify); }
.photo-count {
  position: absolute; bottom: 8px; right: 8px;
  font-family: var(--data); font-size: 10px; padding: 2px 6px; border-radius: 3px;
  background: rgba(20,24,29,.7); color: #fff;
}
.save-btn {
  position: absolute; top: 7px; right: 7px; width: 30px; height: 30px;
  border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .12s;
}
.save-btn:hover { transform: scale(1.08); }
.save-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--ink-2); stroke-width: 1.9; }
.save-btn.is-on svg { fill: var(--alert); stroke: var(--alert); }

.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price {
  font-family: var(--data); font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink);
}
.card-price .unit { font-size: 11px; color: var(--muted); font-weight: 400; }
.card-price.is-free { color: var(--verify); }
.card-price .obo { font-size: 10px; color: var(--muted); margin-left: 5px; text-transform: uppercase; letter-spacing: .05em; }
.card-title {
  font-size: 14px; font-weight: 500; line-height: 1.32; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card-title { color: var(--route); }

/* the signature element: a category-aware monospace data strip */
.spec-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 7px;
  font-family: var(--data); font-size: 11px; letter-spacing: -0.01em;
  color: var(--ink-2);
  border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong);
  padding: 5px 0; margin-top: auto;
  text-transform: uppercase;
}
.spec-strip .sep { color: var(--line-strong); }
.spec-strip em { font-style: normal; color: var(--faint); }

.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--data); font-size: 11px; color: var(--muted);
}
.card-foot .dist { color: var(--route); font-weight: 500; }
.card a.stretch { position: absolute; inset: 0; z-index: 1; }
.card .save-btn { z-index: 2; }

/* list view variant */
.grid.is-list .card { flex-direction: row; }
.grid.is-list .card-media { width: 230px; flex-shrink: 0; aspect-ratio: 4 / 3; }
.grid.is-list .card-body { padding: 14px 16px; }
.grid.is-list .card-title { font-size: 16px; font-weight: 600; color: var(--ink); -webkit-line-clamp: 1; }
.grid.is-list .card-price { font-size: 20px; }
.grid.is-list .card-blurb {
  font-size: 13px; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.grid.is-list .spec-strip { margin-top: 0; }

/* ---------------------------------------------------------------- home -- */

.hero {
  background: var(--route); color: #fff;
  padding: 40px 0 34px;
  border-bottom: 3px solid var(--sign);
}
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.035em; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--sign); }
.hero p { color: rgba(255,255,255,.8); max-width: 54ch; margin-top: 12px; font-size: 16px; }

.hero-demo {
  margin-top: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); padding: 16px; max-width: 720px;
}
.hero-demo-label {
  font-family: var(--data); font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--sign); margin-bottom: 10px;
}
.hero-demo-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-demo-row .chip-mini {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.85);
}
.hero-demo-row .chip-mini:hover { background: var(--sign); border-color: var(--sign); color: var(--route-dark); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 4px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  border-left: 3px solid var(--tile-accent, var(--route));
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile-name { font-weight: 600; font-size: 15px; }
.tile-count { font-family: var(--data); font-size: 11px; color: var(--muted); }
.tile-kids { font-size: 11px; color: var(--faint); line-height: 1.4; margin-top: 3px; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 32px 0 14px;
}
.section-head h2 { font-size: 19px; }
.section-head a { font-size: 13px; color: var(--route); font-weight: 600; }
.section-head a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- listing -- */

.detail { display: grid; grid-template-columns: 1fr 342px; gap: 26px; align-items: start; padding-top: 18px; }

.gallery { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: #0e1216; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 17px;
  box-shadow: var(--shadow);
}
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.gallery-strip { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.gallery-strip img {
  width: 74px; height: 56px; object-fit: cover; border-radius: var(--r-sm);
  cursor: pointer; opacity: .55; border: 2px solid transparent;
}
.gallery-strip img.is-on { opacity: 1; border-color: var(--route); }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; margin-top: 16px;
}
.panel h3 { margin-bottom: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.panel .body-copy { white-space: pre-wrap; line-height: 1.62; color: var(--ink-2); }

.spec-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 22px; }
.spec-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.spec-row dt { color: var(--muted); font-size: 13px; }
.spec-row dd { margin: 0; font-family: var(--data); font-size: 13px; font-weight: 500; text-align: right; }

.feature-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-pill {
  background: var(--verify-tint); color: #145f42; border-radius: 20px;
  padding: 4px 11px; font-size: 12px; font-weight: 500;
}

.buy-box {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.buy-head { padding: 18px 18px 16px; border-bottom: 1px solid var(--line); }
.buy-price { font-family: var(--data); font-size: 31px; font-weight: 600; letter-spacing: -0.03em; }
.buy-price .unit { font-size: 14px; color: var(--muted); }
.buy-title { font-size: 17px; font-weight: 600; margin: 6px 0 10px; line-height: 1.3; }
.buy-loc { font-family: var(--data); font-size: 12px; color: var(--muted); }
.buy-actions { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: background .13s, border-color .13s;
  white-space: nowrap;
}
.btn-primary { background: var(--route); color: #fff; }
.btn-primary:hover { background: var(--route-dark); }
.btn-sign { background: var(--sign); color: var(--route-dark); }
.btn-sign:hover { background: #ffb524; }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--route); color: var(--route); }
.btn-danger { background: var(--alert-tint); color: var(--alert); border-color: #eccbc7; }
.btn-danger:hover { background: var(--alert); color: #fff; }
.btn-sm { height: 32px; font-size: 13px; padding: 0 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

.seller-box { padding: 16px 18px; border-top: 1px solid var(--line); }
.seller-row { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--route-tint); color: var(--route); display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
}
.seller-name { font-weight: 600; font-size: 14px; }
.seller-meta { font-family: var(--data); font-size: 11px; color: var(--muted); }
.verify-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--verify-tint); color: #145f42;
  font-size: 10px; font-family: var(--data); text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 6px; border-radius: 3px; margin-left: 6px;
}

.safety {
  background: var(--sign-tint); border: 1px solid #f0dcae; border-radius: var(--r);
  padding: 12px 14px; font-size: 12px; color: #6b4a00; line-height: 1.55; margin-top: 14px;
}
.safety b { display: block; margin-bottom: 3px; }

/* ---------------------------------------------------------------- form -- */

.form-page { max-width: 760px; margin-inline: auto; padding-top: 24px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field .req { color: var(--alert); margin-left: 2px; }
.input, .textarea, select.input {
  width: 100%; height: 42px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff;
}
select.input {
  appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2369737d' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.textarea { height: auto; min-height: 148px; padding: 11px 12px; line-height: 1.55; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--route); outline: none; box-shadow: 0 0 0 3px var(--route-tint); }
.input.is-error { border-color: var(--alert); }
.field-error { color: var(--alert); font-size: 12px; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.steps { display: flex; gap: 4px; margin-bottom: 22px; }
.step {
  flex: 1; padding: 8px 4px 9px; border-top: 3px solid var(--line);
  font-family: var(--data); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em;
}
.step.is-done { border-top-color: var(--verify); color: var(--verify); }
.step.is-on { border-top-color: var(--route); color: var(--route); font-weight: 600; }

.cat-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.cat-option {
  text-align: left; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: 11px 13px; cursor: pointer; font-size: 14px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.cat-option:hover { border-color: var(--route); color: var(--route); }
.cat-option.is-on { background: var(--route); border-color: var(--route); color: #fff; }
.cat-option .arrow { color: var(--faint); font-size: 12px; }

.dropzone {
  border: 2px dashed var(--line-strong); border-radius: var(--r-lg);
  padding: 30px; text-align: center; cursor: pointer; background: #fff;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--route); background: var(--route-tint); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 12px; }
.thumb { position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(20,24,29,.75); color: #fff; cursor: pointer; font-size: 12px;
}
.thumb .cover-tag {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(23,70,110,.9); color: #fff;
  font-family: var(--data); font-size: 9px; text-align: center; padding: 2px; text-transform: uppercase;
}

/* -------------------------------------------------------- account/misc -- */

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a {
  padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--route); border-bottom-color: var(--route); font-weight: 600; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px;
}
.stat .n { font-family: var(--data); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-lg); overflow: hidden; }
.table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table .mono { font-family: var(--data); font-size: 12px; }

.status-dot {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  font-family: var(--data); text-transform: uppercase; letter-spacing: .04em;
}
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status-dot.active::before { background: var(--verify); }
.status-dot.sold::before { background: var(--route); }
.status-dot.draft::before { background: var(--sign); }
.status-dot.removed::before { background: var(--alert); }

/* messages */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
.thread-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.thread-item {
  display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.thread-item:hover { background: var(--paper); }
.thread-item.is-on { background: var(--route-tint); }
.thread-item img { width: 46px; height: 46px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.thread-item .t { flex: 1; min-width: 0; }
.thread-item .who { font-size: 13px; font-weight: 600; }
.thread-item .prev { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-item .unread { background: var(--sign); color: var(--route-dark); border-radius: 10px; padding: 1px 6px; font-family: var(--data); font-size: 10px; font-weight: 600; height: fit-content; }

.chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; height: 66vh; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.chat-head img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 68%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.bubble.them { background: var(--paper); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.mine { background: var(--route); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble .time { display: block; font-family: var(--data); font-size: 10px; opacity: .6; margin-top: 4px; }
.bubble .offer { font-family: var(--data); font-weight: 600; display: block; margin-bottom: 3px; }
.chat-foot { padding: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.chat-foot input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 20px; }

/* empty + loading */
.empty {
  text-align: center; padding: 56px 20px; background: var(--card);
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
}
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

.skeleton { background: linear-gradient(90deg, #e9ece7 25%, #f3f5f1 50%, #e9ece7 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-card { height: 268px; }

/* pagination */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 26px; }
.pager button {
  min-width: 36px; height: 36px; border: 1px solid var(--line-strong); background: #fff;
  border-radius: var(--r-sm); cursor: pointer; font-family: var(--data); font-size: 13px;
}
.pager button:hover:not(:disabled) { border-color: var(--route); color: var(--route); }
.pager button.is-on { background: var(--route); border-color: var(--route); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

/* toast */
.toast-stack { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--r);
  font-size: 14px; box-shadow: var(--shadow-lg); animation: rise .22s ease-out;
  max-width: 90vw;
}
.toast.is-error { background: var(--alert); }
.toast.is-good { background: var(--verify); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(20,24,29,.5); z-index: 200;
  display: grid; place-items: center; padding: 20px; animation: fade .15s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card); border-radius: var(--r-lg); width: min(460px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-head { padding: 18px 20px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-body { padding: 16px 20px 20px; }
.modal-close { border: none; background: none; cursor: pointer; font-size: 22px; color: var(--muted); line-height: 1; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 34px 0 26px; font-size: 13px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.footer h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 9px; }
.footer a { display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-base { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--data); font-size: 11px; }

/* mobile */
.rail-toggle { display: none; }

@media (max-width: 1060px) {
  .detail { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .msg-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .browse { grid-template-columns: 1fr; }
  .rail {
    position: fixed; inset: 0; z-index: 120; max-height: none; border-radius: 0;
    transform: translateX(-100%); transition: transform .22s ease;
  }
  .rail.is-open { transform: none; }
  .rail-toggle { display: inline-flex; }
  .grid.is-list .card { flex-direction: column; }
  .grid.is-list .card-media { width: 100%; }
  .search-zip { display: none; }
  .mast-link.hide-sm { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
  .hero { padding: 28px 0 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ========================================================================== 
   Nationwide marketplace portal layer
   ========================================================================== */

.masthead { box-shadow: 0 2px 8px rgba(92, 39, 9, .18); }
.masthead-inner { gap: 12px; }
.logo-mark { background: #fff; color: var(--route); border-radius: 4px; box-shadow: 0 0 0 2px rgba(255,255,255,.28); }
.logo-word span { color: #fff0df; font-size: 13px; margin-left: 2px; }
.search-input { border-radius: 4px 0 0 4px; }
.search-location {
  width: 205px; height: 40px; border: 0; border-left: 1px solid #e4e4e4;
  background: #fff; padding: 0 11px; cursor: pointer;
  display: flex; align-items: center; gap: 7px; color: var(--ink-2);
}
.search-location:hover { background: #fff8f3; }
.search-location .loc-dot { width: 8px; height: 8px; border: 2px solid var(--route); border-radius: 50%; flex: 0 0 auto; }
.search-location .loc-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; text-align: left; font-size: 12px; }
.search-go { background: #25303b; color: #fff; border-radius: 0 4px 4px 0; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.search-go:hover { background: #111820; }
.btn-post { background: #fff; color: var(--route-dark); border: 1px solid rgba(255,255,255,.8); }
.btn-post:hover { background: #fff6ed; }
.catbar { background: #303842; border-bottom: 1px solid #1e252d; }
.catbar-inner { align-items: stretch; }
.catbar a { padding-block: 8px; }
.catbar .all-categories-link { color: #fff; font-weight: 700; background: rgba(0,0,0,.16); }
.catbar .advanced-link { margin-left: auto; color: #ffd4ba; font-weight: 600; }

.portal-wrap { width: calc(100% - 32px); max-width: 1440px; min-width: 0; margin: 18px auto 0; display: grid; gap: 18px; }
.portal-home { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 18px; align-items: start; }
.portal-main { min-width: 0; display: grid; gap: 18px; }
.portal-categories { background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.portal-category { border-bottom: 1px solid var(--line); padding: 0; }
.portal-category:last-child { border-bottom: 0; }
.portal-category-head {
  min-height: 50px; padding: 8px 10px; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, #fff 0%, #fff 82%, #fafaf8 100%);
}
.portal-category-head:hover { background: var(--route-tint); color: var(--route-dark); }
.portal-category-head > span:nth-child(2) { min-width: 0; flex: 1; }
.portal-category-head strong { display: block; font-size: 13px; }
.portal-category-head small { display: block; color: var(--muted); font: 10px var(--data); margin-top: 2px; }
.portal-category-icon {
  width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 50%; background: var(--route-tint); color: var(--route-dark); border: 1px solid #ffd7bd;
  font: 700 12px var(--data);
}
.portal-chevron { color: var(--faint); font-size: 20px; }
.portal-category-links { padding: 0 14px 9px 49px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.portal-category-links a { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.portal-category-links a:hover { color: var(--route-dark); text-decoration: underline; }
.portal-category-links .portal-more { color: var(--route); font-weight: 700; }

.market-hero {
  min-height: 285px; border-radius: 2px; padding: 34px 38px; overflow: hidden;
  background: radial-gradient(circle at 86% 18%, rgba(255,255,255,.28) 0 4%, transparent 4.2%), radial-gradient(circle at 82% 72%, rgba(255,255,255,.14) 0 16%, transparent 16.3%), linear-gradient(120deg, #ef6414 0%, #f77c29 62%, #ff984e 100%);
  color: #fff; display: flex; justify-content: space-between; gap: 30px; box-shadow: var(--shadow);
}
.market-hero-copy { max-width: 720px; }
.market-hero .eyebrow { display: block; font: 600 11px var(--data); letter-spacing: .12em; margin-bottom: 12px; color: #fff1e7; }
.market-hero h1 { font-size: clamp(34px, 4vw, 54px); max-width: 13ch; letter-spacing: -.045em; }
.market-hero p { max-width: 690px; font-size: 16px; color: rgba(255,255,255,.9); margin: 15px 0 23px; }
.hero-actions { display: flex; gap: 9px; }
.hero-cta { background: #27313b !important; border-color: #27313b !important; }
.hero-secondary { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
.hero-stat-stack { display: grid; gap: 8px; align-content: center; width: 180px; flex: 0 0 auto; }
.hero-stat-stack div { padding: 12px 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(4px); }
.hero-stat-stack b { display: block; font: 700 21px var(--data); }
.hero-stat-stack span { font-size: 11px; color: rgba(255,255,255,.82); }

.portal-panel { background: #fff; border: 1px solid var(--line-strong); padding: 16px; box-shadow: var(--shadow-sm); }
.portal-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #303842; }
.portal-panel-head h2 { font-size: 17px; }
.portal-panel-head p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.portal-panel-head > a { color: var(--route-dark); font-size: 12px; font-weight: 700; }
.quick-panel { padding-bottom: 12px; }
.quick-search-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.quick-search { border: 1px solid var(--line); background: #fafaf8; padding: 10px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; text-align: left; font-size: 12px; }
.quick-search:hover { border-color: #f4a16c; background: var(--route-tint); color: var(--route-dark); }
.quick-search b { color: var(--route); }
.data-source { font: 10px var(--data); color: var(--muted); background: var(--paper); padding: 5px 8px; }
.loading-panel { color: var(--muted); text-align: center; padding: 28px; }
.state-directory { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-width: 1px 0 0 1px; }
.state-directory button { min-height: 46px; background: #fff; border: 1px solid var(--line); border-width: 0 1px 1px 0; cursor: pointer; padding: 7px 8px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 5px; text-align: left; }
.state-directory button:hover { background: var(--route-tint); }
.state-directory b { color: var(--route-dark); font: 700 12px var(--data); }
.state-directory span { font-size: 10.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.state-directory small { color: var(--faint); font: 9px var(--data); }
.market-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.market-features div { padding: 18px; background: #fff; }
.market-features b { display: block; font-size: 13px; color: var(--route-dark); margin-bottom: 5px; }
.market-features span { display: block; font-size: 11px; color: var(--muted); }

.location-picker { min-width: min(680px, calc(100vw - 64px)); }
.location-intro { color: var(--muted); font-size: 13px; }
.location-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.location-fields .select { width: 100%; height: 40px; }
.location-coverage { padding: 11px; background: var(--route-tint); border-left: 3px solid var(--route); color: var(--ink-2); font: 10px/1.5 var(--data); }
.location-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line-strong); background: #fff; }
.browse > div { min-width: 0; }
.listing-table { width: 100%; min-width: 1050px; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.listing-table th { background: #303842; color: #fff; padding: 8px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.listing-table th:nth-child(1) { width: 36px; }
.listing-table th:nth-child(2) { width: 92px; }
.listing-table th:nth-child(3) { width: 30%; }
.listing-table th:nth-child(4), .listing-table th:nth-child(5), .listing-table th:nth-child(6) { width: 9%; }
.listing-table th:nth-child(7) { width: 12%; }
.listing-table th:nth-child(8) { width: 11%; }
.listing-table th:nth-child(9) { width: 8%; }
.listing-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.listing-table tbody tr:nth-child(even) { background: #fafaf8; }
.listing-table tbody tr:hover { background: #fff3e9; }
.table-photo img { width: 76px; height: 56px; object-fit: cover; border: 1px solid var(--line); }
.table-title a { color: #285a88; font-weight: 700; line-height: 1.3; }
.table-title a:hover { color: var(--route-dark); text-decoration: underline; }
.table-title small { display: block; color: var(--muted); margin-top: 5px; }
.table-spec { font: 11px var(--data); color: var(--ink-2); }
.table-price .card-price { font-size: 14px; white-space: normal; }
.table-location b, .table-location span { display: block; }
.table-location span, .table-date { color: var(--muted); font-size: 10px; }
.table-save .save-btn { position: static; width: 26px; height: 26px; border-color: transparent; box-shadow: none; }
.footer { background: #2d343c; color: #d8dde1; border-top: 4px solid var(--route); }

@media (max-width: 1120px) {
  .portal-home { grid-template-columns: 250px minmax(0, 1fr); }
  .state-directory { grid-template-columns: repeat(4, 1fr); }
  .hero-stat-stack { display: none; }
  .search-location { width: 155px; }
}

@media (max-width: 860px) {
  .portal-wrap { width: min(100% - 20px, 1440px); margin-top: 10px; }
  .portal-home { grid-template-columns: 1fr; }
  .portal-categories { display: grid; grid-template-columns: repeat(2, 1fr); }
  .portal-category { border-right: 1px solid var(--line); }
  .portal-category-links { display: none; }
  .market-hero { min-height: auto; padding: 26px 22px; }
  .market-hero h1 { font-size: 34px; }
  .state-directory { grid-template-columns: repeat(3, 1fr); }
  .market-features { grid-template-columns: repeat(2, 1fr); }
  .search-location { width: 110px; }
}

@media (max-width: 620px) {
  .search-location { display: none; }
  .portal-categories { grid-template-columns: 1fr; }
  .quick-search-grid { grid-template-columns: 1fr; }
  .state-directory { grid-template-columns: repeat(2, 1fr); }
  .market-features { grid-template-columns: 1fr; }
  .location-picker { min-width: 0; }
  .location-fields { grid-template-columns: 1fr; }
  .market-hero { border-radius: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* Classic classified-portal home */
.masthead {
  background: #3c4650;
  border-bottom-color: #252c33;
  box-shadow: 0 2px 7px rgba(20, 24, 29, .24);
}
.logo-mark { background: var(--route); color: #fff; box-shadow: none; }
.logo-word { color: #fff; }
.logo-word span { color: #ffad7b; }
.search-go { background: var(--route); color: #fff; }
.search-go:hover { background: var(--route-dark); }
.btn-post { background: var(--route); color: #fff; border-color: #ff9b60; }
.btn-post:hover { background: #dc5d13; color: #fff; }

.home-utility-bar {
  min-height: 44px; margin-bottom: -7px; padding: 7px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
  font-size: 11px;
}
.home-utility-bar, .home-utility-bar > div { min-width: 0; }
.home-utility-bar > div:first-child { display: flex; align-items: center; gap: 7px; min-width: 0; }
.home-utility-bar strong { font-size: 12px; }
.home-utility-bar small { color: var(--muted); }
.home-utility-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verify); flex: 0 0 auto; }
.home-utility-links { display: flex; align-items: center; gap: 0; max-width: 100%; white-space: nowrap; }
.home-utility-links a { padding: 3px 11px; color: #315d85; border-right: 1px solid var(--line); }
.home-utility-links a:hover { text-decoration: underline; }
.home-utility-links button {
  margin-left: 10px; padding: 6px 11px; border: 1px solid var(--route-dark);
  background: var(--route); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer;
}
.home-utility-links button:hover { background: var(--route-dark); }

.portal-home-classic { gap: 14px; }
.portal-main-classic { gap: 14px; }
.portal-categories-title {
  height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between;
  background: var(--route); color: #fff; border-bottom: 1px solid var(--route-dark);
  font-size: 13px;
}
.portal-categories-title span { font-size: 20px; font-weight: 400; }
.portal-home-classic .portal-category-head { min-height: 45px; padding-block: 6px; }
.portal-home-classic .portal-category-icon { width: 26px; height: 26px; }
.portal-home-classic .portal-category-links { padding-bottom: 7px; padding-left: 46px; }

.showcase-panel { padding: 0; overflow: hidden; }
.showcase-panel .portal-panel-head { margin: 0; padding: 11px 14px 9px; }
.portal-panel-head-orange { border-bottom: 3px solid var(--route); background: #fbfbfa; }
.portal-panel-head-orange h1 { font-size: 18px; }
.showcase-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.showcase-item {
  min-width: 0; padding: 9px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .12s ease;
}
.showcase-item:hover { background: #fff8f3; }
.showcase-media { position: relative; aspect-ratio: 4 / 3; background: #eceeea; overflow: hidden; border: 1px solid #d5d9d1; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.showcase-item:hover .showcase-media img { transform: scale(1.025); }
.showcase-badge, .showcase-photo-count {
  position: absolute; bottom: 5px; padding: 2px 5px; color: #fff; font: 700 8px var(--data);
  background: rgba(30, 36, 42, .82);
}
.showcase-badge { top: 5px; bottom: auto; left: 5px; background: var(--route); }
.showcase-photo-count { right: 5px; }
.showcase-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 34px; margin-top: 7px; color: #285a88; font-size: 11.5px; line-height: 1.35;
}
.showcase-item:hover .showcase-title { color: var(--route-dark); text-decoration: underline; }
.showcase-price { margin-top: 5px; color: var(--route-dark); font: 700 13px var(--data); }
.showcase-location { display: block; margin-top: 3px; color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase-skeleton { height: 212px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #eceeea, #f6f7f4, #eceeea); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.home-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-list-panel { padding: 0; overflow: hidden; }
.home-list-panel .portal-panel-head { margin: 0; padding: 10px 12px 8px; border-bottom-width: 2px; }
.home-list-panel .portal-panel-head h2 { font-size: 15px; }
.popular-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.popular-category-list a {
  min-width: 0; min-height: 45px; padding: 7px 9px; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-content: center; column-gap: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.popular-category-list a:hover { background: var(--route-tint); }
.popular-category-list span { overflow: hidden; color: #285a88; font-size: 11px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.popular-category-list small { overflow: hidden; grid-column: 1; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.popular-category-list b { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--faint); }
.trending-search-list { display: grid; }
.trending-search-list button {
  min-height: 39px; padding: 6px 10px; display: grid; grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center; gap: 7px; border: 0; border-bottom: 1px solid var(--line); background: #fff;
  color: #285a88; cursor: pointer; text-align: left; font-size: 11px;
}
.trending-search-list button:hover { background: var(--route-tint); color: var(--route-dark); }
.trending-search-list button b { color: var(--faint); font-size: 17px; }
.trend-number { color: var(--route); font: 700 10px var(--data); }

.latest-panel { padding: 0; overflow: hidden; }
.latest-panel .portal-panel-head { margin: 0; padding: 10px 12px 8px; }
.compact-listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-listing {
  min-width: 0; min-height: 78px; padding: 8px; display: grid; grid-template-columns: 75px minmax(0, 1fr) auto;
  gap: 9px; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff;
}
.compact-listing:hover { background: #fff8f3; }
.compact-listing img { width: 75px; height: 57px; object-fit: cover; border: 1px solid var(--line); }
.compact-listing div { min-width: 0; }
.compact-listing strong { display: block; overflow: hidden; color: #285a88; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.compact-listing:hover strong { color: var(--route-dark); text-decoration: underline; }
.compact-listing small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.compact-listing > b { color: var(--route-dark); font: 700 11px var(--data); white-space: nowrap; }
.compact-skeleton { height: 78px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #eceeea, #f6f7f4, #eceeea); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

@media (min-width: 1320px) {
  .showcase-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  .home-utility-bar { align-items: flex-start; }
  .home-utility-bar > div:first-child { flex-wrap: wrap; }
  .home-utility-bar small { flex-basis: 100%; padding-left: 14px; }
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compact-listing { grid-template-columns: 64px minmax(0, 1fr); }
  .compact-listing img { width: 64px; height: 49px; }
  .compact-listing > b { grid-column: 2; }
}

@media (max-width: 860px) {
  .portal-wrap { width: calc(100% - 20px); }
  .portal-categories-title { grid-column: 1 / -1; }
  .home-utility-bar { margin-bottom: 0; flex-direction: column; gap: 7px; }
  .home-utility-links { width: 100%; overflow-x: auto; }
  .showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-info-grid, .compact-listings { grid-template-columns: 1fr; }
  .home-utility-links a { padding-inline: 7px; }
  .home-utility-links button { margin-left: 7px; }
}

@media (max-width: 420px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-item { padding: 6px; }
  .popular-category-list { grid-template-columns: 1fr; }
}

/* ========================================================================== 
   Modern home and compact marketplace header
   ========================================================================== */

body { background: #f5f6f8; }
.masthead { background: #46515f; border: 0; box-shadow: 0 1px 8px rgba(16, 24, 32, .18); }
.header-wrap { max-width: 1280px; }
.masthead-inner { height: 68px; gap: 14px; }
.logo { gap: 8px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--route); color: #fff;
  font-size: 18px; box-shadow: 0 6px 15px rgba(242, 111, 33, .28);
}
.logo-word { font-size: 21px; }
.logo-word span { color: #ffad7b; font-size: 12px; }
.search-shell { max-width: 600px; }
.search-shell form { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(12, 20, 28, .12); }
.search-input { height: 42px; border-radius: 0; font-size: 13px; }
.search-location { height: 42px; width: 172px; }
.search-go { height: 42px; padding-inline: 17px; border-radius: 0; background: var(--route); }
.header-advanced { color: rgba(255,255,255,.88); font-size: 11px; font-weight: 700; white-space: nowrap; }
.header-advanced:hover { color: #fff; text-decoration: underline; }
.mast-actions { gap: 3px; }
.header-account {
  min-width: 0; height: 38px; padding: 0 7px; display: flex; align-items: center; gap: 6px;
  color: #fff; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.header-account:hover, .header-tool:hover { background: rgba(255,255,255,.1); }
.header-avatar {
  width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.16); font: 700 10px var(--data);
}
.header-caret { color: #bfc7ce; font-size: 13px; }
.header-tool {
  position: relative; width: 35px; height: 38px; display: grid; place-items: center;
  color: #fff; border-radius: 8px;
}
.header-tool-icon, .header-tool-icon svg { width: 19px; height: 19px; display: block; }
.header-tool-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-tool:nth-of-type(4) .header-tool-icon svg { fill: rgba(255,255,255,.12); }
.mast-actions .mast-badge {
  top: 1px; right: 0; min-width: 15px; height: 15px; padding-inline: 3px;
  background: var(--route); color: #fff; border: 2px solid #46515f; font-size: 8px;
}
.mast-actions .btn-post {
  height: 38px; margin-left: 8px; padding: 0 15px; border: 1px solid #ff995d;
  border-radius: 8px; background: var(--route); color: #fff; font-size: 11px;
  box-shadow: 0 5px 14px rgba(242, 111, 33, .22);
}
.mast-actions .btn-post:hover { background: #dc5d13; }

.modern-home {
  width: calc(100% - 32px); max-width: 1240px; margin: 24px auto 0;
  display: grid; gap: 22px;
}
.modern-hero {
  position: relative; min-height: 320px; padding: 44px 52px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 34px;
  border-radius: 20px; color: #fff;
  background: radial-gradient(circle at 78% 18%, rgba(255,178,122,.28), transparent 25%), linear-gradient(118deg, #D94A00 0%, #FD5701 47%, #FF8547 100%);
  box-shadow: 0 16px 40px rgba(173, 70, 14, .2);
}
.modern-hero::before {
  content: ''; position: absolute; width: 350px; height: 350px; right: -120px; bottom: -210px;
  border: 70px solid rgba(255,255,255,.08); border-radius: 50%;
}
.modern-hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-kicker, .section-kicker { display: block; color: #ffe2d0; font: 700 10px var(--data); letter-spacing: .14em; }
.modern-hero h1 { margin-top: 10px; max-width: 650px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; }
.modern-hero p { max-width: 590px; margin-top: 15px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.65; }
.modern-hero-actions { display: flex; gap: 10px; margin-top: 23px; }
.modern-hero-actions button { min-height: 44px; padding: 0 18px; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 700; }
.hero-primary { border: 1px solid #fff; background: #fff; color: #bf4605; }
.hero-primary:hover { background: #fff7f1; }
.hero-secondary-modern { border: 1px solid rgba(255,255,255,.52); background: rgba(255,255,255,.08); color: #fff; }
.hero-secondary-modern:hover { background: rgba(255,255,255,.15); }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 21px; color: rgba(255,255,255,.78); font-size: 10px; }
.modern-hero-art { position: relative; height: 240px; z-index: 1; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.hero-orbit-one { width: 270px; height: 270px; right: 30px; top: -16px; }
.hero-orbit-two { width: 190px; height: 190px; right: 70px; top: 25px; }
.hero-market-card {
  position: absolute; padding: 18px; border: 1px solid rgba(255,255,255,.52); border-radius: 14px;
  color: #26313b; background: rgba(255,255,255,.94); box-shadow: 0 18px 38px rgba(91, 37, 7, .18); backdrop-filter: blur(8px);
}
.hero-market-card-main { width: 250px; min-height: 154px; top: 35px; right: 66px; transform: rotate(-3deg); }
.hero-market-card-main > span { color: var(--route); font: 700 9px var(--data); letter-spacing: .1em; }
.hero-market-card-main > strong { display: block; margin-top: 12px; max-width: 170px; font-size: 20px; line-height: 1.2; }
.hero-card-bars { display: flex; gap: 7px; margin-top: 17px; }
.hero-card-bars i { width: 58px; height: 35px; border-radius: 6px; background: #f2e5dc; }
.hero-card-bars i:nth-child(2) { background: #e4ebef; }
.hero-card-bars i:nth-child(3) { background: #ffe1cf; }
.hero-market-card-price { right: 15px; top: 8px; transform: rotate(5deg); }
.hero-market-card-price small, .hero-market-card-location small { display: block; color: var(--muted); font-size: 9px; }
.hero-market-card-price b { color: var(--route-dark); font: 700 22px var(--data); }
.hero-market-card-location { left: 0; bottom: 6px; transform: rotate(3deg); }
.hero-market-card-location b { display: block; color: var(--route); font: 700 24px var(--data); }

.modern-section {
  padding: 23px; border: 1px solid #e2e6e9; border-radius: 16px;
  background: #fff; box-shadow: 0 4px 18px rgba(24, 34, 43, .045);
}
.modern-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.modern-section-head h2 { margin-top: 4px; font-size: 20px; }
.modern-section-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.modern-section-head > a { color: var(--route-dark); font-size: 11px; font-weight: 700; }
.modern-section-head > a:hover { text-decoration: underline; }
.section-kicker { color: var(--route); }
.modern-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.modern-category-card {
  min-width: 0; min-height: 82px; padding: 12px; display: grid; grid-template-columns: 37px minmax(0, 1fr) auto;
  align-items: center; gap: 9px; border: 1px solid #e5e8ea; border-radius: 11px; background: #fafbfb;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.modern-category-card:hover { transform: translateY(-2px); border-color: #ffbb92; box-shadow: 0 8px 20px rgba(82, 46, 25, .08); }
.modern-category-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: #fff0e6; color: var(--route-dark); font: 700 12px var(--data); }
.modern-category-card span:nth-child(2) { min-width: 0; }
.modern-category-card strong { display: block; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.modern-category-card small { display: block; margin-top: 3px; color: var(--muted); font: 9px var(--data); }
.modern-category-card > b { color: #aab1b7; font-size: 19px; font-weight: 400; }

.modern-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 22px; align-items: start; }
.modern-listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.modern-listing-card { min-width: 0; overflow: hidden; border: 1px solid #e3e7e9; border-radius: 12px; background: #fff; transition: transform .16s, box-shadow .16s; }
.modern-listing-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(25, 35, 44, .1); }
.modern-listing-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #edf0f1; }
.modern-listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s; }
.modern-listing-card:hover img { transform: scale(1.035); }
.modern-featured { position: absolute; left: 8px; top: 8px; padding: 4px 7px; border-radius: 5px; background: var(--route); color: #fff; font: 700 8px var(--data); text-transform: uppercase; }
.modern-save { position: absolute; right: 8px; top: 8px; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.93); color: #45515b; cursor: pointer; font-size: 19px; box-shadow: 0 2px 7px rgba(20,25,30,.14); }
.modern-save:hover { color: var(--route); }
.modern-listing-body { padding: 11px; }
.modern-listing-meta { display: flex; justify-content: space-between; gap: 5px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }
.modern-listing-body > strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; margin-top: 6px; font-size: 11.5px; line-height: 1.42; }
.modern-listing-body > small { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.modern-listing-body > b { display: block; margin-top: 8px; color: var(--route-dark); font: 700 14px var(--data); }
.modern-card-skeleton { aspect-ratio: .7; border-radius: 12px; background: linear-gradient(90deg, #edf0f1, #f8f9f9, #edf0f1); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.modern-discovery { overflow: hidden; border: 1px solid #e2e6e9; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(24,34,43,.045); }
.modern-discovery .modern-section-head { margin: 0; padding: 21px 20px 13px; }
.modern-discovery .modern-section-head h2 { font-size: 18px; }
.modern-search-links { display: grid; }
.modern-search-links button { min-height: 48px; padding: 8px 15px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 0; border-top: 1px solid #edf0f1; background: #fff; cursor: pointer; text-align: left; }
.modern-search-links button:hover { background: #fff7f1; }
.modern-search-links button > span { color: var(--route); font: 700 9px var(--data); }
.modern-search-links button strong { font-size: 10.5px; line-height: 1.35; }
.modern-search-links button b { color: #aab1b7; font-size: 18px; }
.discovery-callout { margin: 14px; padding: 17px; border-radius: 12px; color: #fff; background: #46515f; }
.discovery-callout span { display: block; color: #ffb88e; font: 700 9px var(--data); text-transform: uppercase; }
.discovery-callout strong { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; }
.discovery-callout button { margin-top: 14px; padding: 8px 10px; border: 0; border-radius: 7px; background: var(--route); color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }

.modern-recent-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.modern-recent-row { min-width: 0; min-height: 78px; padding: 10px 0; display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 11px; border-top: 1px solid #e9ecee; }
.modern-recent-row:nth-child(-n+2) { border-top: 0; }
.modern-recent-row img { width: 78px; height: 58px; border-radius: 8px; object-fit: cover; }
.modern-recent-row div { min-width: 0; }
.modern-recent-row strong { display: block; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.modern-recent-row small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.modern-recent-row > b { color: var(--route-dark); font: 700 12px var(--data); white-space: nowrap; }
.modern-row-skeleton { height: 78px; border-top: 1px solid #e9ecee; background: linear-gradient(90deg, #f1f3f3, #fafafa, #f1f3f3); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.modern-state-section .modern-section-head { align-items: center; }
.modern-state-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.modern-state-grid button { min-width: 0; min-height: 54px; padding: 8px 9px; display: grid; grid-template-columns: 29px minmax(0, 1fr); align-items: center; gap: 0 7px; border: 1px solid #e5e8ea; border-radius: 9px; background: #fafbfb; cursor: pointer; text-align: left; }
.modern-state-grid button:hover { border-color: #ffb88e; background: #fff7f1; }
.modern-state-grid b { grid-row: 1 / span 2; color: var(--route); font: 700 10px var(--data); }
.modern-state-grid span { overflow: hidden; font-size: 10px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.modern-state-grid small { color: var(--muted); font: 8px var(--data); }

@media (max-width: 1120px) {
  .header-advanced { display: none; }
  .search-shell { max-width: none; }
  .header-account { padding-inline: 4px; }
  .header-account > span:nth-child(2), .header-caret { display: none; }
  .modern-hero { grid-template-columns: 1fr 330px; padding-inline: 40px; }
  .modern-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .modern-content-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .modern-listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modern-state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .masthead-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .logo { order: 1; }
  .mast-actions { order: 2; margin-left: auto; }
  .search-shell { order: 3; flex-basis: 100%; }
  .modern-home { width: calc(100% - 20px); margin-top: 14px; gap: 14px; }
  .modern-hero { min-height: auto; grid-template-columns: 1fr; padding: 35px; }
  .modern-hero-art { display: none; }
  .modern-content-grid { grid-template-columns: 1fr; gap: 14px; }
  .modern-listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .modern-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modern-discovery { display: grid; grid-template-columns: 210px 1fr; }
  .modern-discovery .discovery-callout { display: none; }
}

@media (max-width: 640px) {
  .logo-word { display: none; }
  .mast-actions .header-tool:nth-of-type(3) { display: none; }
  .mast-actions .btn-post { margin-left: 3px; padding-inline: 10px; }
  .search-location { display: none; }
  .modern-hero { padding: 28px 23px; border-radius: 14px; }
  .modern-hero h1 { font-size: 33px; }
  .hero-trust-row { gap: 8px 13px; }
  .modern-section { padding: 16px; border-radius: 13px; }
  .modern-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modern-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modern-discovery { display: block; }
  .modern-recent-list { grid-template-columns: 1fr; }
  .modern-recent-row:nth-child(2) { border-top: 1px solid #e9ecee; }
  .modern-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modern-section-head { align-items: flex-start; }
}

/* 2026 marketplace depth: category portals, discovery centers, tools and guides */
.section-kicker { display: block; margin-bottom: 5px; color: var(--route); font: 700 9px/1.2 var(--data); letter-spacing: .14em; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading-row h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.section-heading-row > a { color: var(--route-dark); font-size: 11px; font-weight: 700; }

.discovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.discovery-center { overflow: hidden; border: 1px solid #e3e6e9; border-radius: 12px; background: #fff; }
.discovery-center-head { padding: 17px 18px 13px; background: linear-gradient(145deg, #fff 30%, #fff5ee); border-bottom: 1px solid #eceef0; }
.discovery-homes .discovery-center-head { background: linear-gradient(145deg, #fff 30%, #eef7ff); }
.discovery-local .discovery-center-head { background: linear-gradient(145deg, #fff 30%, #f2f8ed); }
.discovery-center h2 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.discovery-center-grid { display: grid; }
.discovery-action { min-height: 57px; padding: 9px 13px; display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid #eff0f1; color: var(--ink); }
.discovery-action:last-child { border-bottom: 0; }
.discovery-action:hover { background: #fff8f3; }
.discovery-action-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--route-tint); color: var(--route-dark); font: 700 15px var(--data); }
.discovery-action b, .discovery-action small { display: block; }
.discovery-action b { font-size: 11px; }
.discovery-action small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.discovery-action i { color: #a8afb6; font-style: normal; }
.popular-hub { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; margin: 18px 0; overflow: hidden; border: 1px solid #e3e6e9; border-radius: 12px; }
.popular-column { padding: 18px; background: #fff; border-right: 1px solid #e8eaec; }
.popular-column:last-child { border-right: 0; }
.popular-column h2 { margin: 0 0 11px; font-size: 16px; }
.popular-column > a:not(.btn) { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #39414a; font-size: 10px; border-bottom: 1px dashed #e7e8e9; }
.popular-column > a:not(.btn):hover { color: var(--route-dark); }
.popular-column > a i { color: #a7adb2; font-style: normal; }
.popular-guide { position: relative; background: linear-gradient(135deg, #222a33, #3c4651); color: #fff; }
.popular-guide::after { content: '✓'; position: absolute; right: 15px; top: 8px; color: rgba(255,255,255,.07); font-size: 110px; font-weight: 800; }
.popular-guide .section-kicker { color: #ff9b60; }
.popular-guide h2 { position: relative; z-index: 1; max-width: 280px; font-size: 19px; }
.popular-guide p { position: relative; z-index: 1; max-width: 310px; color: #d1d5d9; font-size: 10px; line-height: 1.6; }
.popular-guide .btn { position: relative; z-index: 1; margin: 10px 0 8px; display: inline-flex; }
.popular-guide > a:not(.btn) { position: relative; z-index: 1; width: fit-content; color: #fff; border: 0; }

.category-landing { min-height: 70vh; background: #f4f5f6; }
.category-hero { color: #fff; background: radial-gradient(circle at 84% 20%, rgba(242,111,33,.35), transparent 27%), linear-gradient(125deg, #28323d, #414c58); border-bottom: 4px solid var(--route); }
.category-hero-inner { min-height: 230px; padding-block: 34px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.category-eyebrow { margin-bottom: 13px; color: #ffad79; font: 700 9px var(--data); letter-spacing: .16em; }
.category-heading { display: flex; align-items: center; gap: 17px; }
.category-hero-icon { width: 64px; height: 64px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.1); color: #fff; }
.category-hero-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.category-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.category-heading p { max-width: 570px; margin: 7px 0 0; color: #d6dbe0; font-size: 12px; line-height: 1.55; }
.category-hero-actions { margin-top: 20px; display: flex; gap: 9px; }
.category-hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.category-hero-stats { min-width: 380px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(11,17,24,.22); backdrop-filter: blur(12px); }
.category-hero-stats div { padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.12); }
.category-hero-stats div:last-child { border-right: 0; }
.category-hero-stats b, .category-hero-stats span { display: block; }
.category-hero-stats b { color: #fff; font: 700 18px var(--data); }
.category-hero-stats span { margin-top: 5px; color: #bfc6cc; font-size: 9px; }
.category-page-body { padding-block: 22px 38px; display: grid; gap: 16px; }
.category-directory-panel, .category-quick-panel, .category-showcase-panel, .category-trust-strip { padding: 22px; border: 1px solid #e0e3e6; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(32,40,49,.035); }
.category-directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; }
.category-directory-group { min-width: 0; }
.category-directory-title { min-height: 34px; display: flex; justify-content: space-between; gap: 8px; color: #20272e; font-size: 12px; font-weight: 800; border-bottom: 2px solid #343e48; }
.category-directory-title b { color: var(--route-dark); font: 600 9px var(--data); }
.category-directory-group > a:not(.category-directory-title) { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #535c65; font-size: 10px; border-bottom: 1px solid #eff0f1; }
.category-directory-group > a:hover { color: var(--route-dark); }
.category-directory-group small { color: #a1a7ac; font: 9px var(--data); }
.category-directory-group .category-directory-more { color: var(--route-dark); font-weight: 700; }
.category-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.category-quick-grid > a { min-height: 58px; padding: 9px 12px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid #e3e6e8; border-radius: 9px; color: #293039; }
.category-quick-grid > a:hover { border-color: #f4a16c; background: #fff8f3; }
.quick-search-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--route-dark); background: var(--route-tint); font-size: 18px; }
.category-quick-grid b, .category-quick-grid small { display: block; }
.category-quick-grid b { font-size: 11px; }
.category-quick-grid small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.category-quick-grid i { color: #a4aaaf; font-style: normal; }
.category-showcase-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 11px; }
.category-listing-card { min-width: 0; color: var(--ink); }
.category-listing-media { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: #e9ebed; }
.category-listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.category-listing-card:hover img { transform: scale(1.035); }
.category-listing-media span { position: absolute; left: 6px; top: 6px; padding: 3px 5px; border-radius: 4px; color: #fff; background: var(--route); font: 700 7px var(--data); text-transform: uppercase; }
.category-listing-card > strong, .category-listing-card > b, .category-listing-card > small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.category-listing-card > strong { margin-top: 7px; font-size: 10px; }
.category-listing-card > b { margin-top: 5px; color: var(--route-dark); font: 700 11px var(--data); }
.category-listing-card > small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.category-listing-skeleton { aspect-ratio: 4/3; border-radius: 8px; background: linear-gradient(90deg,#eef0f1,#fafafa,#eef0f1); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.category-trust-strip { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 24px; background: #fffaf6; border-color: #ffd9c0; }
.category-trust-strip b, .category-trust-strip span { display: block; }
.category-trust-strip b { font-size: 11px; }
.category-trust-strip span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.category-trust-strip > a { color: var(--route-dark); font-size: 10px; font-weight: 700; white-space: nowrap; }

.tools-page, .guides-page { min-height: 70vh; padding-bottom: 42px; background: #f4f5f6; }
.tools-hero, .guides-hero { padding: 42px 0 46px; color: #fff; background: radial-gradient(circle at 78% 20%, rgba(242,111,33,.42), transparent 30%), linear-gradient(130deg,#242c35,#3d4853); border-bottom: 4px solid var(--route); }
.tools-hero h1, .guides-hero h1 { max-width: 760px; margin: 4px 0 8px; font-size: clamp(32px,4vw,48px); letter-spacing: -.045em; }
.tools-hero p, .guides-hero p { max-width: 670px; margin: 0; color: #d1d6da; font-size: 12px; line-height: 1.6; }
.tools-grid { margin-top: -18px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.tool-card { padding: 22px; border: 1px solid #dfe2e5; border-radius: 13px; background: #fff; box-shadow: 0 12px 30px rgba(24,31,38,.08); }
.tool-card h2 { margin: 0 0 6px; font-size: 18px; }
.tool-card > p { min-height: 36px; margin: 0 0 17px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.tool-fields { display: grid; gap: 10px; }
.tool-field > span { display: block; margin-bottom: 5px; color: #555e66; font-size: 9px; font-weight: 700; }
.tool-input { position: relative; }
.tool-input .input { padding-right: 60px; font-family: var(--data); }
.tool-input i { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: #8f969c; font: 9px var(--data); font-style: normal; }
.tool-result { margin-top: 18px; padding: 14px; border-radius: 10px; background: var(--route-tint); }
.tool-result span, .tool-result b { display: block; }
.tool-result span { color: var(--route-dark); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.tool-result b { margin-top: 6px; color: #252b31; font: 700 20px var(--data); }
.tools-note { margin-top: 14px; padding: 15px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #dfe2e5; border-radius: 10px; background: #fff; font-size: 10px; }
.tools-note span { color: var(--muted); flex: 1; }
.tools-note a { color: var(--route-dark); font-weight: 700; }
.guides-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.guide-shield { width: 100px; height: 116px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--route); clip-path: polygon(50% 0, 92% 15%, 86% 71%, 50% 100%, 14% 71%, 8% 15%); font-size: 46px; font-weight: 800; }
.guide-grid { margin-top: -18px; position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.guide-card { position: relative; overflow: hidden; padding: 22px; border: 1px solid #dfe2e5; border-radius: 13px; background: #fff; box-shadow: 0 10px 25px rgba(24,31,38,.06); }
.guide-number { position: absolute; right: 15px; top: 9px; color: #edf0f2; font: 800 42px var(--data); }
.guide-card h2 { position: relative; margin: 0 0 8px; font-size: 18px; }
.guide-card p { position: relative; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.guide-card ul { margin: 15px 0 0; padding: 13px 0 0 17px; border-top: 1px solid #eceeef; }
.guide-card li { margin: 7px 0; color: #48515a; font-size: 9px; line-height: 1.45; }
.guide-card li::marker { color: var(--route); }
.guide-report { margin-top: 16px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 13px; color: #fff; background: #313a44; }
.guide-report h2 { margin: 0; font-size: 19px; }
.guide-report p { margin: 5px 0 0; color: #cdd2d6; font-size: 10px; }
.footer-legal { display: flex; gap: 15px; }
.footer-legal a { color: #d8dde1; }

.privacy-center { padding-bottom: 38px; }
.privacy-center > * + * { margin-top: 16px; }
.privacy-card { max-width: 860px; }
.privacy-card h2 { font-size: 19px; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.privacy-list { margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.privacy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.privacy-row:last-child { border-bottom: 0; }
.privacy-row strong, .privacy-row small { display: block; }
.privacy-row small { margin-top: 3px; color: var(--muted); overflow-wrap: anywhere; }
.status-pill { padding: 4px 8px; border-radius: 999px; background: var(--route-tint); color: var(--route-dark); font-weight: 700; }
.btn-danger { background: #9e2f2f; border-color: #9e2f2f; color: #fff; }
.alert { max-width: 860px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; }
.alert-info { background: #eef7ff; border-color: #b9d8f1; }
.alert-warn { background: #fff8df; border-color: #e5cc74; }
.legal-page { max-width: 900px; padding-bottom: 44px; }
.chat-safety-menu { position: relative; }
.chat-safety-menu summary { cursor: pointer; color: var(--route-dark); font-weight: 700; }
.chat-safety-menu > button, .chat-safety-menu > a { display: block; width: 100%; padding: 7px; border: 0; background: #fff; color: var(--ink); text-align: left; }
.offer-actions { display: flex; gap: 6px; margin-top: 7px; }
.chat-attachment { display: block; max-width: min(320px, 100%); max-height: 260px; margin-top: 7px; border-radius: 8px; object-fit: contain; }
.chat-upload { position: relative; overflow: hidden; }
.chat-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 620px) {
  .privacy-row { align-items: flex-start; flex-direction: column; }
}
.header-account-wrap { position: relative; }
.header-account-wrap > .header-account { border: 0; cursor: pointer; list-style: none; }
.header-account-wrap > .header-account::-webkit-details-marker { display: none; }
.header-account-dropdown { position: absolute; z-index: 80; right: 0; top: calc(100% + 10px); width: 250px; padding: 7px; display: none; border: 1px solid #d9dde1; border-radius: 10px; background: #fff; box-shadow: 0 16px 38px rgba(22,29,36,.22); }
.header-account-dropdown.is-open, .header-account-wrap[open] .header-account-dropdown { display: block; }
.header-account-summary { padding: 9px 9px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #eceeef; margin-bottom: 5px; color: var(--ink); }
.header-account-summary b, .header-account-summary small { display: block; max-width: 165px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.header-account-summary b { font-size: 11px; }
.header-account-summary small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.header-account-dropdown > a, .header-account-dropdown > button { width: 100%; min-height: 31px; padding: 7px 9px; display: block; border: 0; border-radius: 6px; color: #424a52; background: transparent; text-align: left; font: 600 9px var(--font); cursor: pointer; }
.header-account-dropdown > a:hover, .header-account-dropdown > button:hover { color: var(--route-dark); background: var(--route-tint); }
.header-account-dropdown > button { margin-top: 5px; color: #a04437; border-top: 1px solid #eceeef; border-radius: 0 0 6px 6px; }
.category-finder { position: relative; margin-bottom: 18px; padding: 18px; border: 1px solid #ffd7bd; border-radius: 10px; background: #fff8f3; }
.category-finder > label { display: block; margin-bottom: 8px; color: #343b42; font-size: 12px; font-weight: 800; }
.category-finder-results { position: absolute; z-index: 20; left: 18px; right: 18px; top: calc(100% - 12px); overflow: hidden; border: 1px solid #dfe2e5; border-radius: 9px; background: #fff; box-shadow: 0 14px 30px rgba(25,32,39,.15); }
.category-finder-results button { width: 100%; min-height: 46px; padding: 8px 12px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr) auto; align-items: center; gap: 10px; color: var(--ink); background: #fff; border: 0; border-bottom: 1px solid #eceeef; text-align: left; cursor: pointer; }
.category-finder-results button:last-child { border-bottom: 0; }
.category-finder-results button:hover { background: var(--route-tint); }
.category-finder-results b { font-size: 10px; }
.category-finder-results small { color: var(--muted); font-size: 8px; }
.category-finder-results i { color: var(--route-dark); font-style: normal; }
.category-finder-empty { padding: 13px; color: var(--muted); font-size: 9px; }
.category-picker-divider { margin: 18px 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.category-picker-divider::before, .category-picker-divider::after { content: ''; height: 1px; flex: 1; background: #e3e5e7; }

@media (max-width: 1050px) {
  .discovery-grid { grid-template-columns: 1fr; }
  .popular-hub { grid-template-columns: 1fr 1fr; }
  .popular-guide { grid-column: 1 / -1; }
  .category-hero-inner { align-items: flex-start; }
  .category-hero-stats { min-width: 300px; grid-template-columns: 1fr; }
  .category-hero-stats div { padding: 11px 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .category-hero-stats div:last-child { border-bottom: 0; }
  .category-directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-showcase-grid { grid-template-columns: repeat(4,minmax(0,1fr)); row-gap: 20px; }
  .tools-grid, .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .section-heading-row { align-items: flex-start; }
  .popular-hub { grid-template-columns: 1fr; }
  .popular-column { border-right: 0; border-bottom: 1px solid #e8eaec; }
  .popular-column:last-child { border-bottom: 0; }
  .category-hero-inner { padding-block: 26px; display: block; }
  .category-hero-stats { margin-top: 22px; min-width: 0; grid-template-columns: repeat(3,1fr); }
  .category-hero-stats div { border-right: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
  .category-heading { align-items: flex-start; }
  .category-hero-icon { width: 50px; height: 50px; border-radius: 14px; }
  .category-hero-icon svg { width: 27px; height: 27px; }
  .category-directory-panel, .category-quick-panel, .category-showcase-panel, .category-trust-strip { padding: 16px; }
  .category-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-trust-strip { grid-template-columns: 1fr; gap: 14px; }
  .tools-grid, .guide-grid { grid-template-columns: 1fr; }
  .tools-note, .guide-report { align-items: flex-start; flex-direction: column; }
  .guide-shield { width: 68px; height: 80px; font-size: 30px; }
}

@media (max-width: 460px) {
  .category-heading { display: block; }
  .category-hero-icon { margin-bottom: 12px; }
  .category-hero-actions { flex-direction: column; }
  .category-hero-actions .btn { width: 100%; justify-content: center; }
  .category-hero-stats { grid-template-columns: 1fr; }
  .category-hero-stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .category-directory-grid, .category-quick-grid, .category-showcase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guides-hero-inner { align-items: flex-start; }
  .guide-shield { display: none; }
  .footer-base { align-items: flex-start; flex-direction: column; }
  .footer-legal { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .header-tool { width: 31px; }
  .mast-actions .btn-post { font-size: 10px; }
  .modern-hero-actions { flex-direction: column; }
  .modern-hero-actions button { width: 100%; }
  .modern-category-card { min-height: 70px; padding: 8px; grid-template-columns: 32px minmax(0, 1fr) auto; }
  .modern-category-icon { width: 32px; height: 32px; }
}

/* ========================================================================== 
   Reference-matched compact classifieds homepage
   ========================================================================== */

body { background: #fff; }
.main { background: #fff; }
.masthead { position: sticky; background: #65718f; box-shadow: none; border-top: 1px solid #56617d; }
.header-wrap { width: calc(100% - 24px); max-width: 1100px; }
.masthead-inner { height: 56px; gap: 10px; }
.logo { gap: 0; }
.logo-mark { display: none; }
.logo-word {
  padding: 7px 10px 6px; border-radius: 2px; background: var(--route); color: #fff;
  font-size: 18px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.logo-word span { color: #fff; font-size: 10px; }
.search-shell { flex: 0 1 330px; max-width: 330px; }
.search-shell form { overflow: visible; border-radius: 2px; box-shadow: none; }
.search-input {
  height: 36px; padding-inline: 11px; border-radius: 2px 0 0 2px;
  background: #46516d; color: #fff; font-size: 11px;
}
.search-input::placeholder { color: rgba(255,255,255,.75); }
.search-go {
  height: 36px; padding-inline: 14px; border-radius: 0 2px 2px 0;
  background: #35415c; color: #fff; font-size: 10px;
}
.search-go:hover { background: #29354e; }
.header-advanced { margin-right: auto; color: #fff; font-size: 10px; }
.mast-actions { gap: 2px; }
.header-account { height: 34px; padding-inline: 5px; border-radius: 2px; font-size: 10px; }
.header-avatar { display: none; }
.header-caret { color: #fff; }
.header-tool { width: 29px; height: 34px; border-radius: 2px; }
.header-tool-icon, .header-tool-icon svg { width: 18px; height: 18px; }
.mast-actions .btn-post {
  height: 36px; margin-left: 8px; padding-inline: 14px; border: 1px solid #ffad78;
  border-radius: 2px; background: #ff8a42; color: #fff; font-size: 10px; box-shadow: none;
}
.mast-actions .btn-post:hover { background: #f4772a; }

.classic-home { width: calc(100% - 24px); max-width: 1100px; margin: 0 auto; color: #222; }
.classic-ad-wrap { height: 286px; display: grid; place-items: start center; padding-top: 16px; }
.classic-ad {
  position: relative; width: min(780px, 100%); height: 250px; overflow: hidden;
  color: #fff; background: linear-gradient(105deg, #ff8b13 0%, #ffbc2e 44%, #ff7144 100%);
  box-shadow: 0 1px 2px rgba(20,25,30,.12);
}
.classic-ad::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 52%, rgba(21,66,118,.1)); pointer-events: none; }
.classic-ad-copy { position: relative; z-index: 2; width: 53%; padding: 31px 30px; text-shadow: 0 1px 1px rgba(114,50,0,.15); }
.classic-ad-copy > span { font: 700 9px var(--data); letter-spacing: .13em; }
.classic-ad-copy h1 { max-width: 430px; margin-top: 12px; font-size: 32px; letter-spacing: -.04em; }
.classic-ad-copy p { max-width: 380px; margin-top: 10px; color: rgba(255,255,255,.92); font-size: 12px; line-height: 1.5; }
.classic-ad-copy button { margin-top: 14px; padding: 8px 12px; border: 0; border-radius: 2px; background: #315c8c; color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }
.classic-ad-art { position: absolute; z-index: 1; right: 0; top: 0; width: 50%; height: 100%; }
.ad-sun { position: absolute; width: 210px; height: 210px; right: 30px; top: -70px; border-radius: 50%; background: rgba(255,245,139,.74); box-shadow: 0 0 55px rgba(255,245,139,.65); }
.ad-road { position: absolute; width: 430px; height: 120px; right: -55px; bottom: -32px; transform: skewX(-25deg); background: #315c8c; border-top: 9px solid rgba(255,255,255,.78); }
.ad-car { position: absolute; right: 62px; bottom: 54px; width: 210px; height: 61px; border-radius: 55px 80px 15px 16px; background: linear-gradient(#17669b, #0c426d); box-shadow: inset 0 9px 0 rgba(255,255,255,.17), 0 9px 14px rgba(30,47,62,.25); }
.ad-car::before { content: ''; position: absolute; left: 59px; top: -37px; width: 100px; height: 47px; transform: skewX(-24deg); border-radius: 35px 30px 0 0; background: #1675aa; border: 5px solid #0b4d7b; }
.ad-car i { position: absolute; bottom: -15px; width: 38px; height: 38px; border: 8px solid #202a32; border-radius: 50%; background: #b8c5cf; }
.ad-car i:first-child { left: 31px; }
.ad-car i:last-child { right: 27px; }
.ad-pin { position: absolute; right: 18px; top: 31px; width: 62px; height: 62px; display: grid; place-items: center; transform: rotate(8deg); border: 7px solid #fff; border-radius: 18px 18px 18px 3px; color: #fff; background: #315c8c; font: 800 18px var(--data); box-shadow: 0 5px 12px rgba(31,70,104,.2); }

.classic-market-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.classic-sidebar { min-width: 0; padding-top: 2px; }
.classic-quick-links { display: grid; gap: 9px; padding-bottom: 16px; }
.classic-quick-links a { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 8px; color: #1859ae; font-size: 11px; }
.classic-quick-links a:hover span:last-child { text-decoration: underline; }
.quick-symbol { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e4e6e9; color: #fff; font: 700 11px var(--data); }
.classic-quick-links a:nth-child(3) .quick-symbol { background: #ffd100; color: #665600; }
.classic-quick-links a:nth-child(4) .quick-symbol { background: var(--route); }
.classic-side-rule { height: 1px; margin-bottom: 8px; background: #ececec; }
.classic-category-tree section { padding: 10px 0 11px; border-bottom: 1px solid #ededed; }
.classic-root-category { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; color: #1554a2; }
.classic-root-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--route); font: 700 9px var(--data); }
.classic-root-category strong { font-size: 11px; }
.classic-root-category small { margin-left: 5px; color: #c5c8ca; font: 8px var(--data); }
.classic-child-links { padding: 7px 0 0 34px; display: grid; gap: 4px; }
.classic-child-links a { overflow: hidden; color: #1760bc; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.classic-child-links a:hover { text-decoration: underline; }
.classic-child-links .classic-more { color: #4d78ad; font-weight: 700; }

.classic-center { min-width: 0; }
.classic-content-title { min-height: 36px; margin-bottom: 9px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.classic-content-title h2 { font-size: 12px; font-weight: 500; letter-spacing: 0; }
.classic-content-title p { margin: 3px 0 0; color: #91979d; font-size: 9px; }
.classic-content-title > a, .classic-content-title > span { color: #145fc1; font-size: 9px; white-space: nowrap; }
.classic-content-title > a:hover { text-decoration: underline; }
.classic-showcase-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px 11px; }
.classic-showcase-tile { min-width: 0; }
.classic-tile-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #e6e6e6; background: #f2f2f2; }
.classic-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .15s; }
.classic-showcase-tile:hover img { transform: scale(1.04); }
.classic-tile-media span { position: absolute; left: 3px; top: 3px; padding: 2px 3px; color: #fff; background: var(--route); font: 700 6px var(--data); text-transform: uppercase; }
.classic-showcase-tile > strong { display: block; overflow: hidden; margin-top: 4px; color: #2361a8; font-size: 8.5px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.classic-showcase-tile:hover > strong { text-decoration: underline; }
.classic-showcase-tile > small { display: block; overflow: hidden; color: #d6572a; font: 7.5px var(--data); white-space: nowrap; text-overflow: ellipsis; }
.classic-tile-skeleton { aspect-ratio: 1 / 1.05; background: linear-gradient(90deg, #eee, #fafafa, #eee); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.classic-recent { margin-top: 28px; padding-top: 14px; border-top: 1px solid #e7e7e7; }
.classic-recent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.classic-recent-row { min-width: 0; min-height: 64px; padding: 7px 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #eee; }
.classic-recent-row img { width: 64px; height: 48px; object-fit: cover; }
.classic-recent-row span { min-width: 0; }
.classic-recent-row strong, .classic-recent-row small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.classic-recent-row strong { color: #2361a8; font-size: 9px; font-weight: 500; }
.classic-recent-row small { margin-top: 4px; color: #999; font-size: 7.5px; }
.classic-recent-row > b { color: #c9510f; font: 700 9px var(--data); white-space: nowrap; }
.classic-row-skeleton { height: 64px; border-bottom: 1px solid #eee; background: linear-gradient(90deg, #eee, #fafafa, #eee); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.classic-directory { margin-top: 28px; padding-top: 14px; border-top: 1px solid #e7e7e7; }
.classic-state-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid #e7e7e7; border-width: 1px 0 0 1px; }
.classic-state-grid button { min-width: 0; min-height: 37px; padding: 5px 6px; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 4px; border: 1px solid #e7e7e7; border-width: 0 1px 1px 0; background: #fff; cursor: pointer; text-align: left; }
.classic-state-grid button:hover { background: #fff7f1; }
.classic-state-grid b { color: var(--route); font: 700 8px var(--data); }
.classic-state-grid span { overflow: hidden; color: #285b99; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.classic-ai-search { position: fixed; right: 28px; bottom: 32px; z-index: 30; padding: 8px 11px; display: flex; align-items: baseline; gap: 3px; border: 0; background: #fff; cursor: pointer; box-shadow: 0 4px 18px rgba(20,25,30,.12); }
.classic-ai-search span { font-size: 11px; font-weight: 800; }
.classic-ai-search b { padding: 1px 3px; background: var(--route); color: #fff; font-size: 12px; }
.classic-ai-search small { font-size: 8px; }

@media (max-width: 920px) {
  .header-wrap { width: calc(100% - 16px); }
  .masthead-inner { flex-wrap: wrap; height: auto; padding: 8px 0; }
  .logo { order: 1; }
  .mast-actions { order: 2; margin-left: auto; }
  .search-shell { order: 3; flex: 1 0 100%; max-width: none; }
  .header-advanced { display: none; }
  .classic-home { width: calc(100% - 18px); }
  .classic-ad-wrap { height: auto; padding: 12px 0 20px; }
  .classic-ad { height: 220px; }
  .classic-market-layout { grid-template-columns: 1fr; gap: 20px; }
  .classic-sidebar { display: grid; grid-template-columns: 210px 1fr; gap: 20px; }
  .classic-side-rule { display: none; }
  .classic-category-tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .classic-category-tree section { padding: 7px; border: 1px solid #e7e7e7; }
  .classic-child-links { display: none; }
  .classic-showcase-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .logo-word { display: block; font-size: 15px; }
  .header-tool:nth-of-type(3), .header-tool:nth-of-type(4) { display: none; }
  .mast-actions .btn-post { margin-left: 3px; padding-inline: 9px; }
  .classic-ad { height: 180px; }
  .classic-ad-copy { width: 68%; padding: 20px; }
  .classic-ad-copy h1 { font-size: 23px; }
  .classic-ad-copy p { font-size: 9px; }
  .classic-ad-art { width: 48%; opacity: .8; }
  .ad-car { transform: scale(.7); transform-origin: right bottom; }
  .classic-sidebar { grid-template-columns: 1fr; }
  .classic-quick-links { grid-template-columns: repeat(2, 1fr); }
  .classic-category-tree { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classic-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .classic-recent-grid { grid-template-columns: 1fr; }
  .classic-state-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .classic-ai-search { display: none; }
}

/* Final Listuply brand polish */
.logo-image { display: block; width: 126px; height: 36px; object-fit: contain; }
.logo-word { display: none !important; }
.masthead { background: #17191C; border: 0; border-bottom: 1px solid #2B2E33; box-shadow: 0 2px 12px rgba(0, 0, 0, .24); }
.logo-image { width: 145px; height: 40px; }
.search-input { background: #292C31; }
.search-go { background: #363A41; }
.search-go:hover { background: #444951; }
.mast-actions .btn-post { background: var(--route); border-color: #FF7B38; }
.mast-actions .btn-post:hover { background: var(--route-dark); }
.search-input { border: 1px solid rgba(255,255,255,.12); border-right: 0; }
.search-shell form { border-radius: 5px; overflow: hidden; }
.search-go, .mast-actions .btn-post { border-radius: 0 5px 5px 0; }
.mast-actions .btn-post { border-radius: 5px; }
.header-account, .header-tool { border-radius: 5px; }

.classic-ad { border-radius: 10px; box-shadow: 0 7px 24px rgba(37, 46, 60, .1); }
.classic-ad-image {
  position: relative; display: block; width: min(1040px, 100%); aspect-ratio: 3 / 1;
  overflow: hidden; border-radius: 14px; background: #fd5701;
  box-shadow: 0 10px 32px rgba(74, 35, 10, .13);
}
.classic-ad-wrap { height: auto; padding: 16px 0 26px; }
.classic-ad-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ad-slider {
  position: relative; width: min(1040px, 100%); aspect-ratio: 3 / 1; margin-inline: auto;
  padding: 0; overflow: hidden; border-radius: 14px; background: #fd5701;
  box-shadow: 0 10px 32px rgba(74, 35, 10, .13);
}
.ad-slider-track { position: absolute; inset: 0; }
.ad-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateX(2%); transition: opacity .5s ease, transform .65s ease, visibility .5s;
}
.ad-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transform: translateX(0); }
.ad-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ad-slider-arrow {
  position: absolute; z-index: 5; top: 50%; width: 38px; height: 54px; transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.55); background: rgba(20,23,27,.48); color: #fff;
  font: 400 34px/1 Arial, sans-serif; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
}
.ad-slider:hover .ad-slider-arrow, .ad-slider:focus-within .ad-slider-arrow { opacity: 1; }
.ad-slider-arrow:hover { background: rgba(20,23,27,.78); }
.ad-slider-arrow.is-prev { left: 10px; }
.ad-slider-arrow.is-next { right: 10px; }
.ad-slider-dots {
  position: absolute; z-index: 6; left: 50%; bottom: 10px; transform: translateX(-50%);
  padding: 5px 7px; display: flex; gap: 6px; border-radius: 12px; background: rgba(0,0,0,.24);
}
.ad-slider-dots button {
  width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%; background: transparent; cursor: pointer;
}
.ad-slider-dots button.is-active { width: 18px; border-radius: 5px; background: #fff; }
.ad-slider > .ad-label { z-index: 6; }
.ad-label { position: absolute; right: 8px; bottom: 7px; padding: 3px 6px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.38); font: 700 7px var(--data); letter-spacing: .04em; }

/* Neutral showcase names prevent privacy/ad-block extensions from hiding
   first-party marketplace artwork on public domains. */
.classic-showcase-wrap { height: auto; padding: 16px 0 26px; }
.showcase-slider {
  position: relative; width: min(880px, 100%); aspect-ratio: 3 / 1; margin-inline: auto;
  padding: 0; overflow: hidden; border-radius: 14px; background: #fd5701;
  box-shadow: 0 10px 32px rgba(74, 35, 10, .13);
}
.showcase-slider-track { position: absolute; inset: 0; }
.showcase-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateX(2%); transition: opacity .5s ease, transform .65s ease, visibility .5s;
}
.showcase-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transform: translateX(0); }
.showcase-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.showcase-slider-arrow {
  position: absolute; z-index: 5; top: 50%; width: 38px; height: 54px; transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.55); background: rgba(20,23,27,.48); color: #fff;
  font: 400 34px/1 Arial, sans-serif; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
}
.showcase-slider:hover .showcase-slider-arrow, .showcase-slider:focus-within .showcase-slider-arrow { opacity: 1; }
.showcase-slider-arrow:hover { background: rgba(20,23,27,.78); }
.showcase-slider-arrow.is-prev { left: 10px; }
.showcase-slider-arrow.is-next { right: 10px; }
.showcase-slider-dots {
  position: absolute; z-index: 6; left: 50%; bottom: 10px; transform: translateX(-50%);
  padding: 5px 7px; display: flex; gap: 6px; border-radius: 12px; background: rgba(0,0,0,.24);
}
.showcase-slider-dots button { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: transparent; cursor: pointer; }
.showcase-slider-dots button.is-active { width: 18px; border-radius: 5px; background: #fff; }
.showcase-label { position: absolute; z-index: 6; right: 8px; bottom: 7px; padding: 3px 6px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.38); font: 700 7px var(--data); letter-spacing: .04em; }
.brand-showcase-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.brand-showcase-card { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; border: 1px solid #ece8e4; background: #fd5701; box-shadow: 0 5px 16px rgba(59,35,21,.07); }
.brand-showcase-card img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 1; visibility: visible; transition: transform .22s ease; }
.brand-showcase-card:hover img { transform: scale(1.025); }
@media (max-width: 920px) { .brand-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .classic-showcase-wrap { padding: 12px 0 20px; }
  .showcase-slider { width: min(100%, 560px); border-radius: 9px; }
  .showcase-slider-arrow { width: 30px; height: 42px; font-size: 27px; opacity: .75; }
  .showcase-slider-dots { bottom: 5px; }
  .brand-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.brand-ad-section { margin-top: 30px; padding-top: 16px; border-top: 1px solid #e7e7e7; }
.brand-ad-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.brand-ad-card { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; border: 1px solid #ece8e4; background: #fd5701; box-shadow: 0 5px 16px rgba(59,35,21,.07); }
.brand-ad-card img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 1; visibility: visible; transition: transform .22s ease; }
.brand-ad-card:hover img { transform: scale(1.025); }
.wide-ad-rail { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wide-ad-rail a { overflow: hidden; aspect-ratio: 3 / 1; border-radius: 10px; background: #fd5701; }
.wide-ad-rail img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.wide-ad-rail a:hover img { transform: scale(1.015); }
.catalog-missing-row { margin: -5px 0 14px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed #ffb88d; border-radius: 8px; color: #6b4c39; background: #fffaf6; font-size: 10px; }
.catalog-combobox { background-image: linear-gradient(45deg, transparent 50%, #7c848b 50%), linear-gradient(135deg, #7c848b 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
@media (max-width: 920px) {
  .classic-ad-wrap { height: auto; }
  .brand-ad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wide-ad-rail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .classic-ad-image { border-radius: 9px; }
  .ad-slider { width: 100%; aspect-ratio: 3 / 1; border-radius: 9px; }
  .ad-slider-arrow { width: 30px; height: 42px; font-size: 27px; opacity: .75; }
  .ad-slider-dots { bottom: 5px; }
  .brand-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .catalog-missing-row { align-items: flex-start; flex-direction: column; }
}
.classic-sidebar { padding: 10px 12px 14px; border: 1px solid #e8eaed; border-radius: 10px; background: #fff; }
.classic-root-icon {
  width: 27px; height: 27px; border-radius: 8px; color: var(--route);
  background: #fff0e6; border: 1px solid #ffd9c0;
}
.classic-root-icon.has-custom-icon {
  width: 34px; height: 34px; overflow: hidden; padding: 0; border-radius: 8px;
  border: 1px solid #ffb889; background: #130802;
}
.classic-root-icon.has-custom-icon img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.12);
}
.classic-root-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.classic-root-category { grid-template-columns: 38px minmax(0, 1fr); }
.classic-child-links { padding-left: 39px; }
.classic-center { padding: 12px 14px 18px; border: 1px solid #e8eaed; border-radius: 10px; background: #fff; }
.classic-tile-media { border-radius: 6px; }
.classic-showcase-tile > strong { margin-top: 5px; font-size: 9px; }
.classic-recent-row img { border-radius: 6px; }
.classic-state-grid { overflow: hidden; border-radius: 7px; }
.classic-ai-search { border: 1px solid #e4e7ea; border-radius: 8px; }

/* Sahibinden-style category results and listing detail: dense, plain and readable. */
.classified-results,
.classified-detail-page {
  width: min(1180px, 100% - 24px);
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}
.classified-results .page-head {
  align-items: center; padding: 17px 0 10px; border-bottom: 1px solid #d7d7d7;
}
.classified-results .page-head h1 { font-size: 22px; line-height: 1.25; }
.classified-results .crumbs,
.classified-detail-page .crumbs { font: 13px Arial, Helvetica, sans-serif; color: #35679a; }
.classified-results .result-count { font: 14px Arial, Helvetica, sans-serif; }
.classified-results .browse { grid-template-columns: 238px minmax(0, 1fr); gap: 13px; }
.classified-results .rail {
  top: calc(var(--header-h) + 8px); max-height: none; overflow: visible;
  border: 1px solid #d5d5d5; border-radius: 0; box-shadow: none;
}
.classified-results .rail-head { padding: 10px 11px; background: #f4f4f4; }
.classified-results .rail-head h3 { color: #333; font: 700 14px Arial, Helvetica, sans-serif; text-transform: none; letter-spacing: 0; }
.classified-results .rail-clear { font-size: 13px; }
.classified-results .rail-done { display: none; border: 0; background: transparent; color: #165a9e; font: 700 13px Arial, Helvetica, sans-serif; cursor: pointer; }
.classified-results .facet > summary {
  padding: 10px 11px; color: #333; background: #fafafa;
  font: 700 14px Arial, Helvetica, sans-serif;
}
.classified-results .facet-body { padding: 3px 11px 12px; }
.classified-results .check,
.classified-results .subcat-list a { padding: 5px 0; font-size: 13.5px; line-height: 1.35; }
.classified-category-tree { display: grid; }
.classified-results .classified-category-tree .category-tree-row {
  min-height: 27px; padding-top: 4px; padding-bottom: 4px; align-items: center;
  color: #165a9e; border-left: 2px solid transparent;
}
.classified-results .classified-category-tree .category-tree-row.is-selected {
  color: #333; border-left-color: #fd5701; font-weight: 700; cursor: default;
}
.classified-results .classified-category-tree .category-tree-row.is-child { color: #165a9e; }
.classified-results .browse > div > div { transition: opacity .14s ease; }
.classified-results .browse > div > div.is-updating { opacity: .46; pointer-events: none; }
.classified-results .check .n,
.classified-results .subcat-list .n { font: 12px Arial, Helvetica, sans-serif; }
.classified-results .range-row input,
.classified-results .select { border-radius: 0; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
.classified-results .classified-toolbar {
  min-height: 47px; margin-bottom: 8px; padding: 6px 8px;
  border: 1px solid #cfcfcf; border-radius: 0; background: #f5f5f5;
}
.classified-results .geo-pill { border-radius: 0; font: 13px Arial, Helvetica, sans-serif; }
.classified-results .active-chips { margin-bottom: 8px; }
.classified-results .chip { border-radius: 2px; font-size: 13px; }
.classified-results .table-scroll { border-color: #bfc4c8; }
.classified-results .listing-table { min-width: 930px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
.classified-results .listing-table th {
  padding: 9px 7px; background: #eef0f2; border-right: 1px solid #d4d7da;
  color: #333; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0;
}
.classified-results .listing-table td { padding: 8px 7px; border-right: 1px solid #ececec; }
.classified-results .listing-table tbody tr:nth-child(even) { background: #f8f8f8; }
.classified-results .listing-table tbody tr:hover { background: #fff8e7; }
.classified-results .table-title a { color: #165a9e; font-size: 14px; }
.classified-results .table-title small { font-size: 12px; }
.classified-results .table-spec { font: 13px Arial, Helvetica, sans-serif; }
.classified-results .table-price .card-price { color: #333; font: 700 15px Arial, Helvetica, sans-serif; }
.classified-results .table-location b { font-size: 13px; }
.classified-results .table-location span,
.classified-results .table-date { font-size: 12px; }

.classified-detail-page { padding-top: 12px; }
.classified-detail-title {
  min-height: 54px; padding: 10px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;
}
.classified-detail-title h1 { font-size: 24px; font-weight: 700; }
.classified-title-actions { display: flex; align-items: center; gap: 6px; }
.classified-title-actions .save-btn,
.classified-title-actions > button {
  position: static; width: auto; height: 32px; padding: 0 10px; border: 1px solid #c8c8c8;
  border-radius: 0; background: #fff; box-shadow: none; color: #35679a; font-size: 13px; cursor: pointer;
}
.classified-title-actions .save-btn { width: 34px; padding: 0; }
.classified-detail-main {
  padding: 15px 0 20px; display: grid;
  grid-template-columns: minmax(420px, 1fr) 255px 245px; gap: 15px; align-items: start;
}
.classified-detail-main .gallery { border-radius: 0; }
.classified-detail-main .gallery-main { aspect-ratio: 4 / 3; }
.classified-facts { min-width: 0; }
.classified-price .card-price { margin-bottom: 7px; color: #333; font: 700 25px Arial, Helvetica, sans-serif; }
.classified-location { display: block; margin-bottom: 12px; color: #1c62a3; font-size: 14px; text-decoration: underline; }
.classified-fact-list { margin: 10px 0 0; border-top: 1px solid #dedede; }
.classified-fact-list > div {
  min-height: 31px; padding: 6px 0; display: grid; grid-template-columns: 46% 54%;
  align-items: baseline; border-bottom: 1px solid #e7e7e7; font-size: 13px;
}
.classified-fact-list dt { color: #666; }
.classified-fact-list dd { margin: 0; color: #1c62a3; font-weight: 700; overflow-wrap: anywhere; }
.classified-seller { position: static; border-radius: 0; }
.classified-seller .seller-box { padding: 13px; border-top: 0; }
.classified-seller .seller-box h3 { margin-bottom: 12px; font-size: 15px; }
.classified-seller .seller-name { font-size: 14px; }
.classified-seller .seller-meta { margin-top: 4px; font: 12px Arial, Helvetica, sans-serif; }
.classified-seller .buy-actions { padding: 12px 13px; }
.classified-seller .btn { border-radius: 2px; font-size: 14px; }
.classified-detail-tabs {
  display: flex; border: 1px solid #c8c8c8; border-bottom: 3px solid #fd5701; background: #f4f4f4;
}
.classified-detail-tabs a { padding: 11px 18px; border-right: 1px solid #d2d2d2; font-size: 14px; font-weight: 700; }
.classified-detail-tabs a.is-active { background: #fd5701; color: #fff; }
.classified-description { margin-top: 14px; padding: 16px; border-radius: 0; }
.classified-description { scroll-margin-top: calc(var(--header-h) + 18px); transition: background-color .25s ease; }
.classified-description.section-flash { background: #fff7ed; }
.classified-description h2 { margin-bottom: 14px; font-size: 19px; }
.classified-description .body-copy,
.classified-description p { font-size: 15px; line-height: 1.65; }
.classified-description .spec-row dt,
.classified-description .spec-row dd { font-size: 14px; }
.map-note { margin-top: 10px; color: #666; font-size: 13px !important; }

@media (max-width: 1020px) {
  .classified-detail-main { grid-template-columns: minmax(0, 1fr) 280px; }
  .classified-detail-main .classified-seller { grid-column: 2; }
  .classified-detail-main .classified-facts { grid-column: 2; grid-row: 1; margin-bottom: 250px; }
}
@media (max-width: 860px) {
  .classified-results .browse { grid-template-columns: 1fr; }
  .classified-results .rail { position: fixed; max-height: none; overflow-y: auto; }
  .classified-results .rail-done { display: inline-flex; margin-left: auto; }
  .classified-detail-main { grid-template-columns: 1fr; }
  .classified-detail-main .classified-seller,
  .classified-detail-main .classified-facts { grid-column: auto; grid-row: auto; margin-bottom: 0; }
}
@media (max-width: 620px) {
  .classified-results, .classified-detail-page { width: calc(100% - 16px); }
  .classified-detail-title { align-items: flex-start; flex-direction: column; }
  .classified-detail-title h1 { font-size: 21px; }
  .classified-detail-tabs { overflow-x: auto; }
  .classified-detail-tabs a { flex: 0 0 auto; }
}

/* Readability pass: match the comfortable classified-portal scale. */
body { font-size: 16px; }
.search-input { font-size: 13px; }
.search-go { font-size: 12px; }
.header-advanced { font-size: 12px; }
.header-account { font-size: 12px; }
.mast-actions .btn-post { font-size: 12px; }

.ad-slider { width: min(880px, 100%); }
.classic-ad-wrap { padding-top: 14px; padding-bottom: 20px; }

.classic-quick-links a { font-size: 13px; }
.classic-root-category strong { font-size: 13px; }
.classic-root-category small { font-size: 10px; }
.classic-child-links a { font-size: 12px; line-height: 1.45; }
.classic-content-title h2 { font-size: 15px; font-weight: 600; }
.classic-content-title p,
.classic-content-title > a,
.classic-content-title > span { font-size: 11px; }
.classic-showcase-tile > strong { font-size: 12px; line-height: 1.35; }
.classic-showcase-tile > small { margin-top: 2px; font-size: 10px; }
.classic-recent-row strong { font-size: 12px; }
.classic-recent-row small { font-size: 10px; }
.classic-recent-row > b { font-size: 11px; }
.classic-state-grid span { font-size: 10px; }

.classified-results .page-head h1 { font-size: 24px; }
.classified-results .crumbs,
.classified-detail-page .crumbs { font-size: 14px; }
.classified-results .result-count { font-size: 15px; }
.classified-results .rail-head h3 { font-size: 15px; }
.classified-results .facet > summary { font-size: 15px; }
.classified-results .check,
.classified-results .subcat-list a { font-size: 14.5px; }
.classified-results .check .n,
.classified-results .subcat-list .n { font-size: 13px; }
.classified-results .listing-table { font-size: 14px; }
.classified-results .listing-table th { font-size: 13px; }
.classified-results .table-title a { font-size: 15px; }
.classified-results .table-title small,
.classified-results .table-location span,
.classified-results .table-date { font-size: 13px; }
.classified-results .table-spec { font-size: 14px; }
.classified-results .table-price .card-price { font-size: 16px; }
.classified-results .table-location b { font-size: 14px; }

.classified-detail-title h1 { font-size: 26px; }
.classified-price .card-price { font-size: 27px; }
.classified-location { font-size: 15px; }
.classified-fact-list > div { font-size: 14px; }
.classified-seller .seller-name { font-size: 15px; }
.classified-seller .seller-meta { font-size: 13px; }
.classified-detail-tabs a { font-size: 15px; }
.classified-description .body-copy,
.classified-description p { font-size: 16px; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .ad-slider { width: min(100%, 560px); }
  .classified-results .listing-table { font-size: 13px; }
}

/* Unified type scale and black content text. No micro-copy below 12px. */
:root {
  --ink: #1D2127;
  --ink-2: #344054;
  --muted: #667085;
  --faint: #98A2B3;
}
body { color: var(--ink); font-size: 17px; }
.main,
.main h1, .main h2, .main h3, .main h4,
.main p, .main span, .main small, .main label,
.main dt, .main dd, .main li { color: #000; }

.main small,
.footer small,
.header-account-dropdown small,
.header-account-dropdown > a,
.header-account-dropdown > button,
.classic-ai-search small,
.classic-tile-media span,
.ad-label,
.section-kicker,
.notification-item time { font-size: 12px !important; line-height: 1.35; }
.header-account-summary b { font-size: 14px; }
.header-account-summary small { margin-top: 3px; font-size: 12px; color: #222; }
.header-account-dropdown { width: 280px; }
.header-account-dropdown > a,
.header-account-dropdown > button { min-height: 38px; padding: 9px 11px; color: #000; font-size: 13px !important; }
.classic-ai-search { padding: 10px 13px; align-items: center; gap: 4px; }
.classic-ai-search span { color: #000; font-size: 14px; }
.classic-ai-search b { font-size: 15px; }
.classic-ai-search small { color: #000; }

.classic-root-category strong { color: #000; font-size: 14px; }
.classic-root-category small { color: #333; font-size: 12px; }
.classic-child-links a { color: #000; font-size: 13px; }
.classic-content-title h2 { color: #000; font-size: 17px; }
.classic-content-title p,
.classic-content-title > a,
.classic-content-title > span { color: #000; font-size: 12px; }
.classic-showcase-tile > strong { color: #000; font-size: 13px; }
.classic-showcase-tile > small { color: #000; font-size: 12px; }
.classic-recent-row strong { color: #000; font-size: 13px; }
.classic-recent-row small,
.classic-recent-row > b { color: #000; font-size: 12px; }

.classified-results,
.classified-detail-page { color: #000; }
.classified-results .crumbs,
.classified-detail-page .crumbs,
.classified-results .classified-category-tree .category-tree-row,
.classified-results .table-title a,
.classified-location,
.classified-fact-list dd { color: #000; }
.classified-results .page-head h1 { font-size: 26px; }
.classified-results .result-count { color: #000; font-size: 16px; }
.classified-results .facet > summary { color: #000; font-size: 16px; }
.classified-results .check,
.classified-results .subcat-list a { color: #000; font-size: 15.5px; }
.classified-results .listing-table { color: #000; font-size: 15px; }
.classified-results .listing-table th { color: #000; font-size: 14px; }
.classified-results .table-title a { font-size: 16px; }
.classified-results .table-title small,
.classified-results .table-location span,
.classified-results .table-date { color: #000; font-size: 14px; }
.classified-results .table-spec,
.classified-results .table-location b { color: #000; font-size: 15px; }
.classified-results .table-price .card-price { color: #000; font-size: 17px; }

.classified-detail-title h1 { color: #000; font-size: 28px; }
.classified-price .card-price { color: #000; font-size: 29px; }
.classified-location { font-size: 16px; }
.classified-fact-list > div { color: #000; font-size: 15px; }
.classified-fact-list dt, .classified-fact-list dd { color: #000; }
.classified-seller .seller-name { font-size: 16px; }
.classified-seller .seller-meta { color: #000; font-size: 14px; }
.classified-detail-tabs a { font-size: 16px; }
.classified-description .body-copy,
.classified-description p { color: #000; font-size: 17px; }

.notification-page-head, .settings-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }

/* Balanced compact scale after the readability pass. */
body { font-size: 16px; }
.main small,
.footer small,
.header-account-dropdown small,
.header-account-dropdown > a,
.header-account-dropdown > button,
.classic-ai-search small,
.classic-tile-media span,
.ad-label,
.section-kicker,
.notification-item time { font-size: 11px !important; }
.header-account-summary b { font-size: 13px; }
.header-account-summary small { font-size: 11px; }
.header-account-dropdown > a,
.header-account-dropdown > button { min-height: 36px; font-size: 12px !important; }
.classic-ai-search span { font-size: 13px; }
.classic-ai-search b { font-size: 14px; }

.classic-root-category strong { font-size: 13px; }
.classic-root-category small { font-size: 11px; }
.classic-child-links a { font-size: 12px; }
.classic-content-title h2 { font-size: 16px; }
.classic-content-title p,
.classic-content-title > a,
.classic-content-title > span { font-size: 11px; }
.classic-showcase-tile > strong { font-size: 12px; }
.classic-showcase-tile > small,
.classic-recent-row small,
.classic-recent-row > b { font-size: 11px; }
.classic-recent-row strong { font-size: 12px; }

.classified-results .page-head h1 { font-size: 24px; }
.classified-results .result-count { font-size: 15px; }
.classified-results .facet > summary { font-size: 15px; }
.classified-results .check,
.classified-results .subcat-list a { font-size: 14px; }
.classified-results .listing-table { font-size: 14px; }
.classified-results .listing-table th { font-size: 13px; }
.classified-results .table-title a { font-size: 15px; }
.classified-results .table-title small,
.classified-results .table-location span,
.classified-results .table-date { font-size: 12px; }
.classified-results .table-spec,
.classified-results .table-location b { font-size: 14px; }
.classified-results .table-price .card-price { font-size: 16px; }
.classified-detail-title h1 { font-size: 26px; }
.classified-price .card-price { font-size: 27px; }
.classified-location { font-size: 15px; }
.classified-fact-list > div { font-size: 14px; }
.classified-seller .seller-name { font-size: 15px; }
.classified-seller .seller-meta { font-size: 13px; }
.classified-detail-tabs a { font-size: 15px; }
.classified-description .body-copy,
.classified-description p { font-size: 16px; }

/* Supplied category artwork: centered consistently with per-category colors. */
.classic-root-icon.has-custom-icon {
  width: 38px; height: 38px; padding: 4px; display: grid; place-items: center;
  overflow: hidden; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.classic-root-icon.has-custom-icon img {
  display: block; width: 30px !important; height: 30px !important; max-width: none;
  object-fit: cover; object-position: center;
  transform: none; mix-blend-mode: screen; filter: saturate(1.15) contrast(1.35);
}
.classic-root-category { grid-template-columns: 44px minmax(0, 1fr); align-items: center; }
.classic-category-tree section:nth-child(1) .has-custom-icon { background: #145ca8; }
.classic-category-tree section:nth-child(2) .has-custom-icon { background: #743fa7; }
.classic-category-tree section:nth-child(3) .has-custom-icon { background: #16856d; }
.classic-category-tree section:nth-child(4) .has-custom-icon { background: #b34b28; }
.classic-category-tree section:nth-child(5) .has-custom-icon { background: #3f6f91; }
.classic-category-tree section:nth-child(6) .has-custom-icon { background: #8a6b18; }
.classic-category-tree section:nth-child(7) .has-custom-icon { background: #b53666; }
.classic-category-tree section:nth-child(8) .has-custom-icon { background: #4d7550; }
.classic-category-tree section:nth-child(9) .has-custom-icon { background: #7560a8; }
.classic-category-tree section:nth-child(10) .has-custom-icon { background: #94602a; }
.classic-category-tree section:nth-child(11) .has-custom-icon { background: #39748f; }
.classic-category-tree section:nth-child(12) .has-custom-icon { background: #89506b; }
.notification-page-head p, .settings-card-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.settings-card-head > a { color: var(--route-dark); font-size: 11px; font-weight: 700; }
.notification-list { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.notification-item { position: relative; min-height: 78px; padding: 13px 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 8px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background: #fff8f3; }
.notification-item.is-unread { background: #fff7f1; }
.notification-type-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--route-dark); background: var(--route-tint); font-size: 16px; }
.notification-copy { min-width: 0; }
.notification-copy strong, .notification-copy small { display: block; }
.notification-copy strong { font-size: 13px; }
.notification-copy small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.notification-item time { color: var(--muted); font: 9px var(--data); white-space: nowrap; }
.notification-item > i { width: 7px; height: 7px; border-radius: 50%; background: var(--route); }
.notification-settings-list { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.notification-toggle { min-height: 63px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.notification-toggle:last-child { border-bottom: 0; }
.notification-toggle:hover { background: #fafbf9; }
.notification-toggle strong, .notification-toggle small { display: block; }
.notification-toggle strong { font-size: 12px; }
.notification-toggle small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.switch-control { position: relative; flex: 0 0 auto; }
.switch-control input { position: absolute; opacity: 0; pointer-events: none; }
.switch-control i { position: relative; width: 38px; height: 22px; display: block; border-radius: 12px; background: #cbd0d4; transition: background .15s; }
.switch-control i::after { content: ''; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(20,25,30,.25); transition: transform .15s; }
.switch-control input:checked + i { background: var(--route); }
.switch-control input:checked + i::after { transform: translateX(16px); }
.switch-control input:focus-visible + i { outline: 2px solid var(--route); outline-offset: 2px; }

@media (max-width: 640px) {
  .logo-image { width: 105px; height: 32px; }
  .classic-sidebar, .classic-center { padding-inline: 9px; }
  .notification-page-head, .settings-card-head { flex-direction: column; }
  .notification-item { grid-template-columns: 32px minmax(0, 1fr) 7px; }
  .notification-item time { display: none; }
}

/* ========================================================================== 
   Listuply home: neutral marketplace hierarchy + nationwide state directory
   ========================================================================== */

.masthead {
  background: var(--header);
  border-color: var(--header-secondary);
  box-shadow: 0 2px 10px rgba(17, 19, 24, .22);
}
.search-input { background: var(--header-search); border-color: var(--header-border); }
.search-input::placeholder { color: var(--header-placeholder); }
.search-go { background: var(--header-secondary); }
.search-go:hover { background: var(--header-border); }
.mast-actions .btn-post { background: var(--brand); border-color: var(--brand); }
.mast-actions .btn-post:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.mast-actions .btn-post:active { background: var(--brand-active); border-color: var(--brand-active); }

.classic-home {
  color: var(--ink) !important;
  font-family: var(--display);
}
.classic-home .classic-sidebar,
.classic-home .classic-center {
  border-color: var(--line-soft);
  background: var(--card);
}
.classic-home .classic-sidebar { box-shadow: 0 2px 8px rgba(17, 24, 39, .025); }
.classic-home .classic-center { box-shadow: 0 3px 12px rgba(17, 24, 39, .025); }

.classic-home .classic-quick-links a,
.classic-home .classic-root-category,
.classic-home .classic-child-links a,
.classic-home .classic-content-title > a,
.classic-home .popular-column a,
.classic-home .popular-guide > a:last-child {
  color: #344054;
}
.classic-home .classic-quick-links a:hover,
.classic-home .classic-root-category:hover,
.classic-home .classic-child-links a:hover,
.classic-home .classic-content-title > a:hover,
.classic-home .popular-column a:hover,
.classic-home .popular-guide > a:last-child:hover { color: var(--brand-hover); }

.classic-home .quick-symbol,
.classic-home .classic-quick-links a:nth-child(n) .quick-symbol {
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-strong);
}
.classic-home .classic-root-icon,
.classic-home .classic-root-icon.has-custom-icon,
.classic-home .classic-category-tree section:nth-child(n) .has-custom-icon {
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-strong);
  box-shadow: none;
}
.classic-home .classic-root-icon.has-custom-icon img {
  mix-blend-mode: multiply;
  filter: saturate(.8) contrast(1.15);
}
.classic-home .classic-root-category strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.classic-home .classic-root-category small { color: var(--faint); font-size: 11px; font-weight: 500; }
.classic-home .classic-child-links a { font-size: 13px; line-height: 1.4; }

.classic-home .classic-content-title h2 { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.classic-home .classic-content-title p { color: var(--muted); font-size: 12px; }
.classic-home .classic-content-title > a,
.classic-home .classic-content-title > span { color: #344054; font-size: 12px; font-weight: 600; }
.classic-home .classic-showcase-tile > strong,
.classic-home .classic-recent-row strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.classic-home .classic-showcase-tile:hover > strong,
.classic-home .classic-recent-row:hover strong { color: var(--brand-hover); }
.classic-home .classic-showcase-tile > small,
.classic-home .classic-recent-row > b { color: var(--ink-2); font-size: 14px; font-weight: 700; }
.classic-home .classic-recent-row small { color: var(--muted); font-size: 11px; font-weight: 400; }
.classic-home .classic-tile-media { border-color: var(--line); background: var(--surface-soft); }
.classic-home .classic-tile-media span {
  padding: 3px 5px;
  border-radius: 3px;
  color: #fff;
  background: var(--brand);
  font-size: 10px !important;
  font-weight: 700;
}
.classic-home .classic-recent { border-color: var(--line-soft); background: var(--surface-soft); border-radius: 10px; padding: 18px; }
.classic-home .classic-recent-row { border-color: var(--line-soft); }

.classic-home .brand-ad-section { border-color: var(--line-soft); }
.classic-home .brand-ad-card { border-color: var(--line-soft); background: var(--brand-soft); }
.classic-home .classic-tile-skeleton,
.classic-home .classic-row-skeleton {
  background: linear-gradient(90deg, var(--line-soft), var(--surface-soft), var(--line-soft));
  background-size: 200% 100%;
}

.classic-home .national-directory {
  margin-top: 36px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface-warm);
}
.classic-home > .classic-directory.loading-panel { margin: 0; padding: 0; border: 0; }
.classic-home .national-directory .classic-content-title {
  min-height: 0;
  margin-bottom: 22px;
  align-items: flex-end;
}
.classic-home .national-directory .classic-content-title h2 { font-size: 27px; line-height: 1.15; }
.classic-home .national-directory .classic-content-title p { margin-top: 6px; font-size: 14px; }
.classic-home .national-directory .classic-content-title > a {
  padding-bottom: 2px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.classic-home .national-directory .classic-content-title > a:hover { color: var(--brand-hover); }
.classic-home .classic-state-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}
.classic-home .classic-state-grid .state-directory-card {
  min-width: 0;
  min-height: 72px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .025);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}
.classic-home .classic-state-grid .state-directory-card:hover {
  border-color: var(--brand-soft-strong);
  background: var(--brand-surface);
  box-shadow: 0 6px 16px rgba(17, 24, 39, .07);
  transform: translateY(-1px);
}
.classic-home .state-flag-frame {
  width: 32px;
  height: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .08);
}
.classic-home .state-flag { width: 100%; height: 100%; object-fit: cover; }
.classic-home .state-directory-copy { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0 6px; }
.classic-home .classic-state-grid .state-directory-copy b {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.classic-home .classic-state-grid .state-directory-copy > span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.classic-home .state-directory-copy small {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px !important;
  font-weight: 400;
}
.classic-home .state-directory-card > i { color: var(--faint); font-size: 19px; font-style: normal; line-height: 1; }
.classic-home .state-directory-card:hover > i { color: var(--brand); }

@media (max-width: 920px) {
  .classic-home .national-directory { padding: 26px; }
  .classic-home .classic-state-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .classic-home .national-directory { margin-top: 28px; padding: 22px; }
  .classic-home .national-directory .classic-content-title { align-items: flex-start; flex-direction: column; gap: 10px; }
  .classic-home .national-directory .classic-content-title h2 { font-size: 24px; }
  .classic-home .national-directory .classic-content-title p { font-size: 13px; line-height: 1.5; }
  .classic-home .classic-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .classic-home .classic-state-grid .state-directory-card { min-height: 68px; padding: 9px; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .classic-home .state-flag-frame { width: 28px; height: 19px; }
  .classic-home .state-directory-card > i { display: none; }
}
@media (max-width: 390px) {
  .classic-home .national-directory { padding: 20px; }
  .classic-home .classic-state-grid { grid-template-columns: 1fr; }
}
.facet-search {
  width: 100%;
  min-height: 34px;
  margin-bottom: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: inherit;
}

.advanced-facets > .facet {
  border-top: 1px solid var(--line);
}
