/* Hades Nekrologi – style scoped to the plugin */
.hades-plugin-page{background:#fbfaf7;color:#272922;min-height:60vh;padding:1px 0 65px}
.hades-wrap{max-width:1150px;margin:35px auto 65px;padding:0 24px;color:#292820;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6;box-sizing:border-box}
.hades-wrap *{box-sizing:border-box}
.hades-wrap a{text-decoration:none}
.hades-wrap h1,.hades-wrap h2{color:#28271f;line-height:1.25}
.hades-breadcrumb{font-size:13px;color:#817f76;margin:15px 0 22px}
.hades-breadcrumb a{color:#68644c;text-decoration:underline;text-underline-offset:3px}
.hades-breadcrumb span{padding:0 10px}
.hades-single>h1{font:normal clamp(27px,4vw,44px)/1.2 Georgia,'Times New Roman',serif;text-align:center;margin:18px 0 28px}
.hades-card-frame{max-width:1050px;margin:0 auto}
.hades-obituary-art{width:100%;aspect-ratio:297/210;overflow:hidden;background:#fff;box-shadow:0 3px 26px rgba(45,37,22,.13);border-radius:2px;color:#25231f;box-sizing:border-box}
.hades-uploaded{display:flex;align-items:center;justify-content:center}
.hades-custom-obituary{width:100%!important;height:100%!important;object-fit:contain!important;display:block;max-width:none!important}
.hades-generated{position:relative;padding:2.2%;container-type:inline-size;background:linear-gradient(110deg,#fffefa,#fff 65%,#fcfbf8)}
.hades-print-border{width:100%;height:100%;position:relative;border:3px solid #303029;outline:1px solid #b0a587;outline-offset:-12px;display:flex;justify-content:center;align-items:center;text-align:center;padding:2.5% 13% 4%}
.hades-print-main{position:relative;z-index:2;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
.hades-print-intro{font:italic 2.2cqw/1.3 Georgia,serif;margin:0 0 .2em}
.hades-print-subintro{font:italic 1.75cqw/1.4 Georgia,serif;margin:0 0 .6em}
.hades-print-rip{font:normal 2.4cqw/1.2 Georgia,serif;margin:.4em 0}
.hades-print-name{font:normal 5.5cqw/1.04 Georgia,'Times New Roman',serif;letter-spacing:.045em;text-transform:uppercase;overflow-wrap:anywhere;max-width:100%;margin:.05em 0 .1em}
.hades-print-relation{font:italic 1.9cqw/1.3 Georgia,serif;margin:.25em 0}
.hades-print-line{height:1px;width:27%;background:#9a8f72;margin:1.5cqw auto}
.hades-print-farewell{font:italic 1.65cqw/1.3 Georgia,serif;margin:0 0 .55em}
.hades-print-ceremony{font:normal 1.95cqw/1.3 Georgia,serif;margin:.4em 0 .65em;max-width:92%}
.hades-print-family-label{font:italic 1.65cqw/1.25 Georgia,serif;margin:.4em 0 0}
.hades-print-family{font:bold 1.9cqw/1.3 Georgia,serif;margin:.2em 0 0}
.hades-print-footer{position:absolute;bottom:1.1%;left:13%;right:13%;font:normal .87cqw/1.2 Georgia,serif;letter-spacing:.12em;color:#807b6e;text-transform:uppercase;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.hades-print-cross{position:absolute;right:5.5%;top:12%;width:5%;height:25%;z-index:1}
.hades-print-cross:before,.hades-print-cross:after{position:absolute;content:"";background:#5d594e;box-shadow:2px 2px 0 #a69a7a}
.hades-print-cross:before{width:12%;height:100%;left:44%;top:0}
.hades-print-cross:after{height:7%;width:100%;top:28%;left:0}
.hades-ornament{position:absolute;color:#a1977a;font:normal 11cqw/1 Georgia,serif;opacity:.5;pointer-events:none}
.hades-ornament-left{bottom:20%;left:3%;transform:rotate(-40deg)}
.hades-ornament-right{bottom:17%;right:3%;transform:scaleX(-1) rotate(-32deg)}
.hades-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:13px;margin:28px 0 32px}
.hades-btn{display:inline-flex!important;gap:8px;align-items:center;justify-content:center;padding:12px 22px!important;border:1px solid #aa9870!important;border-radius:5px!important;cursor:pointer;font:600 14px/1.35 Arial,Helvetica,sans-serif!important;letter-spacing:.015em;text-decoration:none!important;color:#50482f!important;background:#fff!important;min-height:44px;transition:background .15s,color .15s}
.hades-btn:hover,.hades-btn:focus-visible{background:#eee9df!important}
.hades-btn-primary{background:#464739!important;border-color:#464739!important;color:#fff!important}
.hades-btn-primary:hover,.hades-btn-primary:focus-visible{background:#66664f!important;color:#fff!important}
.hades-detail-panel{padding:30px 38px;max-width:900px;margin:0 auto 25px;background:#fff;border:1px solid #e9e5da;border-radius:6px}
.hades-detail-panel h2,.hades-sharing h2{font:normal 26px/1.3 Georgia,serif;margin:0 0 14px}
.hades-detail-panel p{margin:6px 0;color:#4b483f}
.hades-detail-panel strong{color:#35332c}
.hades-additional{max-width:900px;margin:20px auto;padding:5px 15px;color:#47463e}
.hades-sharing{max-width:900px;padding:28px 38px;margin:22px auto;background:#f6f3ed;border:1px solid #eee8dc;border-radius:6px}
.hades-sharing h2{font-size:24px}
.hades-share-links{display:flex;gap:9px;flex-wrap:wrap}
.hades-share-links a,.hades-share-links button{font:500 14px/1.35 Arial,Helvetica,sans-serif;background:#fff;color:#504b40!important;border:1px solid #d9d3c5!important;padding:10px 16px;border-radius:5px;cursor:pointer;display:inline-flex;align-items:center;text-decoration:none!important}
.hades-share-links a:hover,.hades-share-links button:hover{background:#eee8de}
.hades-qr-row{display:flex;align-items:center;gap:22px;margin-top:22px}
.hades-qr-row img{width:148px!important;height:148px!important;flex:none;object-fit:contain;background:white;border:1px solid #e9e4db}
.hades-qr-row p{font-size:14px;color:#5f5a4d;max-width:340px}
.hades-firm{max-width:900px;margin:32px auto 0;border-top:1px solid #e6dfd3;padding:20px 0;color:#777264;font-size:13px;display:flex;gap:8px 17px;flex-wrap:wrap}
.hades-firm strong{color:#4f4a3e}
.hades-archive{padding-top:30px}
.hades-list-heading{text-align:center;max-width:720px;margin:10px auto 38px}
.hades-eyebrow{font:normal 13px Arial,Helvetica,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#8a7752;margin:0 0 10px}
.hades-list-heading h1{font:normal clamp(36px,5vw,57px)/1.2 Georgia,serif;margin:0 0 18px}
.hades-list-heading>p:last-child{font-size:15px;color:#736f64}
.hades-search{margin:0 auto 37px;max-width:630px}
.hades-search label{display:block;font-size:13px;color:#777066;margin-bottom:7px}
.hades-search>div{display:flex;gap:9px}
.hades-search input{flex:1;min-width:0;height:46px;padding:11px 15px;border:1px solid #d6d1c7;border-radius:5px;color:#2b2923!important;background:#fff!important;font:16px Arial,sans-serif}
.hades-grid{display:grid;grid-template-columns:repeat(var(--hades-columns),minmax(0,1fr));gap:25px}
.hades-mini-card{background:#fff;border:1px solid #e7e1d5;border-radius:7px;overflow:hidden;box-shadow:0 3px 13px rgba(42,34,16,.045);transition:transform .15s,box-shadow .15s}
.hades-mini-card:hover{transform:translateY(-3px);box-shadow:0 9px 25px rgba(42,34,16,.11)}
.hades-mini-card>a{display:block;color:inherit!important;height:100%;text-decoration:none!important}
.hades-mini-symbol{height:155px;display:flex;align-items:center;justify-content:center;background:#e9e5dc;color:#8d8165}
.hades-mini-symbol span{font-size:65px;font-family:Georgia,serif;line-height:1}
.hades-mini-thumb{height:155px;overflow:hidden;background:#f0eee9}
.hades-mini-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.hades-mini-body{padding:22px 23px 25px;min-height:205px;display:flex;align-items:flex-start;flex-direction:column}
.hades-mini-rip{margin:0 0 7px;font:14px Georgia,serif;color:#8b826f;letter-spacing:.08em}
.hades-mini-body h2{font:normal 24px/1.25 Georgia,serif;margin:0 0 7px!important;color:#2b2821}
.hades-years{font:16px Georgia,serif;color:#9b907c;margin:0 0 9px}
.hades-mini-date{font-size:13px;color:#767061;margin:2px 0 20px}
.hades-mini-cta{color:#6a5e40;font-weight:bold;font-size:13px;margin-top:auto;text-decoration:underline;text-underline-offset:4px}
.hades-pagination{text-align:center;margin-top:35px}
.hades-pagination .page-numbers{display:inline-block;padding:8px 13px;border:1px solid #d4caba;margin:3px;color:#51493d;text-decoration:none}
.hades-pagination .current{background:#484739;color:white}
.hades-no-results{text-align:center;padding:40px;color:#716c62}
@media(max-width:800px){.hades-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hades-detail-panel,.hades-sharing{padding:23px}}
@media(max-width:530px){.hades-wrap{padding:0 15px;margin:22px auto 45px}.hades-grid{grid-template-columns:1fr}.hades-archive{padding-top:20px}.hades-search>div{flex-direction:column}.hades-search button{width:100%}.hades-breadcrumb{margin:10px 0 20px}.hades-single>h1{margin:0 0 20px}.hades-actions{margin:20px 0}.hades-qr-row{flex-direction:column;align-items:flex-start}.hades-detail-panel h2{font-size:24px}.hades-print-border{border-width:2px;outline-offset:-6px}.hades-generated{padding:2%}.hades-mini-symbol,.hades-mini-thumb{height:130px}}
