/* OTDELKA78 V1.16.27.7 — mobile overflow correction.
   Scoped to /elektromontazhnye-raboty/ only.
   Fix intrinsic widths and wrapping; do not hide horizontal overflow. */
@media (max-width: 767px) {
  html.od78-elec-v116277 main,
  html.od78-elec-v116277 main > section,
  html.od78-elec-v116277 main .shell,
  html.od78-elec-v116277 main .service-hero-content,
  html.od78-elec-v116277 main .service-hero-grid,
  html.od78-elec-v116277 main .service-anchor-links,
  html.od78-elec-v116277 main .service-hero-grid > * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  html.od78-elec-v116277 main .service-hero-content {
    width: 100%;
    padding-inline: clamp(16px, 5vw, 24px);
  }
  html.od78-elec-v116277 main .service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  html.od78-elec-v116277 main .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 4px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }
  html.od78-elec-v116277 main .breadcrumbs > * {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
  }
  html.od78-elec-v116277 main .service-hero .eyebrow {
    max-width: 100%;
    white-space: normal !important;
    font-size: clamp(11px, 2.8vw, 13px);
    line-height: 1.55;
    letter-spacing: .09em;
    overflow-wrap: break-word;
  }
  html.od78-elec-v116277 main #service-title {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    font-size: clamp(29px, 7.5vw, 38px) !important;
    line-height: 1.13 !important;
    letter-spacing: -.025em !important;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  html.od78-elec-v116277 main #service-title span {
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  html.od78-elec-v116277 main .service-hero-copy,
  html.od78-elec-v116277 main .service-hero-note,
  html.od78-elec-v116277 main .service-hero-note * {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }
  html.od78-elec-v116277 main .service-hero-copy {
    font-size: clamp(16px, 4.1vw, 19px);
    line-height: 1.6;
  }
  html.od78-elec-v116277 main .service-hero .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  html.od78-elec-v116277 main .service-hero .hero-actions > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    overflow-wrap: break-word;
  }
  html.od78-elec-v116277 main .service-anchor-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    white-space: normal;
  }
  html.od78-elec-v116277 main .service-anchor-links a {
    box-sizing: border-box;
    display: block;
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding: 12px 10px;
    white-space: normal !important;
    overflow-wrap: break-word;
    line-height: 1.4;
  }
  html.od78-elec-v116277 main img,
  html.od78-elec-v116277 main video {
    max-width: 100%;
  }
}
@media (max-width: 359px) {
  html.od78-elec-v116277 main #service-title { font-size: 27px !important; }
  html.od78-elec-v116277 main .service-anchor-links { grid-template-columns: minmax(0, 1fr); }
}
