/* =========================================================
   IEEE SAC Jordan — Elections Page Styles
   Extends the site's existing design tokens (see styles.css
   :root). Namespaced with "elx-" to avoid collisions with
   shared site classes; reuses shared classes (.faq-item,
   .contact-form, .cta-btn, .animate-on-scroll, .download-btn)
   wherever the exact same pattern already exists site-wide.
   ========================================================= */

:root {
  --elx-green: #1e8e3e;
  --elx-green-bg: #e8f6ec;
  --elx-amber: #b7791f;
  --elx-amber-bg: #fdf3e2;
  --elx-red: #c62828;
  --elx-red-bg: #fdecea;
  --elx-radius: 12px;
  --elx-shadow: 0 4px 18px rgba(0, 64, 128, 0.10);
  --elx-shadow-hover: 0 12px 32px rgba(0, 64, 128, 0.18);
}

.elx-section {
  padding: var(--section-pad) 1rem;
  text-align: center;
}

.elx-section.alt-bg { background: var(--off-white); }
.elx-section.light-blue-bg { background: var(--light-blue); }

.elx-container {
  max-width: 1200px;
  margin: 0 auto;
}

.elx-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary-blue);
  opacity: .75;
  margin-bottom: .5rem;
}

.elx-section h2.elx-title {
  color: var(--primary-blue);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.elx-section p.elx-subtitle {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- HERO ---------- */
.elx-hero {
  position: relative;
  padding: 0 1rem 3rem;
  padding-top: calc(var(--total-header-height) + 2.5rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, #003057 0%, var(--primary-blue) 55%, #0a5db0 100%);
  overflow: hidden;
}

.elx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.08) 0, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.08) 0, transparent 45%);
  pointer-events: none;
}

.elx-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.elx-hero__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 2rem;
}

.elx-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.15);
}

.elx-hero .elx-subtitle {
  font-size: 1.15rem;
  opacity: .95;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

/* Status badge */
.elx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: .5rem 1.1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.75rem;
}

.elx-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .25);
}

.elx-status-badge[data-status="closed"] .elx-status-dot { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.25); }
.elx-status-badge[data-status="review"] .elx-status-dot,
.elx-status-badge[data-status="coming_soon"] .elx-status-dot { background: #ffd166; box-shadow: 0 0 0 4px rgba(255,209,102,.25); }
.elx-status-badge[data-status="voting_open"] .elx-status-dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); animation: elxPulse 1.6s ease-in-out infinite; }

@keyframes elxPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.elx-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.elx-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.6rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s, color .2s;
}

.elx-btn--primary {
  background: #fff;
  color: var(--primary-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.elx-btn--primary:hover { background: #e6f0ff; transform: translateY(-2px); }

.elx-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.elx-btn--outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.elx-btn--solid {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.elx-btn--solid:hover { background: var(--hover-blue); transform: translateY(-2px); }

.elx-btn--ghost {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.elx-btn--ghost:hover { background: var(--light-blue); }

.elx-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.elx-hero__note {
  font-size: .85rem;
  opacity: .85;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

/* ---------- QUICK INFO BAR ---------- */
.elx-quickbar {
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.elx-quickbar__grid {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow-hover);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.elx-quick-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid #eef1f5;
}
.elx-quick-item:last-child { border-right: none; }

.elx-quick-item__label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #667;
  margin-bottom: .4rem;
  font-weight: 600;
}

.elx-quick-item__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.elx-quick-item__value.is-status { color: var(--elx-green); }

@media (max-width: 860px) {
  .elx-quickbar__grid { grid-template-columns: repeat(2, 1fr); }
  .elx-quick-item:nth-child(2) { border-right: none; }
  .elx-quick-item { border-bottom: 1px solid #eef1f5; }
}
@media (max-width: 480px) {
  .elx-quickbar__grid { grid-template-columns: 1fr; }
  .elx-quick-item { border-right: none; }
}

/* ---------- ELECTION TYPE CARDS ---------- */
.elx-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.elx-type-card {
  background: #fff;
  border: 2px solid #eef1f5;
  border-radius: var(--elx-radius);
  padding: 2.25rem 2rem;
  text-align: left;
  box-shadow: var(--elx-shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
  position: relative;
}

.elx-type-card:hover { transform: translateY(-4px); box-shadow: var(--elx-shadow-hover); }

.elx-type-card.is-active {
  border-color: var(--primary-blue);
}

.elx-type-card.is-active::after {
  content: "Selected";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--primary-blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 1rem;
}

.elx-type-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.elx-type-card h3 {
  color: var(--primary-blue);
  font-size: 1.35rem;
  margin-bottom: .6rem;
}

.elx-type-card p {
  color: #444;
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.elx-type-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 760px) {
  .elx-type-grid { grid-template-columns: 1fr; }
}

/* ---------- TIMELINE ---------- */
.elx-timeline {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.elx-timeline__track {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  position: relative;
}

.elx-timeline__track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e2e8f0;
  z-index: 0;
}

.elx-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 .4rem;
}

.elx-stage__dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .85rem;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .3s;
}

.elx-stage__num { font-size: .85rem; }

.elx-stage.is-completed .elx-stage__dot {
  background: var(--elx-green);
  border-color: var(--elx-green);
  color: #fff;
}

.elx-stage.is-current .elx-stage__dot {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
  transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(0, 64, 128, .14);
}

.elx-stage__title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--primary-blue);
  margin-bottom: .3rem;
}

.elx-stage.is-current .elx-stage__title { color: #003057; }
.elx-stage:not(.is-completed):not(.is-current) .elx-stage__title { color: #64748b; }

.elx-stage__desc {
  font-size: .78rem;
  color: #667;
  line-height: 1.4;
}

.elx-stage__badge {
  display: inline-block;
  margin-top: .5rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .18rem .5rem;
  border-radius: 1rem;
}

.elx-stage.is-completed .elx-stage__badge { background: var(--elx-green-bg); color: var(--elx-green); }
.elx-stage.is-current .elx-stage__badge { background: #e3edff; color: var(--primary-blue); }
.elx-stage:not(.is-completed):not(.is-current) .elx-stage__badge { background: #f1f3f6; color: #667; }

@media (max-width: 900px) {
  .elx-timeline__track { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .elx-timeline__track::before { top: 0; bottom: 0; left: 22px; right: auto; width: 3px; height: auto; }
  .elx-stage { display: flex; align-items: flex-start; gap: 1rem; text-align: left; padding: 0; width: 100%; }
  .elx-stage__dot { margin: 0; flex-shrink: 0; }
}

/* ---------- POSITION CARDS ---------- */
.elx-position-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 980px) { .elx-position-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .elx-position-grid { grid-template-columns: 1fr; } }

.elx-position-card {
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.elx-position-card:hover { box-shadow: var(--elx-shadow-hover); transform: translateY(-3px); }

.elx-position-card h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: .6rem;
}

.elx-position-card p.elx-position-desc {
  color: #444;
  font-size: .92rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.elx-position-toggle {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  transition: background .2s, color .2s;
}
.elx-position-toggle:hover { background: var(--light-blue); }
.elx-position-toggle i { transition: transform .25s; }
.elx-position-card.is-open .elx-position-toggle i { transform: rotate(180deg); }

.elx-position-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .35s ease;
  margin-top: 0;
}
.elx-position-card.is-open .elx-position-details {
  max-height: 400px;
  margin-top: 1rem;
}

.elx-position-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.elx-position-details li {
  font-size: .85rem;
  color: #333;
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
  border-bottom: 1px dashed #eef1f5;
}
.elx-position-details li:last-child { border-bottom: none; }
.elx-position-details li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--elx-green);
  position: absolute;
  left: 0;
  font-size: .75rem;
  top: .45rem;
}

/* ---------- ELIGIBILITY REQUIREMENT CARDS ---------- */
.elx-req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  text-align: left;
}
@media (max-width: 980px) { .elx-req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .elx-req-grid { grid-template-columns: 1fr; } }

.elx-req-card {
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow);
  padding: 1.4rem;
}

.elx-req-card i {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: .7rem;
  display: block;
}

.elx-req-card h4 {
  color: var(--primary-blue);
  font-size: 1rem;
  margin-bottom: .4rem;
}

.elx-req-card p {
  font-size: .85rem;
  color: #555;
  line-height: 1.5;
}

/* ---------- ELIGIBILITY CHECKER ---------- */
.elx-checker {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow-hover);
  padding: 2.25rem 2rem;
  text-align: left;
}

.elx-checker__progress {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.75rem;
}
.elx-checker__progress span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  transition: background .3s;
}
.elx-checker__progress span.is-done { background: var(--primary-blue); }

.elx-checker__step-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary-blue);
  opacity: .7;
  margin-bottom: .4rem;
}

.elx-checker__question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #10233f;
  margin-bottom: 1.25rem;
}

.elx-checker__options {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.elx-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.elx-option:hover { border-color: var(--primary-blue); }
.elx-option input { accent-color: var(--primary-blue); width: 18px; height: 18px; }
.elx-option.is-selected { border-color: var(--primary-blue); background: var(--light-blue); }

.elx-checker__input {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: .95rem;
  margin-bottom: 1.5rem;
  font-family: inherit;
}
.elx-checker__input:focus { outline: none; border-color: var(--primary-blue); }

.elx-checker__error {
  color: var(--elx-red);
  font-size: .85rem;
  margin: -1rem 0 1rem;
  display: none;
}
.elx-checker__error.is-visible { display: block; }

.elx-checker__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.elx-checker__result {
  text-align: center;
  padding: 1rem 0;
}

.elx-checker__result-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.9rem;
}
.elx-checker__result.is-eligible .elx-checker__result-icon { background: var(--elx-green-bg); color: var(--elx-green); }
.elx-checker__result.is-ineligible .elx-checker__result-icon { background: var(--elx-red-bg); color: var(--elx-red); }

.elx-checker__result h3 {
  font-size: 1.3rem;
  color: #10233f;
  margin-bottom: .6rem;
}
.elx-checker__result p.elx-result-reason {
  color: #555;
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

.elx-disclaimer {
  font-size: .78rem;
  color: #778;
  border-top: 1px solid #eef1f5;
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  line-height: 1.5;
}

/* ---------- APPLICATION FORM ---------- */
.elx-form-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow-hover);
  padding: 2.5rem;
  text-align: left;
}

.elx-form-group-title {
  color: var(--primary-blue);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--light-blue);
}
.elx-form-group-title:first-child { margin-top: 0; }

.elx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.5rem;
}
@media (max-width: 700px) { .elx-form-grid { grid-template-columns: 1fr; } }

.elx-field { display: flex; flex-direction: column; }
.elx-field.elx-field--full { grid-column: 1 / -1; }

.elx-field label {
  font-size: .85rem;
  font-weight: 600;
  color: #334;
  margin-bottom: .4rem;
}

.elx-field input,
.elx-field select,
.elx-field textarea {
  padding: .7rem .85rem;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: .92rem;
  font-family: inherit;
  color: #10233f;
  background: #fff;
}
.elx-field input:focus,
.elx-field select:focus,
.elx-field textarea:focus { outline: none; border-color: var(--primary-blue); }

.elx-field textarea { resize: vertical; min-height: 90px; }

.elx-upload {
  border: 2px dashed #c7d3e0;
  border-radius: 8px;
  padding: .9rem 1rem;
  font-size: .85rem;
  color: #667;
  background: #f9fbfd;
}
.elx-upload input { margin-top: .5rem; font-size: .82rem; }

.elx-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 1.75rem 0 1.5rem;
  font-size: .88rem;
  color: #334;
}
.elx-checkbox-row input { margin-top: .2rem; accent-color: var(--primary-blue); width: 17px; height: 17px; flex-shrink: 0; }

.elx-form-success {
  text-align: center;
  padding: 1.5rem 0;
}
.elx-form-success .elx-checker__result-icon { background: var(--elx-green-bg); color: var(--elx-green); }
.elx-form-success h3 { color: #10233f; font-size: 1.4rem; margin-bottom: .5rem; }
.elx-form-success p { color: #555; margin-bottom: .35rem; }
.elx-ref-number {
  display: inline-block;
  margin-top: .5rem;
  background: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 700;
  font-family: "Courier New", monospace;
  padding: .5rem 1.1rem;
  border-radius: 6px;
  letter-spacing: .04em;
}

/* ---------- VOTING SECTION ---------- */
.elx-vote-card {
  max-width: 780px;
  margin: 0 auto;
  border-radius: var(--elx-radius);
  padding: 2.75rem 2rem;
  color: #fff;
  box-shadow: var(--elx-shadow-hover);
}
.elx-vote-card[data-state="before"] { background: linear-gradient(135deg, #003057, var(--primary-blue)); }
.elx-vote-card[data-state="during"] { background: linear-gradient(135deg, #0d6b32, var(--elx-green)); }
.elx-vote-card[data-state="closed"] { background: linear-gradient(135deg, #4a4a4a, #6b6b6b); }

.elx-vote-card h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.elx-vote-card p { opacity: .95; margin-bottom: 1.5rem; }

.elx-countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.elx-countdown__unit {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  min-width: 78px;
}
.elx-countdown__num { font-size: 1.6rem; font-weight: 700; display: block; }
.elx-countdown__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }

.elx-vote-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.elx-vote-meta li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: .92rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.elx-vote-meta li:last-child { border-bottom: none; }
.elx-vote-meta li strong { font-weight: 700; }

.elx-vote-note {
  font-size: .78rem;
  opacity: .85;
  margin-top: 1rem;
}

/* ---------- INSTRUCTION STEPS ---------- */
.elx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.elx-step {
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.elx-step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.elx-step i { color: var(--primary-blue); font-size: 1.4rem; margin-bottom: .75rem; display: block; }
.elx-step p { font-size: .88rem; color: #444; line-height: 1.5; }

/* ---------- COMMITTEE ---------- */
.elx-committee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: left;
}
.elx-committee-grid > .elx-committee-card:first-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .elx-committee-grid { grid-template-columns: 1fr; } }

.elx-committee-card {
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow);
  padding: 1.85rem;
}
.elx-committee-card h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.elx-committee-card p { font-size: .92rem; color: #444; line-height: 1.55; }
.elx-committee-card ul { margin: 0; padding-left: 1.15rem; color: #444; font-size: .92rem; line-height: 1.7; }

/* ---------- COMPLAINTS ---------- */
.elx-complaint-banner {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  background: var(--elx-red-bg);
  border: 1px solid #f3c6c2;
  border-radius: var(--elx-radius);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}
.elx-complaint-banner i { font-size: 2rem; color: var(--elx-red); flex-shrink: 0; }
.elx-complaint-banner h3 { color: #7a1f1f; font-size: 1.15rem; margin-bottom: .35rem; }
.elx-complaint-banner p { color: #7a1f1f; font-size: .9rem; margin: 0; }

.elx-complaint-form {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--elx-radius);
  box-shadow: var(--elx-shadow-hover);
  padding: 2.25rem;
  text-align: left;
}

.elx-radio-row {
  display: flex;
  gap: 1.5rem;
  margin-top: .3rem;
  font-size: .88rem;
  color: #334;
}
.elx-radio-row label { display: flex; align-items: center; gap: .4rem; font-weight: 400; }
.elx-radio-row input { accent-color: var(--primary-blue); }

/* ---------- SHARED PATTERNS ---------- */
.elx-note-inline {
  font-size: .8rem;
  color: #667;
  margin-top: .5rem;
}

.elx-badge-soon {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 1rem;
  margin-left: .4rem;
  vertical-align: middle;
}

/* Placeholder tag used on fields/config values that must eventually
   come from a backend / admin panel, per the data-readiness requirement. */
.elx-placeholder-tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9a6b00;
  background: #fff3cd;
  padding: .1rem .45rem;
  border-radius: .5rem;
  margin-left: .35rem;
}

/* ---------- FAQ ACCORDION ----------
   Same behavior as faq.html's accordion (toggled by the shared
   script.js), but that page defines these rules in its own inline
   <style> block rather than in styles.css, so they have to be
   repeated here for the FAQ section on this page to collapse/expand. */
.faq-list .faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}
.faq-list .faq-item:last-child { border-bottom: none; }

.faq-list .faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list .faq-answer {
  margin-top: 0;
  color: #444;
  font-size: .95rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
  opacity: 0;
}

.faq-list .faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: .75rem;
}

.faq-list .faq-question i {
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.faq-list .faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.elx-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  color: #fff;
  opacity: .8;
  margin-left: 1rem;
  cursor: not-allowed;
  user-select: none;
}
.elx-lang-toggle span.is-active { text-decoration: underline; font-weight: 700; }

@media only screen and (max-width: 1024px) {
  .elx-lang-toggle { display: none; }
}
