.ftco-section {
	padding-top: 140px;
	padding-bottom: 140px;
}
header .navbar {
    padding: 20px 0px;
    box-shadow: unset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    background-color: transparent !important;
}
/* ==========================================================
   Dettaglio Articolo Blog (inc_post5.asp)
   ========================================================== */

/* Nascondiamo il titolo duplicato della vecchia sidebar se presente */
.sidebar.sidebar-left {
    display: none !important;
}

/* Card Contenitore Principale Articolo */
#posts_blog.dettaglioblog {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #eef0f3;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

/* Reset colonne interne per flusso moderno unico verticale */
#posts_blog.dettaglioblog .sx,
#posts_blog.dettaglioblog .dx {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* ----------------------------------------------------------
   Immagine Principale in Evidenza
   ---------------------------------------------------------- */
#posts_blog .img-contenitore {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
    background-color: #1a1f24;
}

#posts_blog .img-contenitore img.mainimgblog {
    width: 100% !important;
    height: 100% !important;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* ----------------------------------------------------------
   Titoli & Sottotitoli
   ---------------------------------------------------------- */
#posts_blog .titoloblogdet {
    font-size: 30px;
    font-weight: 800;
    color: #1a1f24;
    line-height: 1.35;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

#posts_blog .sottotitoloblogdet {
    font-size: 17px;
    font-weight: 500;
    color: #ff7101; /* Accento brand */
    line-height: 1.5;
    margin: 0 0 24px 0;
}

/* ----------------------------------------------------------
   Barra Social Sharing & Tasto Indietro
   ---------------------------------------------------------- */
#posts_blog .sharingsociale:not(.descr_post_dett) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 25px;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
}

#posts_blog .sharingsociale a img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#posts_blog .sharingsociale a:hover img {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Tasto Indietro a pillola arancione/nera */
#posts_blog a.indietro.backblog {
    margin-left: auto; /* Lo spinge a destra */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1a1f24;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 9px 22px;
    border-radius: 25px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

#posts_blog a.indietro.backblog:hover {
    background-color: #ff7101;
    transform: translateX(-3px);
}

/* ----------------------------------------------------------
   Testo e Tipografia Articolo
   ---------------------------------------------------------- */
#posts_blog .descr_post_dett {
    font-size: 16px;
    line-height: 1.85;
    color: #3b434e;
    text-align: justify;
}

#posts_blog .descr_post_dett p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.85;
    color: #3b434e;
}

#posts_blog .descr_post_dett strong {
    color: #111111;
    font-weight: 700;
}

#posts_blog .descr_post_dett img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 20px 0;
}

/* ----------------------------------------------------------
   Allegati PDF (content_atc)
   ---------------------------------------------------------- */
.content_atc {
    width: 100%;
    margin-top: 15px;
}

.content_atc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content_atc ul li a.btn-atc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1f24;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.content_atc ul li a.btn-atc i {
    color: #dc3545; /* Icona PDF rossa */
    font-size: 18px;
}

.content_atc ul li a.btn-atc .dim_file_allegato {
    font-size: 12px;
    color: #718096;
}

.content_atc ul li a.btn-atc:hover {
    background-color: #ff7101;
    border-color: #ff7101;
    color: #ffffff;
}

.content_atc ul li a.btn-atc:hover i,
.content_atc ul li a.btn-atc:hover .dim_file_allegato {
    color: #ffffff;
}

/* ----------------------------------------------------------
   Box Commenti (Form & Lista)
   ---------------------------------------------------------- */
.contenitore-commenti {
    margin-top: 40px;
}

/* Box Form di Inserimento */
.commento.articolo {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #eef0f3;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.commento.articolo h3.title-form-comm {
    font-size: 20px;
    font-weight: 700;
    color: #1a1f24;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff7101;
    display: inline-block;
}

.commento.articolo .row-comm {
    margin-bottom: 18px;
}

.commento.articolo .row-comm label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.commento.articolo .row-comm label span:first-child {
    font-size: 13px;
    font-weight: 700;
    color: #2b2b2b;
}

.commento.articolo input[type="text"],
.commento.articolo input[type="email"],
.commento.articolo textarea {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #2b2b2b;
    outline: none;
    transition: all 0.25s ease;
}

.commento.articolo textarea {
    min-height: 120px;
    resize: vertical;
}

.commento.articolo input:focus,
.commento.articolo textarea:focus {
    background-color: #ffffff;
    border-color: #ff7101;
    box-shadow: 0 0 0 3px rgba(255, 113, 1, 0.15);
}

/* Captcha & Verifica */
.captcha_np {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0 10px;
}

.verify_Code input#verificationCode {
    width: 180px !important;
    height: 44px;
}

/* Pulsante Invia Commento */
.button-comm {
    margin-top: 20px;
}

.button-comm-notizia {
    background-color: #ff7101;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 32px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 113, 1, 0.35);
    transition: all 0.25s ease;
}

.button-comm-notizia:hover {
    background-color: #e06300;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 113, 1, 0.45);
}

/* Messaggio di ringraziamento commento */
.gr_comm {
    background-color: #d4edda;
    color: #155724;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #c3e6cb;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ----------------------------------------------------------
   Lista Commenti Utenti Approvati
   ---------------------------------------------------------- */
.lista-commenti-articolo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lista-commenti-articolo .singolo-commento {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eef0f3;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #ff7101;
}

.lista-commenti-articolo .titolo-commento {
    font-size: 17px;
    font-weight: 700;
    color: #1a1f24;
    margin: 0 0 6px 0;
}

.lista-commenti-articolo .autore-commento {
    font-size: 13px;
    font-weight: 500;
    color: #718096;
    margin: 0 0 12px 0;
}

.lista-commenti-articolo .autore-commento span:first-child {
    font-weight: 700;
    color: #2b2b2b;
}

.lista-commenti-articolo .data_commento {
    margin-left: 10px;
    font-style: italic;
    font-size: 12px;
}

.lista-commenti-articolo .testo-commento-utente {
    font-size: 14.5px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* ----------------------------------------------------------
   Responsive Mobile
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    #posts_blog.dettaglioblog,
    .commento.articolo {
        padding: 22px 18px;
    }
    #posts_blog .titoloblogdet {
        font-size: 23px;
    }
    #posts_blog .sottotitoloblogdet {
        font-size: 15px;
    }
    #posts_blog a.indietro.backblog {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------------------------
   Sidebar Blog (Categorie, Newsletter, Social)
   ---------------------------------------------------------- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-sidebar .feature-post,
.blog-sidebar .follow-us {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.blog-sidebar .sidebar-title-b h6 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1f24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff7101;
    display: inline-block;
}

/* Lista Categorie nella Sidebar */
.blog-sidebar ul.categ-blog {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-sidebar ul.categ-blog li {
    margin: 0;
}

.blog-sidebar ul.categ-blog li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #2d3748;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.blog-sidebar ul.categ-blog li a:hover {
    background-color: #ff7101;
    color: #ffffff;
    transform: translateX(4px);
}

/* Box Iscrizione Sidebar */
.blog-sidebar .subscribe-form p {
    font-size: 13.5px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 14px;
}

.blog-sidebar .subscribe-form .site-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #ff7101;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.blog-sidebar .subscribe-form .site-btn:hover {
    background-color: #e06300;
}

/* Icone Social Sidebar */
.blog-sidebar .fu-links {
    display: flex;
    gap: 10px;
}

.blog-sidebar .fu-links a.social_link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #242930;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background-color 0.25s, transform 0.2s;
    text-decoration: none;
}

.blog-sidebar .fu-links a.social_link:hover {
    background-color: #ff7101;
    transform: translateY(-2px);
}

