/*
Theme Name: faculdade-i9
Theme URI: http://exemplo.com/
Author: Seu jesiel
Author URI: http://exemplo.com/
Description: Tema personalizado da faculdade i9.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faculdade-i9
*/

Bootstrap .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 770px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 710px !important;
  }
  .underline-thick {
    width: 64% !important;
  }
}

@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 998px !important;
  }
  .underline-thick {
    width: 45% !important;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1060px !important;
  }
  .underline-thick {
    width: 42% !important;
  }
}

.data-container {
  margin: 2% 0;
}

.data-container h4 {
  color: #616161;
}

.barra-pesquisa {
  height: 85px;
  background: #251d59;
  border-top: 1px solid #e56849;
  margin-bottom: 4%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: flex;
  align-items: center;
  justify-content: end;
  position: relative;
}

.barra-pesquisa input[type="search"] {
  padding: 5px;
  border: 1px solid #e56849;
  border-radius: 25px;
  width: 230px;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: #fff;
  margin-right: 130px;
}

.barra-pesquisa input[type="search"]:focus {
  border-color: #e56849;
}

.barra-pesquisa input[type="submit"] {
  display: none;
}

.barra-pesquisa img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 140px;
  cursor: pointer;
  width: 30px;
}

::-webkit-input-placeholder {
  color: #fff;
  margin-left: 3px;
}

:-moz-placeholder {
  color: #fff;
  margin-left: 3px;
}

::-moz-placeholder {
  color: #fff;
  margin-left: 3px;
}

:-ms-input-placeholder {
  color: #fff;
  margin-left: 3px;
}

/* Layout Geral do Blog */
.blog-container {
  width: 80%;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
  padding-bottom: 30px;
  margin-top: 2%;
}

.blog-container .principal {
  padding-right: 25px;
}

.principal .img-post {
  position: relative;
}

.principal .img-post figure {
  margin: 0;
}

.principal .img-post figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0%) 0%,
    rgb(29, 70, 89) 100%
  );
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
  font-size: 24px;
  font-family: "inter", sans-serif;
  font-style: normal;
}

h2.title-post {
  margin: 10px 0 10px 0 !important;
  line-height: 1;
}

.title-post a {
  color: #545454;
  font-weight: bold;
  font-size: 35px;
}

.title-post a:hover {
  color: #e56849;
}

.introducao-post-principal p {
  display: -webkit-box;
  /*-webkit-line-clamp: 4;*/
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0 20px 0;
  color: #acacac;
  font-size: 14px;
  line-height: 1.8;
}

#leia-mais {
  background: #e56849;
  text-align: center;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

#leia-mais:hover {
  background: #ff8668;
  transition: 0.3s;
}

/* Galeria de Posts - Home */

/* Slides */

.blog-container .galerias {
  position: relative;
}

.img-post-slide {
  position: relative;
}

.img-post-slide img {
  border-radius: 10px;
  object-fit: cover;
  height: 170px !important;
}

.slide-itens {
  padding-left: 25px !important;
  margin-bottom: 22px;
}

.sub-itens-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.posts-blog.galeria {
  padding-left: 25px;
}

.posts-blog.galeria:last-child {
  margin-left: auto;
}

.posts-blog.galeria img {
  height: 150px;
  object-fit: cover;
}

.galeria .img-post {
  position: relative;
}

.img-post a img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}

.post-categories-posts {
  position: absolute;
  bottom: 0;
  background: #0b7497;
  border-radius: 6px;
  padding: 0px 10px;
  font-size: 16px;
  color: #fff;
}

h2.title-post-galeria {
  margin: 5px 0 5px 0 !important;
  line-height: 0.8;
}

.title-post-galeria a {
  color: #545454;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

.title-post-galeria a:hover {
  color: #6f6c6c;
}

.post-categories {
  position: absolute;
  top: 0;
  background: #0b7497;
  border-radius: 6px;
  padding: 0px 10px;
  font-size: 16px;
  color: #fff;
}

.post-categories a:hover {
  color: #fff;
}

.introducao-post p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0 10px 0;
  color: #a1a1a1;
  font-size: 14px;
  line-height: 1.5;
}

/* Fim Galeria */

/* Blog Container Outros */
.blog-container-outros {
  margin-top: 50px;
  margin-bottom: 80px;
}

.outros-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.outros-posts-blog.galeria {
  margin-right: 20px;
}

.outros-posts-blog.galeria img {
  height: 120px;
}

.introducao-post-outros p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0 20px 0;
  color: #a1a1a1;
  font-size: 14px;
  line-height: 1.8;
}

/* FIM Blog Container Outros */

/* Todos os Posts */
.linha-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 20px 0 0 0;
}

.linha-container h1 {
  font-size: 26px;
  color: #898989;
  font-weight: 400;
  margin: 0;
}

.linha {
  width: 25vw;
  height: 4px;
  border-radius: 4px;
  background: #13cd99;
  margin: 10px 0 5px 0;
}

.lista-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.all-posts {
  margin-top: 35px;
}

.introducao-post-all {
  min-height: 100px;
}

.introducao-post-all p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0 10px 0;
  color: #a1a1a1;
  font-size: 14px;
  line-height: 1.8;

}

.posts-blog.all {
  margin: 5px;
  padding: 0px 10px 10px 10px;
  margin-bottom: 15px;
  border: 1px solid transparent;
}

.posts-blog.all:hover {
  border: 1px solid #e56849;
  border-radius: 10px;
  transition: 0.3s;
}

.posts-blog.all .img-post {
  position: relative;
}

.posts-blog.all img {
  height: 150px;
  object-fit: cover;
}

.desc-post-blog {
    min-height: 162px;
    display: flex
;
    justify-content: center;
    flex-direction: column;
}

#arrow {
  display: inline-block;
  transition: transform 0.3s ease-in-out; /* Transição suave */
}

.rotated {
  transform: rotate(180deg); /* Rotaciona 180 graus */
}

/* Fim css Todos os Posts */

/* CSS Categorias*/
.lista-categorias {
  display: flex;
  align-items: center;
  justify-content: center;
}

.categoria-itens {
  margin: 0px 20px;
  padding-right: 25px;
  border-right: 1px solid #dedede;
}

.categoria-itens a {
  font-size: 23px;
  color: #0b7497;
}

.categoria-itens a:hover {
  color: #e56849;
}

/* Fim do CSS Categorias*/

/* Página Interna */

body.post-template-default.single.single-post {
  background: #fff !important;
}

.header-bg {
  width: 100%;
  height: 300px;
  background: #0b7497;
  border-top: 1px solid #16f9b9;
}

.voltar-blog {
  color: #0063aa;
  font-weight: bold;
  font-size: 17px;
  margin-left: -10px;
}

.voltar-blog:hover {
  color: #e56849 !important;
}

.caminho-post {
  font-size: 16px;
  color: #fff;
}

.breadcrumb {
  font-size: 12px !important;
  margin-bottom: 20px !important;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #16f9b9;
}

.breadcrumb .separator {
  color: #16f9b9;
  margin: 0 5px;
}

.breadcrumb .current {
  color: #fff;
}

.col-md-8.single {
  margin-top: -300px;
}

.single-post-container {
}

.title-post-single h1 {
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  margin: 20px 0;
}

.data-post {
  color: #ffffff;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.img-post-single {
  position: relative;
}

.img-post-single a img {
  border-radius: 10px;
  width: 100% !important;
  height: 309px !important;
  object-fit: cover;
}

.img-post-single figure {
  margin: 0;
}

.img-post-single figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0%) 0%,
    rgb(29, 64, 89) 100%
  );
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
  font-size: 24px;
  font-style: normal;
}

.content-post-single {
  margin-top: 5%;
  line-height: 20px !important;
}

.content-post-single h2 {
  font-size: 23px;
  line-height: 1;
  color: #303030;
}

.content-post-single p {
  padding-left: 0;
  color: #303030 !important;
}

.content-post-single ol {
  margin: 10px 0;
}

.content-post-single figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  margin: 10px 0;
}

.content-post-single a {
  color: #00ce94;
}

.content-post-single a:hover {
  color: #16f9b9;
}

.destaques-title {
  position: relative;
  margin-bottom: 15px;
}

.underline-thick ~ span {
  z-index: 3;
  position: relative;
  font-weight: bold;
  font-size: 30px;
}

.underline-thick {
  z-index: 2;
  bottom: 9px;
  left: 26px;
  width: 35%;
  height: 0.6rem;
  position: absolute;
  border-radius: 10px;
  background: #16f9b9;
}

.col-md-4.destaques {
  padding-left: 25px;
}

.destaques-itens {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.destaques-itens h3 {
  font-size: 16px;
  font-weight: bold;
  color: #251d59;
  margin: 6px 0px;
}

.posts-blog-destaques {
  margin-bottom: 41px;
}

.title-post-galeria-destaques {
  margin: 5px 0 5px 0 !important;
  line-height: 0.8;
}

.title-post-galeria-destaques a {
  color: #0a0a0a;
  font-weight: bold;
  font-size: 20px;
}

.img-post-destaques {
  position: relative;
  margin-top: 15px;
}

.img-post-destaques a img {
  width: 100%;
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
}

.introducao-post-destaques p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0 10px 0;
  color: #acacac;
  font-size: 14px;
  line-height: 1.5;
}

.banner-destaques img {
  width: 100%;
  height: 226px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* Fim Página Interna */

/* Página de Busca*/

.search-results h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #251d59;
}

.search-results .lista-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.search-results .img-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Paginação */
.search-results .page-numbers {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #251d59;
}

.search-results .page-numbers.current {
  background-color: #16f9b9;
  color: #fff;
  border-color: #16f9b9;
}

/* Fim Página de Busca */

/* Página de Categoria */
.categoria-titulo {
  text-align: center;
  margin-bottom: 30px;
}

.categoria-titulo h1 {
  font-size: 3em;
  color: #251d59;
}

/* FIM Página de Categoria */

/* Responsivo para Página de Categoria */

@media (max-width: 768px) {
  .barra-pesquisa input[type="search"] {
    margin-right: 100px;
  }

  .barra-pesquisa img {
    right: 115px;
  }

  .data-container {
    margin: 5% 0;
  }

  .blog-container.container {
    width: 85% !important;
  }

  .blog-container .principal {
    padding-right: 0;
    padding-left: 0 !important;
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
  }

  .blog-container .principal img {
    height: 250px !important;
  }

  .posts-blog {
    margin-bottom: 30px;
  }

  .title-post a {
    font-size: 31px;
  }

  .slide-itens {
    padding-left: 0 !important;
  }

  .img-post-slide img {
    height: 160px !important;
  }

  .blog-container .galerias {
    display: block;
    max-width: 100%;
  }

  .sub-itens-galeria {
    display: block;
  }

  .posts-blog.galeria {
    padding-left: 0;
  }

  .posts-blog.galeria img {
    width: 100%;
  }

  h2.title-post-galeria {
    margin: 5px 0 8px 0 !important;
    line-height: 0.7;
  }

  .posts-blog.galeria img {
    height: 200px;
  }

  .outros-posts {
    display: block;
  }

  .outros-posts-blog.galeria {
    margin-bottom: 30px;
    margin-right: 0;
  }

  .blog-container-outros {
    margin-bottom: 0;
    margin-top: 0;
  }

  .lista-posts {
    display: block;
  }

  .lista-posts {
    grid-template-columns: repeat(3, 1fr);
  }

  .col-md-8.single {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
  }

  .data-post {
    font-size: 11px;
  }

  .breadcrumb {
    font-size: 11px !important;
  }

  .redes-sociais.text-center {
    margin-bottom: 30px;
  }

  .col-md-4.destaques {
    padding-left: 0;
  }

  .posts-blog.all {
    margin: 0;
    margin-top: 20px;
  }

  .categoria-titulo h1 {
    font-size: 2em;
  }

  .underline-thick {
    width: 27%;
  }

  .posts-blog.all img {
    height: 200px;
  }

  .outros-posts-blog.galeria img {
    height: 200px;
  }
}

/* Container do carrossel */
.carrossel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Wrapper com os slides */
.carrossel-wrapper {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
  padding: 0 20px;
}

/* Cada slide */
.carrossel-slide {
  flex: 0 0 auto;
  width: 238px;
}

/* Botões de navegação */
.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #0b7497;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  color: #fff;
  padding: 1px 10px;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrossel-btn.prev {
  left: 1px;
  background-image: url("https://lablaser.academiadolaser.com/wp-content/uploads/2025/05/SETA_Esquerda.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 50px;
  height: 50px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.carrossel-btn.next {
  right: 1px;
  background-image: url("https://lablaser.academiadolaser.com/wp-content/uploads/2025/05/SETA_Direita.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 50px;
  height: 50px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.carrossel-btn:hover {
  background-color: #1e93bb;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Card de médico */

.circulo-bg {
  background: radial-gradient(#e66465, #9198e5);
}

.medico-card {
  background: #fff;
  border-radius: 20px;
  text-align: center;
  width: 238px;
  height: 325px;
  /*box-shadow: rgba(100, 100, 111, 0.08) 0px 7px 29px 0px;*/
  margin-top: 15px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.medico-card:hover {
  transform: scale(1.04);
}

/* Imagem do médico */
.medico-img {
  width: 100%;
  max-height: 231px;
  min-height: 231px;
  height: auto !important;
  border-radius: 20px !important;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Nome do médico */
.medico-nome {
  font-family: "Archivo Black", sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: #e56849;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Cargo ou especialidade */
.medico-cargo {
  font-size: 14px;
  color: #737373;
}

/* Resumo ou descrição curta */
.medico-resumo {
  font-size: 0.9em;
  color: #444;
  margin-bottom: 0;
}

.medico-regiao {
  font-size: 23px;
  color: #444;
  margin-bottom: 5px;
}

/* Ícones de contato */
.medico-infos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.medico-infos a {
  text-decoration: none;
  gap: 5px;
}

.medico-infos a i {
  color: #e56849;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.medico-infos a i:hover {
  transform: scale(1.08);
}

.btn-ver-todos a {
  background: #e56849;
  color: #fff;
  font-weight: bold;
  padding: 3px 80px;
  border-radius: 38px;
  margin: 20px 0 35px 0;
  text-transform: uppercase;
}

.btn-ver-todos a:hover {
  background: #f88569;
}

/* Slide extra (caso use swiper) */
.swiper-slide-medicos {
  height: 430px !important;
}

/* Paginação personalizada (caso use swiper) */
.medicos-swiper .swiper-pagination {
  margin-top: 10px;
}

.medicos-swiper .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  background: #ccc;
  opacity: 1;
  margin: 0 0.3rem;
}

.medicos-swiper .swiper-pagination-bullet-active {
  background: #f90;
}
.carrossel-slide.slide-clone {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
}

.medico-sidebar {
  border: 1px solid #dedede;
  color: #444;
  font-size: 16px;
  background: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 8px;
  padding: 1rem !important;
}

.medico-sidebar button {
  background: #e56849;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}

.medico-sidebar button:hover {
  background: #ff8668;
}

.medico-sidebar p {
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "Inter", sans-serif;
}

.medico-sidebar .form-control {
  font-size: 14px !important;
}

.filtro-regioes h5 {
  color: #444;
  font-size: 18px;
  font-weight: 400;
}

.list-regiao {
  border-radius: 8px;
  border: 1px solid #dedede;
  padding: 5px;
  padding-left: 15px !important;
  height: 215px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 0;
}

.list-regiao li {
  margin-left: 20px;
}

.list-regiao li::marker {
  color: #848484;
}

.list-regiao li a {
  text-decoration: none;
  color: #848484;
  display: block;
  padding-bottom: 5px;
}

.list-regiao li a:hover {
  color: #2d2d2d;
}

.listagem-medicos {
  width: 100%;
  display: flex;
  justify-content: center;
}

.page-medicos .medico-card {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px !important ;
  transition: all 0.3s ease;
  max-width: 218px;
  padding-top: 0 !important;
}

.page-medicos .medico-card:hover {
  background: #e9ecef;
  transform: translateY(-3px);
}

.page-medicos .medico-card img {
  border-radius: 8px !important;
  width: 100%;
  height: auto;
}

.limpar-filtros {
  border-radius: 7px;
  background: #e56849;
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 20px;
}

.limpar-filtros:hover {
  background: #ff8668;
}

.blog-sidebar {
  border: 1px solid #dedede;
  color: #444;
  font-size: 16px;
  padding: 15px;

  background: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 8px;
  padding: 1rem;
}

.blog-sidebar .form-control {
  font-size: 14px !important;
}

.list-categorias {
  border-radius: 8px;
  border: 1px solid #dedede;
  padding: 5px;

  padding-left: 15px !important;
  height: 255px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 0;
}

.blog-sidebar p {
  font-weight: bold;
  margin-bottom: 15px;
}

.blog-sidebar button {
  background: #e56849;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  padding: 6px 12px;
}

.blog-sidebar button:hover {
  background: #ff8668;
}

.blog-sidebar h5 {
  color: #444;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
}

.blog-sidebar ul {
  list-style: none;
}

.blog-sidebar ul li {
  margin-left: 0;
  padding-left: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.blog-sidebar ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #848484;
  font-size: 18px;
  line-height: 1;
}

.blog-sidebar ul li a {
  text-decoration: none;
  color: #848484;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}

.blog-sidebar ul li a:hover {
  color: #2d2d2d;
}

.blog-sidebar .limpar-filtros {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.blog-sidebar .limpar-filtros:hover {
  background: #fea531;
}

.page-medicos .modal-header {
  background: #0b7497;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-medicos .modal-header img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 20px;
}

.modal-header .btn-close {
  position: absolute;
  right: 25px;
  top: 25px;
}

.modal-header .modal-title {
  color: #fff;
}

.page-medicos .modal-body .resumo-modal {
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 10px;
}

.page-medicos .modal-body ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-medicos .modal-body ul li i {
  font-size: 1.2em;
  color: #2a9d8f;
  width: 24px;
  text-align: center;
  margin-right: 7px;
}

@media (min-width: 990px) {
  .lista-posts {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-left: 10px;
  }
}

@media (min-width: 768px) {
  .lista-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-medicos .modal-dialog {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .filtros-medicos .col-md-9 {
    margin: auto;
    margin-top: 20px;
  }
  .filtros-medicos {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .listagem-medicos {
    display: block !important;
  }

  .filtro-artigos {
    margin: auto;
  }

  .blog-sidebar {
    padding: 10px;
  }

  .list-categorias {
    padding-left: 0;
  }

  .blog-sidebar ul li {
    padding-left: 10px;
  }

  .blog-sidebar ul li::before {
    left: -3px;
  }

  .page-medicos .modal-body {
    overflow-y: scroll;
  }
}

/* Sessão Categoria */

.sessao-categorias {
  text-align: center;
  padding: 60px 20px;
  background-color: #00739a;
}

.subtitulo-categorias {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 40px;
  margin-top: -30px;
}

.titulo-categorias {
  font-family: "Poppins", sans-serif;
  font-size: 45px;
  font-weight: 800;
  color: #e56849;
  margin-top: 1px;
}

.botoes-categorias-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.botao-categoria-modern {
  background-color: transparent;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #f1592a;
  border-radius: 20px;
  text-decoration: none;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 130px;
  transition: all 0.3s ease-in-out;
  line-height: 1.2;
}

.botao-categoria-modern:hover {
  background-color: #f1592a;
  color: #ffffff;
  transform: scale(1.03);
}

.botao-categoria-modern img.icone-categoria {
  display: none;
}

/* MOBILE */
@media (max-width: 1024px) {
  .botoes-categorias-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 90%;
  }

  .botao-categoria-modern {
    height: 120px;
    font-size: 14px;
    padding: 15px 8px;
  }

  .titulo-categorias {
    font-size: 40px;
  }
}

/* 1) Bloqueia scroll da página */
body.modal-open {
  overflow: hidden;
}

/* 2) Overlay full-screen */
.modal-medico {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}
.modal-medico.show {
  display: flex;
  opacity: 1;
}

/* 3) Caixa modal em coluna, cantos arredondados */
.modal-content {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  border-radius: 20px !important;
}

/* 4) Cabeçalho colorido com foto e nome */
.modal-sidebar {
  width: 100%;
  background: #0b7497;
  padding: 40px 20px;
  text-align: center;
}
.modal-sidebar .modal-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 20px;
}
.modal-sidebar h3 {
  margin: 0;
  font-size: 1.8em;
  color: #fff;
  line-height: 1.2;
}

/* 5) Corpo do modal com fundo claro e texto escuro */
.modal-body {
  flex: 1;
  padding: 40px 50px !important; /* aumentei o padding lateral para afastar o texto da “parede” */
  background: #f7f7f7;
  overflow-y: auto;
  color: #333;
  display: flex;
 
  flex-direction: column;
  align-items: center;
}
/* centraliza e dá margem entre parágrafos */
.listaResumo {
  max-width: 600px;
  margin: 0 auto 1.5em;
  line-height: 1.6;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 30px;
}

/* lista de infos centralizada */
.modal-body .info-list {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.titleinfoMedico {
  font-size: 20px !important;
  font-weight: 500;
}

.ResumoMedico {
  font-size: 23px;
}

.modal-body .info-list li {
  font-size: 0.95em;
  margin-bottom: 10px;
}
.modal-body .info-list li i {
  font-size: 1.2em;
  color: #2a9d8f;
  width: 24px;
  text-align: center;
  margin-right: 8px; /* gap entre ícone e texto */
}
.modal-body .info-list li span {
  flex: 1;
}
.modal-body .info-list li span a {
  color: #2a9d8f;
  text-decoration: none;
}
.modal-body .info-list li span a:hover {
  text-decoration: underline;
}

/* 6) Botão fechar */
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}
.close-modal:hover {
  color: #ddd;
}

/* 7) Responsividade para telas menores */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
  .modal-sidebar {
    padding: 30px 15px;
  }
  .modal-sidebar .modal-img {
    width: 100px;
    height: 100px;
  }
  .modal-body {
    padding: 20px 15px;
  }
  .modal-body p {
    max-width: 100%;
    margin: 0 0 1.5em;
  }
  .modal-body .info-list {
    max-width: 100%;
    margin: 20px 0 0;
  }
  .modal-body .info-list li {
    font-size: 0.9em;
  }
  .modal-body .info-list li i {
    font-size: 1em;
    margin-right: 6px;
  }
  .close-modal {
    top: 8px;
    right: 12px;
    font-size: 22px;
  }
}
