/* Mobile spacing and wrapping for the Editorial Future home. */
@media (max-width: 760px) {
  body[data-design="editorial-future"] .services-grid {
    width: 100%;
    min-width: 0;
    gap: 0;
  }

  body[data-design="editorial-future"] .service-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    padding: 24px 16px 28px;
    overflow-wrap: anywhere;
  }

  body[data-design="editorial-future"] .service-card :is(.service-icon, h3, p, .card-link) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body[data-design="editorial-future"] .service-number {
    right: 16px;
  }

  body[data-design="editorial-future"] .service-card h3 {
    margin: 0 0 12px;
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.15;
  }

  body[data-design="editorial-future"] .service-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  body[data-design="editorial-future"] .service-card .card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 20px;
    line-height: 1.6;
  }

  body[data-design="editorial-future"] .showcase-real .image-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    box-sizing: border-box;
    width: fit-content;
    max-width: calc(100% - 32px);
    min-width: 0;
    padding: 12px 14px;
    overflow-wrap: anywhere;
  }

  body[data-design="editorial-future"] .showcase-real .image-badge strong {
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  body[data-design="editorial-future"] .showcase-real .image-badge span {
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  body[data-design="editorial-future"] .section-head,
  body[data-design="editorial-future"] .section-head > *,
  body[data-design="editorial-future"] .showcase-copy,
  body[data-design="editorial-future"] .feature-list,
  body[data-design="editorial-future"] .feature-list > div {
    min-width: 0;
    max-width: 100%;
  }

  body[data-design="editorial-future"] .section-head > p {
    padding-top: 0;
    line-height: 1.75;
  }
}

@media (max-width: 380px) {
  body[data-design="editorial-future"] .container {
    width: calc(100% - 32px);
  }

  body[data-design="editorial-future"] .service-card {
    padding-inline: 14px;
  }

  body[data-design="editorial-future"] .service-number {
    right: 14px;
    font-size: 34px;
  }

  body[data-design="editorial-future"] .showcase-real .image-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}
