/*
 * DeedSnipe — Editorial Theme
 * Restrained: white surfaces, navy type, amber only for CTAs.
 */

:root {
  --divi-navy:   #002868;
  --divi-amber:  #B22234;
  --divi-bg:     #ffffff;
  --divi-s2:     #f9fafb;
  --divi-border: #ebebeb;
  --divi-muted:  #6b7280;
  --divi-faint:  #9ca3af;
}

body { background: #f5f7fb !important; color: #002868; }

/* Nav */
.nav { background: #002868 !important; border-bottom: 3px solid #B22234 !important; }
.nav-links a { color: rgba(255,255,255,.6) !important; }
.nav-links a:hover, .nav-links a.active { color: #fff !important; }
.nav-cta { background: #B22234 !important; color: #fff !important; font-weight: 700 !important; border: none !important; }
.nav-cta:hover { background: #8C1A22 !important; }

/* Dividers */
.divider { border-color: #ebebeb !important; }

/* Section headings */
.section-title { color: #002868 !important; }
.section-sub   { color: #6b7280 !important; }
.see-all { color: #6b7280 !important; font-weight: 500 !important; text-decoration: underline; text-underline-offset: 3px; }
.see-all:hover { color: #002868 !important; }

/* Stats strip — remove amber bar, white strip with large numbers */
.stats-strip { background: #fff !important; border-bottom: 1px solid #ebebeb !important; }
.stats-inner { border: none !important; }
.sstat { border-right-color: #ebebeb !important; }
.sstat-n { color: #002868 !important; }
.sstat-l { color: #9ca3af !important; letter-spacing: .04em; }

/* Schedule rows */
.sched-row { background: #fff !important; border-color: #ebebeb !important; }
.sched-row:hover { background: #f9fafb !important; border-color: #d0d5dd !important; }
.sched-dow, .sched-mon { color: #9ca3af !important; }
.sched-day { color: #002868 !important; font-weight: 800 !important; }
.sched-date.is-soon .sched-day { color: #B22234 !important; }
.sched-stat-l { color: #9ca3af !important; }
.sched-stat-n { color: #002868 !important; }
.sched-stat-n.crimson { color: #002868 !important; }
.sched-arrow { color: #d0d5dd !important; }
.sched-county-pill { background: #002868 !important; color: #fff !important; border: none !important; font-weight: 500 !important; }
.sched-county-pill:hover { background: #243f63 !important; }

/* Deal cards — photo-first layout */
.deal-card { background: #fff !important; border: 1px solid #e8edf5 !important; border-top: none !important; color: #002868 !important;
  padding: 0 !important; border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(26,46,74,.06), 0 4px 16px rgba(26,46,74,.06) !important; }
.deal-card:hover { border-color: #e8edf5 !important;
  box-shadow: 0 4px 12px rgba(26,46,74,.1), 0 12px 40px rgba(26,46,74,.12) !important; }
.deal-body { padding: 13px 15px 14px !important; }
.deal-addr { color: #002868 !important; }
.deal-county { color: #6b7280 !important; }
.deal-footer { border-top-color: #f1f5f9 !important; }
.deal-date-txt { color: #d97706 !important; }
.deal-dot { background: #d97706 !important; }
.bid-val { color: #002868 !important; font-size: 19px !important; font-weight: 800 !important; }
.bid-pct { color: #9ca3af !important; }
.bid-pct b { color: #16a34a !important; }
.val-line { color: #9ca3af !important; }

/* FEMA */
.fema-ok   { background: #f0fdf4 !important; color: #16a34a !important; border-color: #bbf7d0 !important; }
.fema-warn { background: #fffbeb !important; color: #b45309 !important; border-color: #fde68a !important; }

/* Score rings */
.score-ring.s-hi, .deal-score.score-high, .dp-score.score-high, .lst-score.score-high, .score-section .score-high { background: #f0fdf4 !important; border-color: #16a34a !important; color: #16a34a !important; }
.score-ring.s-md, .deal-score.score-med,  .dp-score.score-med,  .lst-score.score-med,  .score-section .score-med  { background: #fffbeb !important; border-color: #C9A84C !important; color: #b45309 !important; }
.score-ring.s-lo, .deal-score.score-low,  .dp-score.score-low,  .lst-score.score-low,  .score-section .score-low  { background: #fff1f2 !important; border-color: #f43f5e !important; color: #f43f5e !important; }

/* County cards (grid) */
.county-card { background: #fff !important; border-color: #ebebeb !important; color: #002868 !important; box-shadow: none !important; }
.county-card:hover { border-color: #c5cdd8 !important; box-shadow: 0 2px 10px rgba(0,0,0,.05) !important; }
.cc-name { color: #002868 !important; }
.cc-sched { color: #6b7280 !important; }
.cc-badge { background: #f3f4f6 !important; color: #374151 !important; border: none !important; font-weight: 600 !important; }
.cc-next-lbl { color: #9ca3af !important; }
.cc-next-date { color: #002868 !important; font-weight: 600 !important; }
.cc-stats { color: #9ca3af !important; }
.cc-stats b { color: #374151 !important; }

/* Sales table */
.sales-table { background: #fff !important; border-color: #ebebeb !important; border-radius: 8px !important; }
.sales-table th { background: #f9fafb !important; color: #9ca3af !important; border-bottom-color: #ebebeb !important; }
.sales-table td { border-bottom-color: #f3f4f6 !important; }
.sales-table tr:hover td { background: #f9fafb !important; }
.td-addr { color: #002868 !important; }
.td-county { color: #6b7280 !important; }
.td-mono { color: #374151 !important; }
.td-sold { color: #16a34a !important; }
.td-date { color: #9ca3af !important; }
.td-pct.up   { background: #f0fdf4 !important; color: #16a34a !important; border-color: #bbf7d0 !important; }
.td-pct.down { background: #f9fafb !important; color: #6b7280 !important; border-color: #ebebeb !important; }

/* County page stats row */
.stats-row { background: #ebebeb !important; border-radius: 8px !important; overflow: hidden; }
.stat { background: #fff !important; }
.stat-n { color: #002868 !important; }
.stat-n.crimson { color: #002868 !important; }
.stat-n.green { color: #16a34a !important; }
.stat-l { color: #9ca3af !important; }

/* County page tabs */
.tabs { background: #f3f4f6 !important; border: none !important; padding: 3px !important; border-radius: 8px !important; }
.tab { color: #6b7280 !important; }
.tab:hover { color: #002868 !important; background: rgba(255,255,255,.5) !important; }
.tab.active { background: #fff !important; color: #002868 !important; box-shadow: 0 1px 3px rgba(0,0,0,.08) !important; }

/* Browse/listings grid cards */
.card { background: #fff !important; border-color: #e8edf5 !important;
  border-radius: 14px !important; overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(26,46,74,.05), 0 4px 14px rgba(26,46,74,.05) !important; }
.card:hover { border-color: #e8edf5 !important;
  box-shadow: 0 4px 12px rgba(26,46,74,.1), 0 12px 36px rgba(26,46,74,.11) !important; }
.card-img { height: 185px !important; }
.card-body { background: #fff !important; }
.card-address { color: #002868 !important; }
.card-location { color: #6b7280 !important; }
.card-stat { background: #f8fafc !important; }
.card-stat-label { color: #94a3b8 !important; }
.card-stat-value { color: #002868 !important; }
.card-footer { border-top-color: #f1f5f9 !important; color: #6b7280 !important; }
/* Listing cards by label */
.card-title { color: #9ca3af !important; border-bottom-color: #f3f4f6 !important; background: #f9fafb !important; font-size: 10px !important; letter-spacing: .1em !important; }
/* County detail cards (override broader .card rule above) */
.card-title { color: #9ca3af !important; border-bottom-color: #f3f4f6 !important; background: #f9fafb !important; font-size: 10px !important; letter-spacing: .1em !important; }
.row { border-bottom-color: #f3f4f6 !important; }
.row-label { color: #6b7280 !important; }
.bar { background: #f3f4f6 !important; }
.bar-fill { background: #002868 !important; }
.bar-n { color: #6b7280 !important; }
.context { background: #f9fafb !important; border-top-color: #f3f4f6 !important; color: #6b7280 !important; }
.deal { border-bottom-color: #f3f4f6 !important; }
.deal:hover { background: #f9fafb !important; }
.deal-sub { color: #6b7280 !important; }

/* Risk grid */
.risk-grid { background: #f3f4f6 !important; }
.risk-item { background: #fff !important; }
.risk-n { color: #002868 !important; }
.risk-n.ok   { color: #16a34a !important; }
.risk-n.warn { color: #d97706 !important; }
.risk-n.bad  { color: #f43f5e !important; }
.risk-l { color: #9ca3af !important; }

/* Calendar */
.cal-dn { background: #f9fafb !important; color: #9ca3af !important; border: none !important; }
.cal-cell { background: #fff !important; border-color: #f0f0f0 !important; }
.cal-cell.empty { background: #fafafa !important; border-color: #f5f5f5 !important; }
.cal-cell.has-auction { background: #fffbeb !important; border-color: #fde68a !important; }
.cal-cell.has-auction:hover { background: #fef3c7 !important; }
.cal-cell.has-auction-past { background: #f8fafc !important; border-color: #e2e8f0 !important; }
.cal-cell.is-today { background: #f0f9ff !important; border-color: #bae6fd !important; }
.cal-num { color: #9ca3af !important; }
.cal-num.today { color: #0284c7 !important; }
.cal-num.dim { color: #e5e7eb !important; }
.cal-type { color: #b45309 !important; }
.cal-type.past { color: #6b7280 !important; }
.cal-count { color: #002868 !important; }
.cal-time { color: #9ca3af !important; }
.cal-month { color: #002868 !important; }
.day-panel { background: #fff !important; border-color: #B22234 !important; }
.day-panel-title { color: #002868 !important; }
.day-panel-sub { color: #6b7280 !important; }
.dp-row { border-bottom-color: #f3f4f6 !important; }
.dp-addr { color: #002868 !important; }
.dp-meta { color: #6b7280 !important; }
.dp-bid { color: #002868 !important; font-weight: 700 !important; }
.dp-thumb { background: #f3f4f6 !important; }

/* Listings */
.filters { background: #fff !important; border-color: #ebebeb !important; }
.filter-label { color: #9ca3af !important; }
select, input[type=number] { background: #f9fafb !important; color: #002868 !important; border-color: #e5e7eb !important; }
select:hover, input:hover { border-color: #9ca3af !important; }
select:focus, input:focus { border-color: #002868 !important; }
.sort-btn { background: #fff !important; border-color: #e5e7eb !important; color: #374151 !important; }
.sort-btn:hover { border-color: #9ca3af !important; color: #002868 !important; }
.sort-btn.active { background: #002868 !important; color: #fff !important; border-color: #002868 !important; }
.lst-row { background: #fff !important; border-color: #ebebeb !important; color: #002868 !important; box-shadow: none !important; }
.lst-row:hover { border-color: #c5cdd8 !important; box-shadow: 0 1px 6px rgba(0,0,0,.06) !important; }
.lst-addr { color: #002868 !important; }
.lst-loc { color: #6b7280 !important; }
.lst-bid { color: #002868 !important; font-weight: 700 !important; }
.lst-val { color: #9ca3af !important; }
.lst-row-redeemed { background: #fffbeb !important; border-left-color: #B22234 !important; border-color: #fde68a !important; }
.lst-row-sold { border-color: #dcfce7 !important; }

/* Chips */
.chip-date       { background: #f3f4f6 !important; color: #374151 !important; }
.chip-fema-ok    { background: #f0fdf4 !important; color: #16a34a !important; }
.chip-fema-bad   { background: #fff1f2 !important; color: #f43f5e !important; }
.chip-type       { background: #f0f4ff !important; color: #3b5bdb !important; }
.chip-sold       { background: #f0fdf4 !important; color: #16a34a !important; }
.chip-canceled   { background: #f9fafb !important; color: #9ca3af !important; }
.chip-redeemed   { background: #f0f4ff !important; color: #3b5bdb !important; }
.chip-rescheduled{ background: #fffbeb !important; color: #b45309 !important; }

/* Property page */
.prop-address { color: #002868 !important; }
.prop-sub { color: #6b7280 !important; }
.score-section { background: #f9fafb !important; border-color: #ebebeb !important; }
.score-text { color: #6b7280 !important; }

/* Auction summary / today */
.today-wrap { background: #fff !important; border-color: #ebebeb !important; }
.today-title { color: #002868 !important; }
.today-date { color: #6b7280 !important; }
.today-stat { background: #f9fafb !important; border-color: #f3f4f6 !important; }
.today-stat-val { color: #002868 !important; }
.today-stat-lbl { color: #9ca3af !important; }
.today-county-chip { background: #002868 !important; color: #fff !important; border: none !important; }
.missed-deal-card { background: #f9fafb !important; border-color: #ebebeb !important; color: #002868 !important; }
.missed-deal-card:hover { background: #fff !important; border-color: #c5cdd8 !important; }
.missed-deal-won-val { color: #16a34a !important; }
.missed-chip-green { background: #f0fdf4 !important; color: #16a34a !important; border-color: #bbf7d0 !important; }
.missed-chip-amber { background: #fffbeb !important; color: #b45309 !important; border-color: #fde68a !important; }
.missed-chip-dim   { background: #f9fafb !important; color: #6b7280 !important; border-color: #ebebeb !important; }
.week-deal-row { background: #f9fafb !important; border-color: #ebebeb !important; }
.week-deal-row:hover { background: #fff !important; border-color: #c5cdd8 !important; }
.wdr-rank { color: #d0d5dd !important; }
.wdr-addr { color: #002868 !important; }
.wdr-county { color: #6b7280 !important; }
.wdr-won { color: #16a34a !important; }
.wdr-pct { color: #6b7280 !important; }
.week-deal-card { background: #fff !important; border-color: #ebebeb !important; color: #002868 !important; }
.week-deal-card:hover { border-color: #c5cdd8 !important; box-shadow: 0 2px 10px rgba(0,0,0,.05) !important; }
.week-deal-addr { color: #002868 !important; }
.week-deal-county { color: #6b7280 !important; }
.week-deal-bid { color: #16a34a !important; }
.week-deal-bid-lbl { color: #9ca3af !important; }
.week-sold-badge { background: #f0fdf4 !important; color: #16a34a !important; border-color: #bbf7d0 !important; }
.week-meta-chip { background: #f3f4f6 !important; border-color: #ebebeb !important; color: #6b7280 !important; }

/* Pricing */
.pricing { background: #002868 !important; border-top: none !important; }
.pricing-title { color: #fff !important; }
.pricing-sub { color: rgba(255,255,255,.5) !important; }
.plan { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.1) !important; }
.plan.featured { background: rgba(240,165,0,.08) !important; border-color: #B22234 !important; }
.plan-name { color: rgba(255,255,255,.4) !important; }
.plan.featured .plan-name { color: #B22234 !important; }
.plan-price { color: #fff !important; }
.plan-price span { color: rgba(255,255,255,.35) !important; }
.plan-tagline { color: rgba(255,255,255,.45) !important; border-bottom-color: rgba(255,255,255,.08) !important; }
.plan-features { color: rgba(255,255,255,.65) !important; }
.btn-outline { border-color: rgba(255,255,255,.2) !important; color: rgba(255,255,255,.65) !important; background: transparent !important; }
.btn-outline:hover { border-color: rgba(255,255,255,.45) !important; color: #fff !important; }
.btn-red { background: #B22234 !important; color: #fff !important; font-weight: 700 !important; border: none !important; }
.btn-red:hover { background: #d99200 !important; }

/* Footer */
footer { background: #111d2e !important; color: rgba(255,255,255,.35) !important; border-top: none !important; }
footer a { color: rgba(255,255,255,.35) !important; }
footer a:hover { color: rgba(255,255,255,.7) !important; }

/* Landing page new sections */
.why-section .section-title { color: #002868 !important; }
.why-card { background: #fff !important; border-color: #e8edf5 !important; }
.why-title { color: #002868 !important; }
.why-body { color: #64748b !important; }
.how-section { background: #002868 !important; }
.compare-section { background: #fff !important; border-color: #e8edf5 !important; }
.roi-bar { background: linear-gradient(135deg,#002868 0%,#243f63 100%) !important; }
.hero-trust .trust-item { color: rgba(232,236,242,.65) !important; }

/* Admin — keep dark, clean up to navy */
.nav-logo { color: #B22234 !important; }
.nav-logo span { color: #fff !important; }
.nav-tag { background: #B22234 !important; color: #002868 !important; }

/* Skeletons */
.skel { background: linear-gradient(90deg,#f3f4f6 25%,#fafafa 50%,#f3f4f6 75%) !important; background-size: 200% 100% !important; }
.empty-msg { color: #9ca3af !important; }
