/*
 * Onoranze Funebri La Violetta - design del sito (sopra style.css di base).
 * Toni viola profondo e avorio, titoli in capitali lapidarie (Marcellus), testo in Urbanist.
 */
@font-face {
    font-family: 'Marcellus';
    src: url('../fonts/Marcellus/Marcellus-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --lv-ink: #231c2e;
    --lv-text: #403949;
    --lv-muted: #6b6475;
    --lv-violet: #5b3f7a;
    --lv-violet-deep: #33244a;
    --lv-lilac: #f0ebf6;
    --lv-cream: #faf8f5;
    --lv-gold: #a98650;
    --lv-line: #e4dfe9;
    --lv-radius: 14px;
    --lv-display: 'Marcellus', 'Trajan Pro', Georgia, serif;
}
html, body {
    font-weight: 400;
    color: var(--lv-text);
    background: #fff !important;
}
body { font-size: 1.0625rem; line-height: 1.7; padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 992px) { body { padding-bottom: 0; } }
a { color: var(--lv-violet); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lv-gold); outline-offset: 3px; }
.lv-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }

/* ---- Barra superiore e intestazione ---- */
.lv-topbar { background: var(--lv-violet-deep); color: #e9e1f3; font-size: .875rem; }
.lv-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; }
.lv-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8fe0a8; margin-right: .5rem; box-shadow: 0 0 0 4px rgba(143, 224, 168, .18); }
.lv-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.lv-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lv-line); }
.lv-header-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .75rem; }
.lv-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--lv-violet); }
.lv-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lv-brand-name { font-family: var(--lv-display); font-size: 1.2rem; color: var(--lv-ink); letter-spacing: .02em; }
.lv-brand-sub { font-size: .78rem; color: var(--lv-muted); letter-spacing: .08em; text-transform: uppercase; }
.lv-nav-toggle { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 1px solid var(--lv-line); border-radius: 999px; padding: .4rem .9rem; color: var(--lv-ink); font-weight: 600; }
.lv-nav-toggle .bi { font-size: 1.4rem; line-height: 1; }
.lv-nav { flex-basis: 100%; }
.lv-nav ul { list-style: none; margin: 0; padding: .5rem 0 0; display: grid; gap: .1rem; }
.lv-nav a { display: block; padding: .6rem .25rem; text-decoration: none; color: var(--lv-ink); font-weight: 600; border-bottom: 1px solid var(--lv-line); }
.lv-nav a[aria-current="page"] { color: var(--lv-violet); }
@media (min-width: 992px) {
    .lv-nav-toggle { display: none; }
    .lv-nav { display: block !important; flex-basis: auto; }
    .lv-nav ul { display: flex; gap: 1.6rem; padding: 0; }
    .lv-nav a { border: 0; padding: .4rem 0; font-size: .98rem; position: relative; }
    .lv-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lv-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
    .lv-nav a:hover::after, .lv-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ---- Pulsanti ---- */
.lv-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; background: var(--lv-violet); color: #fff !important; font-weight: 700; text-decoration: none; border: 2px solid var(--lv-violet); transition: background .2s, transform .2s; }
.lv-btn:hover { background: var(--lv-violet-deep); border-color: var(--lv-violet-deep); transform: translateY(-1px); }
.lv-btn-ghost { background: transparent; color: var(--lv-violet) !important; }
.lv-btn-ghost:hover { background: var(--lv-violet); color: #fff !important; }
.lv-hero .lv-btn { background: #fff; border-color: #fff; color: var(--lv-violet-deep) !important; }
.lv-hero .lv-btn:hover { background: var(--lv-lilac); }
.lv-hero .lv-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.lv-hero .lv-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---- Tipografia di contenuto ---- */
.lv-main h1, .lv-main h2, .lv-main h3 { font-family: var(--lv-display); font-weight: 400; color: var(--lv-ink); line-height: 1.15; text-wrap: balance; letter-spacing: .01em; margin: 0; }
.lv-main h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.lv-main h3 { font-size: 1.4rem; }
.lv-eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--lv-gold); margin: 0 0 1rem; }
.lv-main p { margin: 0 0 1rem; }

/* ---- Hero ---- */
.lv-hero { position: relative; overflow: hidden; color: #efe9f6; background: radial-gradient(1000px 520px at 85% 0%, #5b3f7a 0%, transparent 60%), linear-gradient(160deg, #33244a 0%, #1f1630 100%); }
.lv-hero-in { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.lv-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); color: #fff; margin-bottom: 1.25rem; }
.lv-hero .lv-eyebrow { color: #d6bc8c; }
.lv-hero .lv-lead { font-size: 1.2rem; color: #d9d0e4; max-width: 56ch; }
.lv-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.lv-hero-photo { margin: 0; justify-self: center; width: min(100%, 420px); }
.lv-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 6px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.lv-hero-photo figcaption { text-align: center; font-size: .85rem; color: #b9aecb; margin-top: .75rem; }
@media (min-width: 900px) { .lv-hero-in { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

/* ---- Sezioni ---- */
.lv-band { padding-block: clamp(3rem, 6vw, 5.5rem); }
.lv-band-alt { background: var(--lv-cream); }
.lv-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .lv-split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .lv-split-rev > :first-child { order: 2; } }
.lv-prose h2 { margin-bottom: 1.25rem; }
.lv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lv-duo figure { margin: 0; }
.lv-duo figure:nth-child(2) { margin-top: 2.5rem; }
.lv-duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--lv-radius); }
.lv-section-head { max-width: 40rem; margin-bottom: 2.5rem; }

/* ---- Servizi ---- */
.lv-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .lv-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lv-services { grid-template-columns: repeat(4, 1fr); } }
.lv-service { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; background: #fff; border: 1px solid var(--lv-line); border-radius: var(--lv-radius); text-decoration: none; color: var(--lv-text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lv-service:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(51, 36, 74, .1); border-color: var(--lv-violet); }
.lv-service .bi { font-size: 1.7rem; color: var(--lv-violet); margin-bottom: 1rem; line-height: 1; }
.lv-service h3 { margin-bottom: .6rem; }
.lv-service p { color: var(--lv-muted); font-size: .98rem; flex: 1; }
.lv-more { color: var(--lv-violet); font-weight: 700; font-size: .92rem; }
.lv-more::after { content: ' \2192'; }

/* ---- Numeri ---- */
.lv-facts { display: grid; gap: 1rem; margin: 0; }
.lv-facts > div { background: var(--lv-lilac); border-radius: var(--lv-radius); padding: 1.5rem 1.75rem; display: flex; align-items: baseline; gap: 1.25rem; }
.lv-facts dt { font-family: var(--lv-display); font-size: 2.6rem; color: var(--lv-violet); line-height: 1; min-width: 4.5rem; }
.lv-facts dd { margin: 0; color: var(--lv-text); }

/* ---- Chiamata finale ---- */
.lv-cta { background: linear-gradient(160deg, #33244a 0%, #1f1630 100%); color: #e8e0f2; }
.lv-cta-in { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .lv-cta-in { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.lv-cta h2 { color: #fff; margin-bottom: 1rem; }
.lv-cta .lv-eyebrow { color: #d6bc8c; }
.lv-cta a { color: #fff; }
.lv-phones { display: grid; gap: .75rem; }
.lv-phone { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-radius: var(--lv-radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); text-decoration: none; transition: background .2s; }
.lv-phone:hover { background: rgba(255, 255, 255, .16); }
.lv-phone-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #cbbfdc; }
.lv-phone-num { font-family: var(--lv-display); font-size: 1.5rem; color: #fff; }

/* ---- Footer ---- */
.lv-footer { background: #1b1426; color: #c9bfd8; padding-top: 3.5rem; }
.lv-footer a { color: #e9e1f3; }
.lv-footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 800px) { .lv-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }
.lv-footer-brand { font-family: var(--lv-display); font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }
.lv-footer-h { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: #d6bc8c; margin-bottom: .75rem; }
.lv-footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.lv-footer-address { font-style: normal; }
.lv-footer .site-footer-compliance { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.5rem; font-size: .88rem; }
.lv-footer .site-footer-compliance .text-danger { color: #ffb4b4 !important; }
.lv-footer .site-footer-legal { margin-top: .75rem; }
.lv-footer .site-footer-newsletter, .lv-footer form { color: #c9bfd8; }
.lv-powered { text-align: center; font-size: .82rem; color: #9486a8; padding-bottom: 1.5rem; margin: 0; }
.lv-callbar { position: fixed; z-index: 1030; left: 0; right: 0; bottom: 0; display: flex; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--lv-violet-deep); box-shadow: 0 -6px 20px rgba(0, 0, 0, .2); }
.lv-callbar a { flex: 1; text-align: center; padding: .95rem .5rem; color: #fff; text-decoration: none; font-weight: 700; border-left: 1px solid rgba(255, 255, 255, .15); }
.lv-callbar a:first-child { flex: 1.6; border-left: 0; background: var(--lv-violet); }
@media (min-width: 992px) { .lv-callbar { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Hero senza foto: filigrana a fiore ---- */
.lv-hero::after { content: ''; position: absolute; right: -80px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); opacity: .07; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><g fill='white'><ellipse cx='24' cy='14' rx='5' ry='8'/><ellipse cx='24' cy='14' rx='5' ry='8' transform='rotate(72 24 24)'/><ellipse cx='24' cy='14' rx='5' ry='8' transform='rotate(144 24 24)'/><ellipse cx='24' cy='14' rx='5' ry='8' transform='rotate(216 24 24)'/><ellipse cx='24' cy='14' rx='5' ry='8' transform='rotate(288 24 24)'/></g></svg>") center / contain no-repeat; }
.lv-hero-in { grid-template-columns: 1fr !important; position: relative; z-index: 1; }
.lv-hero-in > div { max-width: 52rem; }
.lv-hero .lv-wrap { position: relative; z-index: 1; }
.lv-hero-points { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font-size: .95rem; color: #d9d0e4; }
.lv-hero-points .bi { color: #d6bc8c; margin-right: .4rem; }

/* ---- Mobile: barra e intestazione compatte ---- */
@media (max-width: 639px) {
    .lv-topbar-tel { display: none; }
    .lv-topbar-in { justify-content: center; }
    .lv-header-in { flex-wrap: wrap; }
    .lv-brand-name { font-size: 1.02rem; }
    .lv-brand-sub { font-size: .68rem; }
    .lv-brand-mark { width: 38px; height: 38px; }
    .lv-nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .lv-nav-toggle { padding: .35rem .55rem; }
    .lv-callbar a:first-child { flex: 1.8; font-size: .92rem; }
}
@media (max-width: 991px) {
    #silktide-wrapper #silktide-cookie-icon { bottom: 72px !important; }
}
@media (max-width: 639px) {
    .lv-header-in { flex-wrap: wrap; }
    .lv-brand { min-width: 0; flex: 1 1 0; }
    .lv-brand-name { font-size: .92rem; }
    .lv-nav-toggle { flex: 0 0 auto; }
}

/* ---- Newsletter nel footer ---- */
.lv-footer .site-newsletter-form-section { max-width: 40rem; padding-block: 1.5rem 0.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.lv-footer .site-newsletter-form-title { font-family: var(--lv-display); font-weight: 400; font-size: 1.5rem; color: #fff; margin-bottom: .5rem; }
.lv-footer .site-newsletter-form-section a { color: #fff; }
.lv-footer .site-newsletter-form-section .text-secondary { color: #9486a8 !important; }
.lv-footer .site-newsletter-form-control { border-radius: 999px; padding: .7rem 1.1rem; border: 0; }
.lv-footer .site-newsletter-form-submit { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.6rem; border: 2px solid #fff; border-radius: 999px; background: #fff; color: var(--lv-violet-deep); font-weight: 700; cursor: pointer; transition: background .2s; }
.lv-footer .site-newsletter-form-submit:hover { background: var(--lv-lilac); }
.lv-footer .site-footer-compliance { border-top: 0; }

/* ---- Pagine interne ---- */
.lv-pagehero { position: relative; overflow: hidden; color: #efe9f6; background: radial-gradient(900px 420px at 90% 0%, #5b3f7a 0%, transparent 60%), linear-gradient(160deg, #33244a 0%, #1f1630 100%); }
.lv-pagehero-in { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.lv-pagehero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); color: #fff; margin-bottom: 1rem; }
.lv-pagehero .lv-eyebrow { color: #d6bc8c; }
.lv-pagehero .lv-lead { font-size: 1.15rem; color: #d9d0e4; max-width: 56ch; }
.lv-pagehero .lv-btn { background: #fff; border-color: #fff; color: var(--lv-violet-deep) !important; }
.lv-pagehero .lv-btn:hover { background: var(--lv-lilac); }
.lv-pagehero .lv-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.lv-pagehero .lv-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.lv-pagehero-photo { margin: 0; }
.lv-pagehero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 999px 999px 18px 18px / 240px 240px 18px 18px; border: 6px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
@media (min-width: 900px) { .lv-pagehero-in:has(.lv-pagehero-photo) { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
@media (max-width: 899px) { .lv-pagehero-photo img { border-radius: 18px; } }
.lv-photo { margin: 0; }
.lv-photo img { width: 100%; border-radius: var(--lv-radius); box-shadow: 0 18px 40px rgba(51, 36, 74, .14); }
.lv-narrow { max-width: 46rem; }
.lv-services-3 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .lv-services-3 { grid-template-columns: repeat(3, 1fr) !important; } }
.lv-service-static { transition: none; }
.lv-service-static:hover { transform: none; box-shadow: none; border-color: var(--lv-line); }

/* ---- Contatti ---- */
.lv-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .lv-cards { grid-template-columns: repeat(3, 1fr); } }
.lv-card { display: flex; flex-direction: column; padding: 1.75rem; background: #fff; border: 1px solid var(--lv-line); border-radius: var(--lv-radius); }
.lv-card > .bi { font-size: 1.6rem; color: var(--lv-violet); margin-bottom: .75rem; line-height: 1; }
.lv-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.lv-card address { font-style: normal; margin-bottom: .75rem; }
.lv-card p { margin-bottom: .75rem; }
.lv-card-hours { color: var(--lv-muted); font-size: .95rem; }
.lv-card .lv-more { margin-top: auto; text-decoration: none; }
.lv-formbox { background: #fff; border: 1px solid var(--lv-line); border-radius: var(--lv-radius); padding: clamp(1.25rem, 3vw, 2rem); }
.lv-formbox .form-control, .lv-formbox .form-select, .lv-formbox textarea { border-radius: 10px; border-color: var(--lv-line); padding: .7rem .9rem; font-weight: 400; }
.lv-formbox .form-control:focus, .lv-formbox textarea:focus { border-color: var(--lv-violet); box-shadow: 0 0 0 3px rgba(91, 63, 122, .18); }
.lv-formbox label { font-weight: 600; color: var(--lv-ink); }
.lv-formbox button[type="submit"], .lv-formbox .btn-primary { background: var(--lv-violet); border: 2px solid var(--lv-violet); color: #fff; border-radius: 999px; padding: .8rem 1.8rem; font-weight: 700; }
.lv-formbox button[type="submit"]:hover { background: var(--lv-violet-deep); border-color: var(--lv-violet-deep); }
.lv-formbox h2, .lv-formbox h3 { display: none; }

/* ---- Gallerie ---- */
.lv-main .gallery { margin: 0; }
.lv-main .gallery .gallery-thumb { border-radius: 12px; transition: transform .25s; }
.lv-main .gallery a:hover .gallery-thumb { transform: scale(1.02); }

/* ---- Categoria (elenco necrologi) e articolo ---- */
.lv-main .site-category-header, .lv-main .site-article-header { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.lv-main .site-category-title, .lv-main .site-article-title { font-family: var(--lv-display); font-weight: 400; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); color: var(--lv-ink); margin-bottom: 1rem; }
.lv-main .site-category-excerpt, .lv-main .site-article-excerpt { font-size: 1.15rem; color: var(--lv-muted); max-width: 52rem; }
.lv-main .site-category-content { max-width: 52rem; }
.lv-main .site-category-list { display: grid; gap: .75rem; max-width: 52rem; margin-block: 1.5rem 2.5rem; }
.lv-main .site-category-list-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--lv-line); border-radius: var(--lv-radius); text-decoration: none; color: var(--lv-text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.lv-main .site-category-list-item:hover { border-color: var(--lv-violet); box-shadow: 0 10px 24px rgba(51, 36, 74, .1); transform: translateY(-2px); }
.lv-main .site-category-list-title { font-family: var(--lv-display); font-weight: 400; font-size: 1.25rem; color: var(--lv-ink); margin: 0 0 .25rem; }
.lv-main .site-category-list-excerpt { display: block; font-size: .95rem; color: var(--lv-muted); font-weight: 400; }
.lv-main .site-category-list-date { display: block; font-size: .82rem; color: var(--lv-gold); margin-top: .35rem; letter-spacing: .04em; }
.lv-main .site-category-list-icon { margin-left: auto; color: var(--lv-violet); }
.lv-main .site-article-date { color: var(--lv-gold); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.lv-main .site-article-content { max-width: 46rem; padding-bottom: 3rem; }

/* ---- Foto nelle sezioni affiancate: proporzioni naturali (gli attributi width/height non devono allungarle) ---- */
.lv-photo img { height: auto; max-height: 560px; object-fit: cover; }
.lv-photo { max-width: 460px; justify-self: center; width: 100%; }

/* ---- Elenco necrologi a blocchi ---- */
.lv-main .site-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: none; }
@media (min-width: 760px) { .lv-main .site-category-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .lv-main .site-category-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lv-main .site-category-list { gap: .75rem; } .lv-main .site-category-list-main { padding: .75rem .8rem 1rem; } .lv-main .site-category-list-title { font-size: 1rem; } }
.lv-main .site-category-list-item { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; height: 100%; }
.lv-main .site-category-list-image { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--lv-lilac); border-bottom: 1px solid var(--lv-line); }
.lv-main .site-category-list-main { padding: 1rem 1.1rem 1.2rem; }
.lv-main .site-category-list-title { font-size: 1.15rem; line-height: 1.25; }
.lv-main .site-category-list-excerpt, .lv-main .site-category-list-icon { display: none; }
.lv-main .site-category-list-date::before { content: '\F20E'; font-family: 'bootstrap-icons'; margin-right: .4rem; }

/* ---- Scheda necrologio a blocchi ---- */
.lv-main .site-article-excerpt { display: none; }
.lv-main .site-article { max-width: 1180px; }
.lv-main .site-article-content { max-width: none; padding-bottom: 1rem; }
.lv-obit { display: grid; gap: 1.5rem; align-items: start; margin-block: 1.5rem 1rem; }
@media (min-width: 900px) { .lv-obit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem; } .lv-obit-nophoto { grid-template-columns: minmax(0, 40rem); } }
.lv-obit-poster { margin: 0; position: sticky; top: 100px; }
.lv-obit-poster a { display: block; border-radius: var(--lv-radius); overflow: hidden; box-shadow: 0 24px 50px rgba(51, 36, 74, .18); border: 1px solid var(--lv-line); background: #fff; }
.lv-obit-poster img { display: block; width: 100%; height: auto; transition: transform .3s; }
.lv-obit-poster a:hover img { transform: scale(1.015); }
.lv-obit-poster figcaption { text-align: center; font-size: .85rem; color: var(--lv-muted); margin-top: .6rem; }
.lv-obit-side { display: grid; gap: 1rem; }
.lv-obit-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lv-obit-facts li { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; background: var(--lv-lilac); border-radius: var(--lv-radius); }
.lv-obit-facts .bi { color: var(--lv-violet); font-size: 1.2rem; line-height: 1; }
.lv-obit-facts span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lv-muted); font-weight: 700; margin-top: .35rem; }
.lv-obit-facts strong { font-family: var(--lv-display); font-weight: 400; font-size: 1.3rem; color: var(--lv-ink); line-height: 1.2; }
.lv-obit-card { padding: 1.6rem; background: #fff; border: 1px solid var(--lv-line); border-radius: var(--lv-radius); }
.lv-obit-card h2 { font-family: var(--lv-display); font-weight: 400; font-size: 1.5rem; color: var(--lv-ink); margin: 0 0 .6rem; }
.lv-obit-card p { margin: 0 0 1rem; color: var(--lv-text); }
.lv-obit-card-soft { background: var(--lv-cream); }
.lv-obit-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.lv-obit-card .lv-btn { padding: .7rem 1.3rem; }
.lv-more { text-decoration: none; }
.lv-obit-back { margin: 1rem 0 0; }
.lv-more-back::after { content: none; }
.lv-more-back::before { content: '\2190  '; }

/* ---- Pagine legali (Privacy, Cookie, Termini) ---- */
.lv-legal-date { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: .35rem .9rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .85rem; color: #d9d0e4; }
.lv-legal-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .lv-legal-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 3.5rem; } .lv-legal-aside { position: sticky; top: 110px; } }
.lv-legal-aside { display: grid; gap: 1rem; }
.lv-legal-toc { background: var(--lv-lilac); border-radius: var(--lv-radius); padding: 1.25rem 1.2rem; }
.lv-legal-other { background: #fff; border: 1px solid var(--lv-line); }
.lv-legal-toc-h { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--lv-muted); margin: 0 0 .6rem !important; }
.lv-legal-toc ol, .lv-legal-toc ul { list-style: none; margin: 0; padding: 0; counter-reset: lvs; display: grid; gap: .1rem; }
.lv-legal-toc li { counter-increment: lvs; }
.lv-legal-toc a { display: flex; gap: .6rem; padding: .4rem .5rem; border-radius: 8px; text-decoration: none; color: var(--lv-ink); font-size: .92rem; line-height: 1.35; }
.lv-legal-toc ol a::before { content: counter(lvs, decimal-leading-zero); color: var(--lv-gold); font-weight: 700; font-size: .8rem; padding-top: .1rem; }
.lv-legal-toc a:hover { background: #fff; color: var(--lv-violet); }
.lv-legal-body { max-width: 52rem; }
.lv-legal-intro { font-size: 1.1rem; color: var(--lv-ink); padding-bottom: 1.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--lv-line); }
.lv-legal-sec { padding-block: 1.5rem; border-bottom: 1px solid var(--lv-line); scroll-margin-top: 110px; }
.lv-legal-sec:last-child { border-bottom: 0; }
.lv-legal-sec h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 1rem; }
.lv-legal-sec ul { padding-left: 1.2rem; }
.lv-legal-sec li { margin-bottom: .4rem; }
.lv-table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--lv-line); border-radius: var(--lv-radius); }
.lv-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.lv-table th { background: var(--lv-lilac); color: var(--lv-ink); text-align: left; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.lv-table th, .lv-table td { padding: .8rem 1rem; vertical-align: top; border-bottom: 1px solid var(--lv-line); }
.lv-table tr:last-child td { border-bottom: 0; }
.lv-table td:first-child { font-weight: 600; color: var(--lv-ink); }

/* ---- Messaggi di cordoglio ---- */
.lv-condol { max-width: 1180px; margin: 0 auto; padding: 1.5rem 20px 3rem; border-top: 1px solid var(--lv-line); }
.lv-condol-head { max-width: 40rem; margin-bottom: 2rem; }
.lv-condol-head h2 { margin-bottom: .75rem; }
.lv-condol-lead { color: var(--lv-muted); }
.lv-condol-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .lv-condol-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; } }
.lv-condol-list { display: grid; gap: 1rem; }
.lv-condol-empty { padding: 1.5rem; background: var(--lv-lilac); border-radius: var(--lv-radius); color: var(--lv-text); margin: 0; }
.lv-condol-empty .bi { color: var(--lv-violet); margin-right: .4rem; }
.lv-condol-msg { padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--lv-line); border-left: 4px solid var(--lv-gold); border-radius: var(--lv-radius); }
.lv-condol-text { font-family: var(--lv-display); font-size: 1.15rem; line-height: 1.5; color: var(--lv-ink); margin: 0 0 .8rem !important; overflow-wrap: anywhere; }
.lv-condol-msg footer { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--lv-muted); }
.lv-condol-msg footer strong { color: var(--lv-violet); }
.lv-condol-pages { display: flex; gap: .4rem; flex-wrap: wrap; }
.lv-condol-pages a { padding: .35rem .8rem; border: 1px solid var(--lv-line); border-radius: 999px; text-decoration: none; }
.lv-condol-pages a[aria-current] { background: var(--lv-violet); color: #fff; border-color: var(--lv-violet); }
.lv-condol-form { padding: 1.75rem; background: var(--lv-cream); border: 1px solid var(--lv-line); border-radius: var(--lv-radius); }
.lv-condol-form h3 { font-family: var(--lv-display); font-weight: 400; font-size: 1.5rem; color: var(--lv-ink); margin: 0 0 1.25rem; }
.lv-field { margin-bottom: 1rem; }
.lv-field label { display: block; font-weight: 600; font-size: .92rem; color: var(--lv-ink); margin-bottom: .35rem; }
.lv-field label span { font-weight: 400; color: var(--lv-muted); }
.lv-field input, .lv-field textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--lv-line); border-radius: 10px; background: #fff; font: inherit; }
.lv-field input:focus, .lv-field textarea:focus { outline: 3px solid var(--lv-gold); outline-offset: 1px; border-color: var(--lv-violet); }
.lv-condol-note { font-size: .82rem; color: var(--lv-muted); margin: 1rem 0 0 !important; }
.lv-condol-alert { margin-top: 1rem; padding: .9rem 1.1rem; background: var(--lv-lilac); border-radius: 10px; color: var(--lv-ink); }
.site-comments-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Elenco necrologi: riquadri senza bordo, immagine arrotondata e allineata al testo ---- */
.lv-main .site-category-list-item { border: 0; background: transparent; border-radius: 0; overflow: visible; }
.lv-main .site-category-list-item:hover { box-shadow: none; }
.lv-main .site-category-list-image { border: 0; border-radius: var(--lv-radius); box-shadow: 0 1px 0 var(--lv-line), 0 0 0 1px var(--lv-line); transition: box-shadow .2s; }
.lv-main .site-category-list-item:hover .site-category-list-image { box-shadow: 0 14px 28px rgba(51, 36, 74, .18); }
.lv-main .site-category-list-main { padding: .9rem 0 0; }

/* Elenco necrologi: nessun contorno sull'immagine, solo ombra al passaggio */
.lv-main .site-category-list-image { box-shadow: none; }

/* ---- Paginazione allineata al design ---- */
.lv-main .pagination { --bs-pagination-color: var(--lv-violet); --bs-pagination-hover-color: #fff; --bs-pagination-hover-bg: var(--lv-violet); --bs-pagination-hover-border-color: var(--lv-violet); --bs-pagination-active-bg: var(--lv-violet); --bs-pagination-active-border-color: var(--lv-violet); --bs-pagination-focus-color: var(--lv-violet-deep); --bs-pagination-focus-bg: var(--lv-lilac); --bs-pagination-focus-box-shadow: 0 0 0 3px var(--lv-gold); display: flex; flex-wrap: wrap; gap: .4rem; margin: 2rem 0 3rem; padding: 0; }
.lv-main .pagination .page-item .page-link { border: 1px solid var(--lv-line); border-radius: 999px !important; min-width: 2.6rem; padding: .5rem .9rem; text-align: center; background: #fff; color: var(--lv-violet); font-weight: 600; margin: 0; }
.lv-main .pagination .page-item .page-link:hover { background: var(--lv-violet); color: #fff; border-color: var(--lv-violet); }
.lv-main .pagination .page-item.active .page-link { background: var(--lv-violet); color: #fff; border-color: var(--lv-violet); }
.lv-main .pagination .page-item.disabled .page-link { color: var(--lv-muted); background: var(--lv-cream); }

/* Necrologi: angoli piu' arrotondati e leggera ombra sotto l'immagine */
.lv-main .site-category-list-image { border-radius: 22px; box-shadow: 0 12px 20px -10px rgba(51, 36, 74, .35); }
.lv-main .site-category-list-item:hover .site-category-list-image { box-shadow: 0 16px 26px -10px rgba(51, 36, 74, .45); }
/* Paginazione centrata */
.lv-main .pagination { justify-content: center; }
.lv-main .pagination .page-item.disabled .page-link { border-color: transparent; background: transparent; min-width: auto; padding-inline: .3rem; }

/* Messaggi di cordoglio: nome e data sopra il testo */
.lv-condol-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .85rem; color: var(--lv-muted); margin-bottom: .6rem; }
.lv-condol-meta strong { color: var(--lv-violet); font-size: .95rem; }
.lv-condol-text { margin: 0 !important; }
.lv-condol-meta { padding-bottom: .6rem; border-bottom: 1px solid var(--lv-line); margin-bottom: .8rem; }

/* Necrologi: immagine a cornice (border-dark border-2 p-1), senza angoli arrotondati ne' ombra */
.lv-main .site-category-list-image, .lv-main .site-category-list-item:hover .site-category-list-image { border: 2px solid #212529; border-radius: 0; box-shadow: none; padding: .25rem; background: #fff; box-sizing: border-box; }

/* Categoria: intestazione ed elenco sulla stessa colonna (stesso margine sinistro del titolo) */
.lv-main .site-category-header, .lv-main .site-category-posts.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* Scheda necrologio: manifesto a cornice come nell'elenco */
.lv-obit-poster a { border: 2px solid #212529; border-radius: 0; box-shadow: none; padding: .25rem; background: #fff; overflow: visible; }
.lv-obit-poster a:hover img { transform: none; }
