/* Keep the original theme, only reduce vertical spacing in the hero area. */

body.landing {
  padding-top: 0;
}

#header.alt {
  padding: 1.5em 0 1.75em 0;
}

#header.alt #logo {
  max-width: min(500px, 68vw);
  width: 33% !important;
  height: auto;
}

#header.alt h2 {
  margin-top: 0.75em;
  margin-bottom: 0.45em;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

#header.alt p {
  margin-top: 0.4em;
}

#banner {
  padding: 6em 0 4.5em 0;
}

@media screen and (max-width: 980px) {
  #header.alt {
    padding: 1.1em 0 1.35em 0;
  }

  #banner {
    padding: 4.75em 0 3.5em 0;
  }
}

@media screen and (max-width: 736px) {
  body.landing {
    padding-top: 44px;
  }

  #header {
    display: block !important;
  }

  #header.alt {
    padding: 0.85em 0 1.1em 0;
  }

  #header.alt #logo {
    width: 62% !important;
    max-width: 280px;
  }

  #header.alt nav {
    display: none;
  }

  #header.alt h2 {
    font-size: 1.1em;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin: 0.7em 0.8em 0.4em 0.8em;
  }

  #header.alt p {
    margin: 0.25em 0 0 0;
  }

  #titleBar .title {
    background: url("../../images/flcg_newlogo.png") center center / contain no-repeat;
    text-indent: -9999px;
    overflow: hidden;
  }

  #banner {
    padding: 3.5em 1.5em 2em 1.5em;
  }
}

.album-gallery-shell {
  padding: 2rem 2rem 1.5rem 2rem;
}

.album-gallery-header h2 {
  margin-bottom: 0.35rem;
}

.album-gallery-header p {
  margin-bottom: 0.75rem;
}

.album-gallery-meta {
  color: #777;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.album-sort-form {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  margin: 0.15rem 0 0.9rem 0;
}

.album-sort-form label {
  color: #5a5a5a;
  font-size: 0.9rem;
  margin: 0;
}

.album-sort-form select {
  min-width: 210px;
  padding: 0.35rem 0.55rem;
}

.gallery-grid .gallery-card {
  margin: 0;
}

.gallery-grid .gallery-card .image.fit {
  background: #f7f4ee;
  border: 1px solid rgba(58, 47, 31, 0.12);
  border-radius: 6px;
  display: block;
  overflow: hidden;
}

.gallery-grid .gallery-card .image.fit img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-grid .gallery-card figcaption {
  color: #4f4f4f;
  font-size: 0.9rem;
  line-height: 1.35;
  margin-top: 0.45rem;
  min-height: 2.4em;
}

.about-hours-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.gallery-index-shell {
  padding: 2rem 2rem 1.5rem 2rem;
}

.gallery-index-header {
  margin-bottom: 1.2rem;
  text-align: center;
}

.gallery-index-header h2 {
  margin-bottom: 0.35rem;
}

.gallery-index-header p {
  color: #5a5a5a;
  margin-bottom: 0;
}

.gallery-index-grid .album-card {
  background: #fff;
  border: 1px solid rgba(58, 47, 31, 0.12);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(44, 39, 30, 0.08);
  height: 100%;
  margin: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-index-grid .album-card:hover {
  box-shadow: 0 10px 24px rgba(44, 39, 30, 0.14);
  transform: translateY(-2px);
}

.gallery-index-grid .album-card-image {
  border-bottom: 1px solid rgba(58, 47, 31, 0.12);
  display: block;
  margin-bottom: 0;
}

.gallery-index-grid .album-card-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-index-grid .album-card-body {
  padding: 0.95rem 1rem 1.05rem 1rem;
}

.gallery-index-grid .album-card-body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem 0;
}

.gallery-index-grid .album-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.gallery-index-grid .album-card-body p {
  color: #5c5c5c;
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0;
  min-height: 2.6em;
}
