.gallery-page [hidden] { display: none !important; }
.gallery-content { padding-block: 32px 72px; }
.album-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.album-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; min-height: 44px; padding: 9px 16px; font-size: 13px; font-weight: 600; }
.album-filters button span { font-size: 11px; font-weight: 500; opacity: .8; }
.album-filters button[aria-pressed='true'] { background: var(--green); color: #fff; border-color: var(--green); }
.album-filters button[aria-pressed='false']:hover { background: var(--green-light); }
.album-result-count { font-size: 12px; color: var(--muted); padding-top: 14px; }
.album-section { margin-top: 38px; }
.album-section + .album-section { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); }
.album-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 24px; }
.album-heading .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.album-heading .eyebrow svg { width: 16px; height: 16px; }
.album-heading h2 { font-size: 30px; }
.album-heading p:not(.eyebrow) { color: var(--muted); margin-top: 12px; font-size: 14px; }
.album-heading > a { flex-shrink: 0; padding-bottom: 3px; }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.album-photo { padding: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #f5f7f2; text-align: left; min-width: 0; }
.album-photo > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.album-photo-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; background: #fff; font-size: 13px; font-weight: 600; }
.album-photo-caption > span { display: flex; gap: 12px; align-items: center; min-width: 0; }
.album-photo-caption small { font-size: 11px; color: var(--muted); font-weight: 400; }
.album-photo-caption svg { width: 17px; height: 17px; color: var(--green); }
.album-photo:hover { border-color: #afc4b5; box-shadow: 0 4px 16px #143f3010; }
.album-viewer { width: min(1180px, calc(100% - 48px)); max-width: none; height: min(840px, calc(100dvh - 48px)); max-height: none; padding: 20px; border: 1px solid #ffffff35; border-radius: 6px; background: #142a21; color: #fff; overflow: hidden; }
.album-viewer::backdrop { background: #07120eeb; }
.album-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 58px; }
.album-viewer-toolbar h2 { font-family: var(--sans); font-size: 18px; color: #fff; line-height: 1.4; }
#album-viewer-count { display: block; font-size: 12px; color: #c8d6cd; margin-top: 5px; }
.album-viewer-tools { display: flex; gap: 8px; }
.album-viewer .icon-button { background: #ffffff12; border-color: #ffffff35; color: #fff; flex-shrink: 0; }
.album-viewer .icon-button:hover { background: #ffffff25; }
.album-viewer-stage { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 16px; align-items: center; height: calc(100% - 74px); margin-top: 16px; }
#album-full-photo { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@media (max-width: 900px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 600px) {
  .gallery-content { padding-block: 24px 48px; }
  .album-filters { gap: 8px; }
  .album-filters button { font-size: 12px; padding-inline: 12px; gap: 8px; }
  .album-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .album-heading h2 { font-size: 27px; }
  .album-grid { grid-template-columns: 1fr; }
  .album-photo-caption { font-size: 14px; }
  .album-viewer { width: calc(100% - 20px); height: calc(100dvh - 32px); padding: 12px; }
  .album-viewer-toolbar h2 { font-size: 15px; }
  .album-viewer-stage { display: block; padding-bottom: 56px; }
  .album-previous, .album-next { position: absolute; bottom: 0; }
  .album-previous { left: calc(50% - 52px); }
  .album-next { right: calc(50% - 52px); }
}
