/* Баннер на главной (pages/blocks/promo_banner.html). Брейкпоинты — как в main.min.css.
   Фон — во всю ширину; левый край картинки — по контентной области .container
   (1170 / 964 / 690 px), стрелка — у правого края, как на макете. */
.promo_banner {
  background: #f7f8f8;
}
.promo_banner__inner {
  display: flex;
  align-items: stretch;
  padding-left: max(15px, calc((100% - 1170px) / 2));
  padding-right: max(0px, calc((100% - 1366px) / 2));
  min-height: 188px;
  color: var(--main-color);
  text-decoration: none;
}
.promo_banner__image {
  position: relative;
  flex: 0 0 auto;
  width: 296px;
  overflow: hidden;
}
.promo_banner__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.promo_banner__body {
  flex: 1 1 auto;
  align-self: center;
  margin: 26px 0;
  border-left: 1px solid var(--active-color);
  padding: 8px 52px;
}
.promo_banner__title {
  margin: 0 0 4px;
  font-weight: 500;
  font-size: 33px;
  line-height: 40px;
}
.promo_banner__accent {
  color: var(--active-color);
  white-space: nowrap;
}
.promo_banner__text {
  margin: 0;
  max-width: 680px;
  font-size: 23px;
  line-height: 30px;
  color: #6b6b6b;
}
.promo_banner__arrow {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 26px 0;
  border-left: 1px solid #6b6b6b;
  width: 150px;
  min-height: 110px;
  color: var(--active-color);
}
.promo_banner__arrow svg {
  transition: transform .2s;
}
a.promo_banner__inner:hover .promo_banner__arrow svg {
  transform: translateX(6px);
}

@media (max-width:1249.5px) {
  .promo_banner__inner { padding-left: max(15px, calc((100% - 964px) / 2)); }
  .promo_banner__image { width: 260px; }
  .promo_banner__body { padding: 6px 36px; }
  .promo_banner__title { font-size: 28px; line-height: 35px; }
  .promo_banner__text { max-width: 600px; font-size: 20px; line-height: 27px; }
  .promo_banner__arrow { width: 110px; }
}
@media (max-width:1019.5px) {
  .promo_banner__inner { padding-left: max(15px, calc((100% - 690px) / 2)); }
  .promo_banner__image { width: 240px; }
  .promo_banner__image img { object-position: 62% center; }
  .promo_banner__body { padding: 4px 24px; }
  .promo_banner__title { font-size: 24px; line-height: 30px; text-wrap: balance; }
  .promo_banner__text { max-width: none; font-size: 17px; line-height: 23px; text-wrap: balance; }
  .promo_banner__arrow { width: 80px; }
}
/* Телефоны: во всю ширину, узкая картинка (image_mobile), размеры — по мобильному макету */
@media (max-width:767.5px) {
  .promo_banner__inner { padding-left: 0; padding-right: 0; min-height: 0; }
  .promo_banner__image { width: 30.4%; }
  .promo_banner__image img { object-position: center center; }
  .promo_banner__body { margin: 22px 0; padding: 2px 28px 2px 22px; }
  .promo_banner__title { font-size: 21px; line-height: 26px; }
  .promo_banner__text { font-size: 16px; line-height: 20px; text-wrap: balance; }
  .promo_banner__arrow { margin: 22px 0; width: 64px; min-height: 70px; }
  .promo_banner__arrow svg { width: 26px; }
}
@media (max-width:575.5px) {
  .promo_banner__body { margin: 13px 0 15px; padding: 2px 22px 2px 17px; }
  .promo_banner__title { margin-bottom: 3px; font-size: 17px; line-height: 21px; }
  .promo_banner__text { font-size: 12.5px; line-height: 15.5px; }
  .promo_banner__arrow { margin: 0; width: 43px; min-height: 54px; }
  .promo_banner__arrow svg { width: 18px; }
}
/* Узкие телефоны (360–389px): чтобы последняя строка подписи не переносилась */
@media (max-width:389.5px) {
  .promo_banner__image { width: 28.5%; }
  .promo_banner__body { padding-right: 14px; padding-left: 15px; }
  .promo_banner__text { font-size: 12px; line-height: 15px; }
}
