@charset "UTF-8";
.card {
  flex: 0 0 calc(20% - 20px);
  /* 5 cards por linha com espaço entre eles */
  box-sizing: border-box;
  width: 200px;
  margin: 10px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
  cursor: pointer;
  background-color: #f9f9f9; }

.modal-content {
  font-family: Arial, Helvetica, sans-serif;
  /* Define a fonte de todos os textos */
  font-size: 16px;
  /* Define o tamanho da fonte */
  color: #333333;
  /* Define a cor do texto */
  line-height: 1.5;
  /* Espaçamento entre linhas, opcional para melhorar a leitura */ }

/* Opcional: se quiser garantir que todos os elementos filhos respeitem */
.modal-content h3,
.modal-content p,
.modal-content li {
  font-family: inherit;
  font-size: inherit;
  color: inherit; }

ol, ul {
  margin-left: 0px !important;
  padding-left: 0px !important; }

.card_section {
  gap: 12px;
  width: 100%; }

.card img {
  width: 110%;
  aspect-ratio: 3 / 4;
  /* Força proporção 3x4 */
  object-fit: cover;
  /* Corta a imagem para preencher */
  object-position: center;
  /* Centraliza o corte */
  border-radius: 8px;
  /* Opcional: bordas arredondadas */
  display: block; }

.card h3 {
  font-size: 100% !important;
  font-weight: bold; }

#modal-descricao {
  padding: 5px;
  text-align: justify !important; }

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); }

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 300px;
  text-align: center;
  border-radius: 10px; }

.modal-content img {
  width: 100px;
  border-radius: 50%; }

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer; }

.card_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; }

#modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease; }

#modal .modal-content {
  background-color: #fff;
  margin: 50px auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease; }

#modal .close {
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
  transition: 0.2s; }

#modal .close:hover {
  color: #000; }

#modal-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px auto; }

#modal-nome {
  text-align: center;
  font-size: 24px;
  margin-bottom: 5px; }

#modal-cargo {
  text-align: center;
  font-size: 16px;
  color: #777;
  margin-bottom: 20px; }

#modal-descricao {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5; }

#modal-bio {
  margin-bottom: 15px;
  padding-left: 20px; }

#modal-bio li {
  margin-bottom: 6px; }

#modal-pessoal {
  font-style: italic;
  color: #444; }

@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0; }
  to {
    transform: translateY(0);
    opacity: 1; } }

.card_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0; }

.card {
  flex: 0 0 calc(20% - 20px);
  box-sizing: border-box;
  padding: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); }

.card .image-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px; }

.card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block; }

.card .nome {
  font-weight: bold;
  margin-top: 10px; }

.card .cargo {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  text-align: center; }

@media (max-width: 1024px) {
  .card {
    flex: 0 0 calc(33.33% - 20px);
    min-height: 280px; } }

@media (max-width: 768px) {
  .card_section {
    justify-content: center;
    gap: 15px; }
  .card {
    flex: 0 0 calc(45% - 10px);
    min-height: 260px;
    padding: 10px; }
  .card .nome {
    font-size: 90%; }
  .card .cargo {
    font-size: 80%; }
  .card img,
  .card .image-wrapper img {
    width: 100%; }
  #modal .modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 15px; }
  #modal-img {
    width: 110px;
    height: 110px; }
  #modal-nome {
    font-size: 20px; }
  #modal-cargo {
    font-size: 14px; }
  #modal-descricao {
    font-size: 14px; }
  #modal-bio {
    padding: 0px; } }

@media (max-width: 480px) {
  .card {
    flex: 0 0 100%;
    max-width: 260px;
    margin: 0 auto; }
  .card_section {
    gap: 12px; }
  #modal .modal-content {
    width: 90%;
    margin: 25% auto; }
  #modal-img {
    width: 100px;
    height: 100px; }
  #modal-bio {
    padding-left: 0px !important; } }
