/* ===== Протокол24 — hero proof fullwidth v4.9.12 ===== */

/*
  Жёстко переопределяем предыдущие фиксы:
  блок преимуществ должен быть по центру и шире, под всем hero.
*/

@media (min-width: 1025px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row,
  .p24-proof-row.p24-proof-fullwidth {
    grid-column: 1 / -1 !important;

    width: min(100%, 1260px) !important;
    max-width: 1260px !important;
    margin: 34px auto 0 !important;
    padding: 18px 26px !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 28px !important;
    background: rgba(255,255,255,.74) !important;
    border: 1px solid #e3ebf7 !important;
    box-shadow: 0 18px 44px rgba(16,35,79,.06) !important;
    box-sizing: border-box !important;
  }

  .p24-hero .p24-proof-item,
  .p24-proof-item,
  .p24-proof-row.p24-proof-fullwidth .p24-proof-item {
    min-width: 0 !important;
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;
    justify-content: start !important;

    padding: 4px 6px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .p24-hero .p24-proof-item:hover,
  .p24-proof-item:hover {
    transform: none !important;
    background: rgba(245,248,255,.82) !important;
    box-shadow: 0 8px 20px rgba(16,35,79,.04) !important;
  }

  .p24-hero .p24-proof-item > :first-child,
  .p24-proof-item > :first-child {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex: 0 0 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;
    max-width: none !important;

    color: #2f4060 !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
    font-weight: 850 !important;
    letter-spacing: -.01em !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* На очень широких экранах — чуть шире */
@media (min-width: 1440px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row,
  .p24-proof-row.p24-proof-fullwidth {
    max-width: 1360px !important;
  }
}

/* Средние ноутбуки */
@media (max-width: 1240px) and (min-width: 1025px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row,
  .p24-proof-row.p24-proof-fullwidth {
    max-width: 1080px !important;
    padding: 16px 20px !important;
    gap: 16px !important;
  }

  .p24-hero .p24-proof-item,
  .p24-proof-item {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .p24-hero .p24-proof-item > :first-child,
  .p24-proof-item > :first-child {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !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: 13px !important;
  }
}

/* Планшет: 2x2 */
@media (max-width: 1024px) and (min-width: 641px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row,
  .p24-proof-row.p24-proof-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    margin: 28px auto 0 !important;
    padding: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.72) !important;
    border: 1px solid #e3ebf7 !important;
    box-shadow: 0 16px 38px rgba(16,35,79,.05) !important;
    box-sizing: border-box !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: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

/* Телефон: одна колонка */
@media (max-width: 640px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row,
  .p24-proof-row.p24-proof-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px auto 0 !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.74) !important;
    border: 1px solid #e3ebf7 !important;
    box-shadow: 0 14px 32px rgba(16,35,79,.05) !important;
    box-sizing: border-box !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: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .p24-hero .p24-proof-item > :first-child,
  .p24-proof-item > :first-child {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !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.26 !important;
    -webkit-line-clamp: 2 !important;
  }
}