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

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

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

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

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

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

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

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

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

/* --- CARDS GRID (from render_annonces_grid) --- */
.gzob5{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0}
.nmoc2{border:2px solid var(--text);background:var(--bg);transition:border-color .15s}
.nmoc2:hover{border-color:var(--accent)}
.asow8{display:block;background:var(--surface)}
.frop7{width:100%;max-height:320px;object-fit:contain;background:var(--surface)}
.vnoe7{padding:.75rem;border-top:2px solid var(--text)}
.wwov7{font-size:.95rem;margin-bottom:.25rem}
.wwov7 a{color:var(--text);text-decoration:none}
.wwov7 a:hover{color:var(--accent)}
.qtoj3{font-size:.8rem;color:var(--muted);margin-bottom:.2rem}
.kxoa2{font-size:.8rem;color:var(--accent);font-weight:700;text-transform:uppercase;margin-bottom:.2rem}
.zpou9{font-size:.8rem;margin-bottom:0}
.gvov0{color:var(--accent);letter-spacing:1px}
.zqoq2{color:var(--muted);margin-left:.3rem}
.fhua7{padding:2rem;text-align:center;border:2px dashed var(--border-light);color:var(--muted)}

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

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

/* --- ANNONCE DETAIL --- */
.fnw7{margin-bottom:2rem}
.qqg9{margin-bottom:1.5rem}
.frp0{color:var(--muted);font-size:.9rem}
.ktn6{margin-top:.5rem}
.vxf5{color:var(--accent);font-size:1.1rem;letter-spacing:2px}
.xww0{font-weight:700;margin-left:.5rem}
.ive2{margin-left:.5rem;color:var(--muted)}

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

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

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

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

/* --- COMMENTS --- */
.ajeo9{border-top:3px solid var(--text);padding-top:1.5rem;margin-top:2rem}
.lleu2{display:flex;align-items:center;gap:.5rem}
.tker8{background:var(--accent);color:var(--bg);padding:.15rem .5rem;font-size:.8rem}
.jbez9{border:2px solid var(--border-light);padding:1rem;margin-bottom:1rem}
.xfew2{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.5rem;font-size:.85rem}
.scej5{font-weight:700;text-transform:uppercase}
.zgej8{color:var(--accent);letter-spacing:1px}
.idem4{color:var(--muted)}
.rhec1{font-size:.9rem;line-height:1.5}

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

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

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

/* --- FOOTER --- */
.htey6{background:var(--text);color:var(--bg);border-top:4px solid var(--accent);padding:2rem 0;margin-top:3rem;font-size:.85rem}
.bxee1{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:var(--max-w);margin:0 auto;padding:0 1rem}
.htey6 h4{text-transform:uppercase;margin-bottom:.75rem;letter-spacing:.08em;font-size:.9rem}
.htey6 a{color:var(--bg);text-decoration:none}
.htey6 a:hover{color:var(--accent)}
.htey6 ul{list-style:none}
.htey6 li{padding:.2rem 0}
.wvef8{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 --- */
.vzib3{display:flex;gap:0;margin-bottom:2rem}
.vzib3 input{flex:1;border:2px solid var(--text);padding:.6rem;font-family:var(--font);font-size:1rem}
.vzib3 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){
  .bzez7{grid-template-columns:repeat(2,1fr)}
  .zfe4{flex-direction:row}
  .ykx7{width:240px;flex-shrink:0}
  .bjr3{height:100%;max-height:none}
  .gga1{border-top:0;border-left:2px solid var(--text)}
  .bxee1{grid-template-columns:repeat(3,1fr)}
  .vqes7{flex-direction:row}
  .srey1{max-width:300px}
}

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