/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  line-height: 1.5;
  background: #000; /* fallback behind the image */
}

/* Same background image as your other pages */
.bg {
  position: fixed;
  inset: 0;
  background: url("images/Backgrounds/11v2.jpg") top left / auto repeat;
  z-index: -1;
}

/* Layout */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

/* Simple 3-across grid (2 on tablets, 1 on phones) */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}

/* Tiles */
.tile {
  display: block;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  outline: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Keep a consistent tile shape; images cover neatly */
.tile img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;     /* tidy 4:3 tiles */
  object-fit: cover;       /* crop without distortion */
}

