:root{
  --bg:#090c0a;
  --bg2:#0f1411;
  --panel:#121915;
  --panel2:#171f1a;
  --text:#edf2ed;
  --muted:#b5beb7;
  --gold:#c7a756;
  --gold2:#e2c16d;
  --green:#1f5a43;
  --green-dark:#163a23;
  --line:rgba(199,167,86,.22);
  --line-soft:rgba(255,255,255,.08);
  --shadow:0 16px 40px rgba(0,0,0,.38);
  --radius:22px;
}

body{
  background:var(--bg);
  color:var(--text);
}

.elex-hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(4,6,5,.34), rgba(4,6,5,.84) 70%, rgba(4,6,5,.96)),
    url("./assets/home/election.jpg") center center / cover no-repeat;
  min-height:380px;
  display:flex;
  align-items:end;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.elex-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(199,167,86,.12), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(31,90,67,.18), transparent 25%);
  pointer-events:none;
}

.elex-hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 0 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elex-kicker{
  display:inline-block;
  margin: 0 auto .8rem;
  padding:.45rem .9rem;
  border-radius:999px;
  background:rgba(199,167,86,.94);
  color:#111;
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.elex-title{
  margin:0 0 .7rem;
  color:#fff;
  font-size:clamp(2.3rem, 5vw, 4.5rem);
  line-height:.96;
  text-transform:uppercase;
  letter-spacing:.03em;
  text-shadow:0 6px 24px rgba(0,0,0,.35);
}

.elex-sub{
  max-width:900px;
  margin:0 0 1.2rem;
  color:#d4dbd5;
  line-height:1.75;
  font-size:1.05rem;
}

.elex-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  justify-content: center;
}

.elex-badge{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  padding:.62rem .85rem;
  border-radius:999px;
  font-size:.92rem;
  color:#fff;
}

.elex-badge strong{
  color:var(--gold2);
}

.elex-wrap{
  padding:2.25rem 0 4rem;
  background:linear-gradient(180deg, #0a0d0b 0%, #0c110d 100%);
}

.elex-grid-top{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:1rem;
}

.elex-card{
  background:linear-gradient(180deg, var(--panel2), var(--panel));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.elex-card-h{
  padding:1rem 1.15rem .9rem;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.elex-card-h h2{
  margin:0;
  color:#fff;
  font-size:1.35rem;
}

.elex-card-b{
  padding:1.15rem;
}

.elex-card-b p{
  margin:0 0 .9rem 0;
  line-height:1.75;
  color:var(--muted);
}

.elex-card-b ul{
  margin:.6rem 0 0 1.1rem;
  padding:0;
  color:var(--muted);
  line-height:1.75;
}

.elex-card-b li{
  margin:.35rem 0;
}

.elex-muted{
  color:var(--muted);
}

.elex-ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:.8rem;
}

.elex-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.75rem 1rem;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.02em;
  border:1px solid transparent;
  transition:transform .2s ease, border-color .2s ease, opacity .2s ease;
}

.elex-btn:hover{
  transform:translateY(-1px);
  opacity:.96;
}

.elex-btn.primary{
  background:var(--gold);
  border-color:rgba(255,255,255,.06);
  color:#111;
}

.elex-btn.dark{
  background:var(--green);
  border-color:rgba(255,255,255,.06);
  color:#fff;
}

.section-gap{
  margin-top:1rem;
}

.top-gap{
  margin-top:.8rem !important;
}

.no-margin{
  margin:0 !important;
}

.mailin-wrap{
  margin-top:1rem;
  border:1px solid var(--line);
  border-left:6px solid var(--green);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  overflow:hidden;
}

.mailin-inner{
  padding:1rem 1.1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.mailin-text{
  flex:1 1 520px;
  min-width:260px;
}

.mailin-title{
  margin:0 0 .4rem 0;
  font-size:1rem;
  font-weight:800;
  color:#fff;
}

.mailin-text p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.mailin-note{
  font-size:.85rem;
  color:var(--gold2);
  margin-top:.5rem;
}

.mailin-actions{
  flex:0 0 auto;
  display:flex;
  gap:.75rem;
  align-items:center;
}

.mailin-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.75rem 1rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:var(--gold);
  color:#111;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}

.cand-list{
  margin-top:.9rem;
  display:flex;
  flex-direction:column;
  gap:.9rem;
}

.cand{
  border:1px solid rgba(255,255,255,.07);
  border-left:6px solid var(--green);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.02);
}

.cand-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  padding:.9rem 1rem;
  background:linear-gradient(90deg, var(--green-dark), var(--green));
  color:#fff;
}

.cand-head .left{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
}

.cand-role{
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.92;
}

.cand-name{
  font-size:1rem;
  font-weight:800;
  margin:0;
}

.cand-tag{
  display:inline-block;
  font-size:.72rem;
  font-weight:800;
  padding:.24rem .55rem;
  border-radius:999px;
  background:rgba(199,167,86,.22);
  border:1px solid rgba(199,167,86,.45);
  color:#fff;
}

.cand-body{
  padding:1rem;
}

.cand-body p{
  color:var(--muted);
}

.bio-row{
  display:flex;
  gap:.9rem;
  margin-top:.2rem;
  flex-wrap:wrap;
}

.bio-photo{
  width:86px;
  height:86px;
  border-radius:16px;
  background:#0f1411;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.bio-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.bio-main{
  flex:1 1 420px;
  min-width:260px;
}

details.bio{
  margin-top:.8rem;
  border-top:1px solid rgba(255,255,255,.07);
  padding-top:.8rem;
}

details.bio summary{
  cursor:pointer;
  list-style:none;
  font-weight:800;
  color:var(--gold2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
}

details.bio summary::-webkit-details-marker{
  display:none;
}

.chev{
  width:10px;
  height:10px;
  border-right:2px solid var(--gold2);
  border-bottom:2px solid var(--gold2);
  transform:rotate(45deg);
  margin-left:10px;
  flex:0 0 auto;
}

details.bio[open] .chev{
  transform:rotate(-135deg);
}

.bio-content{
  margin-top:.8rem;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.72;
}

.bio-content p{
  margin:0 0 .8rem;
}

.cand.vacant{
  border-left-color:#7f8b84;
}

.cand.vacant .cand-head{
  background:linear-gradient(90deg, #4d5751, #68736d);
}

.vacant-tag{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.18);
}

.callout{
  border:1px solid rgba(199,167,86,.28);
  background:rgba(199,167,86,.08);
  border-radius:18px;
  padding:1rem 1rem;
  margin-top:1rem;
  color:var(--muted);
}

.callout strong{
  color:#fff;
  display:block;
  margin-bottom:.5rem;
}

.callout ul{
  margin:.5rem 0 0 1.1rem;
}

.elex-timeline{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  overflow:hidden;
  font-size:.95rem;
  background:rgba(255,255,255,.02);
}

.elex-timeline th{
  text-align:left;
  padding:.85rem .9rem;
  background:rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#fff;
}

.elex-timeline td{
  padding:.85rem .9rem;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:top;
  color:var(--muted);
}

.elex-timeline tr:last-child td{
  border-bottom:none;
}

.elex-pill{
  display:inline-block;
  font-size:.72rem;
  font-weight:800;
  padding:.22rem .5rem;
  border-radius:999px;
  background:rgba(31,90,67,.18);
  border:1px solid rgba(31,90,67,.4);
  color:#d8efe0;
  margin-right:.45rem;
}

@media (max-width: 980px){
  .elex-grid-top{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){
  .elex-hero{
    min-height:320px;
  }

  .elex-hero-inner{
    padding:3rem 0 2.2rem;
  }

  .elex-title{
    font-size:clamp(2rem, 10vw, 3rem);
  }

  .elex-badges,
  .elex-ctaRow,
  .mailin-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .elex-btn,
  .mailin-btn{
    width:100%;
  }

  .bio-row{
    flex-direction:column;
  }

  .elex-timeline{
    display:block;
    overflow-x:auto;
  }
}