.foto-vereador {
  width: 100%;
  position: relative;
  padding-top: 133.33%; /* 3:4 proporção (altura = 4/3 * largura) */
  background-color: #ddd;
  border-radius: 15px;
  overflow: hidden;
}

.foto-vereador img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ESSENCIAL pra cortar o excesso e manter proporção */
  display: block;
  border-radius: 0;
}


.foto-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* ESSENCIAL pra cortar e adaptar corretamente */
  border-radius: 0;
  display: block;
  transition: transform 0.3s ease;
}

.foto-wrapper img:hover {
  transform: scale(1.05);
}

.foto-servidor {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.foto-servidor .foto-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.foto-servidor .foto-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.foto-servidor .foto-wrapper img:hover {
  transform: scale(1.05);
}

.card-servidor {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-height: 200px;
}

.card-foto-servidor {
  width: 100px;
  height: 133px; /* 3:4 proporção */
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.card-foto-servidor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-conteudo-servidor {
  flex: 1;
  font-size: 13px;
}

.card-conteudo-servidor h5 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
}

.card-conteudo-servidor .cargo {
  font-weight: 500;
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.social-icons i {
  font-size: 20px;
  margin-right: 10px;
  color: #444;
  transition: color 0.3s ease;
}

.social-icons a:hover i {
  color: #007bff;
}

@media (max-width: 768px) {
  .card-servidor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-foto-servidor {
    width: 120px;
    height: 160px;
  }

  .card-conteudo-servidor {
    margin-top: 15px;
  }
}

.card-header {
  font-weight: bold;
}

.card-comissoes {
  border: 1px solid #007bff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #fff;
}

.card-comissoes:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.15);
}

.card-comissoes-header {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  padding: 12px 16px;
  text-align: center;
  font-size: 1.1rem;
}

.card-comissoes-body {
  padding: 16px;
}

.card-comissoes-body .descricao {
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  margin-bottom: 12px;
}

.card-comissoes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-comissoes-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.card-comissoes-list li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .card-comissoes-header {
    font-size: 1rem;
    padding: 10px;
  }

  .card-comissoes-body {
    padding: 12px;
  }

  .card-comissoes-list li {
    font-size: 0.9rem;
  }
}

/* Espaço entre o texto introdutório e os botões de filtro */
.page-in + .container > .row:first-child {
  margin-bottom: 20px;
}

/* Espaço entre os botões e a lista de comissões */
#com-btn {
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Espaço vertical entre os grupos de cards */
.com-list {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Espaçamento lateral entre os cards na grid */
.com-box {
  padding-left: 10px;
  padding-right: 10px;
}

/* Espaço entre o título do card e o conteúdo */
.card-comissoes-header {
  margin-bottom: 8px;
}

/* css página principal
/* BLOCO: Links Úteis */
.cm-senges-links-uteis {
  border-top: 1px solid #eee;
  padding: 40px 0;
}

.cm-senges-links-uteis .cm-title {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

.cm-senges-btn {
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f8f8f8;
  padding: 12px;
  margin: 8px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 90px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.cm-senges-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  background-color: #eaeaea;
}

.cm-senges-btn img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
}

/* RESPONSIVO */
@media (max-width: 767px) {
  .cm-senges-btn {
    height: auto;
    padding: 16px;
  }
}

/* notícias */

.noticia-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.noticia-card .blog-name a {
  font-weight: bold;
  color: #003366;
  text-decoration: none;
}

.noticia-card .blog-text a {
  color: #333;
}

.noticia-card .blog-desc ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #555;
}

/* Estatísticas index principal*/

.section-estatisticas {
  background-color: #f2f2f2; /* ainda cinza claro, mas menos chamativo */
  padding: 30px 0 20px 0; /* reduziu altura */
  margin-top: 30px;
}

.section-estatisticas .fact-icon i {
  font-size: 32px; /* um pouco menor */
  color: #007BFF;
  margin-bottom: 6px;
}

.section-estatisticas .fact-numb {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

.section-estatisticas .fact-name {
  color: #666;
  font-size: 13px;
  margin-top: 4px;
}
/* carrossel pagina index*/
.owl-carousel .item img {
  position: relative;
  top: -20px;
  transition: all 0.3s ease-in-out;
}
.owl-carousel .item:hover img {
  top: -30px;
}

