/* ===== Протокол24 — hero proof row center/stretch v4.9.9 ===== */

/*
  Нижний блок в hero:
  Расшифровка / Саммари / Задачи / Интеграции
*/

@media (min-width: 901px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    width: min(100%, 1040px) !important;
    max-width: 1040px !important;
    margin: 34px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  .p24-hero .p24-proof-item,
  .p24-proof-item {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px 14px !important;
    border: 1px solid transparent !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.38) !important;
    box-sizing: border-box !important;
  }

  .p24-hero .p24-proof-item:hover,
  .p24-proof-item:hover {
    border-color: #dbe6f7 !important;
    background: rgba(255,255,255,.68) !important;
    box-shadow: 0 14px 30px rgba(16,35,79,.05) !important;
  }

  .p24-hero .p24-proof-item > :first-child,
  .p24-proof-item > :first-child {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 14px !important;
  }

  .p24-hero .p24-proof-item span:last-child,
  .p24-hero .p24-proof-item div:last-child,
  .p24-proof-item span:last-child,
  .p24-proof-item div:last-child {
    min-width: 0 !important;
    color: #324260 !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* На широком десктопе можно дать чуть больше воздуха */
@media (min-width: 1280px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    max-width: 1120px !important;
    gap: 22px !important;
  }
}

/* Планшеты */
@media (max-width: 900px) and (min-width: 561px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    width: 100% !important;
    margin: 28px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .p24-hero .p24-proof-item,
  .p24-proof-item {
    display: grid !important;
    grid-template-columns: 42px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.56) !important;
    border: 1px solid #e1eaf8 !important;
  }
}

/* Телефон: вертикально, но центрированно и без выезда */
@media (max-width: 560px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    width: 100% !important;
    margin: 26px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .p24-hero .p24-proof-item,
  .p24-proof-item {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 42px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.62) !important;
    border: 1px solid #e1eaf8 !important;
    box-sizing: border-box !important;
  }

  .p24-hero .p24-proof-item span:last-child,
  .p24-hero .p24-proof-item div:last-child,
  .p24-proof-item span:last-child,
  .p24-proof-item div:last-child {
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
  }
}