/* View: Views/Home/IlSole24.cshtml */
:root {
    --ap-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ap-ink: #1d1d1f;
    --ap-grey: #6e6e73;
    --ap-line: #e4edf5;
    --ap-surface: #f5f5f7;
    --navy: #003c78;
    --blu: #007FBF;
    --cyan: #009FDA;
    --giallo: #FFB704;
    --ls-tight: -.03em;
    --ls-snug: -.015em;
    --lh-tight: 1.05;
}

#header.fixed-top {
    background-color: rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ap-line);
}
#header.fixed-top a,
#header.fixed-top .nav-link,
#header.fixed-top .navbar-nav .nav-link,
#header.fixed-top li a { color: var(--ap-ink) !important; }

/* HERO */
#hero_sole24,
.blog-hero {
    background-image: none !important;
}
.blog-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    text-align: center;
    padding: clamp(120px, 14vw, 180px) 24px clamp(72px, 10vw, 120px);
    overflow: hidden;
}
.blog-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -30%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.12), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
.blog-hero > * { position: relative; z-index: 1; }
.blog-hero .sez-label {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.blog-hero h1 {
    font-family: var(--ap-font);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--ap-ink);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 20px;
    max-width: 900px;
}
.blog-hero h1 span { color: var(--cyan); }
.blog-hero .hero-sub {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0 auto 40px;
    max-width: 620px;
}
.blog-hero-divider {
    width: 56px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    background: var(--cyan);
    margin: 0 auto 40px;
    opacity: 1;
}
.blog-hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ap-grey);
    font-family: var(--ap-font);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.blog-hero-scroll:hover { color: var(--cyan); text-decoration: none; }

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

/* TIPOGRAFIA */
.s24-label {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.s24-title {
    font-family: var(--ap-font);
    font-weight: 600;
    color: var(--ap-ink);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 14px;
}
.s24-title--xl { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.s24-title span.hl { color: var(--cyan); }
.s24-h3 {
    font-family: var(--ap-font);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    line-height: 1.15;
    margin: 0 0 14px;
}
.s24-sub {
    font-family: var(--ap-font);
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    color: var(--ap-ink);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}
.s24-lead {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    color: var(--ap-grey);
    font-weight: 400;
    line-height: 1.7;
    margin: 18px 0 0;
}
.s24-lead--center { margin-left: auto; margin-right: auto; max-width: 820px; }

.s24-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ap-ink);
    color: #fff;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 30px;
    border-radius: 980px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.s24-cta:hover { background: #000; color: #fff; transform: translateY(-1px); text-decoration: none; }
.s24-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 28px;
    border-radius: 980px;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
}
.s24-btn-ghost:hover { border-color: #b8b8c0; color: var(--ap-ink); transform: translateY(-1px); text-decoration: none; }

.divisore-minimal {
    border: none;
    border-top: 1px solid var(--ap-line);
    margin: 0;
    opacity: 1;
}

/* SEZIONI */
.sez-s24 { background: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.sez-s24--surface { background: var(--ap-surface); }
.sez-s24--intro { padding: clamp(64px, 9vw, 110px) 0 clamp(24px, 3vw, 40px); text-align: center; }

.s24-media {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ap-line);
    display: block;
    transition: transform .35s cubic-bezier(.2,.65,.3,1), box-shadow .35s, border-color .35s;
}
.s24-media img { width: 100%; height: auto; display: block; }
a.s24-media:hover {
    transform: translateY(-6px);
    border-color: rgba(0,159,218,.30);
    box-shadow: 0 30px 70px -28px rgba(0,159,218,.42);
}
.s24-book { max-width: 380px; width: 100%; height: auto; margin: 0 auto; display: block; }

.s24-play {
    position: relative;
    display: block;
}
.s24-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background: rgba(29,29,31,.82) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><polygon points='8,5 20,12 8,19'/></svg>") center/26px no-repeat;
    transition: background-color .25s, transform .25s;
    pointer-events: none;
}
.s24-play:hover::after {
    background-color: var(--cyan);
    transform: translate(-50%,-50%) scale(1.06);
}

/* CARD ELENCO */
.s24-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--ap-surface) 100%);
    border: 1px solid var(--ap-line);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
}
.s24-card .s24-lead { margin-top: 0; }
.s24-card .card-num {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* BAND SMART24 */
.s24-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e7f6fd 0%, #f3fbff 55%, #ffffff 100%);
    border: 1px solid #d4ecfa;
    border-radius: 32px;
    padding: clamp(40px, 5vw, 64px);
}
.s24-band::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -45%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.20), transparent 65%);
    filter: blur(54px);
    pointer-events: none;
}
.s24-band > * { position: relative; z-index: 1; }

/* AUTORI */
.author-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    transition: transform .35s cubic-bezier(.2,.65,.3,1), box-shadow .35s, border-color .35s;
}
.author-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,159,218,.30);
    box-shadow: 0 30px 70px -28px rgba(0,159,218,.42);
}
.author-card img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 20px;
    object-fit: cover;
}
.author-card h2 {
    font-family: var(--ap-font);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    margin: 0 0 10px;
}
.author-card p {
    font-family: var(--ap-font);
    font-size: .95rem;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0;
}

/* CTA FINALE */
.sez-s24-cta { background: #fff; padding: 0 0 clamp(64px, 9vw, 120px); }
.s24-cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e7f6fd 0%, #f3fbff 55%, #ffffff 100%);
    border: 1px solid #d4ecfa;
    border-radius: 32px;
    padding: clamp(56px, 8vw, 110px) 32px;
    text-align: center;
}
.s24-cta-band::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -45%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.20), transparent 65%);
    filter: blur(54px);
    pointer-events: none;
}
.s24-cta-band > * { position: relative; z-index: 1; }
.s24-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.s24-logo { width: 170px; height: auto; margin-bottom: 22px; }

@media (max-width: 767px) {
    .blog-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
    .author-card { flex-direction: column; gap: 20px; padding: 28px 24px; }
    .author-card img { width: 96px; height: 96px; }
    .s24-card { padding: 28px 24px; }
}
