/*
Theme Name: GeneratePress Arienti Child
Theme URI: https://arientigp.it/
Description: Tema figlio per Arienti & C. per personalizzazioni custom.
Author: Arienti & C.
Author URI: https://arientigp.it/
Template: generatepress
Version: 1.0.14
*/

/* --------------------------------------------------------------
   0. RESET E GLOBAL
   -------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
*:focus { outline: none !important; }

:root {
  --ari-green:        #11a74f;
  --ari-green-dark:   #0e853e;
  --ari-green-deep:   #0b7340;
  --ari-gold:         #c9b037;
  --ari-dark:         #1a1a1a;
  --ari-bg:           #f8fff9;
  --radius:           28px;
  --radius-sm:        18px;
  --shadow:           0 30px 70px rgba(0,0,0,.12);
  --transition:       all .4s cubic-bezier(.4,0,.2,1);
  --ari-blue-deep:    #0b2d42;
}

::selection { background: var(--ari-green); color: #fff; }
::-moz-selection { background: var(--ari-green); color: #fff; }

/* FIX SPAZIO BIANCO & LAYOUT */
html { font-size: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 450;
  line-height: 1.7;
  color: var(--ari-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 40px !important; /* Spazio per Header Fisso */
}

/* Azzera margini contenitori WP */
.site-content, .entry-content, .entry-header, .page-hero, .site-main .inside-article {
    margin-top: 0 !important; padding-top: 0 !important; max-width: 100% !important;
}

/* --------------------------------------------------------------
   1. TIPOGRAFIA GLOBALE
   -------------------------------------------------------------- */
h1, .h1 { font-size: clamp(3rem, 7vw, 4.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
h2, .h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.6rem; }
h3, .h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
p { font-size: 1.18rem; margin-bottom: 1.3rem; }
.text-gold { color: var(--ari-gold) !important; }
.text-mega { font-size: clamp(3.5rem, 10vw, 7rem) !important; font-weight: 900 !important; letter-spacing: -2px; }

/* --------------------------------------------------------------
   2. LAYOUT
   -------------------------------------------------------------- */
.section      { padding: 80px 0; }
.section-sm   { padding: 66px; }
.section-lg   { padding: 100px 0; }

.top-bar.top-bar-align-right {
    display: none;
}
.l-container { 
  max-width: 1320px; margin: 0 auto; padding: 1.5rem 1.2rem; box-sizing: border-box; text-align: center;
}
.grid-3 { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card, .card-arienti {
  background: #fff; padding: 3rem 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow);
  text-align: center; height: 100%; transition: var(--transition);
}
.card:hover, .card-arienti:hover { transform: translateY(-20px); box-shadow: 0 40px 90px rgba(17,167,79,.25); }


/* ==========================================================================
   3. HEADER & NAVIGAZIONE - RISOLUZIONE FINALE (DESKTOP INTATTO, MOBILE BLINDATO)
   ========================================================================== */

/* --- 1. RESET NUCLEARE DI TUTTI I DOPPIONI --- */
#mobile-header, 
.mobile-header-navigation, 
.mobile-header-logo,
.mobile-bar-items,
.menu-bar-items,
.mobile-menu-control-wrapper,
#sticky-navigation,
#sticky-placeholder,
.slideout-toggle {
    display: none !important;
    visibility: hidden !important;
}

.site-header {
    background-color: var(--ari-green) !important;
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 10000; height: 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* BLINDATURA RIGA: Flexbox stretto, impedisce a qualsiasi elemento di cadere sotto */
.site-header .inside-header {
    height: 80px !important; 
    display: flex !important;
    flex-direction: row !important; 
    flex-wrap: nowrap !important; /* IL SEGRETO CHE IMPEDISCE LA CADUTA DELL'HAMBURGER */
    align-items: center !important;
    justify-content: space-between !important; 
    padding: 0 20px !important;
}

/* --- 2. LOGICA DESKTOP (> 1251px) --- (LA TUA VERSIONE FUNZIONANTE) */
@media (min-width: 1251px) {
    .main-navigation .menu-toggle,
    .menu-toggle { display: none !important; }

    .main-navigation ul, 
    .main-navigation .main-nav > ul {
        display: flex !important;
        align-items: center !important;
        height: 80px;
        margin: 0;
        padding: 0;
    }

    .main-navigation .main-nav > ul > li > a {
        color: #fff !important; font-weight: 700; font-size: 13px; text-transform: uppercase;
        padding: 0 12px !important;
    }

    .menu-phone a { white-space: nowrap !important; display: flex !important; align-items: center; }
    .menu-phone a::before { content: '\260E'; margin-right: 6px; color: var(--ari-gold); font-size: 1.2rem; }

    .menu-button-wa a {
        background-color: var(--ari-gold) !important; color: #fff !important;
        line-height: 40px !important; height: 40px !important;
        border-radius: 50px; padding: 0 20px !important; font-weight: 800 !important;
        display: inline-block !important; width: auto !important;
    }
    
    .menu-social { display: none !important; }
}

/* --- 3. LOGICA MOBILE/TABLET (< 1250px) --- */
@media (max-width: 1250px) {

    /* Logo bloccato a sinistra */
    .site-logo { 
        margin-top: -10px !important; 
        z-index: 10001;
        flex: 0 0 auto !important;
    }
    .site-logo img { height: 45px !important; width: auto !important; }

    /* Fix cruciale: Disattiva il "width: 100%" di GeneratePress e spinge a destra */
    .main-navigation {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important; /* Spinge tutto a destra */
        align-items: center !important;
        width: auto !important; /* Annulla il 100% che lo faceva cadere */
        clear: none !important; /* Annulla l'andata a capo */
        margin: 0 !important;
    }
    .inside-navigation {
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    /* Il pulsante Hamburger Ufficiale */
    .main-navigation .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        color: #fff !important;
        border: none !important;
        height: 80px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        width: 50px !important;
    }
    
    /* Forza la visibilità dell'icona a 3 linee */
    .main-navigation .menu-toggle .gp-icon { display: flex !important; }
    .main-navigation .menu-toggle .gp-icon svg { height: 30px !important; width: 30px !important; fill: #fff !important; }
    
    /* Nasconde la fastidiosa scritta "Menu" e bottoni extra */
    .menu-toggle .mobile-menu { display: none !important; }
    button.menu-toggle:not(.main-navigation .menu-toggle) { display: none !important; }

    /* Nasconde i link quando il menu è chiuso */
    .main-navigation:not(.toggled) .main-nav > ul { display: none !important; }

    /* --- FIX X DI CHIUSURA --- */
    .main-navigation.toggled .menu-toggle .gp-icon,
    .main-navigation.toggled .menu-toggle svg {
        display: none !important;
    }
    
    .main-navigation.toggled .menu-toggle::after {
        content: "X" !important;
        font-family: Arial, sans-serif !important;
        font-size: 38px !important;
        color: #fff !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        display: block !important;
    }

    /* === OVERLAY MENU APERTO (Fix Allineamento Social) === */
    .main-navigation.toggled .main-nav > ul {
        display: flex !important;
        flex-direction: row !important; /* Mantiene la riga come base */
        flex-wrap: wrap !important; /* Le voci 100% andranno a capo formando una colonna, i social si affiancheranno */
        justify-content: center !important; /* Centra i social orizzontalmente! */
        align-content: flex-start !important; /* Impila gli elementi verso l'alto senza farli uscire dallo schermo */
        position: fixed !important; 
        top: 80px; left: 0; width: 100%; height: calc(100vh - 80px);
        background-color: var(--ari-green) !important;
        padding: 20px 0 100px 0 !important;
        overflow-y: auto;
        margin: 0 !important;
    }

    /* Voci del menu testuali */
    .main-navigation.toggled .main-nav > ul > li:not(.menu-social) {
        width: 100% !important; /* Forza l'andata a capo */
        text-align: center;
        margin: 0 !important;
    }
    
    .main-navigation.toggled .main-nav > ul > li:not(.menu-social) > a {
        line-height: 55px; border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block; width: 100%; color: #fff !important;
    }

    /* Pulsanti Action Mobile */
    .menu-phone a, .menu-button-wa a {
        width: 85% !important; margin: 10px auto !important;
        border-radius: 50px; line-height: 50px !important;
        display: flex !important; justify-content: center; font-weight: 800 !important;
    }
    .menu-phone a { background: rgba(0,0,0,0.15) !important; }
    .menu-button-wa a { background-color: var(--ari-gold) !important; color: #fff !important; }

    /* Icone Social (Centrate in Orizzontale) */
    .menu-social {
        display: flex !important;
        width: auto !important; /* Dimensione fluida per affiancarsi */
        margin: 30px 15px !important; /* Margine per distanziarli bene */
        border: none !important;
        align-items: center;
        justify-content: center;
    }
    
    .menu-social a { padding: 0 !important; display: flex !important; }
    .menu-social svg { width: 38px !important; height: 38px !important; fill: #fff !important; }
}
/* ==========================================================================
   AGGIUNTA: FIX VISIBILITÀ SOTTOMENU MOBILE
   ========================================================================== */

@media (max-width: 1250px) {
    /* Contenitore del sottomenu (Soluzioni) */
    .main-navigation.toggled .main-nav > ul > li > ul.sub-menu {
        background-color: rgba(0, 0, 0, 0.1) !important; /* Sfondo appena più scuro del verde per creare gerarchia */
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    /* Voci all'interno del sottomenu (Ventilazione, Raffrescamento, ecc.) */
    .main-navigation.toggled .main-nav > ul > li > ul.sub-menu > li {
        width: 100% !important;
        margin: 0 !important;
    }

    .main-navigation.toggled .main-nav > ul > li > ul.sub-menu > li > a {
        color: #ffffff !important; /* Testo bianco perfettamente leggibile */
        font-size: 14px !important; /* Font leggermente più piccolo della voce padre */
        padding-left: 10% !important; /* Rientro visivo a destra per indicare la gerarchia */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        display: block !important;
        line-height: 50px !important;
    }
    
    /* Rimuove il bordo all'ultima voce per pulizia visiva */
    .main-navigation.toggled .main-nav > ul > li > ul.sub-menu > li:last-child > a {
        border-bottom: none !important;
    }
}
/* --------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------- */
.hero-bg-arienti {
    position: relative; width: 100%; height: 90vh; min-height: 600px;
    overflow: hidden; display: flex; align-items: center; justify-content: center; background-color: #000; margin-top: -40px !important;
}
.hero-video-desktop {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: 0; transform: translate(-50%, -50%); object-fit: cover;
}
.hero-bg-arienti::after { 
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 50, 30, 0.5); z-index: 1; pointer-events: none; 
}
.hero-content-arienti {
    position: relative; z-index: 2; text-align: center; color: #fff; width: 100%; padding: 0 20px;
}
.hero-h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-h2 {
    font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 400; opacity: 0.9; margin-bottom: 3rem; color: #fff;
}
.hero-h2:strong{ font-weight: 700;  color: #fff;}
.gb-button-wrapper { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.gb-button-outline {
    background: transparent;  font-size: 1.1rem; border: 3px solid #fff; color: #fff; padding: 1rem 2rem; 
    *-border-radius: 25px; font-weight: 700; text-decoration: none; transition: all 0.3s;
}
.gb-button-outline:hover { background: #fff; color: var(--ari-dark); }

@media (max-width: 768px) {
    .hero-bg-arienti { 
        height: 96vh; margin-top: 0 !important;
        background-image: url('https://arientinew7707.live-website.com/wp-content/uploads/2025/12/back-mobile-home-hero.webp'); 
        background-size: cover; background-position: center; margin-top: -9px !important;
    }
    .hero-video-desktop { display: none !important; }
}

/* --------------------------------------------------------------
   5. CALCOLATORE 2026
   -------------------------------------------------------------- */
.calcolatore-inner {
  background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  padding: 4rem 3rem; 
  margin: 0 auto;
  max-width: 1100px; 
}

/* Label (Etichette sopra i campi) */
.calcolatore-inner label {
    font-size: 0.95rem !important; 
    font-weight: 700;
    text-transform: uppercase;
    color: #64748B; /* Grigio j-pro */
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
    text-align: left; 
}

/* Campi Input */
.calcolatore-inner input {
  height: 72px; 
  font-size: 1.5rem !important; 
  font-weight: 700; 
  text-align: center;
  border: 3px solid #e2e8f0; 
  border-radius: 16px; /* Meno rotondo, più tecnico */
  transition: all 0.3s;
  width: 100%;
  color: var(--ari-dark);
  background: #fff;
}

.calcolatore-inner input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

.calcolatore-inner input:focus {
  border-color: var(--ari-green) !important;
  box-shadow: 0 0 0 4px rgba(17,167,79,0.15); 
  outline: none;
}

/* Bottone Calcola */
.calcolatore-inner button {
  min-height: 70px; /* Stessa altezza degli input per armonia */
  font-size: 1.3rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 3rem;
  border-radius: 50px;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) { 
    .calcolatore-inner { padding: 2.5rem 1.5rem; } 
    .calcolatore-inner input { height: 60px; font-size: 1.3rem !important; }
    .calcolatore-inner button { min-height: 60px; font-size: 1.1rem !important; width: 100%; }
}
/* --------------------------------------------------------------
   6. BOTTONI GLOBALI
   -------------------------------------------------------------- */
.gb-button, .wp-block-button__link {
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; text-transform:uppercase; letter-spacing:.8px;
  border-radius:24px; padding:1.3rem 2.2rem; font-size:1.3rem;
  min-height:58px; box-shadow:0 12px 22px rgba(0,0,0,.18); transition:var(--transition);
}
.gb-button-primary, .is-style-fill .wp-block-button__link {
  background:var(--ari-green); border:4px solid var(--ari-green); color:#fff;
}
.gb-button-primary:hover, .is-style-fill .wp-block-button__link:hover {
  background:var(--ari-green-dark); border-color:var(--ari-green-dark); transform:translateY(-8px); box-shadow:0 25px 50px rgba(17,167,79,.35);
}
.btn-whatsapp { background:#25d366 !important; }
.btn-whatsapp:hover { background:#128c7e !important; }
@media (max-width: 600px) { .gb-button, .wp-block-button__link { min-height: 56px; font-size: 1.1rem; padding: 1rem 2rem; } }

/* --------------------------------------------------------------
   7. FOOTER (Layout, Social Orizzontali e Copyright)
   -------------------------------------------------------------- */
.site-footer {
  background: #0a5e33 !important;
  color: #fff;
  font-size: 15px;
}

/* FIX COLONNE: Applichiamo la griglia al contenitore INTERNO */
.inside-footer-widgets {
  padding: 4rem 2rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  /* Definizione Colonne: Logo (Largo) - Menu - Social */
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Reset del contenitore esterno (per evitare conflitti) */
.footer-widgets {
    padding: 0 !important;
    display: block !important;
}

/* Stili Titoli Widget */
.footer-widgets h2, .footer-widgets h4, .widget-title {
    color: var(--ari-gold);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Colonna 1: Logo */
.footer-logo { height: 70px; width: auto; margin-bottom: 1.5rem; display: block; max-width: 380px; }
.footer-desc { opacity: 0.9; line-height: 1.6; max-width: 380px; }

/* Colonna 2: Menu */
.footer-menu, .widget_nav_menu ul { list-style: none; padding: 0; margin: 0; }
.footer-menu li, .widget_nav_menu li { margin-bottom: 0.8rem; }
.footer-menu a, .widget_nav_menu a {
  color: #fff; text-decoration: none; transition: var(--transition); opacity: 0.8; font-size: 1rem;
}
.footer-menu a:hover, .widget_nav_menu a:hover { color: var(--ari-gold); opacity: 1; padding-left: 5px; }

/* Colonna 3: Social Icons */
.footer-social-icons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
/* Forza i link social a non essere larghi 100% */
.footer-social-icons a.social-icon-footer {
    display: flex !important;
    width: 44px !important; height: 44px !important; margin-bottom: 0 !important;
}
.social-icon-footer {
  width: 42px; height: 42px; background: rgba(255,255,255,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: var(--transition); text-decoration: none; flex-shrink: 0;
}
.social-icon-footer svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon-footer:hover { background: #fff; color: var(--ari-green); transform: translateY(-5px); }

/* Copyright Bar */
.site-info { background: rgba(0,0,0,0.15) !important; padding: 1.5rem 0; }
.copyright-bar {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
}
.legal-links a {
  color: rgba(255,255,255,0.7); text-decoration: none; margin-left: 1.5rem; transition: 0.3s;
}
.legal-links a:hover { color: #fff; text-decoration: underline; }

/* Responsive Footer */
@media (max-width: 1024px) {
  .inside-footer-widgets { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .footer-desc { margin: 0 auto; }
  .footer-social-icons { justify-content: center; }
  .copyright-bar { flex-direction: column; text-align: center; gap: 1rem; }
  .legal-links a { margin: 0 10px; display: inline-block; }
}
/* --------------------------------------------------------------
   8. WHATSAPP FISSO MOBILE
   -------------------------------------------------------------- */
.whatsapp-fixed {
  position:fixed; bottom:25px; right:25px; z-index:9999;
  background:#25d366; color:#fff; width:68px; height:68px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:34px; box-shadow:0 12px 30px rgba(37,211,102,.5); transition:var(--transition);
}
.whatsapp-fixed:hover { transform:scale(1.15); }
@media (min-width:769px) { .whatsapp-fixed { display:none; } }

/* --------------------------------------------------------------
   9. SEZIONE METODO
   -------------------------------------------------------------- */
.elements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 5rem; }
.step-card {
    background: #fff; padding: 3.5rem 2rem 2rem 2rem; border-radius: var(--radius-sm);
    box-shadow: var(--shadow); position: relative; transition: var(--transition); border-bottom: 4px solid transparent; height: 100%; display: flex; flex-direction: column; overflow: visible;
}
.step-card:hover { transform: translateY(-10px); border-bottom-color: var(--ari-green); box-shadow: 0 20px 50px rgba(17,167,79,.15); }
.step-icon {
    position: absolute; top: -32px; left: 24px; width: 64px; height: 64px;
    background: var(--ari-green); color: #fff; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(17,167,79,0.3); z-index: 2; transition: var(--transition);
}
.step-card:hover .step-icon { background: var(--ari-green-dark); transform: scale(1.1) rotate(-3deg); }
.step-icon svg { width: 32px; height: 32px; fill: #fff; }
.step-card h3 { font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; line-height: 1.2; color: var(--ari-dark); }
.step-card p { font-size: 1rem; line-height: 1.6; color: #555; margin-bottom: 0; flex-grow: 1; }
@media (max-width: 1024px) { .elements-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem 2rem; margin-top: 4rem; } }
@media (max-width: 600px) { .elements-grid { grid-template-columns: 1fr; gap: 4.5rem; } .step-card { padding: 3rem 1.5rem 2rem 1.5rem; } }

/* --------------------------------------------------------------
   10. SEZIONE TECNOLOGIE
   -------------------------------------------------------------- */
.tech-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; transition: var(--transition); height: 100%; display: flex; flex-direction: column; text-align: left; 
}
.tech-card:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgba(0,0,0,.2); }
.tech-card-img { height: 240px; background-color: #e5e7eb; background-position: center; background-size: cover; position: relative; }
.tech-tag {
    position: absolute; top: 20px; left: 20px; background: #fff; color: var(--ari-dark);
    font-weight: 700; font-size: 0.9rem; padding: 6px 14px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px;
}
.tech-content { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; }
.tech-content h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--ari-green-deep); }
.tech-list { list-style: none; padding: 0; margin: 0 0 2rem 0; flex-grow: 1; }
.tech-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.8rem; color: #555; font-weight: 500; font-size: 1.05rem; }
.tech-list li::before { content: "✓"; color: var(--ari-green); font-weight: 900; position: absolute; left: 0; top: 0; }
.tech-link {
    font-weight: 700; color: var(--ari-green); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.tech-link:hover { color: var(--ari-green-dark); gap: 12px; }
a.tech-link {
    text-align: center;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid;
    border-radius: 13px;
}
/* --------------------------------------------------------------
   11. SEZIONE VIDEO TESTIMONIANZE
   -------------------------------------------------------------- */
.video-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; height: 100%; transition: var(--transition);
    display: flex; flex-direction: column; text-align: left; position: relative; cursor: pointer;
}
.video-card:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgba(0,0,0,.25); }
.video-thumb { height: 260px; background-color: #000; background-size: cover; background-position: center; position: relative; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: var(--transition); }
.video-card:hover .video-thumb::after { background: rgba(0,0,0,0.1); }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1);
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.2); border: 3px solid #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 2; backdrop-filter: blur(4px); transition: var(--transition);
}
.play-icon-shape {
    width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid #fff; margin-left: 5px; transition: var(--transition);
}
.video-card:hover .play-btn { background: var(--ari-green); border-color: var(--ari-green); transform: translate(-50%, -50%) scale(1.1); }
.video-card:hover .play-icon-shape { border-left-color: #fff; }
.video-content { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.video-quote { font-size: 1.25rem; font-weight: 700; font-style: italic; color: var(--ari-dark); line-height: 1.4; margin-bottom: 1.5rem; }
.video-quote::before { content: "“"; color: var(--ari-green); font-size: 3rem; line-height: 0; vertical-align: -10px; margin-right: 5px; }
.farmer-info { margin-top: auto; border-top: 1px solid #eee; padding-top: 1rem; display: flex; align-items: center; gap: 15px; }
.farmer-avatar { width: 50px; height: 50px; border-radius: 50%; background-color: #ddd; background-size: cover; }
.farmer-text h4 { font-size: 1rem; font-weight: 800; margin: 0; line-height: 1.2; }
.farmer-text span { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }

/* --------------------------------------------------------------
   12. SEZIONE CTA FINALE
   -------------------------------------------------------------- */
.final-cta-arienti { background-color: var(--ari-blue-deep, #0b2d42); padding: 6rem 1rem; color: #fff; position: relative; overflow: hidden; text-align: center; }
.final-cta-arienti::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(17,167,79,0.1), transparent 40%); pointer-events: none;
}
.btn-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin: .5rem;
    padding: 1.2rem 2.5rem; border-radius: 50px; font-weight: 800; text-transform: uppercase;
    font-size: 1.2rem; text-decoration: none; transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); min-width: 280px;
}
.btn-action svg { width: 28px; height: 28px; fill: currentColor; }
.btn-primary-welfare { background: var(--ari-green); color: #fff; }
.btn-primary-welfare:hover { background: #fff; color: var(--ari-green); transform: translateY(-5px); }
.btn-wa-modern { background: #25D366; color: #fff; }
.btn-wa-modern:hover { background: #128C7E; color: #fff; transform: translateY(-5px); }
.btn-phone-outline { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-phone-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
@media (max-width: 768px) { .btn-action { width: 100%; font-size: 1.1rem; } }

/* --------------------------------------------------------------
   14. PAGINA CONTATTI
   -------------------------------------------------------------- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-box { background: #fff; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-detail-item { margin-bottom: 2.5rem; }
.contact-label { display: block; font-size: 0.9rem; text-transform: uppercase; color: #888; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 1px; }
.contact-value { font-size: 1.4rem; font-weight: 700; color: var(--ari-dark); text-decoration: none; display: block; }
.contact-value:hover { color: var(--ari-green); }
.contact-map iframe { width: 100%; height: 300px; border-radius: var(--radius-sm); border: none; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.contact-form-wrapper { background: #fff; padding: 3.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--ari-green); }
.ari-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 5px; }
.form-group label { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; display: block; color: #555; }
.full-width { grid-column: span 2; }
input.ari-input, textarea.ari-textarea {
    width: 100%; background: #f9f9f9; border: 2px solid #e5e7eb; border-radius: 12px; padding: 15px 20px; font-size: 1.1rem; transition: var(--transition); color: var(--ari-dark);
}
input.ari-input { height: 56px; } textarea.ari-textarea { height: 150px; resize: vertical; }
input.ari-input:focus, textarea.ari-textarea:focus { border-color: var(--ari-green); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(17,167,79,0.1); }
.wpcf7-submit { width: 100%; cursor: pointer; font-size: 1.2rem; padding: 20px !important; margin-top: 1rem; }
@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; } .ari-form-grid { grid-template-columns: 1fr; } .full-width { grid-column: span 1; } .contact-form-wrapper, .contact-info-box { padding: 2rem; } }

/* --------------------------------------------------------------
   15. SEZIONE LEADERSHIP
   -------------------------------------------------------------- */
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.profile-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.profile-card:hover { transform: translateY(-10px); }
.profile-img-container { height: 400px; width: 100%; background-color: #e5e7eb; background-size: cover; background-position: top center; }
.profile-header {
    background: var(--ari-green-deep); padding: 1.5rem 2rem; color: #fff; position: relative; z-index: 2;
    margin-top: -50px; margin-left: 2rem; border-radius: var(--radius-sm) 0 0 0; box-shadow: -10px 10px 30px rgba(0,0,0,0.15);
}
.profile-header h3 { margin: 0; font-size: 1.6rem; color: #fff; }
.profile-role { color: var(--ari-gold); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; margin-top: 5px; display: block; letter-spacing: 1px; }
.profile-bio { padding: 2rem 2rem 3rem 2rem; }
.profile-quote { font-style: italic; font-size: 1.05rem; color: #555; border-left: 4px solid var(--ari-green); padding-left: 1.5rem; margin-bottom: 1.5rem; line-height: 1.5; }

/* --------------------------------------------------------------
   16. SEZIONE TIMELINE
   -------------------------------------------------------------- */
.timeline-wrap { position: relative; max-width: 800px; margin: 4rem auto 0 auto; padding-left: 3rem; border-left: 3px solid #e5e7eb; }
.timeline-item { position: relative; margin-bottom: 4rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -3.6rem; top: 5px;
    width: 20px; height: 20px; background: var(--ari-green); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--ari-green-deep);
}
.timeline-year { font-size: 3rem; font-weight: 900; color: #e5e7eb; line-height: 1; position: absolute; top: -2.5rem; left: 0; z-index: -1; }
.timeline-content h3 { color: var(--ari-green-deep); margin-bottom: 0.5rem; font-size: 1.5rem; }
@media (max-width: 900px) { .leadership-grid { grid-template-columns: 1fr; gap: 4rem; } .profile-header { margin-left: 0; margin-right: 0; border-radius: 0; margin-top: 0; } .timeline-year { font-size: 2.5rem; position: relative; top: 0; margin-bottom: 0.5rem; display: block; color: var(--ari-gold); opacity: 1; } }

/* --------------------------------------------------------------
   17. LAYOUT PAGINA METODO
   -------------------------------------------------------------- */
.feature-row { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-img { flex: 1; height: 400px; background-color: #eee; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.feature-text { flex: 1; text-align: left; }
.feature-number {
    display: inline-block; background: var(--ari-green); color: #fff; width: 40px; height: 40px;
    border-radius: 50%; text-align: center; line-height: 40px; font-weight: 800; margin-bottom: 1rem; font-size: 1.2rem;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.stat-card { background: #fff; padding: 2rem; border-radius: var(--radius); text-align: center; border: 2px solid #f0f0f0; transition: var(--transition); }
.stat-card:hover { border-color: var(--ari-green); transform: translateY(-5px); }
.stat-value { display: block; font-size: 3rem; font-weight: 900; color: #e53e3e; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 1.1rem; color: var(--ari-dark); font-weight: 700; }
@media (max-width: 900px) { .feature-row, .feature-row.reverse { flex-direction: column; gap: 2rem; margin-bottom: 4rem; } .feature-img { width: 100%; height: 300px; } .stats-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------
   18. BLOG & MAGAZINE LAYOUT
   -------------------------------------------------------------- */
.blog .site-main, .archive .site-main { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 3rem; padding: 4rem 2rem; max-width: 1280px; margin: 0 auto; }
.blog .type-post, .archive .type-post {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); border: 1px solid #f0f0f0; display: flex; flex-direction: column;
}
.blog .type-post:hover, .archive .type-post:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); border-color: var(--ari-green); }
.post-image img { width: 100%; height: 240px; object-fit: cover; transition: var(--transition); }
.blog .type-post:hover .post-image img { transform: scale(1.05); }
.entry-header { padding: 1.5rem 2rem 0 2rem; }
.entry-summary { padding: 0 2rem 2rem 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.entry-title { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.5rem; }
.entry-title a { color: var(--ari-dark); text-decoration: none; }
.entry-title a:hover { color: var(--ari-green); }
.entry-meta { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.cat-links a {
    background: var(--ari-green-deep); color: #fff; padding: 4px 12px; border-radius: 50px;
    font-size: 0.7rem; text-transform: uppercase; font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 10px;
}
.cat-links a:hover { background: var(--ari-gold); }
.read-more-button {
    margin-top: auto; color: var(--ari-green); font-weight: 700; text-transform: uppercase; font-size: 0.9rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.read-more-button::after { content: '→'; font-size: 1.2rem; }

/* 19. HEADER SPECIALE "ACADEMY" */
.blog .page-header, .archive .page-header { text-align: center; padding: 5rem 2rem; background-color: #f4f8f5; margin-bottom: 0; border-bottom: 1px solid #e5e7eb; }
.blog .page-title, .archive .page-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--ari-blue-deep); font-weight: 900; margin: 0; }
.blog .page-header .page-title::after {
    content: "Formazione e Cultura Zootecnica"; display: block; font-size: 1.1rem; font-weight: 600; color: var(--ari-green);
    margin-top: 15px; text-transform: uppercase; letter-spacing: 3px; font-family: system-ui, sans-serif;
}
.archive .page-title span { display: none; }

/* SINGLE POST */
.single-post .site-main { max-width: 800px; margin: 0 auto; background: #fff; padding: 0; }
.single-post .inside-article { padding: 4rem; border-radius: var(--radius); box-shadow: var(--shadow); margin: 4rem 0; }
.single-post .entry-title { font-size: 2.5rem; margin-bottom: 1rem; }
.single-post .entry-content { font-size: 1.15rem; line-height: 1.8; color: #333; }
.single-post .entry-content h2 { color: var(--ari-green-deep); margin-top: 3rem; font-size: 1.8rem; }

/* BOX AUTORE */
.author-box {
    background: #f9f9f9; padding: 2.5rem; border-radius: 16px;
    display: flex; align-items: center; gap: 30px; margin-top: 4rem; border-left: 6px solid var(--ari-green);
}
.author-avatar img { border-radius: 50%; width: 100px; height: 100px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.author-info h4 { margin: 0 0 8px 0; font-size: 1.4rem; color: var(--ari-dark); }
.author-label { display: block; text-transform: uppercase; font-size: 0.8rem; color: #999; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; }
.author-bio { font-size: 1rem; color: #555; margin: 0; line-height: 1.6; }

@media (max-width: 768px) {
    .blog .site-main { grid-template-columns: 1fr; padding: 2rem 1rem; }
    .single-post .inside-article { padding: 2rem 1.5rem; margin: 2rem 0; }
    .single-post .entry-title { font-size: 2rem; }
    .author-box { flex-direction: column; text-align: center; gap: 15px; }
}

/* ==========================================================================
   OTTIMIZZAZIONE LAPTOP E SCHERMI MEDI (Max 1366px)
   ========================================================================== */
@media (max-width: 1366px) {
    .section, .section-lg { padding: 1rem 0; }
    .l-container { padding: 2rem 1.2rem; } 
    .grid-3, .elements-grid { gap: 2rem 1rem; } 
    .calcolatore-inner { padding: 2rem 1rem; max-width: 950px; }
    .calcolatore-inner input { height: 70px !important; font-size: 1.4rem !important; border-radius: 20px; }
    .calcolatore-inner button { min-height: 70px !important; font-size: 1.4rem !important; padding: 0 2rem; margin-top: 10px; }
    .calcolatore-inner h2 { margin-bottom: 1rem; }
    .card, .card-arienti, .tech-card, .step-card, .video-card { padding: 1rem 1rem; }
    .tech-card-img, .video-thumb { height: 200px; }
    .step-icon { width: 50px; height: 50px; top: -25px; left: 20px; }
    .step-icon svg { width: 24px; height: 24px; }
    h1, .h1 { font-size: 3rem; } h2, .h2 { font-size: 2.2rem; } .text-mega { font-size: 3rem !important; }
    .btn-action { width: 100%; font-size: 1.1rem; padding: 1rem 1.5rem; }
}
/* ==========================================================================
   DESIGN RISULTATI CALCOLATORE (PREMIUM & ANIMATED)
   ========================================================================== */

/* Contenitore Risultati */
.calc-result-wrapper {
    margin-top: 3rem;
    perspective: 1000px; /* Per effetti 3D sottili */
}

/* 1. Box PERDITA (Rosso) */
.calc-box-loss {
    background-color: #FEF2F2; /* Rosso chiarissimo */
    border: 2px solid #FECACA;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    animation: slideDownFade 0.6s ease-out forwards;
}

.calc-box-loss::before {
    content: "⚠️";
    position: absolute;
    top: -10px; right: -10px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(15deg);
    pointer-events: none;
}

/* 2. Freccia Animata */
.calc-arrow-divider {
    font-size: 3rem;
    color: #CBD5E1;
    margin: 1rem 0;
    display: block;
    animation: bounceArrow 2s infinite;
}

/* 3. Box GUADAGNO (Verde - Hero) */
.calc-box-gain {
    background: #fff;
    border-radius: 30px;
    padding: 3.5rem 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(17, 167, 79, 0.15); /* Ombra verde diffusa */
    border: 4px solid var(--ari-green);
    overflow: hidden;
    transform-origin: center top;
    animation: scaleUpFade 0.6s ease-out 0.3s forwards; /* Ritardo di 0.3s */
    opacity: 0; /* Parte invisibile per l'animazione */
}

/* Effetto luce verde in alto */
.calc-box-gain::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: var(--ari-green);
}

/* Tipografia Numeri */
.calc-number-loss {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #DC2626;
    line-height: 1.1;
    margin: 10px 0;
}

.calc-number-gain {
    font-size: clamp(3.5rem, 6vw, 5rem); /* Gigante */
    font-weight: 900;
    color: var(--ari-green);
    line-height: 1;
    margin: 15px 0 30px 0;
    text-shadow: 0 4px 10px rgba(17, 167, 79, 0.1);
}

/* Etichette */
.calc-label-sm {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748B;
}

/* ANIMAZIONI (Keyframes) */
@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUpFade {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive per mobile */
@media (max-width: 600px) {
    .calc-box-gain { padding: 2.5rem 1.5rem; }
    .calc-number-loss { font-size: 2.2rem; }
    .calc-number-gain { font-size: 3rem; }
}
.ctaj{
	margin: 1rem 0;
}
/* ARIENTI BLOG */
.single-post .site-main {
    max-width: 1300px;
    margin: 0 auto;
    background: #fff;
    padding: 0;
}
.single-post .entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    padding: 1.5rem;
}
.full-width-content.no-sidebar.separate-containers .site-main{margin: 0 auto;}
/* Stile per l'intera sezione Hero per assicurare il posizionamento */
.hero-wrapper {
    position: relative; /* Base per l'overlay */
    /* Assicurati che il background-image sia già definito inline o via altra classe */
    min-height: 450px; 
    padding: 100px 0; 
}

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

/* CONTENUTO  */
.hero-content {
    position: relative;
    z-index: 2; 
    color: white; 
    text-align: center;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); 
}
/* Override h1/h2 */
.hero-content .hero-h1,
.hero-content .hero-h2 {
    color: white;
}
/* (ARIENTI AIR SYSTEMS) risalti */
.hero-content span {
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.7);
}
/* btn primary  */
a.gb-button-primary {
    background-color: var(--ari-green);
    color: white;
}

/* =========================================
   UTILITY BRIDGE (Sostituisce Tailwind)
   ========================================= */

/* Layout & Grid */
.l-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.grid-cols-1 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .flex-row { flex-direction: row !important; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flexbox Helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }

/* Spaziatura & Testo */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }

.w-full { width: 100%; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }

/* Tipografia Utility */
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-gray-600 { color: #4b5563; }
.text-gray-800 { color: #1f2937; }
.text-green { color: var(--ari-green); }
.text-gold { color: var(--ari-gold); }

/* Input Styles */
.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}
.input-field:focus {
    border-color: var(--ari-green);
    outline: none;
}

/* Tech Cards Styling */
.tech-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s;
}
.tech-card:hover { transform: translateY(-5px); }
.tech-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.tech-tag {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}
.tech-content { padding: 20px; }
.tech-content h3 { margin-top: 0; color: var(--ari-dark); }
.tech-list { padding-left: 20px; margin-bottom: 20px; color: #555; font-size: 0.9rem; }
.tech-link { color: var(--ari-green); font-weight: bold; text-decoration: none; }

/* Video Cards Styling */
.video-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.video-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.play-btn {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.1); }
.play-icon-shape {
    width: 0; height: 0;
    border-left: 12px solid var(--ari-green);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
}
.video-content { padding: 20px; }
.video-quote { font-style: italic; color: #333; margin-bottom: 15px; }
.farmer-info h4 { margin: 0; font-size: 1rem; color: var(--ari-green-deep); }
.farmer-info span { font-size: 0.85rem; color: #888; }

/* --- CASE STUDIES (VIDEO STYLE) --- */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cs-card {
    position: relative;
    height: 420px; /* Un po' più alta per dare respiro */
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    background: #000; /* Sfondo nero di base per i video */
}
.cs-card:hover { transform: translateY(-8px); }

/* Background Immagine */
.cs-card-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 0.6s ease, opacity 0.3s ease;
    opacity: 0.8; /* Leggermente scura per far risaltare il testo */
}
.cs-card:hover .cs-card-bg { transform: scale(1.05); opacity: 0.6; }

/* Overlay sfumato dal basso (per leggere i testi) */
.cs-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

/* PLAY BUTTON CENTRALE (Nuovo!) */
.cs-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.2);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}
.cs-play-shape {
    width: 0; height: 0;
    border-left: 18px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}
.cs-card:hover .cs-play-btn {
    background: var(--ari-green);
    border-color: var(--ari-green);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Layout Contenuto */
.cs-card-content {
    position: relative; z-index: 3;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Badge "Power Words" (ex KPI) */
.cs-kpi-badge {
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    align-self: flex-start;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-left: 4px solid var(--ari-green);
}

.cs-kpi-value {
    font-size: 1.1rem; /* Font ridotto per ospitare testo */
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ari-dark);
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.cs-kpi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #666;
    margin-top: 4px;
}

/* Info in basso */
.cs-info { color: #fff; transform: translateY(0); transition: transform 0.3s; }
.cs-card:hover .cs-info { transform: translateY(-5px); }

.cs-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #fff;
    line-height: 1.2;
}
.cs-location {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex; align-items: center; gap: 6px;
}

/* Final CTA */
.final-cta-arienti {
    background: var(--ari-dark);
    padding: 80px 20px;
    color: #fff;
}
/* FIX LAYOUT ELEMENTS ACF */
.l-section--elements {
    padding: 80px 0;
    background-color: var(--ari-bg);
}

.c-grid-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Style Arienti */
.c-card-solution {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 6px solid var(--ari-green);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.c-card-solution--aria { border-top-color: var(--ari-green); }
.c-card-solution--acqua { border-top-color: var(--ari-gold); }
.c-card-solution--dati { border-top-color: var(--ari-dark); }

.c-card-solution__icon img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.c-card-solution__title {
    font-size: 1.8rem;
    color: var(--ari-dark);
    margin-bottom: 10px;
}

.c-card-solution__list {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
    color: #555;
}

.c-card-solution__cta {
    margin-top: auto;
    padding-top: 20px;
}
/* --- AGGIUNTA AL BRIDGE Pagina Elements --- */
.max-w-3xl { max-width: 48rem; } /* circa 768px */
.max-w-4xl { max-width: 56rem; } /* circa 896px */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Opacità e Font */
.opacity-90 { opacity: 0.9; }
.font-light { font-weight: 300; }

/* Spaziature Extra */
.mt-2 { margin-top: 0.5rem; }

/* Fix immagine SVG inline */
img[src$=".svg"] { max-width: 100%; height: auto; }
img.footer-logo {
    width: 69%;
}

/* ==========================================================================
   FIX LOGO FOOTER (Centratura e Ridimensionamento)
   ========================================================================== */

.footer-col-logo {
    text-align: center !important; /* Assicura che tutto il blocco sia centrato */
}

img.footer-logo {
    display: block !important;
    margin: 0 auto 20px auto !important; /* Centra orizzontalmente e dà spazio sotto */
    max-width: 220px !important; /* Dimensione ideale. Puoi aumentare o diminuire questo numero */
    width: 100% !important; /* Sovrascrive il fastidioso 69% */
    height: auto !important;
}
/* ==========================================================================
   AGGIUNTA: FIX SOTTOMENU DESKTOP (Colori e Layout Verticale)
   ========================================================================== */

@media (min-width: 1251px) {
    /* 1. Contenitore a tendina: lo facciamo a colonna e verde */
    .main-navigation .main-nav > ul > li > ul.sub-menu {
        flex-direction: column !important; /* Ripristina l'allineamento verticale */
        height: auto !important; /* Annulla gli 80px ereditati dalla barra principale */
        background-color: var(--ari-green) !important; /* Sfondo verde per far brillare il bianco */
        width: 220px !important; /* Larghezza ideale per la tendina */
        padding: 10px 0 !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important; /* Ombra elegante per staccarlo dal fondo */
        border-top: 2px solid rgba(255,255,255,0.1); /* Sottile linea di separazione visiva */
    }

    /* 2. Voci della tendina */
    .main-navigation .main-nav > ul > li > ul.sub-menu > li {
        width: 100% !important;
    }

    /* 3. Testo dei link nella tendina */
    .main-navigation .main-nav > ul > li > ul.sub-menu > li > a {
        padding: 12px 20px !important;
        color: #ffffff !important;
        font-size: 14px !important;
        text-transform: none !important; /* Nel sottomenu il minuscolo è molto più leggibile ed elegante */
        font-weight: 500 !important;
        line-height: 1.4 !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }

    /* 4. Effetto Hover: scurisce leggermente la riga quando ci passi sopra col mouse */
    .main-navigation .main-nav > ul > li > ul.sub-menu > li > a:hover {
        background-color: rgba(0,0,0,0.15) !important; 
        color: #ffffff !important;
    }
}
/* ==========================================================================
   STILE E VISIBILITÀ TIMELINE (PAGINA CHI SIAMO / ABOUT US)
   ========================================================================== */

.timeline-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 3px solid var(--ari-green); /* Crea la linea verticale verde */
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 20px;
}

/* Fix per far comparire l'anno in modo evidente */
.timeline-year {
    display: inline-block !important;
    visibility: visible !important;
    background-color: var(--ari-green) !important; /* Sfondo verde */
    color: #ffffff !important; /* Testo bianco forzato */
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    padding: 6px 18px !important;
    border-radius: 50px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Il "pallino" che collega l'anno alla linea verticale */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px; /* Lo posiziona esattamente sopra la linea verde */
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 4px solid var(--ari-green);
    border-radius: 50%;
    z-index: 2;
}

/* Stile per il contenuto del testo */
.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}
/* ==========================================================================
   STILE GRIGLIA ARTICOLI (ACADEMY & CASI STUDIO)
   ========================================================================== */

/* 1. Spaziatura generale della griglia */
ul.wp-block-post-template {
    gap: 30px !important;
    margin-top: 50px !important;
    margin-bottom: 70px !important;
}

/* 2. La Singola Card del Caso Studio */
ul.wp-block-post-template li.wp-block-post {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); /* Ombra leggerissima ed elegante */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%; /* Allinea tutte le card alla stessa altezza */
}

/* Effetto Hover: la card si solleva verso l'alto */
ul.wp-block-post-template li.wp-block-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* 3. Immagine in evidenza */
.wp-block-post-featured-image {
    margin: 0 !important;
}

.wp-block-post-featured-image img {
    width: 100%;
    height: 220px; /* Uniforma l'altezza di tutte le foto */
    object-fit: cover; /* Taglia la foto in modo perfetto senza schiacciarla */
    border-radius: 0 !important;
}

/* 4. Titolo dell'articolo */
.wp-block-post-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 25px 25px 10px 25px !important;
}

.wp-block-post-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* Il titolo diventa verde al passaggio del mouse */
.wp-block-post-title a:hover {
    color: var(--ari-green) !important;
}

/* 5. Testo / Estratto dell'articolo */
.wp-block-post-excerpt {
    margin: 0 25px 25px 25px !important;
    color: #666666 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    flex-grow: 1; /* Spinge eventuale link in basso */
}

/* 6. Link "Leggi di più" (se lo attivi nel blocco) */
.wp-block-post-excerpt__more-text {
    display: inline-block;
    margin-top: 15px;
    color: var(--ari-green) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.wp-block-post-excerpt__more-text:hover {
    color: #333333 !important;
}
/* ==========================================================================
   STILE GRIGLIA ARTICOLI (ACADEMY & CASI STUDIO)
   ========================================================================== */

/* 1. Spaziatura generale della griglia */
ul.wp-block-post-template {
    gap: 30px !important;
    margin-top: 50px !important;
    margin-bottom: 70px !important;
}

/* 2. La Singola Card del Caso Studio */
ul.wp-block-post-template li.wp-block-post {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); /* Ombra leggerissima ed elegante */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%; /* Allinea tutte le card alla stessa altezza */
}

/* Effetto Hover: la card si solleva verso l'alto */
ul.wp-block-post-template li.wp-block-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* 3. Immagine in evidenza */
.wp-block-post-featured-image {
    margin: 0 !important;
}

.wp-block-post-featured-image img {
    width: 100%;
    height: 220px; /* Uniforma l'altezza di tutte le foto */
    object-fit: cover; /* Taglia la foto in modo perfetto senza schiacciarla */
    border-radius: 0 !important;
}

/* 4. Titolo dell'articolo */
.wp-block-post-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 25px 25px 10px 25px !important;
}

.wp-block-post-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* Il titolo diventa verde al passaggio del mouse */
.wp-block-post-title a:hover {
    color: var(--ari-green) !important;
}

/* 5. Testo / Estratto dell'articolo */
.wp-block-post-excerpt {
    margin: 0 25px 25px 25px !important;
    color: #666666 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    flex-grow: 1; /* Spinge eventuale link in basso */
}

/* 6. Link "Leggi di più" (se lo attivi nel blocco) */
.wp-block-post-excerpt__more-text {
    display: inline-block;
    margin-top: 15px;
    color: var(--ari-green) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.wp-block-post-excerpt__more-text:hover {
    color: #333333 !important;
}
/* ==========================================================================
   FIX IMMAGINI "COME LAVORIAMO" SU MOBILE
   ========================================================================== */

/* Regole base per far apparire bene l'immagine di sfondo */
.feature-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Regole specifiche per Smartphone e Tablet */
@media (max-width: 768px) {
    .feature-row, 
    .feature-row.reverse {
        display: flex;
        flex-direction: column !important; /* Incolonna gli elementi */
        gap: 20px; /* Spazio tra immagine e testo */
        margin-bottom: 50px !important;
    }

    .feature-img {
        width: 100% !important;
        min-height: 250px !important; /* FORZA L'ALTEZZA DELL'IMMAGINE SU MOBILE */
        border-radius: 12px; /* Dà un bell'effetto arrotondato (opzionale) */
    }
}
/* ==========================================================================
   STILE MODULO LOGIN (AREA RISERVATA)
   ========================================================================== */

/* 1. Il contenitore bianco del modulo */
.login-form {
    max-width: 420px;
    margin: 0 auto 60px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Ombra elegante */
    border: 1px solid #eaeaea;
}

/* 2. Etichette (Nome Utente / Password) */
.login-form label {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    font-size: 15px;
}

/* 3. Campi di testo */
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Effetto Focus: quando l'utente clicca per scrivere */
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: var(--ari-green);
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(96, 179, 71, 0.15); /* Sostituisci l'RGB col tuo verde se serve */
}

/* 4. Spunta "Ricordami" */
.login-remember {
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.login-remember input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: var(--ari-green); /* Colora la spunta di verde */
    cursor: pointer;
}

/* 5. Il mega bottone "Accedi" */
.login-submit input[type="submit"] {
    width: 100%;
    background-color: var(--ari-green);
    color: #ffffff;
    padding: 16px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 1px;
}
/* Effetto Hover sul bottone */
.login-submit input[type="submit"]:hover {
    background-color: #0b2d42;
	transform: translateY(-2px); 
}
/* ==========================================================================
   OTTIMIZZAZIONE ARTICOLI BLOG E DISTANZA HEADER
   ========================================================================== */

/* 1. Crea la giusta distanza dall'header per gli articoli */
body.single-post .site-content, 
body.single-post #content,
body.single-post .site-main {
    padding-top: 120px !important; /* Aumenta questo valore se l'header è molto alto */
}

/* 2. Larghezza ottimale per la lettura (Desktop) */
body.single-post .entry-content {
    max-width: 800px !important; /* Evita righe di testo troppo lunghe e faticose da leggere */
    margin: 0 auto; 
    line-height: 1.8;
    font-size: 1.15rem;
    color: #333333;
}

/* 3. Evidenziazione dei titoli interni nell'articolo */
body.single-post .entry-content h2,
body.single-post .entry-content h3 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: #0b2d42; /* Blu scuro per i titoli per mantenere eleganza */
}

/* ==========================================================================
   OTTIMIZZAZIONE MOBILE (Smartphone e Tablet)
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Distanza header ridotta su mobile e margini laterali di sicurezza */
    body.single-post .site-content, 
    body.single-post #content,
    body.single-post .site-main {
        padding-top: 100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Ridimensionamento font per migliorare la lettura su schermi piccoli */
    body.single-post .entry-content {
        font-size: 1.05rem; 
        line-height: 1.6;
    }

    /* Ridimensionamento dinamico dei Titoli principali (H1) e secondari (H2) */
    body.single-post .entry-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    body.single-post .entry-content h2 {
        font-size: 1.5rem;
    }

    /* Evita che immagini o tabelle sbordino dallo schermo dello smartphone */
    body.single-post .entry-content img,
    body.single-post .entry-content figure,
    body.single-post .entry-content table {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }
    
    /* Forza l'allineamento a sinistra del testo per evitare "buchi" fastidiosi se era giustificato */
    body.single-post .entry-content p {
        text-align: left !important; 
    }
}

/* ==========================================================================
   STILE PAGINA PRIVACY E COOKIE POLICY (LAYOUT FULL WIDTH)
   ========================================================================== */

/* Contenitore principale centrato */
.ari-legal-page {
    max-width: 800px; /* Misura ideale per la lettura a monitor */
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: #333333;
}

/* Intestazione */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ari-green);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* Box Indice */
.legal-index {
    background-color: #f4f7f6;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--ari-green);
}

.legal-index strong {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.legal-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-index li {
    margin-bottom: 10px;
}

.legal-index a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-index a:hover {
    color: var(--ari-green);
    text-decoration: underline;
}

/* Stile Contenuto Legale */
.legal-content h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: #444;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    line-height: 1.7;
    margin-bottom: 10px;
}

/* ==========================================================================
   STILE PAGINE LEGALI (PRIVACY E COOKIE POLICY - FULL WIDTH)
   ========================================================================== */

/* Contenitore principale centrato per la lettura */
.ari-legal-page {
    max-width: 800px; 
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: #333333;
}

/* Intestazione principale */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ari-green);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.legal-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Box Indice cliccabile */
.legal-index {
    background-color: #f4f7f6;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--ari-green);
}

.legal-index strong {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #0b2d42;
}

.legal-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-index li {
    margin-bottom: 10px;
}

.legal-index a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-index a:hover {
    color: var(--ari-green);
    text-decoration: underline;
}

/* Formattazione Testo e Titoli */
.legal-content h2 {
    font-size: 1.8rem;
    color: #0b2d42;
    margin-top: 50px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 1.05rem;
}