.gallery{border:1px solid #ddd;border-radius:18px;overflow:hidden;background:#f5f3f0}.gallery-slide{margin:0}.gallery-slide[hidden]{display:none}.gallery-slide img{width:100%;height:520px;object-fit:contain;display:block;background:#222}.gallery-slide figcaption{padding:22px 28px}.gallery-slide figcaption strong{font-size:1.2rem}.gallery-slide figcaption p{margin:8px 0 0}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:24px;padding:0 20px 22px}.gallery-count{font-variant-numeric:tabular-nums}@media(max-width:600px){.gallery-slide img{height:340px}.gallery-slide figcaption{padding:18px}.gallery-controls .btn{min-width:60px}}
/* Preserve the participant, hose and training fire in the new portrait photos. */
.gallery-field-photo img{height:auto;aspect-ratio:16/9;object-fit:cover;object-position:50% 30%}
@media(max-width:600px){.gallery-field-photo img{height:auto;aspect-ratio:16/9;object-position:50% 30%}}

.gallery-field-photo:last-child img{object-position:50% 24%}


