/*
Theme Name:  Inspirations
Theme URI:   https://seonsitestudio.com
Author:      Seonsitestudio | HannaSz
Author URI:  https://seonsitestudio.com
Description: Tema premium lifestyle per club, accademie, centri benessere e studi creativi.
Version:     1.0
Text Domain: inspirations
Tags:        lifestyle, premium, sport, wellness, dark, editorial
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
*/

/* ============================================================
   1. VARIABILI E RESET
   Le variabili dinamiche vengono sovrascritte da
   inspire_dynamic_css() in functions.php tramite :root
   ============================================================ */
:root {
    /* Colori base (fallback se il customizer non è ancora caricato) */
    --lime:       #c8d400;
    --lime-lt:    #dce84a;
    --lime-dk:    #8f9800;
    --lime-deep:  #5a6000;
    --lime-bg:    #f4f7d6;
    --lime-bg2:   #edf1c0;
    --night:      #0b0f08;
    --dark:       #111a0a;
    --charcoal:   #141414;
    --white:      #ffffff;
    --off-white:  #f8f9f4;
    --gray-bg:    #f5f5f2;
    --gray:       #8a9a8a;
    --gray-lt:    #b4c4b4;

    /* Font */
    --font-main:    'DM Sans', sans-serif;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-mono:    'DM Mono', monospace;

    /* Header */
    --header-height: 140px;
    --header-shrink: 90px;
    --logo-size:     85px;
    --logo-size-small: 60px;
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body, var(--font-main));
    font-size: var(--font-size-base, 16px);
    line-height: var(--line-height, 1.7);
    color: var(--inspire-text, var(--charcoal));
    background: var(--inspire-bg, var(--off-white));
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* ── Contenitore globale ── */
.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .wrap { padding: 0 20px; }
}

/* ── Bottoni globali (sistema unificato) ── */
.btn-primary, .btn-lime {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--btn-bg, var(--lime));
    color: var(--btn-text, var(--night));
    padding: var(--btn-padding-v, 14px) var(--btn-padding-h, 28px);
    border-radius: var(--btn-radius, 4px);
    font-family: var(--font-body, var(--font-main));
    font-size: var(--btn-font-size, 13px);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .08em;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background .3s, transform .2s, color .3s;
}
.btn-primary:hover, .btn-lime:hover {
    background: var(--btn-hover, var(--white));
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--btn-ot, var(--lime));
    border: 2px solid var(--btn-ob, var(--lime));
    padding: var(--btn-padding-v, 14px) var(--btn-padding-h, 28px);
    border-radius: var(--btn-radius, 4px);
    font-family: var(--font-body, var(--font-main));
    font-size: var(--btn-font-size, 13px);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .08em;
    cursor: pointer;
    transition: all .3s;
}
.btn-outline:hover {
    background: var(--btn-oh, var(--lime));
    color: var(--night);
}
/* ============================================================
   2. HEADER & NAVIGAZIONE
   ============================================================ */

#inspire-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px;
    z-index: 10000;
    background: linear-gradient(to bottom, rgba(11,15,8,.7) 0%, rgba(11,15,8,0) 100%);
    transition: min-height .4s cubic-bezier(.4,0,.2,1), background .4s ease;
}

#inspire-nav.scrolled {
    min-height: var(--header-shrink);
    background: rgba(11,15,8,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ── Logo ── */
.inspire-logo,
.custom-logo-link { display: block; line-height: 0; z-index: 10001; }

.inspire-logo img,
.custom-logo-link img {
    height: var(--logo-size);
    width: auto;
    transition: height .4s ease;
}

#inspire-nav.scrolled .inspire-logo img,
#inspire-nav.scrolled .custom-logo-link img { height: var(--logo-size-small); }

.inspire-logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .3s;
}
.inspire-logo-text:hover { color: var(--inspire-primary, var(--lime)); }

/* ── Menu desktop ── */
.inspire-nav-right { display: flex; align-items: center; gap: 32px; }

.inspire-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0; padding: 0;
}

.inspire-menu li { position: relative; padding: 20px 0; }

.inspire-menu a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body, var(--font-main));
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: color .3s;
}
.inspire-menu a:hover,
.inspire-menu .current-menu-item > a { color: var(--inspire-primary, var(--lime)); }

/* Dropdown desktop */
.inspire-menu ul {
    display: none;
    position: absolute;
    top: 100%; left: -20px;
    min-width: 220px;
    background: rgba(11,15,8,.96);
    border-bottom: 3px solid var(--inspire-primary, var(--lime));
    backdrop-filter: blur(12px);
    padding: 10px 0;
    flex-direction: column;
    list-style: none;
    z-index: 100;
}
.inspire-menu li:hover > ul { display: flex; }
.inspire-menu ul li { padding: 0; }
.inspire-menu ul a { display: block; padding: 10px 20px; font-size: 13px; white-space: nowrap; }
.inspire-menu ul a:hover { background: rgba(255,255,255,.05); }

.inspire-nav-cta { white-space: nowrap; }

/* ── Hamburger ── */
#inspire-hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 10002;
}

.ham-box { width: 30px; height: 22px; display: block; position: relative; }

.ham-inner,
.ham-inner::before,
.ham-inner::after {
    width: 30px; height: 2px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all .3s ease;
}
.ham-inner { top: 50%; transform: translateY(-50%); }
.ham-inner::before { content: ""; top: -9px; }
.ham-inner::after  { content: ""; top: 9px; }

#inspire-hamburger[aria-expanded="true"] .ham-inner { background: transparent; }
#inspire-hamburger[aria-expanded="true"] .ham-inner::before { transform: translateY(9px) rotate(45deg); }
#inspire-hamburger[aria-expanded="true"] .ham-inner::after  { transform: translateY(-9px) rotate(-45deg); }

/* ── Mobile overlay ── */
#inspire-mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: var(--night);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px 60px;
    transition: right .5s cubic-bezier(.77,0,.175,1);
    overflow-y: auto;
}
#inspire-mobile-menu.is-open { right: 0; }

.inspire-mobile-menu-list {
    list-style: none;
    text-align: center;
    width: 100%;
    margin: 0 0 32px; padding: 0;
}
.inspire-mobile-menu-list li { margin-bottom: 16px; }
.inspire-mobile-menu-list a {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .3s;
    display: block;
}
.inspire-mobile-menu-list a:hover { color: var(--inspire-primary, var(--lime)); }
.inspire-mobile-menu-list ul { display: block; padding: 8px 0 12px; }
.inspire-mobile-menu-list ul a { font-size: 22px; color: rgba(255,255,255,.6); }
.inspire-mobile-cta { margin-top: 8px; }

/* ── Responsive header ── */
@media (max-width: 1024px) {
    #inspire-nav {
        min-height: 80px !important;
        padding: 15px 24px;
        background: linear-gradient(to bottom, rgba(11,15,8,.7) 0%, rgba(11,15,8,0) 100%);
    }
    #inspire-nav.scrolled { background: rgba(11,15,8,.9); }
    .inspire-nav-right { display: none; }
    #inspire-hamburger { display: block; }
}

@media (max-width: 480px) {
    .inspire-mobile-menu-list a { font-size: 32px; }
    #inspire-mobile-menu { padding: 80px 24px 40px; }
}

/* ============================================================
   3. HERO
   ============================================================ */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: #000;
}

.hero-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.hero-video-bg iframe {
    width: 100vw; height: 56.25vw;
    min-height: 100vh; min-width: 177.77vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.25);
    z-index: 1;
}

/* ============================================================
   MODIFICA PASSO 1: Spaziatura superiore della Hero
   ============================================================ */
.hero-main-wrapper {
    /* Impostazioni di base mantenute */
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    
    /* MODIFICA: Aumentato da 160px a 240px per distanziare il testo dal logo */
    padding-top: 240px; 
    
    /* Padding inferiore invariato per ora */
    padding-bottom: 140px;
}

/* ── Testi sinistra ── */
.hero-left-content { max-width: 700px; }

.hero-pretitle {
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.hero-title-display {
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.color-white   { display: block; color: var(--white); }
.color-lime    { display: block; color: var(--lime); }
.color-outline {
    display: block;
    -webkit-text-stroke: 1.5px rgba(255,255,255,.5);
    color: transparent;
}

.hero-paragraph {
    color: var(--white);
    font-size: 18px;
    opacity: .9;
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions { display: flex; gap: 20px; }

.hero-btn-main {
    background: var(--lime);
    color: var(--night);
    padding: 18px 36px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    transition: .3s;
}
.hero-btn-main:hover { background: var(--white); transform: translateY(-2px); }

.hero-btn-alt {
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    backdrop-filter: blur(5px);
    display: inline-block;
    transition: .3s;
}
.hero-btn-alt:hover { border-color: var(--lime); color: var(--lime); }

/* ── Card destra ── */
.hero-right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    padding-top: 140px;
}

.season-badge {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.25);
    padding: 12px 24px;
    border-radius: 40px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-card {
    background: var(--lime);
    padding: 25px 35px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--night);
    min-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    transition: transform .3s;
}
.booking-card:hover { transform: translateY(-5px); }

.booking-card-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-card-footer { display: flex; justify-content: space-between; align-items: center; }

.booking-card-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
}

.booking-card-arrow {
    background: var(--night);
    color: var(--white);
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* ── Statistiche footer hero ── */
.hero-stats-footer {
    position: absolute;
    bottom: 40px;
    left: 60px; right: 60px;
    display: flex;
    gap: 80px;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 30px;
    z-index: 10;
}

.stat-item { flex-shrink: 0; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--lime);
    line-height: 1;
    display: block;
}

.stat-text {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    opacity: .7;
    color: var(--white);
    margin-top: 5px;
}

/* ── Animazioni ── */
.pulse-red-dot {
    width: 8px; height: 8px;
    background: #ff4b2b;
    border-radius: 50%;
    animation: pulseOpacity 1.5s infinite;
}

.radar-black-dot {
    width: 8px; height: 8px;
    background: var(--night);
    border-radius: 50%;
    display: inline-block;
    animation: radarWave 2s infinite;
}

@keyframes pulseOpacity {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

@keyframes radarWave {
    0%   { box-shadow: 0 0 0 0 rgba(11,15,8,.6); }
    70%  { box-shadow: 0 0 0 10px rgba(11,15,8,0); }
    100% { box-shadow: 0 0 0 0 rgba(11,15,8,0); }
}

/* ── Responsive hero ── */
@media (max-width: 991px) {
    .hero-section {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 90px 15px 0;
        height: auto;
        min-height: 100vh;
        text-align: center;
    }

    .hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }

    .hero-video-bg iframe,
    .hero-video-bg video,
    .hero-video-bg img {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 300vh; height: 168.75vh;
        max-width: none; max-height: none;
        object-fit: cover;
    }

    .hero-main-wrapper {
        flex-direction: column;
        margin-top: 0;
        gap: 25px;
        width: 100%;
        position: relative;
        z-index: 10;
    }

    .hero-pretitle   { margin-bottom: 15px; font-size: 11px; }
    .hero-title-display { font-size: 55px; line-height: 1.1; margin-bottom: 20px; }
    .hero-paragraph  { font-size: 16px; margin: 0 auto 30px; max-width: 90%; }

    .hero-stats-footer {
        position: relative;
        left: 0; right: auto;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 20px;
        margin-top: 40px;
        padding: 25px 0;
        border-top: 1px solid rgba(255,255,255,.1);
        width: 100%;
    }

    .stat-number { font-size: 22px; }
    .stat-text   { font-size: 9px; white-space: nowrap; }

    .booking-card { padding: 20px; min-width: 100%; width: 100%; }
    .booking-card-title  { font-size: 22px; white-space: normal; line-height: 1.2; text-align: left; }
    .booking-card-arrow  { width: 32px; height: 32px; min-width: 32px; font-size: 14px; }
}

@media (max-width: 768px) {
    .hero-section   { padding-top: 100px; }
    .hero-title-display { font-size: 48px; }
    .season-badge   { margin: 0 auto 15px; transform: scale(.8); }
    .booking-card   { padding: 15px; }
    .booking-card-title  { font-size: 20px; white-space: normal; }
    .booking-card-arrow  { width: 28px; height: 28px; min-width: 28px; font-size: 12px; }
}

/* ============================================================
   4. PROGRAMMI / SERVIZI
   ============================================================ */

.programs-editorial {
    padding: 96px 0;
    background: var(--off-white);
    width: 100%;
    display: block;
}

.editorial-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.editorial-header-left .kicker {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lime-dk);
    margin-bottom: 12px;
}
.editorial-header-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 5vw, 68px);
    letter-spacing: .03em;
    line-height: .95;
    color: var(--charcoal);
}
.editorial-header-right {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray);
    max-width: 300px;
    line-height: 1.6;
    text-align: right;
}

.prog-scroll { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3px; }

.prog-e-card { height: 480px; position: relative; overflow: hidden; cursor: pointer; }
.prog-e-bg   { position: absolute; inset: 0; transition: transform .6s ease; }
.prog-e-card:hover .prog-e-bg { transform: scale(1.04); }
.prog-e-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.1) 100%); }
.prog-e-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 24px 28px; z-index: 2; }
.prog-e-idx  { font-family: var(--font-heading); font-size: 56px; color: rgba(200,212,0,.15); line-height: 1; margin-bottom: -8px; }
.prog-e-tag  { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; font-weight: 400; }
.prog-e-name { font-family: var(--font-heading); font-size: 32px; letter-spacing: .04em; color: var(--white); line-height: 1; margin-bottom: 10px; }
.prog-e-desc { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 16px; max-height: 0; overflow: hidden; transition: max-height .4s; }
.prog-e-card:hover .prog-e-desc { max-height: 60px; }
.prog-e-btn  { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); text-decoration: none; opacity: 0; transform: translateY(8px); transition: all .3s; }
.prog-e-card:hover .prog-e-btn { opacity: 1; transform: none; }

@media (max-width: 1024px) {
    .prog-scroll { grid-template-columns: 1fr 1fr; }
    .prog-e-card { height: 360px; }
}
@media (max-width: 768px) {
    .programs-editorial { padding: 64px 0; }
    .editorial-header { flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 32px; }
    .editorial-header-right { text-align: left; max-width: 100%; }
    .prog-scroll { grid-template-columns: 1fr; gap: 3px; }
    .prog-e-card { height: 280px; }
    .prog-e-name { font-size: 28px; }
}
@media (max-width: 480px) {
    .prog-e-card { height: 240px; }
}

/* ============================================================
   5. ABOUT
   ============================================================ */

.about { background: var(--night); padding: 96px 0; position: relative; overflow: hidden; }
.about::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--lime), rgba(200,212,0,.04)); }

.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-lbl::before { content: ''; display: block; width: 16px; height: 2px; background: var(--lime); }

.about h2 { font-family: var(--font-heading); font-size: clamp(48px, 5.5vw, 72px); color: var(--white); line-height: .95; margin-bottom: 28px; }
.about h2 em { color: var(--lime); font-style: normal; }
.about p { font-size: 16px; line-height: 1.8; color: var(--gray-lt); margin-bottom: 36px; font-weight: 300; }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.feat-card {
    background: rgba(200,212,0,.04);
    border: 1px solid rgba(200,212,0,.25);
    border-radius: 8px;
    padding: 18px 22px 14px;
    transition: border-color .2s;
}
.feat-card:hover { border-color: var(--lime); }
.feat-icon { width: 34px; height: 34px; border-radius: 6px; background: rgba(200,212,0,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; overflow: hidden; flex-shrink: 0; }
.feat-icon svg { width: 17px; height: 17px; color: var(--lime); stroke: var(--lime); display: block; }
.feat-card h3 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.feat-card p  { font-size: 12px; color: var(--gray-lt); line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
    .about { padding: 64px 0; }
    .about-in { grid-template-columns: 1fr; gap: 40px; }
    .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .feats { grid-template-columns: 1fr; }
}

/* ============================================================
   6. COACHES / TEAM
   ============================================================ */

.coaches-ed { padding: 80px 0; background: var(--gray-bg); }
.coaches-inner { display: grid; grid-template-columns: 160px 1fr; gap: 56px; align-items: start; }

.coaches-sidebar { position: sticky; top: 80px; }
.coaches-sidebar .s-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-dk); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.coaches-sidebar .s-lbl::before { content: ''; display: block; width: 16px; height: 2px; background: var(--lime); }
.coaches-sidebar h2 { font-family: var(--font-heading); font-size: 48px; letter-spacing: .03em; line-height: .9; writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); color: var(--charcoal); margin-bottom: 20px; }
.coaches-all-link { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--lime-deep); text-decoration: none; display: flex; align-items: center; gap: 5px; border-top: 2px solid var(--lime); padding-top: 12px; transition: gap .2s; }
.coaches-all-link:hover { gap: 10px; }

.coaches-grid-ed { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; }

.coach-ed { background: var(--white); border: 1px solid rgba(0,0,0,.06); overflow: hidden; cursor: pointer; transition: all .25s; text-decoration: none; color: inherit; }
.coach-ed:hover { border-color: var(--lime); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,212,0,.1); }
.coach-ed-ph { height: 240px; overflow: hidden; position: relative; background: var(--gray-bg); display: flex; align-items: center; justify-content: center; }
.coach-ed-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s ease; }
.coach-ed:hover .coach-ed-ph img { transform: scale(1.04); }
.coach-ed-ph span { font-family: var(--font-heading); font-size: 72px; color: rgba(0,0,0,.06); }
.coach-ed-body { padding: 18px; }
.coach-ed-n    { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--lime-dk); margin-bottom: 4px; text-transform: uppercase; }
.coach-ed-name { font-family: var(--font-heading); font-size: 24px; letter-spacing: .04em; color: var(--charcoal); margin-bottom: 3px; }
.coach-ed-role { font-size: 11px; color: var(--gray); margin-bottom: 8px; }
.coach-ed-tag  { display: inline-block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; background: var(--lime-bg); color: var(--lime-dk); padding: 3px 8px; border-radius: 1px; }

@media (max-width: 768px) {
    .coaches-ed { padding: 64px 0; }
    .coaches-inner { grid-template-columns: 1fr; gap: 32px; }
    .coaches-sidebar { position: static; }
    .coaches-sidebar h2 { writing-mode: horizontal-tb; transform: none; font-size: 36px; }
    .coaches-grid-ed { grid-template-columns: 1fr 1fr; }
    .coach-ed-ph { height: 200px; }
}
@media (max-width: 480px) {
    .coaches-grid-ed { grid-template-columns: 1fr; }
}

/* ============================================================
   7. PROMO
   ============================================================ */

.promo { padding: 96px 0; background: var(--night); position: relative; overflow: hidden; }

.promo-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.promo-header-left .kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-dk); margin-bottom: 12px; }
.promo-header-left h2 { font-family: var(--font-heading); font-size: clamp(48px, 5vw, 68px); letter-spacing: .03em; line-height: .95; color: var(--white); }

.promo-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3px; }

.promo-card { height: 480px; position: relative; overflow: hidden; cursor: pointer; border: 1px solid var(--lime); }
.promo-bg    { position: absolute; inset: 0; transition: transform .6s ease; }
.promo-card:hover .promo-bg { transform: scale(1.04); }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.1) 100%); }

.promo-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 24px 28px;
    background: rgba(10,10,10,.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
}
.promo-tag  { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.promo-name { font-family: var(--font-heading); font-size: 32px; letter-spacing: .04em; color: var(--white); line-height: 1; margin-bottom: 10px; }
.promo-desc { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 16px; max-height: 0; overflow: hidden; transition: max-height .4s; }
.promo-card:hover .promo-desc { max-height: 80px; }
.promo-btn  { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); text-decoration: none; opacity: 0; transform: translateY(8px); transition: all .3s; }
.promo-card:hover .promo-btn { opacity: 1; transform: none; }

@media (max-width: 768px) {
    .promo { padding: 64px 0; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card { height: 300px; }
}

/* ============================================================
   8. TESTIMONIALS
   ============================================================ */

.testi { padding: 80px 0; background: var(--lime); }
.testi-in { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }

.testi-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--night); margin-bottom: 12px; font-weight: 700; }
.testi-left h2 { font-family: var(--font-heading); font-size: clamp(44px, 5vw, 64px); letter-spacing: .03em; color: var(--night); line-height: .95; margin-bottom: 16px; }
.testi-left p  { font-size: 15px; color: var(--night); opacity: .7; line-height: 1.7; margin-bottom: 28px; }

.testi-cards { display: flex; gap: 16px; }
.testi-card  { background: rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; padding: 24px; flex: 1; border: 1px solid rgba(255,255,255,.5); }
.testi-q     { font-size: 14px; line-height: 1.7; color: var(--night); margin-bottom: 20px; font-style: italic; }
.testi-auth  { display: flex; align-items: center; gap: 12px; }
.testi-av    { width: 40px; height: 40px; border-radius: 50%; background: var(--night); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 16px; color: var(--lime); flex-shrink: 0; }
.testi-nm    { font-size: 13px; font-weight: 600; color: var(--night); }
.testi-rl    { font-size: 11px; color: rgba(0,0,0,.5); }

@media (max-width: 991px) {
    .testi-in { grid-template-columns: 1fr; gap: 32px; }
    .testi-cards { flex-direction: column; }
}

/* ============================================================
   9. CTA & FORM CONTATTO
   ============================================================ */

.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.7) 0%, transparent 100%);
    z-index: 2;
}

.cta-in {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.cta-kicker { font-family: var(--font-mono); font-size: 10px; color: var(--lime); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-weight: 900; }
.cta-left h2 { font-family: var(--font-heading); font-size: clamp(44px, 6vw, 72px); line-height: .9; margin-bottom: 24px; color: var(--white); text-transform: uppercase; }
.cta-left h2 em { color: var(--lime); font-style: normal; }
.cta-left p  { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 440px; }

/* Form glassmorphism */
.cta-right {
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
}

.custom-form {
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    margin: 0;
}

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }

.custom-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 5px;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.3);
    padding: 14px;
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-main);
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--lime);
    outline: none;
}

.human-check {
    background: rgba(200,212,0,.05);
    padding: 15px;
    border-radius: 4px;
    border: 1px dashed rgba(200,212,0,.2);
    margin-bottom: 25px;
}
.human-check label { margin-bottom: 0; }
.human-check input { width: 80px; text-align: center; margin-top: 10px; border-color: var(--lime); }

.custom-form .btn-primary,
.custom-form .btn-lime {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

@media (max-width: 991px) {
    .cta-in  { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .custom-form { padding: 24px; }
}
/* ============================================================
   10. SIDEBAR
   ============================================================ */

.news-sidebar {
    position: sticky;
    top: calc(var(--header-shrink) + 24px);
}

.sidebar-inner {
    background: var(--sw-bg, var(--white));
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: var(--sw-gap, 32px);
}

.sidebar-inner .widget {
    background: transparent;
    border-radius: 0;
    padding: 0 0 24px;
    color: var(--charcoal);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.sidebar-inner .widget:last-child { border-bottom: none; padding-bottom: 0; }

/* ── Titolo widget ── */
.widget-title,
.sidebar-inner .widget-title {
    font-family: var(--font-heading);
    font-size: var(--sw-title-size, 18px);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sw-title-col, var(--charcoal));
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sw-bar-col, var(--lime));
    display: inline-block;
}

.mp-widget-title-bar { display: none; }

@media (max-width: 1024px) {
    .news-sidebar { position: static; }
}

/* ============================================================
   11. WIDGET SEARCH
   ============================================================ */

.mp-search-inner {
    display: flex;
    align-items: center;
    background: var(--gray-bg);
    border-radius: 8px;
    border: 1.5px solid transparent;
    overflow: hidden;
    transition: border-color .25s;
}
.mp-search-inner:focus-within { border-color: var(--lime); background: var(--white); }

.mp-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 13px 16px;
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--charcoal);
    outline: none;
}
.mp-search-input::placeholder { color: var(--gray); font-size: 13px; }

.mp-search-btn {
    background: var(--lime);
    border: none;
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--night);
    flex-shrink: 0;
    transition: background .2s;
}
.mp-search-btn:hover { background: var(--lime-dk); color: var(--white); }

/* ============================================================
   12. WIDGET ULTIMI ARTICOLI
   ============================================================ */

.mp-recent-item {
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: opacity .2s;
}
.mp-recent-item:last-child  { border-bottom: none; padding-bottom: 0; }
.mp-recent-item:first-child { padding-top: 0; }
.mp-recent-item:hover { opacity: .75; }

.mp-recent-thumb { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.mp-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mp-recent-info  { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.mp-recent-title { font-family: var(--font-main); font-size: 13px; font-weight: 700; color: var(--charcoal); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-recent-date  { font-family: var(--font-mono); font-size: 10px; color: var(--lime-dk); letter-spacing: .06em; }

/* ============================================================
   13. WIDGET CTA
   ============================================================ */

.mp-widget-cta {
    background: #0a280f;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0,0,0,.25);
}

.mp-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    padding: 20px;
}

.mp-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--lime);
    background: rgba(200,212,0,.12);
    border: 1px solid rgba(200,212,0,.3);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
}

.mp-cta-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--lime);
    display: inline-block;
    animation: pulseOpacity 1.5s infinite;
}

.mp-cta-title { font-family: var(--font-heading); font-size: 26px; letter-spacing: .04em; text-transform: uppercase; color: var(--white); line-height: 1.05; margin-bottom: 8px; }
.mp-cta-desc  { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 0; }

.mp-cta-strip {
    margin: 18px -20px 0;
    background: rgba(10,40,15,.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(200,212,0,.2);
    padding: 14px 20px;
}

.mp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--lime);
    color: var(--night);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 4px;
    width: 100%;
    transition: all .25s;
}
.mp-cta-btn:hover { background: var(--lime-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,212,0,.3); }

/* ============================================================
   14. WIDGET CATEGORIE
   ============================================================ */

.mp-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }

.mp-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: var(--inspire-primary-bg, #f4f7d6);
    border-radius: 30px;
    padding: 8px 14px 8px 16px;
    color: var(--charcoal);
    transition: background .2s, color .2s;
}
.mp-cat-item a:hover { background: var(--lime); color: var(--night); }

.mp-cat-name  { font-family: var(--font-main); font-size: 13px; font-weight: 500; }
.mp-cat-count { font-family: var(--font-mono); font-size: 10px; color: var(--white); background: var(--lime-dk); padding: 2px 7px; border-radius: 10px; flex-shrink: 0; }

/* ============================================================
   15. WIDGET TAG
   ============================================================ */

.mp-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.mp-tag-item {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--lime-dk);
    background: transparent;
    border: 1.5px solid var(--lime-dk);
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: .02em;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}
.mp-tag-item::before { content: '#'; font-family: var(--font-mono); font-size: 10px; opacity: .6; }
.mp-tag-item:hover   { background: var(--lime); border-color: var(--lime); color: var(--night); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(200,212,0,.25); }
.mp-tag-item:hover::before { opacity: 1; }

/* ============================================================
   16. SOCIAL SHARE & EMBED
   ============================================================ */

.inspire-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.inspire-share-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray);
    margin-right: 4px;
}

.inspire-share-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--share-color, var(--charcoal));
    color: var(--white);
    transition: opacity .2s, transform .2s;
}
.inspire-share-btn:hover { opacity: .85; transform: translateY(-2px); }

.inspire-embed-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
}
.inspire-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.inspire-embed-ig { padding-bottom: 120%; max-width: 540px; }

.inspire-social-link { margin: 16px 0; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.inspire-footer {
    background: var(--footer-bg, #141414);
    color: var(--footer-text, #ffffff);
}
.inspire-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--footer-border, rgba(255,255,255,.1));
}
.inspire-footer-bottom {
    background: var(--footer-bottom-bg, #0b0f08);
    color: var(--footer-bottom-col, rgba(255,255,255,.4));
    padding: 20px 0;
    width: 100%;
}
.f-col { flex: 1; min-width: 150px; }
.f-col--brand { min-width: 280px; max-width: 350px; }
.f-col .widget-title,
.f-col .footer-title {
    font-size: var(--footer-title-size, 16px);
    color: var(--footer-title-color, var(--inspire-primary));
}
.f-col p,
.f-col .textwidget {
    font-size: 14px;
    color: var(--footer-text, rgba(255,255,255,.6));
    line-height: 1.6;
}
.f-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.f-col ul li a {
    color: var(--footer-text, rgba(255,255,255,.7));
    text-decoration: none;
    font-size: 14px;
    transition: color .3s, padding-left .2s;
    display: inline-block;
}
.f-col ul li a:hover { color: var(--inspire-primary, var(--lime)); padding-left: 5px; }
.f-copy {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--footer-bottom-col, rgba(255,255,255,.3));
}
.f-social { display: flex; gap: 20px; flex-wrap: wrap; }
.f-social-link {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--footer-text, rgba(255,255,255,.5));
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: color .3s;
}
.f-social-link:hover { color: var(--inspire-primary, var(--lime)); }
@media (max-width: 1024px) {
    .inspire-footer { padding: 40px 0 20px; }
    .f-col { flex: 1 1 40%; }
    .f-col--brand { max-width: 100%; }
}
@media (max-width: 600px) {
    .f-col { flex: 1 1 100%; }
    .inspire-footer-bottom { flex-direction: column; text-align: center; }
    .f-social { justify-content: center; }
}
/* ============================================================
   18. ARCHIVI — index, category, archive, tag, search
   CSS condiviso per tutti i template lista articoli
   ============================================================ */

.inspire-archive-main {
    background: #f4f5f7;
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* ── Header archivio ── */
.archive-header {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0,0,0,.05);
}

.archive-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 64px);
    color: var(--inspire-text, #1a1a1a);
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
}

.archive-subtitle {
    font-family: var(--font-mono);
    color: var(--inspire-primary-dk, var(--lime-dk));
    font-size: 13px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.archive-bar {
    width: 80px;
    height: 5px;
    background: var(--inspire-primary, var(--lime));
    margin-top: 20px;
    border-radius: 2px;
}

/* ── Layout griglia + sidebar ── */
.archive-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* ── Griglia articoli ── */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Griglia articoli correlati ── */
.single-related .archive-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .single-related .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .single-related .archive-grid { grid-template-columns: 1fr; }
}

/* ── Card articolo ── */
.grid-card {
    background: var(--inspire-white, #fff);
    border: 2px solid var(--inspire-primary, var(--lime));
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.grid-thumb {
    display: block;
    height: 220px;
    overflow: hidden;
}
.grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.grid-card:hover .grid-thumb img { transform: scale(1.05); }

.grid-content { padding: 20px; }

.grid-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--inspire-muted, #8a9a8a);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 10px;
    order: 3;
}

.grid-cat {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--inspire-primary, var(--lime));
    color: var(--inspire-dark, var(--night));
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background .2s;
}
.grid-cat:hover {
    background: var(--inspire-primary-dk, var(--lime-dk));
}

.grid-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 0 0 14px;
    line-height: 1.1;
    letter-spacing: .03em;
}
.grid-title a {
    color: var(--inspire-text, #1a1a1a);
    text-decoration: none;
    transition: color .3s;
}
.grid-title a:hover { color: var(--inspire-primary-dk, var(--lime-dk)); }

.grid-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.grid-link {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--inspire-text, #1a1a1a);
    text-decoration: none;
    border-bottom: 2px solid var(--inspire-primary, var(--lime));
    padding-bottom: 2px;
    transition: color .3s;
    display: inline-block;
}
.grid-link:hover { color: var(--inspire-primary-dk, var(--lime-dk)); }

/* ── Nessun risultato ── */
.archive-empty {
    color: var(--inspire-text, #1a1a1a);
    font-size: 18px;
    grid-column: 1 / -1;
}

/* ── Paginazione ── */
.archive-pagination { margin-top: 50px; }

.archive-pagination .page-numbers {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 10px 18px;
    background: var(--inspire-white, #fff);
    border: 1px solid #ddd;
    color: var(--inspire-text, #1a1a1a);
    text-decoration: none;
    border-radius: 4px;
    margin-right: 8px;
    display: inline-block;
    transition: background .2s, color .2s;
}
.archive-pagination .page-numbers:hover { background: #f0f0f0; }
.archive-pagination .page-numbers.current {
    background: var(--inspire-text, #1a1a1a);
    color: var(--inspire-primary, var(--lime));
    border-color: var(--inspire-text, #1a1a1a);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .archive-layout { grid-template-columns: 1fr; gap: 40px; }
    .news-sidebar   { position: static; }
}
@media (max-width: 600px) {
    .archive-grid       { grid-template-columns: 1fr; }
    .inspire-archive-main { padding-top: 100px; }
}
/* ============================================================
   19. SINGLE — Articolo singolo
   ============================================================ */

/* ── Layout ── */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    padding-top: 0;
}

/* ── Header ── */
.single-header { margin-bottom: 36px; }

.single-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--inspire-primary-dk, var(--lime-dk));
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}

.single-tipo {
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--inspire-primary-bg, var(--lime-bg));
    color: var(--inspire-primary-dk, var(--lime-dk));
    padding: 2px 8px;
    border-radius: 4px;
}

.single-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 58px);
    color: var(--inspire-text, #1a1a1a);
    line-height: 1;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.single-excerpt {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 680px;
}

/* ── Immagine ── */
.single-thumb {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}
.single-thumb img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
    object-fit: cover;
}

/* ── Contenuto ── */
.single-content {
    font-size: 17px;
    line-height: 1.85;
    color: var(--inspire-text, #1a1a1a);
    margin-bottom: 40px;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin: 36px 0 16px;
    color: var(--inspire-text, #1a1a1a);
}

.single-content p     { margin-bottom: 24px; }
.single-content ul,
.single-content ol    { padding-left: 24px; margin-bottom: 24px; }
.single-content li    { margin-bottom: 8px; }
.single-content a     { color: var(--inspire-primary-dk, var(--lime-dk)); text-decoration: underline; }
.single-content a:hover { color: var(--inspire-primary, var(--lime)); }

.single-content blockquote {
    border-left: 4px solid var(--inspire-primary, var(--lime));
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--inspire-primary-bg, var(--lime-bg));
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: #444;
}

.single-content img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
    margin: 8px 0;
}

/* ── Tag ── */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

/* ── Nav prev/next ── */
.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.single-nav a {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--inspire-text, #1a1a1a);
    text-decoration: none;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: color .2s;
    display: block;
    line-height: 1.3;
}
.single-nav a:hover { color: var(--inspire-primary-dk, var(--lime-dk)); }
.single-nav-next    { text-align: right; }

/* ── Articoli correlati ── */
.single-related { margin-top: 80px; padding-top: 48px; border-top: 2px solid rgba(0,0,0,.06); }

.single-related-title {
    font-family: var(--font-heading);
    font-size: 36px;
    text-transform: uppercase;
    color: var(--inspire-text, #1a1a1a);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .single-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
    .single-nav   { grid-template-columns: 1fr; }
    .single-nav-next { text-align: left; }
    .single-title { font-size: 36px; }
}
/* ============================================================
   20. SINGLE SERVIZI
   ============================================================ */

/* ── Badge ── */
.servizio-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--inspire-dark, var(--night));
    background: var(--inspire-primary, var(--lime));
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.servizio-badge--sm {
    font-size: 9px;
    padding: 3px 10px;
    margin-bottom: 0;
}

/* ── Pillole info ── */
.servizio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.servizio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--inspire-text, #1a1a1a);
    background: var(--inspire-primary-bg, var(--lime-bg));
    border: 1px solid rgba(0,0,0,.08);
    padding: 8px 16px;
    border-radius: 4px;
}

.servizio-pill svg { flex-shrink: 0; }

.servizio-pill--price {
    background: var(--inspire-dark, var(--night));
    color: var(--inspire-primary, var(--lime));
    border-color: transparent;
    font-weight: 700;
}

/* ── CTA ── */
.servizio-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 32px;
    background: var(--inspire-primary-bg, var(--lime-bg));
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.06);
}

/* ── Prezzo nelle card correlati ── */
.servizio-prezzo-sm {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--inspire-primary-dk, var(--lime-dk));
    margin-bottom: 16px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .servizio-cta { flex-direction: column; }
    .servizio-cta .btn-primary,
    .servizio-cta .btn-outline { justify-content: center; width: 100%; }
}

/* ============================================================
   21. FORM FEEDBACK
   ============================================================ */

.inspire-form-feedback {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: none;
}

.inspire-form-feedback.is-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.inspire-form-feedback.is-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================================
   22. PRIVACY CHECKBOX
   ============================================================ */

.custom-form .form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.custom-form .form-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--inspire-primary, var(--lime));
}

/* ============================================================ */
/* INFINITE SCROLL - ANIMAZIONE FADE IN A CASCATA               */
/* ============================================================ */

/* Stato iniziale: invisibile e spostato in basso di 30px */
.inspire-fade-in-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Stato finale: visibile e nella posizione originale */
.inspire-fade-in-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================================
   23. WIDGET NUOVI — Latest Posts, Numerato, About, Social
   ============================================================ */

/* ── Latest Posts con immagine ── */
.inspire-lp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.inspire-lp-item { display: flex; gap: 12px; align-items: center; }
.inspire-lp-img-wrap { flex-shrink: 0; }
.inspire-lp-img,
.inspire-lp-img-placeholder {
    width: 60px; height: 60px; border-radius: 50%;
    object-fit: cover; display: block;
    background: var(--inspire-primary-bg, #f4f7d6);
    border: 2px solid var(--inspire-border, #e5e5e0);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.inspire-lp-body { display: flex; flex-direction: column; gap: 4px; }
.inspire-lp-title {
    font-size: 13px; font-weight: 600; color: var(--inspire-text, #1a1a1a);
    text-decoration: none; line-height: 1.3;
    transition: color .2s;
}
.inspire-lp-title:hover { color: var(--inspire-primary-dk, #8f9800); }
.inspire-lp-date { font-family: var(--font-mono); font-size: 10px; color: var(--inspire-muted, #8a9a8a); }

/* ── Latest Posts numerato ── */
.inspire-np-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.inspire-np-item { display: flex; gap: 14px; align-items: flex-start; }
.inspire-np-num {
    font-family: var(--font-heading); font-size: 28px; line-height: 1;
    color: var(--inspire-primary, #c8d400); flex-shrink: 0; min-width: 36px;
}
.inspire-np-body { display: flex; flex-direction: column; gap: 4px; }
.inspire-np-cat {
    display: inline-block; font-family: var(--font-mono); font-size: 9px;
    font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    background: var(--inspire-primary, #c8d400); color: var(--inspire-dark, #0b0f08);
    padding: 2px 8px; border-radius: 3px; text-decoration: none;
}
.inspire-np-title {
    font-size: 13px; font-weight: 600; color: var(--inspire-text, #1a1a1a);
    text-decoration: none; line-height: 1.3; transition: color .2s;
}
.inspire-np-title:hover { color: var(--inspire-primary-dk, #8f9800); }
.inspire-np-date { font-family: var(--font-mono); font-size: 10px; color: var(--inspire-muted, #8a9a8a); }

/* ── About Footer ── */
.inspire-about-logo { margin-bottom: 14px; }
.inspire-about-logo img { max-height: 60px; width: auto; }
.inspire-about-sitename {
    font-family: var(--font-heading); font-size: 24px;
    color: var(--footer-text, #ffffff); text-decoration: none;
}
.inspire-about-desc { font-size: 13px; color: var(--footer-text, rgba(255,255,255,.6)); line-height: 1.6; }

/* ── Social Icons ── */
.inspire-social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.inspire-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--footer-text, rgba(255,255,255,.8));
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}
.inspire-social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}
.inspire-social-icon:hover {
    background: var(--inspire-primary, #c8d400);
    color: var(--inspire-dark, #0b0f08);
    border-color: var(--inspire-primary, #c8d400);
}
.inspire-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
/* ── Categorie nel footer ── */
.f-col .mp-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.f-col .mp-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: rgba(255,255,255,.1);
    border-radius: 30px;
    padding: 8px 14px 8px 16px;
    font-size: 13px;
    color: var(--footer-text, rgba(255,255,255,.9));
    transition: background .2s, color .2s;
}
.f-col .mp-cat-item a:hover {
    background: var(--inspire-primary, var(--lime));
    color: var(--inspire-dark, #0b0f08);
}
.f-col .mp-cat-count {
    font-family: var(--font-mono);
    font-size: 10px;
    background: var(--inspire-primary, var(--lime));
    color: var(--inspire-dark, #0b0f08);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}