.program-photo-layout:has(.program-gallery){display:grid;grid-template-columns:minmax(0,3fr) minmax(110px,1fr);gap:12px;align-items:stretch}.program-photo-layout .detail-photo{min-width:0;margin:0}.program-photo-layout:has(.program-gallery) .detail-photo{height:clamp(300px,40vw,560px)}.program-photo-layout .detail-photo>img{width:100%;height:100%;object-fit:cover}.program-gallery{display:grid;grid-auto-rows:minmax(100px,1fr);gap:12px;max-height:560px;overflow:auto;border-radius:18px;scrollbar-width:thin}.program-gallery a{display:block;min-height:0;overflow:hidden;border-radius:16px}.program-gallery img{display:block;width:100%;height:100%;min-height:110px;max-height:200px;object-fit:cover}.program-gallery a:focus-visible,.program-gallery a:hover{outline:3px solid #0075b5;outline-offset:-3px}.program-gallery-editor{margin-top:28px;padding-top:20px;border-top:1px solid #dce8ef}.program-gallery-saved{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-top:16px}.program-gallery-saved img{display:block;width:100%;height:95px;object-fit:cover;border-radius:12px;margin-bottom:7px}.trip-lightbox{width:min(1100px,94vw);max-width:94vw;max-height:94vh;padding:16px;border:0;border-radius:20px;background:#102d40;color:white}.trip-lightbox::backdrop{background:rgb(8 23 34 / 88%)}.trip-lightbox figure{margin:12px 0;text-align:center}.trip-lightbox img{width:100%;height:70vh;object-fit:contain}.trip-lightbox-controls{display:flex;gap:12px;align-items:center;justify-content:space-between}.trip-lightbox button{background:#0075b5;border:0;border-radius:25px;color:white;padding:12px 20px;cursor:pointer;font:inherit}.trip-lightbox button:focus-visible{outline:3px solid white;outline-offset:3px}.trip-lightbox figcaption{padding:8px}
@media(max-width:700px){.program-photo-layout:has(.program-gallery){grid-template-columns:1fr}.program-photo-layout:has(.program-gallery) .detail-photo{height:320px}.program-gallery{display:flex;overflow-x:auto;max-height:none;padding-bottom:4px}.program-gallery a{flex:0 0 120px;height:90px}.program-gallery img{min-height:0;height:90px}.trip-lightbox img{height:58vh}.trip-lightbox button{padding:10px 14px}}
