
:root{--navy:#070d22;--gold:#d5ae45;--ink:#0e1430;--muted:#5b6480;--line:#e4e7f0;--bg:#f7f8fc}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}
a{color:inherit}
.cwrap{max-width:1100px;margin:0 auto;padding:0 20px}
.cnav{background:var(--navy);color:#fff;padding:14px 0}
.cnav a{color:#fff;text-decoration:none;margin-right:18px;font-size:14px;opacity:.9}
.cnav a:hover{opacity:1;text-decoration:underline}
.chead{background:var(--navy);color:#fff;padding:30px 0 34px}
.chead h1{margin:0 0 6px;font-size:clamp(22px,3.4vw,34px);letter-spacing:-.02em}
.chead .sub{opacity:.82;font-size:15px}
.chead .pills{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 12px;font-size:12.5px}
section{padding:26px 0}
h2{font-size:clamp(18px,2.4vw,23px);margin:0 0 14px;letter-spacing:-.01em}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.office{display:flex;gap:14px;align-items:center;padding:12px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.office + .office{margin-top:10px}
.office img{width:64px;height:80px;object-fit:cover;border-radius:9px;background:#eef1f8;flex:none}
.office .who{flex:1;min-width:0}
.office .role{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.office .nm{font-weight:600;font-size:16px}
.office .wd{font-size:13.5px;color:var(--muted)}
.office .rank{flex:none;width:30px;height:30px;border-radius:8px;background:var(--gold);color:var(--navy);display:grid;place-items:center;font-weight:700;font-size:14px}
.officelist{display:grid;gap:10px}
.wardgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.ward{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;text-decoration:none}
.ward img{width:52px;height:65px;object-fit:cover;border-radius:8px;background:#eef1f8;flex:none}
.ward .nm{font-weight:600;font-size:14.5px;display:block}
.ward .wd{font-size:12.5px;color:var(--muted);display:block}
.ward .off{font-size:11.5px;color:var(--navy);background:#fdf6e4;border:1px solid #f0e2bd;border-radius:999px;padding:2px 8px;display:inline-block;margin-top:3px}
.ward.empty{opacity:.75}
.note{font-size:13px;color:var(--muted);margin-top:10px}
.foot{background:var(--navy);color:#fff;padding:22px 0;font-size:13px;margin-top:20px}
@media(max-width:600px){.office img{width:56px;height:70px}.wardgrid{grid-template-columns:1fr 1fr}}
/* A phone card is too narrow for a photo beside a Nigerian three-part name: the name broke across
   three lines and the office chip wrapped under it. One column per card, photo left, name on one line. */
@media(max-width:480px){.wardgrid{grid-template-columns:1fr}.ward{padding:11px 12px}.ward img{width:58px;height:72px}
  .ward .nm{font-size:15px;line-height:1.25}.ward .wd{font-size:12.5px}.ward .off{margin-top:4px}}
.refrow{text-decoration:none}.refrow:hover{background:#fbfcff}.refgo{flex:none;font-size:12.5px;font-weight:600;color:#0e6b3a;white-space:nowrap}

/* the office row is role / name / ward stacked, not one run-on line: the record page styles
   these as inline spans, which read as "LEADER Hon. Name Ward A" glued together. */
.office .who{display:flex;flex-direction:column;line-height:1.32}
.office .who > span, .office .who > a{display:block}
.office .who .role{margin-bottom:1px}
.office .who .nm{text-decoration:none}
.office .who .nm:hover{text-decoration:underline}

/* Council marks arrive with their own background (white, paper, black). On the navy header that reads as a
   floating rectangle, so every logo sits on a tight white chip instead of being recoloured or cut out. */
.chead #cp-logo{background:#fff;padding:6px;object-fit:contain;box-shadow:0 1px 3px rgba(0,0,0,.35)}

/* — councils.html heading band (15 Sep 2026) — */
.cnav .cwrap{display:flex;flex-wrap:wrap;align-items:center;gap:9px 15px}
.cnav .cwrap a{margin-right:0}
.cnav .chome{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);border-radius:999px;
  padding:5px 13px;font-weight:600;opacity:1;white-space:nowrap}
.cnav .chome:hover{background:rgba(255,255,255,.24);text-decoration:none}
.cnav a[aria-current=page]{opacity:1;font-weight:600;box-shadow:inset 0 -2px 0 var(--gold)}

/* The heading band is a mosaic of the register: twelve portraits, different every load, blurred and
   held back behind a navy veil so "Every council house in Lagos State" is still what you read. */
.chead--photo{position:relative;isolation:isolate;overflow:hidden;padding:46px 0 48px}
.chead-collage{position:absolute;inset:0;z-index:0;display:grid;grid-template-columns:repeat(6,1fr);gap:2px}
.chead-collage .ctile{display:block;background-color:#0b1226;background-size:cover;background-position:50% 50%;
  background-repeat:no-repeat;filter:blur(2px) saturate(.85) contrast(.95) brightness(.62);transform:scale(1.04)}
.chead-veil{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(100deg,rgba(7,13,34,.95) 0%,rgba(7,13,34,.88) 32%,rgba(7,13,34,.6) 60%,rgba(7,13,34,.78) 100%)}
.chead--photo .cwrap{position:relative;z-index:2}
@media(max-width:760px){
  .chead-collage{grid-template-columns:repeat(4,1fr)}
  .chead--photo{padding:34px 0 36px}
}
@media(max-width:420px){.chead-collage{grid-template-columns:repeat(3,1fr)}}

/* a Forum cabinet office sits beside the council office, never instead of it */
.exco{font-size:11.5px;color:#f4e2ab;background:var(--navy);border:1px solid var(--navy);border-radius:999px;padding:2px 8px;display:inline-block;margin-top:3px;margin-left:4px}
.ward .exco{margin-top:4px}
