/* =========================================================================
   Solution page — All solutions grid (5 cols)
   Reuses .hp-solutions__card markup for each card.
   ========================================================================= */

.sol-all {
  padding: 72px 0 72px 0;
  background-color: #FAFAFA;
}

.sol-all__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  text-align: center;
}

.sol-all__title {
  margin: 0;
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 700;
  font-size: 30px;
  line-height: 136%;
  letter-spacing: 0.01em;
}

.sol-all__desc {
  margin: 0;
  color: #616161;
  font-family: var(--font-hn);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
}

/* --- Grid ------------------------------------------------------------------ */
.sol-all__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 48px;
}

.sol-all__item.is-hidden {
  display: none;
}

/* --- Load more button ------------------------------------------------------ */
.sol-all__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.sol-all__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid #293948;
  border-radius: 40px;
  background: transparent;
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sol-all__more:hover,
.sol-all__more:focus {
  background: #D85401;
  border-color: #D85401;
  color: #FFFFFF;
}

.sol-all__more svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* --- Responsive ------------------------------------------------------------ */
@media screen and (max-width: 1200px) {
  .sol-all__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 36px;
  }
}

@media screen and (max-width: 900px) {
  .sol-all {
    padding: 56px 0 72px;
  }

  .sol-all__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 32px;
  }
}

@media screen and (max-width: 640px) {
  .sol-all {
    padding: 40px 0 56px;
  }

  .sol-all__head {
    margin-bottom: 24px;
  }

  .sol-all__title {
    font-size: 24px;
  }

  .sol-all__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 20px;
  }

  .sol-all__more-wrap {
    margin-top: 32px;
  }
}
