/* ============================================================
   Shared trust-strip + awards-grid styles
   Used on home-a, about, location-cambridge.
   ============================================================ */

/* Individual accreditation logos in a clean grid */
.nfx-trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nfx-trust-strip__cell {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 8px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease;
}
.nfx-trust-strip__cell:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.nfx-trust-strip__cell img {
  max-width: 100%;
  max-height: 126px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1000px) {
  .nfx-trust-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 640px) {
  .nfx-trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 22px;
  }
  .nfx-trust-strip__cell { padding: 8px 4px; min-height: 110px; }
  .nfx-trust-strip__cell img { max-height: 90px; }
}

/* Awards badge grid (4 badges in a row; 2 x 2 on small screens) */
.nfx-awards-grid {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 40px;
  align-items: center;
  justify-items: center;
}
.nfx-award-badge {
  text-align: center;
  width: 100%;
  max-width: 200px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nfx-award-badge img {
  width: auto;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.nfx-award-badge figcaption {
  font-size: 13px;
  color: var(--nfx-ink-soft);
  margin-top: 16px;
  line-height: 1.45;
  font-weight: 500;
}
.nfx-award-badge figcaption strong {
  color: var(--nfx-teal-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .nfx-awards-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; padding: 0 22px; max-width: 520px; }
  .nfx-award-badge img { height: 160px; }
  .nfx-award-badge figcaption { font-size: 12.5px; }
}
