:root {
  --blue: #0b4f7c;
  --deep: #073b5c;
  --gold: #f1c232;
  --ink: #1f2933;
  --muted: #f4f7f9;
  --white: #fff;
  --line: #d9e2e8;
  --soft: #eef7fb;
  --shadow: 0 12px 32px rgba(7, 59, 92, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.58;
}
h1,
h2,
h3,
h4,
.brand {
  font-family: Montserrat, Arial, sans-serif;
}
a {
  color: var(--blue);
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1140px, 92%);
  margin: auto;
}
.narrow {
  width: min(820px, 92%);
}
.form-wrap {
  width: min(960px, 92%);
  margin: auto;
}
.center {
  text-align: center;
}
.hidden {
  display: none !important;
}
.compact {
  padding: 36px 0 !important;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--deep);
  gap: 12px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.brand strong,
.brand small {
  display: block;
}
.brand small {
  font-family: "Source Sans 3", Arial, sans-serif;
  color: #52606d;
}
.site-header nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--deep);
}
.menu-button {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}
.hero {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.91) 44%,
      rgba(255, 255, 255, 0.28) 100%
    ),
    url("assets/hero-community.webp") center/cover no-repeat;
  padding: 76px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 8px;
}
.hero-logo {
  width: min(340px, 78vw);
  max-height: 300px;
  object-fit: contain;
  display: block;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.04;
  margin: 0.2rem 0 1rem;
  color: var(--deep);
}
.lead {
  font-size: 1.24rem;
  max-width: 720px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
}
.button.primary {
  background: var(--blue);
  color: #fff;
}
.button.primary:hover {
  background: var(--deep);
}
.button.secondary {
  background: var(--gold);
  color: #24323d;
}
.button.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}
.button.large {
  width: 100%;
  font-size: 1.08rem;
  min-height: 56px;
}
.phase-message {
  font-weight: 700;
  color: var(--deep);
}
.hero-card,
.panel,
.community-card,
.category-card,
.benefit-grid article,
.form-section,
.info-steps article,
.sponsor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}
.hero-card dl {
  margin-bottom: 0;
}
.hero-card dl div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.hero-card dt {
  font-weight: 800;
}
.hero-card dd {
  margin: 2px 0 0;
}
.section {
  padding: 72px 0;
}
.section.muted,
.vote-section {
  background: var(--muted);
}
.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--deep);
  margin: 0.25rem 0 1rem;
}
.title-sponsor {
  background: #fff;
}
.sponsor-feature {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sponsor-feature img {
  max-width: 260px;
  max-height: 100px;
  object-fit: contain;
}
.sponsor-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px;
  border: 2px dashed #9fb3c1;
  border-radius: 12px;
  color: #52606d;
  font-weight: 800;
  background: #fafcfd;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.center-heading {
  justify-content: center;
  text-align: center;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.category-card {
  padding: 22px;
}
.category-card h3 {
  color: var(--deep);
  margin: 0 0 8px;
}
.category-card .type {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.9rem;
}
.category-card .mini-sponsor {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.mini-sponsor img {
  max-height: 62px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin: 0.35rem auto 0;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit-grid article {
  padding: 22px;
  text-align: center;
}
.benefit-grid span {
  font-size: 2rem;
}
.benefit-grid h3 {
  color: var(--deep);
  margin: 0.5rem 0;
}
.filter {
  font-weight: 700;
}
.filter select {
  display: block;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.community-card {
  overflow: hidden;
}
.community-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #e5edf2;
}
.community-body {
  padding: 20px;
}
.community-card h3 {
  margin: 0 0 4px;
  color: var(--deep);
}
.meta {
  font-weight: 700;
  color: #52606d;
  margin: 0 0 10px;
}
.community-details {
  display: grid;
  gap: 12px;
}
.community-details h4 {
  margin: 10px 0 0;
  color: var(--deep);
}
.empty {
  padding: 32px;
  text-align: center;
  border: 1px dashed #9fb3c1;
  border-radius: 12px;
}
.checked-action {
  text-align: center;
  margin-top: 28px;
}
.nomination-form {
  display: grid;
  gap: 22px;
}
.form-section {
  padding: 28px;
}
.form-section h3 {
  margin-top: 0;
  color: var(--deep);
  font-size: 1.35rem;
}
.form-section h4 {
  color: var(--deep);
  font-size: 1.15rem;
}
.form-note {
  color: #52606d;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid.two {
  grid-template-columns: 1fr 1fr;
}
.nomination-form label,
.panel label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.nomination-form input,
.nomination-form select,
.nomination-form textarea,
.panel input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #9fb3c1;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.nomination-form textarea {
  resize: vertical;
}
.help {
  display: block;
  font-weight: 400;
  color: #52606d;
  font-size: 0.94rem;
}
.optional {
  font-weight: 400;
  color: #52606d;
}
.choice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.choice-cards.two-choice {
  grid-template-columns: 1fr 1fr;
}
.choice-cards label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  background: #fff;
}
.choice-cards input {
  width: auto;
  margin-top: 4px;
}
.choice-cards small {
  display: block;
  font-weight: 400;
  color: #52606d;
  margin-top: 3px;
}
.conditional {
  margin-top: 20px;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: #fffbe9;
  border-radius: 10px;
}
.check-label {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 12px 0;
}
.check-label input {
  width: auto;
  margin-top: 4px;
}
.stay-connected {
  margin: 20px 0;
  padding: 18px;
  background: var(--soft);
  border-radius: 12px;
}
.status {
  min-height: 24px;
  font-weight: 700;
}
.status.error {
  color: #a61b1b;
}
.status.success {
  color: #146c43;
}
.panel {
  padding: 32px;
}
.next-steps {
  text-align: left;
  max-width: 620px;
  margin: 22px auto;
}
.share-box {
  background: var(--soft);
  padding: 18px;
  border-radius: 12px;
  margin: 22px 0;
}
.info-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.info-steps article {
  padding: 22px;
}
.info-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  font-weight: 800;
}
.info-steps h3 {
  color: var(--deep);
}
.rules-copy h3 {
  color: var(--deep);
  margin-top: 26px;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sponsor-card {
  padding: 22px;
  text-align: center;
}
.sponsor-card img {
  max-height: 72px;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.sponsor-card h3 {
  color: var(--deep);
}
.ballot-group {
  border: 0;
  padding: 0;
  margin: 0 0 30px;
}
.ballot-group legend {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 12px;
}
.ballot-option {
  display: grid;
  grid-template-columns: auto 100px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0;
  background: #fff;
}
.ballot-option img {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.ballot-option input {
  width: auto;
}
.check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dff3e8;
  color: #146c43;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 14px;
}
footer {
  background: var(--deep);
  color: #fff;
  padding: 30px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-grid p {
  margin: 0.2rem 0 0;
}
.footer-grid div:last-child {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-grid a {
  color: #fff;
}
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .community-grid,
  .sponsor-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 4%;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }
  .site-header nav.open {
    display: flex;
  }
  .menu-button {
    display: block;
  }
  .choice-cards {
    grid-template-columns: 1fr;
  }
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .category-grid,
  .community-grid,
  .sponsor-grid,
  .benefit-grid,
  .info-steps {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .hero {
    padding: 50px 0;
  }
  .section {
    padding: 54px 0;
  }
  .ballot-option {
    grid-template-columns: auto 74px 1fr;
  }
  .ballot-option img {
    width: 74px;
    height: 58px;
  }
  .form-section {
    padding: 20px;
  }
}

.footer-image {
  min-height: 240px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    url("assets/footer-community.webp") center/cover no-repeat;
  border-top: 5px solid var(--gold);
}
.sponsor-feature a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sponsor-feature strong {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--deep);
  font-size: 1.15rem;
}
.title-sponsor {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 620px) {
  .choice-cards.two-choice {
    grid-template-columns: 1fr;
  }
  .footer-image {
    min-height: 150px;
  }
}

/* Version 1.2 refinements */
.test-banner {
  background: #f5a400;
  color: #17202a;
  text-align: center;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 0.92rem;
}
.test-banner.voting {
  background: #0b4f82;
  color: #fff;
}
.test-banner.closed,
.test-banner.winners {
  background: #5b2c6f;
  color: #fff;
}
.cai-brand-logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.site-header nav {
  align-items: center;
}
.site-header nav .nav-cta {
  background: var(--gold);
  color: #24323d;
  padding: 10px 14px;
  border-radius: 8px;
}
.site-header nav .nav-cta:hover {
  filter: brightness(0.96);
}
.hero-title-sponsor {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.hero-title-sponsor span {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  color: var(--deep);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-title-sponsor img {
  display: block;
  max-width: 230px;
  max-height: 74px;
  object-fit: contain;
}
.inline-link {
  margin-top: 20px;
  font-weight: 700;
}
.before-nominate {
  background: linear-gradient(135deg, #eef7fb, #fffbe9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.before-nominate .button {
  margin: 8px;
}
.sponsors-title-block {
  max-width: 760px;
  margin: 0 auto 42px;
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.sponsors-title-block .sponsor-feature img {
  max-width: 340px;
  max-height: 120px;
}
.official-sponsors-heading {
  text-align: center;
  color: var(--deep);
  font-size: 1.7rem;
  margin: 0 0 22px;
}
.mini-sponsor small {
  display: block;
  font-weight: 800;
  color: #52606d;
  margin-bottom: 7px;
}
.mini-sponsor .sponsor-placeholder:before {
  content: "Official Award Sponsor";
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 4px;
}
.sponsor-card:before {
  content: "Official Award Sponsor";
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
@media (max-width: 920px) {
  .cai-brand-logo {
    width: 155px;
  }
  .test-banner {
    font-size: 0.82rem;
  }
  .hero-title-sponsor {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-title-sponsor img {
    max-width: 200px;
  }
}

/* Version 2.0 — integrated public experience */
:root {
  --green: #2f7d55;
  --red: #b73535;
  --purple: #7652a7;
  --gulf: #e8b724;
  --champagne: #fbf3d8;
}
.hero {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.88) 48%,
      rgba(255, 255, 255, 0.3) 100%
    ),
    url("assets/hero-community.webp") center/cover no-repeat;
  border-bottom: 0;
}
.hero-logo {
  max-width: 420px;
  max-height: 230px;
}
.hero h1 {
  max-width: 760px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(3px);
}
.title-sponsor-bar {
  background: var(--deep);
  color: #fff;
  border-top: 4px solid var(--gold);
}
.title-sponsor-bar-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  text-align: left;
}
.title-sponsor-bar-inner div {
  display: grid;
  gap: 2px;
}
.title-sponsor-bar-inner span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.title-sponsor-bar-inner strong {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.05rem;
}
.title-sponsor-bar-inner a {
  background: #fff;
  border-radius: 12px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.title-sponsor-bar-inner img {
  display: block;
  max-width: 250px;
  max-height: 76px;
  object-fit: contain;
}
.quick-actions {
  padding: 42px 0 56px;
  background: #fff;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.action-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 56, 79, 0.15);
  border-color: var(--blue);
}
.action-card h2 {
  font-size: 1.17rem;
  margin: 0.8rem 0 0.45rem !important;
}
.action-card p {
  min-height: 66px;
  margin-bottom: 14px;
}
.action-card strong {
  color: var(--blue);
}
.action-card-muted {
  background: #f4f6f7;
  color: #687784;
}
.action-card-muted strong {
  color: #687784;
}
.action-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-size: 1.35rem;
  font-weight: 900;
}
.six-steps {
  grid-template-columns: repeat(3, 1fr);
}
.six-steps article {
  position: relative;
  overflow: hidden;
}
.six-steps article:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
}
.category-grid {
  grid-template-columns: repeat(3, 1fr);
}
.category-card,
.sponsor-card {
  position: relative;
  overflow: hidden;
  padding-top: 28px;
}
.category-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: var(--blue);
}
.accent-huntsville .category-ribbon {
  background: var(--green);
}
.accent-birmingham .category-ribbon {
  background: var(--red);
}
.accent-montgomery .category-ribbon {
  background: var(--purple);
}
.accent-gulf .category-ribbon {
  background: var(--gulf);
}
.accent-excellence {
  background: linear-gradient(145deg, #fff, var(--champagne));
}
.accent-excellence .category-ribbon {
  background: linear-gradient(90deg, #b98a20, var(--gold), #b98a20);
}
.category-card .type {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accent-huntsville .type {
  color: var(--green);
}
.accent-birmingham .type {
  color: var(--red);
}
.accent-montgomery .type {
  color: var(--purple);
}
.accent-gulf .type {
  color: #8a6811;
}
.accent-excellence .type {
  color: #8a6811;
}
.selection-method {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 800;
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--deep);
}
.accent-excellence .selection-method {
  background: #f6e7af;
}
.mini-sponsor small {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #586974;
}
.mini-sponsor .sponsor-placeholder:before,
.sponsor-card:before {
  content: none;
}
.sponsor-tier {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--blue);
}
.sponsors-title-block {
  background: linear-gradient(145deg, #fff, #f7fbfd);
  border-width: 3px;
}
.sponsors-title-block .sponsor-feature img {
  max-width: 380px;
}
.faq-section {
  background: #fff;
}
.faq-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(22, 56, 79, 0.07);
  padding: 0 18px;
}
.faq-list summary {
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  color: var(--deep);
  padding: 17px 30px 17px 0;
  position: relative;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.35rem;
  color: var(--blue);
}
.faq-list details[open] summary:after {
  content: "–";
}
.faq-list details p {
  padding: 0 0 17px;
  margin: 0;
  color: #455764;
}
#rules {
  border-top: 1px solid var(--line);
}
.rules-copy {
  max-width: 860px;
}
.rules-copy h3 {
  padding-top: 8px;
  border-top: 1px solid #dfe7ec;
}
.community-card {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.community-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(22, 56, 79, 0.14);
}
.before-nominate {
  background: linear-gradient(135deg, #eaf5fb, #fff7d7);
}
.footer-image {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    url("assets/footer-community.webp");
}
@media (max-width: 1050px) {
  .action-grid {
    grid-template-columns: 1fr 1fr;
  }
  .six-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .title-sponsor-bar-inner {
    flex-direction: column;
    padding: 20px 0;
    text-align: center;
    gap: 14px;
  }
  .title-sponsor-bar-inner img {
    max-width: 210px;
  }
  .action-grid,
  .six-steps {
    grid-template-columns: 1fr;
  }
  .action-card p {
    min-height: 0;
  }
  .hero-logo {
    max-width: 320px;
  }
}

/* Version 2.1 refinements */
.hero-logo {
  max-width: 560px;
  max-height: 310px;
  width: min(100%, 560px);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  max-width: 700px;
}
.hero-card dd a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.category-grid,
.sponsor-grid {
  display: block;
}
.award-group {
  margin-top: 30px;
}
.award-group:first-child {
  margin-top: 0;
}
.award-group-title {
  text-align: center;
  color: var(--deep);
  margin: 0 0 18px;
  font-size: 1.35rem;
}
.category-row,
.sponsor-row {
  display: grid;
  gap: 18px;
}
.regional-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.excellence-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}
.accent-gulf {
  background: #fff;
}
.accent-gulf .category-ribbon {
  background: #f2cf45;
}
.accent-excellence {
  background: linear-gradient(145deg, #fff, #f2e6bf);
}
.accent-excellence .category-ribbon {
  background: linear-gradient(90deg, #9b7220, #d2a63e, #9b7220);
}

.accent-excellence .mini-sponsor img,
.accent-excellence.sponsor-card img {
  mix-blend-mode: multiply;
}
.contact-section {
  background: #eef7fb;
  border-top: 1px solid var(--line);
}
.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}
.contact-links a {
  color: var(--blue);
}
#sponsors .section-heading h2 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1100px) {
  .regional-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .regional-row,
  .excellence-row {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    max-width: 390px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }
}

/* Version 2.4 final preview refinements */
.button.nomination-cta {
  background: var(--gold);
  color: #24323d;
}
.button.nomination-cta:hover {
  filter: brightness(0.96);
}
.community-card-simple {
  min-height: 145px;
  display: flex;
  align-items: center;
}
.community-card-simple .community-body {
  width: 100%;
  padding: 26px;
  text-align: center;
}
.community-card-simple h3 {
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.community-card-simple .meta {
  margin: 0;
}

/* Voting Profiles Update v2 */
.review-vote-prompt{margin:0 0 28px;border:2px solid #efc23f;background:linear-gradient(135deg,#fffdf4,#f4f9fc)}
.community-profile-button{margin-top:14px;width:100%;text-align:center}
.candidate-review-link{display:inline-block;margin:8px 0 0;font-weight:700}
@media(max-width:700px){.review-vote-prompt{align-items:flex-start}}


/* Vote review reminder */
.vote-review-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -4px -4px 28px;
  padding: 22px;
  border: 2px solid #efc23f;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf4, #f4f9fc);
}
.vote-review-reminder h3 {
  margin: 2px 0 8px;
}
.vote-review-reminder p:last-child {
  margin-bottom: 0;
}
.vote-review-reminder .button {
  flex: 0 0 auto;
  text-align: center;
}
@media (max-width: 700px) {
  .vote-review-reminder {
    align-items: stretch;
    flex-direction: column;
  }
  .vote-review-reminder .button {
    width: 100%;
  }
}

/* Nominee exploration panel spacing refinement */
.review-vote-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 30px;
  padding: 28px 30px;
  border: 2px solid #efc23f;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdf4, #f4f9fc);
  box-shadow: 0 10px 28px rgba(20, 48, 66, 0.08);
}
.review-vote-prompt > div {
  min-width: 0;
}
.review-vote-prompt h3 {
  margin: 4px 0 12px;
}
.review-vote-prompt p:last-child {
  margin-bottom: 0;
}
.review-vote-prompt .button {
  flex: 0 0 auto;
  text-align: center;
}
@media (max-width: 700px) {
  .review-vote-prompt {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }
  .review-vote-prompt .button {
    width: 100%;
  }
}


.award-guidance {
  margin: 12px 0 16px;
  padding: 16px 18px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  background: #fffdf3;
}
.award-guidance strong {
  display: block;
  color: var(--deep);
  margin-bottom: 5px;
}
.award-guidance p {
  margin: 0;
}
.category-examples {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8dc;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Committee-preview form polish */
.conditional > label {
  margin-top: 24px;
}
.conditional > label:first-of-type {
  margin-top: 18px;
}
.conditional .form-note {
  margin: 18px 0 4px;
}
.character-count {
  justify-self: end;
  margin-top: -2px;
  color: #52606d;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Keep the nomination-form spam trap active but invisible to real visitors. */
.website-confirm {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Voting integrity and pending-nomination messaging */
.voter-name-grid { margin-bottom: 1rem; }
.community-card-pending { border-style: dashed; }
.community-pending-note {
  margin: 0.9rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  background: #fff7d6;
  color: #594800;
  font-size: 0.92rem;
  line-height: 1.45;
}
body.modal-open { overflow: hidden; }
.profile-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1rem; }
.profile-modal.hidden { display: none; }
.profile-modal-backdrop { position: absolute; inset: 0; background: rgba(7,35,58,.72); }
.profile-modal-card { position: relative; width: min(900px,96vw); max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.32); overflow: hidden; }
.profile-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.5rem; border-bottom: 1px solid #dce4e9; }
.profile-modal-header h2 { margin: .2rem 0; color: #173b5f; }
.profile-modal-close { border: 0; background: #eef3f6; color: #173b5f; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.profile-modal-body { overflow-y: auto; padding: 1.5rem; }
.profile-modal-footer { padding: 1rem 1.5rem; border-top: 1px solid #dce4e9; text-align: right; background: #f8fafb; }
.profile-modal-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 1.25rem; }
.profile-modal-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-bottom: 1rem; }
.profile-modal-stats div { padding: .85rem 1rem; background: #eef4f7; border-radius: 10px; }
.profile-modal-stats span { display: block; color: #667784; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.profile-modal-stats strong { display: block; margin-top: .25rem; color: #173b5f; }
.profile-modal-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 1.2rem; }
.profile-modal-link { font-weight: 700; }
.profile-modal-section { padding: 1rem 0; border-top: 1px solid #e3e9ed; }
.profile-modal-section h3 { margin: 0 0 .5rem; color: #173b5f; }
.profile-modal-section p { margin: 0; line-height: 1.65; }
.profile-modal-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.profile-modal-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.candidate-review-link { border: 0; background: transparent; color: #075985; text-decoration: underline; font: inherit; font-weight: 700; cursor: pointer; padding: .45rem 0; }
@media (max-width: 700px) { .profile-modal { padding: .45rem; } .profile-modal-card { max-height: 96vh; } .profile-modal-stats { grid-template-columns: 1fr; } .profile-modal-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.scoring-help{margin:14px 0 22px;border:1px solid #d7b42a;border-radius:12px;background:#fffdf3;padding:14px 16px}.scoring-help summary{cursor:pointer;font-weight:800;color:#173f63}.scoring-help p,.scoring-help ol{margin:10px 0}.scoring-help ol{padding-left:22px;line-height:1.55}

/* Final nomination and voting workflow */
.role-guidance,
.duplicate-warning,
.statewide-later-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f7fbfd;
  border: 1px solid #bfd8e7;
}
.role-guidance strong,
.duplicate-warning strong { color: #0b4f82; }
.role-guidance p,
.duplicate-warning p,
.statewide-later-note p { margin: 6px 0 0; }
.duplicate-warning {
  background: #fff8d8;
  border-color: #e4bd20;
}
.duplicate-warning .check-label { margin-top: 12px; }
#boardContactFields input[readonly] {
  background: #eef3f6;
  color: #425b6b;
}
.ballot-optional-note {
  margin: -4px 0 14px;
  color: #607584;
  font-size: .95rem;
}
.ballot-review-panel {
  margin-top: 20px;
  padding: 22px;
  border: 2px solid #f0c400;
  border-radius: 16px;
  background: #fffdf1;
}
.ballot-review-selections {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}
.ballot-review-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1.2fr);
  gap: 16px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d8e1e6;
}
.ballot-review-row span { color: #607584; }
.vote-privacy-note {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 10px;
  background: #eef5f8;
  color: #405c6d;
  font-size: .93rem;
  line-height: 1.45;
}
.community-pending-note {
  display: inline-block;
  margin: 10px 0 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff4c6;
  color: #6a5600;
  font-size: .86rem;
  font-weight: 700;
}
@media (max-width: 640px) {
  .ballot-review-row { grid-template-columns: 1fr; gap: 4px; }
}
.ballot-no-selection {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  margin: .65rem 0 1rem;
  padding: .85rem 1rem;
  border: 1px dashed #b9c7d0;
  border-radius: 9px;
  background: #f7fafb;
  font-weight: 600;
  color: #526978;
}
.ballot-no-selection input {
  width: auto;
  margin: 0;
  display: inline-block;
  flex: 0 0 auto;
}
.ballot-no-selection span {
  display: inline-block;
  line-height: 1.2;
}
.ballot-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ballot-heading-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ballot-heading-sponsor-label {
  font-size: .84rem;
  font-weight: 800;
  color: #5b6c79;
}
.ballot-heading-sponsor img {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
.ballot-statewide-sponsors {
  margin-top: 10px;
  padding: 16px 18px;
  border: 1px dashed #d8e1e6;
  border-radius: 14px;
  background: #fff;
}
.ballot-statewide-sponsors h3 {
  margin: 0 0 6px;
  font-size: .84rem;
  font-weight: 800;
  color: #5b6c79;
}
.ballot-statewide-sponsors p {
  margin: 0;
  color: #607584;
  font-size: .92rem;
}
.ballot-statewide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.ballot-statewide-card {
  padding: 14px 16px;
  border: 1px solid #e1e8ec;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.ballot-sponsors {
  display:none;

  margin: 20px 0 22px;
  padding: 18px;
  border: 1px solid #d8e1e6;
  border-radius: 14px;
  background: #f8fbfd;
}
.ballot-sponsors-header h3 {
  margin: 6px 0 0;
  font-size: 1.06rem;
  color: var(--deep);
}
.ballot-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.ballot-sponsor-card {
  padding: 16px;
  border: 1px solid #d8e1e6;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.ballot-sponsor-category {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--deep);
}
.ballot-sponsor-type {
  margin: 0 0 10px;
  font-size: .84rem;
  color: #607584;
  font-weight: 700;
}
.ballot-sponsor-card a,
.ballot-sponsor-card img {
  display: block;
  margin: 0 auto;
}
.ballot-sponsor-card img {
  max-width: 100%;
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
}
.ballot-sponsor-card .sponsor-placeholder {
  min-height: 90px;
  display: grid;
  place-items: center;
}


@media (max-width: 760px) {
  .ballot-group-header { align-items: flex-start; }
  .ballot-heading-sponsor { width: 100%; }
}


/* 2026-07-29 form, ballot, and sponsor refinements */
.panel label.ballot-no-selection {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
}
.panel label.ballot-no-selection input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex: 0 0 auto;
}
.panel label.ballot-no-selection span {
  display: inline;
  margin: 0;
}
.ballot-statewide-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
}
.ballot-statewide-card img {
  display: block;
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  margin: 10px auto 0;
}
.ballot-statewide-card a img {
  margin: 0;
}
.single-confirmation {
  padding: 16px 18px;
  border: 1px solid #bfd8e7;
  border-radius: 12px;
  background: #f7fbfd;
  line-height: 1.45;
}
.confirmation-note {
  padding: 16px 18px;
  border: 1px solid #bfd8e7;
  border-radius: 12px;
  background: #f7fbfd;
}
.confirmation-note p {
  margin: 0;
}
.confirmation-note p + p {
  margin-top: 8px;
  color: #52606d;
}
.connected-note {
  margin: 4px 0 12px;
  color: #405c6d;
  font-weight: 400;
}
.sponsor-placeholder-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
}
.sponsor-placeholder-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 78px;
  object-fit: contain;
  margin: 0 auto;
}
.mini-sponsor .sponsor-placeholder-image {
  max-width: 190px;
  max-height: 62px;
}

.confirmation-agree {
  margin-top: 12px;
}
.confirmation-agree span {
  font-weight: 700;
}

/* Keep ballot placeholder logos aligned with actual category sponsor logos. */
.ballot-heading-sponsor .sponsor-placeholder-image-wrap {
  width: auto;
  min-height: 0;
}
.ballot-heading-sponsor .sponsor-placeholder-image {
  max-width: 140px;
  max-height: 44px;
  margin: 0;
}
.ballot-statewide-card .sponsor-placeholder-image-wrap {
  min-height: 44px;
  margin-top: 10px;
}
.ballot-statewide-card .sponsor-placeholder-image {
  max-width: 140px;
  max-height: 44px;
  margin: 0 auto;
}

/* Role-restricted board/manager self-contact option */
.self-contact-slot:empty { display: none; }
.self-contact-option { margin-top: 12px; }


/* Board/manager contact label and guidance spacing */
.field-label {
  display: block;
}
.field-requirement {
  display: block;
  margin-top: 7px;
  font-weight: 400;
  color: #52606d;
}
.field-requirement.required {
  display: inline;
  margin: 0 0 0 3px;
  font-weight: 800;
  color: inherit;
}
#supporterBoardContactNote:not(.hidden) {
  margin-bottom: 24px;
}
