/* Ajustes de layout Cardioblu (carregado depois do style.css) */

/* Unidades: o template desloca o carrossel para fora do container; com 4 unidades o 4º card ficava cortado */
.work-process .carousel-container {
  margin-right: 0 !important;
}
/* Cards de unidade com altura fixa e igual (o conteúdo mais longo hoje ocupa ~571px) */
.work-process .process-item {
  height: 600px !important;
  overflow: hidden;
}
@media (max-width: 767px) {
  .work-process .process-item {
    height: 520px !important;
  }
}

/* Home: espaço excessivo entre "Corpo Clínico" e "Notícias" */
.team-layout2 {
  padding-bottom: 10px !important;
}
.team-layout2 + .blog-grid {
  padding-top: 50px !important;
}

/* Rodapé inferior: links à direita e diretores técnicos um por linha */
.footer-secondary .footer__copyright-links li {
  white-space: nowrap;
  margin-left: 20px;
}
.footer-secondary .rodape-diretor {
  display: block;
  line-height: 1.7;
}
.footer-secondary .col-lg-12 {
  margin-top: 15px;
}

@media (max-width: 767px) {
  /* Banner da home: título e subtítulo têm tamanho fixo inline (52px/28px) e estouravam no celular */
  .slider .slide__content h2 {
    font-size: 30px !important;
    line-height: 1.25;
  }
  .slider .slide__content p {
    font-size: 18px !important;
  }
  /* Cards de exames: altura fixa de 250px deixava muito espaço vazio no celular */
  .feature-item {
    height: auto !important;
    min-height: 0;
  }
  .footer-secondary .footer__copyright-links {
    justify-content: flex-start !important;
    margin-top: 10px !important;
  }
  .footer-secondary .footer__copyright-links li {
    margin: 0 20px 0 0;
  }
}
