.hl-contest,
.hl-vote-panel {
  --hl-accent: #007d43;
  --hl-border: #ddd;
  --hl-gold: #fbb122;
}
.hl-page-header {
  padding: 40px;
  margin-bottom: 40px;
  background-color: rgba(255, 255, 255, 0.86);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.hl-page-header h1 {
  text-align: center;
}
.hl-page-header h1 small {
  display: block;
  color: #333;
  font-weight: 300;
  font-size: 70%;
}
.hl-entry-view-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.hl-entry-view-filter label {
  font-weight: 600;
  margin: 0;
}
.hl-entry-view-filter select {
  padding: 0.4rem 0.6rem;
  font: inherit;
}
.hl-submission-form {
  margin-top: 40px;
}
.hl-no-entries {
  font-weight: 800;
  text-align: center;
}
.hl-no-entries .hl-button {
  font-size: 18px;
  margin-top: 20px;
}
.hl-no-entries a {
  color: #222;
}
.hl-notice {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}
.hl-entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 450px));
  justify-content: center;
  gap: 1.5rem;
}
.hl-entry {
  padding: 1.25rem;
  border: 1px solid var(--hl-border);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  color: #222;
}
.hl-entry h2 {
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}
.hl-gallery:not(.slick-initialized) {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0.5rem;
}
.hl-gallery:not(.slick-initialized) .hl-photo {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.hl-gallery .hl-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 460 / 259;
  object-fit: cover;
}
.hl-entry .hl-entry-details {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 0 10px 0;
}
.hl-entry .hl-entry-details .hl-entry-votes {
  margin: 10px 0;
}
.hl-entry .hl-entry-details .hl-entry-votes .hl-vote-count {
  font-size: 32px;
  font-weight: 600;
  color: var(--hl-gold);
  line-height: 1;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.55);
  margin-right: 5px;
}
.hl-entry .hl-entry-details .hl-entry-votes .hl-vote-label {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.hl-rank-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  padding: 0.25rem 2rem;
  border-radius: 999px;
  background: var(--hl-gold);
  color: #222;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}
.hl-button,
.hl-vote-panel button {
  display: inline-block;
  background: var(--hl-accent);
  color: #fff !important;
  border: 0;
  border-radius: 0.25rem;
  padding: 0.8rem 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.hl-button:hover,
.hl-button:focus {
  color: #fff;
  text-decoration: none;
}
.hl-button:focus-visible,
.hl-vote-panel :focus-visible,
.hl-gallery :focus-visible {
  outline: 3px solid #007cba;
  outline-offset: 3px;
}
.hl-vote-page {
  margin: 0;
  padding: 2rem 1rem;
  background: #f4f4f4;
  color: #222;
  font:
    1rem/1.6 system-ui,
    sans-serif;
}
.hl-vote-panel {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px #0001;
}
.hl-vote-panel h1 {
  line-height: 1.2;
  font-size: 2rem;
}
.hl-vote-logo {
  margin: 0 0 1.5rem;
  text-align: center;
}
.hl-vote-logo img {
  display: inline-block;
  max-width: min(100%, 20rem);
  height: auto;
}
.hl-vote-panel h2 {
  font-size: 1.25rem;
}
.hl-vote-panel label {
  display: block;
  font-weight: 600;
}
.hl-vote-panel input[type="email"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.7rem;
  font: inherit;
  border: 1px solid #777;
  border-radius: 0.25rem;
}
.hl-vote-panel a {
  color: #873007;
}
.hl-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hl-gallery.slick-initialized {
  display: block;
  position: relative;
  min-width: 0;
}
.hl-gallery .hl-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  /* background: none; */
  color: #fff;
  cursor: pointer;
  opacity: 0;
}
.hl-gallery:hover .hl-gallery-arrow {
  opacity: 1;
}
.hl-gallery .hl-gallery-arrow img {
  width: 100%;
  height: auto;
  width: 30px;
  height: 30px;
  margin: 10px 0;
}
.hl-gallery .hl-gallery-prev {
  left: 0px;
}
.hl-gallery .hl-gallery-next {
  right: 0px;
}
.hl-gallery .hl-gallery-arrow::before {
  content: none;
}

@media (max-width: 768px) {
  .hl-page-header {
    padding: 20px;
  }
  .hl-page-header h1 {
    font-size: 28px;
  }
}
