/* Gallery stories lead with a title and readable copy beside supporting images. */
body.gallery-page { background: #f8f9fa; color: #0a192f; }
body.gallery-page::before { content: none; }
.gallery-page .gallery-editorial {
  max-width: 1600px;
  margin-inline: auto;
  padding: 124px clamp(24px, 5.5vw, 88px) 80px;
}
.gallery-page .gallery-kicker { color: #63707e; font-size: 11px; font-weight: 500; letter-spacing: .1em; }
.gallery-page .gallery-intro__copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 32px 64px; padding-block: 28px 56px; }
body.gallery-page #main h1 { margin: 0; font-size: clamp(40px, 5vw, 72px) !important; line-height: 1.1; letter-spacing: -.045em; }
.gallery-page .gallery-intro h1 > span { color: #007cff; }
.gallery-page .gallery-intro__copy > p { max-width: 32ch; color: #536171; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
.gallery-page .gallery-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid #d8dfe6; }
.gallery-page .gallery-story__copy { position: sticky; top: 112px; min-width: 0; padding-bottom: 8px; }
.gallery-page .gallery-story__index { display: block; margin-bottom: 20px; color: #007cff; font-size: 12px; letter-spacing: .08em; }
body.gallery-page #main .gallery-story h2 { margin: 0; font-size: clamp(30px, 3.2vw, 46px) !important; line-height: 1.16; letter-spacing: -.035em; overflow-wrap: anywhere; }
.gallery-page .gallery-story__description { max-width: 46ch; margin-top: 24px; color: #455566; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.gallery-page .gallery-story__description p { font-size: inherit; line-height: inherit; }
.gallery-page .gallery-story__description :is(p, ul, ol) + :is(p, ul, ol) { margin-top: 16px; }
.gallery-page .gallery-story__description :is(ul, ol) { padding-inline-start: 20px; list-style: revert; }
.gallery-page .gallery-story__description a { color: #075bbb; text-decoration: underline; text-underline-offset: 3px; }
.gallery-page .gallery-story__description :is(img, iframe, video) { max-width: 100%; height: auto; }
.gallery-page .gallery-story__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.gallery-page .gallery-story__images > a { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: #e7edf4; }
.gallery-page .gallery-story__images > a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-page .gallery-story__images img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.gallery-page .gallery-story__images > a:hover img { transform: scale(1.035); }
.gallery-page .gallery-story__images > a:focus-visible { outline: 3px solid #007cff; outline-offset: 4px; }
.gallery-page .gallery-story__expand { position: absolute; inset-inline-end: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f8f9fa; color: #0a192f; font-size: 20px; }
.gallery-page .gallery-empty { padding-block: 32px; color: #536171; }
.gallery-page .lg-backdrop, .gallery-page .lg-outer .lg-thumb-outer { background: #0a192f; }
@media (max-width: 900px) {
  .gallery-page .gallery-story { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; }
  .gallery-page .gallery-story__copy { position: static; }
}
@media (max-width: 760px) {
  .gallery-page .gallery-editorial { padding-top: 98px; padding-bottom: 48px; }
  .gallery-page .gallery-intro__copy { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 24px 36px; }
  .gallery-page .gallery-story { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px; }
  .gallery-page .gallery-story__index { margin-bottom: 14px; }
  .gallery-page .gallery-story__description { margin-top: 18px; font-size: 16px; }
  .gallery-page .gallery-story__images { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-page .gallery-story__images img { transition: none; }
  .gallery-page .gallery-story__images > a:hover img { transform: none; }
}
