html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

main {
  flex: 1 0 auto; /* push footer to bottom */
}

footer {
  flex-shrink: 0;
}

footer p {
  margin: 0px;
}

/* Lightbox Modal & Base Image Filters */
.img-base {
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.75));
}

img.full {
  position: fixed;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: grayscale(0%);
}

.full-cover {
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.25);
  z-index: 1050;
  display: none;
}

.full-cover--show {
  display: block;
}

.card-img-top {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Masonry Grid Engine */
.masonry-grid {
  column-count: 1;
  column-gap: 1.25rem;
}
@media (min-width: 576px) { .masonry-grid { column-count: 2; } }
@media (min-width: 768px) { .masonry-grid { column-count: 3; } }
@media (min-width: 1200px) { .masonry-grid { column-count: 4; } }
@media (min-width: 1400px) { .masonry-grid { column-count: 5; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.photo-thumb {
  width: 100%;
  height: auto;
  display: block;
}

/* SEO Card & Metadata Badges */
.seo-card-header-text {
  font-size: 0.875rem;
}

.seo-summary-heading,
.seo-summary-item {
  font-size: 0.8rem;
}

.photo-metadata .badge {
  font-size: 0.7rem;
}
