/* ===========================
   BLOG — SEZIONE BASE
=========================== */
.mobile-menu {
    display: none;
}

.mobile-menu.menu-open {
    display: flex;
    flex-direction: column;
}
.mobile-menu {
    display: none;
}

.mobile-menu.menu-open {
    display: flex;
    flex-direction: column;
}
.blog-main section {
    opacity: 1!important;
    transform: translateY(0) !important;
    transition: none !important;
    padding: 0 !important;
}

/* HERO BLOG */
.blog-hero {
    padding: 120px 0 80px;
    position: relative;
    text-align: center;
}

.blog-hero-inner {
    max-width: 880px;
    margin: 0 auto;
}

.blog-kicker {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
    margin-bottom: 14px;
}

.blog-title {
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    color: #000;
    margin-bottom: 18px;
}

.blog-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* Soft halo, in linea con Pulse / Orientami */
.blog-hero::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 200px;
    background: radial-gradient(
        ellipse at center,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.55) 45%,
        rgba(255,255,255,0) 100%
    );
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* ===========================
   BLOG — LISTA ARTICOLI
=========================== */

.blog-list {
    padding: 0 0 80px;
}

.blog-list-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

/* CARD */
.blog-card {
    border-radius: 26px;
    background: linear-gradient(145deg, #ffffff, #f5f5f7);
    border: 1px solid rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Immagine */
.blog-card-image {
    width: 100%;
    padding-top: 62%;
    background-size: cover;
    background-position: center;
}

/* Corpo */
.blog-card-body {
    padding: 22px 24px 26px;
}

/* Meta */
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(0,0,0,0.55);
}

.blog-card-category {
    font-weight: 500;
    color: #007aff;
}

.blog-card-date {
    font-weight: 400;
}

/* Titolo card */
.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Estratto */
.blog-card-excerpt {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333;
    margin-bottom: 14px;
}

/* Leggi di più */
.blog-card-readmore {
    font-size: 0.95rem;
    font-weight: 500;
    color: #007aff;
}

/* Hover */
.blog-card:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(0,0,0,0.18);
}

/* ===========================
   BLOG — CTA FINALE
=========================== */

.blog-cta {
    padding: 60px 0 100px;
}

.blog-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    border-radius: 32px;
    padding: 40px 34px;
    background: linear-gradient(145deg, #ffffff, #f5f5f7);
    border: 1px solid rgba(0,0,0,0.10);
}

.blog-cta-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-cta-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-cta-button {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 18px;
    background: #007aff;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(0,122,255,0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,122,255,0.34);
}

/* ===========================
   BLOG — PAGINA ARTICOLO
=========================== */

.blog-article-header {
    padding: 120px 0 40px;
    text-align: left;
}

.blog-article-header-inner {
    max-width: 820px;
    margin: 0 auto;
}

.blog-article-category {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #007aff;
}

.blog-article-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    margin: 16px 0 12px;
}

.blog-article-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    max-width: 680px;
}

.blog-article-meta {
    margin-top: 16px;
    font-size: 0.95rem;
    color: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* COVER */
.blog-article-cover {
    margin-bottom: 40px;
}

.blog-article-cover-image {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 26px;
    padding-top: 48%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.10);
}

/* BODY */
.blog-article-body {
    padding-bottom: 80px;
}

.blog-article-body-inner {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.18rem;
    line-height: 1.75;
    color: #1d1d1f;
}

.blog-article-body-inner p {
    margin-bottom: 1.3rem;
}

.blog-article-body-inner h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 2.2rem 0 0.8rem;
}


/* ===========================
   ARTICOLI CORRELATI
=========================== */

.blog-related {
    padding: 0 0 76px;
}

.blog-related-inner {
    max-width: 920px;
    margin: 0 auto;
}

.blog-related-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #17233f;
    margin: 0 0 18px;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-related-card {
    padding: 24px;
    border-radius: 24px;
    background: #f7f9fc;
    border: 1px solid rgba(23, 35, 63, 0.10);
}

.blog-related-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.25;
    color: #17233f;
}

.blog-related-card p {
    margin: 0 0 16px;
    color: rgba(23, 35, 63, 0.68);
    font-size: 0.98rem;
    line-height: 1.55;
}

.blog-related-card a {
    color: #2f6df6;
    font-weight: 700;
    text-decoration: none;
}

.blog-related-card a:hover {
    text-decoration: underline;
}

.blog-related + .blog-article-cta {
    margin-top: clamp(34px, 5vw, 76px);
}

/* CTA FINALE ARTICOLO */
.blog-article-cta {
    padding: 0 0 100px;
}

.blog-article-cta-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    border-radius: 30px;
    padding: 36px 30px;
    background: linear-gradient(145deg, #ffffff, #f5f5f7);
    border: 1px solid rgba(0,0,0,0.12);
}

.blog-article-cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-article-cta-text {
    font-size: 1.05rem;
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    margin-bottom: 18px;
}

.blog-article-cta-button {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 18px;
    background: #007aff;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(0,122,255,0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-article-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,122,255,0.34);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1024px) {
    .blog-list-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .blog-hero {
        padding: 90px 0 50px;
    }

    .blog-title {
        font-size: 2.4rem;
    }

    .blog-subtitle {
        font-size: 1.05rem;
        max-width: 92%;
    }

    .blog-list-inner {
        grid-template-columns: 1fr;
    }

    .blog-card {
        border-radius: 22px;
    }

    .blog-card-body {
        padding: 18px 20px 22px;
    }

    .blog-cta-inner {
        border-radius: 24px;
        padding: 30px 22px;
    }

    .blog-article-header {
        padding: 90px 0 30px;
    }

    .blog-article-body-inner {
        padding: 0 18px;
        font-size: 1.05rem;
    }

    .blog-article-cover-image {
        border-radius: 22px;
        padding-top: 55%;
    }

    .blog-article-cta-inner {
        margin: 0 18px;
        border-radius: 22px;
    }

    .blog-related {
        padding-bottom: 58px;
    }

    .blog-related-inner {
        padding: 0 18px;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }

    .blog-related-card {
        padding: 22px;
        border-radius: 20px;
    }
}
/* ===========================
   SPACING MIGLIORE (ADD ONLY)
=========================== */

/* Più respiro sotto il titolo */
.blog-hero {
    padding-bottom: 120px;
}

/* Spazio più ampio sopra e sotto la grid degli articoli */
.blog-list {
    padding-top: 20px;
    padding-bottom: 120px;
}

/* Aumenta la distanza tra le card quando sono in una riga */
.blog-list-inner {
    row-gap: 48px;
}

/* CTA finale più distanziata dalla lista */
.blog-cta {
    padding-top: 120px;
    padding-bottom: 140px;
}

/* Distanza maggiore dal footer */
.footer {
    margin-top: 80px;
}

/* FIX: Spaziature effettive e override completo */
.blog-main {
    padding-top: 60px !important;
}

.blog-hero {
    padding-top: 160px !important;
    padding-bottom: 140px !important;
}

.blog-list {
    padding-top: 60px !important;
    padding-bottom: 160px !important;
}

.blog-list-inner {
    gap: 48px !important;
    row-gap: 56px !important;
}

.blog-card {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.blog-cta {
    margin-top: 120px !important;
    padding-top: 120px !important;
    padding-bottom: 180px !important;
}

.footer {
    margin-top: 120px !important;
}