/*
 * N'Zérékoré, la ville : la grammaire des fiches de préfecture, avec l'ocre
 * des archives pour Zaly et les trois teintes des grilles du portail.
 */
body.nzk-ville .vi-page :is(p,li){max-width:none!important}
.vi-page .pf-cles{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.vi-page section[id]{scroll-margin-top:24px}
.vi-page .dv-sommaire{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 30px}
.vi-page .dv-sommaire a{padding:7px 12px;border:1px solid #d6dfd9;border-radius:4px;background:#f8faf8;text-decoration:none;font-weight:600;font-size:.92rem}
.vi-page .dv-sommaire a:hover{border-color:#111}
.vi-bref p{line-height:1.7;margin:0 0 12px}

.vi-zaly{padding:22px 24px;border:1px solid #e3d8c2;border-left:4px solid #b88b45;border-radius:4px;background:#f6f0e4}
.vi-zaly p{line-height:1.7;margin:0 0 12px}
body.nzk-ville #main-content .vi-page p.vi-kpele{font-family:"Gentium Book Plus","Charis SIL","Noto Serif",Georgia,serif!important;font-size:1.1rem!important}
body.nzk-ville .vi-page p.vi-sources{margin:10px 0 0;font-size:.84rem!important;color:#24302a}

.vi-dates{list-style:none;margin:0 0 12px;padding:0;border-left:2px solid #d6dfd9}
.vi-dates li{display:grid;grid-template-columns:11rem minmax(0,1fr);gap:4px 16px;margin:0;padding:8px 0 8px 16px;position:relative}
.vi-dates li::before{content:"";position:absolute;left:-6px;top:15px;width:10px;height:10px;border-radius:50%;background:#315a45}
.vi-dates__date{font-weight:700}

.vi-quartiers{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.vi-quartiers li{margin:0}
.vi-page .vi-quartiers a{display:inline-block;padding:6px 11px;border:1px solid #d6dfd9;border-radius:4px;background:#f8faf8;text-decoration:none;font-weight:600}
.vi-page .vi-quartiers a:hover{border-color:#111}

.vi-services{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.vi-services--deux{grid-template-columns:repeat(2,minmax(0,1fr))}
.vi-services li{margin:0;padding:14px 16px;border-radius:6px;min-width:0}
.vi-services li:nth-child(3n+1){background:var(--zc-cyan,#eaf2ec)}
.vi-services li:nth-child(3n+2){background:var(--zc-ivory,#f5f3ef)}
.vi-services li:nth-child(3n){background:var(--zc-blue,#f6f1e6)}
.vi-page .vi-services a{display:block;font-weight:700;font-size:1.05rem}
.vi-services span{display:block;margin-top:4px;line-height:1.5;font-size:.93rem}
.vi-titre{display:block;font-size:1.05rem;font-weight:700}
body.nzk-ville .vi-page p.vi-avertissement{margin:12px 0 6px;padding:10px 14px;border-left:3px solid #b88b45;background:#fbf8f1;font-size:.93rem!important}

.vi-actu{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.vi-actu li{margin:0;padding:10px 0;border-bottom:1px solid #e6ece8;display:flex;justify-content:space-between;gap:16px}
.vi-page .vi-actu a{font-weight:600}
.vi-actu span{flex:none;font-size:.88rem;color:#4b524e;font-variant-numeric:tabular-nums}

@media(max-width:900px){.vi-services{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .vi-services{grid-template-columns:minmax(0,1fr)}
  .vi-dates li{grid-template-columns:minmax(0,1fr)}
  .vi-actu li{flex-direction:column;gap:2px}
  .vi-zaly{padding:18px}
}
