.photo-gallery { background: #f3f8fc; }
.photo-gallery > .main-container { max-width: 1170px; padding: 0 24px; }
.photo-gallery .section-title { margin-bottom: 32px; }
.photo-gallery .section-title h2 { color: #005b9f; }
.gallery-intro { max-width: 560px; margin: 12px auto 0; color: #264c51; font-size: 18px; line-height: 1.6; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photo-grid > a { position: relative; display: block; min-width: 0; height: 220px; overflow: hidden; border-radius: 12px; background: #d9e9f5; }
.photo-grid > a:first-child { grid-row: span 2; height: 456px; }
.photo-grid > a > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.photo-grid > a[hidden] { display: none; }
.gallery-photo-label { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; background: #fff; color: #164465; font-size: 13px; font-weight: 600; }
.photo-grid > a:hover .gallery-photo-label { background: #e8f3fc; }
.photo-grid > a:focus-visible, .gallery-toggle:focus-visible { outline: 3px solid #005b9f; outline-offset: 4px; }
.gallery-actions { margin-top: 28px; text-align: center; }
.gallery-toggle { min-height: 48px; padding: 12px 24px; border: 1px solid #005b9f; border-radius: 6px; background: transparent; color: #005b9f; font: inherit; font-weight: 600; cursor: pointer; }
.gallery-toggle[hidden] { display: none; }
.gallery-toggle:hover { background: #005b9f; color: #fff; }
@media (max-width: 991px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-grid > a { height: 200px; }
  .photo-grid > a:first-child { height: 416px; }
}
@media (max-width: 600px) {
  .photo-gallery > .main-container { padding: 0 20px; }
  .photo-gallery .section-title h2 { font-size: 28px; line-height: 1.15; }
  .gallery-intro { font-size: 16px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .photo-grid > a, .photo-grid > a:first-child { grid-row: auto; height: auto; aspect-ratio: 3 / 4; }
  .gallery-photo-label { bottom: 8px; right: 8px; padding: 6px 8px; font-size: 12px; gap: 5px; }
}
