main {margin-bottom: 3rem;}
@media(min-width: 1200px) {
  main {margin-top: 1.875rem; margin-bottom: 5rem;}
}

h1.title {
  font-family: "Montserrat Bold";
  font-size: 1.625rem;
  color: var(--cor_primaria-fundo);
  text-align: center;
  margin-bottom: 2.75rem;
}

/* Galeria de Prefeitos */
.mayors-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 2.5rem;
}
.mayors-gallery .card {
  flex-basis: 100%;
  max-width: 320px;
}
.mayors-gallery .card a {
  text-decoration: none !important;
  display: block;
  height: 100%;
}
.mayors-gallery .card a:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.mayors-gallery .card .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem 0.5rem;
}
.mayors-gallery .card .card-body h6 {
  font-family: "Montserrat SemiBold";
  font-size: 1rem;
  color: #000000;
  margin-bottom: 0;
}
.mayors-gallery .card .card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem 1rem;
  background-color: transparent;
  border-top: none;
}
.mayors-gallery .card .card-footer span {
  font-family: "Montserrat";
}
.mayors-gallery .card .card-footer span:nth-child(1) {
  font-size: 0.75rem;
  font-weight: bold;
  color: #2a2a2a;
  margin-bottom: 0.125rem;
  text-transform: uppercase;
}
.mayors-gallery .card .card-footer span:nth-child(2) {
  font-size: 1rem;
  color: #4d4d4d;
  line-height: 1;
  text-align: center;
}
@media(min-width: 576px) {
  .mayors-gallery {
    justify-content: flex-start;
    column-gap: 1.5rem;
  }
  .mayors-gallery .card {
    flex-basis: calc(100% / 2 - 0.75rem);
  }
  .mayors-gallery .card .card-body {
    padding: 1rem 1rem 0.5rem;
  }
  .mayors-gallery .card .card-footer {
    padding: 0 1rem 1rem;
  }
}
@media(min-width: 768px) {
  .mayors-gallery .card {
    flex-basis: calc(100% / 3 - 1rem);
  }
  .mayors-gallery .card .card-body {
    padding: 1rem 0.5rem 0.5rem;
  }
  .mayors-gallery .card .card-footer {
    padding: 0 0.5rem 1rem;
  }
}
@media(min-width: 992px) {
  .mayors-gallery .card .card-body {
    padding: 1rem 2rem 0.5rem;
  }
  .mayors-gallery .card .card-footer {
    padding: 0 2rem 1rem;
  }
}
@media(min-width: 1200px) {
  .mayors-gallery .card {
    flex-basis: calc(100% / 4 - 1.125rem);
  }
}

/* Sobre o Prefeito */
.mayor-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.mayor-details .text-content h6 {
  font-family: "Montserrat SemiBold";
  font-size: 1.125rem;
  color: #000000;
  text-align: center;
  margin-bottom: 1rem;
}
.mayor-details .text-content .description {
  font-family: "Montserrat";
  text-align: justify;
  color: #4d4d4d;
}
@media(min-width: 992px) {
  .mayor-details {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .mayor-details .text-content h6 {
    text-align: left;
  }
}