/* ==========================================================================
   BRUTALIST-MONO THEME
   Pure black/white/red. System monospace. No rounded corners.
   Raw, industrial, high-contrast brutalist web design.
   Mobile-first, WCAG AA+ contrast.
   ========================================================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#fff;
  --surface:#f5f5f5;
  --text:#000;
  --muted:#444;
  --accent:#d00;
  --accent-hover:#a00;
  --border:#000;
  --border-light:#ccc;
  --font:'Courier New',Courier,monospace;
  --max-w:1200px;
  --gap:1.25rem;
}

html{font-size:16px;-webkit-text-size-adjust:100%}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6}
a{color:var(--accent);text-decoration:underline}
a:hover{color:var(--accent-hover)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-weight:700;text-transform:uppercase;letter-spacing:.05em;line-height:1.2}
h1{font-size:clamp(1.5rem,4vw,2.5rem);border-bottom:4px solid var(--text);padding-bottom:.5rem;margin-bottom:1rem}
h2{font-size:clamp(1.2rem,3vw,1.8rem);margin-bottom:.75rem}
h3{font-size:1.1rem;margin-bottom:.5rem}
p{margin-bottom:.75rem}

.jwop5{max-width:var(--max-w);margin:0 auto;padding:0 1rem}

/* --- HEADER --- */
.nbib9{background:var(--text);color:var(--bg);border-bottom:4px solid var(--accent);padding:.75rem 0}
.jciv6{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;max-width:var(--max-w);margin:0 auto;padding:0 1rem}
.jdil3{color:var(--bg);text-decoration:none;font-weight:700;font-size:1.3rem;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap}
.xfid8{display:flex;gap:.75rem;flex-wrap:wrap}
.xfid8 a{color:var(--bg);text-decoration:none;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;padding:.25rem .5rem;border:1px solid transparent}
.xfid8 a:hover{border-color:var(--accent);color:var(--accent)}
.kgil6{display:flex;margin-left:auto}
.kgil6 input{background:transparent;color:var(--bg);border:2px solid var(--bg);padding:.4rem .6rem;font-family:var(--font);font-size:.85rem;width:160px}
.kgil6 input::placeholder{color:#888}
.kgil6 button{background:var(--accent);color:var(--bg);border:none;padding:.4rem .6rem;cursor:pointer;font-family:var(--font);font-weight:700}
.kgil6 button:hover{background:var(--accent-hover)}
.dtuq3{position:absolute;background:var(--bg);border:2px solid var(--text);max-height:300px;overflow-y:auto;z-index:500;display:none;color:var(--text)}
.dtuq3 a{display:block;padding:.5rem .75rem;text-decoration:none;color:var(--text);border-bottom:1px solid var(--border-light)}
.dtuq3 a:hover{background:var(--surface)}

/* --- MAIN --- */
.cnus8{min-height:60vh;padding:1.5rem 0 3rem}

/* --- BREADCRUMB --- */
.jdou3{font-size:.8rem;padding:.75rem 0;border-bottom:1px solid var(--border-light);margin-bottom:1.5rem;text-transform:uppercase;letter-spacing:.06em}
.jdou3 a{color:var(--muted)}
.jdou3 span{color:var(--text);font-weight:700}

/* --- HERO / INDEX --- */
.vhis1{border:4px solid var(--text);padding:2rem;margin-bottom:2rem;text-align:center}
.vhis1 h1{border-bottom:none;margin-bottom:.75rem}
.vmii9{color:var(--muted);font-size:1rem;margin-bottom:1.5rem}
.vlim6{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:1.5rem}
.ukiy3{border:2px solid var(--text);padding:.5rem 1rem}
.ukiy3 strong{color:var(--accent);font-size:1.3rem;display:block}
.ljiu1{display:inline-block;background:var(--accent);color:var(--bg);padding:.75rem 2rem;text-decoration:none;font-weight:700;text-transform:uppercase;letter-spacing:.1em;border:3px solid var(--text);transition:background .15s}
.ljiu1:hover{background:var(--accent-hover);color:var(--bg)}

.xnew2{border:4px solid var(--accent);padding:1.5rem;margin-bottom:2rem}
.qqed6{display:flex;flex-direction:column;gap:1rem}
.hrec6{max-height:400px;object-fit:contain;background:var(--surface);width:100%}
.fpeo6 h3 a{color:var(--text)}

/* --- SECTION --- */
.wvuk9{margin-bottom:2.5rem}
.wvuk9 h2{border-bottom:3px solid var(--text);padding-bottom:.4rem}

/* --- SEO BLOCK (first in source, last visually) --- */
.wriz3{display:flex;flex-direction:column}
.jwin7{order:99;border-top:3px solid var(--border-light);padding-top:1.5rem;margin-top:2rem;color:var(--muted);font-size:.9rem}
.jwin7 h2{color:var(--text);font-size:1.1rem}
.ztiq9{order:1}
.ksek7{order:0}

/* --- CARDS GRID (from render_annonces_grid) --- */
.tvon4{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0}
.hjog6{border:2px solid var(--text);background:var(--bg);transition:border-color .15s}
.hjog6:hover{border-color:var(--accent)}
.kpod4{display:block;background:var(--surface)}
.cnoj2{width:100%;max-height:320px;object-fit:contain;background:var(--surface)}
.fkon0{padding:.75rem;border-top:2px solid var(--text)}
.csoq8{font-size:.95rem;margin-bottom:.25rem}
.csoq8 a{color:var(--text);text-decoration:none}
.csoq8 a:hover{color:var(--accent)}
.kqof9{font-size:.8rem;color:var(--muted);margin-bottom:.2rem}
.htod9{font-size:.8rem;color:var(--accent);font-weight:700;text-transform:uppercase;margin-bottom:.2rem}
.llog7{font-size:.8rem;margin-bottom:0}
.prol0{color:var(--accent);letter-spacing:1px}
.kmon2{color:var(--muted);margin-left:.3rem}
.txol2{padding:2rem;text-align:center;border:2px dashed var(--border-light);color:var(--muted)}

/* --- FILTER BAR (from render_filter_bar) --- */
.pzog9{margin-bottom:1.5rem}
.vbug1{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem 0}
.icuc3{position:relative}
.emui5{cursor:pointer}
.vluc3{position:absolute;top:100%;left:0;z-index:50;background:var(--bg);border:2px solid var(--text);padding:.5rem;min-width:200px;display:flex;flex-wrap:wrap;gap:.35rem}
.gzus2{background:transparent;border:2px solid var(--text);color:var(--text);padding:.4rem .8rem;font-family:var(--font);font-size:.8rem;text-transform:uppercase;cursor:pointer}
.gzus2:hover,.zbacu9{background:var(--text);color:var(--bg)}

/* --- PAGINATION (from render_pagination) --- */
.ipuc0{display:flex;flex-wrap:wrap;gap:0;justify-content:center;margin-top:2rem}
.prua0{display:inline-flex;align-items:center;justify-content:center;min-width:2.5rem;height:2.5rem;border:2px solid var(--text);text-decoration:none;color:var(--text);font-weight:700;font-size:.85rem}
.prua0:hover{background:var(--text);color:var(--bg)}
.wsuf3{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.xquu2{display:inline-flex;align-items:center;padding:0 .5rem;color:var(--muted)}

/* --- ANNONCE DETAIL --- */
.nnl4{margin-bottom:2rem}
.pqm6{margin-bottom:1.5rem}
.irj7{color:var(--muted);font-size:.9rem}
.otf3{margin-top:.5rem}
.bxl5{color:var(--accent);font-size:1.1rem;letter-spacing:2px}
.zws2{font-weight:700;margin-left:.5rem}
.jvs4{margin-left:.5rem;color:var(--muted)}

.oxet9{display:grid;grid-template-columns:1fr;gap:0;margin-bottom:1.5rem}
.jzef0{width:100%;object-fit:contain;background:var(--surface);border:2px solid var(--text)}

.tmen0{margin-bottom:2rem}
.vhob4{display:inline-block;background:var(--accent);color:var(--bg);padding:.75rem 2rem;text-decoration:none;font-family:var(--font);font-weight:700;font-size:1rem;text-transform:uppercase;letter-spacing:.08em;border:3px solid var(--text);transition:background .15s}
.vhob4:hover{background:var(--accent-hover);color:var(--bg)}

.spl2{display:flex;flex-direction:column;gap:2rem}
.rsj0{flex:1}
.qzw4{margin-bottom:1.5rem}
.qzw4 h2{font-size:1.1rem;border-bottom:2px solid var(--text);padding-bottom:.3rem}
.qzw4 ul{list-style:none;padding:0}
.qzw4 li{padding:.3rem 0;border-bottom:1px solid var(--border-light)}
.qzw4 li::before{content:">";margin-right:.5rem;color:var(--accent);font-weight:700}

.uxib7{border:2px solid var(--text);padding:1rem}
.qcow4{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid var(--border-light);font-size:.9rem}
.vbob9{font-weight:700;text-transform:uppercase;font-size:.8rem}
.xsiz5{margin-top:1rem;padding-top:1rem;border-top:2px solid var(--text)}
.xsiz5 h3{margin-bottom:.75rem}
.xsiz5 li{display:inline-block;border:1px solid var(--text);padding:.2rem .5rem;margin:0 .3rem .3rem 0;font-size:.8rem}

/* --- COMMENTS --- */
.ejey8{border-top:3px solid var(--text);padding-top:1.5rem;margin-top:2rem}
.qleo2{display:flex;align-items:center;gap:.5rem}
.ckey7{background:var(--accent);color:var(--bg);padding:.15rem .5rem;font-size:.8rem}
.xbem9{border:2px solid var(--border-light);padding:1rem;margin-bottom:1rem}
.bfeu4{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.5rem;font-size:.85rem}
.sced3{font-weight:700;text-transform:uppercase}
.ogeb3{color:var(--accent);letter-spacing:1px}
.xdew2{color:var(--muted)}
.cheg6{font-size:.9rem;line-height:1.5}

/* --- REGIONS / CITIES LIST --- */
.gnig2{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0}
.eqip6{border:1px solid var(--text);padding:.6rem .8rem;display:flex;justify-content:space-between}
.eqip6 a{color:var(--text);text-decoration:none;font-size:.9rem}
.eqip6 a:hover{color:var(--accent)}
.ipis9{color:var(--muted);font-size:.8rem}

/* --- BLOG --- */
.eml9{display:flex;flex-direction:column;gap:0}
.dfq9{border:2px solid var(--text);display:flex;flex-direction:column}
.ukq7{display:block;background:var(--surface)}
.bju5{width:100%;max-height:250px;object-fit:contain;background:var(--surface)}
.kgh0{padding:1rem;border-top:2px solid var(--text)}
.kgh0 h2{font-size:1rem;margin-bottom:.3rem}
.kgh0 h2 a{color:var(--text);text-decoration:none}
.kgh0 h2 a:hover{color:var(--accent)}
.shu6{color:var(--muted);font-size:.8rem;display:block;margin-bottom:.5rem}
.ylx8{color:var(--accent);font-weight:700;text-transform:uppercase;font-size:.85rem}

.nbp2{max-width:800px}
.ndf0{color:var(--muted);font-size:.85rem;margin-bottom:1.5rem;border-bottom:1px solid var(--border-light);padding-bottom:.75rem}
.oca6{line-height:1.7}
.oca6 img{margin:1rem 0;border:2px solid var(--text)}

/* --- FOOTER --- */
.kteo5{background:var(--text);color:var(--bg);border-top:4px solid var(--accent);padding:2rem 0;margin-top:3rem;font-size:.85rem}
.zwem2{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:var(--max-w);margin:0 auto;padding:0 1rem}
.kteo5 h4{text-transform:uppercase;margin-bottom:.75rem;letter-spacing:.08em;font-size:.9rem}
.kteo5 a{color:var(--bg);text-decoration:none}
.kteo5 a:hover{color:var(--accent)}
.kteo5 ul{list-style:none}
.kteo5 li{padding:.2rem 0}
.uver7{border-top:1px solid #333;padding-top:1rem;margin-top:1.5rem;text-align:center;font-size:.8rem;color:#888;max-width:var(--max-w);margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}

/* --- SEARCH --- */
.pvib2{display:flex;gap:0;margin-bottom:2rem}
.pvib2 input{flex:1;border:2px solid var(--text);padding:.6rem;font-family:var(--font);font-size:1rem}
.pvib2 button{background:var(--accent);color:var(--bg);border:2px solid var(--text);padding:.6rem 1.5rem;font-family:var(--font);font-weight:700;text-transform:uppercase;cursor:pointer}

/* --- RESPONSIVE (tablet+) --- */
@media(min-width:600px){
  .oxet9{grid-template-columns:repeat(2,1fr)}
  .dfq9{flex-direction:row}
  .ukq7{width:240px;flex-shrink:0}
  .bju5{height:100%;max-height:none}
  .kgh0{border-top:0;border-left:2px solid var(--text)}
  .zwem2{grid-template-columns:repeat(3,1fr)}
  .qqed6{flex-direction:row}
  .hrec6{max-width:300px}
}

@media(min-width:900px){
  .spl2{flex-direction:row}
  .uxib7{width:300px;flex-shrink:0;align-self:flex-start}
  .oxet9{grid-template-columns:repeat(3,1fr)}
  .tvon4{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
}
