
.mhv2-wrap{--navy:#0f2b52;--navy2:#173a67;--ink:#1d2733;--soft:#f5f7fa;--line:#dfe5ec;color:var(--ink);line-height:1.58}
.mhv2-wrap h1,.mhv2-wrap h2,.mhv2-wrap h3{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.15}
.mhv2-wrap h1{font-size:clamp(2.4rem,5vw,4.6rem);margin:.2rem 0 1rem}
.mhv2-wrap h2{font-size:clamp(2rem,3.3vw,3rem);margin:0 0 1rem}
.mhv2-wrap h3{font-size:1.35rem;margin:.2rem 0 .65rem}
.mhv2-container{width:min(1180px,92%);margin:auto}
.mhv2-section{padding:72px 0}
.mhv2-soft{background:var(--soft)}
.mhv2-hero{padding:44px 0 64px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}
.mhv2-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:44px;align-items:center}
.mhv2-img img{width:100%;display:block;border-radius:22px;box-shadow:0 16px 44px rgba(15,43,82,.14)}
.mhv2-eyebrow{font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--navy2);font-size:.86rem}
.mhv2-lead{font-size:1.13rem;color:#3d4855;max-width:760px}
.mhv2-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.mhv2-btn{display:inline-block;padding:14px 22px;border-radius:999px;text-decoration:none!important;font-weight:700}
.mhv2-primary{background:var(--navy);color:#fff!important}
.mhv2-secondary{border:1px solid var(--navy);color:var(--navy)!important;background:#fff}
.mhv2-white{background:#fff;color:var(--navy)!important}
.mhv2-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.mhv2-card{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff;box-shadow:0 7px 24px rgba(31,47,68,.05)}
.mhv2-card p{color:#566171;margin-bottom:0}
.mhv2-card small{font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--navy2)}
.mhv2-method{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.mhv2-step{padding:28px;border-top:4px solid var(--navy);background:#fff;box-shadow:0 8px 30px rgba(31,47,68,.06)}
.mhv2-step span{font-size:.85rem;font-weight:800;color:var(--navy2);letter-spacing:.08em}
.mhv2-cta{padding:72px 0;background:var(--navy);color:#fff}
.mhv2-cta h2{color:#fff}
.mhv2-cta p{font-size:1.08rem;max-width:840px;color:#e6edf6}
.mhv2-note{font-size:.83rem;color:#d5deea;margin-top:18px}
@media(max-width:900px){.mhv2-grid{grid-template-columns:1fr}.mhv2-cards,.mhv2-method{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.mhv2-section,.mhv2-cta{padding:52px 0}.mhv2-cards,.mhv2-method{grid-template-columns:1fr}.mhv2-hero{padding-top:26px}}


/* ===== v1.5: Header e Hero più puliti ===== */

/* Nasconde il titolo testuale del sito nella sola Home: il logo contiene già il nome. */
body.home .wp-block-site-title,
body.front-page .wp-block-site-title {
    display: none !important;
}

/* Header più compatto e ordinato, senza alterare le altre pagine. */
body.home header.wp-block-template-part,
body.front-page header.wp-block-template-part {
    padding-top: 10px;
    padding-bottom: 10px;
}

body.home .wp-block-site-logo img,
body.front-page .wp-block-site-logo img {
    max-height: 92px;
    width: auto;
}

body.home .wp-block-navigation__container,
body.front-page .wp-block-navigation__container {
    flex-wrap: nowrap;
    column-gap: 24px;
    row-gap: 8px;
}

body.home .wp-block-navigation-item__content,
body.front-page .wp-block-navigation-item__content {
    white-space: nowrap;
}

/* Hero: soprattitolo più discreto e meno ripetitivo. */
.mhv2-hero .mhv2-eyebrow {
    font-size: .78rem;
    letter-spacing: .11em;
    color: #53647a;
    margin-bottom: 10px;
}

/* Schede collegate */
.mhv2-card-link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}
.mhv2-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31,47,68,.09);
}

/* CTA finale della sezione Guide */
.mhv2-guides-footer {
    margin-top: 28px;
    text-align: center;
}

@media(max-width: 980px) {
    body.home .wp-block-navigation__container,
    body.front-page .wp-block-navigation__container {
        flex-wrap: wrap;
        column-gap: 16px;
    }
    body.home .wp-block-site-logo img,
    body.front-page .wp-block-site-logo img {
        max-height: 76px;
    }
}


/* ===== v1.6: Consolidamento Home ===== */

/* Il Site Title viene rimosso a livello di rendering PHP; questa regola resta solo come fallback. */
body.home .wp-block-site-title,
body.front-page .wp-block-site-title {
    display: none !important;
}

/* Header desktop più compatto e coerente. */
@media(min-width: 981px) {
    body.home header.wp-block-template-part .wp-block-group,
    body.front-page header.wp-block-template-part .wp-block-group {
        align-items: center;
    }

    body.home .wp-block-navigation__container,
    body.front-page .wp-block-navigation__container {
        flex-wrap: nowrap !important;
        gap: 22px;
    }

    body.home .wp-block-navigation-item__content,
    body.front-page .wp-block-navigation-item__content {
        white-space: nowrap;
    }
}

/* Approfondisci nelle aree: chiaro ma non trasforma tutta la card in link. */
.mhv2-more {
    display: inline-block;
    margin-top: 14px;
    color: var(--navy) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: .94rem;
}
.mhv2-more:hover {
    text-decoration: underline !important;
}

/* Hero: seconda frase come firma dello Studio. */
.mhv2-hero .mhv2-lead strong {
    display: inline-block;
    margin-top: 8px;
    color: var(--navy);
    font-weight: 700;
}
