.ml-panel{background:#fffdf9;border:1px solid #e9e1d7;border-radius:18px;padding:28px;margin:20px 0}.mlc-form{display:grid;gap:15px}.mlc-form label{display:block;font-size:13px;font-weight:700;color:#30203d}.mlc-form input,.mlc-form textarea,.mlc-form select,.mlc-search input{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #ded5ca;border-radius:9px;background:#fff;font:inherit}.mlc-form textarea{resize:vertical}.mlc-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.mlc-button{display:inline-flex;justify-content:center;align-items:center;padding:12px 20px;background:#30203d;color:#fff;border:0;border-radius:99px;font-weight:700;cursor:pointer;text-decoration:none}.mlc-button:hover{background:#493354;color:#fff}.mlc-notice{padding:13px 15px;background:#edf2df;border-radius:9px;margin:15px 0;color:#35421c}.mlc-search{display:flex;gap:10px;margin:0 0 25px}.mlc-search input{margin:0;flex:1}.mlc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.mlc-card{background:#fffdf9;border:1px solid #e9e1d7;border-radius:17px;overflow:hidden}.mlc-card>a>img{width:100%;height:225px;object-fit:cover}.mlc-placeholder{height:225px;display:grid;place-items:center;background:#f0e8dc;color:#7c6d7d;font-family:Georgia,serif;font-size:22px}.mlc-card-body{padding:20px}.mlc-card h3{font:24px Georgia,serif;margin:6px 0;color:#30203d}.mlc-card h3 a{color:inherit}.mlc-kicker{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#9a7844;font-weight:800}.mlc-dates,.mlc-muted{font-size:13px;color:#766f77}.mlc-text-link{font-weight:700}.mlc-dashboard-list{margin-top:20px}.mlc-dashboard-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e9e1d7}.mlc-dashboard-row small{display:block;color:#766f77}.mlc-memorial-meta{color:#8b754f;font-weight:700;margin:8px 0 25px}.mlc-memorial-section{margin-top:40px;padding-top:25px;border-top:1px solid #e9e1d7}.mlc-memorial-section h2{font:30px Georgia,serif;color:#30203d}.mlc-tribute{padding:16px 18px;background:#fff;border:1px solid #e9e1d7;border-radius:12px;margin:12px 0}.mlc-tribute p{margin:7px 0}.mlc-tribute small{color:#766f77}@media(max-width:760px){.mlc-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.mlc-grid,.mlc-two{grid-template-columns:1fr}.mlc-search{display:block}.mlc-search button{margin-top:10px}.mlc-card>a>img,.mlc-placeholder{height:250px}}

.mlc-inline-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0 22px}.mlc-inline-form label{flex:1;min-width:190px;font-size:13px;font-weight:700;color:#30203d}.mlc-inline-form input,.mlc-inline-form select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #ded5ca;border-radius:9px;background:#fff;font:inherit}.mlc-family-card{border:1px solid #e9e1d7;background:#fff;border-radius:14px;padding:22px;margin:18px 0}.mlc-family-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.mlc-family-heading h3{font:25px Georgia,serif;color:#30203d;margin:0}.mlc-role{font-size:12px;color:#766f77}.mlc-members{border-top:1px solid #eee6dc;margin-top:10px}.mlc-member{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f0ebe4}.mlc-member small{display:block;color:#766f77}.mlc-family-card h4{margin:22px 0 8px;color:#493354}@media(max-width:560px){.mlc-inline-form{display:block}.mlc-inline-form label{display:block;margin-bottom:12px}.mlc-inline-form button{margin-top:5px}.mlc-family-heading{align-items:flex-start;flex-direction:column}}
.mlc-memorial-page{max-width:980px;margin:32px auto;padding:clamp(20px,4vw,48px)}
.mlc-memorial-portrait{max-width:420px;margin:0 auto 28px;text-align:center}.mlc-memorial-portrait img{width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:12px}
.mlc-memorial-page>h1{text-align:center}.mlc-memorial-page>.mlc-kicker,.mlc-memorial-page>.mlc-dates{display:block;text-align:center}.mlc-memorial-excerpt{font-size:1.12rem;text-align:center;max-width:760px;margin:18px auto 30px}.mlc-memorial-biography{line-height:1.8}.mlc-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}.mlc-plan{border:1px solid rgba(90,45,70,.18);border-radius:16px;padding:26px;background:#fff;display:flex;flex-direction:column;gap:12px}.mlc-plan.is-featured{border:2px solid #c99d42;box-shadow:0 12px 35px rgba(45,15,35,.09)}.mlc-plan h2{margin:0}.mlc-plan-price{font-size:1.35rem;font-weight:700;color:#8a6330;margin:0}.mlc-plan ul{padding-left:20px;line-height:1.9;flex:1}.mlc-plan-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#8a6330;font-weight:700}.mlc-plan .mlc-button{align-self:flex-start}
@media(max-width:800px){.mlc-pricing-grid{grid-template-columns:1fr}}

.mlc-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mlc-event{padding:16px;border:1px solid #e9e1d7;border-radius:12px}.mlc-event h4{margin:0 0 12px;color:#493354}.mlc-public-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.mlc-public-gallery img{width:100%;height:180px;object-fit:cover;border-radius:10px}.mlc-memorial-section video{display:block;width:100%;max-width:720px;margin:12px 0}.mlc-memorial-section audio{display:block;width:100%;max-width:520px}.mlc-brochure-wrap{max-width:900px;margin:25px auto}.mlc-brochure-tools{display:flex;gap:15px;align-items:center;margin:15px 0}.mlc-brochure{background:#fff;color:#211b20;max-width:148mm;margin:auto;padding:12mm;font-family:Georgia,serif;box-shadow:0 5px 25px #0001}.mlc-brochure section{page-break-inside:avoid;padding:8mm 0;border-bottom:1px solid #ddd}.mlc-brochure h2{color:#493354;border-bottom:1px solid #c99d42;padding-bottom:5px}.mlc-brochure-cover{text-align:center;min-height:180mm;display:flex;flex-direction:column;justify-content:center;align-items:center;page-break-after:always}.mlc-brochure-cover img{max-width:100%;max-height:100mm;object-fit:contain}.mlc-brochure-cover h1{font-size:27pt;color:#493354}.mlc-brochure-gallery{display:grid;grid-template-columns:1fr 1fr;gap:5mm}.mlc-brochure-gallery img{width:100%;height:55mm;object-fit:cover}.template-floral h2{color:#80634e}.template-modern{font-family:Arial,sans-serif}.template-heritage h2{color:#8a6330;border-bottom:2px solid #8a6330}.mlc-editor h3{margin:24px 0 8px;color:#493354}.mlc-brochure-tools span{font-size:12px;color:#766f77}@media(max-width:650px){.mlc-three{grid-template-columns:1fr}.mlc-brochure{padding:7mm}.mlc-brochure-tools{align-items:flex-start;flex-direction:column}}
@media print{@page{size:A5 portrait;margin:10mm}body{background:#fff!important}.site-header,.site-footer,.main-nav,.mlc-brochure-tools{display:none!important}.mlc-brochure-wrap{max-width:none;margin:0}.mlc-brochure{max-width:none;width:auto;margin:0;padding:0;box-shadow:none}.mlc-brochure section{break-inside:avoid}.mlc-brochure-cover{min-height:185mm}}

/* MyLegacy 1.3.2 memorial navigation and funeral schedule */
.mlc-memorial-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0;padding:14px 0;border-top:1px solid #eadfce;border-bottom:1px solid #eadfce}
.mlc-memorial-tabs a{display:inline-block;padding:10px 16px;border-radius:24px;color:#342039;text-decoration:none;font-weight:600}
.mlc-memorial-tabs a:hover,.mlc-memorial-tabs a:focus{background:#342039;color:#fff}
.mlc-funeral-schedule{margin:26px 0;padding:22px;background:#f4ecdf;border-radius:18px}
.mlc-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.mlc-event-card{background:#fff;border:1px solid #eadfce;border-radius:12px;padding:16px}
.mlc-event-card h3{margin-top:0;color:#342039}
.mlc-memorial-section[id],.mlc-memorial-biography[id]{scroll-margin-top:110px}

/* MyLegacy fixed eight-page A5 brochure */
.mlcb-wrap{color:var(--mlcb-ink);font-family:Arial,Helvetica,sans-serif}
.mlcb-tools{display:flex;gap:14px;align-items:center;margin:18px 0;padding:12px;background:#f6f1e8;border-radius:10px}
.mlcb-tools span{font-size:13px}
.mlcb-document{max-width:148mm;margin:0 auto;background:#fff}
.mlcb-page{box-sizing:border-box;width:210mm;height:297mm;min-height:297mm;max-height:297mm;overflow:hidden;position:relative;padding:13mm 12mm;background:#fff;page-break-after:always;break-after:page;font-size:10pt;line-height:1.35;color:#25212a}
.mlcb-page:last-child{page-break-after:auto;break-after:auto}
.mlcb-page h1,.mlcb-page h2,.mlcb-page h3{font-size:12pt!important;font-weight:700!important;text-transform:uppercase!important;color:var(--mlcb-accent)!important;line-height:1.2;margin:0 0 7mm}
.mlcb-page p,.mlcb-page li,.mlcb-page div{font-size:10pt}
.mlcb-cover{display:flex;flex-direction:column;padding:0;background:var(--mlcb-soft)}
.mlcb-cover-main{height:139mm;position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.mlcb-cover-image{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.mlcb-cover-title{z-index:1;width:100%;padding:12mm 12mm 8mm;background:linear-gradient(transparent,rgba(0,0,0,.76));color:#fff;text-align:center}
.mlcb-cover-title .mlcb-kicker{font-size:10pt;letter-spacing:2px;color:#fff}
.mlcb-cover-title h1{font-size:22pt!important;color:#fff!important;margin:3mm 0}
.mlcb-cover-title .mlcb-years{font-size:12pt;color:#fff}
.mlcb-cover-footer{height:71mm;box-sizing:border-box;display:grid;grid-template-columns:1fr 38mm;gap:8mm;align-items:end;padding:8mm 10mm}
.mlcb-cover-events h2{margin-bottom:4mm}
.mlcb-event{font-size:10pt;margin-bottom:3mm;line-height:1.25}
.mlcb-cover-qr{text-align:center;align-self:end}
.mlcb-cover-qr img{width:32mm;height:32mm;object-fit:contain;background:#fff;padding:2mm}
.mlcb-cover-qr p{font-size:8pt!important;font-weight:bold;letter-spacing:.5px}
.mlcb-page-title{text-align:center;border-bottom:1px solid var(--mlcb-accent);padding-bottom:4mm;margin-bottom:7mm!important}
.mlcb-two-columns{columns:2;column-gap:9mm;column-rule:1px solid #ddd;column-fill:balance}
.mlcb-bio-section{break-inside:avoid;margin:0 0 6mm}
.mlcb-bio-section h2{margin-bottom:2mm}
.mlcb-reading{margin:0 0 12mm;break-inside:avoid}
.mlcb-reading h2,.mlcb-hymn h2{margin-bottom:3mm}
.mlcb-hymn-list{display:flex;flex-direction:column;gap:5mm}
.mlcb-hymn{border-bottom:1px solid #ddd;padding-bottom:3mm;break-inside:avoid}
.mlcb-gallery-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7mm;height:165mm}
.mlcb-gallery-grid figure{margin:0;overflow:hidden;border:1px solid #ddd;padding:2mm;display:flex;align-items:center;justify-content:center}
.mlcb-gallery-photo{width:100%;height:100%;object-fit:cover}
.mlcb-empty-photo{background:#f3f0eb;color:#999;font-size:10pt}
.mlcb-appreciation-layout{display:grid;grid-template-columns:1fr 1fr;gap:8mm;height:165mm;align-items:stretch}
.mlcb-appreciation-portrait{overflow:hidden}
.mlcb-appreciation-image{width:100%;height:100%;object-fit:cover}
.mlcb-appreciation-text{align-self:center;overflow:hidden}
.mlcb-tribute-grid{display:grid;grid-template-columns:1fr 1fr;gap:7mm;height:165mm;align-content:start}
.mlcb-tribute-card{border:1px solid var(--mlcb-accent);border-top:3px solid var(--mlcb-accent);border-radius:3mm;padding:6mm;min-height:55mm;box-sizing:border-box;break-inside:avoid}
.mlcb-tribute-card p{margin:0 0 5mm}
.mlcb-tribute-card h2{text-align:right;margin:0!important}
.mlcb-placeholder{color:#888;font-style:italic}
.mlc-brochure-photo-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin:12px 0}
.mlc-photo-choice{display:flex;flex-direction:column;gap:5px;font-size:12px}
.mlc-photo-choice img{width:100%;height:90px;object-fit:cover}
@page{size:A4 portrait;margin:0}
@media print{
 body{margin:0!important;background:#fff!important}
 body *{visibility:hidden!important}
 .mlcb-document,.mlcb-document *{visibility:visible!important}
 .mlcb-document{position:absolute!important;left:0!important;top:0!important;width:210mm!important;margin:0!important}
 .mlcb-tools{display:none!important}
 .mlcb-page{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;margin:0!important;box-shadow:none!important}
}
@media screen{
 .mlcb-page{margin:0 auto 18px;box-shadow:0 3px 20px rgba(0,0,0,.12)}
}

/* A4 brochure, reading cards and compact two-column song page */
.mlcb-page{padding:18mm 17mm}
.mlcb-cover-main{height:195mm}
.mlcb-cover-footer{height:102mm;padding:12mm 15mm;grid-template-columns:1fr 45mm}
.mlcb-cover-title{padding:16mm 16mm 12mm}
.mlcb-cover-title h1{font-size:28pt!important}
.mlcb-cover-qr img{width:38mm;height:38mm}
.mlcb-reading-cards{display:flex;flex-direction:column;gap:9mm}
.mlcb-reading-card{border:1px solid var(--mlcb-accent);border-left:5px solid var(--mlcb-accent);background:var(--mlcb-soft);border-radius:4mm;padding:9mm;break-inside:avoid}
.mlcb-reading-card h2{margin-bottom:4mm}
.mlcb-songs-page{padding:14mm 15mm}
.mlcb-hymn-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7mm;height:245mm;align-items:stretch}
.mlcb-hymn{border:1px solid var(--mlcb-accent);border-radius:3mm;padding:6mm;overflow:hidden;box-sizing:border-box}
.mlcb-hymn h2{font-size:11pt!important;margin-bottom:3mm}
.mlcb-hymn p{font-size:8pt!important;line-height:1.16;margin:0 0 2mm}
.mlcb-hymn p+p{margin-top:1mm}
.mlcb-songs-page .mlcb-page-title{margin-bottom:5mm!important}
@page{size:A4 portrait;margin:0}
@media print{
 .mlcb-document{width:210mm!important}
 .mlcb-page{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important}
}

/* MyLegacy v1.3.5 — five-photo memorial gallery composition */
.mlcb-gallery-stage{
 position:relative;width:100%;height:218mm;max-height:218mm;
 display:grid;grid-template-columns:1fr 1.15fr 1fr;
 grid-template-rows:1fr 1.15fr 1fr;gap:5mm;align-items:center;justify-items:center;
 padding:8mm 3mm;box-sizing:border-box;
}
.mlcb-gallery-stage figure{
 margin:0;overflow:hidden;display:flex;align-items:center;justify-content:center;
 background:#f3f0eb;border:2px solid #ddd;padding:1.5mm;box-sizing:border-box;
}
.mlcb-gallery-stage .mlcb-gallery-photo{width:100%;height:100%;object-fit:cover;display:block}
.mlcb-gallery-stage .mlcb-gallery-central{
 grid-column:2;grid-row:2;width:62mm;height:62mm;border-radius:50%;
 border:3mm solid #fff;box-shadow:0 2mm 7mm rgba(35,20,35,.22);z-index:2;
}
.mlcb-gallery-stage .mlcb-gallery-central img{border-radius:50%}
.mlcb-gallery-stage .mlcb-gallery-flank{width:48mm;height:58mm;border-radius:3mm}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(2){grid-column:1;grid-row:1}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(3){grid-column:3;grid-row:1}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(4){grid-column:1;grid-row:3}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(5){grid-column:3;grid-row:3}
.mlcb-gallery-caption{text-align:center;font-size:9pt;letter-spacing:2px;color:var(--mlcb-accent);margin-top:5mm}
.mlcb-empty-photo{color:#999;font-size:9pt}

/* MyLegacy v1.3.6 refinements requested from supplied gallery layout */

/* Cover: full-bleed portrait across the entire A4 page; information sits over image */
.mlcb-page.mlcb-cover{
 position:relative!important;display:block!important;padding:0!important;
 width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;
 overflow:hidden!important;background:#211522!important;
}
.mlcb-cover-main{
 position:absolute!important;inset:0!important;width:100%!important;height:297mm!important;
 display:block!important;overflow:hidden!important;
}
.mlcb-cover-image{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 object-fit:cover!important;object-position:center center!important;
}
.mlcb-cover-title{
 position:absolute!important;left:0;right:0;bottom:73mm!important;width:100%!important;
 box-sizing:border-box;padding:18mm 16mm 12mm!important;
 background:linear-gradient(transparent,rgba(20,10,20,.82))!important;
}
.mlcb-cover-footer{
 position:absolute!important;left:0;right:0;bottom:0!important;height:70mm!important;
 box-sizing:border-box;padding:9mm 14mm!important;
 grid-template-columns:1fr 42mm!important;align-items:end!important;
 background:linear-gradient(rgba(20,10,20,.78),rgba(20,10,20,.94))!important;color:#fff!important;
}
.mlcb-cover-footer h2,.mlcb-cover-footer p,.mlcb-cover-footer .mlcb-event{color:#fff!important}
.mlcb-cover-qr img{background:#fff;padding:2mm;box-sizing:border-box}

/* Readings: three equal cards, compact type and reduced spacing to keep content on page */
.mlcb-page:has(.mlcb-reading-cards){padding:11mm 12mm!important}
.mlcb-reading-cards{height:253mm!important;max-height:253mm!important;display:flex!important;flex-direction:column!important;gap:4mm!important;overflow:hidden!important}
.mlcb-reading-card{
 flex:1 1 0!important;min-height:0!important;max-height:none!important;
 padding:4mm 5mm!important;border-radius:2mm!important;overflow:hidden!important;
 display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
}
.mlcb-reading-card h2{font-size:10pt!important;margin:0 0 2mm!important;flex:0 0 auto}
.mlcb-reading-card p,.mlcb-reading-card li,.mlcb-reading-card div{
 font-size:7.4pt!important;line-height:1.12!important;margin:0 0 1.2mm!important;
}
.mlcb-reading-card p+p{margin-top:0!important}
.mlcb-reading-card *{max-width:100%!important}

/* Gallery: four corner photographs with a circular central portrait overlapping the cross */
.mlcb-page:has(.mlcb-gallery-stage){padding:0!important;background:#080808!important;overflow:hidden!important}
.mlcb-page:has(.mlcb-gallery-stage)>.mlcb-page-title{
 position:absolute!important;top:5mm;left:0;right:0;z-index:5;text-align:center;
 margin:0!important;color:#fff!important;text-shadow:0 1mm 2mm rgba(0,0,0,.65);
}
.mlcb-gallery-stage{
 position:absolute!important;inset:0!important;width:100%!important;height:297mm!important;max-height:297mm!important;
 display:block!important;padding:0!important;margin:0!important;background:#080808!important;
}
.mlcb-gallery-stage figure{
 position:absolute!important;width:calc(50% - 5mm)!important;height:calc(50% - 5mm)!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 overflow:hidden!important;background:#4778c5!important;box-sizing:border-box!important;
}
.mlcb-gallery-stage .mlcb-gallery-photo{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(2){left:0!important;top:0!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(3){right:0!important;top:0!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(4){left:0!important;bottom:0!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(5){right:0!important;bottom:0!important}
.mlcb-gallery-stage .mlcb-gallery-central{
 left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
 width:116mm!important;height:116mm!important;border-radius:50%!important;
 border:3mm solid #fff!important;padding:0!important;z-index:4!important;
 box-shadow:0 2mm 8mm rgba(0,0,0,.35)!important;background:#888!important;
}
.mlcb-gallery-stage .mlcb-gallery-central img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.mlcb-gallery-caption{position:absolute!important;bottom:3mm!important;left:0;right:0;z-index:6;color:#fff!important;text-shadow:0 1mm 2mm #000;margin:0!important}

/* Family appreciation: portrait occupies the complete left half, edge-to-edge */
.mlcb-page:has(.mlcb-appreciation-layout){padding:0!important;overflow:hidden!important}
.mlcb-page:has(.mlcb-appreciation-layout)>.mlcb-page-title{
 position:absolute!important;z-index:3;top:10mm;right:7mm;width:43%!important;
 text-align:center!important;margin:0!important;
}
.mlcb-appreciation-layout{
 position:absolute!important;inset:0!important;width:100%!important;height:297mm!important;
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;
 margin:0!important;padding:0!important;align-items:stretch!important;
}
.mlcb-appreciation-portrait{width:100%!important;height:297mm!important;overflow:hidden!important;margin:0!important;padding:0!important}
.mlcb-appreciation-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.mlcb-appreciation-text{
 align-self:stretch!important;box-sizing:border-box!important;overflow:hidden!important;
 padding:35mm 12mm 14mm!important;display:flex;flex-direction:column;justify-content:center;
}
.mlcb-appreciation-text p{font-size:9pt!important;line-height:1.35!important}

/* MyLegacy v1.3.7 brochure and memorial page refinement */
.mlcb-page h1,.mlcb-page h2,.mlcb-page h3,.mlc-memorial-page h1,.mlc-memorial-page h2,
.mlc-memorial-page h3,.mlc-memorial-tabs,.mlc-memorial-section h2{
 font-family:Georgia,"Times New Roman",serif!important;
}
.mlcb-cover-title h1{
 font-family:Georgia,"Times New Roman",serif!important;
 font-size:29pt!important;font-weight:400!important;text-transform:none!important;
 color:#d9ad4d!important;letter-spacing:.2px;
}
.mlcb-cover-title h1 .mlc-name-divider{display:inline-block;height:1.05em;border-left:1.2px solid #d9ad4d;margin:0 3mm;vertical-align:middle}
.mlcb-cover-title h1 .mlc-name-surname{font-variant:small-caps}
.mlcb-cover-footer{padding:9mm 14mm 12mm!important}
.mlcb-page:has(.mlcb-two-columns){padding-bottom:18mm!important}
.mlcb-page:has(.mlcb-reading-cards){padding:0!important;background:#090909!important}
.mlcb-page:has(.mlcb-reading-cards)>.mlcb-page-title{position:absolute;top:5mm;left:0;right:0;text-align:center;color:#d4a900!important;z-index:4}
.mlcb-reading-cards{position:absolute!important;inset:0!important;height:297mm!important;max-height:297mm!important;display:block!important;overflow:hidden!important}
.mlcb-reading-card{
 position:absolute!important;width:76%!important;height:31%!important;min-height:0!important;
 padding:7mm!important;border:1px solid #c49a00!important;border-radius:0!important;
 background:#090909!important;color:#fff!important;box-sizing:border-box!important;overflow:hidden!important;
 display:block!important;
}
.mlcb-reading-card:nth-of-type(1){left:2.5%!important;top:0!important}
.mlcb-reading-card:nth-of-type(2){right:2.5%!important;top:40%!important}
.mlcb-reading-card:nth-of-type(3){left:2.5%!important;bottom:0!important}
.mlcb-reading-card h2{font:700 12pt Georgia,serif!important;color:#d4a900!important;margin:0 0 3mm!important}
.mlcb-reading-card p,.mlcb-reading-card li,.mlcb-reading-card div{font-size:8pt!important;line-height:1.18!important;color:#fff!important;margin:0 0 1.5mm!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(2){left:0!important;top:0!important;right:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(3){right:0!important;top:0!important;left:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(4){left:0!important;bottom:0!important;right:auto!important;top:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(5){right:0!important;bottom:0!important;left:auto!important;top:auto!important}
.mlcb-gallery-stage .mlcb-gallery-central{border:3mm solid #c49a00!important;background:#fff!important}
.mlcb-gallery-stage .mlcb-gallery-central img{object-fit:cover!important}
.mlcb-page:has(.mlcb-two-columns) .mlcb-page-title{font:700 12pt Georgia,serif!important}
.mlcb-bio-section h2{font-family:Georgia,serif!important}
.mlcb-page:has(.mlcb-appreciation-layout)>.mlcb-page-title{font-family:Georgia,serif!important}
.mlcb-appreciation-text{padding-top:18mm!important}
.mlcb-appreciation-text h2{font-family:Georgia,serif!important}

/* Memorial public page: identity card, tribute grid, tabs and funeral arrangement cards */
.mlc-memorial-page{max-width:1180px;margin:0 auto}
.mlc-memorial-hero-card{display:grid;grid-template-columns:minmax(220px,32%) 1fr;gap:clamp(22px,4vw,54px);align-items:center;padding:clamp(22px,4vw,48px);background:#f5ecdd;border-radius:24px;margin-bottom:30px}
.mlc-memorial-portrait{overflow:hidden;border-radius:120px 120px 16px 16px;max-height:440px}
.mlc-memorial-portrait img{display:block;width:100%;height:100%;max-height:440px;object-fit:cover}
.mlc-memorial-identity h1{font:400 clamp(28px,4.2vw,54px) Georgia,serif!important;color:#302039;margin:8px 0 14px}
.mlc-memorial-identity .mlc-name-given,.mlc-memorial-identity .mlc-name-surname{display:inline}
.mlc-name-divider{display:inline-block;height:1.05em;border-left:2px solid #b99143;margin:0 9px;vertical-align:middle}
.mlc-memorial-identity .mlc-name-surname{color:#b99143}
.mlc-memorial-tributes{margin:26px 0 34px}
.mlc-tributes-heading{text-align:center;margin-bottom:18px}
.mlc-tributes-heading h2{font:400 27px Georgia,serif;color:#302039;margin:0 0 5px}
.mlc-tributes-heading p{color:#746b75;margin:0}
.mlc-tribute-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mlc-tribute-card{background:#fff;border:1px solid #eadfce;border-top:3px solid #c5a052;border-radius:12px;padding:17px;min-width:0;box-shadow:0 5px 18px rgba(40,25,40,.045)}
.mlc-tribute-card p{font-size:14px;line-height:1.55;margin:0 0 12px;overflow-wrap:anywhere}
.mlc-tribute-card strong{display:block;color:#34243b;font-family:Georgia,serif}
.mlc-tribute-card small{display:block;color:#897f86;margin-top:5px}
.mlc-tribute-pagination{display:flex;justify-content:center;gap:8px;margin:22px 0}
.mlc-tribute-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border:1px solid #d9c9ad;border-radius:50%;color:#34243b;text-decoration:none}
.mlc-tribute-pagination a.is-current{background:#34243b;color:#fff;border-color:#34243b}
.mlc-funeral-schedule{background:#f5ecdd;border:1px solid #eadbc1;border-radius:18px;padding:24px;margin:28px 0}
.mlc-funeral-schedule h2{font:700 20px Georgia,serif;color:#34243b;margin:0 0 16px}
.mlc-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mlc-event{background:#fff;border:1px solid #eadfce;border-radius:12px;padding:17px;line-height:1.55}
.mlc-event h3,.mlc-event h4{font:700 15px Georgia,serif;color:#34243b;margin:0 0 10px}
.mlc-memorial-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e8dfd4;padding:12px 0;margin:22px 0}
.mlc-tab-button,.mlc-tab-download{border:0;border-radius:22px;background:#f4ecdf;color:#38243d;padding:11px 17px;font:600 14px Georgia,serif;text-decoration:none;cursor:pointer}
.mlc-tab-button[aria-selected="true"],.mlc-tab-download{background:#38243d;color:#fff}
.mlc-tab-panels{background:#fff;border:1px solid #eee5da;border-radius:14px;padding:clamp(18px,3vw,34px);margin-bottom:24px}
.mlc-tab-panel{display:none}
.mlc-tab-panel.is-active{display:block}
.mlc-tab-panel h2,.mlc-memorial-section h2{font:400 26px Georgia,serif;color:#34243b;margin:0 0 20px}
.mlc-reading-card,.mlc-song-card{background:#faf6ef;border:1px solid #e7d9c3;border-left:4px solid #c5a052;border-radius:10px;padding:18px;margin:0 0 16px}
.mlc-reading-card h3,.mlc-song-card h3{font:700 17px Georgia,serif;color:#34243b;margin:0 0 10px}
.mlc-public-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.mlc-public-gallery img{width:100%;height:190px;object-fit:cover;border-radius:10px}
.mlc-tab-panel video{width:100%;max-width:720px;display:block;margin:12px 0}
.mlc-audio-item{margin:14px 0}
.mlc-audio-item audio{display:block;width:100%;max-width:520px;margin-top:7px}
.mlc-tribute-submit{margin:26px 0}
@media(max-width:800px){.mlc-tribute-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mlc-memorial-hero-card{grid-template-columns:1fr}.mlc-memorial-portrait{max-width:330px;margin:0 auto}.mlc-event-grid{grid-template-columns:1fr}.mlc-memorial-tabs{gap:6px}.mlc-tab-button,.mlc-tab-download{font-size:12px;padding:9px 12px}}
@media(max-width:480px){.mlc-tribute-grid{grid-template-columns:1fr}}

.mlcb-document,.mlcb-document *{font-family:Arial,sans-serif}
.mlcb-document h1,.mlcb-document h2,.mlcb-document h3,.mlcb-page-title,
.mlcb-cover-title h1,.mlcb-bio-section h2,.mlcb-reading-card h2,.mlcb-hymn h2,
.mlcb-tribute-card h2{font-family:Georgia,"Times New Roman",serif!important}
.mlcb-cover-title h1{text-transform:none!important;letter-spacing:0!important}
.mlcb-cover-title h1 .mlc-name-given,.mlcb-cover-title h1 .mlc-name-surname{display:inline-block}
.mlcb-cover-title h1 .mlc-name-divider{display:inline-block;border-left:1.2px solid #d9ad4d;height:1em;margin:0 3mm;vertical-align:middle}

/* Exact photo-gallery proportions from the supplied A4 reference */
.mlcb-page:has(.mlcb-gallery-stage){background:#000!important}
.mlcb-gallery-stage .mlcb-gallery-flank{
 width:calc(50% - 2.5mm)!important;height:31%!important;
 border:1px solid #c49a00!important;padding:0!important;border-radius:0!important;
 background:#000!important;
}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(2){left:0!important;top:0!important;right:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(3){right:0!important;top:0!important;left:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(4){left:0!important;bottom:0!important;right:auto!important;top:auto!important;height:65%!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(5){right:0!important;bottom:0!important;left:auto!important;top:auto!important;height:65%!important}
.mlcb-gallery-stage .mlcb-gallery-central{
 width:80mm!important;height:80mm!important;border:3mm solid #c49a00!important;
 background:#fff!important;padding:0!important;
}
.mlcb-gallery-stage .mlcb-gallery-central img{border-radius:50%!important}
.mlcb-page:has(.mlcb-reading-cards)>.mlcb-page-title{display:none!important}

/* v1.3.8 — cover and photo gallery match supplied final artwork */
.mlcb-page.mlcb-cover{
 width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;
 padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;
 overflow:hidden!important;background:#4a210b!important;color:#fff!important;
}
.mlcb-cover-main{
 position:relative!important;display:block!important;flex:0 0 68%!important;
 width:100%!important;height:68%!important;min-height:0!important;overflow:hidden!important;
}
.mlcb-cover-main>.mlcb-cover-image{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:none!important;object-fit:cover!important;object-position:center 25%!important;display:block!important;
}
.mlcb-cover-qr{
 position:absolute!important;right:5.5%!important;bottom:7%!important;z-index:4!important;
 width:38mm!important;padding:2mm!important;background:#fff!important;border-radius:2mm!important;
 text-align:center!important;box-sizing:border-box!important;
}
.mlcb-cover-qr img{display:block!important;width:100%!important;height:auto!important;background:#fff!important;padding:0!important}
.mlcb-cover-qr p{font:700 5.5pt Arial,sans-serif!important;color:#111!important;margin:1mm 0 0!important;letter-spacing:.2px}
.mlcb-page.mlcb-cover>.mlcb-cover-title{
 position:relative!important;inset:auto!important;flex:0 0 14%!important;height:14%!important;width:100%!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;padding:4mm 12mm 3mm!important;text-align:center!important;
 background:rgba(87,43,18,.96)!important;color:#fff!important;
}
.mlcb-cover-title .mlcb-kicker{font:700 9pt Arial,sans-serif!important;letter-spacing:4px!important;color:#f4d98e!important;margin:0 0 2mm!important}
.mlcb-cover-title h1{font:400 21pt Georgia,"Times New Roman",serif!important;color:#f0c75f!important;text-transform:none!important;line-height:1.02!important;margin:0!important}
.mlcb-cover-title h1 .mlc-name-given,.mlcb-cover-title h1 .mlc-name-surname{display:inline-block!important}
.mlcb-cover-title h1 .mlc-name-divider{height:.95em!important;border-left:1px solid #e9bd4e!important;margin:0 2.5mm!important;vertical-align:middle!important}
.mlcb-cover-title .mlcb-years{font:10pt Georgia,serif!important;color:#fff!important;margin:1.5mm 0 0!important}
.mlcb-page.mlcb-cover>.mlcb-cover-footer{
 position:relative!important;inset:auto!important;flex:1 1 auto!important;height:18%!important;min-height:0!important;
 width:100%!important;box-sizing:border-box!important;padding:4mm 9mm 7mm!important;
 display:block!important;background:#542608!important;color:#fff!important;
}
.mlcb-cover-events{width:100%!important;height:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}
.mlcb-cover-events>h2{font:700 14pt Georgia,serif!important;color:#f5d78a!important;text-align:center!important;margin:0 0 4mm!important}
.mlcb-cover-events .mlcb-event{flex:1 1 0!important;min-width:0!important;background:transparent!important;border:0!important;border-right:1px solid #f0d28a!important;border-radius:0!important;padding:0 4mm!important;text-align:center!important;color:#fff!important;font:8pt Arial,sans-serif!important}
.mlcb-cover-events .mlcb-event:last-child{border-right:0!important}
.mlcb-cover-events .mlcb-event strong{font:700 9pt Georgia,serif!important;color:#f5d78a!important;text-transform:uppercase!important}
.mlcb-cover-events{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto 1fr!important}
.mlcb-cover-events>h2{grid-column:1/-1!important}
.mlcb-cover-events .mlcb-event{grid-row:2!important}

/* Gallery: four equal edge-to-edge quadrants, cross gap, central circular fifth image */
.mlcb-page:has(.mlcb-gallery-stage){padding:0!important;margin:0!important;background:#000!important;overflow:hidden!important}
.mlcb-page:has(.mlcb-gallery-stage)>.mlcb-page-title{display:none!important}
.mlcb-gallery-stage{
 position:absolute!important;inset:0!important;width:210mm!important;height:297mm!important;
 max-height:297mm!important;margin:0!important;padding:0!important;background:#000!important;display:block!important;
}
.mlcb-gallery-stage .mlcb-gallery-flank{
 position:absolute!important;width:calc(50% - 3mm)!important;height:calc(50% - 3mm)!important;
 margin:0!important;padding:0!important;border:1px solid #c49a00!important;border-radius:0!important;
 background:#000!important;overflow:hidden!important;box-sizing:border-box!important;
}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(2){left:0!important;top:0!important;right:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(3){right:0!important;top:0!important;left:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(4){left:0!important;bottom:0!important;right:auto!important;top:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(5){right:0!important;bottom:0!important;left:auto!important;top:auto!important}
.mlcb-gallery-stage .mlcb-gallery-photo{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.mlcb-gallery-stage .mlcb-gallery-central{
 position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
 width:87mm!important;height:87mm!important;margin:0!important;padding:2mm!important;
 border:2.5mm solid #c49a00!important;border-radius:50%!important;background:#fff!important;
 z-index:8!important;box-sizing:border-box!important;overflow:hidden!important;
}
.mlcb-gallery-stage .mlcb-gallery-central img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.mlcb-gallery-caption{position:absolute!important;left:0!important;right:0!important;bottom:2mm!important;text-align:center!important;color:#fff!important;z-index:9!important;font-size:7pt!important;text-shadow:0 1px 2px #000}
@media print{
 .mlcb-page.mlcb-cover{break-after:page!important;page-break-after:always!important}
 .mlcb-page:has(.mlcb-gallery-stage){break-before:page!important;break-after:page!important;page-break-before:always!important;page-break-after:always!important}
}


/* MyLegacy Core 1.3.9 — brochure layout corrections */
.mlcb-document{width:210mm!important;max-width:210mm!important;margin:0 auto!important}
.mlcb-page{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;box-sizing:border-box!important}

/* Cover: edge-to-edge portrait, soft transparent fade, and padded activity footer */
.mlcb-page.mlcb-cover{position:relative!important;display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden!important;background:#51270f!important}
.mlcb-page.mlcb-cover .mlcb-cover-main{position:relative!important;display:block!important;flex:0 0 220mm!important;width:100%!important;height:220mm!important;overflow:hidden!important}
.mlcb-page.mlcb-cover .mlcb-cover-main>.mlcb-cover-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 28%!important}
.mlcb-page.mlcb-cover>.mlcb-cover-title{position:absolute!important;z-index:3!important;left:0!important;right:0!important;bottom:77mm!important;width:100%!important;box-sizing:border-box!important;padding:12mm 12mm 6mm!important;text-align:center!important;background:linear-gradient(to bottom,rgba(65,29,9,0) 0%,rgba(65,29,9,.38) 20%,rgba(65,29,9,.82) 62%,rgba(65,29,9,.96) 100%)!important}
.mlcb-page.mlcb-cover .mlcb-cover-title .mlcb-kicker{color:#f5d78a!important}
.mlcb-page.mlcb-cover .mlcb-cover-title h1{font:400 24pt Georgia,"Times New Roman",serif!important;color:#f0c75f!important;line-height:1.08!important}
.mlcb-page.mlcb-cover .mlcb-cover-title .mlcb-years{font:10pt Georgia,serif!important;color:#fff!important}
.mlcb-page.mlcb-cover .mlcb-cover-qr{position:absolute!important;z-index:4!important;right:12mm!important;top:125mm!important;bottom:auto!important;width:34mm!important;text-align:center!important}
.mlcb-page.mlcb-cover .mlcb-cover-qr img{width:34mm!important;height:34mm!important;object-fit:contain!important;background:#fff!important;padding:2mm!important;box-sizing:border-box!important;border-radius:2mm!important}
.mlcb-page.mlcb-cover .mlcb-cover-qr p{font:700 5.5pt Arial,sans-serif!important;color:#111!important;background:#fff!important;margin:0!important;padding:1mm 0!important}
.mlcb-page.mlcb-cover>.mlcb-cover-footer{position:relative!important;z-index:2!important;flex:1 0 77mm!important;width:100%!important;height:77mm!important;min-height:77mm!important;box-sizing:border-box!important;margin:0!important;padding:9mm 14mm 12mm!important;background:#51270f!important;display:block!important}
.mlcb-page.mlcb-cover .mlcb-cover-events{width:100%!important;height:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto 1fr!important;align-items:stretch!important}
.mlcb-page.mlcb-cover .mlcb-cover-events>h2{grid-column:1/-1!important;text-align:center!important;font:700 14pt Georgia,serif!important;color:#f5d78a!important;margin:0 0 4mm!important}
.mlcb-page.mlcb-cover .mlcb-cover-events .mlcb-event{grid-row:2!important;min-width:0!important;margin:0!important;padding:0 4mm!important;border:0!important;border-right:1px solid rgba(245,215,138,.85)!important;text-align:center!important;color:#fff!important;font:8pt Arial,sans-serif!important;line-height:1.25!important}
.mlcb-page.mlcb-cover .mlcb-cover-events .mlcb-event:last-child{border-right:0!important}
.mlcb-page.mlcb-cover .mlcb-cover-events .mlcb-event strong{display:inline-block!important;font:700 9pt Georgia,serif!important;color:#f5d78a!important;text-transform:uppercase!important;margin-bottom:1mm!important}

/* Readings: three staggered, non-overlapping gold-bordered cards */
.mlcb-page:has(.mlcb-reading-cards){position:relative!important;padding:0!important;background:#fff!important;overflow:hidden!important}
.mlcb-page:has(.mlcb-reading-cards)>.mlcb-page-title{display:none!important}
.mlcb-reading-cards{position:absolute!important;inset:0!important;display:block!important;height:297mm!important;max-height:297mm!important;overflow:hidden!important}
.mlcb-reading-card{position:absolute!important;width:78%!important;height:84mm!important;box-sizing:border-box!important;overflow:hidden!important;padding:7mm 8mm!important;background:#fff!important;border:1px solid var(--mlcb-accent)!important;border-radius:0!important;box-shadow:none!important}
.mlcb-reading-card:nth-of-type(1){left:8.5%!important;right:auto!important;top:7mm!important;bottom:auto!important}
.mlcb-reading-card:nth-of-type(2){left:auto!important;right:8.5%!important;top:106mm!important;bottom:auto!important}
.mlcb-reading-card:nth-of-type(3){left:8.5%!important;right:auto!important;top:205mm!important;bottom:auto!important}
.mlcb-reading-card h2{font:700 12pt Georgia,"Times New Roman",serif!important;color:var(--mlcb-accent)!important;margin:0 0 3mm!important}
.mlcb-reading-card p,.mlcb-reading-card li,.mlcb-reading-card div{font:8pt Arial,sans-serif!important;line-height:1.17!important;color:#242124!important;margin:0 0 1.5mm!important}
.mlcb-reading-card p+p{margin-top:0!important}

/* Gallery: four edge-to-edge quadrants with the central circular portrait */
.mlcb-page:has(.mlcb-gallery-stage){position:relative!important;padding:0!important;margin:0!important;background:#000!important;overflow:hidden!important}
.mlcb-page:has(.mlcb-gallery-stage)>.mlcb-page-title{display:none!important}
.mlcb-gallery-stage{position:absolute!important;inset:0!important;width:210mm!important;height:297mm!important;margin:0!important;padding:0!important;display:block!important;background:#000!important;overflow:hidden!important}
.mlcb-gallery-stage figure{position:absolute!important;box-sizing:border-box!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid var(--mlcb-accent)!important;border-radius:0!important;background:#111!important}
.mlcb-gallery-stage .mlcb-gallery-photo{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.mlcb-gallery-stage .mlcb-gallery-flank{width:50%!important;height:50%!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(2){left:0!important;top:0!important;right:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(3){right:0!important;top:0!important;left:auto!important;bottom:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(4){left:0!important;bottom:0!important;right:auto!important;top:auto!important}
.mlcb-gallery-stage .mlcb-gallery-flank:nth-of-type(5){right:0!important;bottom:0!important;left:auto!important;top:auto!important}
.mlcb-gallery-stage .mlcb-gallery-central{z-index:5!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:82mm!important;height:82mm!important;border:3mm solid #fff!important;border-radius:50%!important;background:#fff!important;padding:0!important;box-shadow:0 0 0 2mm var(--mlcb-accent)!important}
.mlcb-gallery-stage .mlcb-gallery-central img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.mlcb-gallery-caption{position:absolute!important;z-index:7!important;left:0!important;right:0!important;bottom:3mm!important;text-align:center!important;color:#fff!important;font:700 7pt Arial,sans-serif!important;letter-spacing:1.5px!important;text-shadow:0 1px 3px #000!important;margin:0!important}
.mlcb-empty-photo{display:grid!important;place-items:center!important;color:#bbb!important;background:#333!important}

/* Keep biography content clear of the bottom edge */
.mlcb-page:has(.mlcb-two-columns){padding-bottom:18mm!important}
.mlcb-page:has(.mlcb-two-columns) .mlcb-page-title,
.mlcb-bio-section h2{font-family:Georgia,"Times New Roman",serif!important}

/* Tributes: two columns, two rows per A4 page; only create pages containing tributes */
.mlcb-tributes-page .mlcb-tribute-grid{height:245mm!important;max-height:245mm!important;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr 1fr!important;gap:8mm!important;align-content:stretch!important}
.mlcb-tributes-page .mlcb-tribute-card{min-height:0!important;height:100%!important;padding:7mm!important;overflow:hidden!important;border:1px solid var(--mlcb-accent)!important;border-top:3px solid var(--mlcb-accent)!important;border-radius:3mm!important;box-sizing:border-box!important}
.mlcb-tributes-page .mlcb-tribute-card p{font:9pt Arial,sans-serif!important;line-height:1.35!important;margin:0 0 5mm!important}
.mlcb-tributes-page .mlcb-tribute-card h2{font:700 10pt Georgia,"Times New Roman",serif!important;text-align:right!important;margin:0!important;color:var(--mlcb-accent)!important}
@media print{
 .mlcb-document{position:static!important;left:auto!important;top:auto!important;width:210mm!important;max-width:210mm!important;margin:0!important}
 .mlcb-page{margin:0!important;box-shadow:none!important}
 .mlcb-page.mlcb-cover,.mlcb-page:has(.mlcb-gallery-stage){-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
