.lhn-gallery { padding: 7.2rem 0 8rem; background: #f4f6fa; scroll-margin-top: 9rem; }
.lhn-gallery [hidden], .lhn-viewer [hidden] { display: none !important; }
.lhn-gallery__heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3.2rem; }
.lhn-gallery__eyebrow { margin: 0 0 1.2rem; font-size: 1.2rem; font-weight: 700; letter-spacing: .18em; }
.lhn-gallery__eyebrow::before { content: ''; display: inline-block; width: 2.8rem; height: .3rem; margin: 0 1rem .3rem 0; background: #ffad00; }
.lhn-gallery__title { margin: 0 0 1.6rem; font-size: clamp(3.2rem, 4vw, 4.8rem); line-height: 1.12; font-weight: 300; }
.lhn-gallery__title span { font-weight: 700; }
.lhn-gallery__intro { margin: 0; max-width: 58rem; font-size: 1.7rem; line-height: 1.65; color: #4b5670; }
.lhn-gallery__count { flex-shrink: 0; font-size: 1.4rem; white-space: nowrap; color: #4b5670; padding-bottom: .5rem; }
.lhn-gallery__count span { color: #05164d; margin-left: 1rem; font-size: 2rem; }
.lhn-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.lhn-gallery__card { display: block; position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; border-radius: 1.2rem; background: #dce2ec; color: #fff; text-decoration: none; box-shadow: 0 4px 16px #05164d0a; }
.lhn-gallery__card::after { position: absolute; content: ''; inset: 0; background: linear-gradient(180deg, #05164d1a, transparent 30%, #05164d0a 48%, #05164dbf); pointer-events: none; }
.lhn-gallery__card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.lhn-gallery__card:hover img, .lhn-gallery__card:focus-visible img { transform: scale(1.045); }
.lhn-gallery__number { position: absolute; top: 1.4rem; left: 1.4rem; z-index: 1; padding: .4rem .8rem; border-radius: .4rem; background: #05164d66; font-size: 1.1rem; letter-spacing: .08em; }
.lhn-gallery__caption { position: absolute; z-index: 1; left: 1.8rem; bottom: 1.8rem; right: 5.6rem; font-size: 1.6rem; line-height: 1.35; font-weight: 700; }
.lhn-gallery__expand { display: grid; place-items: center; position: absolute; z-index: 1; right: 1.4rem; bottom: 1.4rem; width: 3.2rem; height: 3.2rem; font-size: 2.2rem; border-radius: 50%; background: #fff; color: #05164d; transition: background 200ms; }
.lhn-gallery__card:hover .lhn-gallery__expand { background: #ffad00; }
.lhn-gallery__more-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.lhn-gallery__more { padding: 1.4rem 2.4rem; border: 1px solid #05164d; border-radius: .6rem; background: transparent; color: #05164d; font-size: 1.5rem; font-weight: 700; cursor: pointer; }
.lhn-gallery__more:hover { background: #05164d; color: #fff; }
.lhn-gallery__card:focus-visible, .lhn-gallery__more:focus-visible { outline: 3px solid #ffad00; outline-offset: 4px; }
html.lhn-gallery-open { overflow: hidden; }
.lhn-viewer { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: max(1.2rem, env(safe-area-inset-top)) max(1.6rem, env(safe-area-inset-right)) max(1.2rem, env(safe-area-inset-bottom)) max(1.6rem, env(safe-area-inset-left)); background: #07122bf5; color: #fff; overflow: hidden; box-sizing: border-box; }
.lhn-viewer::backdrop { background: #030916f5; }
.lhn-viewer[open] { animation: lhn-gallery-reveal 180ms ease-out; }
.lhn-viewer__shell { width: 100%; height: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.lhn-viewer__header { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; flex-shrink: 0; }
.lhn-viewer__brand { margin: 0; color: #fff; font-weight: 700; font-size: 1.7rem; line-height: 1.5; }
.lhn-viewer__brand span { display: block; color: #b8c4da; font-size: 1.25rem; font-weight: 400; }
.lhn-viewer__tools { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
.lhn-viewer__counter { font-size: 1.3rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.lhn-viewer__control { display: grid; place-items: center; width: 4.8rem; height: 4.8rem; min-width: 44px; min-height: 44px; padding: 1.2rem; border: 1px solid #ffffff52; border-radius: 50%; color: #fff; background: #102243bf; cursor: pointer; transition: background 160ms, color 160ms; }
.lhn-viewer__control svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lhn-viewer__control:hover { background: #ffad00; color: #05164d; border-color: #ffad00; }
.lhn-viewer__control:disabled { opacity: .45; cursor: wait; }
.lhn-viewer__zoom { display: flex; justify-content: center; gap: .6rem; width: auto; padding: .8rem 1.2rem; border-radius: 2.4rem; font-size: 1.3rem; font-weight: 700; }
.lhn-viewer__zoom svg { width: 2.4rem; height: 2.4rem; }
.lhn-viewer__zoom[aria-pressed="true"] { background: #ffad00; color: #05164d; border-color: #ffad00; }
.lhn-viewer__zoom[aria-pressed="true"] .lhn-viewer__zoom-plus { display: none; }
.lhn-viewer button:focus-visible { outline: 3px solid #ffad00; outline-offset: 3px; }
.lhn-viewer__stage { position: relative; flex: 1; min-height: 0; }
.lhn-viewer__viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
.lhn-viewer__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; user-select: none; transition: transform 180ms ease-out; }
.lhn-viewer.is-zoomed .lhn-viewer__viewport { cursor: grab; touch-action: none; }
.lhn-viewer.is-zoomed .lhn-viewer__viewport.is-dragging { cursor: grabbing; }
.lhn-viewer__viewport.is-dragging .lhn-viewer__image { transition: none; }
.lhn-viewer__prev, .lhn-viewer__next { position: absolute; top: calc(50% - 2.4rem); z-index: 2; }
.lhn-viewer__prev { left: 0; }
.lhn-viewer__next { right: 0; }
.lhn-viewer__status { position: absolute; z-index: 3; bottom: 1rem; left: 50%; transform: translateX(-50%); max-width: 80%; margin: 0; padding: 1rem 1.6rem; border-radius: .6rem; background: #05164de6; font-size: 1.4rem; text-align: center; }
.lhn-viewer__footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-shrink: 0; padding: 0 .4rem; }
.lhn-viewer__caption { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.4; }
.lhn-viewer__hint { margin: 0; color: #b8c4da; font-size: 1.2rem; }
.lhn-viewer__thumbnails { position: relative; display: flex; flex-shrink: 0; gap: .8rem; overflow-x: auto; padding: .4rem; margin: 0 5.6rem; scrollbar-width: thin; scrollbar-color: #69778f transparent; }
.lhn-viewer__thumbnail { padding: 0; border: 2px solid transparent; border-radius: .6rem; background: #14264c; flex: 0 0 6.4rem; height: 4.8rem; overflow: hidden; cursor: pointer; opacity: .58; transition: opacity 160ms, border-color 160ms; }
.lhn-viewer.is-zoomed .lhn-viewer__thumbnails { display: none; }
.lhn-viewer__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lhn-viewer__thumbnail[aria-current="true"], .lhn-viewer__thumbnail:hover { opacity: 1; border-color: #ffad00; }
@keyframes lhn-gallery-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767px) {
  .lhn-gallery { padding: 4.8rem 0; }
  .lhn-gallery__heading { display: block; margin-bottom: 2.4rem; }
  .lhn-gallery__count { display: block; margin-top: 1.6rem; }
  .lhn-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
  .lhn-gallery__caption { left: 1rem; bottom: 1rem; right: 4rem; font-size: 1.25rem; }
  .lhn-gallery__number { top: .8rem; left: .8rem; font-size: 1rem; }
  .lhn-gallery__expand { right: .8rem; bottom: .8rem; width: 2.6rem; height: 2.6rem; font-size: 1.8rem; }
  .lhn-viewer { padding: max(.8rem, env(safe-area-inset-top)) max(.8rem, env(safe-area-inset-right)) max(.8rem, env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left)); }
  .lhn-viewer__shell { gap: .6rem; }
  .lhn-viewer__header { gap: .6rem; }
  .lhn-viewer__tools { gap: .6rem; }
  .lhn-viewer__brand { font-size: 1.4rem; }
  .lhn-viewer__brand span { display: none; }
  .lhn-viewer__counter { font-size: 1.1rem; letter-spacing: 0; }
  .lhn-viewer__control { width: 44px; height: 44px; padding: 10px; }
  .lhn-viewer__zoom { width: auto; padding: 8px; }
  .lhn-viewer__viewport { inset: 0; }
  .lhn-viewer__prev, .lhn-viewer__next { top: auto; bottom: 0; }
  .lhn-viewer__footer { padding: 0 .4rem; }
  .lhn-viewer__caption { font-size: 1.4rem; }
  .lhn-viewer__hint { display: none; }
  .lhn-viewer__thumbnails { margin: 0; }
  .lhn-viewer__status { bottom: 5.6rem; }
}
@media (max-width: 575px) {
  .lhn-gallery__grid { gap: 1.2rem; }
  .lhn-gallery__intro { font-size: 1.5rem; }
  .lhn-gallery__card { border-radius: .8rem; }
}
@media (max-height: 850px) {
  .lhn-viewer__shell { gap: .6rem; }
  .lhn-viewer__thumbnails { display: none; }
  .lhn-viewer__brand span { display: none; }
}
@media (max-height: 520px) {
  .lhn-viewer { padding-top: max(.6rem, env(safe-area-inset-top)); padding-bottom: max(.6rem, env(safe-area-inset-bottom)); }
  .lhn-viewer__header { min-height: 44px; }
  .lhn-viewer__caption { font-size: 1.2rem; }
  .lhn-viewer__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lhn-gallery *, .lhn-viewer, .lhn-viewer * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
