/* ==========================================================================
   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}

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

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

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

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

/* --- HERO / INDEX --- */
.qlie6{border:4px solid var(--text);padding:2rem;margin-bottom:2rem;text-align:center}
.qlie6 h1{border-bottom:none;margin-bottom:.75rem}
.aqij8{color:var(--muted);font-size:1rem;margin-bottom:1.5rem}
.epii7{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:1.5rem}
.lnis0{border:2px solid var(--text);padding:.5rem 1rem}
.lnis0 strong{color:var(--accent);font-size:1.3rem;display:block}
.wmiv3{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}
.wmiv3:hover{background:var(--accent-hover);color:var(--bg)}

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

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

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

/* --- CARDS GRID (from render_annonces_grid) --- */
.rzoj7{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0}
.ymon0{border:2px solid var(--text);background:var(--bg);transition:border-color .15s}
.ymon0:hover{border-color:var(--accent)}
.isoa7{display:block;background:var(--surface)}
.nroe2{width:100%;max-height:320px;object-fit:contain;background:var(--surface)}
.enoa2{padding:.75rem;border-top:2px solid var(--text)}
.uwom4{font-size:.95rem;margin-bottom:.25rem}
.uwom4 a{color:var(--text);text-decoration:none}
.uwom4 a:hover{color:var(--accent)}
.mtoo9{font-size:.8rem;color:var(--muted);margin-bottom:.2rem}
.yxoc5{font-size:.8rem;color:var(--accent);font-weight:700;text-transform:uppercase;margin-bottom:.2rem}
.ipox2{font-size:.8rem;margin-bottom:0}
.mvox7{color:var(--accent);letter-spacing:1px}
.gqof9{color:var(--muted);margin-left:.3rem}
.dhut3{padding:2rem;text-align:center;border:2px dashed var(--border-light);color:var(--muted)}

/* --- FILTER BAR (from render_filter_bar) --- */
.rjuj4{margin-bottom:1.5rem}
.kkun6{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem 0}
.yluz2{position:relative}
.bvuq1{cursor:pointer}
.ituj4{position:absolute;top:100%;left:0;z-index:50;background:var(--bg);border:2px solid var(--text);padding:.5rem;min-width:200px}
.ituj4[hidden]{display:none!important}
.ituj4:not([hidden]){display:flex;flex-wrap:wrap;gap:.4rem}
.tjacq9{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}
.tjacq9:hover,.lkacp1{background:var(--text);color:var(--bg)}

/* --- PAGINATION (from render_pagination) --- */
.oxuf1{display:flex;flex-wrap:wrap;gap:0;justify-content:center;margin-top:2rem}
.pbacu1{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}
.pbacu1:hover{background:var(--text);color:var(--bg)}
.qcact8{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.wzux5{display:inline-flex;align-items:center;padding:0 .5rem;color:var(--muted)}

/* --- ANNONCE DETAIL --- */
.rnt2{margin-bottom:2rem}
.mqe4{margin-bottom:1.5rem}
.crw3{color:var(--muted);font-size:.9rem}
.ktd8{margin-top:.5rem}
.lxg7{color:var(--accent);font-size:1.1rem;letter-spacing:2px}
.wwk6{font-weight:700;margin-left:.5rem}
.gvs2{margin-left:.5rem;color:var(--muted)}

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

.gmeu3{margin-bottom:2rem}
.vloe1{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}
.vloe1:hover{background:var(--accent-hover);color:var(--bg)}

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

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

/* --- COMMENTS --- */
.sjeh3{border-top:3px solid var(--text);padding-top:1.5rem;margin-top:2rem}
.sleg6{display:flex;align-items:center;gap:.5rem}
.tkez5{background:var(--accent);color:var(--bg);padding:.15rem .5rem;font-size:.8rem}
.rbes9{border:2px solid var(--border-light);padding:1rem;margin-bottom:1rem}
.ufek0{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.5rem;font-size:.85rem}
.hceg0{font-weight:700;text-transform:uppercase}
.iged0{color:var(--accent);letter-spacing:1px}
.gdek5{color:var(--muted)}
.yhep0{font-size:.9rem;line-height:1.5}

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

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

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

/* --- FOOTER --- */
.fteq2{background:var(--text);color:var(--bg);border-top:4px solid var(--accent);padding:2rem 0;margin-top:3rem;font-size:.85rem}
.cxew2{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:var(--max-w);margin:0 auto;padding:0 1rem}
.fteq2 h4{text-transform:uppercase;margin-bottom:.75rem;letter-spacing:.08em;font-size:.9rem}
.fteq2 a{color:var(--bg);text-decoration:none}
.fteq2 a:hover{color:var(--accent)}
.fteq2 ul{list-style:none}
.fteq2 li{padding:.2rem 0}
.avem0{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 --- */
.azik2{display:flex;gap:0;margin-bottom:2rem}
.azik2 input{flex:1;border:2px solid var(--text);padding:.6rem;font-family:var(--font);font-size:1rem}
.azik2 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){
  .hzev9{grid-template-columns:repeat(2,1fr)}
  .sfy7{flex-direction:row}
  .qkg6{width:240px;flex-shrink:0}
  .pjl6{height:100%;max-height:none}
  .sgm6{border-top:0;border-left:2px solid var(--text)}
  .cxew2{grid-template-columns:repeat(3,1fr)}
  .fqez3{flex-direction:row}
  .yrew3{max-width:300px}
}

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