/* Shared by public cards, editorial previews and the Elementor form preview. */
.mhf-single,.mhf-list{box-sizing:border-box;width:100%;max-width:840px;margin:32px auto;padding:0 20px;color:#172846}
.mhf-card,#mhf-preview.mhf-card{--mhf-title-font:inherit;--mhf-body-font:inherit;position:relative;isolation:isolate;box-sizing:border-box;width:100%;margin:22px auto;padding:36px 25px;border:1px solid #d5d9e3;border-radius:10px;background:#fffdf9;text-align:center;box-shadow:0 4px 16px #1423430c;overflow:hidden;overflow-wrap:anywhere;color:#172846}
.mhf-card>*{position:relative;z-index:1}
.mhf-card::before,.mhf-card::after{content:"";position:absolute;pointer-events:none;z-index:0}
.mhf-card .mhf-symbol,#mhf-preview.mhf-card .mhf-symbol{font-size:34px;color:inherit;min-height:24px;margin:0 0 10px}
.mhf-card :is(h2,h3).mhf-names,#mhf-preview.mhf-card .mhf-names{font-size:29px;line-height:1.3;color:inherit;margin:16px 0;font-weight:700}
.mhf-card .mhf-text,#mhf-preview.mhf-card .mhf-text{color:inherit;font-size:17px;line-height:1.65;max-width:570px;margin:14px auto;text-align:center;white-space:normal}
.mhf-card .mhf-text p{margin:10px 0;line-height:inherit;color:inherit}
.mhf-card .mhf-detail{color:#586371;font-size:14px;line-height:1.6}
.mhf-card .mhf-kind{display:table;margin:0 auto 10px;padding:4px 11px;border-radius:99px;font-family:Arial,sans-serif;font-size:11px;line-height:1.6;letter-spacing:.14em;text-transform:uppercase;font-weight:700}
.mhf-card img,#mhf-preview.mhf-card img{display:block;width:auto;height:auto;max-height:230px;max-width:100%;object-fit:contain;margin:18px auto;border-radius:6px}
.mhf-card img[hidden]{display:none!important}
/* Geboorte: mint en roomwit, zachte hoeken, zonder kleurkeuze op basis van geslacht. */
.mhf-card--geboorte,#mhf-preview.mhf-card--geboorte{--mhf-title-font:"Trebuchet MS",Arial,sans-serif;background:linear-gradient(135deg,#fffdf5 0%,#f0faf4 100%);border-color:#b4d3c4;border-radius:22px;color:#244e43;box-shadow:0 8px 28px #245c4510}
.mhf-card--geboorte::before{width:100px;height:100px;left:-38px;top:-38px;border:16px solid #d8eadf;border-radius:50%;box-shadow:32px 32px 0 -24px #e6cb87}
.mhf-card--geboorte::after{width:68px;height:68px;right:-25px;bottom:-25px;border:12px solid #e1eee5;border-radius:50%}
.mhf-card--geboorte .mhf-kind,#mhf-preview.mhf-card--geboorte .mhf-kind{color:#315e4e;background:#e1efe6}
.mhf-card--geboorte .mhf-detail,#mhf-preview.mhf-card--geboorte .mhf-detail{color:#4d655b}
.mhf-card--geboorte img,#mhf-preview.mhf-card--geboorte img{border-radius:12px}
/* Overlijden: wit papier, antraciet en een rustig recht kader. */
.mhf-card--overlijden,#mhf-preview.mhf-card--overlijden{--mhf-title-font:Georgia,serif;background:#fff;border:1px solid #73777c;border-radius:2px;color:#2c3035;box-shadow:none;padding-top:49px}
.mhf-card--overlijden::before{width:62px;height:1px;top:25px;left:calc(50% - 31px);background:#8b8e92}
.mhf-card--overlijden .mhf-kind,#mhf-preview.mhf-card--overlijden .mhf-kind{color:#53595f;letter-spacing:.17em;padding:0;margin-bottom:18px}
.mhf-card--overlijden .mhf-detail,#mhf-preview.mhf-card--overlijden .mhf-detail{color:#5b6066}
.mhf-card--overlijden img,#mhf-preview.mhf-card--overlijden img{border-radius:2px}
/* Huwelijk: ivoor, een dubbele rand en twee kleine ringen. */
.mhf-card--huwelijk,#mhf-preview.mhf-card--huwelijk{--mhf-title-font:Georgia,serif;background:#fffcf7;border:3px double #cbb88f;border-radius:12px;color:#514430;padding-top:66px;box-shadow:0 5px 20px #8166410a}
.mhf-card--huwelijk::before,.mhf-card--huwelijk::after{width:21px;height:21px;top:26px;border:1.5px solid #a78548;border-radius:50%}
.mhf-card--huwelijk::before{left:calc(50% - 19px)}
.mhf-card--huwelijk::after{left:calc(50% - 3px)}
.mhf-card--huwelijk .mhf-kind,#mhf-preview.mhf-card--huwelijk .mhf-kind{color:#6c552d;background:#f1e8d6}
.mhf-card--huwelijk .mhf-detail,#mhf-preview.mhf-card--huwelijk .mhf-detail{color:#6c6250}
/* Jubileum: warm goud met een duidelijke bovenrand. */
.mhf-card--jubileum,#mhf-preview.mhf-card--jubileum{--mhf-title-font:Georgia,serif;background:#fff9ed;border:1px solid #d8bd80;border-top:6px solid #b28533;border-radius:14px;color:#5d431e;box-shadow:0 5px 20px #8b63200c}
.mhf-card--jubileum .mhf-kind,#mhf-preview.mhf-card--jubileum .mhf-kind{color:#73511a;background:#f3e5c1}
.mhf-card--jubileum .mhf-detail,#mhf-preview.mhf-card--jubileum .mhf-detail{color:#6f6045}
.mhf-card--anders .mhf-kind,#mhf-preview.mhf-card--anders .mhf-kind{background:#eff1f5;color:#46556c}
.mhf-permalink{text-align:center;margin:0 0 36px}
.mhf-pagination{display:flex;justify-content:center;gap:12px;margin:28px 0}
.mhf-pagination .page-numbers{padding:8px 12px}
.mhf-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mhf-admin-fields label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.mhf-admin-fields input,.mhf-admin-fields select{width:100%;max-width:100%;min-height:36px}
.mhf-single a,.mhf-list a{color:#0032ad;text-decoration:underline}
.mhf-single a:focus-visible,.mhf-list a:focus-visible{outline:3px solid #0032ad;outline-offset:4px}
.mhf-style-note{font-size:14px;line-height:1.6;color:#536076;margin:12px 0}
@media(max-width:600px){.mhf-card,#mhf-preview.mhf-card{padding:26px 16px}.mhf-card--overlijden,#mhf-preview.mhf-card--overlijden{padding-top:46px}.mhf-card--huwelijk,#mhf-preview.mhf-card--huwelijk{padding-top:64px}.mhf-card :is(h2,h3).mhf-names,#mhf-preview.mhf-card .mhf-names{font-size:25px}.mhf-card .mhf-text,#mhf-preview.mhf-card .mhf-text{color:inherit;font-size:16px}.mhf-admin-fields{grid-template-columns:1fr}.mhf-single,.mhf-list{padding:0 14px}}
@media print{.mhf-card{box-shadow:none;break-inside:avoid}}

/* Village home pages: a separate section, emitted only when published notices exist. */
.mhf-home-block{box-sizing:border-box;max-width:1140px;width:100%;margin:40px auto;padding:28px 20px 12px;border-top:1px solid #dce1e7;color:#172846;font-family:inherit}
.mhf-home-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px}
.mhf-home-heading h2{font-size:26px;line-height:1.3;margin:0;color:inherit;font-weight:700}
.mhf-home-block a{color:#0032ad;text-decoration:underline;text-underline-offset:3px}
.mhf-home-block a:focus-visible{outline:3px solid #0032ad;outline-offset:4px}
.mhf-home-heading>a{font-size:14px;flex-shrink:0}
.mhf-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.mhf-home-grid--1{grid-template-columns:minmax(0,560px);justify-content:center}
.mhf-home-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mhf-home-item{min-width:0}
.mhf-home-block .mhf-card{margin:20px 0 10px;padding-left:18px;padding-right:18px}
.mhf-home-block .mhf-card .mhf-names{font-size:25px}
.mhf-home-block .mhf-card .mhf-text{font-size:16px}
.mhf-home-block .mhf-card img{max-height:180px}
.mhf-home-link{text-align:center;font-size:14px;line-height:1.5;margin:12px 0 20px}
@media(max-width:1000px){.mhf-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mhf-home-grid--1{grid-template-columns:minmax(0,560px)}}
@media(max-width:650px){.mhf-home-block{margin:28px auto;padding:24px 16px 8px}.mhf-home-heading{display:block}.mhf-home-heading h2{font-size:23px;margin-bottom:8px}.mhf-home-grid,.mhf-home-grid--2{grid-template-columns:minmax(0,1fr);gap:8px}}
