/* FlatCargo responsive text fixes, draft only.
 * Scoped to two confirmed mobile anomalies: post 5865 conclusion heading
 * and post 1557 materials cards. Desktop and table styles unchanged.
 */
@media (max-width: 767px) {
  /* FR Grossiste palette EPAL : avoid clipped conclusion heading. */
  .elementor-5865 .elementor-element-ca7bcc7 .fc-final-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 24px 18px;
  }

  .elementor-5865 .elementor-element-ca7bcc7 .fc-h2-final {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.5rem, 5.6vw, 1.85rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  /* FR Palette Europe EPAL : allow list labels and descriptions to wrap
     naturally as one continuous text line instead of three flex columns. */
  .elementor-1557 .elementor-element-076f33f .fc-mat-list li {
    display: block;
    position: relative;
    padding-left: 1.15em;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .elementor-1557 .elementor-element-076f33f .fc-mat-list li::before {
    position: absolute;
    left: 0;
    top: 0;
  }

  .elementor-1557 .elementor-element-076f33f .fc-mat-list li strong {
    display: inline;
  }
}
