/* Cemetery Registry 2.9 — record-first responsive detail view. Only affects single records. */
.cemr-record-v29{--cr-ink:#27312a;--cr-green:#355841;--cr-line:#e2e7e1;--cr-muted:#728075;--cr-soft:#f5f7f3;max-width:1160px!important;margin-top:24px!important;color:var(--cr-ink)!important;line-height:1.55}
.cemr-record-v29 .cemr29-breadcrumb{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:0 0 22px;color:var(--cr-muted);font-size:13px}.cemr-record-v29 .cemr29-breadcrumb a{color:#526b58;text-decoration:none}
.cemr-record-v29 .cemr29-header{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:0 0 24px;border-bottom:1px solid var(--cr-line);margin:0 0 28px}
.cemr-record-v29 .cemr29-heading{min-width:0;flex:1}.cemr-record-v29 .cemr29-eyebrow{display:flex;gap:10px;align-items:center;text-transform:uppercase;letter-spacing:.105em;font-size:11px;color:var(--cr-muted);font-weight:750;margin:0 0 9px}.cemr-record-v29 .cemr29-id{background:#eaf0ea;border-radius:5px;padding:3px 7px;letter-spacing:0;color:#425d49}
.cemr-record-v29 .cemr29-heading h1{margin:0 0 12px;font-size:clamp(28px,3vw,40px);letter-spacing:-.028em;line-height:1.17;font-weight:760;color:#263229;overflow-wrap:anywhere}.cemr-record-v29 .cemr29-location{margin:0;color:#68766b;font-size:14px}
.cemr-record-v29 .cemr29-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:430px}
.cemr-record-v29 .cemr29-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border:1px solid #dbe3dc;border-radius:9px;background:#fff;color:#3e5b45;text-decoration:none;font:650 13px/1.3 system-ui,-apple-system,sans-serif;cursor:pointer;min-height:42px;transition:background-color .16s,border-color .16s;white-space:normal;text-align:center}.cemr-record-v29 .cemr29-button:hover,.cemr-record-v29 .cemr29-button:focus-visible{background:#eef3ee;border-color:#bbcbbd}.cemr-record-v29 .cemr29-button--primary{background:var(--cr-green);color:#fff;border-color:var(--cr-green)}.cemr-record-v29 .cemr29-button--primary:hover{background:#294833;color:#fff}.cemr-record-v29 .cemr29-button--quiet{background:#f7f8f5}
.cemr-record-v29 .cemr29-main{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;align-items:start}
.cemr-record-v29 .cemr29-photo{min-width:0;margin:0}.cemr-record-v29 .cemr29-photo-hero{height:min(470px,45vw);min-height:310px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#f0f1ed;border-radius:13px;cursor:zoom-in}.cemr-record-v29 .cemr29-photo-hero img{height:100%;width:100%;object-fit:contain;display:block}.cemr-record-v29 .cemr29-photo-hint{position:absolute;bottom:14px;right:14px;background:#fffdf4ed;color:#344436;font:650 12px system-ui;border-radius:7px;padding:8px 11px;box-shadow:0 1px 5px #0002}.cemr-record-v29 .cemr29-thumbs{display:flex;gap:9px;margin-top:11px;overflow-x:auto;padding:1px 1px 4px}.cemr-record-v29 .cemr29-thumbs a{display:block;flex:0 0 76px;height:72px;border:1px solid var(--cr-line);border-radius:8px;overflow:hidden}.cemr-record-v29 .cemr29-thumbs img{width:100%;height:100%;object-fit:cover}.cemr-record-v29 .cemr29-thumbs a:hover{border:2px solid #56745e}.cemr-record-v29 .cemr29-photo-caption{font-size:12px;color:var(--cr-muted);margin:10px 0 0}.cemr-record-v29 .cemr29-no-photo{background:#f3f5f1;min-height:360px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#708074}.cemr-record-v29 .cemr29-no-photo>span{font-size:50px;color:#aab7a9}.cemr-record-v29 .cemr29-no-photo small{font-size:12px}
.cemr-record-v29 .cemr29-details{min-width:0;border:1px solid var(--cr-line);border-radius:13px;background:#fff;padding:24px}.cemr-record-v29 .cemr29-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 20px}.cemr-record-v29 .cemr29-section-head h2{margin:0;font:750 21px/1.3 system-ui;color:#27362b}.cemr-record-v29 .cemr29-section-head>span,.cemr-record-v29 .cemr29-kicker{color:#708274;font-size:12px;font-weight:650}.cemr-record-v29 .cemr29-main-person{margin:0 0 12px;padding:16px 17px;border-radius:9px;background:#f1f5ef}.cemr-record-v29 .cemr29-main-person .cemr29-kicker{display:block;margin-bottom:8px}.cemr-record-v29 .cemr29-person-inline{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 14px;margin:8px 0}.cemr-record-v29 .cemr29-person-inline strong{font-size:15px;color:#2d4732}.cemr-record-v29 .cemr29-person-inline span{font-size:13px;color:#536859}
.cemr-record-v29 .cemr29-facts{margin:0}.cemr-record-v29 .cemr29-facts>div{display:grid;grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #edf0ea;font-size:14px}.cemr-record-v29 .cemr29-facts dt{color:#748077}.cemr-record-v29 .cemr29-facts dd{margin:0;overflow-wrap:anywhere;font-weight:600;color:#2c372e}.cemr-record-v29 .cemr29-facts dd small{display:block;font-weight:450;color:#7b8a7e;font-size:11px}.cemr-record-v29 .cemr29-coordinate{font-variant-numeric:tabular-nums}.cemr-record-v29 .cemr29-facts-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:17px 0 0;font-size:12px;color:#7b877d}.cemr-record-v29 .cemr29-facts-foot a{color:#3f694a;font-weight:700}
.cemr-record-v29 .cemr29-map-section{border:1px solid var(--cr-line);border-radius:14px;margin:28px 0 0;padding:22px;scroll-margin-top:90px}.cemr-record-v29 .cemr29-map-heading{align-items:end;margin-bottom:17px}.cemr-record-v29 .cemr29-map-heading h2{margin:4px 0 5px}.cemr-record-v29 .cemr29-map-heading p{margin:0;font-size:13px;color:var(--cr-muted)}.cemr-record-v29 .cemr29-map-wrap{min-height:400px;position:relative;isolation:isolate;overflow:hidden;border-radius:11px;background:#e8ede5}.cemr-record-v29 .cemr29-map-wrap .cemr-map{border-radius:11px;overflow:hidden;max-width:100%}.cemr-record-v29 .cemr29-map-wrap .cemr-directory,.cemr-record-v29 .cemr29-map-wrap .cemr-directory__searchrow{display:none!important}.cemr-record-v29 .cemr29-map-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:15px}.cemr-record-v29 .cemr29-map-footer p{margin:0;max-width:750px;color:#718075;font-size:12px}.cemr-record-v29 .cemr29-map-footer a{font-size:12px;font-weight:700;white-space:nowrap}.cemr-record-v29 .cemr29-empty-map{display:flex;min-height:180px;gap:9px;align-items:center;justify-content:center;flex-direction:column;background:#f4f6f2;border-radius:10px;text-align:center;color:#667667}.cemr-record-v29 .cemr29-empty-map>span{font-size:35px}.cemr-record-v29 .cemr29-empty-map p{margin:0;font-size:13px}
.cemr-record-v29 .cemr29-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:25px}.cemr-record-v29 .cemr29-section{min-width:0;padding:24px;border:1px solid var(--cr-line);border-radius:13px;background:#fff}.cemr-record-v29 .cemr29-section h2{font:750 20px/1.35 system-ui;margin:7px 0 16px}.cemr-record-v29 .cemr29-section h3{font:700 14px system-ui;margin:19px 0 9px}.cemr-record-v29 .cemr29-inscription-text{margin:0;padding:18px 20px;background:#f7f8f5;border-left:3px solid #7f9c83;border-radius:5px;font:16px/1.7 Georgia,serif;overflow-wrap:anywhere}.cemr-record-v29 .cemr29-description,.cemr-record-v29 .cemr29-prewrap{font-size:14px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.cemr-record-v29 .cemr29-description p{margin:0 0 12px}.cemr-record-v29 .cemr29-description img{max-width:100%;height:auto}.cemr-record-v29 .cemr29-classification{margin-top:24px;border:1px solid var(--cr-line);border-radius:11px;background:white}.cemr-record-v29 .cemr29-classification summary{cursor:pointer;padding:16px 20px;font-weight:700;color:#3d5944;display:flex;justify-content:space-between;gap:10px;list-style:none}.cemr-record-v29 .cemr29-classification summary::-webkit-details-marker{display:none}.cemr-record-v29 .cemr29-classification[open] summary{border-bottom:1px solid var(--cr-line)}.cemr-record-v29 .cemr29-classification dl{margin:0;padding:12px 20px}.cemr-record-v29 .cemr29-classification dl>div{display:grid;grid-template-columns:minmax(140px,30%) 1fr;gap:12px;padding:8px 0;font-size:13px}.cemr-record-v29 .cemr29-classification dt{color:#728075}.cemr-record-v29 .cemr29-classification dd{margin:0;overflow-wrap:anywhere}.cemr-record-v29 .cemr29-back{padding:25px 0}.cemr-record-v29 .cemr29-back a{font-size:14px;font-weight:650;color:#456a4b}
@media(max-width:980px){.cemr-record-v29 .cemr29-header{align-items:start;flex-direction:column}.cemr-record-v29 .cemr29-actions{justify-content:flex-start;max-width:none}.cemr-record-v29 .cemr29-main{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}.cemr-record-v29 .cemr29-details{padding:17px}.cemr-record-v29 .cemr29-photo-hero{height:420px}}
@media(max-width:700px){.cemr-record-v29{width:calc(100% - 24px)!important;margin-top:18px!important}.cemr-record-v29 .cemr29-heading h1{font-size:29px}.cemr-record-v29 .cemr29-main,.cemr-record-v29 .cemr29-documents{grid-template-columns:1fr}.cemr-record-v29 .cemr29-photo-hero{height:370px;min-height:230px}.cemr-record-v29 .cemr29-actions{width:100%}.cemr-record-v29 .cemr29-actions>.cemr29-button{flex:1 1 auto}.cemr-record-v29 .cemr29-map-section{padding:12px}.cemr-record-v29 .cemr29-map-heading{align-items:start;flex-direction:column}.cemr-record-v29 .cemr29-map-heading .cemr29-button{width:100%}.cemr-record-v29 .cemr29-map-wrap{min-height:350px}.cemr-record-v29 .cemr29-map-wrap .cemr-map{height:360px!important}.cemr-record-v29 .cemr29-map-footer{align-items:start;flex-direction:column}.cemr-record-v29 .cemr29-section{padding:18px}}
@media(max-width:420px){.cemr-record-v29 .cemr29-main-person .cemr29-person-inline{display:block}.cemr-record-v29 .cemr29-person-inline span{display:block}.cemr-record-v29 .cemr29-facts>div{grid-template-columns:minmax(95px,38%) minmax(0,1fr);font-size:13px}.cemr-record-v29 .cemr29-photo-hero{height:310px}}
@media print{.cemr-record-v29 .cemr29-actions,.cemr-record-v29 .cemr29-map-section,.cemr-record-v29 .cemr29-classification,.cemr-record-v29 .cemr29-back{display:none!important}}

/* 3.0: MemoriaMap-inspired information architecture; scoped to grave detail only. */
.cemr-record-v29{max-width:1120px!important;margin-top:16px!important}
.cemr-record-v29 .cemr29-breadcrumb{margin-bottom:12px;font-size:12px}
.cemr-record-v29 .cemr29-header{align-items:center;gap:18px;margin-bottom:20px;padding-bottom:18px}
.cemr-record-v29 .cemr29-heading h1{font-family:inherit;font-size:clamp(25px,2.6vw,35px);line-height:1.18;margin:0 0 7px;font-weight:750}
.cemr-record-v29 .cemr29-eyebrow{margin-bottom:7px;letter-spacing:.045em;text-transform:none;font-size:12px}
.cemr-record-v29 .cemr29-actions{max-width:470px;gap:6px}
.cemr-record-v29 .cemr29-button{min-height:38px;padding:8px 11px;border-radius:8px}
.cemr-record-v29 .cemr30-layout{display:grid;grid-template-columns:minmax(0,36%) minmax(0,64%);gap:0 22px;align-items:start}
.cemr-record-v29 .cemr29-main{display:contents}
.cemr-record-v29 .cemr29-photo{grid-column:1;grid-row:1 / span 2;position:relative;min-width:0}
.cemr-record-v29 .cemr29-photo-hero{height:510px;min-height:0;background:#eef0ed;border-radius:10px}
.cemr-record-v29 .cemr29-photo-hero img{object-fit:contain}
.cemr-record-v29 .cemr29-details{grid-column:2;grid-row:1;border:0;border-radius:0;padding:0 0 14px;box-shadow:none}
.cemr-record-v29 .cemr29-details .cemr29-section-head{margin:0 0 12px}
.cemr-record-v29 .cemr29-details .cemr29-section-head h2{font-size:18px}
.cemr-record-v29 .cemr29-main-person{background:#f5f7f3;border-radius:9px;padding:13px 15px}
.cemr-record-v29 .cemr29-facts>div{padding:7px 0;font-size:13px}
.cemr-record-v29 .cemr29-facts-foot{margin-top:11px}
.cemr-record-v29 .cemr29-map-section{grid-column:2;grid-row:2;border:0;border-top:1px solid #e5e9e4;border-radius:0;margin:0;padding:14px 0 0;min-width:0}
.cemr-record-v29 .cemr29-map-heading{margin-bottom:10px}
.cemr-record-v29 .cemr29-map-heading h2{font-size:18px;margin:0 0 3px}
.cemr-record-v29 .cemr29-map-wrap{min-height:0;border-radius:9px}
.cemr-record-v29 .cemr29-map-wrap .cemr-map{height:310px!important;border-radius:9px}
.cemr-record-v29 .cemr29-map-footer{margin-top:8px}
.cemr-record-v29 .cemr29-map-footer p{font-size:11px;line-height:1.45}
.cemr-record-v29 .cemr30-map-link{margin-top:9px;font-size:13px;font-weight:650}
.cemr-record-v29 .cemr30-map-link a{color:#345f42}
.cemr-record-v29 .cemr29-documents{margin-top:24px}
.cemr-record-v29 .cemr29-section{border-radius:10px;padding:20px}
@media(max-width:900px){
 .cemr-record-v29 .cemr29-header{align-items:flex-start}
 .cemr-record-v29 .cemr30-layout{grid-template-columns:minmax(0,40%) minmax(0,60%);gap:0 16px}
 .cemr-record-v29 .cemr29-photo-hero{height:430px}
}
@media(max-width:700px){
 .cemr-record-v29 .cemr29-header{gap:12px}
 .cemr-record-v29 .cemr30-layout{display:flex;flex-direction:column;gap:16px}
 .cemr-record-v29 .cemr29-main{display:contents}
 .cemr-record-v29 .cemr29-photo,.cemr-record-v29 .cemr29-details,.cemr-record-v29 .cemr29-map-section{width:100%;grid-column:auto;grid-row:auto}
 .cemr-record-v29 .cemr29-photo-hero{height:360px}
 .cemr-record-v29 .cemr29-details{padding:0}
 .cemr-record-v29 .cemr29-map-section{padding-top:16px}
 .cemr-record-v29 .cemr29-map-wrap .cemr-map{height:340px!important}
}
@media print{.cemr-record-v29 .cemr30-layout{display:block}.cemr-record-v29 .cemr29-photo-hero{height:300px}}

/* 3.14: fixed two-column public card. All documentary material belongs to the right rail. */
.cemr-record-v29 .cemr30-layout{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);column-gap:24px;align-items:start}
.cemr-record-v29 .cemr29-main{display:contents}
.cemr-record-v29 .cemr29-photo{grid-column:1;grid-row:1 / span 3;align-self:start}
.cemr-record-v29 .cemr29-details{grid-column:2;grid-row:1}
.cemr-record-v29 .cemr29-map-section{grid-column:2;grid-row:2;margin:0;padding-top:14px}
.cemr-record-v29 .cemr29-documents{grid-column:2;grid-row:3;display:block;margin:16px 0 0;min-width:0}
.cemr-record-v29 .cemr29-documents .cemr29-section{padding:17px 0;border:0;border-top:1px solid #e5e9e4;border-radius:0;background:transparent;margin:0}
.cemr-record-v29 .cemr29-documents .cemr29-section h2{font-size:17px;margin:0 0 10px}
.cemr-record-v29 .cemr29-documents .cemr29-section h3{font-size:13px;margin:12px 0 7px}
.cemr-record-v29 .cemr29-map-wrap,.cemr-record-v29 .cemr29-map-wrap .cemr-map{height:265px!important;min-height:0!important}
.cemr-record-v29 .cemr29-map-wrap .leaflet-tooltip{display:none!important}
.cemr-record-v29 .cemr29-map-footer p{max-width:520px}
.cemr-record-v29 .cemr29-photo-hero{height:auto;max-height:520px;min-height:0}
.cemr-record-v29 .cemr29-photo-hero img{width:100%;height:auto;max-height:520px;object-fit:contain}
@media(max-width:700px){.cemr-record-v29 .cemr30-layout{display:flex;flex-direction:column;gap:14px}.cemr-record-v29 .cemr29-photo,.cemr-record-v29 .cemr29-details,.cemr-record-v29 .cemr29-map-section,.cemr-record-v29 .cemr29-documents{width:100%;margin:0}.cemr-record-v29 .cemr29-map-wrap,.cemr-record-v29 .cemr29-map-wrap .cemr-map{height:260px!important}.cemr-record-v29 .cemr29-photo-hero img{max-height:420px}}

/* 3.16: independent balanced rails: map belongs beneath photograph, not above notes. */
.cemr-record-v29 .cemr316-columns{display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);gap:clamp(18px,2.2vw,30px);align-items:start}
.cemr-record-v29 .cemr316-visual,.cemr-record-v29 .cemr316-info{display:flex;flex-direction:column;min-width:0;gap:18px}
.cemr-record-v29 .cemr316-columns .cemr29-photo,.cemr-record-v29 .cemr316-columns .cemr29-details,.cemr-record-v29 .cemr316-columns .cemr29-map-section,.cemr-record-v29 .cemr316-columns .cemr29-documents{grid-column:auto;grid-row:auto;align-self:auto;width:100%;margin:0;min-width:0}
.cemr-record-v29 .cemr316-columns .cemr29-photo-hero{height:auto;max-height:560px;min-height:0;display:flex;align-items:center;justify-content:center;background:#f2f3f0}
.cemr-record-v29 .cemr316-columns .cemr29-photo-hero img{display:block;max-height:560px;width:100%;height:auto;object-fit:contain}
.cemr-record-v29 .cemr316-columns .cemr29-map-section{padding:0;border:0}
.cemr-record-v29 .cemr316-columns .cemr29-map-wrap,.cemr-record-v29 .cemr316-columns .cemr29-map-wrap .cemr-map{height:250px!important;min-height:0!important}
.cemr-record-v29 .cemr316-columns .cemr29-map-footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.cemr-record-v29 .cemr316-columns .cemr29-map-footer p{font-size:11px;margin:0;color:#748077}
.cemr-record-v29 .cemr316-columns .cemr29-map-wrap .leaflet-tooltip{display:none!important}
.cemr-record-v29 .cemr316-columns .cemr29-documents{display:flex;flex-direction:column;gap:14px}
.cemr-record-v29 .cemr316-columns .cemr29-documents .cemr29-section{margin:0;padding:15px 0 0;border:0;border-top:1px solid #e4e8e2;background:transparent;border-radius:0}
.cemr-record-v29 .cemr316-columns .cemr29-documents .cemr29-section h2{font-size:17px;margin:0 0 10px}
.cemr-record-v29 .cemr316-columns .cemr29-details{padding:0;border:0;box-shadow:none}
.cemr-record-v29 .cemr316-notes{overflow-wrap:anywhere}
.cemr-record-v29 .cemr316-notes summary{cursor:pointer;font-size:13px;font-weight:650;color:#365c42;padding:8px 0}
.cemr-record-v29 .cemr316-notes a{overflow-wrap:anywhere}
@media(max-width:780px){.cemr-record-v29 .cemr316-columns{grid-template-columns:minmax(0,1fr);gap:20px}.cemr-record-v29 .cemr316-visual,.cemr-record-v29 .cemr316-info{gap:14px}.cemr-record-v29 .cemr316-columns .cemr29-photo-hero img{max-height:420px}.cemr-record-v29 .cemr316-columns .cemr29-map-wrap,.cemr-record-v29 .cemr316-columns .cemr29-map-wrap .cemr-map{height:260px!important}}
@media print{.cemr-record-v29 .cemr316-columns{display:block}.cemr-record-v29 .cemr316-columns .cemr29-map-section{display:none}.cemr-record-v29 .cemr316-notes details>div{display:block}}

/* 3.17: content-led layout. Top row ends with photo/details; map and sources flow below. */
.cemr-record-v317 .cemr317-top{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:clamp(20px,3vw,42px);align-items:start}
.cemr-record-v317 .cemr317-visual,.cemr-record-v317 .cemr317-info{min-width:0}
.cemr-record-v317 .cemr29-photo-hero{height:auto!important;max-height:510px!important;min-height:0!important;display:flex;align-items:center;justify-content:center;background:#f3f4f1}
.cemr-record-v317 .cemr29-photo-hero img{height:auto!important;max-height:510px!important;width:100%;object-fit:contain}
.cemr-record-v317 .cemr317-info .cemr29-details{margin:0;padding:0;border:0;box-shadow:none}
.cemr-record-v317 .cemr317-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3vw,42px);align-items:start;margin-top:24px;padding-top:22px;border-top:1px solid #e6eae5}
.cemr-record-v317 .cemr317-lower>.cemr29-map-section{margin:0;padding:0;border:0;min-width:0}
.cemr-record-v317 .cemr317-lower>.cemr29-documents{margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}
.cemr-record-v317 .cemr317-lower .cemr29-documents .cemr29-section{border:0;padding:0 0 14px;margin:0;background:transparent;border-radius:0;border-bottom:1px solid #e6eae5}
.cemr-record-v317 .cemr317-lower .cemr29-documents .cemr29-section h2{font-size:18px;margin:0 0 12px}
.cemr-record-v317 .cemr317-lower .cemr29-map-wrap,.cemr-record-v317 .cemr317-lower .cemr29-map-wrap .cemr-map{height:300px!important;min-height:0!important}
.cemr-record-v317 .cemr317-lower .leaflet-tooltip{display:none!important}
.cemr-record-v317 .cemr29-map-footer p{display:none}
.cemr-record-v317 .cemr29-map-footer{margin-top:8px;flex-wrap:wrap}
.cemr-record-v317 .cemr316-notes{overflow-wrap:anywhere}
.cemr-record-v317 .cemr316-notes a{overflow-wrap:anywhere}
@media(max-width:800px){.cemr-record-v317 .cemr317-top,.cemr-record-v317 .cemr317-lower{grid-template-columns:minmax(0,1fr);gap:20px}.cemr-record-v317 .cemr29-photo-hero img{max-height:460px!important}.cemr-record-v317 .cemr317-lower{margin-top:20px}}
@media print{.cemr-record-v317 .cemr317-top,.cemr-record-v317 .cemr317-lower{display:block}.cemr-record-v317 .cemr317-lower>.cemr29-map-section{display:none}}

/* 3.18: coherent editorial record, independently stacked rails (no equal-height whitespace). */
.cemr-record-v318{--cemr-ink:#27372d;--cemr-muted:#758277;--cemr-line:#e4e9e2;color:var(--cemr-ink)}
.cemr-record-v318 .cemr29-header{margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--cemr-line)}
.cemr-record-v318 .cemr29-header h1{font-size:clamp(28px,3.1vw,42px);line-height:1.13;letter-spacing:-.03em}
.cemr-record-v318 .cemr318-layout{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr);gap:clamp(22px,3.1vw,46px);align-items:start}
.cemr-record-v318 .cemr318-visual,.cemr-record-v318 .cemr318-info{min-width:0;display:flex;flex-direction:column;gap:22px}
.cemr-record-v318 .cemr29-photo,.cemr-record-v318 .cemr29-details,.cemr-record-v318 .cemr29-map-section,.cemr-record-v318 .cemr29-documents{width:100%;min-width:0;margin:0;grid-row:auto;grid-column:auto;align-self:auto}
.cemr-record-v318 .cemr29-photo-hero{display:flex!important;align-items:center;justify-content:center;background:#f1f3ef;border-radius:12px;min-height:0!important;height:auto!important;max-height:440px!important;overflow:hidden}
.cemr-record-v318 .cemr29-photo-hero img{display:block!important;width:100%!important;height:auto!important;max-height:440px!important;object-fit:contain!important}
.cemr-record-v318 .cemr29-photo-caption{margin:8px 0 0;color:var(--cemr-muted);font-size:12px}
.cemr-record-v318 .cemr29-details{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
.cemr-record-v318 .cemr29-section-head{margin-bottom:13px}
.cemr-record-v318 .cemr29-section-head h2{font-size:19px;letter-spacing:-.015em}
.cemr-record-v318 .cemr29-main-person{border-radius:10px;background:#f4f6f2;padding:14px 16px;margin-bottom:13px}
.cemr-record-v318 .cemr29-facts>div{padding:9px 0;border-bottom:1px solid var(--cemr-line)}
.cemr-record-v318 .cemr29-facts-foot{font-size:12px;gap:10px}
.cemr-record-v318 .cemr29-map-section{padding:0!important;border:0!important}
.cemr-record-v318 .cemr29-map-heading{margin-bottom:9px}
.cemr-record-v318 .cemr29-map-wrap{overflow:hidden;border-radius:11px}
.cemr-record-v318 .cemr29-map-wrap,.cemr-record-v318 .cemr29-map-wrap .cemr-map{height:260px!important;min-height:0!important}
.cemr-record-v318 .cemr29-map-wrap .leaflet-tooltip{display:none!important}
.cemr-record-v318 .cemr29-map-footer{margin-top:7px}
.cemr-record-v318 .cemr29-map-footer p{display:none}
.cemr-record-v318 .cemr29-documents{display:flex;flex-direction:column;gap:15px;border-top:1px solid var(--cemr-line);padding-top:17px}
.cemr-record-v318 .cemr29-documents .cemr29-section{padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important}
.cemr-record-v318 .cemr29-documents .cemr29-section+.cemr29-section{border-top:1px solid var(--cemr-line)!important;padding-top:15px!important}
.cemr-record-v318 .cemr29-documents .cemr29-section h2{font-size:18px;margin:0 0 9px}
.cemr-record-v318 .cemr29-prewrap{overflow-wrap:anywhere;line-height:1.6}
.cemr-record-v318 .cemr29-prewrap a{overflow-wrap:anywhere;word-break:break-word}
.cemr-record-v318 .cemr316-notes summary{cursor:pointer;color:#315d40;font-weight:650}
.cemr-record-v318 .cemr29-classification{margin-top:25px}
@media(max-width:780px){.cemr-record-v318 .cemr318-layout{grid-template-columns:minmax(0,1fr);gap:22px}.cemr-record-v318 .cemr318-visual,.cemr-record-v318 .cemr318-info{gap:18px}.cemr-record-v318 .cemr29-photo-hero img{max-height:460px!important}}
@media print{.cemr-record-v318 .cemr318-layout{display:block}.cemr-record-v318 .cemr29-map-section{display:none}}
