.vote-intro {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.vote-intro::after {
  position: absolute;
  top: 0;
  right: -5vw;
  width: min(32vw, 500px);
  height: 100%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(17, 19, 24, 0.09) 49%, rgba(17, 19, 24, 0.09) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(17, 19, 24, 0.09) 49%, rgba(17, 19, 24, 0.09) 51%, transparent 52%);
  background-size: 72px 72px;
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transform: skewX(-12deg);
}

.vote-intro .page-intro__grid,
.vote-intro__ledger {
  position: relative;
  z-index: 1;
}

.vote-intro__ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--ink);
}

.vote-intro__ledger > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 18px;
  min-height: 126px;
  padding: 26px 28px;
  align-content: center;
  border-right: 1px solid var(--line);
}

.vote-intro__ledger > div:last-child {
  border-right: 0;
}

.vote-intro__ledger span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.vote-intro__ledger strong {
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

.vote-intro__ledger small {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.vote-sites {
  padding-bottom: clamp(82px, 10vw, 142px);
}

.vote-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.vote-card {
  --card-accent: var(--blue);
  display: flex;
  min-width: 0;
  min-height: 520px;
  padding: 24px;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.vote-card:last-child {
  border-right: 0;
}

.vote-card:hover {
  background: var(--white);
  transform: translateY(-8px);
}

.vote-card--mp {
  --card-accent: var(--cyan);
}

.vote-card--topg {
  --card-accent: var(--success);
}

.vote-card__topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.vote-card__status {
  color: var(--ink-soft);
}

.vote-card__mark {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 34px 0 30px;
  place-items: center;
  background: var(--card-accent);
  color: var(--white);
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  box-shadow: 10px 10px 0 rgba(17, 19, 24, 0.12);
}

.vote-card__mark--image {
  padding: 9px;
  overflow: hidden;
  background: var(--ink);
}

.vote-card__mark--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vote-card__logo {
  display: flex;
  width: min(100%, 260px);
  height: 92px;
  margin: 34px 0 30px;
  align-items: center;
}

.vote-card__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.vote-card h3 {
  margin: 0;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.vote-card > p {
  margin: 20px 0 34px;
  color: var(--ink-soft);
  font-size: 14px;
}

.vote-card__reward {
  display: flex;
  margin-top: auto;
  padding: 14px 0;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.vote-card__reward strong {
  color: var(--card-accent);
  text-align: right;
}

.vote-card__action {
  display: flex;
  min-height: 54px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.vote-card__action:hover {
  background: var(--card-accent);
}

.vote-card__action span {
  font-size: 20px;
}

.vote-note {
  display: grid;
  grid-template-columns: 110px minmax(0, 760px);
  gap: 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.vote-note span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.vote-note p {
  margin: 0;
  color: var(--ink-soft);
}

.vote-rewards {
  background: var(--paper-deep);
  border-top: 1px solid var(--ink);
}

.reward-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.reward-primary,
.reward-party {
  background: var(--paper);
}

.reward-primary {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  min-height: 430px;
  padding: 34px;
  align-content: end;
}

.reward-kicker {
  grid-column: 1 / -1;
  align-self: start;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.reward-key {
  display: grid;
  width: 132px;
  height: 164px;
  padding: 18px;
  align-content: space-between;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: var(--white);
  box-shadow: 12px 12px 0 rgba(17, 19, 24, 0.14);
}

.reward-key span {
  font-family: var(--mono);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}

.reward-key small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.reward-primary h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.92;
  text-transform: uppercase;
}

.reward-primary p {
  margin: 0;
  color: var(--ink-soft);
}

.reward-party {
  display: flex;
  padding: 34px;
  flex-direction: column;
}

.reward-party__head {
  padding-bottom: 25px;
  border-bottom: 5px solid var(--blue);
}

.reward-party__head span,
.reward-party__foot {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.reward-party__head strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}

.reward-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ink);
}

.reward-list li {
  display: flex;
  min-height: 56px;
  padding: 0 4px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.reward-list li:last-child {
  border-bottom: 0;
}

.reward-list span {
  font-size: 14px;
  text-transform: uppercase;
}

.reward-list strong {
  color: var(--blue);
  font-family: var(--mono);
}

.reward-party__foot {
  margin: auto 0 0;
  padding-top: 28px;
  color: var(--ink-soft);
}

.vote-route .chapter-head p {
  color: rgba(255, 255, 255, 0.62);
}

.vote-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.vote-steps article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
}

.vote-steps article:last-child {
  border-right: 0;
}

.vote-steps article > span {
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 12px;
}

.vote-steps h3 {
  margin: 76px 0 12px;
  font-size: 22px;
  text-transform: uppercase;
}

.vote-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .vote-card-grid,
  .vote-steps {
    grid-template-columns: 1fr;
  }

  .vote-card {
    min-height: 430px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .vote-card:last-child {
    border-bottom: 0;
  }

  .vote-card:hover {
    transform: none;
  }

  .reward-layout {
    grid-template-columns: 1fr;
  }

  .vote-steps article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .vote-steps article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .vote-intro::after {
    display: none;
  }

  .vote-intro__ledger {
    grid-template-columns: 1fr;
  }

  .vote-intro__ledger > div {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .vote-intro__ledger > div:last-child {
    border-bottom: 0;
  }

  .vote-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reward-primary {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 26px;
  }

  .reward-kicker {
    grid-column: auto;
  }

  .reward-party {
    padding: 26px;
  }

  .reward-party__foot {
    margin-top: 36px;
  }
}

@media (max-width: 430px) {
  .vote-card {
    padding: 20px;
  }

  .vote-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .vote-card__mark {
    width: 76px;
    height: 76px;
  }
}
