/* holst #last-banner — layout ref: primary-8, 50/25/25 row; desktop strip ~134px, tablet row ~232px */

body.page-usluga-holst #last-banner.zp-last-banner {
  width: 100%;
  max-width: min(100%, var(--content-max, 1440px));
  margin: 0;
  box-sizing: border-box;
  overflow: visible;
}

body.page-usluga-holst #last-banner.zp-last-banner .wly11YH4._2aaWIn {
  width: 100%;
  max-width: 1228px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
  overflow: visible;
}

@media (min-width: 768px) {
  body.page-usluga-holst #last-banner.zp-last-banner .wly11YH4._2aaWIn {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  body.page-usluga-holst #last-banner.zp-last-banner .wly11YH4._2aaWIn {
    padding-inline: 64px;
  }
}

@media (min-width: 1280px) {
  body.page-usluga-holst #last-banner.zp-last-banner .wly11YH4._2aaWIn {
    padding-inline: 0;
  }
}

body.page-usluga-holst #last-banner.zp-last-banner .w31AXlm5 {
  font-family: Roboto, Nunito, system-ui, sans-serif;
  color: #212121;
}

body.page-usluga-holst #last-banner.zp-last-banner .lMTsmuX-._2EN2BJ,
body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__card[data-bgcolor="primary-8"] {
  padding: 16px;
  border: 1px solid #ebe6f7;
  border-radius: var(--zp-ui-radius, 12px);
  background-color: #f6f4fb;
  color: #212121;
  overflow: visible;
  box-sizing: border-box;
}

body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7.KUFuseAZ.ZRgU3SkQ {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-right: -6px;
  margin-left: -6px;
}

@media (min-width: 768px) {
  body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7.KUFuseAZ.ZRgU3SkQ {
    margin-right: -8px;
    margin-left: -8px;
  }
}

body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl {
  min-height: 0;
  padding: 0 6px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl {
    padding: 0 8px;
  }
}

body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl.lj1WYf7c._3lWzZT {
  flex: 0 0 50%;
  max-width: 50%;
}

body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media,
body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl.azkf8gCi._3lWzZT:last-child {
  flex: 0 0 25%;
  max-width: 25%;
}

body.page-usluga-holst #last-banner.zp-last-banner ._3lWzZT {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.page-usluga-holst #last-banner.zp-last-banner .vNG52jjw {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
}

body.page-usluga-holst #last-banner.zp-last-banner .qHP3YNoW {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #414544;
}

body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media {
  align-self: center;
  overflow: visible;
}

body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media ._1Lj1BT {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

body.page-usluga-holst #last-banner.zp-last-banner .V1MUcJ {
  display: block;
  width: 266px;
  height: 167px;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

body.page-usluga-holst #last-banner.zp-last-banner .nKeTv-hP.-EYwd7X9 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #6440bf;
  border-radius: 8px;
  background-color: #6440bf;
  color: #fff;
  font-family: Roboto, Nunito, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.1s ease, border-color 0.1s ease;
}

body.page-usluga-holst #last-banner.zp-last-banner .nKeTv-hP.-EYwd7X9:hover {
  border-color: #4c3191;
  background-color: #4c3191;
  color: #fff;
}

body.page-usluga-holst #last-banner.zp-last-banner .azkf8gCi._3lWzZT:last-child > div {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

body.page-usluga-holst .usluga430__stack > #last-banner.pqHldUmG.vBNMWrxo {
  margin-bottom: 0;
}

/* 576–1279 — layout tablet: одна строка 50/25/25, фото 266×167, без налезания на текст */
@media (min-width: 576px) and (max-width: 1279px) {
  body.page-usluga-holst #last-banner.zp-last-banner .lMTsmuX-._2EN2BJ {
    padding: 32px 20px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl.lj1WYf7c._3lWzZT {
    min-width: 0;
    padding-right: 16px;
    box-sizing: border-box;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .vNG52jjw {
    margin-bottom: 8px;
    font-size: 20px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .qHP3YNoW {
    font-size: 14px;
    line-height: 1.4;
    max-width: 100%;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media {
    overflow: visible;
    align-self: center;
    min-width: 0;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media ._1Lj1BT {
    height: auto;
    min-height: 167px;
    justify-content: flex-start;
    overflow: visible;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .V1MUcJ {
    position: static;
    transform: none;
    flex-shrink: 1;
    width: min(266px, 100%);
    max-width: 100%;
    height: auto;
    aspect-ratio: 266 / 167;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .nKeTv-hP.-EYwd7X9 {
    min-width: 0;
    width: 100%;
    max-width: 224px;
    font-size: 14px;
    padding: 12px 14px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .azkf8gCi._3lWzZT:last-child > div {
    justify-content: flex-end;
  }
}

/* ≤575 — мобилка: стек текст → фото → кнопка */
@media (max-width: 575px) {
  body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7.KUFuseAZ.ZRgU3SkQ {
    flex-wrap: wrap;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .qzN1MOO7 > ._0rt7Wiyl.lj1WYf7c._3lWzZT {
    margin-bottom: 12px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media {
    margin: 0 0 12px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media ._1Lj1BT {
    justify-content: center;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .V1MUcJ {
    position: static;
    transform: none;
    width: min(266px, 100%);
    height: auto;
    aspect-ratio: 266 / 167;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .azkf8gCi._3lWzZT:last-child > div {
    justify-content: stretch;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .nKeTv-hP.-EYwd7X9 {
    max-width: 100%;
    width: 100%;
  }
}

/* ≥1280 — desktop strip ~134px, фото absolute overflow */
@media (min-width: 1280px) {
  body.page-usluga-holst #last-banner.zp-last-banner .lMTsmuX-._2EN2BJ {
    padding: 24px 32px;
    min-height: 134px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .vNG52jjw {
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1.25;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .qHP3YNoW {
    font-size: 16px;
    line-height: 1.5;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .zp-last-banner__media ._1Lj1BT {
    height: 48px;
  }

  body.page-usluga-holst #last-banner.zp-last-banner .V1MUcJ {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 266px;
    height: 167px;
    max-width: none;
    aspect-ratio: auto;
    transform: translate(-50%, -50%);
  }

  body.page-usluga-holst #last-banner.zp-last-banner .nKeTv-hP.-EYwd7X9 {
    min-width: 224px;
    width: auto;
  }
}
