.makers-vote-page {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(19, 13, 46, 0.78), rgba(19, 13, 46, 0.72)),
    url("/assets/images/2022/02/fermenting-tanks-at-a-brewery-2021-09-01-15-05-38-utc.jpg")
      center top / cover fixed;
  color: #15242b;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
}

.makers-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.makers-skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  width: auto;
  height: auto;
  overflow: visible;
  margin: 0;
  clip: auto;
  clip-path: none;
  border-radius: 3px;
  background: #fff;
  padding: 10px 14px;
  color: #023c57;
  font-weight: 800;
}

.makers-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 5vw;
}

.makers-site-logo {
  display: block;
  width: min(270px, 34vw);
  flex: 0 0 auto;
}

.makers-site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.makers-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 27px);
  flex-wrap: wrap;
}

.makers-site-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.makers-site-nav a:hover,
.makers-site-nav a:focus-visible,
.makers-site-nav a[aria-current="page"] {
  color: #ffb703;
}

.makers-site-nav a:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 4px;
}

.makers-site-footer {
  background: #161616;
  padding: 18px 5vw;
  color: #b4b4b4;
  font-size: 13px;
  text-align: center;
}

.makers-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.makers-vote-shell {
  --makers-navy: #023c57;
  --makers-ink: #15242b;
  --makers-gold: #ffb703;
  --makers-border: #d3dde2;
  --makers-soft: #f3f7f8;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 5vw 70px;
  color: var(--makers-ink);
}

.makers-vote-shell > h1 {
  margin: 0;
  color: #fff;
  font-family: "Heebo", Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
}

.makers-vote-shell__intro {
  max-width: 800px;
  margin: 18px 0 34px;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 650;
}

.makers-vote-shell *,
.makers-vote-shell *::before,
.makers-vote-shell *::after {
  box-sizing: border-box;
}

.makers-vote-panel[hidden],
.makers-vote-notice[hidden] {
  display: none;
}

.makers-vote-panel {
  border-top: 8px solid var(--makers-gold);
  background: #fff;
  box-shadow: 0 18px 50px rgba(2, 60, 87, 0.13);
  padding: clamp(24px, 5vw, 54px);
}

.makers-vote-panel h2,
.makers-vote-panel h3,
.makers-vote-matchup__legend {
  font-family: "Heebo", Helvetica, Arial, sans-serif;
  color: var(--makers-navy);
  font-weight: 800;
  line-height: 1.15;
}

[data-vote-state-heading]:focus {
  outline: none;
}

.makers-vote-panel h2 {
  font-size: clamp(30px, 4vw, 48px);
  padding-bottom: 12px;
}

.makers-vote-panel h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.makers-vote-panel__lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
}

.makers-vote-rule {
  display: inline-block;
  margin: 6px 0 28px;
  border-radius: 999px;
  background: var(--makers-navy);
  padding: 8px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.makers-vote-notice {
  margin: 0 0 24px;
  border-left: 5px solid var(--makers-gold);
  background: #fff8df;
  padding: 14px 18px;
  color: #593f00;
  font-weight: 650;
}

.makers-vote-matchup {
  min-width: 0;
  margin: 0 0 34px;
  border: 0;
  border-top: 1px solid var(--makers-border);
  padding: 32px 0 0;
}

.makers-vote-matchup__legend {
  width: 100%;
  padding: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
}

.makers-vote-matchup__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.makers-vote-matchup__choices--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.makers-vote-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.makers-vote-form--locked .makers-vote-card {
  cursor: wait;
  opacity: 0.72;
}

.makers-vote-form--locked .makers-vote-card__content {
  pointer-events: none;
}

.makers-vote-card > input {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 24px;
  height: 24px;
  accent-color: var(--makers-navy);
}

.makers-vote-card__content {
  display: grid;
  grid-template-columns: minmax(145px, 38%) 1fr;
  min-height: 220px;
  overflow: hidden;
  border: 3px solid var(--makers-border);
  border-radius: 8px;
  background: #fff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.makers-vote-card:hover .makers-vote-card__content {
  transform: translateY(-2px);
  border-color: #8eaab7;
}

.makers-vote-card > input:focus-visible + .makers-vote-card__content {
  outline: 4px solid #196a91;
  outline-offset: 3px;
}

.makers-vote-card > input:checked + .makers-vote-card__content {
  border-color: var(--makers-gold);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.32);
}

.makers-vote-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: #dbe6ea;
  object-fit: cover;
}

.makers-vote-card__photo--placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #56666d;
  text-align: center;
}

.makers-vote-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
}

.makers-vote-card__product,
.makers-vote-card__manufacturer,
.makers-vote-card__location,
.makers-vote-card__description,
.makers-vote-card__links {
  display: block;
}

.makers-vote-card__product {
  color: var(--makers-navy);
  font-family: "Heebo", Helvetica, Arial, sans-serif;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 850;
  line-height: 1.12;
}

.makers-vote-card__manufacturer {
  font-size: 17px;
  font-weight: 750;
}

.makers-vote-card__location {
  color: #4c5e66;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.makers-vote-card__description {
  line-height: 1.5;
}

.makers-vote-card__links {
  margin-top: auto;
  padding-top: 8px;
}

.makers-vote-card__link {
  display: inline-block;
  margin: 0 14px 4px 0;
  color: #075d86;
  font-weight: 750;
  text-decoration: underline;
}

.makers-vote-card__social {
  display: inline-block;
  margin: 0 14px 4px 0;
  color: #4e5b63;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.makers-vote-actions {
  margin: 24px 0 0;
  border-top: 1px solid var(--makers-border);
  background: #fff;
  padding: 24px 0 0;
  text-align: center;
}

.makers-vote-button {
  appearance: none;
  min-height: 48px;
  border: 2px solid var(--makers-navy);
  border-radius: 4px;
  background: var(--makers-navy);
  padding: 11px 24px;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.makers-vote-button:hover {
  background: #07506f;
}

.makers-vote-button:focus-visible {
  outline: 4px solid var(--makers-gold);
  outline-offset: 3px;
}

.makers-vote-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.makers-vote-button--secondary {
  background: #fff;
  color: var(--makers-navy);
}

.makers-vote-form-error {
  margin: 0 0 14px;
  color: #a42318;
  font-weight: 800;
}

.makers-vote-spinner {
  width: 48px;
  height: 48px;
  margin: 14px 0;
  border: 5px solid #d5e1e6;
  border-top-color: var(--makers-navy);
  border-radius: 50%;
  animation: makers-vote-spin 0.8s linear infinite;
}

@keyframes makers-vote-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .makers-site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .makers-site-logo {
    width: min(260px, 70vw);
  }

  .makers-site-nav {
    justify-content: flex-start;
  }

  .makers-vote-matchup__choices,
  .makers-vote-matchup__choices--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .makers-vote-page {
    background-attachment: scroll;
  }

  .makers-site-header {
    padding: 18px 14px 10px;
  }

  .makers-site-nav {
    gap: 10px 18px;
  }

  .makers-site-nav a {
    font-size: 14px;
  }

  .makers-vote-shell {
    padding: 26px 14px 46px;
  }

  .makers-vote-panel {
    padding: 25px 17px;
  }

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

  .makers-vote-card__photo {
    height: 210px;
    min-height: 210px;
  }

  .makers-vote-card__copy {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .makers-vote-card__content {
    transition: none;
  }

  .makers-vote-spinner {
    animation-duration: 1.8s;
  }
}
