/* ДОПОГ first screen: typography and controls follow the tachograph reference. */
body.dopog-page #main .dopog-hero {
  --dopog-hero-font: -apple-system, BlinkMacSystemFont, system-ui, Inter, "Helvetica Neue", Arial, sans-serif;
  min-height: 100svh;
  font-family: var(--dopog-hero-font);
}

body.dopog-page #main .dopog-hero :is(p, a, span, dt, dd) {
  font-family: var(--dopog-hero-font) !important;
}

body.dopog-page #main .dopog-hero__breadcrumbs-wrap .breadcrumbs {
  padding-top: 108px;
  font-size: 12px;
  line-height: 1.4;
}

body.dopog-page #main .dopog-hero .era-hero__layout {
  width: min(100% - 48px, 1200px);
  min-height: calc(100svh - 125px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
}

body.dopog-page #main .dopog-hero .era-hero__copy {
  min-width: 0;
  padding: 54px 32px 68px 0;
}

body.dopog-page #main .dopog-hero .eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
}

body.dopog-page #main .dopog-hero #dopog-hero-title {
  max-width: 640px;
  font-size: 50px !important;
  font-weight: 600;
  letter-spacing: -0.009em;
  line-height: 56px;
}

body.dopog-page #main .dopog-hero .hero-title__line {
  white-space: normal;
}

body.dopog-page #main .dopog-hero .hero-title__clip {
  max-width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}

body.dopog-page #main .dopog-hero .dopog-hero__media {
  width: min(378px, 68.4%);
}

body.dopog-page #main .dopog-hero .era-hero__lead {
  max-width: 598px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.022em;
}

body.dopog-page #main .dopog-hero .era-hero__actions {
  gap: 12px;
  margin-top: 32px;
}

body.dopog-page #main .dopog-hero .era-hero__actions > :is(.hero-callback, .messenger-switch) {
  flex: 0 0 260px;
  width: 260px;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  border-radius: 8px;
}

body.dopog-page #main .dopog-hero :is(.hero-callback, .messenger-switch__action) {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
}

body.dopog-page #main .dopog-hero .messenger-switch__action--max {
  background-color: var(--sv-navy, #002f6c);
}

body.dopog-page #main .dopog-hero .era-hero__proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 560px;
  margin-top: 34px;
  padding-top: 20px;
}

body.dopog-page #main .dopog-hero .era-hero__proof div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 0 11px;
}

body.dopog-page #main .dopog-hero .era-hero__proof div:first-child { padding-left: 0; }

body.dopog-page #main .dopog-hero .era-hero__proof dt {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

body.dopog-page #main .dopog-hero .era-hero__proof dd {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  white-space: pre-line;
}

@media (max-width: 1080px) {
  body.dopog-page #main .dopog-hero__breadcrumbs-wrap .breadcrumbs { padding-top: 28px; }
  body.dopog-page #main .dopog-hero .era-hero__layout { min-height: calc(100svh - 45px); }
  body.dopog-page #main .dopog-hero .era-hero__copy { padding: 54px 24px 48px 0; }
  body.dopog-page #main .dopog-hero .era-hero__actions > :is(.hero-callback, .messenger-switch) {
    flex-basis: min(260px, 100%);
    width: min(260px, 100%);
  }
  body.dopog-page #main .dopog-hero .era-hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }
  body.dopog-page #main .dopog-hero .era-hero__proof div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  body.dopog-page #main .dopog-hero #dopog-hero-title { line-height: 48px; }
}

@media (max-width: 1023px) {
  body.dopog-page #main .dopog-hero .dopog-hero__media { width: min(342px, 64.8%); }
}

@media (max-width: 900px) {
  body.dopog-page #main .dopog-hero { min-height: 0; }
  body.dopog-page #main .dopog-hero__breadcrumbs-wrap,
  body.dopog-page #main .dopog-hero .era-hero__layout { width: calc(100% - 44px); }
  body.dopog-page #main .dopog-hero .era-hero__layout {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  body.dopog-page #main .dopog-hero .era-hero__copy { padding: 44px 0 32px; }
  body.dopog-page #main .dopog-hero #dopog-hero-title { font-size: 44px !important; line-height: 48px; }
  body.dopog-page #main .dopog-hero .era-hero__actions { max-width: 532px; }
}

@media (min-width: 601px) and (max-width: 767px) {
  body.dopog-page #main .dopog-hero .dopog-hero__media { width: min(270px, 64.8%); }
}

@media (max-width: 600px) {
  body.dopog-page #main .dopog-hero__breadcrumbs-wrap,
  body.dopog-page #main .dopog-hero .era-hero__layout { width: calc(100% - 32px); }
  body.dopog-page #main .dopog-hero__breadcrumbs-wrap .breadcrumbs { padding-top: 26px; font-size: 11px; }
  body.dopog-page #main .dopog-hero .era-hero__layout { padding-top: 24px; row-gap: 0; }
  body.dopog-page #main .dopog-hero .era-hero__copy { display: contents; padding: 0; }
  body.dopog-page #main .dopog-hero .eyebrow {
    grid-row: 1;
    margin-bottom: 14px;
    font-size: 10px;
  }
  body.dopog-page #main .dopog-hero #dopog-hero-title { grid-row: 2; font-size: 32px !important; line-height: 36px; }
  body.dopog-page #main .dopog-hero .dopog-hero__visual { grid-row: 3; margin-block: 16px; }
  body.dopog-page #main .dopog-hero .dopog-hero__media { width: min(189px, 55.8%); }
  body.dopog-page #main .dopog-hero .era-hero__lead { grid-row: 4; margin-top: 0; }
  body.dopog-page #main .dopog-hero .era-hero__actions {
    grid-row: 5;
    flex-direction: column;
    gap: 10px;
    width: min(83.11%, 320px);
    margin: 26px auto 0;
  }
  body.dopog-page #main .dopog-hero .era-hero__actions > :is(.hero-callback, .messenger-switch) {
    flex: none;
    width: 100%;
  }
  body.dopog-page #main .dopog-hero .era-hero__proof { grid-row: 6; margin-top: 26px; padding-top: 17px; }
  body.dopog-page #main .dopog-hero .era-hero__proof dt { font-size: 16px; }
}
