body {
  font-family: Georgia, serif;
  margin: 0;
  padding: 20px;
  background-color: #1a1a1a;
  color: #f5e6c8;
  line-height: 1.6;
}

/* Center content */
blockquote {
  max-width: 900px;
  margin: auto;
}

/* Images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix table layout on smaller screens */
table {
  width: 100%;
}

td {
  padding: 10px;
  text-align: center;
}

/* Links */
a {
  color: #ffd27f;
}

a:hover {
  text-decoration: underline;
}

/* Remove harsh spacing */
hr {
  border: none;
  border-top: 1px solid #555;
  margin: 2rem 0;
}

/* Improve headings */
h1 {
  font-size: 2rem;
}

/* ===== Gallery styling ===== */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 15px;
}

td {
  text-align: center;
  vertical-align: middle;
}

/* Make images consistent and clean */
td img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
td img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

@media (max-width: 700px) {
  table, tr, td {
    display: block;
    width: 100%;
  }

  td {
    margin-bottom: 20px;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.gallery-item {
  display: block;
  text-align: center;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 160px;        /* controls visual size */
  object-fit: cover;    /* keeps clean cropping */
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.gallery-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
}

.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 1rem;
  padding: 0;
}

.footer-icons img {
  height: 70px;
  width: auto;
  display: block;
}