/* 02 — Global Validation. */

/* Two columns while each can be at least 440 px wide (from ~952 px viewport),
   otherwise the image sits above the text — no extra breakpoint needed */
.validation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: var(--space-6);
}

/* In the single-column layout the square image is cropped to a banner */
.validation__media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.validation__lead {
  margin-bottom: var(--space-4);
}

/* Four pillars, always 2 x 2 — one column on small phones */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 767px) {
  .validation {
    gap: var(--space-8);
  }

  .pillars {
    gap: var(--space-4);
  }
}

@media (max-width: 479px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}
