/* Mobile-first page /otzyvy/. Desktop composition is approved separately. */

body.reviews-page {
  background: #dfe2ea;
}

body.reviews-page .reviews-main {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  background: #fbfbff;
  color: #070914;
}

.reviews-flow {
  background:
    radial-gradient(circle at 96% 7%, rgba(108, 83, 255, .09), transparent 21rem),
    #fbfbff;
}

.reviews-hero {
  position: relative;
  min-height: 530px;
  padding: 112px 22px 40px;
  overflow: hidden;
}

.reviews-hero::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 84, 37, .11), rgba(111, 70, 255, .08) 45%, transparent 70%);
  pointer-events: none;
}

.reviews-kicker,
.reviews-section-index {
  margin: 0 0 17px;
  color: #6556ff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reviews-hero h1,
.reviews-section-heading h2,
.reviews-yandex-heading h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.045em;
}

.reviews-hero h1 {
  max-width: 330px;
  font-size: clamp(43px, 13vw, 54px);
  line-height: .98;
}

.reviews-hero h1 span {
  display: inline-block;
  padding-right: .09em;
  background: linear-gradient(93deg, #3157ff 0%, #8b3bdf 52%, #ff5425 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews-hero-copy > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 332px;
  margin: 24px 0 0;
  color: #343747;
  font-size: 16px;
  line-height: 1.58;
}

.reviews-hero-illustration {
  position: relative;
  z-index: 1;
  width: min(245px, 76vw);
  margin: 28px 0 0 auto;
}

.reviews-hero-illustration svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: #14172a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews-hero-illustration .reviews-hero-accent,
.reviews-hero-illustration .reviews-hero-play {
  stroke: #7655ff;
}

.reviews-hero-illustration .reviews-hero-play {
  fill: rgba(118, 85, 255, .08);
}

.reviews-selection {
  padding: 54px 0 58px;
  background:
    radial-gradient(circle at 12% 16%, rgba(49, 87, 255, .09), transparent 17rem),
    linear-gradient(180deg, #f5f4ff 0%, #fbfbff 100%);
}

.reviews-section-heading,
.reviews-yandex-heading {
  padding: 0 22px;
}

.reviews-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.reviews-section-heading > div:first-child {
  min-width: 0;
}

.reviews-section-heading h2,
.reviews-yandex-heading h2 {
  max-width: 310px;
  font-size: clamp(31px, 9.4vw, 40px);
  line-height: 1.03;
}

.reviews-section-heading > div:first-child > p:last-child,
.reviews-yandex-heading > p:last-child {
  max-width: 320px;
  margin: 16px 0 0;
  color: #55596a;
  font-size: 15px;
  line-height: 1.5;
}

.reviews-slider-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-bottom: 2px;
}

.reviews-slider-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(20, 23, 42, .16);
  border-radius: 50%;
  color: #111527;
  background: rgba(255, 255, 255, .8);
  cursor: pointer;
}

.reviews-slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews-slider-arrow:disabled {
  opacity: .34;
  cursor: default;
}

.reviews-slider {
  margin-top: 28px;
}

.reviews-slider-track {
  display: flex;
  gap: 14px;
  padding: 0 48px 12px 22px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.reviews-slider-track::-webkit-scrollbar {
  display: none;
}

.reviews-slider-track.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.review-card {
  position: relative;
  flex: 0 0 min(88vw, 346px);
  height: 526px;
  display: grid;
  grid-template-rows: 270px minmax(0, 1fr);
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(20, 23, 42, .11);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(33, 38, 81, .09);
}

.review-card-text {
  grid-template-rows: 184px minmax(0, 1fr);
  color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(152, 64, 255, .28), transparent 37%),
    radial-gradient(circle at 2% 90%, rgba(49, 87, 255, .27), transparent 42%),
    #040817;
}

.review-card-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e9e9f3;
}

.review-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.review-card-paper .review-card-media {
  background: #f2f1ee;
}

.review-card-paper .review-card-media img {
  object-fit: contain;
  object-position: center top;
}

.review-card-image .review-card-media img {
  object-position: center;
}

.review-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .36));
  pointer-events: none;
}

.review-card-text .review-card-media::after,
.review-card-media-placeholder::after {
  display: none;
}

.review-video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 17px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 84, 37, .24), transparent 34%),
    radial-gradient(circle at 12% 90%, rgba(49, 87, 255, .45), transparent 48%),
    #040817;
}

.review-video-placeholder span {
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.review-video-placeholder svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: rgba(255, 255, 255, .88);
  stroke-width: 1.5;
}

.review-video-placeholder svg path {
  fill: rgba(255, 255, 255, .08);
}

.review-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 11px 20px rgba(2, 6, 23, .28));
}

.review-play svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: rgba(4, 8, 23, .76);
  stroke: #fff;
  stroke-width: 1.5;
}

.review-play path {
  fill: #fff;
  stroke: none;
}

.review-format {
  position: absolute;
  left: 15px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 8, 23, .67);
  backdrop-filter: blur(9px);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.review-card-text .review-format {
  color: #e2dcff;
  border-color: rgba(152, 104, 255, .42);
  background: rgba(255, 255, 255, .06);
}

.review-text-mark {
  position: absolute;
  left: 19px;
  top: -8px;
  color: #9b61ff;
  font-family: Georgia, serif;
  font-size: 146px;
  line-height: 1;
  opacity: .88;
}

.review-card-copy {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 19px 18px 18px;
}

.review-service {
  margin: 0 0 7px;
  color: #6b5ae9;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-card-text .review-service {
  color: #b7a9ff;
}

.review-card h3 {
  margin: 0;
  color: inherit;
  font-size: 23px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.025em;
}

.review-excerpt {
  display: -webkit-box;
  margin: 11px 0 0;
  overflow: hidden;
  color: #555969;
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.review-card-text .review-excerpt {
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  -webkit-line-clamp: 5;
}

.review-open {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid rgba(88, 66, 219, .25);
  border-radius: 14px;
  color: #15182a;
  background: #f5f3ff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.review-card-text .review-open {
  color: #fff;
  border-color: rgba(180, 145, 255, .3);
  background: rgba(255, 255, 255, .07);
}

.review-open span {
  font-size: 18px;
  font-weight: 400;
}

.reviews-slider-status {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin: 17px 22px 0 auto;
  color: #525665;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.reviews-slider-status i {
  width: 48px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #3157ff, #9a42df, #ff5425);
}

/* Final Yandex card and side controls belong to the same reviews flow. */
.reviews-slider {
	position: relative;
}

.reviews-slider-actions {
	position: absolute;
	top: 47%;
	left: 8px;
	right: 8px;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.reviews-slider-arrow {
	pointer-events: auto;
	box-shadow: 0 8px 22px rgba(16, 19, 47, .15);
}

.review-card-yandex {
	background:
		radial-gradient(circle at 86% 12%, rgba(255, 201, 31, .36), transparent 30%),
		radial-gradient(circle at 14% 86%, rgba(255, 67, 52, .2), transparent 38%),
		#fff;
}

.review-yandex-card-link {
	min-height: 100%;
	display: grid;
	grid-template-rows: 270px minmax(0, 1fr);
	color: inherit;
	text-decoration: none;
}

.review-yandex-card-mark {
	display: grid;
	place-items: center;
	font-size: 112px;
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, #f8cc28, #ff6b39 58%, #ef4136);
	color: #fff;
}

.review-card-yandex .review-open {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

@media (min-width: 768px) {
	.reviews-slider-actions {
		left: max(10px, calc((100% - 1200px) / 2 - 24px));
		right: max(10px, calc((100% - 1200px) / 2 - 24px));
	}

	.review-yandex-card-link {
		grid-template-rows: 306px minmax(0, 1fr);
	}
}

.reviews-empty {
  margin: 24px 22px 0;
}

.reviews-yandex {
  padding: 58px 18px 62px;
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 84, 37, .08), transparent 16rem),
    #fff;
}

.reviews-yandex-heading {
  padding: 0 4px;
}

.reviews-yandex-widget {
  position: relative;
  width: 100%;
  height: 560px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(20, 23, 42, .11);
  border-radius: 22px;
  background: #f4f4f8;
  box-shadow: 0 18px 44px rgba(33, 38, 81, .08);
}

.reviews-yandex-widget iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  opacity: 0;
  transition: opacity .25s ease;
}

.reviews-yandex-widget.is-loaded iframe {
  opacity: 1;
}

.reviews-yandex-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  padding: 24px;
  color: #666a79;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.reviews-yandex-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(78, 65, 219, .16);
  border-top-color: #6655ec;
  border-radius: 50%;
  animation: reviews-spin .85s linear infinite;
}

.reviews-yandex-widget.is-loaded .reviews-yandex-loading {
  display: none;
}

.reviews-yandex-link {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  padding: 0 17px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(100deg, #3157ff 0%, #7a46dd 48%, #ff5425 100%);
  box-shadow: 0 15px 30px rgba(81, 65, 218, .18);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.reviews-yandex-link span {
  font-size: 22px;
  font-weight: 400;
}

.reviews-related {
  display: grid;
  gap: 0;
  padding: 16px 20px 22px;
  background: #f7f7fc;
}

.reviews-related a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(20, 23, 42, .11);
  font-size: 16px;
  font-weight: 800;
}

.reviews-related a:last-child {
  border-bottom: 0;
}

.reviews-related span {
  color: #6c55ee;
  font-size: 28px;
  font-weight: 300;
}

.review-dialog {
  width: calc(100% - 22px);
  max-width: 408px;
  max-height: calc(100svh - 22px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  color: #0b0e1c;
  background: #fff;
  box-shadow: 0 28px 80px rgba(2, 6, 23, .35);
}

.review-dialog::backdrop {
  background: rgba(2, 6, 23, .76);
  backdrop-filter: blur(7px);
}

.review-dialog-shell {
  position: relative;
  max-height: calc(100svh - 22px);
  overflow: auto;
  border-radius: inherit;
  overscroll-behavior: contain;
}

.review-dialog-close {
  position: sticky;
  top: 12px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  float: right;
  margin: 12px 12px -54px 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  color: #fff;
  background: rgba(2, 6, 23, .76);
  backdrop-filter: blur(9px);
  cursor: pointer;
}

.review-dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.review-detail {
  padding: 30px 18px 24px;
}

.review-detail-format {
  margin: 0 54px 10px 0;
  color: #6955ee;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.review-detail h2 {
  margin: 0 54px 0 0;
  font-size: 31px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.035em;
}

.review-detail-service {
  margin: 10px 0 20px;
  color: #626676;
  font-size: 14px;
}

.review-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 24px -18px -24px;
  overflow: hidden;
  background: #020617;
}

.review-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.review-video-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: rgba(255, 255, 255, .66);
  text-align: center;
  font-size: 14px;
}

.review-detail-document {
  max-height: 65svh;
  margin: 22px -6px 0;
  overflow: auto;
  border-radius: 15px;
  background: #eeeef2;
  overscroll-behavior: contain;
}

.review-detail-document img {
  width: 100%;
  height: auto;
  display: block;
}

.review-detail-transcript,
.review-detail-text {
  margin-top: 24px;
  color: #303443;
  font-size: 16px;
  line-height: 1.65;
}

.review-detail-transcript h3 {
  margin: 0 0 13px;
  color: #121525;
  font-size: 20px;
  line-height: 1.15;
}

.review-detail-transcript p,
.review-detail-text p {
  margin: 0 0 1em;
}

.review-detail-transcript p:last-child,
.review-detail-text p:last-child {
  margin-bottom: 0;
}

.reviews-slider-arrow:focus-visible,
.review-open:focus-visible,
.reviews-yandex-link:focus-visible,
.reviews-related a:focus-visible,
.review-dialog-close:focus-visible {
  outline: 3px solid #ff8c49;
  outline-offset: 3px;
}

@keyframes reviews-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 359px) {
  .reviews-hero,
  .reviews-section-heading {
    padding-left: 18px;
    padding-right: 18px;
  }

  .reviews-slider-track {
    padding-left: 18px;
  }

  .review-card {
    flex-basis: 88vw;
  }

  .reviews-slider-actions {
    display: none;
  }
}

@media (min-width: 380px) and (max-width: 767px) {
  .reviews-hero {
    padding-top: 120px;
  }
}

@media (min-width: 1024px) {
  body.reviews-page {
    background: #fbfbff;
  }

  body.reviews-page .reviews-main {
    max-width: none;
    overflow: clip;
  }

  .reviews-flow {
    background:
      radial-gradient(circle at 86% 5%, rgba(108, 83, 255, .08), transparent 32rem),
      #fbfbff;
  }

  .reviews-hero {
    width: min(calc(100% - 48px), 1200px);
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
    align-items: center;
    gap: clamp(56px, 7vw, 108px);
    margin: 0 auto;
    padding: 142px 0 88px;
    overflow: visible;
  }

  .reviews-hero::after {
    right: -190px;
    bottom: -90px;
    width: 440px;
    height: 440px;
    opacity: .72;
  }

  .reviews-kicker,
  .reviews-section-index {
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: .17em;
  }

  .reviews-hero h1 {
    max-width: 670px;
    font-size: clamp(68px, 6.2vw, 86px);
    line-height: .94;
    letter-spacing: -.055em;
  }

  .reviews-hero h1 span {
    white-space: nowrap;
  }

  .reviews-hero-copy > p:last-child {
    max-width: 570px;
    margin-top: 34px;
    font-size: 19px;
    line-height: 1.58;
  }

  .reviews-hero-illustration {
    width: min(100%, 470px);
    margin: 0;
    justify-self: end;
  }

  .reviews-hero-illustration svg {
    stroke-width: 1.6;
  }

  .reviews-selection {
    padding: 94px 0 104px;
    background:
      radial-gradient(circle at 8% 20%, rgba(49, 87, 255, .08), transparent 27rem),
      linear-gradient(180deg, #f4f3ff 0%, #fbfbff 100%);
  }

  .reviews-section-heading {
    width: min(calc(100% - 48px), 1200px);
    align-items: flex-end;
    gap: 56px;
    margin: 0 auto;
    padding: 0;
  }

  .reviews-section-heading > div:first-child {
    display: grid;
    grid-template-columns: minmax(390px, 1.1fr) minmax(290px, .7fr);
    align-items: end;
    gap: clamp(44px, 6vw, 92px);
    flex: 1 1 auto;
  }

  .reviews-section-heading .reviews-section-index {
    grid-column: 1 / -1;
    margin-bottom: -4px;
  }

  .reviews-section-heading h2,
  .reviews-yandex-heading h2 {
    max-width: 560px;
    font-size: clamp(48px, 4.35vw, 62px);
    line-height: .98;
  }

  .reviews-section-heading > div:first-child > p:last-child {
    max-width: 390px;
    margin: 0 0 3px;
    font-size: 17px;
    line-height: 1.55;
  }

  .reviews-slider-actions {
    gap: 10px;
    padding-bottom: 1px;
  }

  .reviews-slider-arrow {
    width: 52px;
    height: 52px;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
  }

  .reviews-slider-arrow:not(:disabled):hover {
    color: #fff;
    border-color: #6555ec;
    background: #6555ec;
    transform: translateY(-2px);
  }

  .reviews-slider {
    margin-top: 46px;
  }

  .reviews-slider-track {
    width: min(calc(100% - 48px), 1200px);
    gap: 24px;
    margin: 0 auto;
    padding: 0 0 22px;
    scroll-padding-inline-start: 0;
  }

  .review-card {
    flex-basis: 360px;
    height: 570px;
    grid-template-rows: 306px minmax(0, 1fr);
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(33, 38, 81, .11);
  }

  .review-card-text {
    grid-template-rows: 208px minmax(0, 1fr);
  }

  .review-card-copy {
    padding: 22px 22px 21px;
  }

  .review-format {
    left: 18px;
    bottom: 17px;
  }

  .review-card h3 {
    font-size: 25px;
  }

  .review-excerpt {
    margin-top: 12px;
    font-size: 15px;
  }

  .review-open {
    min-height: 46px;
    padding: 0 15px;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
  }

  .review-open:hover {
    color: #fff;
    border-color: #6555ec;
    background: #6555ec;
    transform: translateY(-1px);
  }

  .review-card-text .review-open:hover {
    border-color: rgba(255, 255, 255, .64);
    background: rgba(255, 255, 255, .16);
  }

  .reviews-slider-status {
    width: min(calc(100% - 48px), 1200px);
    justify-content: flex-end;
    margin: 16px auto 0;
    font-size: 13px;
  }

  .reviews-yandex {
    width: min(calc(100% - 48px), 1200px);
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    grid-template-areas:
      "heading widget"
      "heading link";
    align-items: start;
    gap: 16px clamp(56px, 7vw, 108px);
    margin: 0 auto;
    padding: 104px 0 110px;
    background:
      radial-gradient(circle at 92% 4%, rgba(255, 84, 37, .08), transparent 24rem),
      transparent;
  }

  .reviews-yandex-heading {
    grid-area: heading;
    position: sticky;
    top: 118px;
    padding: 8px 0 0;
  }

  .reviews-yandex-heading h2 {
    max-width: 350px;
  }

  .reviews-yandex-heading > p:last-child {
    max-width: 330px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.55;
  }

  .reviews-yandex-widget {
    grid-area: widget;
    height: 610px;
    margin-top: 0;
    border-radius: 28px;
  }

  .reviews-yandex-link {
    grid-area: link;
    min-height: 58px;
    margin-top: 0;
    padding: 0 22px;
    border-radius: 17px;
    font-size: 15px;
    transition: box-shadow .2s ease, transform .2s ease;
  }

  .reviews-yandex-link:hover {
    box-shadow: 0 20px 38px rgba(81, 65, 218, .25);
    transform: translateY(-2px);
  }

  .reviews-related {
    width: min(calc(100% - 48px), 1200px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 auto 88px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 23, 42, .1);
    border-radius: 24px;
    background: #f7f7fc;
  }

  .reviews-related a {
    min-height: 92px;
    padding: 0 24px;
    border-right: 1px solid rgba(20, 23, 42, .1);
    border-bottom: 0;
    font-size: 17px;
    transition: color .2s ease, background .2s ease;
  }

  .reviews-related a:last-child {
    border-right: 0;
  }

  .reviews-related a:hover {
    color: #5b49df;
    background: #fff;
  }

  .review-dialog {
    width: min(calc(100% - 48px), 960px);
    max-width: 960px;
    max-height: calc(100svh - 48px);
    border-radius: 30px;
  }

  .review-dialog-shell {
    max-height: calc(100svh - 48px);
  }

  .review-dialog-close {
    top: 16px;
    width: 46px;
    height: 46px;
    margin: 16px 16px -62px 0;
  }

  .review-detail {
    padding: 38px 32px 32px;
  }

  .review-detail h2 {
    font-size: 42px;
  }

  .review-video-frame {
    margin: 30px -32px -32px;
  }

  .review-detail-paper,
  .review-detail-image {
    display: grid;
    grid-template-columns: minmax(320px, .88fr) minmax(320px, 1.12fr);
    gap: 0 32px;
    align-items: start;
  }

  .review-detail-paper > .review-detail-format,
  .review-detail-paper > h2,
  .review-detail-paper > .review-detail-service,
  .review-detail-image > .review-detail-format,
  .review-detail-image > h2,
  .review-detail-image > .review-detail-service {
    grid-column: 1 / -1;
  }

  .review-detail-document {
    max-height: 62svh;
    margin: 24px 0 0;
  }

  .review-detail-transcript {
    margin-top: 24px;
  }

  .review-detail-text {
    max-width: 740px;
    margin: 30px auto 0;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-slider-track {
    scroll-behavior: auto;
  }

  .reviews-yandex-loading span {
    animation: none;
  }
}
