/* roc_trombi.css — trombinoscope équipe municipale */

/* ---- Maire (carte centrée) ---- */
.roc-trombi-maire {
  display: flex;
  justify-content: center;
  margin: 1.5em 0 2.5em;
}

/* ---- Titre de groupe ---- */
.roc-trombi-groupe {
  margin: 2em 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #0061A2;
  color: #0061A2;
}

/* ---- Grille 4 colonnes ---- */
.roc-trombi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin-bottom: 2em;
}

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

@media (max-width: 480px) {
  .roc-trombi-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Carte élu ---- */
.roc-elu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f5f9fc;
  border: 1px solid #dde8f0;
  border-radius: 6px;
  padding: 1em;
}

.roc-elu-card--large {
  max-width: 240px;
  padding: 1.5em;
}

/* ---- Photo ---- */
.roc-elu-photo {
  margin: 0 0 0.8em;
  line-height: 0;
}

.roc-elu-photo img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.roc-elu-card--large .roc-elu-photo img {
  width: 130px;
  height: 160px;
}

/* ---- Infos texte ---- */
.roc-elu-info {
  width: 100%;
}

.roc-elu-nom {
  margin: 0 0 0.3em;
  font-size: 0.9em;
}

.roc-elu-titre {
  margin: 0 0 0.3em;
  font-size: 0.85em;
  color: #0061A2;
  font-style: italic;
}

.roc-elu-delegation {
  margin: 0;
  font-size: 0.8em;
  color: #444;
  line-height: 1.4;
}

/* ---- Permanences ---- */
.roc-permanences {
  margin-top: 2.5em;
  padding: 1.2em 1.5em;
  background: #f0f7fb;
  border-left: 4px solid #0061A2;
}

.roc-permanences h2 {
  margin-top: 0;
}

.roc-permanences-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5em 1.5em;
  margin: 0;
  padding: 0;
}

.roc-permanences-list dt {
  font-weight: bold;
  color: #0061A2;
}

.roc-permanences-list dd {
  margin: 0;
}

@media (max-width: 640px) {
  .roc-permanences-list {
    grid-template-columns: 1fr;
  }
  .roc-permanences-list dt {
    margin-top: 0.8em;
  }
  .roc-permanences-list dt:first-child {
    margin-top: 0;
  }
}
