.empresa-card {
  display: flex;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.empresa-card:last-of-type{
  margin-bottom: 5px;
}

.empresa-card__logo {
  flex: 0 0 150px;
  height: 150px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.empresa-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.empresa-card__info {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.card-profile{
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  flex: 0 0 150px;
}

.img-thumbnail{
  padding: .25rem;
  border: 1px solid #495057;
  border-radius: 0.375rem;
}

.empresa-card__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.empresa-card__title a {
  text-decoration: none;
  color: #333;
}

.empresa-card__field {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.empresa-card__link {
  margin-top: 0.5rem;
  margin-bottom: 5px;
}

.empresa-card__link a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #0073aa;
}

.title-redes-sociais{
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 0.75rem;
    color: #555;
    margin-left: 5px;
}

.redes-socias-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    justify-content: center;
}
.redes-socias-wrapper .rede-social-img{
    width: 18px;
    height: 18px;
}

.redes-socias-wrapper .empresa-card__field:not(:last-child){
    margin-right: 10px;
}


.pagination{
    display: flex;
    margin-top: 10px !important;
}

.pagination a{
    color: #337AB7;
    padding: 5px;
}

.pagination a:hover{
    color: #606060;
}

.pg-wrapper-prev{
    margin-right: auto;
    width: fit-content;
}

.pg-wrapper-next{
    margin-left: auto;
    width: fit-content;
}

@media(max-width: 767px){
    .empresa-card{
        flex-direction: column;
    }

    .empresa-card__info{
      padding-top: 5px;
    }

    .title-redes-sociais, .redes-socias-wrapper{
      margin-left: 15px;
    }

    .title-redes-sociais{
      margin-top: 15px;
    }

    .card-profile{
      margin-right: 10px;
    }
}