.up-language-detail .ld-photo-gallery__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.up-language-detail .ld-photo-gallery__heading h2{margin:0}.up-language-detail .ld-photo-gallery__heading a{font-size:12px;font-weight:600;color:#6540b4}.ld-photo-gallery__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ld-photo-gallery__item{position:relative;display:block;aspect-ratio:4/3;min-width:0;overflow:hidden;border:1px solid #d5c9e6;border-radius:5px;background:#f3eff8}.ld-photo-gallery__item img{display:block;width:100%;height:100%;object-fit:contain}.ld-photo-gallery__item>span{position:absolute;right:7px;bottom:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#503381;box-shadow:0 1px 4px #0002}.ld-photo-gallery__item:hover{border-color:#6540b4}.ld-photo-gallery__item:focus-visible{outline:2px solid #6540b4;outline-offset:3px}.ld-photo-gallery__source{font-size:11px;color:#736983;margin:10px 0 0}.ld-photo-gallery__dialog{border:1px solid #b7a5d2;border-radius:8px;background:white;padding:14px;max-width:min(960px,calc(100vw - 32px));width:max-content;max-height:calc(100vh - 32px);box-sizing:border-box}.ld-photo-gallery__dialog::backdrop{background:#171125d9}.ld-photo-gallery__toolbar,.ld-photo-gallery__caption{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#302641;font-size:13px}.ld-photo-gallery__toolbar{margin-bottom:10px}.ld-photo-gallery__toolbar button{background:#ede6f7;color:#472b75;border:1px solid #ad96cc;border-radius:4px;padding:6px 12px;font:inherit;cursor:pointer}.ld-photo-gallery__viewer{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;align-items:center}.ld-photo-gallery__viewer img{display:block;max-width:100%;max-height:70vh;width:auto;height:auto;object-fit:contain;margin:auto}.ld-photo-gallery__viewer button{height:48px;min-width:36px;padding:0;background:#ede6f7;border:1px solid #b7a5d2;color:#503381;font-size:30px;cursor:pointer;border-radius:4px}.ld-photo-gallery__caption{margin-top:8px}.ld-photo-gallery__caption p{margin:0;font-size:12px}.ld-photo-gallery__caption a{white-space:nowrap;color:#6540b4;font-size:12px}.ld-photo-gallery__dialog button:focus-visible,.ld-photo-gallery__caption a:focus-visible{outline:2px solid #6540b4;outline-offset:2px}@media(max-width:760px){.ld-photo-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ld-photo-gallery__dialog{padding:10px;max-width:calc(100vw - 16px)}.ld-photo-gallery__viewer{grid-template-columns:28px minmax(0,1fr) 28px;gap:4px}.ld-photo-gallery__viewer button{min-width:28px}.ld-photo-gallery__viewer img{max-height:65vh}.ld-photo-gallery__caption{align-items:flex-start;gap:8px}.ld-photo-gallery__source{line-height:1.6}}
