body.page-jury main { background: #fff; }

.jury-hero { max-width: 1200px; margin: 0 auto; padding: var(--space-8) var(--space-6) var(--space-8); }

.jury-heading { font: 700 var(--text-4xl)/1.1 var(--font-heading); margin: var(--space-3) 0 var(--space-2); }

.jury-intro { color: var(--muted); max-width: 640px; margin: 0 0 var(--space-6); }

.jury-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.jury-panel-card { padding: var(--space-6); }

.jury-panel-label {
  font: 600 var(--text-xs) var(--font-heading);
  letter-spacing: var(--tracking-eyebrow);
  margin-bottom: var(--space-3);
}
.jury-panel-label-primary { color: var(--primary); }
.jury-panel-label-green { color: var(--green-deep); }

.jury-panel-heading { font: 600 var(--text-2xl) var(--font-heading); margin: 0 0 var(--space-3); }
.jury-panel-body { color: var(--ink2); margin: 0; }

.jury-criteria-card { padding: var(--space-6); }

.jury-criteria-heading { font: 600 var(--text-xl) var(--font-heading); margin: 0 0 var(--space-1); }
.jury-criteria-intro { color: var(--muted); font-size: var(--text-sm); margin: 0 0 var(--space-6); }

.jury-bars { display: flex; flex-direction: column; gap: var(--space-4); }

.jury-bar-row {
  display: grid;
  grid-template-columns: 260px 1fr 44px;
  gap: var(--space-4);
  align-items: center;
}

.jury-bar-label { font-weight: 500; }

.jury-bar-track {
  height: 10px;
  background: var(--track);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.jury-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--green));
  border-radius: var(--radius-sm);
}

/* Discrete 5%-step width classes - a data-driven bar chart without inline
   style="", which is what keeps the public-page CSP free of 'unsafe-inline'. */
.jury-bar-fill-0   { width: 0%; }
.jury-bar-fill-5   { width: 5%; }
.jury-bar-fill-10  { width: 10%; }
.jury-bar-fill-15  { width: 15%; }
.jury-bar-fill-20  { width: 20%; }
.jury-bar-fill-25  { width: 25%; }
.jury-bar-fill-30  { width: 30%; }
.jury-bar-fill-35  { width: 35%; }
.jury-bar-fill-40  { width: 40%; }
.jury-bar-fill-45  { width: 45%; }
.jury-bar-fill-50  { width: 50%; }
.jury-bar-fill-55  { width: 55%; }
.jury-bar-fill-60  { width: 60%; }
.jury-bar-fill-65  { width: 65%; }
.jury-bar-fill-70  { width: 70%; }
.jury-bar-fill-75  { width: 75%; }
.jury-bar-fill-80  { width: 80%; }
.jury-bar-fill-85  { width: 85%; }
.jury-bar-fill-90  { width: 90%; }
.jury-bar-fill-95  { width: 95%; }
.jury-bar-fill-100 { width: 100%; }

.jury-bar-max { font: 600 var(--text-base) var(--font-mono); text-align: right; }

.jury-integrity {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--ink2);
}

@media (max-width: 800px) {
  .jury-panels { grid-template-columns: 1fr; }
  .jury-bar-row { grid-template-columns: 1fr; gap: var(--space-2); }
  .jury-bar-max { text-align: left; }
}

/* "Meet the Jury" roster - visually replicates the home page's home-jury-*
   section (hence the isun-* redesign tokens below, not this file's own
   --primary/--muted/--ink2 legacy tokens) but kept as its own jury-roster-*
   classes rather than reusing home.css's, per the Aug 2026 request to keep
   each page's CSS separate even when the look is shared. */
.jury-roster { max-width: 1280px; margin: 0 auto; padding: 3rem var(--space-6); }

.jury-roster-head { max-width: 640px; margin-bottom: var(--space-6); }

.jury-roster-eyebrow {
  display: inline-block;
  font: 500 18px var(--font-heading);
  color: #F05A22CC;
  margin: 0 0 var(--space-3);
}

.jury-roster-heading {
  font: 600 clamp(1.75rem, 3vw, 2.25rem) var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--isun-ink);
  margin: 0 0 var(--space-4);
}

.jury-roster-heading-bar {
  float: left;
  width: 7px;
  height: 0.85em;
  margin: 0.15em var(--space-3) 0 0;
  background: var(--isun-orange);
  border-radius: 3px;
}

.jury-roster-heading-accent { color: var(--isun-orange); }

.jury-roster-body { color: var(--isun-body); margin: 0; max-width: 480px; }

.jury-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.jury-roster-card-photo {
  position: relative;
  margin-bottom: var(--space-4);
  border-radius: 13px;
  overflow: hidden;
}

/* Disabled (Oct 2026 request) - photos show clear, no orange wash. Kept
   for re-enabling: the resting-state gradient (the same one the
   placeholder boxes used), painted via ::before so it sits under the blue
   hover overlay and fades out as that overlay fades in.

.jury-roster-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 251, 249, 0) 0%, rgba(240, 90, 34, 0.63) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.jury-roster-card-has-bio:hover .jury-roster-card-photo::before,
.jury-roster-card-has-bio:focus-within .jury-roster-card-photo::before {
  opacity: 0;
}
*/

/* Photos are pre-cropped close to this ratio; cover + a top-biased position
   keeps faces in frame for the few that aren't exact. */
.jury-roster-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 3.5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 13px;
  background: var(--isun-cream);
  transition: filter 0.35s ease;
}

/* Hover/focus reveal: the placeholder photo blurs and dims, and the bio -
   hidden by default so the grid isn't a wall of identical paragraphs - fades
   in as an overlay. tabindex on the card makes :focus-within reachable by
   keyboard, same pattern as about.css's .about-reason-card.
   Only cards with a bio (.jury-roster-card-has-bio, set in jury.html) get
   any of this - while bios are pending approval (Oct 2026) the photos stay
   static, and each card switches on as soon as its bio slot is filled. */
.jury-roster-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: var(--space-5);
  background: linear-gradient(180deg, rgba(13, 16, 74, 0.15) 0%, rgba(13, 16, 74, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.jury-roster-card-has-bio:hover .jury-roster-card-image,
.jury-roster-card-has-bio:focus-within .jury-roster-card-image {
  filter: blur(4px) brightness(0.7);
}

.jury-roster-card-has-bio:hover .jury-roster-card-overlay,
.jury-roster-card-has-bio:focus-within .jury-roster-card-overlay {
  opacity: 1;
  outline: none;
}

.jury-roster-card-bio {
  margin: 0;
  color: #fff;
  font-size: var(--text-xs);
  line-height: 1.6;
}

/* Flag | Name - country flag, a short orange divider, then the name
   (Oct 2026 request). Flex keeps the three on one line; a name too long for
   the card wraps inside its own span, not under the flag. */
.jury-roster-card-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font: 400 22px var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--isun-ink);
}

.jury-roster-card-flag {
  flex: none;
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.jury-roster-card-name-bar {
  flex: none;
  width: 3px;
  height: 1.05em;
  background: var(--isun-orange);
  border-radius: 2px;
}

.jury-roster-card-name-text { min-width: 0; }

.jury-roster-card-role {
  font: 325 var(--text-sm) var(--font-heading);
  letter-spacing: -0.02em;
  color: #272A41;
  margin-top: var(--space-1);
}

@media (prefers-reduced-motion: reduce) {
  .jury-roster-card-image,
  .jury-roster-card-photo::before,
  .jury-roster-card-overlay {
    transition: none;
  }
}

@media (max-width: 900px) {
  .jury-roster-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .jury-roster-grid { grid-template-columns: 1fr; }
  .jury-roster-head { max-width: none; }
}
