/* Gallery Page only. The hierarchy intentionally mirrors the Event archive. */
.lp-mode-internal .lp-gallery { background: var(--lp-internal-gray); color: var(--lp-internal-blue); }
.lp-gallery__intro { background: var(--lp-internal-blue); color: #fff; }
.lp-gallery__intro-inner { min-height: 236px; padding: 51px 16px 28px; }
.lp-gallery__intro h1 { margin: 0; font-size: 46px; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.lp-gallery__intro p { max-width: 38rem; margin: 28px 0 0; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.25; }
.lp-gallery__library { padding: 38px 16px 72px; }
.lp-gallery__inner { width: min(100%, var(--lp-internal-core-width)); margin: auto; }
.lp-gallery__empty { margin: 0; padding: 38px 24px; background: rgba(0,40,70,.08); font-size: 18px; line-height: 1.45; }
.lp-gallery__empty p { margin: 0; }

.lp-gallery-year { min-width: 0; }
.lp-gallery-year + .lp-gallery-year { margin-top: 56px; }
.lp-gallery-year__label { margin: 0 0 18px; font-size: 72px; font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.lp-gallery-year__events { min-width: 0; border-top: 1px solid rgba(0,40,70,.3); }
.lp-gallery-event { min-width: 0; padding: 22px 0 34px; border-bottom: 1px solid rgba(0,40,70,.3); scroll-margin-top: 96px; }
.lp-gallery-event--requested { background: rgba(0,40,70,.035); }
.lp-gallery-event__header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 20px; }
.lp-gallery-event__header h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.18; }
.lp-gallery-event__header h3 a { color: inherit; text-decoration: none; }
.lp-gallery-event__header h3 a:hover,
.lp-gallery-event__header h3 a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.lp-gallery-event__header p { margin: 9px 0 0; color: rgba(0,40,70,.72); font-size: 15px; line-height: 1.35; }
.lp-gallery-event__count { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid rgba(0,40,70,.28); font-size: 14px; font-weight: 700; }

.lp-gallery-event__media { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 20px; }
.lp-gallery-event__media-item { min-width: 0; margin: 0; }
.lp-gallery-event__image-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.lp-gallery-event__media img,
.lp-gallery-event__media video { display: block; width: 100%; aspect-ratio: 4 / 3; background: rgba(0,40,70,.08); object-fit: cover; }
.lp-gallery-event__media img { transition: transform 220ms ease, opacity 220ms ease; }
.lp-gallery-event__image-button:hover img,
.lp-gallery-event__image-button:focus-visible img { opacity: .9; transform: scale(.985); }
.lp-gallery-event__media figcaption { margin-top: 7px; font-size: 13px; line-height: 1.3; }
.lp-gallery-event__media-item[hidden] { display: none; }
.lp-gallery-event__more,
.lp-gallery__events-more { min-height: 46px; margin-top: 20px; padding: 0 18px; border: 1px solid var(--lp-internal-blue); background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.lp-gallery__events-more { width: 100%; margin-top: 34px; }
.lp-gallery-general { margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(0,40,70,.3); }
.lp-gallery-general h2 { margin: 0 0 20px; font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.lp-gallery-general__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.lp-gallery-general__item { min-width: 0; margin: 0; }
.lp-gallery-general__item video { display: block; width: 100%; aspect-ratio: 16 / 9; background: rgba(0,40,70,.08); object-fit: cover; }
.lp-gallery-general__item figcaption { display: grid; gap: 4px; margin-top: 8px; font-size: 14px; line-height: 1.35; }
.lp-gallery-general__item figcaption span { color: rgba(0,40,70,.72); }
.lp-gallery__events-more[hidden],
.lp-gallery-event[hidden],
.lp-gallery-year[hidden] { display: none; }
.lp-gallery-event__more:focus-visible,
.lp-gallery__events-more:focus-visible,
.lp-gallery-event__image-button:focus-visible { outline: 3px solid var(--lp-internal-red); outline-offset: 3px; }

@media (min-width: 64rem) {
	.lp-gallery__intro-inner { width: min(100%, var(--lp-internal-core-width)); min-height: 320px; margin: auto; padding: 83px var(--lp-internal-gutter) 42px; }
	.lp-gallery__intro h1 { font-size: 64px; }
	.lp-gallery__intro p { margin-top: 42px; font-size: 20px; }
	.lp-gallery__library { padding: 64px var(--lp-internal-gutter) 104px; }
	.lp-gallery-year { display: grid; grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr); gap: 34px; }
	.lp-gallery-year + .lp-gallery-year { margin-top: 72px; }
	.lp-gallery-year__label { position: sticky; top: 104px; align-self: start; margin: 0; font-size: clamp(92px, 8vw, 124px); line-height: .82; }
	.lp-gallery-event { padding: 28px 0 42px; }
	.lp-gallery-event__header { grid-template-columns: minmax(0,1fr) 56px; gap: 36px; }
	.lp-gallery-event__header h3 { max-width: 900px; font-size: 31px; line-height: 1.16; }
	.lp-gallery-event__header p { margin-top: 10px; font-size: 17px; }
	.lp-gallery-event__count { min-width: 52px; min-height: 52px; font-size: 15px; }
	.lp-gallery-event__media { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
	.lp-gallery-event__media img,
	.lp-gallery-event__media video { aspect-ratio: 1.36 / 1; }
	.lp-gallery-event__more { margin-top: 24px; }
	.lp-gallery__events-more { width: 188px; margin: 48px 0 0 264px; }
	.lp-gallery-general { margin-top: 72px; padding-top: 42px; }
	.lp-gallery-general h2 { margin-bottom: 26px; font-size: 42px; }
	.lp-gallery-general__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.lp-gallery-event__media img { transition: none; }
	.lp-gallery-event__image-button:hover img,
	.lp-gallery-event__image-button:focus-visible img { transform: none; }
}
