/* ================ */
/* ===== Hero ===== */
/* ================ */

.hero {
  max-width: 1410px;
  border-radius: 32px;
  margin: 0 auto;
  background-color: var(--main-text-color);
  color: var(--main-bg-color);
  background-image: url('../media/pages/contest/hero-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-bottom: clamp(4rem, 10vw, 12rem);
}

.hero__inner {
  padding-top: 123px;
  padding-bottom: 50px;
}

.hero__title {
  font-family: Bebas;
  font-size: clamp(6rem, 15vw, 18rem);
  padding: clamp(4rem, 15vw, 3rem) 0 clamp(11rem, 16vw, 26rem);
}

.hero__title span {
  display: flex;
  justify-content: center;
  text-wrap: nowrap;
}

.hero__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 3rem);
  font-size: clamp(2rem, 3vw, 5.2rem);
}

.hero__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 42px;
  transition: all .2s ease-in-out;
  padding: 10px 15px;
}


/* ================== */
/* ===== Judges ===== */
/* ================== */

.judges {
  margin-bottom: clamp(4rem, 10vw, 12rem);
}

.judges__inner {
  display: flex;
  flex-direction: column;
}

.judges__title {
  font-family: Bebas;
  font-size: clamp(5rem, 8vw, 12rem);
  margin-bottom: 50px;
  position: relative;
}

.judges__title::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/underline.svg) no-repeat center / contain;
  bottom: -0.55em;
  left: 0;
  width: 6.5em;
  height: 100%;
  z-index: -1;
}

.judges__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin-bottom: 5px;
}

.judges__card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.judges__card-img {
  background-image: url('../media/shared/decoration/dragon.svg');
  cursor: pointer;
  border-radius: 100%;
  margin-bottom: 10px;
}

.judges__card-img img {
  max-width: 240px;
  background-color: #666666;
  background-image: url('../media/shared/decoration/dragon.svg');
  cursor: pointer;
  background-position: center;
  background-size: contain;
  border-radius: 100%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: inherit;
}

.judges__card-img-1 img {
  background-color: #161616;
}

.judges__card-video {
  position: relative;
}

.judges__card-video::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  content: url(../icons/play.svg)
}

.judges__name {
  font-family: Bebas;
  font-size: clamp(2.2rem, 2.5vw, 3.2rem);
}

.judges__post {
  font-size: clamp(1.4rem, 1.5vw, 1.8rem);
  max-width: 176px;
  text-align: center;
  margin-bottom: 10px;
}

.judges__socials {
  display: flex;
  gap: 5px;
}

.judges__name--special {
  position: relative;
  z-index: 5;
  color: var(--main-bg-color);
}

.judges__name--special::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  top: -0.1em;
  left: 0;
  width: 5em;
  height: 1.1em;
  z-index: -1;
  transform: scaleX(1.4);
}

.judges__socials-item {}

.judges__socials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid var(--main-text-color);
  border-radius: 100%;
  aspect-ratio: 1;
  width: 30px;
  height: 30px;
}

.judges__btn {
  align-self: center;
  margin-left: 0;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 600;
  color: var(--main-bg-color);
  background-color: var(--accent);
  border-radius: 42px;
  padding: 15px 44px;
  margin-top: 10px;
}

.judges__card--extra {
  display: none;
}

/* ================== */
/* ===== Healed ===== */
/* ================== */


.mobile-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 70px; /*margin-bottom: 80px;*/
  background-color: #161616;
  padding: 20px 0;
  border-radius: 22px
}

.mobile-slider__wrapper {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  height: 100%;
}

.mobile-slider__inner {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  height: 100%;
}

.mobile-slider__track {
  display: flex;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.mobile-slider__slide {
  flex: 0 0 var(--slide-width);
  min-width: var(--slide-width);
  max-width: var(--slide-width);
  display: flex;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 20px clamp(2rem, 10vw, 8rem);
}

.mobile-slider__slide img {
  width: 100%;
  height: 460px;
  display: block;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  margin-bottom: 20px;
  border-radius: 22px;
}

.mobile-slider-title {
  color: #fff;
  font-family: 'Bebas';
  font-size: 28px;
  margin-bottom: 4px;
}

.mobile-slider-descr {
  -webkit-user-select: none; /* Safari, Chrome, Opera, Edge */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE 10+ */
  user-select: none;         /* Стандартный синтаксис */
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
}

.mobile-slider-descr-2 {
  margin-bottom: 53px;
}

.mobile-slider-descr-3 {
  margin-bottom: 34px;
}

.mobile-slider-descr-6 {
  margin-bottom: 53px;
}

.mobile-slider-descr-8 {
  margin-bottom: 72px;
}

.mobile-slider.mobile-slider-2 {
  background-color: transparent !important;
  margin-bottom: 0px;
  display: none;
}

/* Адаптивная ширина слайда */
:root {
  --slides-per-view: 1;
  --slide-width: calc(100% / var(--slides-per-view));
}

@media (min-width: 420px) {


  :root {
    --slides-per-view: 2;
    --slide-width: calc(100% / var(--slides-per-view));
  }
  
}
@media (max-width: 419px) {
.mobile-slider-2 .mobile-slider__slide {
    padding: 20px 14px !important;

    min-width: 337px;
    max-width: 337px;
  }
  .rewards .container {
    padding-right: 0;
  }
}

.mobile-slider__btn {
  top: 0%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
}

.mobile-slider__btn--prev {
  left: 10px;
}

.mobile-slider__btn--next {
  right: 10px;
}

.healed {
  margin-bottom: clamp(0rem, 4vw, 6rem);
}

.healed__inner {
  display: flex;
  flex-direction: column;
}

.healed__header {
  display: flex;
  margin-bottom: 60px;
}

.healed__title {
  width: 70%;
  font-family: Bebas;
  font-size: clamp(4rem, 7vw, 8.2rem);
}

.healed__title span {
  position: relative;
  text-wrap: nowrap;
  color: var(--main-bg-color);
}

.healed__title span::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  bottom: 0;
  left: -0.2em;
  width: 9.6em;
  height: 1.2em;
  z-index: -1;
  transform: scaleX(1.8);
}

.healed__description {
  font-family: Bebas;
  font-size: clamp(2rem, 5vw, 5rem);
}

.healed-slider {
  position: relative;
  width: 100%;
}

.healed-slider__track {
  position: relative;
  /* width: 800px; */
  height: 600px;
  margin: 0 auto;
  top: 0;
  left: 0;
}

.healed-slider__item {
  width: 320px;
  height: 430px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
  background-position: center;
  background-size: cover;
  transition: 0.5s;
}

.healed-slider__item:nth-child(1),
.healed-slider__item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.healed-slider__item:nth-child(3) {
  left: clamp(1rem, 95vw, 70rem);
}

.healed-slider__item:nth-child(4) {
  left: calc(50% + 430px);
}

.healed-slider__item:nth-child(5) {
  left: calc(50% + 440px);
}

.healed-slider__item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}

.healed-slider__content {
  border-radius: 32px;
  padding: 20px;
  background-color: #0000020f;
  backdrop-filter: blur(10px);
  position: absolute;
  top: 50%;
  left: clamp(1rem, 7vw, 10rem);
  width: clamp(28rem, 40vw, 50rem);
  transform: translateY(-50%);
  color: #fff;
  display: none;
}

.healed-slider__item:nth-child(2) .healed-slider__content {
  display: block;
}

.healed-slider__name {
  font-size: clamp(3rem, 5vw, 6rem);
  text-transform: uppercase;
  font-family: Bebas;
  opacity: 0;
  animation: healFade 1s forwards;
}

.healed-slider__desc {
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: healFade 1s 0.3s forwards;
  line-height: 140%;
}

.healed-slider__link-wrapper {
  display: flex;
  gap: 5px;
}

.healed-slider__link {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  border-radius: 42px;
  padding: 10px;
  cursor: pointer;
  animation: healFade 1s 0.6s forwards;
  opacity: 0;
  flex: 1;
  text-align: center;
  filter: blur(20px);
}

.healed-slider__button:hover {
  background: #fff;
}

@keyframes healFade {
  from {
    opacity: 0;
    transform: translateY(80px);
    filter: blur(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.healed-slider__controls {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
}



.healed-slider__btn {
  width: clamp(5rem, 10vw, 5.5rem);
  height: clamp(5rem, 10vw, 5.5rem);
  border-radius: 100%;
  border: 2px solid var(--main-bg-color);
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  background: none;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 10px;
}

.healed-slider__btn:hover {
  transform: scale(1.1);
}


/* ===================== */
/* ===== Accordion ===== */
/* ===================== */


.accordion {
  margin-bottom: clamp(4rem, 10vw, 12rem);
}

.accordion__inner {}

.accordion__title {
  font-family: Bebas;
  font-size: clamp(4rem, 7vw, 8.2rem);
  margin-bottom: 30px;
}

.accordion span {
  position: relative;
  text-wrap: nowrap;
  color: var(--main-bg-color);
}

.accordion__title span::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  bottom: -0.6em;
    left: -0.2em;
    width: 4.3em;
    height: 2.2em;
  z-index: -1;
  transform: scaleY(1.5);
}

.accordion__wrapper {}

.accordion__list {
  display: flex;
  gap: clamp(1.4rem, 2vw, 2.6rem);
  height: 820px;
}

.accordion__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 177px;
  max-width: clamp(10rem, 13vw, 17.7rem);
  padding: 30px 0 0 0;
  background-color: var(--main-text-color);
  border-radius: 32px;
  color: var(--main-bg-color);
  cursor: pointer;
  transition: all .3s ease-in;
  background-image: url('../media/shared/decoration/shape.png');
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.item--active {
  max-width: 622px;
  padding: 75px 65px 50px 65px;
  position: relative;
}

.accordion__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../media/pages/contest/accordion-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  margin-left: -100%;

  opacity: 0;
  transition: all .3s ease;
}

.item--active::before {
  opacity: 1;
  margin-left: 0;
}

.item--active .accordion__item-body {
  max-height: 500px;
  opacity: 1;
}

.item--active .accordion__item-title {
  font-size: clamp(4rem, 5vw, 6rem);
  writing-mode: horizontal-tb;
  transform: rotate(0deg);
}

.accordion__item-title {
  font-family: Bebas;
  font-size: clamp(2rem, 3vw, 4rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: transform .3s ease;
}

.accordion__item-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .4s ease;
}

.accordion__item-prize {
  font-family: Bebas;
  font-size: clamp(3rem, 4vw, 4.2rem);
  margin-bottom: 15px;
  position: relative;
}

.accordion__item-prize::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/underline.svg) no-repeat center / contain;
  bottom: -0.5em;
  left: 0;
  width: 7em;
  height: 1em;
  z-index: 0;
}

.accordion__item-description {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  margin-bottom: 35px;
  line-height: 1;
  position: relative;
}

.accordion__btn {
  display: flex;
  justify-content: center;
  padding: 14px;
  font-size: clamp(2rem, 2.2vw, 2.4rem);
  border-radius: 32px;
  margin-top: 10px;
}

.accordion__item:nth-child(2) {
  background-position: bottom;
}

.accordion__item:nth-child(4) {
  background-position: bottom;
}



/* ==================== */
/* ===== Best Box ===== */
/* ==================== */


.best-box {
  margin-bottom: clamp(4rem, 10vw, 12rem);
}


.best-box__title {
  font-family: Bebas;
  font-size: clamp(3rem, 7vw, 8.2rem);
  margin-bottom: 30px;
}

.best-box__title span {
  position: relative;
  text-wrap: nowrap;
  color: var(--main-bg-color);
}

.best-box__title span::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  top: -0.2em;
  left: -0em;
  width: 10em;
  height: 1.3em;
  z-index: -1;
  transform: scaleX(1.9);
}

.best-box__wrapper {
  background-image: url("../media/pages/contest/best-box-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 448px;
  display: flex;
  align-items: center;
  padding: clamp(1rem, 3vw, 4rem);
  border-radius: 32px;
  position: relative;
}

.best-box__body {
  max-width: 636px;
  background-color: #ffffff20;
  backdrop-filter: blur(42px);
  color: var(--main-bg-color);
  padding: clamp(2rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem);
  border-radius: 32px;
  box-shadow: 1px 0 1px 1px rgba(255, 255, 255, 0.5) inset;
}

.best-box__description {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-bottom: 35px;
}

.best-box__info {
  padding-bottom: 35px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  position: relative;
}

.best-box__info::before {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  top: -2em;
  left: 8em;
  width: 6em;
  height: 5em;
  z-index: -1;
  transform: scaleX(4.2);
}

.best-box__buttons {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  ;
  display: flex;
  gap: 5px;
}

.best-box__btn {
  font-size: 22px;
  display: flex;
  padding: 8px;
  flex: 1;
  justify-content: center;
  border-radius: 18px;
  color: var(--main-bg-color);
}



/* ====================== */
/* ===== Nomination ===== */
/* ====================== */


.nomination {
  margin-bottom: clamp(4rem, 10vw, 12rem);
}

.nomination__inner {
  position: relative;
  display: flex;
  gap: 40px;
}



.nomination__title {
  font-family: Bebas;
  font-size: clamp(4rem, 7vw, 8.2rem);
  margin-bottom: 30px;
}

.nomination__wrapper {
  display: flex;
}

.nomination__col {
  justify-self: start;
}

.nomination__title span {
  color: var(--main-bg-color);
  position: relative;
}

.nomination__title span::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  bottom: 0;
  left: -0.5em;
  width: 8em;
  height: 110%;
  z-index: -1;
  transform: scaleX(1.6);
}

.nomination__description {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  margin-bottom: 30px;
}

.nomination__info {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  max-width: 600px;
}

.nomination__info span {
  color: var(--main-bg-color);
}



.nomination__info-jpg {
  border-radius: 32px;
}


.nomination__img img {
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  object-fit: cover;
}

.nomination__btn {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1.5rem, 2.5vw, 3rem);
  border-radius: 32px;
  font-family: Bebas;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin-top: 2em;
}





/* =================== */
/* ===== Rewards ===== */
/* =================== */

.rewards {
  max-width: 1410px;
  border-radius: 32px;
  margin: 0 auto;
  background-color: var(--main-text-color);
  color: var(--main-bg-color);
  background-image: url('../media/pages/contest/rewards-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-bottom: clamp(4rem, 10vw, 12rem);
}

.rewards__inner {
  padding: 90px 0 140px 0;
}

.rewards__title {
  font-family: Bebas;
  font-size: clamp(5rem, 8vw, 12rem);
  position: relative;
  margin-bottom: 80px;
}

.rewards__title::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/underline.svg) no-repeat center / contain;
  bottom: -0.5em;
  left: -0.1em;
  width: 6.7em;
  height: 1em;
  z-index: 0;
}

.rewards__list {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.rewards__item {
  max-width: 356px;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 1px 0 1px 1px rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(42px);
  padding: 22px;
  border-radius: 32px;
}

.rewards__item-2 {
  transform: scale(1.2);
}

.rewards__item-title-2 {
  padding-bottom: 20px !important
}

.rewards__item-title {
  font-family: Bebas;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-bg-color);
}

.rewards__item-title-3 {
  padding-top: 30px;
  padding-bottom: 28px;
}

.rewards__item-title span {
  position: relative;
}

.rewards__item-title span::before {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  top: -0.1em;
  left: 0.2em;
  width: 5em;
  height: 1em;
  z-index: -1;
  transform: scaleX(1.4);
}

.rewards__prizes-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 30px;
}

.rewards__prizes-item {
  font-family: Bebas;
  font-size: clamp(2.4rem, 3vw, 2.2rem);
  position: relative;
}

.rewards__prizes-item-2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
}

.rewards__prizes-item span {
  font-size: clamp(2.4rem, 3vw, 3.7rem);
}

.rewards__prizes-item::before {
  content: '';
  position: absolute;
  width: 1em;
  height: 1em;
  left: -0.3em;
  top: 0.3em;
  background-image: url(../media/shared/icons/bullet.svg);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100%;
}

.rewards__prizes-item-2::before {
  top: 0em;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-size: inherit;
}

.best-box__title-2 {
  margin-top: 60px;
  font-family: Bebas;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.best-box__title-2 {
  left: 12%;
  position: absolute;
  text-wrap: nowrap;
  color: var(--main-bg-color);
  z-index: 2;
}

.best-box__title-2::after {
  content: "";
  position: absolute;
  background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
  top: -0.2em;
  left: 4em;
  width: 11em;
  height: 1.3em;
  z-index: -1;
  transform: scaleX(3.4);
}



@media(max-width: 1030px) {
  .healed-slider__link-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 760px) {

  .best-box {
    margin-bottom: 20px;
  }

  .mobile-slider {
  margin-bottom: 40px;
}

  .hero {
   /* border-radius: 0px;*/
  }

  .mobile-slider.mobile-slider-2 {
    display: block;
  }

  .best-box__title-2 {
    margin-top: 0px;
    left: 13%;
  }

  .best-box__title-2::after {
    content: "";
    position: absolute;
    background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
    top: -0em;
    left: 4em;
    width: 11em;
    height: 1.3em;
    z-index: -1;
    transform: scaleX(3.4);
  }

  .rewards__list {
    display: none;
  }

  @media (max-width: 760px) {

    .best-box__title span::after {
      top: -0.2em;
      left: 1.85em;
      width: 5em;
      transform: scaleX(2.9);
    }

    .best-box__title-2 {
      left: 10%;
    }

    .rewards__inner {
      padding: 90px 0 60px 0;
    }
  }

  .mobile-slider__slide img {
    height: 360px;
  }

  .healed-slider__link-wrapper {
    gap: 12px;
  }

  .judges__card--extra {
    display: block;
  }



  .healed__title {
    width: 100%;
    margin-bottom: 10px;
  }

  .healed__description {
    margin-bottom: -30px;
  }

  .best-box__title {
    margin-bottom: -10px;
  }

  .best-box__title span::before {
    width: 7em;
  }

  .best-box__title span::after {
    content: "";
    position: absolute;
    background: url(../media/shared/decoration/text-bg.svg) no-repeat center / contain;
    top: -0.2em;
    left: 1.85em;
    width: 5em;
    height: 1.3em;
    z-index: -1;
    transform: scaleX(2.9);
  }

  .rewards__title {
    margin-bottom: 40px;
  }

  .nomination__description {
    margin-bottom: 10px;
  }

  .best-box__info {
    padding-bottom: 20px;
  }

  .best-box__info::before {
    width: 5.9em;
  }

  .healed-slider__track {
    position: relative;
    /* width: 800px; */
    height: 700px;
    margin: 0 auto;
    top: 0;
    left: 0;
  }

  .judges__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .rewards__item-2 {
    transform: scale(1);
  }


  .healed__header {
    flex-direction: column;
  }

  .accordion__list {
    flex-direction: column;
    height: auto;
  }

  .accordion__item {
    max-width: none;
    background-size: 100%;
    padding: 15px;
    padding-bottom: 10px;
    height: auto;
  }

  .accordion__item-title {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .item--active .accordion__item-title {
    margin-bottom: 10px;
  }

  .accordion__item::before {
    background-size: 50%;
  }

  /* .nomination__inner {
    flex-direction: column;
  } */

  /* .nomination__img img {
    height: 40%;
  } */

  .nomination__inner::after {
    background-position: top right;
    z-index: -1;
  }

  .rewards__list {
    flex-wrap: wrap;
  }

  .rewards__item {
    max-width: none;
  }
}

@media (max-width: 440px) {
  .best-box__body {
    padding: 6rem clamp(2rem, 4vw, 4rem);
    background-image: url('../media/pages/contest/best-box-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
  }

  .best-box__wrapper {
    padding: 0;
    background-image: none;
  }

  .best-box__title span {
    text-wrap: auto;
  }

  .best-box__buttons {
    flex-direction: column;
  }

  .best-box__wrapper::after {
    display: none;
  }

  .nomination__inner {
    flex-direction: column;
  }

  .healed-slider__controls {
    display: none;
  }

  

@media (max-width: 404px) {}

@media (max-width: 380px) {
  .healed-slider__controls {
    right: 50%;
    transform: translateX(50%);
  }

  .nomination__inner::after {
    right: -15%;
  }
}
/**/
}
/**/
.judges__card {
  display: flex;
}

@media (max-width: 767px) {
  .judges__card:nth-child(n+5) {
    display: none;
  }
}

@media (min-width: 768px) {
  .judges__card--extra {
    display: none;
  }
}

.mobile-slider {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.mobile-slider:active {
  cursor: grabbing;
}

.mobile-slider__track {
  display: flex;
  will-change: transform;
}

.mobile-slider__track>* {
  flex: 0 0 100%;
}

.rules-popup {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 9999;

  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition: all 0.35s ease;
}

.rules-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rules-popup__box {
  width: 100%;
  max-width: 420px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);

  border-radius: 14px;
  padding: 16px 18px;

  color: #fff;
  font-size: 14px;
  line-height: 1.4;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.rules-popup__text {
  margin: 0 0 10px;
}

.rules-popup__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rules-popup__link {
  font-size: 13px;
  text-decoration: underline;
  color: #fff;
  opacity: 0.75;
}

.rules-popup__close {
  margin-left: auto;
  border: none;
  background: #fff;
  color: #000;

  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;

  font-size: 13px;
  font-weight: 500;
}

.healed .mobile-slider__slide:active, .healed:active .mobile-slider__slide {
  transition: transform 0.5s ease;
  transform: translateX(20px);
    /*animation: moveBackAndForth 20s ease-in-out 1 alternate;*/

}

@media (max-width: 419px) {
  .mobile-slider__track.reached .mobile-slider__slide {
        animation: moveBackAndForth 2s ease-in-out 1;
  }
}
@keyframes moveBackAndForth {
  0% {
    transform: translateX(0); 
  }
  50% {
    transform: translateX(-20px); 
  }
  100% {
    transform: translateX(0);
  }
}
