:is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--subtitle {
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  font-size: clamp(21px, 2vw, 32px);
  line-height: 1.3;
}

:is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section__imgWrapper {
  width: min(100%, 685px);
  height: auto;
}

:is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section__page--img {
  display: block;
  width: 100%;
  height: auto;
}

/* The 222 px inset is aligned to the ring in the 685 × 542 px artwork. */
:is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section__page--logo {
  width: calc(222 / 685 * 100%);
  height: auto;
  aspect-ratio: 1;
  right: calc(70 / 685 * 100%);
  bottom: calc(60 / 542 * 100%);
  border-radius: 50%;
}

@media (min-width: 1351px) {
  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--wrapper {
    display: grid;
    /* Keep the text on the content gutter and use available space to the right. */
    width: min(calc(55% + 735px), calc(50% + 50vw - 24px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 685px);
    align-items: start;
    gap: 50px;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--container {
    width: 100%;
    min-width: 0;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--title {
    font-size: clamp(50px, 3.05vw, 60px);
    line-height: 1.1;
  }
}

.autovkp-photoguide__photo--nonrunning img {
  object-position: 56% 52%;
}

.autovkp-photoguide__photo--parts img {
  object-position: center;
}

.iv-sale-compare {
  width: min(calc(100% - clamp(34px, 8vw, 112px)), 1240px);
  margin: clamp(40px, 5vw, 64px) auto;
  color: var(--color-2, #161c2d);
  scroll-margin-top: 148px;
}

.iv-sale-compare h2 {
  margin: 0 0 24px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.iv-sale-compare__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #dcdde7;
}

.iv-sale-compare__row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid #dcdde7;
}

.iv-sale-compare__row h3,
.iv-sale-compare__row p {
  margin: 0;
  text-align: left;
}

.iv-sale-compare__row h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.iv-sale-compare__row p {
  max-width: 74ch;
  font-size: 16px;
  line-height: 1.55;
  color: #3d4658;
}

.iv-sale-compare__note {
  margin: 16px 0 0;
  max-width: 84ch;
  color: #51596b;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 710px) {
  .iv-sale-compare__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 16px 0;
  }
}

@media (min-width: 1100px) and (max-width: 1350px) {
  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
    align-items: center;
    gap: 32px;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--title {
    font-size: clamp(40px, 4vw, 52px);
    line-height: 1.12;
  }
}

.cost_estimation__tabs button.cost_estimation__tab {
  appearance: none;
  border-block-start: 0;
  border-inline: 0;
  background: transparent;
  font-family: inherit;
  min-height: 44px;
}

.cost_estimation__tabs button.cost_estimation__tab:focus-visible {
  outline: 2px solid var(--color, #473bf0);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--title {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.15;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section__form {
    padding: 24px 20px;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--form_title {
    font-size: 20px;
    line-height: 1.3;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section_page--form_subtitle {
    font-size: 20px;
  }

  :is(.ivanovo-nonrunning-hero, .ivanovo-crash-hero, .ivanovo-service-hero) .main_section__form__inputs {
    margin-top: 16px;
  }

  .how_happens .how_happens--caption {
    max-width: 100%;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .car_buyout .car_buyout__content_text,
  .car_buyout .wpcf7,
  .car_buyout .car_buyout__input,
  #ocenka-po-foto .cost_estimation__form,
  #ocenka-po-foto .cost_estimation__input,
  #ocenka-po-foto .cost_estimation__agree {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  :is(.car_buyout, #ocenka-po-foto) .cost_estimation__formButton {
    max-width: 100%;
    padding-inline: 16px;
    white-space: normal;
  }

  #ocenka-po-foto .cost_estimation__img {
    width: min(100%, 300px);
    height: auto;
    margin-inline: auto;
  }
}

#chastye-voprosy {
  scroll-margin-top: 145px;
}

#chastye-voprosy .FAQ__accordion .ac-trigger {
  overflow-wrap: anywhere;
}

#chastye-voprosy .FAQ__accordion .autovkp-home-faq-icon {
  top: 50%;
  transform: translateY(-50%);
}

#chastye-voprosy .FAQ__accordion .is-active .autovkp-home-faq-icon {
  transform: translateY(-50%) rotate(90deg);
}

:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) {
  display: block;
  max-width: 1060px;
  margin-inline: auto;
  scroll-margin-top: 145px;
}

:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) h2,
:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) h3,
:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) p {
  text-align: left;
}

:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  margin: 0 0 24px;
}

:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  margin: 24px 0 8px;
}

:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) p {
  width: auto;
  margin: 0;
  line-height: 1.58;
}

#ivanovo-service-details p + p,
#ivanovo-service-details p + :is(ol, ul) {
  margin-top: 12px;
}

#ivanovo-service-details :is(ol, ul) {
  width: auto;
  padding-inline-start: 24px;
  text-align: left;
  line-height: 1.58;
}

:is(#ivanovo-nonrunning-details, #ivanovo-credit-details, #ivanovo-parts-details, #ivanovo-service-details) a {
  color: var(--color, #473bf0);
  text-underline-offset: .16em;
}

.autovkp-photoguide__photo--crash img {
  object-position: center 62%;
}

#ivanovo-crash-details .custom-content h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
}

#ivanovo-crash-details {
    margin-block: clamp(36px, 5vw, 64px);
}

#ivanovo-crash-details .custom-content {
    display: block;
    width: 100%;
    max-width: 1040px;
    margin-block-end: 0;
}

#ivanovo-crash-details .custom-content :is(h2, h3, p, ol) {
    margin: 0;
    width: auto;
    text-align: left;
}

#ivanovo-crash-details .custom-content :is(h2, h3):not(:first-child) {
    margin-block-start: 30px;
}

#ivanovo-crash-details .custom-content > * + :is(p, ol) {
    margin-block-start: 10px;
}

#ivanovo-crash-details .custom-content > ol {
    padding-inline-start: 1.5em;
}

#ivanovo-crash-details .custom-content li + li {
    margin-block-start: 5px;
}

.iv-crash-copy {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: start;
    width: min(calc(100% - clamp(34px, 8vw, 112px)), 1240px);
    margin: clamp(38px, 5vw, 72px) auto;
    color: #161c2d;
    scroll-margin-top: 148px;
}

.iv-crash-copy__main {
    min-width: 0;
    padding-top: clamp(22px, 2.5vw, 34px);
    border-top: 1px solid #dcdde7;
}

.iv-crash-copy__side {
    min-width: 0;
    padding: clamp(22px, 2.8vw, 38px);
    border-radius: 16px;
    background: #f3f4f8;
}

.iv-crash-copy h2,
.iv-crash-copy h3,
.iv-crash-copy p,
.iv-crash-copy ol {
    margin: 0;
    text-align: left;
}

.iv-crash-copy h2 {
    font-size: clamp(26px, 2.55vw, 38px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.iv-crash-copy__side :is(h2, h3) {
    font-size: clamp(23px, 2.1vw, 31px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.iv-crash-copy :is(p, ol) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.iv-crash-copy ol {
    padding-inline-start: 1.5em;
    list-style: decimal;
}

.iv-crash-copy ol > li {
    list-style: decimal;
}

.iv-crash-copy li + li {
    margin-top: 7px;
}

.iv-crash-copy li::marker {
    color: #473bf0;
    font-weight: 750;
}

.iv-crash-copy a:not(.autovkp-photoguide__action) {
    color: #4034c5;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.iv-crash-copy--advice {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
}

.iv-crash-copy--advice .iv-crash-copy__side {
    background: #1c2039;
    color: #fff;
}

.iv-crash-copy--advice .iv-crash-copy__side p {
    color: #ececf5;
}

.iv-crash-copy--advice .iv-crash-copy__side p + p {
    padding-top: 14px;
    border-top: 1px solid #575b70;
}

.iv-crash-copy--advice .iv-crash-copy__side a {
    color: #fff;
    font-weight: 750;
}

.iv-crash-copy--advice .iv-crash-copy__main p:has(> strong) {
    border-top: 1px solid #e3e4ed;
    padding-top: 12px;
}

.iv-crash-copy .autovkp-photoguide__action {
    min-height: 48px;
    padding-inline: 18px;
    border-radius: 8px;
}

@media (max-width: 740px) {
    .iv-crash-copy,
    .iv-crash-copy--advice {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        scroll-margin-top: 174px;
    }
}

.buy_cars--mototech .buy_cars__items {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px clamp(14px, 2.2vw, 36px);
  margin-top: 24px;
  padding-inline: 0;
}

.buy_cars--mototech .buy_cars__item {
  white-space: nowrap;
}
