
        /* --- HERO SEAMLESS --- */
        body:not([data-aos-easing]) [data-aos] {
            opacity: 1 !important;
            transform: none !important; 
        }

        .focus-hero { padding: 0 0 30px; }
        .focus-lead { max-width: 850px; }

        .section-tag { font-family: var(--font-main); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 6px; color: var(--primary); margin-bottom: 25px; display: block; }

        /* --- NEWS GRID PRESTIGE --- */
        .news-grid-section { padding: 40px 0 0px; }

        /* CARD REDESIGN */
.article-card {
    background: white; border-radius: var(--border-radius); overflow: hidden;
    border: 1px solid var(--border); transition: var(--transition);
    height: 100%; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    cursor: pointer;
}

        .article-card:hover {
            transform: translateY(-20px);
            border-color: var(--primary-soft);
            box-shadow: 0 25px 50px rgba(0,174,239,0.12);
        }

        .article-img-box {
            position: relative; width: 100%; aspect-ratio: 16/10;
            overflow: hidden; background: #f4f4f4;
        }
        .article-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 2s cubic-bezier(0.165, 0.84, 0.44, 1); }
        .article-card:hover .article-img-box img { transform: scale(1.1); }

        /* Badge minimalista */
.article-badge {
    position: absolute; top: 20px; left: 20px; z-index: 5;
    display: inline-flex; align-items: center; width: fit-content;
    padding: 5px 12px; border: 1px solid rgba(0,174,239,.16);
    border-radius: 999px; background: rgba(0,174,239,.08);
    color: var(--primary); font-size: .62rem; font-weight: 800;
    letter-spacing: 1.3px; line-height: 1; text-transform: uppercase;
    transition: all .3s ease;
}
.article-card:hover .article-badge {
    background: rgba(0,174,239,.14);
    border-color: rgba(0,174,239,.26);
    transform: translateY(-1px);
}

        .article-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }

        .article-meta {
            display: flex; align-items: center; gap: 15px;
            font-size: 0.75rem; color: var(--gray-light);
            font-weight: 600; margin-bottom: 20px;
            text-transform: uppercase; letter-spacing: 1px;
        }
        .article-meta i { color: var(--primary); font-size: 0.9rem; }

        .article-title {
            font-size: 1.5rem; font-weight: 800; color: var(--dark);
            line-height: 1.25; margin-bottom: 25px; transition: 0.4s;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .article-card:hover .article-title { color: var(--primary); }

        .article-excerpt {
            font-size: 0.95rem; color: var(--gray); line-height: 1.7;
            margin-bottom: 35px; flex-grow: 1; opacity: 0.8;
        }

        .btn-read-more {
            font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
            letter-spacing: 2px; color: var(--dark); display: inline-flex;
            align-items: center; gap: 12px; transition: 0.4s;
            padding-top: 20px; border-top: 1px solid var(--border);
        }
        .btn-read-more i { color: var(--primary); transition: 0.4s; }
        .article-card:hover .btn-read-more { color: var(--primary); }
        .article-card:hover .btn-read-more i { transform: translateX(10px); }

        /* --- PAGINATION ELITE --- */
        .pagination-container { margin-top: 100px; }
        .pagination-list { display: flex; justify-content: center; align-items: center; gap: 12px; list-style: none; padding: 0; }
        .page-link-elite {
            width: 55px; height: 55px; border-radius: 18px; border: 1px solid var(--border);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.95rem; font-weight: 700; color: var(--gray);
            transition: var(--transition); background: white;
        }
        .page-link-elite:hover, .page-link-elite.active {
            background: var(--primary); color: white; border-color: var(--primary);
        }
        .page-link-elite.arrow { font-size: 1.3rem; }

        @media (max-width: 991px) {
            .section-padding { padding: 80px 0; }
            .article-body { padding: 35px; }
            .article-title { font-size: 1.3rem; }
        }

      .main-title {
          font-size: clamp(2rem, 5vw, 3.2rem);
          line-height: 1.1;
          font-weight: 900;
          margin-bottom: 20px;
      }

      .highlight-scratch {
          position: relative;
          display: inline;
          z-index: 1;
          padding: 0 0.08em;
          background-image: linear-gradient(104deg, transparent 0.08em, var(--highlight) 0.08em calc(100% - 0.08em), transparent calc(100% - 0.08em));
          background-repeat: no-repeat;
          background-position: 0 88%;
          background-size: 100% 0.42em;
          -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
      }

      .highlight-scratch::after {
          content: none;
      }

      .meta-status-bar {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          gap: 20px;
          padding-bottom: 15px;
          border-bottom: 1px solid var(--border);
      }

      .meta-pill {
          font-size: 0.65rem;
          font-weight: 800;
          text-transform: uppercase;
          color: var(--gray-med);
          display: flex;
          align-items: center;
          gap: 6px;
      }

      .meta-pill i {
          color: var(--primary);
          font-size: 1rem;
      }

      .cat-tag {
          background: var(--primary);
          color: white;
          padding: 3px 12px;
          border-radius: 50px;
          font-size: 0.58rem;
          font-weight: 800;
      }

      /* --- CONTENT WRAPPER --- */
      .cover-frame {
          border-radius: var(--radius-md);
          overflow: hidden;
          box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
          margin: 40px 0px 70px 0px;
      }

      .cover-img {
          width: 100%;
          height: 550px;
          object-fit: cover;
          transition: 5s ease;
          border-radius: var(--border-radius);
      }

      /* --- LAYOUT GRID --- */
      .content-main-grid {
          display: grid;
          grid-template-columns: 1fr 340px;
          gap: 50px;
          align-items: start;
      }

      /* Colonna Sinistra (Articolo) */
      .article-lead {
          font-size: 1.35rem;
          font-weight: 700;
          color: var(--dark);
          line-height: 1.5;
          margin-bottom: 35px;
          border-left: 5px solid var(--primary);
          padding-left: 25px;
      }

      /* =====================================================
         TESTO ARTICOLO
      ===================================================== */

      .body-text {
          font-size: 1.12rem;
          line-height: 1.8;
          color: var(--gray-deep);
      }

      /* TITOLI */
      .body-text h2 {
          font-size: 2rem;
          margin: 60px 0 30px;
          padding-bottom: 10px;
          border-bottom: 2px solid var(--border);
          scroll-margin-top: 100px;
      }

      /* CITAZIONI */
      .body-text blockquote {
          padding: 35px;
          background: var(--primary-soft);
          border-radius: 16px;
          border-left: 8px solid var(--primary);
          font-style: italic;
          font-size: 1.3rem;
          color: var(--dark);
          margin: 40px 0;
      }

      /* =====================================================
         LISTE EDITORIALI ARTICOLO
      ===================================================== */

      /* UL */
      .body-text > ul {
          list-style: none;
          padding-left: 0;
          margin: 30px 0;
      }

      .body-text > ul > li {
          position: relative;
          padding-left: 28px;
          margin-bottom: 14px;
          font-weight: 500;
      }

      /* ICONA LISTA ARTICOLO */
      .body-text > ul > li::before {
          content: "\F285"; /* bi-chevron-right */
          font-family: "bootstrap-icons";
          position: absolute;
          left: 0;
          top: 0.45em;
          font-size: 0.75rem;
          color: var(--primary);
      }

      /* OL */
      .body-text > ol {
          padding-left: 22px;
          margin: 30px 0;
      }

      .body-text > ol > li {
          margin-bottom: 14px;
          font-weight: 600;
      }

      /* =====================================================
         SOMMARIO / TOC (ISOLATO)
      ===================================================== */

      .toc-box,
      .sommario {
          background: var(--bg-ice);
          border: 1px solid var(--border);
          border-radius: 16px;
          padding: 25px;
          margin-bottom: 40px;
      }

      /* TITOLO SOMMARIO */
      .toc-title,
      .sommario h2 {
          font-size: 0.9rem;
          font-weight: 900;
          text-transform: uppercase;
          color: var(--primary);
          letter-spacing: 2px;
          margin-bottom: 15px;
          display: block;
          margin-top:0px;
      }

      /* LISTA SOMMARIO */
      .toc-list,
      .sommario ul {
          list-style: none;
          padding: 0;
          margin: 0;
          counter-reset: toc-counter;
      }

      /* ITEM SOMMARIO */
      .toc-list li,
      .sommario li {
          margin-bottom: 8px;
          padding-left: 0;
          border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
          padding-bottom: 8px;
      }

      .toc-list li:last-child,
      .sommario li:last-child {
          border: none;
          padding-bottom: 0;
      }

      /* LINK SOMMARIO */
      .toc-list a,
      .sommario a {
          position: relative;
          display: flex;
          align-items: center;
          font-size: 0.9rem;
          font-weight: 700;
          color: var(--dark);
          text-decoration: none;
          padding-left: 48px; /* icona + numero */
          transition: color 0.3s ease;
      }

      /* ICONA SOMMARIO (PRIMA) */
      .toc-list a::before,
      .sommario a::before {
          content: "\F285"; /* bi-chevron-right */
          font-family: "bootstrap-icons";
          position: absolute;
          left: 0;
          top: 50%;
          transform: translateY(-50%);
          font-size: 0.65rem;
          color: var(--primary);
          transition: transform 0.3s ease;
      }

      /* NUMERO SOMMARIO (DOPO ICONA) */
      .toc-list a::after,
      .sommario a::after {
          counter-increment: toc-counter;
          content: counter(toc-counter) ".";
          position: absolute;
          left: 18px;
          top: 50%;
          transform: translateY(-50%);
          font-size: 0.75rem;
          font-weight: 900;
          color: var(--primary);
      }

      /* HOVER SOMMARIO */
      .toc-list a:hover,
      .sommario a:hover {
          color: var(--primary);
      }

      .toc-list a:hover::before,
      .sommario a:hover::before {
          transform: translate(4px, -50%);
      }

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

      @media (max-width: 768px) {
          .body-text {
              font-size: 1.05rem;
          }

          .body-text h2 {
              font-size: 1.6rem;
          }
      }


      /* Footer dell'articolo */
      .post-finish-line {
          margin-top: 60px;
          padding-top: 40px;
          border-top: 1px solid var(--border);
      }

      .tags-list {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          margin-bottom: 40px;
      }

      .tag-pill {
          background: var(--gray-xlight);
          color: var(--gray-med);
          padding: 5px 15px;
          border-radius: 50px;
          font-size: 0.72rem;
          font-weight: 700;
      }

      .tag-pill:hover {
          background: var(--primary);
          color: #fff;
          transform: translateY(-2px);
      }

      .share-row {
          display: flex;
          align-items: center;
          gap: 15px;
          margin-bottom: 40px;
      }

      .share-btn {
          width: 38px;
          height: 38px;
          border-radius: 50%;
          border: 1px solid var(--border);
          display: flex;
          align-items: center;
          justify-content: center;
          transition: 0.3s;
          color: var(--gray-med);
      }

      .share-btn:hover {
          background: var(--primary);
          color: #fff;
          border-color: var(--primary);
          transform: translateY(-3px);
      }

      /* AUTHOR BOX SIGNATURE */
      .author-card-signature {
          background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
          border: 1px solid rgba(0,0,0,.06);
          border-radius: 24px;
          padding: 38px 40px;
          display: flex;
          gap: 28px;
          align-items: flex-start;
          box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
          position: relative;
          overflow: hidden;
      }

      .author-card-signature::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 6px;
          height: 100%;
          background: linear-gradient(180deg, var(--primary) 0%, rgba(0,174,239,.35) 100%);
      }

      .author-avatar-box {
          position: relative;
          flex-shrink: 0;
          padding-top: 4px;
      }

      .author-img {
          width: 120px;
          height: 120px;
          border-radius: 50%;
          object-fit: cover;
          border: 6px solid var(--gray-xlight);
          box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
      }

      .author-verify {
          position: absolute;
          bottom: 8px;
          right: 8px;
          background: var(--primary);
          color: #fff;
          width: 26px;
          height: 26px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          border: 3px solid #fff;
          font-size: 0.7rem;
          box-shadow: 0 6px 14px rgba(0,174,239,.25);
      }

      .author-info {
          position: relative;
          z-index: 1;
      }

      .author-name {
          font-size: 1.8rem;
          font-weight: 800;
          line-height: 1.1;
          margin-bottom: 14px;
          color: var(--dark);
      }

      .author-role {
          display: inline-flex;
          align-items: center;
          width: fit-content;
          padding: 6px 12px;
          margin-bottom: 14px;
          border-radius: 999px;
          background: rgba(0,174,239,.08);
          color: var(--primary);
          font-size: 0.66rem;
          font-weight: 800;
          text-transform: uppercase;
          letter-spacing: 1.4px;
          line-height: 1;
      }

      .author-quote {
          position: relative;
          margin: 0 0 16px;
          padding: 0 0 0 18px;
          border-left: 3px solid rgba(0,174,239,.28);
          color: var(--dark);
          font-size: 1.05rem;
          font-style: italic;
          line-height: 1.65;
      }

      .author-quote::before {
          content: "“";
          position: absolute;
          left: -2px;
          top: -14px;
          color: var(--primary);
          font-family: var(--font-main);
          font-size: 2.25rem;
          line-height: 1;
      }

      .author-bio {
          max-width: 62ch;
          font-size: 0.98rem;
          color: var(--gray-med);
          line-height: 1.7;
      }

      .author-links {
          display: flex;
          gap: 20px;
      }

      .author-links a {
          font-size: 0.8rem;
          font-weight: 800;
          text-transform: uppercase;
          color: var(--dark);
          display: flex;
          align-items: center;
          gap: 8px;
      }

      .author-links a:hover {
          color: var(--primary);
      }

      /* --- SIDEBAR REFINED --- */
      .sidebar-sticky {
          position: sticky;
          top: 100px;
      }

      .widget-block {
          background: #fff;
          border: 1px solid var(--border);
          border-radius: 20px;
          padding: 25px;
          margin-bottom: 25px;
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
      }

      .widget-h {
          font-size: 0.72rem;
          font-weight: 900;
          text-transform: uppercase;
          letter-spacing: 2px;
          color: var(--dark);
          margin-bottom: 20px;
          display: block;
      }

      /* Categories Sidebar */
      .cat-sidebar-list {
          list-style: none;
          padding: 0;
          margin: 0;
      }

      .cat-sidebar-list li {
          margin-bottom: 5px;
      }

      .cat-sidebar-list a {
          display: flex;
          justify-content: space-between;
          align-items: center;
          font-size: 0.88rem;
          font-weight: 600;
          color: var(--gray-med);
          padding: 12px 0;
          border-bottom: 1px solid var(--gray-xlight);
          transition: var(--transition);
      }

      .cat-sidebar-list li:last-child a {
          border-bottom: none;
      }

      .cat-sidebar-list a:hover {
          color: var(--primary);
          padding-left: 10px;
      }

      .cat-num {
          font-size: 0.62rem;
          font-weight: 800;
          color: var(--gray-med);
          border: 1px solid var(--gray-xlight);
          padding: 2px 8px;
          border-radius: 50px;
          background: transparent;
      }

      .cat-sidebar-list a:hover .cat-num {
          color: var(--primary);
          border-color: var(--gray-xlight);
          background: var(--primary-soft);
      }


      /* Tabbed Widget */
      .tab-controls {
          display: flex;
          gap: 5px;
          background: var(--gray-xlight);
          padding: 4px;
          border-radius: 12px;
          margin-bottom: 25px;
      }

      .tab-trigger {
          flex: 1;
          border: none;
          background: transparent;
          padding: 10px;
          font-size: 0.62rem;
          font-weight: 800;
          text-transform: uppercase;
          color: var(--gray-med);
          border-radius: 9px;
          transition: 0.3s;
      }

      .tab-trigger.active {
          background: #fff;
          color: var(--primary);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      }

      .pane-item {
          display: none;
          animation: fadeIn 0.4s ease;
      }

      .pane-item.active {
          display: block;
      }

      @keyframes fadeIn {
          from {
              opacity: 0;
              transform: translateY(5px);
          }

          to {
              opacity: 1;
              transform: translateY(0);
          }
      }

      .mini-post {
          display: flex;
          gap: 15px;
          margin-bottom: 20px;
          align-items: center;
          transition: 0.3s;
          padding-bottom: 15px;
          border-bottom: 1px solid var(--bg-ice);
      }

      .mini-post:last-child {
          margin-bottom: 0;
          border: none;
          padding-bottom: 0;
      }

      .mini-post:hover {
          transform: translateX(5px);
      }

      .mini-thumb {
          width: 65px;
          height: 65px;
          border-radius: 12px;
          object-fit: cover;
          flex-shrink: 0;
          background: #eee;
      }

      .mini-title {
          font-size: 0.88rem;
          font-weight: 700;
          line-height: 1.35;
          color: var(--dark);
          display: block;
          margin-bottom: 5px;
          transition: 0.3s;
      }

      .mini-post:hover .mini-title {
          color: var(--primary);
      }
      @media (max-width: 768px) {

    .author-card-signature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
        background: var(--bg-ice);
        border: 1px solid var(--border);
    }

    .author-card-signature::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .author-avatar-box {
        margin-bottom: 10px;
    }

    .author-img {
        width: 100px;
        height: 100px;
    }

    .author-name {
        font-size: 1.4rem;
    }

    .author-role {
        margin-bottom: 12px;
    }

    .author-quote {
        font-size: 0.95rem;
        padding-left: 0;
        border-left: 0;
        text-align: center;
    }

    .author-quote::before {
        position: static;
        display: block;
        margin-bottom: 4px;
        font-size: 1.9rem;
    }

    .author-bio {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .author-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 15px;
    }
}
@media (max-width: 768px) {

    .content-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar-sticky {
        position: static;
        top: auto;
    }

}
/* --- AUDIO PLAYER ELITE --- */
.audio-player-container {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 2rem;
    border-left: 5px solid var(--primary);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00AEEF 0%, #0087B7 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.2s;
    cursor: pointer;
}

.play-btn:hover {
    transform: scale(1.05);
}

.progress-area {
    flex-grow: 1;
}

.progress-bar-custom {
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    width: 0%;
}

.time-display {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--its-gray);
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.player-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--its-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
