.page-pub .first {
  padding-top: 253px;
  padding-bottom: 43px;
  background: url("../img/bg-pub.webp") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}

.page-pub .first .section__title {
  margin-bottom: 30px;
}

.page-pub .first .section__text {
  max-width: 630px;
  margin-bottom: 30px;
}

.page-pub .first__button {
  margin-bottom: 120px;
}

.page-pub .first .btn {
  width: 252px;
}

.page-pub .about {
  padding-bottom: 120px;
}

.page-pub .about .item {
  width: 265px;
}

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

.card {
  width: 265px;
  padding: 37px;
  padding-right: 20px;
  margin-right: 30px;
  background-color: #fff;
  background-image: linear-gradient(to bottom, #ff4540, #ff8989);
  color: #fff;
  border-radius: 32px;
}

.card:last-child {
  margin-right: 0;
}

.card__icon {
  display: flex;
  align-items: center;
  height: 45px;
  margin-bottom: 28px;
}

.card__title {
  margin-bottom: 15px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.platform {
  padding-top: 105px;
  padding-bottom: 75px;
}

.platform .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.platform .item {
  width: 33.3%;
  margin-bottom: 53px;
  text-align: center;
}

.platform .item .icon {
  display: inline-flex;
  align-items: center;
  height: 67px;
  margin-bottom: 43px;
}

.platform .item .title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: #6f7070;
}

.earnings {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: #f14d42;
}

.earnings .container {
  z-index: 1;
}

.earnings__content {
  width: 75%;
  padding-top: 110px;
  padding-bottom: 108px;
  padding-right: 50px;
  background-color: #f14d42;
  color: #fff;
}

.earnings__content .btn {
  width: 320px;
  height: 70px;
  color: #fff;
  border-color: #fff;
  border-radius: 35px;
}

.earnings__content .btn:hover {
  background-color: #fff;
  color: #f14d42;
}

.earnings__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34%;
  background: url("../img/pic16.webp") no-repeat center;
  background-size: cover;
}

.earnings__table {
  margin-bottom: 50px;
}

.table {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.table .th {
  font-weight: normal;
  opacity: 0.5;
}

.table .tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.table .tr:last-child {
  border-bottom: none;
}

.table .th,
.table .td {
  padding: 20px 0;
}

.table .td:first-child {
  font-weight: bold;
}

.table td:nth-child(n + 3) {
  text-align: right;
}

.table .td:last-child {
  width: 100px;
}

.page-pub .brands {
  padding-top: 70px;
  padding-bottom: 84px;
}

.page-pub .brands .section__text {
  max-width: 1032px;
}

.page-pub .brands__item:last-child {
  flex-grow: 1;
}

.swiper-partners .brand-pub,
.page-pub .brands__item:last-child .brand {
  width: 100%;
  background-color: #f14d42;
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-pub .global {
  padding-top: 90px;
}

.swiper-partners {
  display: none;
  padding: 30px;
  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: 30px;
}

.swiper-partners .swiper-wrapper {
  margin-bottom: 28px;
}

@media (max-width: 1300px) {
  .earnings__content {
    width: calc(100% - 250px);
  }
}

@media (max-width: 1023px) {
  .page-pub .first {
    padding-top: 240px;
  }

  .page-pub .about .item {
    width: 50%;
  }

  .cards {
    margin-bottom: 0;
    flex-wrap: wrap;
  }

  .card {
    width: calc(50% - 25px);
    margin-bottom: 50px;
    margin-right: 50px;
  }

  .card:nth-child(2n) {
    margin-right: 0;
  }

  .earnings__content {
    width: auto;
    margin: 0 -37px;
    padding-left: 37px;
    padding-right: 37px;
  }

  .earnings__image {
    display: none;
  }

  .swiper-partners {
    display: block;
  }
}

@media (max-width: 767px) {
  .cards {
    margin-bottom: 50px;
  }

  .card {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
  }

  .card:last-child {
    margin-bottom: 0;
  }

  .platform .item {
    width: 50%;
  }
}

@media (max-width: 559px) {
  .earnings__content,
  .earnings__table {
    overflow-x: auto;
  }

  .table {
    min-width: 460px;
    font-size: 13px;
    overflow-x: auto;
  }
}
