.legacy-wall{max-width:1180px;margin:auto;padding:12px 32px 0;color:#393187}.wall-breadcrumb{font-size:13px;color:#665c7c;margin:14px 0 24px}.wall-breadcrumb a{text-decoration:underline;text-underline-offset:4px}.wall-cover{margin:0;overflow:hidden;border-radius:22px;border:1px solid #dcd2ef;background:#eee8f8}.wall-cover>img{display:block;width:100%;height:auto}.memorial-heading{text-align:center;padding:30px 10px 12px}.memorial-heading .eyebrow{color:#6b5595;margin-bottom:12px}.memorial-heading h1{font-size:clamp(35px,4vw,52px);letter-spacing:-1.5px;margin:0 0 15px}.life-dates{color:#51466c;font-size:14px;line-height:1.8;margin-bottom:8px}.life-dates span{padding:0 12px}.memorial-heading blockquote{font:italic 18px/1.6 Georgia,serif;color:#6a5b80;margin:8px auto 14px}.wall-toolbar{display:flex;justify-content:space-between;gap:20px;border-block:1px solid #e4dcef;padding:14px 0;margin-bottom:24px}.wall-toolbar>div{display:flex;gap:9px;flex-wrap:wrap}.wall-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;padding:8px;min-width:44px;min-height:44px;color:#51428a}.wall-tool:hover{background:#eae2f7}.wall-toolbar .wall-tool span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.wall-icon{display:block;object-fit:contain;flex-shrink:0;width:26px;height:26px;filter:brightness(0) saturate(100%) invert(23%) sepia(24%) saturate(2132%) hue-rotate(222deg) brightness(93%) contrast(93%)}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.memory-card{background:white;border:2px solid #d4c5e9;border-radius:24px;min-height:300px;padding:22px;box-shadow:0 5px 18px #39318706;min-width:0}.tribute{display:flex;flex-direction:column}.tribute>p{font-size:14px;line-height:1.7;color:#5a5269;margin-bottom:22px}.memory-author{text-align:center;margin-top:auto;font-size:14px;line-height:1.7}.memory-author strong{display:block;color:#51428a}.memory-author time{font-size:12px;color:#716480}.memory-controls{display:flex;justify-content:center;gap:2px;margin-top:12px;border-top:1px solid #eee7f6;padding-top:8px}.memory-controls .wall-tool{font-size:12px;padding:6px;gap:4px}.memory-controls .wall-icon{width:21px;height:21px}.empty-memory{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#81728f;background:linear-gradient(145deg,#fff,#faf8fd)}.empty-memory>.wall-icon{position:absolute;top:15px;right:15px;width:24px;height:24px}.empty-memory>span{font:20px Georgia,serif;color:#6b5888}.empty-memory>small{font-size:12px;line-height:1.6;margin-top:10px}.empty-memory:hover{border-color:#8d71ba;background:#f5effd}.wall-add-row{text-align:center;margin:28px 0 45px}.wall-add-row .button{gap:12px}.wall-follow{border-radius:24px;background:#efe8f8;padding:42px 25px;text-align:center;margin-bottom:48px}.wall-follow .eyebrow{margin-bottom:15px}.wall-follow h2{font-size:32px;letter-spacing:-.5px}.wall-follow p{color:#665674;line-height:1.7;max-width:600px;margin:0 auto 22px}.wall-follow .wall-service-note{font-size:12px;max-width:620px;margin:20px auto 0}.legacy-wall a:focus-visible{outline:3px solid #7960bd;outline-offset:4px}@media(min-width:901px) and (max-width:1100px){header nav{gap:12px;font-size:12px}header{gap:12px}.brand{font-size:20px}}@media(max-width:900px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wall-toolbar{flex-wrap:wrap}}@media(max-width:600px){.legacy-wall{padding:5px 14px 0}.wall-cover{border-radius:15px}.memorial-heading{padding:25px 0 10px}.life-dates{font-size:12px}.life-dates span{padding:0 3px}.memorial-heading blockquote{font-size:16px}.memory-grid{grid-template-columns:minmax(0,1fr);gap:14px}.empty-memory{min-height:200px}.wall-toolbar{gap:4px;justify-content:center}.wall-toolbar>div{justify-content:center;gap:4px}.wall-follow{padding:30px 18px}.wall-follow h2{font-size:28px}}
.wall-icon[src$="/home.png"]{filter:url(#purple-home)}
@media(max-width:600px){.wall-toolbar>div{gap:2px}.wall-toolbar>div:last-child{width:100%;justify-content:center}.wall-toolbar .wall-tool{padding:8px;min-width:40px}}
/* Family photographs and memorial collages: show complete images without cropping. */
.photo-memory{padding:0;overflow:hidden;min-height:0;align-self:start}
.photo-memory>a{display:block}
.photo-memory img{display:block;width:100%;height:auto;object-fit:contain;background:#f8f6ff}
.photo-caption{padding:18px 20px 20px}
.photo-caption h2{font-size:20px;line-height:1.3;letter-spacing:0;margin:0 0 12px;color:#393187}
.photo-caption>span{font-size:12px;color:#625080}
.photo-memory:hover{border-color:#8d71ba}
#follow-dialog{width:min(560px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:36px;border:1px solid #d4c5e9;border-radius:24px;background:#fff;color:#393187}
#follow-dialog::backdrop{background:#24164f88}
#follow-dialog h2{font-size:30px;letter-spacing:-.5px;padding-right:22px}
#follow-dialog p{line-height:1.7;color:#625080}
.follow-close{position:absolute;right:16px;top:12px;background:none;border:0;font-size:28px;color:#393187;min-width:44px;min-height:44px}
#follow-dialog label{display:block;font-size:13px;margin-bottom:8px}
#wall-feed-url{width:100%;font:14px Arial,sans-serif;padding:14px;border:1px solid #d4c5e9;border-radius:8px;background:#f8f6ff;color:#393187}
.follow-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
#follow-dialog .follow-help,#feed-status{font-size:13px}
/* Match the continuous white page canvas to the shared header and footer. */
main.legacy-wall{width:100%;max-width:1440px;margin:0 auto;padding-inline:32px;background:#fcfbff}
@media(max-width:600px){main.legacy-wall{padding-inline:14px}}
main.legacy-wall{display:flow-root}

/* Keep every card readable; reduce column count before cards become narrow. */
.memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.photo-caption h2,.tribute>p{overflow-wrap:break-word}
.wall-cover{width:100%}
@media(max-width:1100px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.memory-grid{grid-template-columns:minmax(0,1fr);gap:18px}main.legacy-wall{padding-inline:14px}}
.wall-privacy{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 24px;margin:0 0 24px;border:1px solid #ded9f1;border-radius:16px;background:#f7f5fc}.wall-privacy p{margin:6px 0 0}.wall-privacy #privacy-actions{display:flex;gap:8px;flex-wrap:wrap}.wall-privacy button[aria-pressed=true]{background:#393187;color:white}.wall-privacy #privacy-status:empty{display:none}.wall-privacy #privacy-status{flex-basis:100%}.wall-privacy button:disabled{opacity:.6}@media(max-width:600px){.wall-privacy{padding:16px}.wall-privacy #privacy-actions{width:100%}}
