/* =====================================================
   VARIABILI
===================================================== */
:root {
    --bg-page: #f5f6f8;
    --bg-card: #ffffff;
    --text-main: #222;
    --text-muted: #666;
    --text-light: #888;
    --brand: #0066cc;
    --border-light: #ddd;
    --footer-bg: #111;

    /* FONT */
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* =====================================================
   RESET & BASE
===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}
hr {margin-top:12px; margin-bottom:12px;}
/* =====================================================
   WRAPPER
===================================================== */
.wrap {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
}
.site-header-subtitle{
text-align:center;
font-size:0.8rem;

}
.site-title {
    text-align: center;
    padding-top: 14px;
    font-size: 1.6rem;
    font-family: var(--font-heading); /* titolo breve → Manrope OK */
}

/* =====================================================
   NAV DESKTOP
===================================================== */
.site-nav {
    background: #000;
    position: relative;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-item a {
    display: block;
    padding: 15px 18px;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #fff;
    transition: background-color 0.2s ease;
	font-weight:bold;
}

.nav-item a:hover,
.nav-item--active a {
    background: var(--brand);
}

/* HAMBURGER */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* =====================================================
   LAYOUT
===================================================== */
.layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin: 40px auto;
}

/* =====================================================
   TITOLI – GERARCHIA FONT
===================================================== */

/* Titoli display / brevi */
.site-title,
.widget-title {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Titoli lunghi / contenuto */
h1,
.post-title,
.widget-post h4 {
    font-family: var(--font-body); /* Inter = leggibilità */
}
/* =====================================================
   HERO / H1 BLOG
===================================================== */
.content > h1 {
    font-family: var(--font-body); /* Inter */
    font-size: 1.9rem;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
/* Testo descrittivo sotto H1 */
.content > p:first-of-type {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 28px;
}


/* =====================================================
   POST
===================================================== */
.post {
    background: var(--bg-card);
    padding-bottom: 20px;
}

.post-media img {
    width: 100%;
}

.post-category {
    display: inline-block;
    margin: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
}

.post-title {
    margin: 0 15px 10px;
    font-size: 1.25rem;
    line-height: 1.35;
}

.post-excerpt {
    margin: 0 15px 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.post-meta {
    margin: 0 15px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* FEATURED */
.post--featured {
    margin-bottom: 40px;
}

.post--featured .post-title {
    font-size: 1.6rem;
}

/* GRID */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* =====================================================
   SIDEBAR
===================================================== */
.sidebar .widget {
    background: var(--bg-card);
    padding: 15px;
    margin-bottom: 25px;
}

.widget-title {
    font-family: var(--font-heading); /* Manrope OK qui */
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* Lista articoli sidebar */
.widget-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.widget-post:last-child {
    border-bottom: none;
}

.widget-post img {
    width: 72px;
    height: 52px;
}


.widget-post h3 {
    font-family: var(--font-body); /* Inter */
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
}


.widget-post h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* =====================================================
   SIDEBAR – FIX TIPOGRAFIA
===================================================== */
.sidebar {
    font-size: 0.9rem;
}



/* =====================================================
   TAG CLOUD
===================================================== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background: #eee;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 3px;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
    background: var(--footer-bg);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

/* =====================================================
   MENU MOBILE FULLSCREEN
===================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #000;
    color: #fff;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
}

.mobile-menu-list li {
    margin: 18px 0;
}

.mobile-menu-list a {
    font-size: 1.4rem;
    text-transform: uppercase;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-toggle {
        display: block;
    }

    .nav-list--right {
        display: none !important;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   BLOG HERO – MIGLIORATO
================================ */
.blog-hero {
    margin-bottom: 36px;
}

.blog-hero-inner {
    position: relative;
      background: #f1f3f5;
    padding: 32px 36px;
    border-radius: 8px;
  
    max-width: 820px;
}

/* linea verticale */
.blog-hero-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    background: var(--brand);
    border-radius: 2px;
}

/* H1 */
.blog-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.15rem;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.015em;
}



/* testo */
.blog-hero p {
    /*font-size: 1rem;*/
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 18px;
}

/* link guide */
.blog-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.blog-hero-links span {
    color: var(--text-light);
}

.blog-hero-links a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.blog-hero-links a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
    .blog-hero-inner {
        padding: 26px 22px 26px 26px;
    }

    .blog-hero h1 {
        font-size: 1.6rem;
    }
}
/* ===============================
   CATEGORIA – TESTO INTRODUTTIVO
================================ */
.category-intro-text {
    font-size: 0.9rem!important;
    line-height: 1.75!important;
    color: var(--text-muted)!important;
    margin-bottom: 40px!important;
	padding: 20px!important;
    background-color: white!important;
}

.category-intro-text p {
    margin-bottom: 1.1em!important;
}

.category-intro-text strong {
    font-weight: 600!important;
}

/* ===============================
   WHATSAPP FLOATING BUTTON
================================ */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 3000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}


.blog-links {
    margin: 28px 0 36px;
    padding: 14px 18px;
    background: #f6f7f8;
    border-left: 4px solid #c1121f; /* rosso SOS */
    border-radius: 6px;
}

.blog-links p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.blog-links a {
    color: #c1121f;
    font-weight: 600;
    text-decoration: none;
}

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

.blog-links span {
    margin: 0 6px;
    color: #999;
}
/* ===============================
   BLOG INTRO BOX
================================ */
.blog-intro-box {
    background: var(--bg-card);
    padding: 24px 26px;
    margin-bottom: 35px;
}

.blog-intro-box h2 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.blog-intro-box .intro-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.intro-columns {
  
    margin-bottom: 16px;
}

.blog-intro-box h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-intro-box ul {
    list-style: none;
    padding-left: 0;
}

.blog-intro-box li {
    font-size: 0.85rem;
    color: var(--text-main);
    padding-left: 14px;
    margin-bottom: 6px;
    position: relative;
}

.blog-intro-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.blog-intro-box .intro-footer {
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}
.blog-intro-logo {
    display: block;
    width: 100%;
    max-width: 260px;   /* limite sensato desktop */
    height: auto;
	margin:0 auto;
}

/* MOBILE */
@media (max-width: 768px) {
    .intro-columns {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   FEATURED OVERLAY
===================================================== */

.post--overlay {
    position: relative;
    overflow: hidden;
}

.post--overlay .post-media {
    position: relative;
    display: block;
}

.post--overlay img {
    width: 100%;
    height: auto;
    display: block;
}

/* overlay scuro */
.post--overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.35) 45%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

/* contenuto overlay */
.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 26px;
    color: #fff;
    z-index: 2;
}

/* categoria */
.post--overlay .post-category {
    margin: 0 0 8px;
    color: #fff;
    opacity: 0.9;
}

/* titolo */
.post--overlay .post-title {
    margin: 0 0 10px;
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
}

/* excerpt */
.post--overlay .post-excerpt {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    max-width: 720px;
}
/* MOBILE: NASCONDI EXCERPT */
@media (max-width: 768px) {
    .post--overlay .post-excerpt {
        display: none;
    }
}
/* meta */
.post--overlay .post-meta {
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
}

/* hover leggero */
.post--overlay:hover img {
    transform: scale(1.02);
}

.post--overlay img {
    transition: transform 0.4s ease;
}
/* =====================================================
   FEATURED – OVERLAY OPACO ON HOVER
===================================================== */

/* overlay base */
.post--featured .post-overlay {
    background: rgba(0, 0, 0, 0); /* trasparente di default */
    transition: background .35s ease;
}

/* hover: overlay più opaco */
.post--featured:hover .post-overlay {
    background: rgba(0, 0, 0, 0.35); /* opacità elegante */
}

/* =====================================================
   LINK TESTUALI – SOLO CONTENUTO BLOG
===================================================== */

/* link editoriali */
.content a:not(.post-media):not(.nav-item a):not(.blog-hero-links a) {
    text-decoration: none;
    font-weight: 500;
}

/* hover pulito, professionale */
.content a:not(.post-media):not(.nav-item a):not(.blog-hero-links a):hover,
.content a:not(.post-media):not(.nav-item a):not(.blog-hero-links a):focus-visible {
               /* brand più scuro, elegante */
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* =====================================================
   IMMAGINI LINKATE – ARTICOLI
===================================================== */
.post-media {
    display: block;
    overflow: hidden;
}

.post-media img {
    transition: transform .35s ease, filter .35s ease;
    will-change: transform;
}

/* hover immagini */
.post-media:hover img,
.post-media:focus-visible img {
    transform: scale(1.04);
    filter: brightness(0.94);
}

/* featured leggermente più evidente */
.post--featured .post-media:hover img {
    transform: scale(1.06);
}

/* =====================================================
   TITOLO ARTICOLO – HOVER DISCRETO
===================================================== */
.post-title a {
    transition: color .2s ease;
}

.post-title a:hover,
.post-title a:focus-visible {
    color: var(--brand);
    text-decoration: none;
}
/* =====================================================
   SIDEBAR – LINK TESTUALI
===================================================== */

/* link sidebar (titoli widget / articoli) */
.sidebar a {
    color: var(--text-main);
    text-decoration: none;
    transition: color .2s ease;
}

/* hover coerente con contenuto */
.sidebar a:hover,
.sidebar a:focus-visible {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* =====================================================
   SIDEBAR – IMMAGINI LINKATE
===================================================== */

/* wrapper immagine */
.widget-post {
    overflow: hidden;
}

/* immagini */
.widget-post img {
    transition: transform .35s ease, filter .35s ease;
    will-change: transform;
}

/* hover immagine */
.widget-post:hover img,
.widget-post a:focus-visible img {
    transform: scale(1.06);
    filter: brightness(0.95);
}

/* =====================================================
   SIDEBAR – TITOLO ARTICOLO
===================================================== */
.widget-post h3 a {
    transition: color .2s ease;
}

.widget-post h3 a:hover,
.widget-post h3 a:focus-visible {
    color: var(--brand);
    text-decoration: none;
}



/* =====================================================
   ARTICOLO – CARD PRINCIPALE
===================================================== */

.article {
    background: #ffffff;
    padding: 36px 40px;
    border-radius: 6px;
}

/* mobile */
@media (max-width: 768px) {
    .article {
        padding: 24px 20px;
    }
}

/* =====================================================
   HEADER ARTICOLO – OTTIMIZZATO
===================================================== */

.article-header {
    margin-bottom: 34px; /* più respiro sotto header */
}

/* categoria */
.article-category {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand);
}

/* titolo */
.article-header h1 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* meta */
.article-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* mobile */
@media (max-width: 768px) {
    .article-header {
        margin-bottom: 26px;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }
}
/* =====================================================
   BREADCRUMB ARTICOLO
===================================================== */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;

    font-size: 0.8rem;
    color: var(--text-light);

    margin-bottom: 10px; /* <-- ARIA SOTTO */
}

.breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* separatore */
.breadcrumb span {
    color: var(--text-light);
}

/* ultimo elemento (pagina corrente) */
.breadcrumb span[aria-current="page"] {
    color: var(--text-main);
    font-weight: 500;
    cursor: default;
}

/* mobile: più compatto */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 18px;
    }
}


/* =====================================================
   COVER
===================================================== */

.article-cover {
    margin: 28px 0 34px;
}

.article-cover img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* =====================================================
   TESTO EDITORIALE
===================================================== */

.article-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-main);
}

/* paragrafi */
.article-body p {
    margin-bottom: 1.2em;
}

/* titoli interni */
.article-body h2 {
    font-size: 1.4rem;
    margin: 1.8em 0 0.6em;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 1.6em 0 0.5em;
}

/* liste */
.article-body ul,
.article-body ol {
    margin: 1.2em 0 1.2em 1.2em;
}

.article-body li {
    margin-bottom: 0.5em;
}

/* evidenze */
.article-body strong {
    font-weight: 600;
}

.article-body em {
    font-style: italic;
}

/* link editoriali */
.article-body a {
    color: var(--brand);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* =====================================================
   BLOCCHI EDITORIALI SEO / AI – BLOG
===================================================== */

/* ===============================
   QUICK ANSWER – RISPOSTA RAPIDA
=============================== */
.quick-answer {
    margin: 28px 0 34px;
    padding: 18px 22px;
    background: #f6f8fa;
    border-left: 4px solid var(--brand);
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.65;
}

.quick-answer strong {
   
    font-weight: 600;
    margin-bottom: 6px;
}

/* ===============================
   INDICE RAPIDO / TOC
=============================== */
.article-index {
    margin: 30px 0 36px;
    padding: 18px 22px;
    background: #fafafa;
    border: 1px solid var(--border-light);
    border-radius: 6px;
}

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

.article-index li {
    margin-bottom: 6px;
}

.article-index a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand);
}

.article-index a:hover {
    text-decoration: underline;
}

/* ===============================
   ERRORI COMUNI
=============================== */
.common-errors {
    margin: 36px 0;
    padding: 20px 24px;
    background: #fff8f8;
    border-left: 4px solid #c1121f;
    border-radius: 6px;
}

.common-errors h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.common-errors ul {
    margin-left: 18px;
}

.common-errors li {
    margin-bottom: 6px;
}

/* ===============================
   NOTA TECNICA / WARNING
=============================== */
.tech-note {
	margin: 30px 0;
    padding: 18px 22px;
    background: #d7ffc6;
    border-left: 4px solid #005c04;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #000000;
}

/* ===============================
   BOX DECISIONALE / CONFRONTO
=============================== */
.decision-box {
    margin: 36px 0;
    padding: 22px 26px;
    background: #f6f7f8;
    border-radius: 8px;
}

.decision-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.decision-box ul {
    margin-left: 18px;
}

/* ===============================
   FAQ
=============================== */
.faq {
    margin: 40px 0;
}

.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ===============================
   CTA EDITORIALE (SOFT)
=============================== */
.editorial-cta {
    margin: 42px 0;
    padding: 22px 26px;
    background: #f1f3f5;
    border-radius: 8px;
}

.editorial-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.editorial-cta p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.editorial-cta a {
    font-weight: 600;
    color: var(--brand);
}

/* ===============================
   TAKEAWAY FINALE
=============================== */
.article-takeaway {
    margin: 46px 0 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =====================================================
   SIDEBAR – CTA EDITORIALE (FINALE, PULITA)
===================================================== */

.widget-cta {
    background: #f6f7f8;
    padding: 24px 24px 26px;
    border-radius: 10px;
}

/* titolo */
.widget-cta .widget-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

/* testo */
.widget-cta .cta-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* =====================================================
   BOTTONI CTA – BASE
===================================================== */

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    padding: 13px 16px;
    margin-bottom: 12px;

    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: .01em;

    text-align: center;
    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0,0,0,.08);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;

    /* BLOCCA EREDITÀ */
    text-decoration: none !important;
    color: #fff !important;
}

/* elimina pseudo / underline fantasma */
.cta-btn::before,
.cta-btn::after {
    content: none !important;
}

/* =====================================================
   CTA CALL
===================================================== */

.cta-call {
    background: linear-gradient(135deg, #0a63c9, #004fa3);
}

.cta-call:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    background: linear-gradient(135deg, #004fa3, #003c7c);
}

/* =====================================================
   CTA WHATSAPP
===================================================== */

.cta-whatsapp {
    background: linear-gradient(135deg, #28c76f, #1ea95b);
}

.cta-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    background: linear-gradient(135deg, #1ea95b, #16884a);
}

/* =====================================================
   BLOCCA HOVER GLOBALI (SIDEBAR / LINK)
===================================================== */

.widget-cta a:hover,
.widget-cta a:focus,
.widget-cta a:active {
    text-decoration: none !important;
    color: #fff !important;
}
/* =====================================================
   ARTICOLI CORRELATI – LAYOUT DEDICATO
===================================================== */

.related-articles {
    margin-top: 20px;
}

.related-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
    font-weight: 600;
}

/* griglia autonoma */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* card compatta */
.related-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: transform .2s ease, box-shadow .2s ease;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* immagine piccola */
.related-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* corpo */
.related-body {
    padding: 10px 12px 12px;
}

/* categoria */
.related-category {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 6px;
}

/* titolo */
.related-title-item {
    font-size: 0.85rem;
    line-height: 1.35;
    font-weight: 500;
}

.related-title-item a {
    color: var(--text-main);
    text-decoration: none;
}

.related-title-item a:hover {
    color: var(--brand);
}

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

@media (max-width: 1100px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-thumb img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}
.article-actions {
    display: flex;
    justify-content: space-between; /* feedback sx, share dx */
    align-items: center;
    gap: 24px;
}

.share-widget {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* allinea a destra */
    gap: 18px;                 /* più spazio tra icone */
    margin: 4px 0;
}

.share-label {
    font-size: 14px;
    color: #555;
	margin-right: 6px; /* separa testo da icone */
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f2f2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background .2s ease, transform .2s ease;
}

.share-btn svg {
    width: 18px;
    height: 18px;
    fill: #222;
}

.share-btn:hover {
    background: #e6e6e6;
    transform: translateY(-1px);
}
.share-btn.copied {
    background: #c1121f; /* rosso SOS */
}

.share-btn.copied svg {
    fill: #fff;
}
.feedback-widget {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.feedback-label {
    font-size: 14px;
    color: #555;
    margin-right: 6px;
}

.feedback-btn {
    background: #e9e9e9;
    color: #222;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
}

.feedback-btn:hover {
    transform: translateY(-1px);
}

.feedback-yes:hover {
    background: #2ecc71; /* verde acceso */
    color: #fff;
}

.feedback-no:hover {
    background: #e74c3c; /* rosso acceso */
    color: #fff;
}
.feedback-btn.active {
    color: #fff;
}

.feedback-yes.active {
    background: #27ae60; /* verde forte */
}

.feedback-no.active {
    background: #c0392b; /* rosso forte */
}

.feedback-widget.voted .feedback-btn {
    pointer-events: none;   /* BLOCCO TOTALE CLICK */
    cursor: default;
    opacity: 0.9;
}



@media (max-width: 768px) {
    .article-actions {
        flex-direction: column;
        align-items: flex-start; /* tutto a sinistra */
    }

    .share-widget {
        justify-content: flex-start; /* non più a destra */
    }
}
@media (max-width: 768px) {
    .feedback-widget {
        margin-bottom: 4px;
    }

    .share-widget {
        margin-top: 0;
    }
}
.reading-time {
    font-size: 13px;
    color: #666;
    font-weight:500;
}
/* ===============================
   TABLE – ARTICOLI BLOG
================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
}

/* intestazione */
table thead th {
    background: #f2f2f2;
    color: #111;
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #ddd;
}

/* celle */
table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

/* righe alternate */
table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* hover riga */
table tbody tr:hover {
    background: #f6f6f6;
}

/* prima colonna evidenziata (etichette) */
table td:first-child,
table th:first-child {
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

/* responsive */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    table thead {
        display: none;
    }

    table tr {
        display: block;
        margin-bottom: 18px;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        overflow: hidden;
    }

    table td {
        display: flex;
        justify-content: space-between;
        padding: 12px 14px;
        border-bottom: 1px solid #eee;
    }

    table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        padding-right: 10px;
    }

    table td:last-child {
        border-bottom: none;
    }
}
/* ===============================
   FIGURE CON IMMAGINI MULTIPLE (NATURALI)
================================ */
.article-figure {
    margin: 36px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

/* immagini: MAI stretch */
.article-figure img {
    height: auto;
    max-width: 100%;
    border-radius: 6px;
}

/* se ci sono PIÙ immagini: limite massimo, non forzato */
.article-figure img:not(:only-child) {
    /*max-width: 48%;*/
}

/* didascalia sempre sotto */
.article-figure figcaption {
    flex-basis: 100%;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* MOBILE: una sotto l’altra */
@media (max-width: 768px) {
    .article-figure img:not(:only-child) {
        max-width: 100%;
    }
}
