/* Greenwich only. The common medieval layout supplies navigation and fonts. */
.greenwich-gallery { color: #e7d7ae; }
.greenwich-gallery .greenwich-hero { padding: 30px 12px; }
.greenwich-gallery .greenwich-hero h1 { margin: 12px 0 18px; }
.greenwich-gallery .greenwich-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 14px;
  background: #29322c;
  border: 3px solid #172019;
  box-shadow: inset 0 2px #56604e, 0 3px #0004;
}
.greenwich-gallery .greenwich-navigation a {
  padding: 8px 12px;
  color: #eee2c1;
  background: #3c4835;
  border: 1px solid #758065;
  text-decoration: none;
  line-height: 1.25;
}
.greenwich-gallery .greenwich-navigation a:hover { background: #536044; color: #fff4d6; }
.greenwich-gallery .greenwich-section {
  min-width: 0;
  padding: 24px;
  margin: 0 0 28px;
  border: 4px solid #29271f;
  background: #2c362d;
  box-shadow: inset 0 3px #64705a, 0 5px #10191388;
  scroll-margin-top: 20px;
}
.greenwich-gallery .greenwich-section > h2 {
  margin: -24px -24px 23px;
  padding: 15px 22px 18px;
  background: #5b4029 url('../../../assets/wood.svg');
  background-size: 288px 96px;
  border-bottom: 3px solid #29271f;
  box-shadow: inset 0 3px #997444;
  color: #f1deb0;
  font: 40px/1.12 Jacquard, Georgia, serif;
  text-shadow: 2px 2px #2d221a;
  overflow-wrap: anywhere;
}
.greenwich-gallery h3 { margin: 0 0 18px; color: #e7d7ae; font: 32px/1.15 Jacquard, Georgia, serif; }
.greenwich-gallery .greenwich-image {
  display: block;
  padding: 4px;
  background: #1d251e;
  border: 2px solid #ab9565;
  box-shadow: 3px 3px #121816;
}
.greenwich-gallery .greenwich-image:hover { border-color: #efd9a2; }
.greenwich-gallery .greenwich-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #1d251e;
  image-rendering: pixelated;
}
.greenwich-gallery .greenwich-wideshot img { aspect-ratio: auto; }
.greenwich-gallery .greenwich-decoration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.greenwich-gallery .greenwich-card { margin: 0; min-width: 0; }
.greenwich-gallery figcaption {
  margin-top: 12px;
  color: #e7d7ae;
  font-size: 23px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
.greenwich-gallery .greenwich-poses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  scroll-margin-top: 20px;
}
.greenwich-gallery .greenwich-pose-section { padding: 16px; }
.greenwich-gallery .greenwich-pose-section > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  margin: -16px -16px 20px;
  padding: 16px 12px;
  font-size: 32px;
  text-align: center;
}
.greenwich-gallery .greenwich-pose-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.greenwich-gallery .greenwich-pose-grid img { aspect-ratio: 3 / 4; }
.greenwich-gallery .greenwich-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 30px;
}
@media (max-width: 900px) {
  .greenwich-gallery .greenwich-poses { gap: 14px; }
  .greenwich-gallery .greenwich-pose-section { padding: 10px; }
  .greenwich-gallery .greenwich-pose-section > h2 { margin: -10px -10px 16px; font-size: 29px; }
  .greenwich-gallery .greenwich-decoration-grid { gap: 16px; }
}
@media (max-width: 640px) {
  .greenwich-gallery .greenwich-section { padding: 16px; }
  .greenwich-gallery .greenwich-section > h2 { margin: -16px -16px 18px; padding: 14px 16px 16px; font-size: 32px; }
  .greenwich-gallery .greenwich-decoration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .greenwich-gallery figcaption { font-size: 21px; }
  .greenwich-gallery .greenwich-poses { grid-template-columns: 1fr; gap: 0; }
  .greenwich-gallery .greenwich-pose-section > h2 { min-height: 0; }
  .greenwich-gallery .greenwich-pose-grid { width: min(100%, 320px); margin-inline: auto; }
  .greenwich-gallery .greenwich-navigation { padding: 12px; }
}
