.v2-page {
    padding: 0 0 90px;
    margin: 0;
    background: radial-gradient(circle at top left, rgba(29,78,216,.08), transparent 34%), linear-gradient(180deg,#f8fbff 0%,#fff 42%,#fff 100%);
}

.btn-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    font-size: 13.5px;
    border: 1px solid rgba(15,23,42,.12);
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
}

    .btn-v2:hover {
        background: #f8fafc;
    }

.nd-hero-full {
    position: relative;
    width: 100vw;
    min-height: 460px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    isolation: isolate;
    background: #0f172a;
}

    .nd-hero-full::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: inherit;
        background-size: cover;
        background-position: center;
        transform: scale(1.04);
        filter: saturate(1.06);
        z-index: -3;
    }

    .nd-hero-full::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(7,21,38,.80) 0%,rgba(7,21,38,.54) 46%,rgba(7,21,38,.24) 100%), linear-gradient(180deg,rgba(7,21,38,.10) 0%,rgba(7,21,38,.82) 100%);
        z-index: -2;
    }

.nd-hero-soft {
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(180deg,transparent 0%,rgba(248,251,255,1) 100%);
    z-index: -1;
}

.nd-hero-inner {
    width: 100%;
    max-width: 1180px;
    min-height: 460px;
    margin: 0 auto;
    padding: 64px 24px 54px;
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(300px,.72fr);
    gap: 34px;
    align-items: end;
    box-sizing: border-box;
}

.nd-hero-copy {
    color: #fff;
    max-width: 780px;
}

.nd-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.94);
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nd-hero-title {
    margin: 0;
    max-width: 860px;
    font-size: clamp(34px,5vw,62px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 950;
    text-wrap: balance;
}

.nd-hero-excerpt {
    margin: 18px 0 0;
    max-width: 760px;
    font-size: clamp(16px,1.45vw,20px);
    line-height: 1.62;
    color: rgba(255,255,255,.86);
    font-weight: 600;
}

.nd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.nd-hero-media {
    justify-self: end;
    width: 100%;
    max-width: 430px;
    border-radius: 28px;
    padding: 10px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(10px);
}

    .nd-hero-media img {
        width: 100%;
        aspect-ratio: 16/10;
        object-fit: cover;
        display: block;
        border-radius: 20px;
    }

.nd-wrap {
    width: 100%;
    max-width: 980px;
    margin: -34px auto 0;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    padding-left: calc(18px + env(safe-area-inset-left));
    padding-right: calc(18px + env(safe-area-inset-right));
}

@media (min-width:561px) {
    .nd-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.v2-card {
    background: #fff;
    border: 1px solid rgba(15,76,129,.10);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(15,23,42,.09);
    overflow: hidden;
}

.nd-body {
    padding: 28px 28px 30px;
}

.nd-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    font-size: 12.5px;
    font-weight: 850;
    color: rgba(255,255,255,.92);
}

.nd-content {
    line-height: 1.75;
    font-size: 16px;
    color: rgba(0,0,0,.82);
    max-width: 100%;
    overflow: hidden;
}

    .nd-content p {
        margin: 0 0 12px;
    }

        .nd-content p:empty,
        .nd-content p:has(> br:only-child) {
            display: none;
        }

    .nd-content img {
        display: block;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        margin: 24px auto;
        border-radius: 16px;
    }

    .nd-content figure {
        max-width: 100% !important;
        margin: 24px 0;
    }

        .nd-content figure img {
            width: 100% !important;
            height: auto !important;
        }

    .nd-content a {
        color: #d72626;
        font-weight: 850;
        text-decoration: none;
    }

        .nd-content a:hover {
            text-decoration: underline;
        }

.nd-article-title {
    margin: 0 0 24px;
    font-size: clamp(26px,3vw,38px);
    line-height: 1.18;
    letter-spacing: -.025em;
    color: #0f172a;
    font-weight: 950;
    text-wrap: balance;
}

.nd-cta-box {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nd-cta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e7ecf3;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    flex-wrap: wrap;
}

.nd-cta-emergency {
    border-color: #fecaca;
    background: #fff5f5;
}

.nd-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 70%;
}

    .nd-cta-text strong {
        font-size: 15px;
        color: #18212f;
    }

    .nd-cta-text span {
        font-size: 13px;
        color: #667085;
    }

.nd-cta-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: .2s;
}

    .nd-cta-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.25);
    }

.nd-cta-secondary {
    background: #0f172a;
}

.nd-cta-dark {
    background: #111827;
}

.nd-share-wrap {
    margin: 0 0 20px;
}

.nd-share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

    .nd-share-modal.is-open {
        display: block;
    }

.nd-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.58);
    backdrop-filter: blur(3px);
}

.nd-share-panel {
    position: relative;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 460px;
    margin: 10vh auto 0;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 22px 60px rgba(0,0,0,.18);
    overflow: hidden;
}

.nd-share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

    .nd-share-head strong {
        font-size: 17px;
        font-weight: 900;
        color: #111;
    }

.nd-share-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #111;
}

.nd-share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px;
}

.nd-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 850;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: .18s ease;
}

    .nd-share-btn:hover {
        transform: translateY(-1px);
        background: rgba(0,0,0,.03);
    }

.nd-share-feedback {
    min-height: 22px;
    padding: 0 18px 18px;
    font-size: 13px;
    color: #166534;
    font-weight: 700;
}

.as-premium-affiliate-box {
    margin: 32px 0 0;
    padding: 24px;
    background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    border: 1px solid #dbe7f3;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(15,23,42,.08);
    position: relative;
    overflow: hidden;
}

    .as-premium-affiliate-box::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg,#0f4c81 0%,#d4a63c 100%);
    }

.as-premium-affiliate-box__head {
    margin-bottom: 18px;
}

.as-premium-affiliate-box__badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15,76,129,.08);
    color: #0f4c81;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.as-premium-affiliate-box__title {
    margin: 12px 0 8px;
    font-size: 24px;
    line-height: 1.2;
    color: #16324f;
}

.as-premium-affiliate-box__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5b6b7d;
}

.as-premium-affiliate-box__body {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e6eef5;
}

@media(max-width:900px) {
    .nd-hero-inner {
        grid-template-columns: 1fr;
        min-height: 520px;
        align-items: end;
    }

    .nd-hero-media {
        display: none;
    }
}

@media(max-width:768px) {
    .nd-hero-full {
        min-height: 440px;
    }

    .nd-hero-inner {
        min-height: 440px;
        padding: 48px 18px 46px;
    }

    .nd-wrap {
        margin-top: -22px;
    }

    .nd-body {
        padding: 22px 18px 24px;
    }

    .nd-cta-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .nd-cta-text {
        max-width: 100%;
    }

    .nd-share-actions {
        grid-template-columns: 1fr;
    }

    .nd-share-panel {
        margin-top: 8vh;
    }
}

.print-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.as-print-document {
    display: none;
}

.as-print-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.85);
    background: #ffffff;
    color: #0b2442;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15,23,42,.10);
}

    .as-print-btn:hover {
        background: #ff6b2c;
        color: #ffffff;
        border-color: #ff6b2c;
    }

@media print {

    @page {
        size: A4;
        margin: 16mm;
    }

    html,
    body {
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body {
        font-family: Georgia, "Times New Roman", serif !important;
        color: #111 !important;
    }

    .nd-hero-full,
    .nd-wrap,
    .nd-cta-box,
    .nd-share-modal,
    header,
    footer,
    nav,
    .as-site-header,
    .as-site-footer,
    #bau-widget,
    #bau-chat,
    #bau-modal,
    #bau-floating,
    #bau-container,
    .bau-widget,
    .bau-chat,
    .bau-modal,
    .bau-floating,
    .bau-container,
    [data-bau-open],
    [class*="bau"],
    [id*="bau"] {
        display: none !important;
        visibility: hidden !important;
    }

    .nd-hero-full,
    .nd-wrap,
    .nd-cta-box,
    .nd-share-modal,
    header,
    footer,
    nav,
    .as-site-header,
    .as-site-footer {
        display: none !important;
    }

    .v2-page {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }

    .as-print-document {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #111 !important;
        overflow: visible !important;
    }

    .as-print-document-header {
        margin: 0 0 18pt;
        padding-bottom: 12pt;
        border-bottom: 1px solid #ddd;
    }

    .as-print-brand {
        margin: 0 0 10pt;
        font-size: 10pt;
        font-weight: bold;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #555;
    }

    .as-print-h1 {
        margin: 0 0 12pt;
        font-size: 26pt;
        line-height: 1.15;
        color: #111;
    }

    .as-print-excerpt {
        margin: 0 0 12pt;
        font-size: 13pt;
        line-height: 1.55;
        font-weight: bold;
        color: #222;
    }

    .as-print-date {
        margin: 0;
        font-size: 10pt;
        color: #666;
    }

    .as-print-content {
        font-size: 12pt;
        line-height: 1.65;
        color: #111;
    }

        .as-print-content h2 {
            margin: 20pt 0 8pt;
            font-size: 18pt;
            line-height: 1.25;
            color: #111;
            break-after: avoid;
            page-break-after: avoid;
        }

        .as-print-content h3 {
            margin: 16pt 0 8pt;
            font-size: 15pt;
            line-height: 1.3;
            color: #111;
            break-after: avoid;
            page-break-after: avoid;
        }

        .as-print-content p,
        .as-print-content li {
            font-size: 12pt;
            line-height: 1.65;
            color: #111;
        }

        .as-print-content img {
            max-width: 100% !important;
            height: auto !important;
            break-inside: avoid;
            page-break-inside: avoid;
        }

        .as-print-content a {
            color: #111 !important;
            text-decoration: none !important;
        }

    .as-print-footer {
        margin-top: 26pt;
        padding-top: 10pt;
        border-top: 1px solid #ddd;
        font-size: 10pt;
        color: #666;
    }
}

.nd-image-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .nd-image-open img {
        transition: transform .25s ease, filter .25s ease;
    }

    .nd-image-open:hover img {
        transform: scale(1.015);
        filter: brightness(1.05);
    }

.nd-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

    .nd-image-lightbox.is-open {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.nd-image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.78);
    backdrop-filter: blur(4px);
}

.nd-image-lightbox__panel {
    position: relative;
    z-index: 2;
    width: min(94vw,1200px);
    max-height: 90vh;
}

    .nd-image-lightbox__panel img {
        display: block;
        width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 22px;
        box-shadow: 0 30px 90px rgba(0,0,0,.45);
        background: #fff;
    }

.nd-image-lightbox__close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #111827;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

@media(max-width:768px) {
    .nd-image-lightbox__close {
        top: 10px;
        right: 10px;
    }

    .nd-image-lightbox__panel {
        width: 94vw;
    }

        .nd-image-lightbox__panel img {
            border-radius: 16px;
        }
}
/* Immagine aggiuntiva: nascosta su desktop */
.nd-mobile-cover {
    display: none;
}

/* Visibile solo su mobile */
@media (max-width: 768px) {

    .nd-mobile-cover {
        display: block;
        width: calc(100% - 28px);
        max-width: 420px;
        margin: 18px auto 40px;
    }

    .nd-mobile-cover__button {
        display: block;
        width: 100%;
        padding: 5px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
        overflow: hidden;
        cursor: zoom-in;
    }

        .nd-mobile-cover__button img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 13px;
        }

    /* Nasconde la miniatura desktop dentro la hero */
    .nd-hero-media {
        display: none;
    }
}
