/* 1660 Autocare visual correction patch — medium-desktop composition and social alignment */
.proof-story > *,
.shop-story > * {
  min-width: 0;
}

.proof-story__image img,
.shop-story__media img {
  object-position: center center;
}

/* Keep all three social concept cards on one intentional baseline. */
.social__rail {
  align-items: start;
}
.social-card:nth-child(2) {
  transform: none;
}
.social-card:nth-child(2):hover {
  transform: translateY(-8px);
}
.social__note {
  margin-top: 56px;
}

/* The original three-column proof composition becomes too narrow around laptop widths.
   Use a deliberate two-column editorial layout before anything can clip off-screen. */
@media (min-width: 901px) and (max-width: 1380px) {
  .proof-story {
    grid-template-columns: minmax(240px, .72fr) minmax(420px, 1.28fr);
    grid-template-areas:
      "number copy"
      "cards image";
    column-gap: clamp(32px, 4vw, 60px);
    row-gap: 44px;
  }
  .proof-story__number {
    align-self: start;
  }
  .proof-story__copy {
    max-width: 620px;
  }
  .proof-story__copy h2 {
    font-size: clamp(64px, 7.2vw, 92px);
  }
  .proof-story__cards {
    grid-template-columns: 1fr;
  }
  .proof-story__cards article {
    min-height: 150px;
  }
  .proof-story__image {
    width: 100%;
    height: 620px;
    max-height: none;
  }
  .proof-story__image img {
    object-position: 50% 48%;
  }

  .shop-story {
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
    gap: clamp(36px, 4vw, 64px);
  }
  .shop-story__media {
    min-width: 0;
    min-height: 580px;
  }
  .shop-story__copy {
    min-width: 0;
    max-width: 620px;
  }
  .shop-story__copy h2 {
    font-size: clamp(60px, 6.2vw, 84px);
  }
}

@media (max-width: 900px) {
  .social__note {
    margin-top: 28px;
  }
}
