/**
 * Layout-правки hero-контактов (после theme.css).
 * ПК: телефон + мессенджеры в ряд, иконки по высоте кнопки.
 */
@media (min-width: 901px) {
  body.service-page .b24-lp-logic-box,
  body.service-page .b24-left-contacts-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
  }

  body.service-page .b24-lp-logic-box > .b24-phones-row,
  body.service-page .b24-left-contacts-box > .b24-phones-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  body.service-page .b24-lp-logic-box > .b24-messengers-left,
  body.service-page .b24-left-contacts-box > .b24-messengers-left {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin: 0;
  }

  body.service-page .b24-lp-logic-box .b24-messengers-label,
  body.service-page .b24-left-contacts-box .b24-messengers-label {
    display: none;
  }

  body.service-page .b24-lp-logic-box .b24-social-grid,
  body.service-page .b24-left-contacts-box .b24-social-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    height: 100%;
    margin: 0;
  }

  body.service-page .b24-lp-logic-box .b24-social-item,
  body.service-page .b24-left-contacts-box .b24-social-item {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    align-self: stretch;
    aspect-ratio: 1 / 1;
  }

  body.service-page .b24-lp-logic-box .b24-social-item img,
  body.service-page .b24-left-contacts-box .b24-social-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 12px !important;
  }

  body.service-page .mg24-phones-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  body.service-page .mg24-messengers-left {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin: 0 !important;
  }

  body.service-page .mg24-messengers-label {
    display: none;
  }

  body.service-page .mg24-messengers-left .mg24-social-grid,
  body.service-page .mg24-messengers-left .b24-social-grid {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    height: 100%;
    margin: 0;
  }

  body.service-page .mg24-messengers-left .mg24-social-item,
  body.service-page .mg24-messengers-left .b24-social-item {
    display: flex !important;
    height: auto !important;
    width: auto !important;
    align-self: stretch;
    aspect-ratio: 1 / 1;
  }

  body.service-page .mg24-messengers-left .mg24-social-item img,
  body.service-page .mg24-messengers-left .b24-social-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 12px !important;
  }
}
