/* Mobile width guards and natural wrapping for use cases (ES/EN) */

.casos-hero .sh-cover-text,
.casos-hero .sh-cover-text > *,
.casos-section .sh-section-title,
.casos-section h3,
.casos-section p,
.casos-section li {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.casos-hero .sh-title,
.casos-hero .sh-subtitle,
.casos-hero .sh-lead {
  overflow-wrap: normal !important;
  word-break: normal !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
}

.casos-hero .sh-title,
.casos-hero .sh-subtitle,
.casos-section .sh-section-title,
.casos-section h3,
.casos-section .sh-card-title {
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
  white-space: normal !important;
}

.casos-hero .u-sheet,
.casos-hero .u-sheet-1,
.casos-section .u-sheet,
.casos-section .u-sheet-1,
.casos-section [class$="-step-head"],
.casos-section .sh-grid-two,
.casos-section .casos-card-grid,
.casos-section .casos-solution-grid {
  min-width: 0;
}

@media (min-width: 1024px) {
  body.casos-green-theme {
    --cases-header-offset: 96px;
  }
}

@media (max-width: 767px) {
  .casos-hero .sh-cover {
    gap: 28px;
    padding: 40px 0 32px;
  }

  .casos-hero .sh-lead,
  .casos-section p,
  .casos-section li {
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
  }

  .casos-section [class$="-step-head"] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .casos-section [class$="-step-head"] .sh-section-title {
    flex: 1 1 100%;
  }
}
