/* Start custom CSS */.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
  padding: clamp(12px, 2vw, 24px);
}

.logo-item {

  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2.5vw, 22px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  aspect-ratio: 4 / 3;          /* consistent tile shape */
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;        /* for the <a> items */
}

.logo-item:hover,
.logo-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  outline: none;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* recycling-media.css */
.recycling-media-grid {
  display: grid;
  grid-template-columns: 1fr;             /* single column on small screens */
  gap: 20px;
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;                         /* center the whole section */
}

@media (min-width: 900px) {
  .recycling-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));  /* two columns on larger screens */
    gap: 28px;
  }
}

.media-card {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  text-align: center;                     /* center captions */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-card img {
  display: block;
  max-width: 100%;
  height: auto;                           /* keep original aspect ratio */
  border-radius: 8px;
}

.media-card figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #444;
}/* End custom CSS */