/* 3.23: compact archival record; responsive layout, typography and accessible focus */
.cemr-record-v323{box-sizing:border-box;max-width:1160px!important;padding-inline:clamp(14px,3vw,32px);margin:0 auto!important}
.cemr-record-v323 *, .cemr-record-v323 *::before,.cemr-record-v323 *::after{box-sizing:border-box}
.cemr-record-v323 .cemr319-card{width:100%;min-width:0}
.cemr-record-v323 .cemr320-columns{display:grid!important;grid-template-columns:minmax(0,43fr) minmax(0,57fr)!important;gap:clamp(22px,3.3vw,44px)!important;align-items:start!important}
.cemr-record-v323 .cemr320-left,.cemr-record-v323 .cemr320-right{display:flex!important;flex-direction:column!important;gap:clamp(20px,2.5vw,32px)!important;min-width:0;align-items:stretch!important}
.cemr-record-v323 .cemr29-photo,.cemr-record-v323 .cemr29-details,.cemr-record-v323 .cemr29-map-section,.cemr-record-v323 .cemr29-documents{width:100%;min-width:0;position:static!important;float:none!important;grid-area:auto!important;margin:0!important}
.cemr-record-v323 .cemr29-photo-hero{display:flex!important;max-height:560px!important;min-height:0!important;height:auto!important;align-items:center;justify-content:center;overflow:hidden;background:#f5f4ef;border-radius:9px}
.cemr-record-v323 .cemr29-photo-hero img{width:auto!important;max-width:100%!important;height:auto!important;max-height:560px!important;object-fit:contain!important;display:block}
.cemr-record-v323 .cemr29-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cemr-record-v323 .cemr29-thumbs a{width:68px;height:68px;display:block;overflow:hidden;border-radius:5px}
.cemr-record-v323 .cemr29-thumbs img{width:100%;height:100%;object-fit:cover}
.cemr-record-v323 .cemr29-details{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.cemr-record-v323 .cemr29-facts{margin:0}
.cemr-record-v323 .cemr29-facts>div{display:grid;grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:12px;align-items:baseline}
.cemr-record-v323 .cemr29-facts dt,.cemr-record-v323 .cemr29-facts dd{min-width:0;overflow-wrap:anywhere}
.cemr-record-v323 .cemr29-documents{padding-top:22px!important;border-top:1px solid #dfe6dc!important}
.cemr-record-v323 .cemr29-map-section{padding-top:22px!important;border-top:1px solid #dfe6dc!important}
.cemr-record-v323 .cemr29-map-wrap{width:100%;overflow:hidden;border-radius:8px}
.cemr-record-v323 .cemr29-map-wrap,.cemr-record-v323 .cemr29-map-wrap .cemr-map{height:260px!important;min-height:260px!important}
.cemr-record-v323 .cemr29-map-wrap .leaflet-tooltip{display:none!important}
.cemr-record-v323 .cemr29-inscription-text{white-space:pre-wrap;unicode-bidi:plaintext;text-align:start;overflow-wrap:anywhere}
.cemr-record-v323 .cemr29-prewrap[dir=auto]{unicode-bidi:plaintext;text-align:start}
.cemr-record-v323 .cemr29-description img{max-width:100%;height:auto}
.cemr-record-v323 .cemr29-description table{display:block;max-width:100%;overflow-x:auto}
.cemr-record-v323 .cemr320-source-link{display:inline-flex;max-width:100%;overflow-wrap:anywhere;white-space:normal;padding:2px 0}
.cemr-record-v323 :is(a,button,summary):focus-visible{outline:3px solid #a48b50;outline-offset:3px}
.cemr-record-v323 .cemr29-actions{display:flex;flex-wrap:wrap;gap:8px}
.cemr-record-v323 .cemr29-photo-caption{font-size:12px;color:#69766c;margin-top:7px}
@media(max-width:800px){.cemr-record-v323 .cemr320-columns{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}.cemr-record-v323 .cemr29-photo-hero img{max-height:480px!important}.cemr-record-v323 .cemr29-header{display:block!important}.cemr-record-v323 .cemr29-actions{margin-top:14px}}
@media(max-width:440px){.cemr-record-v323 .cemr29-facts>div{grid-template-columns:minmax(0,1fr);gap:3px}.cemr-record-v323 .cemr29-photo-hero img{max-height:390px!important}.cemr-record-v323 .cemr29-map-wrap,.cemr-record-v323 .cemr29-map-wrap .cemr-map{height:220px!important;min-height:220px!important}}
@media print{.cemr-record-v323 .cemr320-columns{display:block!important}.cemr-record-v323 .cemr29-map-section,.cemr-record-v323 .cemr29-actions,.cemr-record-v323 .cemr319-tech{display:none!important}.cemr-record-v323 .cemr29-photo-hero img{max-height:320px!important}}

.cemr-memorial-editor{border:1px solid #d9e1da;border-radius:8px;padding:14px;margin:12px 0;background:#fafcf9}.cemr-memorial-editor h4{margin:0 0 12px}.cemr-memorial-editor label{display:block;font-weight:600}.cemr-memorial-editor textarea,.cemr-memorial-editor input{font-weight:400;margin-top:5px}.cemr-memorial-preview img{width:70px;height:70px;object-fit:cover;margin:8px 5px 0 0}.cemr335-memorial-person{padding:12px 0;border-bottom:1px solid #e3e9e3}.cemr335-memorial-person:last-child{border-bottom:0}.cemr335-memorial-person h3{margin:0 0 8px}.cemr335-memorial-tag{display:inline-block;border-radius:4px;padding:4px 9px;margin:3px 0 9px;color:#fff;font-size:12px;font-weight:700}.cemr335-memorial-photos{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.cemr335-memorial-photos img{width:115px;height:100px;object-fit:cover;border-radius:6px}.cemr335-memorial-pre{white-space:pre-wrap;overflow-wrap:anywhere}