/* --- Clean Minimalist PBase Gallery CSS --- */

body {
  background-color: #fafafa;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  margin: 0;
  padding: 20px;
  text-align: center;
}

/* Gallery title */
h2 {
  font-weight: 600;
  font-size: 1.8em;
  color: #111;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  margin: 20px auto;
  display: inline-block;
}

/* Gallery description */
.galleryheader {
  font-size: 1em;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

/* Thumbnail container list */
.thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

/* Force all thumbnails into same-size square boxes */
img.thumbnail {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: block;
  cursor: pointer;
}

/* On hover: blue border + slight zoom + glow */
img.thumbnail:hover {
  border-color: #007acc;
  box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2), 0 6px 12px rgba(0, 122, 204, 0.25);
  transform: scale(1.03);
}

/* Image caption below thumbnail */
.caption {
  font-size: 0.9em;
  color: #666;
  margin-top: 6px;
  max-width: 200px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Full-size image view */
img.display {
  max-width: 100%;
  height: auto;
  border: 4px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

/* Links */
a {
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #005999;
  text-decoration: underline;
}

BODY { margin-top: 0px; top: 0px; }
BODY TABLE A IMG { display: inline; }
HR { position: relative; }
