/* Photographs retain their full composition, including portrait-format originals. */
.photo-intro-links{display:flex;flex-wrap:wrap;gap:16px 28px;margin-top:24px}
.photo-page-cover img{aspect-ratio:auto;height:auto;object-fit:contain;border-radius:4px}
.home-practice .home-photo-link{display:flex;width:fit-content;gap:14px;align-items:center;min-height:44px;margin-top:18px;color:#fff!important;font-size:16px;text-decoration:underline;text-underline-offset:5px}
.home-practice .home-photo-link:hover{color:#ffbc81!important}
.home-practice .home-photo-link:focus-visible{outline:3px solid #fff;outline-offset:4px}
.photo-cover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-bottom:30px}
.photo-cover-card{min-width:0;border-bottom:1px solid var(--line);padding-bottom:20px;color:var(--navy)!important}
.photo-cover-card figure{margin:0;aspect-ratio:4/3;background:var(--cream);border:1px solid var(--line);border-radius:4px;overflow:hidden}
.photo-cover-card img{width:100%;height:100%;object-fit:contain}
.photo-cover-card>span{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;font-size:22px;line-height:1.3}
.photo-cover-card .icon{flex-shrink:0;color:var(--blue)}
.photo-cover-card:hover strong{text-decoration:underline;text-underline-offset:5px}
.photo-cover-card:focus-visible{outline:3px solid #c65e13;outline-offset:4px}
@media(max-width:650px){.photo-cover-grid{grid-template-columns:1fr;gap:32px}.photo-cover-card>span{font-size:23px}}
#photo-collections{padding-block:clamp(60px,7vw,100px);scroll-margin-top:110px}
#photo-collections [hidden]{display:none!important}
#photo-collections .photo-collections-heading{display:grid;grid-template-columns:1.15fr 1fr;gap:60px;align-items:end;margin-bottom:35px}
#photo-collections .photo-collections-heading>div,#photo-collections .photo-collections-heading>p{min-width:0}
#photo-collections .photo-collections-heading h2{font-size:clamp(38px,4.1vw,60px);line-height:1.1;letter-spacing:-.045em;margin:0;max-width:650px;color:var(--navy,#0a3147)}
#photo-collections .photo-collections-heading h2 em{font-style:normal;color:var(--blue,#006994)}
#photo-collections .photo-collections-intro{font-size:17px;line-height:1.8;color:var(--muted,#4c6572);margin:0;max-width:520px}
#photo-collections .photo-collection-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
#photo-collections button.photo-filter{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 16px;border:1px solid #b6c9d3;border-radius:6px;background:#fff;color:#163a4d;font:550 15px/1.45 Plex,system-ui,sans-serif;text-align:left;text-transform:none;letter-spacing:normal;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
#photo-collections .photo-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:50%;background:#edf3f6;color:#31596d;font-size:12px;font-weight:600;line-height:1}
#photo-collections button.photo-filter:is(:hover,:active,[aria-pressed="true"]){background:var(--navy,#0a3147)!important;border-color:var(--navy,#0a3147)!important;color:#fff!important}
#photo-collections button.photo-filter:is(:hover,:active,[aria-pressed="true"]) .photo-filter-count{background:#315467;color:#fff!important}
#photo-collections button.photo-filter:focus-visible{background:var(--navy,#0a3147)!important;color:#fff!important;outline:3px solid #c65e13;outline-offset:3px}
#photo-collections button.photo-filter:focus-visible .photo-filter-count{background:#315467;color:#fff!important}
#photo-collections .photo-collection-status{font-size:14px;line-height:1.6;color:#4c6572;margin:0 0 30px;min-height:23px}
#photo-collections .photo-collection-groups{display:grid;gap:72px}
#photo-collections .photo-collection{min-width:0;padding-top:28px;border-top:1px solid var(--line,#d4e0e6)}
#photo-collections .photo-collection-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:32px;margin-bottom:28px}
#photo-collections .photo-collection-heading h3{font-size:clamp(27px,2.5vw,35px);line-height:1.2;letter-spacing:-.025em;color:var(--navy,#0a3147);margin:0}
#photo-collections .photo-collection-intro{font-size:16px;line-height:1.75;color:#4c6572;max-width:560px}
#photo-collections .photo-collection-intro p{font-size:inherit;line-height:inherit;margin:0}
#photo-collections .photo-collection-intro p+p{margin-top:12px}
.gallery-grid.photo-collection-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}
.photo-collection-gallery .gallery-item{min-width:0;margin:0;align-self:start}
.photo-collection-gallery .gallery-item>button{position:relative;display:block;width:100%;height:auto;aspect-ratio:4/3;overflow:hidden;padding:0;border:1px solid #e0e3de;border-radius:4px;background:var(--cream,#f5f4ee);color:var(--navy,#0a3147);cursor:zoom-in}
.photo-collection-gallery .gallery-item>button>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none!important;transition:none}
.photo-collection-gallery .gallery-item>button:is(:hover,:active){background:var(--navy,#0a3147)!important;color:#fff!important;border-color:var(--navy,#0a3147)}
.photo-collection-gallery .gallery-item>button:focus-visible{outline:3px solid #c65e13;outline-offset:4px}
.photo-collection-gallery .gallery-expand{right:12px;bottom:12px;width:36px;height:36px;background:#fff;color:var(--navy,#0a3147);border:1px solid #cad9e1;box-shadow:0 2px 8px #0a314719}
.photo-collection-gallery .gallery-expand .icon{width:18px;height:18px;color:inherit}
.photo-collection-gallery .gallery-item figcaption{font-size:16px;line-height:1.6;color:#4c6572;margin:13px 0 0;overflow-wrap:anywhere}
@media(max-width:1000px){
 #photo-collections .photo-collections-heading{gap:36px}
 .gallery-grid.photo-collection-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}
}
@media(max-width:650px){
 #photo-collections{padding-block:58px;scroll-margin-top:95px}
 #photo-collections .photo-collections-heading{grid-template-columns:1fr;gap:22px;margin-bottom:27px}
 #photo-collections .photo-collections-heading h2{font-size:clamp(36px,9.7vw,48px);line-height:1.12}
 #photo-collections .photo-collections-intro{font-size:16px;line-height:1.75;max-width:none}
 #photo-collections .photo-collection-filters{gap:9px;margin-bottom:18px}
 #photo-collections button.photo-filter{font-size:14px;min-height:46px;padding:10px 13px;gap:8px}
 #photo-collections .photo-collection-status{font-size:14px;margin-bottom:24px}
 #photo-collections .photo-collection-groups{gap:52px}
 #photo-collections .photo-collection{padding-top:24px}
 #photo-collections .photo-collection-heading{grid-template-columns:1fr;gap:14px;margin-bottom:23px}
 #photo-collections .photo-collection-heading h3{font-size:28px}
 .gallery-grid.photo-collection-gallery{grid-template-columns:minmax(0,1fr);gap:28px}
 .photo-collection-gallery .gallery-item figcaption{font-size:16px;line-height:1.6;margin-top:12px}
}
@media(prefers-reduced-motion:reduce){
 #photo-collections button.photo-filter{transition:none}
 .photo-collection-gallery .gallery-item>button>img{transform:none!important;transition:none!important}
}
@media(forced-colors:active){
 #photo-collections button.photo-filter{border:1px solid ButtonText}
 #photo-collections button.photo-filter[aria-pressed="true"]{outline:2px solid ButtonText;outline-offset:2px}
 .photo-collection-gallery .gallery-item>button{border:1px solid ButtonText}
}
