/* ==========================================================
   Requirement 6: Partners
   ========================================================== */

/* text on the left, logo on the right */
.partners-layout {
  display: grid;
  grid-template-columns: minmax(0, 60ch) 340px;  /* text | logo width */
  justify-content: start;                        /* keep both close together on the left */
  gap: 4rem;                                     /* space between text and logo */
  align-items: center;
  margin-top: 2rem;                              /* a bit more room under the heading */
}
.partners .section-lead { margin-bottom: 0; }

.partner-logo {
  width: 100%;
  height: auto;
  aspect-ratio: auto;              /* undo the 4:3 from base.css so it isn't stretched */
  border-radius: var(--radius);
}

/* tablets & phones: logo goes under the text */
@media (max-width: 900px) {
  .partners-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .partner-logo { max-width: 260px; }
}