/* Previous workshop gallery. Image cards also support animated GIFs. */
.workshop-gallery { padding: 88px 0 72px; background: #f3f7fc; color: #203858; }
.gallery-header { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.gallery-intro { max-width: 680px; }
.gallery-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: #5575a6; font: 700 10px var(--font-primary); letter-spacing: .14em; }
.gallery-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #7597cf; box-shadow: 0 0 0 5px #e0eafa; }
.gallery-intro h2 { margin: 0; color: #182f50; font: 700 clamp(32px, 3.7vw, 46px)/1.15 var(--font-primary); letter-spacing: -.045em; }
.gallery-intro h2 em { color: #486c9f; font-family: Georgia, serif; font-weight: 400; }
.gallery-intro > p:last-child { max-width: 590px; margin: 14px 0 0; color: #71839a; font-size: 14px; line-height: 1.7; }
.gallery-header-note { display: flex; align-items: center; gap: 12px; flex: none; padding: 11px 15px; border: 1px solid #dce6f3; border-radius: 12px; background: #fff; }
.gallery-note-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eaf1fb; color: #4f76b5; font-size: 17px; }
.gallery-header-note strong, .gallery-header-note small { display: block; }
.gallery-header-note strong { color: #3c5579; font-size: 11px; }.gallery-header-note small { margin-top: 3px; color: #8a9bb0; font-size: 10px; }
.gallery-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 16px; align-items: stretch; }
.gallery-item { display: flex; flex-direction: column; overflow: hidden; min-width: 0; margin: 0; border: 1px solid #e1e9f3; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px #294c7610; }
.gallery-feature { grid-row: span 2; }
.gallery-image-link { position: relative; display: block; overflow: hidden; background: #dce5ef; }
.gallery-feature .gallery-image-link { flex: 1 1 auto; min-height: 420px; }
.gallery-photo .gallery-image-link { height: 230px; }
.gallery-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-feature .gallery-image-link img { position: absolute; inset: 0; }
.gallery-photo .gallery-image-link img { object-position: center 35%; }
.gallery-image-link:hover img { transform: scale(1.035); }
.gallery-view { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff70; border-radius: 50%; background: #1226429c; color: #fff; font-size: 15px; }
.gallery-caption { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 18px 20px 20px; }
.gallery-caption-label { display: flex; align-items: center; gap: 7px; color: #7591b7; font: 700 9px var(--font-primary); letter-spacing: .1em; }
.gallery-caption-label span { width: 17px; height: 1px; background: #c2d1e4; }
.gallery-caption h3 { margin: 8px 0 4px; color: #263f63; font: 700 17px var(--font-primary); letter-spacing: -.02em; }
.gallery-caption p { margin: 0; color: #8191a5; font-size: 11px; line-height: 1.55; }
.gallery-caption-number { flex: none; color: #a3b2c7; font: 700 10px var(--font-primary); white-space: nowrap; }
.gallery-video-frame { position: relative; overflow: hidden; background: #172b48; }
.gallery-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 260px; background: #172b48; object-fit: contain; }
.gallery-video-label { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #ffffff3b; border-radius: 30px; background: #172b48bd; color: #fff; font: 700 9px var(--font-primary); letter-spacing: .07em; pointer-events: none; }
.gallery-video-label i { font-size: 14px; }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 27px; padding-top: 20px; border-top: 1px solid #dce6f2; }
.gallery-bottom > span { color: #8297b3; font: 700 10px var(--font-primary); letter-spacing: .09em; }.gallery-bottom > span i { margin-right: 6px; color: #6e93cb; font-size: 14px; }
.gallery-bottom a { color: #41699f; font-size: 12px; font-weight: 700; }.gallery-bottom a i { margin-left: 5px; }
.workshop-gallery a:focus-visible, .workshop-gallery video:focus-visible { outline: 3px solid #4b83ed; outline-offset: 3px; }
@media (max-width: 767px) { .workshop-gallery { padding: 62px 0; }.gallery-header { align-items: flex-start; flex-direction: column; gap: 20px; }.gallery-grid { grid-template-columns: 1fr; }.gallery-feature { grid-row: auto; }.gallery-feature .gallery-image-link { min-height: 0; aspect-ratio: 16 / 10; }.gallery-photo .gallery-image-link { height: auto; aspect-ratio: 16 / 10; }.gallery-video-frame video { max-height: none; }.gallery-bottom { align-items: flex-start; flex-direction: column; } }
@media (max-width: 480px) { .gallery-caption { padding: 16px; }.gallery-intro > p:last-child { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .gallery-image-link img { transition: none; }.gallery-image-link:hover img { transform: none; } }
