.home {
    position: relative;
}

.home-winner {
    max-width: 70px;
    position: absolute;
    top: 165px;
    left: 10px;
    z-index: 2;
}

@media screen and (max-width: 385px) {
    .home-winner {
        top: 105px;
    }
}

@media screen and (min-width: 421px) {
   .home-winner {
       max-width: 90px;
    } 
}

@media screen and (min-width: 481px) {
   .home-winner {
       left: var(--wrap-padding);
    } 
}

@media screen and (min-width: 641px) {
   .home-winner {
        max-width: 120px;
    } 
}

@media screen and (min-width: 721px) {
   .home-winner {
        top: 195px;
    } 
}

@media screen and (min-width: 981px) {
   .home-winner {
       max-width: 180px;
        top: 165px;
    } 
}

@media screen and (min-width: 1441px) {
   .home-winner {
        top: 180px;
    } 
}

.swiper .wrap {
  justify-content: flex-end;
  width: 100%;
}

.home-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 3;
}

.swiper-slide:first-of-type .home-content {
  align-items: flex-end;
}

.swiper-slide:not(:first-of-type) .home-content {
  flex-basis: 100%;
  align-items: center;
  justify-content: center;
}

.home-content > .wrap {
  position: relative;
  z-index: 2;
}

.home-h1,
.home-descr,
.home-est {
  text-align: right;
}

.home-h1 {
  max-width: 820px;
  padding: 180px 0 0;
}

.home-h1 h1 {
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .095em;
  margin: 0 0 10px;
}

.home-descr {
  font-size: 30px;
  font-weight: 500;
  text-transform: lowercase;
  max-width: 510px;
  margin: 0 0 50px;
}

.home-est {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #288299;
  font-size: 35px;
  font-weight: 600;
}

div[class^="home-banner"] {
  max-height: calc(100% - 40px);
  position: absolute;
}

.home-banner1 {
  height: 1078px;
  top: 0;
  left: 0;
  z-index: 2;
  aspect-ratio: 720 / 1023;
}

.home-banner2 {
  max-width: 66.58%;
  top: 60%;
  right: 0;
  z-index: 1;
  aspect-ratio: 512 / 330;
}

div[class^="home-banner"] svg {
  width: 100%;
  height: 100%;
}

.second-slide .wrap {
  flex-direction: column;
  align-items: flex-start;
}

.second-slide__title,
.second-slide__subtitle {
  width: 100%;
  font-family: var(--hfont);
  font-weight: 600;
}

.second-slide__title {
  font-size: 58px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .015em;
  margin: 0 0 55px;
}

.second-slide__title span,
.second-slide__subtitle span,
.color-bg__title span {
  color: #4973A1;
}

.second-slide__competition {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 140px;
}

.second-slide__competition-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
  max-width: 440px;
  font-size: 25px;
}

.second-slide__competition-item svg {
  flex-shrink: 0;
}

.second-slide__competition-item strong,
.second-slide__competition-item a {
  display: block;
}

.second-slide__competition-item a {
  color: #4973A1;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0 0;
}

.second-slide__subtitle {
  font-size: 44px;
  letter-spacing: .02em;
  margin: 0 0 30px;
}

.second-slide .color-bg {
  width: 100%;
  padding: 68px 0;
  position: relative;
}

.second-slide .color-bg:before {
  content: '';
  display: block;
  width: 100vw;
  height: 100%;
  background: #F3F7FC;
  position: absolute;
  top: 0;
  left: calc((100vw - 100%) / -2);
  z-index: -1;
}

.second-slide .color-bg__title {
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 570px;
  margin: 0 0 17px;
}

.second-slide .color-bg p {
  font-size: 23px;
  font-weight: 500;
  max-width: 740px;
  margin: 0 0 25px;
}

.second-slide .color-bg__img {
  position: absolute;
  top: -123px;
  right: 70px;
}

.home-prizes {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin: -50px 0 0;
}

.home-prizes__item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.home-prizes__item:first-of-type {
  align-items: center;
}

.home-prizes__item:last-of-type {
  align-items: flex-end;
}

.home-prizes__item svg {
  flex-shrink: 0;
}

.home-prizes__item span {
  font-size: 23px;
  font-weight: 500;
  max-width: 500px;
}

.home-prizes__item:first-of-type span {
  max-width: 400px;
}

.home-prizes__item:last-of-type span {
  max-width: 500px;
}

.home-prizes__item span span {
  display: block;
  font-size: 19px;
  color: #7C7C7C;
}

.home-news {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.home-news__header {
  flex-basis: 100%;
  /* text-align: left; */
}

.home-news__title {
  font-family: var(--hfont);
  font-size: 64px;
  font-weight: 600;
  text-transform: uppercase;
}

.home-news__subtitle {
  color: #565656;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.home-news__subtitle span {
  max-width: 320px;
}

.home-news__subtitle a {
  color: #838383;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 25px;
}

.news-item {
  flex-basis: calc(100% / 3 - 80px);
  flex-grow: 1;
}

.news-item__img {
  margin: 0 0 25px;
  aspect-ratio: 448 / 278;
}

.news-item__img a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.news-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__img .flickity-viewport {
  height: 100% !important;
}

.news-item__content-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 15px;
}

.news-item__content-pub {
  color: #288299;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 45px;
}

.news-item__content-intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 45px;
}

.news-item__content-button .button {
  max-width: 294px;
  height: 60px;
  font-size: 18px;
  border-radius: 6px;
}

.news-item__content-button .button:after {
  background: #A7BFD9;
  border-radius: 6px;
  transform: translate(-7px, 7px);
}

.news-item:nth-last-of-type(3) .news-item__content-button .button:after {
  background: #8FC2CF;
}

.news-item:last-of-type .news-item__content-button .button:after {
  background: #AECBE9;
}

.last-slide .wrap {
  flex-direction: column;
  align-items: center;
}

.last-slide__title {
  align-self: center;
  font-family: var(--hfont);
  font-size: 44px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  max-width: 745px;
  margin: 0 0 65px;
}

.last-slide__title span {
  color: #4973A1;
}

.last-slide picture {
  margin: 0 0 85px;
}

.last-slide .button {
  gap: 15px;
  width: 100%;
  max-width: 400px;
  height: 78px;
  border-radius: 23px;
  text-transform: lowercase;
}

.last-slide .button:after {
  background: #AECBE9;
  border-radius: 23px;
  transform: translate(-9px, 9px);
}

.third-slide .home-content:before,
.third-slide .home-content:after,
.last-slide .home-content:before,
.last-slide .home-content:after {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 1;
}

.third-slide .home-content:before {
  content: url("data:image/svg+xml,%3Csvg width='100%' height='100%' viewBox='0 0 753 651' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='514.352' cy='412.476' r='238.211' fill='%23FDFEFE'/%3E%3Ccircle cx='125.253' cy='126.119' r='125.205' fill='%23FDFEFE'/%3E%3C/svg%3E%0A");
  max-width: 753px;
  max-height: 651px;
  top: 600px;
  left: -84px;
  aspect-ratio: 753 / 651;
}

.third-slide .home-content:after {
  content: url("data:image/svg+xml,%3Csvg width='100%' height='100%' viewBox='0 0 309 406' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='202.386' cy='203.129' r='202.254' fill='%23FEF6F6'/%3E%3C/svg%3E%0A");
  top: 90px;
  right: 0;
  max-width: 309px;
  max-height: 406px;
  aspect-ratio: 309 / 406;
}

.last-slide .home-content:before {
  content: url("data:image/svg+xml,%3Csvg width='100%' height='100%' viewBox='0 0 681 884' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='246.875' y='-3.95312' width='657.33' height='678.491' rx='11.5574' transform='rotate(48.1653 246.875 -3.95312)' fill='%23FBFDFF'/%3E%3C/svg%3E");
  left: 0;
  bottom: 0;
  max-width: 681px;
  max-height: 884px;
  aspect-ratio: 681 / 884;
}

.last-slide .home-content:after {
  content: url("data:image/svg+xml,%3Csvg width='100%' height='100%' viewBox='0 0 574 792' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='515.905' y='-4.75' width='651.323' height='698.52' rx='11.5574' transform='rotate(48.1653 515.905 -4.75)' fill='%23F9FCFD'/%3E%3C/svg%3E%0A");
  right: 0;
  bottom: -154px;
  max-width: 574px;
  max-height: 792px;
  aspect-ratio: 574 / 792;
}

@media screen and (max-width: 1440px) {
  :root {
    --wrap-width: 1170px;
  }
  .home-h1 {
    padding: 165px 0 0;
  }
  .home-h1 h1 {
    font-size: 50px;
  }
  .home-descr {
    font-size: 25px;
  }
  .home-est {
    gap: 20px;
    font-size: 27px;
  }
  .home-est svg {
    width: 32px;
    height: 32px;
  }
  .second-slide__title {
    font-size: 45px;
    margin: 0 0 45px;
  }
  .second-slide__competition {
    max-width: 820px;
    margin: 0 auto 100px;
  }
  .second-slide__competition-item {
    max-width: 321px;
    gap: 10px;
    font-size: 19px;
  }
  .second-slide__competition-item > svg {
    width: 25px;
    height: 24px;
  }
  .second-slide__competition-item a {
    font-size: 17px;
    gap: 12px;
  }
  .second-slide__competition-item a svg {
    width: 7px;
    height: 12px;
  }
  .second-slide__subtitle {
    font-size: 34px;
    margin: 0 0 23px;
  }
  .second-slide .color-bg {
    padding: 50px 0;
  }
  .second-slide .color-bg__title {
    font-size: 24px;
    max-width: 470px;
    margin: 0 0 17px;
  }
  .second-slide .color-bg p {
    font-size: 18px;
    max-width: 580px;
    margin: 0 0 15px;
  }
  .second-slide .color-bg__img {
    width: 247px;
    height: 306px;
    top: -96px;
    right: 0;
  }
  .second-slide .color-bg__img svg {
    width: 100%;
    height: 100%;
  }
  .home-prizes {
    margin: -35px 0 0;
  }
  .home-prizes__item:first-of-type svg {
    width: 91px;
    height: 98px;
  }
  .home-prizes__item:last-of-type svg {
    width: 75px;
    height: 133px;
  }
  .home-prizes__item span {
    font-size: 18px;
  }
  .home-prizes__item:last-of-type span {
    max-width: 393px;
  }
  .home-prizes__item span span {
    font-size: 15px;
  }
  .home-news {
    gap: 60px;
  }
  .home-news__title {
    font-size: 50px;
  }
  .home-news__subtitle {
    font-size: 14px;
  }
  .home-news__subtitle span {
    max-width: 300px;
  }
  .home-news__subtitle a {
    font-size: 13px;
    gap: 12px;
  }
  .news-item__img {
    margin: 0 0 20px;
  }
  .news-item__content-title {
    font-size: 14px;
    margin: 0 0 10px;
  }
  .news-item__content-pub {
    font-size: 12px;
    margin: 0 0 34px;
  }
  .news-item__content-intro {
    font-size: 14px;
    margin: 0 0 35px;
  }
  .news-item__content-button .button {
    max-width: 229px;
    height: 48px;
    font-size: 14.5px;
  }
  .news-item__content-button .button:after {
    transform: translate(-6px, 6px);
  }
  .third-slide .home-content:after {
    max-width: 236px;
    max-height: 315px;
    top: 0;
  }
}

@media screen and (max-width: 1200px) {
  .swiper-slide {
    align-items: flex-start !important;
  }
  .swiper-slide:first-of-type {
    min-height: 1070px;
  }
  .home-h1 h1 {
    font-size: 40px;
  }
  .home-h1 {
    padding: 154px 0 0;
  }
  .home-descr {
    margin: 0 0 30px;
  }
  .home-banner1 {
    width: 720px;
    max-width: 93.63%;
    height: auto;
    max-height: none !important;
  }
  .banner-animation {
    display: none;
  }
  .second-slide__title {
    font-size: 40px;
  }
  .second-slide__competition {
    max-width: 552px;
  }
  .second-slide__competition-item {
    max-width: 209px;
  }
  .last-slide:before {
    max-width: 431px;
    height: 487px;
  }
}

@media screen and (max-width: 1200px) and (min-width: 981px) {
  .swiper-slide:not(:first-of-type) .home-content {
    padding: 0 0 100px;
  }
  .swiper-slide.last-slide .home-content {
    padding: 0;
  }
}

@media screen and (max-width: 1080px) {
  .second-slide .color-bg__img {
    width: 177px;
    height: 219px;
    top: -40px;
  }
}

@media screen and (max-width: 980px) {
  :root {
    --wrap-width: 585px;
  }
  .swiper .wrap {
    justify-content: center;
  }
  .home-h1 {
    padding: 144px 0 0;
  }
  .home-banner2 {
    max-height: none !important;
    top: 67.5%;
    transform: translateX(23.24%);
  }
  .second-slide__competition {
    margin: 0 auto 70px;
  }
  .second-slide__subtitle {
    text-align: center;
    margin: 0 0 56px;
  }
  .second-slide .color-bg {
    padding: 37px 0;
    margin: 0 0 42px;
  }
  .second-slide .color-bg__title {
    font-size: 22px;
    margin: 0 0 15px;
  }
  .second-slide .color-bg p {
    max-width: 450px;
  }
  .home-prizes {
    gap: 20px;
    margin: 0;
  }
  .swiper-slide:nth-last-of-type(4) .home-content {
    margin: 0 0 119px;
  }
  .swiper-slide:nth-last-of-type(3) .home-content {
    padding: 0 0 70px;
    margin: 0 0 158px;
  }
  .home-news {
    flex-direction: column;
    align-items: center;
    gap: 37px;
  }
  .home-news__header {
    text-align: center;
  }
  .home-news__title {
    font-size: 40px;
    margin: 0 0 18px;
  }
  .home-news__subtitle {
    font-size: 18px;
    justify-content: center;
  }
  .home-news__subtitle span {
    max-width: 210px;
  }
  .home-news__subtitle a {
    font-size: 18px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 70px);
    z-index: 1;
  }
  .news-item {
    display: flex;
    align-items: stretch;
    max-width: 585px;
    min-height: 292px;
    border: 1px solid #CBCBCB;
  }
  .news-item__img,
  .news-item__content {
    flex-basis: 50%;
  }
  .news-item__img {
    margin: 0;
    aspect-ratio: 1;
  }
  .news-item__content {
    display: flex;
    flex-direction: column;
    padding: 30px 22px 22px;
  }
  .news-item__content-title {
    font-size: 17px;
  }
  .news-item__content-intro {
    font-size: 16px;
  }
  .news-item__content-pub {
    order: 1;
    font-size: 13px;
    text-align: right;
    margin: auto 0 0;
  }
  .news-item__content-button .button {
    display: none;
  }
  .third-slide .home-content:after {
    top: 40px;
  }
  .last-slide__title {
    font-size: 40px;
  }
}

@media screen and (max-width: 720px) {
  .swiper-slide:first-of-type {
    min-height: unset;
  }
  .swiper-slide:first-of-type .home-content {
    align-items: center;
  }
  .home-h1,
  .home-descr {
    text-align: center;
  }
  .home-h1 {
    padding: 113px 0 0;
  }
  .home-h1 h1,
  .second-slide__title,
  .last-slide__title {
    font-size: 24px;
  }
  .home-descr {
    font-size: 13px;
    max-width: 255px;
    margin: 0 0 25px;
  }
  .home-est,
  .banner-animation__sm {
    display: none;
  }
  div[class^="home-banner"] {
    position: relative;
  }
  .home-banner1 {
    max-width: 315px;
  }
  .home-banner2 {
    max-width: 100%;
    top: auto;
    transform: translateY(-40px);
    aspect-ratio: 375 / 183;
  }
  .swiper-slide:nth-last-of-type(4) .home-content {
    margin: 0 0 100px;
  }
  .second-slide__competition {
    margin: 0 0 40px;
  }
  .second-slide__competition-item,
  .second-slide__competition-item a {
    font-size: 12px;
  }
  .second-slide__competition-item a {
    gap: 6px;
    margin: 0;
  }
  .second-slide__competition-item a svg {
    width: 5px;
    height: 9px;
  }
  .second-slide__subtitle {
    font-size: 22px;
    margin: 0 0 21px;
  }
  .second-slide .color-bg {
    padding: 23px 0 119px;
    margin: 0 0 60px;
  }
  .second-slide .color-bg__img {
    width: 128px;
    height: 158px;
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translate(50%, 53px);
  }
  .home-prizes {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .home-prizes__item {
    gap: 27px;
  }
  .home-prizes__item:first-of-type svg {
    width: 52px;
    height: 56px;
  }
  .home-prizes__item:last-of-type svg {
    width: 43px;
    height: 76px;
  }
  .home-prizes__item span,
  .home-prizes__item span span {
    font-size: 14px;
  }
  .swiper-slide:nth-last-of-type(3) .home-content {
    margin: 0 0 110px;
  }
  .home-news__title {
    font-size: 35px;
  }
  .home-news__subtitle {
    font-size: 14px;
  }
  .news-item {
    min-height: 157px;
  }
  .news-item__content {
    padding: 16px 10px;
  }
  .news-item__content-title,
  .news-item__content-intro {
    font-size: 12px;
  }
  .news-item__content-intro {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
  }
  .news-item__content-pub {
    display: none;
  }
  .last-slide__title {
    margin: 0 0 29px;
  }
  .last-slide picture {
    margin: 0 0 38px;
  }
  .last-slide .button {
    font-size: 14px;
    max-width: 274px;
    height: 49px;
    border-radius: 18px;
  }
  .last-slide .button:after {
    border-radius: 18px;
    transform: translate(-5px, 5px);
  }
}

@media screen and (min-width: 721px) {
  .banner-xs {
    display: none;
  }
}

@media screen and (min-width: 981px) {
  .home-banner2 {
    aspect-ratio: 563 / 441;
  }
  .news-item__content-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .last-slide .wrap {
    max-width: 100% !important;
    /* padding: 0; */
  }
}

@media screen and (min-width: 1201px) {
  .home-banner1 {
    height: 1100px;
    left: -105px;
    aspect-ratio: 1042 / 1104;
  }
  .banner-animation__sm {
    display: none;
  }
  .home-banner2 {
    max-width: 39.1%;
  }
}

@media screen and (min-width: 1441px) {
  .home-banner2 {
    aspect-ratio: 758 / 532;
  }
}

@media screen and (max-height: 899px) and (min-width: 1201px) {
  .swiper-slide:first-of-type .home-content {
    min-height: 900px;
  }
  .home-banner1 {
    max-height: calc(100% - 120px) !important;
  }
}