/* ============================================================
   GEWA Germany -- DOWNLOADS PAGE
   downloads.css (downloads.html.twig)
   ============================================================ */

.downloads-intro { border-bottom: 0.5px solid var(--w06); }

.downloads-brand-heading {
  font-family: var(--font-serif); font-size: 28px; font-weight: 300;
  color: var(--cream); margin-bottom: 24px;
}

.downloads-categories { display: flex; flex-direction: column; gap: 48px; }
.downloads-category-block { }
.downloads-category-heading {
  font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--w06);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 0.5px solid var(--w06);
  border-left: 0.5px solid var(--w06);
}
.download-tile {
  display: flex; flex-direction: column;
  border-right: 0.5px solid var(--w06);
  border-bottom: 0.5px solid var(--w06);
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.download-tile:hover { background: rgba(201,168,76,0.04); }

/* Image/icon area — full width, square, no background fill (transparent
   over the page's own dark background) since logos come in both black
   and white variants; a solid tile color would hide one of the two. */
.download-tile-icon {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  border-bottom: 0.5px solid var(--w06);
  color: var(--gold);
  transition: border-color 0.2s;
}
.download-tile:hover .download-tile-icon { border-color: var(--gold-dim); }
.download-tile-icon svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.download-tile-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.download-tile-text { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
.download-tile-name {
  font-size: 16px; color: var(--cream); line-height: 1.35;
}
.download-tile-size { font-size: 13px; letter-spacing: 0.06em; color: var(--w55); }

@media (max-width: 960px) {
  .downloads-grid { grid-template-columns: 1fr; }
  .downloads-categories { gap: 36px; }
}