/* CSS Document */

/* Rimuove sidebar su questi template (Kadence la nasconde con classi diverse, ma forziamo layout full) */
/*.no-sidebar #secondary,
.no-sidebar .sidebar,
.no-sidebar .sidebar-container { display: none !important; }
.no-sidebar #primary,
.no-sidebar .content-area,
.no-sidebar .site-main { width: 100% !important; max-width: 1200px; margin: 0 auto; }*/

/* Header pagina */
.testimonianze-archive .page-header { margin: 2rem 0 1.5rem; }
.testimonianze-archive .page-title { font-size: 2rem; margin: 0; }

/* Griglia 3 colonne responsive */
.testimonianze-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 2rem 0;
}
@media (max-width: 1024px) {
  .testimonianze-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonianze-grid { grid-template-columns: 1fr; }
}

.testimonianza-card .card-inner {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonianza-card .thumb-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.testimonianza-card .content {
  padding: 18px 20px 22px;
}
.testimonianza-card .entry-title {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.testimonianza-card .entry-title a { text-decoration: none; }
.testimonianza-card .entry-excerpt { color: #444; line-height: 1.6; margin-bottom: 10px; }
.testimonianza-card .read-more {
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: #00445d;
}

/* Singolo */
.testimonianza-single .entry-header { margin: 2rem 0 1rem; text-align: left; }
.testimonianza-single .entry-title { font-size: 2.2rem; margin: 0 0 1rem; color: #00445d; line-height: 1;}
.testimonianza-single .featured-image { margin: 1rem 0 1.5rem; }
.testimonianza-single .entry-content { font-size: 1.1rem; line-height: 1.8; }
.post-nav { display: flex; justify-content: space-between; margin: 2rem 0; }


/* Meta testimonianze sotto al titolo */
.testimonianza-card .testi-meta {
  list-style: none;
  padding: 0;
  margin: 6px 0 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0f2f38;
}
.testimonianza-card .testi-meta li + li { margin-top: 2px; }
.testimonianza-card .testi-meta strong { color: #00445d; font-weight: 600; }

/* Nel singolo, leggermente più grande */
.testimonianza-single .testi-meta {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px;
  font-size: 1rem;
}

.testimonianza-card .entry-title a{
    font-size: 30px;
}

.testimonianza-card .testi-meta li, .single-testimonianza .testi-meta .testi-meta__item{
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    color: #007ba2;
}
.testimonianza-card  .entry-excerpt{
    font-family: 'Lato', sans-serif;
}
.single-testimonianza article{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 28px;
  height: 100%;
  padding-left:20px;
  padding-right:20px;
  padding-bottom: 2rem
}

@media (max-width: 1024px) {
    .single-testimonianza article{
         margin-left:20px;
         margin-right:20px;
         margin-bottom:2rem;
    }
    
}
@media (max-width: 640px) {
    .single-testimonianza article{
         margin-left:0px;
         margin-right:5px;
    }
    
}

