.v4 .hero3__title {
  font-size: clamp(42px, 11vw, 92px);
  line-height: 1;
}
@media (min-width: 960px) {
  .v4 .hero3 .hero3__title {
    font-size: clamp(52px, 5.4vw, 84px);
  }
  .v4 .hero3__title .hl-a > span {
    white-space: normal;
  }
}

.is-scrolly {
  padding: 0 !important;
}
.sc-track {
  position: relative;
}
.sc-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px var(--vl-gutter) 112px;
  overflow: hidden;
}

.sc-colleagues {
  padding-left: 0;
  padding-right: 0;
}
.sc-colleagues .match li {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 520ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sc-colleagues .match li.on {
  opacity: 1;
  transform: none;
}
.sc-colleagues .match::before {
  transform-origin: top;
  transform: scaleY(var(--grow, 0));
  transition: transform 520ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sc-colleagues .callout {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 420ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 520ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sc-colleagues .callout.on {
  opacity: 1;
  transform: none;
}
@media (max-height: 700px) {
  .sc-stage {
    padding-top: 40px;
    padding-bottom: 96px;
  }
}

.v4 .pair s {
  background: none;
}

.sc-bad {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--vl-error-mark);
}
.v4 .pair__line--old .pair__label::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--vl-error-mark);
}

.v4 .match__dot {
  border-color: var(--vl-dot);
  background: var(--vl-dot);
}

.countries-list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: clamp(30px, 8.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.countries-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.countries-list .flag {
  flex: 0 0 auto;
  width: 1.2em;
  height: 0.8em;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.sc-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--vl-fs-label);
  font-weight: 600;
  color: var(--vl-text-secondary);
}
.sc-label .vl-now {
  width: 8px;
  height: 8px;
}
.carousel {
  margin-top: 28px;
  min-width: 0;
}
.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  column-gap: 12px;
  row-gap: 14px;
  margin: 0 calc(-1 * var(--vl-gutter));
  padding: 4px var(--vl-gutter) 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--vl-gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar {
  display: none;
}
.cards:focus-visible {
  outline: 2px solid var(--vl-focus-ring);
  outline-offset: 2px;
}
.card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  scroll-snap-align: start;
  min-width: 0;
  padding: 22px 20px 24px;
  border-radius: 20px;
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
}
.card__group {
  font-size: var(--vl-fs-label);
  font-weight: 600;
  color: var(--vl-text-secondary);
}
.card__topic {
  margin: 0;
  font-size: clamp(24px, 6.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.card__old,
.card__new {
  display: grid;
  gap: 6px;
}
.card__text {
  font-size: clamp(18px, 4.9vw, 21px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.card__old .card__text {
  color: var(--vl-text-muted);
}
.card__new {
  padding-top: 14px;
  border-top: 1px solid var(--vl-border-strong);
}
.carousel__nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.carousel.is-ready .carousel__nav {
  display: flex;
}
.carousel__count {
  font-size: var(--vl-fs-label);
  font-weight: 600;
  color: var(--vl-text-secondary);
  font-variant-numeric: tabular-nums;
}
.carousel__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--vl-border-strong);
  background: var(--vl-surface);
  color: var(--vl-text);
  cursor: pointer;
  transition:
    opacity 160ms,
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.carousel__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel__btn:not(:disabled):active {
  transform: scale(0.94);
}
@media (prefers-reduced-motion: reduce) {
  .carousel__btn {
    transition: none;
  }
  .carousel__btn:not(:disabled):active {
    transform: none;
  }
}
@media (min-width: 720px) {
  .cards {
    grid-auto-columns: 46%;
  }
}
@media (min-width: 1040px) {
  .v4 [data-block="before_after"] .carousel {
    max-width: 1040px;
    margin-inline: auto;
  }
  .cards {
    grid-auto-columns: calc((100% - 24px) / 3);
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    scroll-padding: 0;
  }
}
