/* ===== Протокол24 — hero proof refined layout v4.9.10 ===== */

/* Общий контейнер ряда преимуществ */
@media (min-width: 1025px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    width: min(100%, 1260px) !important;
    max-width: 1260px !important;
    margin: 30px auto 0 !important;
    padding: 18px 26px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
    gap: 18px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 26px !important;
    background: rgba(255,255,255,.72) !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 {
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 2px 6px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 16px !important;
  }

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

  .p24-hero .p24-proof-item > :first-child,
  .p24-proof-item > :first-child {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !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: 185px !important;
    color: #2f4060 !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
    letter-spacing: -.01em !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* Планшеты */
@media (max-width: 1024px) and (min-width: 641px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    width: 100% !important;
    margin: 26px 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,.70) !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 {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 2px 4px !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;
    flex: 0 0 42px !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 {
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}

/* Телефоны */
@media (max-width: 640px) {
  .p24-hero .p24-proof-row,
  .p24-proof-row {
    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 {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 2px 4px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-width: 0 !important;
  }

  .p24-hero .p24-proof-item > :first-child,
  .p24-proof-item > :first-child {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !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 {
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}