@media only screen and (min-width: 1000px){
    body.single-post .blog_holder article .post_image {
        width: 50%!important;
        height: 70%!important;
align: center
    }    
}
.sifes-comunicazioni 
/* ===== COMUNICAZIONI PAGE ===== */
.comunicazioni-hero {
  background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 50%, #eff6ff 100%);
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}
.comunicazioni-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('SOSTITUISCI-CON-URL-IMMAGINE-SFONDO') center/cover;
  opacity: 0.15;
}
.comunicazioni-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 1px;
  position: relative;
}
.comunicazioni-hero p {
  color: #475569;
  font-size: 1.05rem;
  position: relative;
}

/* TABS FILTRO */
.com-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 30px;
}
.com-filter-tabs .tab-btn {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all .2s;
}
.com-filter-tabs .tab-btn.active,
.com-filter-tabs .tab-btn:hover {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}
.com-filter-tabs .tab-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}
.com-filter-tabs .tab-search input {
  border: none;
  padding: 8px 14px;
  outline: none;
  font-size: 0.9rem;
}
.com-filter-tabs .tab-search button {
  background: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #64748b;
}

/* SEZIONE "IN EVIDENZA" */
.com-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.com-section-title .icon { font-size: 1.2rem; }

/* CARD EVIDENZA */
.com-evidenza-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.com-evidenza-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: white;
}
.com-evidenza-card .card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,58,138,0.4) 0%, rgba(30,58,138,0.9) 100%);
  z-index: 1;
}
.com-evidenza-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.com-evidenza-card .card-content { position: relative; z-index: 2; }
.com-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.com-evidenza-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.com-evidenza-card p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 16px; }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.2); color: white; }

/* CARD DOCUMENTI (Position Statement, Studi) */
.com-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.com-cards-grid.four-cols { grid-template-columns: repeat(4, 1fr); }
.com-doc-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px;
  background: #fff;
  transition: box-shadow .2s;
}
.com-doc-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.com-doc-card .doc-icon { font-size: 1.6rem; margin-bottom: 12px; color: #1e3a8a; }
.com-doc-card .doc-date { font-size: 0.78rem; color: #64748b; margin-bottom: 6px; text-transform: capitalize; }
.com-doc-card h4 { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 16px; }
.btn-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: #334155;
  text-decoration: none;
  transition: all .2s;
}
.btn-doc-link:hover { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }
.link-arrow {
  color: #1e3a8a;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.link-arrow:hover { text-decoration: underline; }

/* NEWS LIST */
.com-news-list { margin-bottom: 40px; }
.com-news-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
}
.com-news-item:hover h4 { color: #1e3a8a; }
.com-news-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.com-news-item .news-body { flex: 1; }
.com-news-item .news-date { font-size: 0.78rem; color: #64748b; margin-bottom: 4px; }
.com-news-item h4 { font-size: 0.9rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.com-news-item p { font-size: 0.82rem; color: #64748b; margin: 0; }
.com-news-item .arrow { color: #94a3b8; align-self: center; margin-left: auto; }

/* SEZIONE HEADER CON "VEDI TUTTI" */
.com-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* SIDEBAR */
.com-sidebar { padding-left: 20px; }
.com-widget { margin-bottom: 30px; }
.com-widget h3 { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 14px; }
.com-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.com-tag {
  padding: 5px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #475569;
  text-decoration: none;
  transition: all .2s;
}
.com-tag:hover { background: #1e3a8a; color: white; }

/* ARCHIVIO */
.com-archive-year {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
}
.com-archive-year summary {
  cursor: pointer;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.com-archive-months { padding: 8px 0 0 16px; }
.com-archive-months a {
  display: block;
  font-size: 0.85rem;
  color: #475569;
  padding: 3px 0;
  text-decoration: none;
}
.com-archive-months a:hover { color: #1e3a8a; }

/* BOX CTA SIDEBAR */
.com-cta-box {
  background: #1e3a8a;
  border-radius: 10px;
  padding: 22px;
  color: white;
  margin-bottom: 16px;
}
.com-cta-box .cta-icon { font-size: 1.5rem; margin-bottom: 10px; }
.com-cta-box h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.com-cta-box p { font-size: 0.82rem; opacity: 0.85; margin-bottom: 16px; }
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: background .2s;
}
.btn-cta-white:hover { background: rgba(255,255,255,0.15); color: white; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .com-evidenza-grid { grid-template-columns: 1fr; }
  .com-cards-grid { grid-template-columns: 1fr; }
  .com-cards-grid.four-cols { grid-template-columns: repeat(2, 1fr); }
  .com-sidebar { padding-left: 0; margin-top: 40px; }
  .com-filter-tabs .tab-search { width: 100%; margin-left: 0; margin-top: 10px; }
}

/* ===== FIX HERO CENTRATO ===== */
.comunicazioni-hero {
    background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 50%, #eff6ff 100%) !important;
    text-align: center !important;
    padding: 60px 20px 50px !important;
    margin: 0 -9999px 40px -9999px !important;
    padding-left: 9999px !important;
    padding-right: 9999px !important;
    position: relative;
}
.comunicazioni-hero h1 {
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1e3a8a !important;
    letter-spacing: 1px;
    margin: 0 auto 15px !important;
    max-width: 800px;
}
.comunicazioni-hero p {
    text-align: center !important;
    color: #475569 !important;
    font-size: 1.05rem !important;
    max-width: 600px;
    margin: 0 auto !important;
}
.comunicazioni-hero img {
    display: block;
    margin: 0 auto 20px !important;
}

/* ===== FIX LAYOUT 2 COLONNE ===== */
.com-layout-wrapper {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}
.com-main-col { min-width: 0; }
.com-sidebar-col {
    min-width: 0;
    padding-left: 10px;
}

/* Forza la larghezza massima del contenuto */
.page-template-default .comunicazioni-hero,
.entry-content .comunicazioni-hero {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 900px) {
    .com-layout-wrapper {
        grid-template-columns: 1fr !important;
    }
    .com-sidebar-col {
        padding-left: 0;
        margin-top: 30px;
    }
    .comunicazioni-hero h1 { font-size: 1.8rem !important; }
}

/* Nasconde sidebar del tema se presente */
.page-id-COMUNICAZIONI .sidebar,
.page-id-C

/* === LAYOUT: sidebar più stretta === */
.com-layout-wrapper {
    grid-template-columns: 1fr 240px !important;
    gap: 50px !important;
}

@media (max-width: 900px) {
    .com-layout-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* === IMMAGINE PREVIEW nelle card === */
.com-doc-card .card-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
    display: block;
}

/* === Sidebar più compatta === */
.com-sidebar-col h3 {
    font-size: 0.95rem;
}
.com-archive-year summary {
    font-size: 0.85rem;
}
/* === SIDEBAR STRETTA - FORZATA === */
.com-layout-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 220px !important;
    gap: 50px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.com-main-col {
    min-width: 0 !important;
    width: 100% !important;
}

.com-sidebar-col {
    width: 220px !important;
    max-width: 220px !important;
    padding-left: 0 !important;
}

/* Widget archivio compatto */
.com-sidebar-col .com-widget h3 {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.com-sidebar-col .com-archive-year summary {
    font-size: 0.85rem !important;
    padding: 8px 0;
}
.com-sidebar-col .com-archive-months a {
    font-size: 0.8rem !important;
}

@media (max-width: 900px) {
    .com-layout-wrapper {
        grid-template-columns: 1fr !important;
    }
    .com-sidebar-col {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 30px;
    }
}

/* ===================================================
   RICERCA NELLA SIDEBAR
   =================================================== */
.com-search-widget {
    margin-bottom: 24px;
}

.com-search-sidebar {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    transition: border-color 0.2s;
}

.com-search-sidebar:focus-within {
    border-color: #1e3a8a;
}

.com-search-sidebar input {
    flex: 1;
    border: none;
    padding: 9px 12px;
    outline: none;
    font-size: 0.85rem;
    min-width: 0;
    width: 100%;
    background: transparent;
    color: #1e293b;
}

.com-search-sidebar input::placeholder {
    color: #94a3b8;
}

.com-search-sidebar button {
    background: white;
    border: none;
    padding: 9px 10px;
    cursor: pointer;
    color: #64748b;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.com-search-sidebar button:hover {
    color: #1e3a8a;
}

/* ===================================================
   TAB FILTRO — RIMUOVI RICERCA E SISTEMA SU UNA RIGA
   =================================================== */
.com-filter-tabs {
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Nasconde l'eventuale vecchia ricerca rimasta dentro i tab */
.com-filter-tabs .tab-search {
    display: none !important;
}