/* СМИ — паритет Elementor 4ad349c / 17259d9. Статус: закрыт (§23). */

.soz-press {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 100px 0 150px;
  color: #fff;
  box-sizing: border-box;
  background-color: #132140;
  background-image: linear-gradient(180deg, #2059f4 0%, #132140 56%);
}

.soz-press__inner {
  width: 100%;
  max-width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.soz-press__title {
  margin: 0 0 24px;
  text-align: center;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.soz-press__carousel {
  position: relative;
  width: 100%;
  padding-bottom: 52px;
  box-sizing: border-box;
  --soz-press-cols: 3;
  --soz-press-gap: 10px;
}

.soz-press__viewport {
  overflow: hidden;
  width: 100%;
}

.soz-press__track {
  display: flex;
  gap: var(--soz-press-gap, 10px);
  width: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}

.soz-press__card {
  flex: 0 0 calc((100% - (var(--soz-press-gap) * (var(--soz-press-cols) - 1))) / var(--soz-press-cols));
  max-width: calc((100% - (var(--soz-press-gap) * (var(--soz-press-cols) - 1))) / var(--soz-press-cols));
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  padding: 20px 0 0;
}

.soz-press__card-title {
  margin: 0;
  width: 90%;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.soz-press__card-source {
  margin: 0;
  width: 84%;
  color: #e95b2e;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.soz-press__card-link {
  display: inline-block;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 5px 10px;
  border: 2px solid #e95b2e;
  border-radius: 55px;
  background: transparent;
  color: #e95b2e;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.soz-press__card-link:hover,
.soz-press__card-link:focus {
  background: transparent;
  color: #e95b2e;
  border-color: #e95b2e;
  outline: none;
  text-decoration: none;
}

.soz-press__prev,
.soz-press__next {
  position: absolute;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.soz-press__prev {
  left: 0;
}

.soz-press__next {
  right: 0;
}

.soz-press__prev svg,
.soz-press__next svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Hello Elementor красит button:hover/focus в розовый фон — оставляем белые стрелки */
.soz-press__prev:hover,
.soz-press__prev:focus,
.soz-press__prev:active,
.soz-press__next:hover,
.soz-press__next:focus,
.soz-press__next:active {
  color: #fff;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  outline: none;
}

.soz-press__prev:hover svg,
.soz-press__prev:focus svg,
.soz-press__prev:active svg,
.soz-press__next:hover svg,
.soz-press__next:focus svg,
.soz-press__next:active svg,
.soz-press__prev:hover svg path,
.soz-press__prev:focus svg path,
.soz-press__prev:active svg path,
.soz-press__next:hover svg path,
.soz-press__next:focus svg path,
.soz-press__next:active svg path {
  fill: #fff;
  color: #fff;
}

.soz-press__prev:focus-visible,
.soz-press__next:focus-visible {
  outline: 2px solid #e95b2e;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .soz-press {
    padding: 50px 20px;
  }

  .soz-press__inner {
    padding: 0;
  }

  .soz-press__title {
    text-align: left;
  }

  .soz-press__carousel {
    --soz-press-cols: 2;
  }

  .soz-press__card-title {
    width: 92%;
  }
}

@media (max-width: 767px) {
  .soz-press__carousel {
    --soz-press-cols: 1;
  }

  .soz-press__card-title {
    font-size: 15px;
  }
}
