/* About page office photo gallery */
.about-gallery { margin: 0 0 30px; }
.about-gallery-stage { position: relative; background: #f1f3f2; border-radius: 8px; overflow: hidden; }
.about-gallery-open { display: block; position: relative; }
.about-gallery .about-gallery-main { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.about-gallery-enlarge { position: absolute; right: 12px; bottom: 12px; padding: 5px 12px; border-radius: 4px; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; }
.about-gallery .about-gallery-caption { margin: 10px 0; font-size: 13px; line-height: 1.5; color: #4b5656; }
.about-gallery-thumbnails { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.about-gallery-thumbnail { display: block; border: 2px solid transparent; border-radius: 4px; overflow: hidden; opacity: .7; }
.about-gallery-thumbnail:hover, .about-gallery-thumbnail[aria-current="true"] { opacity: 1; border-color: #607272; }
.about-gallery-thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.about-gallery a:focus-visible, .about-gallery button:focus-visible { outline: 3px solid #ac703b; outline-offset: 3px; }
.about-gallery .about-gallery-arrow, .about-gallery .about-gallery-close { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.about-gallery .about-gallery-arrow svg { display: block; flex-shrink: 0; width: 24px; height: 24px; pointer-events: none; }
.about-gallery .about-gallery-arrow[hidden] { display: none; }
.about-gallery-arrow { top: 50%; transform: translateY(-50%); }
.about-gallery-prev { left: 10px; }
.about-gallery-next { right: 10px; }
.about-gallery .about-gallery-arrow:hover, .about-gallery .about-gallery-close:hover { background: #607272; }
.about-gallery-dialog { box-sizing: border-box; width: min(1100px, 96vw); max-width: 96vw; max-height: 94vh; padding: 54px 60px 15px; border: 0; border-radius: 8px; background: #151919; color: #fff; }
.about-gallery-dialog:not([open]) { display: none; }
.about-gallery-dialog::backdrop { background: rgba(0,0,0,.88); }
.about-gallery-dialog figure { margin: 0; }
.about-gallery .about-gallery-full { display: block; width: 100%; height: 70vh; object-fit: contain; }
.about-gallery-dialog-caption { padding-top: 12px; text-align: center; font-size: 14px; line-height: 1.5; }
.about-gallery .about-gallery-close { top: 6px; right: 10px; }
@media (max-width: 600px) {
  .about-gallery-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .about-gallery-dialog { padding: 54px 10px 15px; }
  .about-gallery .about-gallery-full { height: 65vh; }
}
