.premium-section {
  margin-top: 30px;
}

.premium-slider-wrapper {
  position: relative;
}
@media (min-width: 769px) {
  .premium-row.nebo--trl {
      --nb-w: 0;
  }
  .premium-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .premium-card {
    display: contents;
  }

  /* убираем влияние swiper */
  .premium-row .swiper-wrapper {
    display: contents;
  }

  .premium-card-image {
    border-radius: 20px;
    overflow: hidden;
  }

  .premium-card-content {
    overflow: hidden;
  }

  .premium-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
  }

  .premium-card-content {
    display: flex;
    margin-top: 20px;
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    color: #000;
  }

  .premium-card-content p {
    margin-bottom: 10px;
  }

  /* шахматный порядок */
  .premium-card:nth-child(1) .premium-card-content { order: 1; }
  .premium-card:nth-child(1) .premium-card-image   { order: 2; }

  .premium-card:nth-child(2) .premium-card-content { order: 3; }
  .premium-card:nth-child(2) .premium-card-image   { order: 4; }

  .premium-card:nth-child(3) .premium-card-image   { order: 5; }
  .premium-card:nth-child(3) .premium-card-content { order: 6; }

  .premium-card:nth-child(4) .premium-card-image   { order: 7; }
  .premium-card:nth-child(4) .premium-card-content { order: 8; }

  .premium-controls {
    display: none;
  }
}
@media (min-width: 1201px) {
    .premium-row {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .premium-row .swiper-wrapper {
        display: flex !important;
    }

    .premium-row .swiper-slide {
        flex-shrink: 0 !important;
        width: 100% !important;
    }
  .premium-card-text {
    font-size: 12px;
  }
  .premium-slider-wrapper {
    position: relative;
  }

  .premium-row {
    overflow: hidden;
  }

  .premium-row .swiper-wrapper {
    display: flex;
  }

  .premium-card {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .premium-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
  }

  .premium-card-content {
    padding: 16px 0 0;
    font-size: 14px;
    line-height: 20px;
  }

  .premium-card-content p {
    margin-bottom: 8px;
    font-family: 'Manrope';
    font-style: normal;
    line-height: 16px;
  }

  .premium-controls {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
  }

  .premium-next,
  .premium-prev {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    cursor: pointer;

    background-image: url("/local/templates/ozera/assets/images/new-main-page/arrow-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .premium-next {
    transform: rotate(180deg);
  }

  .premium-prev {
    transform: rotate(0deg);
  }

  .premium-prev.swiper-button-disabled {
    background-image: url("/local/templates/ozera/assets/images/new-main-page/arrow-grey.svg");
  }

  .premium-next.swiper-button-disabled {
    background-image: url("/local/templates/ozera/assets/images/new-main-page/arrow-grey.svg");
    transform: rotate(180deg);
  }

  .premium-fraction {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 35px;
  }

  .premium-fraction .current {
    font-size: 28px;
  }
}