.cemr-pantheon{background:#f5f7f5;color:#243a47;min-height:70vh;font-family:inherit}.cemr-pantheon-hero{background:#172d3c;color:#fff;padding:64px 20px;text-align:center}.cemr-pantheon-hero span{font-size:12px;letter-spacing:.13em;color:#e1c58e}.cemr-pantheon-hero h1{font-size:clamp(27px,4vw,46px);line-height:1.2;color:#fff;margin:16px 0 8px}.cemr-pantheon-hero p{font-size:21px;margin:0 0 18px}.cemr-pantheon-hero small{color:#cbd5d9}.cemr-pantheon-inner{max-width:1200px;margin:auto;padding:32px 18px 55px}.cemr-pantheon-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #e0e7e1;padding:18px;border-radius:14px}.cemr-pantheon-search label{display:grid;gap:7px;flex:1 1 240px;font-size:14px;font-weight:600}.cemr-pantheon-search input,.cemr-pantheon-search select{padding:11px;border:1px solid #bdc9c5;border-radius:7px;width:100%;font:inherit}.cemr-pantheon-search button{border:0;border-radius:7px;background:#24536c;color:#fff;padding:12px 24px;cursor:pointer}.cemr-pantheon-count{margin:20px 0;color:#536672}.cemr-pantheon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.cemr-pantheon-card{background:#fff;border:1px solid #e1e7e2;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px #152b3610}.cemr-pantheon-photo{height:220px;background:#e8ece8;display:flex;justify-content:center;align-items:center;color:#657a7a;font-size:48px}.cemr-pantheon-photo img{width:100%;height:100%;object-fit:cover}.cemr-pantheon-card-body{padding:17px}.cemr-pantheon-card h2{font-size:19px;margin:0 0 8px;color:#1b4054}.cemr-pantheon-card p{font-size:14px;line-height:1.55;margin:8px 0}.cemr-pantheon-dates,.cemr-pantheon-location{color:#6a7b81}.cemr-pantheon-link{display:inline-block;margin-top:10px;color:#1c5779;font-weight:600}.cemr-pantheon-pages{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0}.cemr-pantheon-pages a{padding:7px 12px;background:#fff;border:1px solid #d5ded8;border-radius:6px}.cemr-pantheon-pages [aria-current=page]{background:#24536c;color:#fff}.cemr-pantheon-note{font-size:13px;color:#68777b;margin-top:32px}.cemr-pantheon-empty{padding:28px;background:#fff;border-radius:12px}

/* Standalone page, responsive cards, never inherit WordPress theme sidebar. */
.cemr-pantheon-standalone .cemr-pantheon{width:100%;max-width:none;margin:0}
.cemr-pantheon-standalone #cemr373-main{width:100%;max-width:none;margin:0;padding:0}
.cemr-pantheon-grid{grid-template-columns:repeat(var(--cemr-pantheon-cols,3),minmax(0,1fr))}
.cemr-pantheon-card{min-width:0}
@media(max-width:850px){.cemr-pantheon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.cemr-pantheon-grid{grid-template-columns:1fr}.cemr-pantheon-hero{padding:42px 16px}}

/* 3.53.93: thematic banner and uncropped memorial portraits */
.cemr-pantheon-hero{position:relative;isolation:isolate;background:#172d3c;background-image:linear-gradient(90deg,rgba(10,27,39,.86),rgba(10,27,39,.62)),var(--cemr-pantheon-hero-image);background-position:center center;background-size:cover;min-height:270px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-shadow:0 2px 8px rgba(0,0,0,.4)}
.cemr-pantheon-photo{height:auto;min-height:220px;max-height:none;aspect-ratio:3/4;overflow:hidden;background:#eef0ed;padding:0}
.cemr-pantheon-photo img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
@media(max-width:600px){.cemr-pantheon-hero{min-height:220px;padding:40px 16px}.cemr-pantheon-photo{aspect-ratio:3/4}}
.cemr-pantheon-photo{position:relative}
.cemr-pantheon-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}

/* 3.53.99: dedicated person pages */
.cemr-pantheon-profile{background:#fff;border:1px solid #e0e7e1;border-radius:16px;padding:clamp(18px,4vw,40px);box-shadow:0 5px 22px #152b3610}
.cemr-pantheon-profile-top{display:grid;grid-template-columns:minmax(170px,260px) 1fr;gap:32px;align-items:center}
.cemr-pantheon-profile-portrait{aspect-ratio:3/4;background:#e9efed;display:flex;align-items:center;justify-content:center;font-size:60px;border-radius:12px;overflow:hidden}
.cemr-pantheon-profile-portrait img{width:100%;height:100%;object-fit:contain}
.cemr-pantheon-profile h1{font-size:clamp(28px,4vw,44px);color:#1b4054;line-height:1.2}
.cemr-pantheon-profile-kicker{color:#99733d;letter-spacing:.1em;text-transform:uppercase;font-size:12px}
.cemr-pantheon-profile-section{margin-top:32px;border-top:1px solid #e0e7e1;padding-top:22px;line-height:1.7}
.cemr-pantheon-profile-section h2{color:#1b4054}
.cemr-pantheon-profile-gallery{display:flex;gap:12px;flex-wrap:wrap}
.cemr-pantheon-profile-gallery img{max-width:200px;max-height:240px;object-fit:contain}
.cemr-pantheon-back{margin:0 0 22px}.cemr-pantheon-back a{font-weight:600;color:#24536c}
.cemr-pantheon-grave-link{display:inline-block;padding:12px 20px;border-radius:8px;background:#24536c;color:#fff!important;text-decoration:none}
@media(max-width:650px){.cemr-pantheon-profile-top{grid-template-columns:1fr}.cemr-pantheon-profile-portrait{max-width:260px}}
