/* =========================
   AUDITEL UI (UNICO)
   ========================= */

.auditel-wrap{ margin-top: 18px; }

/* ---- Cards grid ---- */
.auditel-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.auditel-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.auditel-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.auditel-card__top{ margin-bottom: 12px; }

.auditel-badge{
  display: inline-block;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  margin-bottom: 8px;
}

.auditel-title{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.auditel-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed rgba(0,0,0,.10);
}

.auditel-label{
  font-weight: 600;
  opacity: .85;
  white-space: nowrap;
}

.auditel-value{
  text-align: right;
  opacity: .95;
}

/* ---- Summary box ---- */
.auditel-summary{
  margin-top: 22px;
  padding: 16px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.04);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.auditel-summary__icon{
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px;
}

/* ---- Table ---- */
.auditel-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  margin-top: 18px;
}

.auditel-table thead th{
  background: rgba(0,0,0,.04);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: .9rem;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.auditel-table tbody td{
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px dashed rgba(0,0,0,.10);
  line-height: 1.5;
}

.auditel-table tbody tr:last-child td{ border-bottom: 0; }

.auditel-center{
  text-align: center;
  vertical-align: middle;
  width: 140px;
}

.auditel-table img{
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* ---- Responsive ---- */
@media (max-width: 991px){
  .auditel-cards{ grid-template-columns: 1fr; }
  .auditel-row{ flex-direction: column; }
  .auditel-label{ white-space: normal; }
  .auditel-value{ text-align: left; }

  /* table -> stacked cards */
  .auditel-table thead{ display: none; }
  .auditel-table, .auditel-table tbody, .auditel-table tr, .auditel-table td{
    display: block;
    width: 100%;
  }
  .auditel-table tbody tr{
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .auditel-table tbody td{
    border: 0;
    padding: 8px 2px;
  }
  .auditel-center{
    width: 100%;
    text-align: left;
  }

  .auditel-table tbody td[data-label]::before{
    content: attr(data-label);
    display: block;
    font-weight: 700;
    opacity: .7;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: .85rem;
  }
}

/* Titoli interni alle card (es. "Agenda Monti", "Coalizione centrista", ecc.) */
.auditel-summary strong {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}


