.contest-page {
  background: #fff;
}

.contest-wrap {
  width: min(100% - 88px, var(--container));
  margin: 0 auto;
  padding: 30px 0 0;
  scroll-margin-top: 116px;
}

.contest-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(470px, 1fr);
  min-height: clamp(560px, 32vw, 650px);
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffdb50 0%, #f7cf2c 100%);
  color: #333;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
}

.contest-card__content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 850px;
  padding: clamp(30px, 3.2vw, 54px) clamp(28px, 3vw, 54px);
}

.contest-card h1 {
  margin: 0 0 24px;
  color: #333;
  font-size: clamp(54px, 4.5vw, 86px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.contest-card__lead {
  margin: 0 0 24px;
  color: #3f3f46;
  font-size: clamp(24px, 1.9vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.contest-card p,
.contest-card li {
  color: #2b2b2b;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.36;
}

.contest-card p {
  margin: 0 0 15px;
}

.contest-card__intro {
  font-weight: 800;
}

.contest-card__rules {
  margin: 0 0 18px;
}

.contest-card__rules strong {
  display: block;
  margin-bottom: 14px;
  color: #2b2b2b;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 800;
}

.contest-card__rules ol {
  margin: 0;
  padding-left: 28px;
}

.contest-card__strong {
  font-weight: 800;
}

.contest-card__button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  border-radius: 999px;
  padding: 0 44px;
  background: #fff;
  color: #333;
  font-size: clamp(20px, 1.35vw, 28px);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contest-card__button:hover {
  transform: translateY(-2px);
  background: #111;
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.contest-card__button span {
  color: #111;
  transition: color 0.2s ease;
}

.contest-card__button:hover span {
  color: #fff;
}

.contest-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 38px 28px 22px 0;
}

.contest-card__visual::before {
  position: absolute;
  inset: 0 0 0 -28%;
  z-index: 1;
  background: linear-gradient(90deg, #ffdb50 0%, rgba(255, 219, 80, 0.72) 18%, rgba(255, 219, 80, 0) 42%);
  content: "";
  pointer-events: none;
}

.contest-card__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.mobile-nav a.is-active {
  color: #111;
}

@media (max-width: 1320px) {
  .contest-card {
    grid-template-columns: minmax(520px, 1fr) minmax(410px, 0.92fr);
  }

  .contest-card__content {
    padding-right: 18px;
  }

  .contest-card__visual {
    padding-left: 0;
    padding-right: 18px;
  }

  .contest-card__content {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .contest-card h1 {
    margin-bottom: 18px;
    font-size: 50px;
  }

  .contest-card__lead {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .contest-card p,
  .contest-card li {
    font-size: 16px;
    line-height: 1.32;
  }

  .contest-card p {
    margin-bottom: 12px;
  }

  .contest-card__rules {
    margin-bottom: 14px;
  }

  .contest-card__rules strong {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .contest-card__button {
    min-height: 56px;
    margin-top: 12px;
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .contest-wrap {
    width: min(100% - 30px, var(--container));
    padding-top: 22px;
  }

  .contest-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contest-card__content {
    max-width: none;
    padding: 34px 28px 24px;
  }

  .contest-card__visual {
    min-height: 360px;
    order: 2;
  }

  .contest-card__visual::before {
    inset: -1px 0 auto;
    height: 42%;
    background: linear-gradient(180deg, #ffdb50 0%, rgba(255, 219, 80, 0.75) 32%, rgba(255, 219, 80, 0) 100%);
  }

  .contest-card__visual img {
    object-position: center;
  }
}

@media (max-width: 700px) {
  .contest-wrap {
    padding-top: 16px;
  }

  .contest-card {
    border-radius: 12px;
  }

  .contest-card__content {
    padding: 26px 20px 18px;
  }

  .contest-card h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 13vw, 58px);
  }

  .contest-card__lead {
    margin-bottom: 18px;
    font-size: clamp(22px, 7vw, 30px);
  }

  .contest-card p,
  .contest-card li {
    font-size: 16px;
    line-height: 1.38;
  }

  .contest-card__rules ol {
    padding-left: 22px;
  }

  .contest-card__button {
    width: 100%;
    min-height: 60px;
    margin-top: 12px;
    padding: 0 24px;
    font-size: 22px;
  }

  .contest-card__visual {
    min-height: 260px;
  }

  .float-right {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    flex-direction: column;
  }
}

/* ===== SEVALO HEADER ORDER / CRUSHERS NAV FIX ===== */
.site-header .header-container {
  width: calc(100% - 48px);
  max-width: none;
  gap: 14px;
}

.site-header .desktop-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.site-header .nav-link {
  padding: 0 13px;
  font-size: 16px;
  white-space: nowrap;
}

.site-header .nav-dropdown__toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.site-header .callback-btn {
  flex: 0 0 auto;
  min-width: 220px;
  padding-right: 22px;
  padding-left: 22px;
  white-space: nowrap;
}

.site-header .mobile-nav__label {
  display: block;
  padding: 16px 0 8px;
  color: #111;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.72;
}

@media (max-width: 1500px) {
  .site-header .header-container {
    width: calc(100% - 36px);
    gap: 8px;
  }

  .site-header .logo img {
    width: 220px;
  }

  .site-header .nav-link {
    padding: 0 7px;
    font-size: 13px;
  }

  .site-header .callback-btn {
    min-width: 190px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .site-header .desktop-nav,
  .site-header > .header-container > .callback-btn {
    display: none;
  }

  .site-header .header-container {
    width: min(100% - 30px, 1720px);
    min-height: 82px;
  }

  .site-header .logo img {
    width: 170px;
    height: auto;
  }

  .site-header .burger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .site-header .burger span {
    width: 26px;
    height: 3px;
    background: #111;
  }

  .site-header .mobile-nav.is-open {
    position: fixed;
    inset: 82px 0 0;
    z-index: 5100;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #f2cf4a;
    overflow-y: auto;
  }

  .site-header .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
    color: #111;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
  }

  .site-header .mobile-callback {
    margin-top: 26px;
    border: 0 !important;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    text-align: center;
  }
}