.competition h2, .competition h3 {
  margin: 40px 0 20px;
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
}

.competition p {
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
}

.competition p:not(:last-child) {
  margin-bottom: 20px;
}

.competition ul {
  margin-top: 10px;
  font-weight: 300;
  font-size: 16px;
  line-height: 40px;
}

.competition ul > li {
  position: relative;
  padding-left: 24px;
  line-height: 28px;
}

.competition ul > li:not(:last-child) {
  margin-bottom: 10px;
}

.competition ul > li::before {
  content: '';
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: black;
  margin-right: 16px;
  left: 0;
  top: 10px;
}

.competition ol {
  margin-top: 10px;
  font-weight: 300;
  font-size: 16px;
  line-height: 40px;
  counter-reset: liCounter;
}

.competition ol ul {
  margin-top: 10px;
}

.competition ol > li {
  position: relative;
  padding-left: 39px;
  line-height: 28px;
}

.competition ol > li:not(:last-child) {
  margin-bottom: 10px;
}

.competition ol > li::before {
  counter-increment: liCounter;
  content: counter(liCounter) ".";
  display: block;
  position: absolute;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  min-width: 23px;
  text-align: end;
  margin-right: 16px;
  color: black;
  left: 0;
}

.competition ol > li a {
  display: inline;
  color: black;
}

.competition ol > li a:hover {
  color: #697B87;
}

.competition ol > li a:active {
  color: #697B87;
}

.main-preview {
  display: flex;
  align-items: flex-end;
  height: 250px;
  background-image: url(../../img/N/pages/competitionsList/preview.jpg);
  width: 100%;
}

.main-preview .main-preview__title {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  color: white;
  width: 85%;
  max-width: 1240px;
  margin: 0 auto 56px;
}

.main-preview .main-preview__title::before {
  content: url(../../img/N/common/main-arrow-btn-white.svg);
  display: inline-block;
  transform: rotate(180deg);
  margin-right: 20px;
}

.competition {
  width: 85%;
  max-width: 1240px;
  margin: 60px auto 120px;
}

.competition .competition__title {
  font-family: "Inter";
  font-weight: 600;
  font-size: 36px;
  line-height: 120.4%;
  margin-bottom: 40px;
}

.competition .competition__block-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.competition .competition__different-info {
  max-width: 793px;
  width: 70%;
  margin-right: 40px;
}

.competition .competition__different-info .info__image {
  width: 100%;
}

.competition__main-info {
  max-width: 347px;
  width: 30%;
  border: 1px solid #CDDDE3;
  font-weight: 600;
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 83px;
}

.competition__main-info .main-info__title {
  border-bottom: 1px solid #CDDDE3;
  padding: 19px 30px 15px;
  color: #697B87;
}

.competition__main-info .main-info__details {
  margin: 22px 30px 0;
  border-bottom: 1px solid #CDDDE3;
}

.competition__main-info .main-info__prize {
  margin: 20.35px 30px;
}

.competition__main-info .main-info__prize .prize__wripper {
  display: flex;
  justify-content: space-between;
}

.competition__main-info .main-info__prize .prize__title {
  opacity: 0.7;
  margin-bottom: 11px;
}

.competition__main-info .main-info__prize .prize__value {
  font-weight: normal;
  font-size: 11px;
  line-height: 16px;
  text-transform: none;
}

.competition__main-info .main-info__prize .prize__icon {
  background-image: url(../../img/N/pages/activeCompetitionPage/prize-icon.svg);
  background-repeat: no-repeat;
  background-position: right top;
  min-width: 61.13px;
  height: 64.04px;
  background-size: contain;
}

.competition__main-info .main-info__button-participate {
  display: block;
  margin: 21px auto 0;
  font-weight: 600;
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #CDDDE3;
  padding: 17px 46px;
  width: max-content;
  text-align: center;
  cursor: pointer;
}

.competition__main-info .main-info__button-participate:hover {
  color: white;
  background: #697B87;
}

.detail {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail .detail__title {
  opacity: 0.7;
}

.detail .detail__value {
  font-weight: normal;
  font-size: 14px;
  line-height: 27px;
  letter-spacing: normal;
  text-transform: none;
}

@media screen and (max-width: 1100px) {
  .main-preview__title {
    margin-bottom: 40px;
  }
  .competition {
    margin: 40px auto 80px;
  }
  .competition .competition__title {
    font-weight: 500;
    font-size: 28px;
    line-height: 48px;
  }
  .competition .competition__block-info {
    flex-direction: column;
  }
  .competition .competition__block-info .competition__main-info {
    order: -1;
    width: 100%;
    max-width: 100%;
    margin-bottom: 60px;
    margin-top: 0;
  }
  .competition .competition__block-info .competition__main-info .main-info__prize .prize__value {
    max-width: 496px;
  }
  .competition .competition__block-info .competition__different-info {
    width: 100%;
    margin-right: 0;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .main-preview .main-preview__title {
    max-width: 648px;
  }
  .competition {
    max-width: 648px;
  }
}

@media screen and (max-width: 499px) {
  .main-preview .main-preview__title {
    font-family: "Open Sans";
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
  }
  .competition .competition__block-info .competition__main-info {
    margin-bottom: 40px;
  }
  .competition .competition__block-info .competition__main-info .main-info__title {
    padding-left: 20px;
    padding-right: 20px;
  }
  .competition .competition__block-info .competition__main-info .main-info__details {
    margin-left: 20px;
    margin-right: 20px;
  }
  .competition .competition__block-info .competition__main-info .main-info__prize {
    background-size: 50px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .competition .competition__block-info .competition__main-info .main-info__prize .prize__title {
    font-weight: normal;
    font-size: 8px;
    line-height: 24px;
  }
  .competition .competition__block-info .competition__main-info .main-info__prize .prize__value {
    font-size: 10px;
    line-height: 14px;
  }
  .competition .competition__block-info .competition__main-info .main-info__button-participate {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .competition .competition__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 20px;
  }
  .detail .detail__title {
    font-weight: normal;
    font-size: 8px;
    line-height: 24px;
  }
  .detail .detail__value {
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
  }
  .competition h2, .competition h3 {
    margin: 20px 0 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
  }
  .competition p,
  .competition ul,
  .competition ol {
    font-size: 14px;
    line-height: 24px;
  }
  .competition ul {
    margin-top: 10px;
  }
  .competition ul > li::before {
    top: 10px;
  }
  .competition ol > li:not(:last-child) {
    margin-bottom: 20px;
  }
  .competition ol > li::before {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
  }
}

@media screen and (max-width: 320px) {
  .main-preview {
    background-image: url(../../img/N/pages/competitionsList/preview-mobile.jpg);
  }
  .main-preview .main-preview__title {
    max-width: 260px;
  }
  .competition {
    max-width: 260px;
  }
  .competition ul {
    max-width: 229px;
  }
}

.competition {
  margin-bottom: 60px;
}

.competition .competition__block-info {

}

.competition__main-info .button-results-competition {
  margin-top: 45px;
  background-color: white;
  border: 1px solid #CDDDE3;
}

.competition__main-info .button-results-competition:hover {
  background-color: #CDDDE3;
  color: black;
}

.competition__block-participants {
  margin-top: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.participant {
  max-width: 386px;
  width: calc(100% / 3 - 80px / 3);
  margin-bottom: 70px;
}

.participant:not(:nth-child(3n)) {
  margin-right: 40px;
}

.participant .participant__image {
  width: 100%;
}

.participant .participant__autor {
  margin: 20px 0 4px;
  font-weight: 600;
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.participant .participant__title {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
}

@media screen and (max-width: 1100px) {
  .competition {
    margin-bottom: 20px;
  }
  .competition__block-participants {
    margin-top: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .participant {
    max-width: 100%;
    width: calc(100% / 2 - 20px);
    margin-bottom: 60px;
  }
  .participant:not(:nth-child(3n)) {
    margin-right: 0px;
  }
  .participant:nth-child(2n + 1) {
    margin-right: 40px;
  }
  .participant .participant__autor {
    margin: 5px 0 4px;
  }
  .participant .participant__title {
    font-size: 16px;
    line-height: 19px;
  }
}

@media screen and (max-width: 499px) {
  .competition .competition__title {
    margin-bottom: 20px;
  }
  .competition .competition__block-info .competition__main-info {
    margin-bottom: 40px;
  }
  .competition__block-participants {
    margin-top: 40px;
  }
  .participant {
    width: 100%;
    margin-bottom: 70px;
    margin-bottom: 15px;
  }
  .participant:nth-child(2n + 1) {
    margin-right: 0;
  }
  .participant .participant__autor {
    font-weight: normal;
    font-size: 8px;
  }
  .participant .participant__title {
    font-size: 16px;
    line-height: 19px;
  }
}

