/* Single posts */

.medicina-dentaria-template,
.core-template {
    h1.entry-title {
        color: #FC2C72;
        font-weight: 500;
        font-size: 55px;
        border: unset !important;
        padding: 0 !important;
    }
}



/* Estilos do carousel de médicos */
.core-medicos,
.medicina-dentaria-medicos {
    margin-bottom: 80px; /* Espaço extra para as setas e dots do carousel */
    position: relative; /* Necessário para posicionar as setas */
}

.core-medicos h3,
.medicina-dentaria-medicos h3 {
    color: #32A7EC;
    margin-bottom: 25px;
    font-size: 34px;
    text-align: left;
}

/* Estilos do carousel */
.medicos-carousel {
    margin: 0 -15px; /* Compensar o padding dos slides */
}

.medicos-carousel .slick-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    padding-bottom: 40px;
}

.medico-card {
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Garantir altura consistente */
    max-width: 327px;
}

.medico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Estilos das setas do slick */
.medicos-carousel .slick-prev,
.medicos-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #32A7EC;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.medicos-carousel .slick-prev:hover,
.medicos-carousel .slick-next:hover {
    background: #466BAD;
}

.medicos-carousel .slick-prev {
    left: -20px;
}

.medicos-carousel .slick-next {
    right: -20px;
}

/* Estilos dos dots */
.medicos-carousel .slick-dots {
    bottom: -40px;
    text-align: center;
}

.medicos-carousel .slick-dots li button:before {
    color: #32A7EC;
    font-size: 12px;
}

.medicos-carousel .slick-dots li.slick-active button:before {
    color: #466BAD;
}

.medico-image {
    width: 100%;
    max-width: 327px;
    margin-bottom: 20px;
}

.medico-image img {
    width: 287px;
    height: 287px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.medico-info {
    padding: 20px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.medico-info h4 {
    margin: 0 0 10px 0;
    color: #32A7EC;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
}

.medico-especialidade {
    color: #666;
    font-size: 16px;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.medico-cargos {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
    min-height: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

/* Estilos para listas UL nos posts */
.core-template ul,
.medicina-dentaria-template ul,
.especialidades-template ul,
.exames-diagnostico-template ul,
.medicina-estetica-template ul,
.servicos-template ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.medicina-dentaria-template ul li:not(.slick-dots li),
.especialidades-template ul li:not(.slick-dots li),
.exames-diagnostico-template ul li:not(.slick-dots li),
.medicina-estetica-template ul li:not(.slick-dots li),
.servicos-template ul li:not(.slick-dots li) {
    background: #f8f9fa;
    border-left: 4px solid #32A7EC;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.medicina-dentaria-template ul li:not(.slick-dots li):hover,
.especialidades-template ul li:not(.slick-dots li):hover,
.exames-diagnostico-template ul li:not(.slick-dots li):hover,
.medicina-estetica-template ul li:not(.slick-dots li):hover,
.servicos-template ul li:not(.slick-dots li):hover {
    background: #e9ecef;
    border-left-color: #466BAD;
    transform: translateX(5px);
}

.medicina-dentaria-template ul li:not(.slick-dots li):before,
.especialidades-template ul li:not(.slick-dots li):before,
.exames-diagnostico-template ul li:not(.slick-dots li):before,
.medicina-estetica-template ul li:not(.slick-dots li):before,
.servicos-template ul li:not(.slick-dots li):before {
    content: "✓";
    color: #32A7EC;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.medico-btn {
    display: inline-block;
    background: linear-gradient(to right, #32A7EC, #466BAD);
    color: white;
    padding: 5px 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.medico-btn:hover {
    color: white;
    text-decoration: none;
}
@media (max-width: 998px) {
    .medico-image img {
        width: 100%;
    }
}
/* Responsivo */
@media (max-width: 768px) {
    .medico-card {
        max-width: unset;

    }
    .medico-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }
    .medico-image img {
        width: 100%;
        height: 350px;
        object-fit: contain;
        border-radius: 15px 15px 0 0;
    }
}

/* Estilos específicos para UL no conteúdo principal dos posts (excluindo carrossel) */
.entry-content ul:not(.medicos-carousel),
.single-medicina-dentaria-new .entry-content ul:not(.medicos-carousel) {
    list-style: none !important;
    padding: 0 !important;
    margin: 25px 0 !important;
}

.entry-content ul:not(.medicos-carousel) li,
.single-medicina-dentaria-new .entry-content ul:not(.medicos-carousel) li {
    background: #f8f9fa !important;
    border-left: 4px solid #32A7EC !important;
    padding: 18px 25px !important;
    margin-bottom: 12px !important;
    border-radius: 0 10px 10px 0 !important;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.entry-content ul:not(.medicos-carousel) li:hover,
.single-medicina-dentaria-new .entry-content ul:not(.medicos-carousel) li:hover {
    background: #e9ecef !important;
    border-left-color: #466BAD !important;
    transform: translateX(8px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.entry-content ul:not(.medicos-carousel) li:before,
.single-medicina-dentaria-new .entry-content ul:not(.medicos-carousel) li:before {
    content: "✓" !important;
    color: #32A7EC !important;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
    position: absolute;
    left: 8px;
    top: 18px;
}

.single-medico .medico-atendimento {
    padding: 20px;
}
/* Medicina dentaria lista de posts*/

#list-medicina-dentaria, #list-exames-diagnostico, #list-especialidades-medicas, #list-medicina-estetica, #list-servicos {
    .eael-entry-wrapper {
        padding: 10px;
        cursor: pointer ;
    }
    .eael-grid-post-holder:hover {
        background: #FB2D72;
        border: 1px solid #FB2D72;
        .eael-grid-post-link {
            color: white;
        }
    }
    .eael-entry-title {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .eael-grid-post-link a {
        color: #32A7EC;
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
    }
    .eael-grid-post-link {
        width: 100%;
        height: 100%;
    }
    .eael-grid-post-link:focus {
        border:unset !important;
        outline: unset !important;
    }
}

/* Estilos para Separadores (wp-block-separator) */
.wp-block-separator.has-alpha-channel-opacity {
    width: 100% !important;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(50, 167, 236, 0.3) 20%, 
        rgba(50, 167, 236, 0.8) 50%, 
        rgba(50, 167, 236, 0.3) 80%, 
        transparent 100%
    );
    margin: 40px 0;
    position: relative;
    overflow: visible;
}

.wp-block-separator.has-alpha-channel-opacity::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #32A7EC;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(50, 167, 236, 0.5);
}

/* Variação para templates específicos */
.core-template .wp-block-separator.has-alpha-channel-opacity,
.medicina-dentaria-template .wp-block-separator.has-alpha-channel-opacity,
.especialidades-template .wp-block-separator.has-alpha-channel-opacity,
.exames-diagnostico-template .wp-block-separator.has-alpha-channel-opacity,
.medicina-estetica-template .wp-block-separator.has-alpha-channel-opacity,
.servicos-template .wp-block-separator.has-alpha-channel-opacity {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(252, 44, 114, 0.3) 20%, 
        rgba(252, 44, 114, 0.8) 50%, 
        rgba(252, 44, 114, 0.3) 80%, 
        transparent 100%
    );
}

.core-template .wp-block-separator.has-alpha-channel-opacity::before,
.medicina-dentaria-template .wp-block-separator.has-alpha-channel-opacity::before,
.especialidades-template .wp-block-separator.has-alpha-channel-opacity::before,
.exames-diagnostico-template .wp-block-separator.has-alpha-channel-opacity::before,
.medicina-estetica-template .wp-block-separator.has-alpha-channel-opacity::before,
.servicos-template .wp-block-separator.has-alpha-channel-opacity::before {
    background: #FC2C72;
    box-shadow: 0 0 10px rgba(252, 44, 114, 0.5);
}

/* Responsivo para Separadores */
@media (max-width: 768px) {
    .wp-block-separator.has-alpha-channel-opacity {
        margin: 30px 0;
        height: 1.5px;
    }
    
    .wp-block-separator.has-alpha-channel-opacity::before {
        width: 6px;
        height: 6px;
        top: -2px;
    }
}

/* Estilos para Exames de Diagnóstico - Blockquote e Details */
.exames-diagnostico-template .wp-block-quote {
    border: none;
    padding: 0;
    margin: 30px 0;
    background: transparent;
    font-style: normal;
}

.exames-diagnostico-template .wp-block-details,
.core-template .wp-block-details {
    background: #f8f9fa;
    border-left: 4px solid #32A7EC;
    border-radius: 0 10px 10px 0;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.exames-diagnostico-template .wp-block-details:hover,
.core-template .wp-block-details:hover {
    background: #e9ecef;
    border-left-color: #466BAD;
    transform: translateX(8px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.exames-diagnostico-template .wp-block-details summary,
.core-template .wp-block-details summary {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #32A7EC;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: start;
    transition: color 0.3s ease;
}

.exames-diagnostico-template .wp-block-details summary:hover,
.core-template .wp-block-details summary:hover {
    color: #466BAD;
}

.exames-diagnostico-template .wp-block-details summary::before,
.core-template .wp-block-details summary::before {
    content: "▶";
    color: #32A7EC;
    font-size: 14px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.exames-diagnostico-template .wp-block-details[open] summary::before,
.core-template .wp-block-details[open] summary::before {
    transform: rotate(90deg);
}

.exames-diagnostico-template .wp-block-details summary strong,
.core-template .wp-block-details summary strong {
    color: inherit;
    font-weight: 600;
}

.exames-diagnostico-template .wp-block-details p,
.core-template .wp-block-details p {
    padding: 0 25px 18px 25px;
    margin: 0;
    color: #737b82;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsivo para Exames de Diagnóstico */
@media (max-width: 768px) {
    .exames-diagnostico-template .wp-block-details summary,
    .core-template .wp-block-details summary {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .exames-diagnostico-template .wp-block-details p,
    .core-template .wp-block-details p {
        padding: 0 20px 15px 20px;
        font-size: 15px;
    }
}

/* Shortcode de Médicos */
.medicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.medicos-list {
    margin: 30px 0;
}

.medico-card {
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.tab-equipa .medico-card .e-n-tabs-heading .e-n-tab-title[aria-selected="true"],
.tab-equipa .fisioterapeuta-card .e-n-tabs-heading .e-n-tab-title[aria-selected="true"],
.tab-equipa .funcionario-card .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
    background-color: #FB2D72 !important;
}
.tab-equipa .medico-card .e-n-tabs-heading button:hover,
.tab-equipa .fisioterapeuta-card .e-n-tabs-heading button:hover,
.tab-equipa .funcionario-card .e-n-tabs-heading button:hover {
    background-color: #FB2D72 !important;
}
.tab-equipa .medico-card .e-n-tabs-heading button,
.tab-equipa .fisioterapeuta-card .e-n-tabs-heading button,
.tab-equipa .funcionario-card .e-n-tabs-heading button {
    background-color: transparent !important;
    border: 1px solid #009EE3 !important;

}
.tab-equipa .medico-card .medico-link,
.tab-equipa .fisioterapeuta-card .fisioterapeuta-link,
.tab-equipa .funcionario-card .funcionario-link {
    border: 5px;
    padding: 5px 30px;
    background: linear-gradient(to right, #32A7EC, #466BAD);
}
.tab-equipa .medico-card .medico-imagem img,
.tab-equipa .fisioterapeuta-card .fisioterapeuta-imagem img,
.tab-equipa .funcionario-card .funcionario-imagem img{
    width: 327px !important;
    height: 327px !important;
    object-fit: cover;
}
.tab-equipa .medico-card,
.tab-equipa .fisioterapeuta-card,
.tab-equipa .funcionario-card {
    width: 100%;
}
.tab-equipa .e-n-tabs-heading .e-n-tab-title[aria-selected="false"]:hover {
    background-color: #FB2D72 !important;
}
.tab-equipa .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
    background-color: #FB2D72 !important;
}

.medico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.medico-imagem {
    margin-bottom: 20px;
}

.medico-info h3.medico-nome {
    color: #32A7EC;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.medico-titulo {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.medico-cargo {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.medico-qualificacoes {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: left;
}

.medico-atendimentos {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

.medico-atendimentos strong {
    color: #32A7EC;
    display: block;
    margin-bottom: 5px;
}

.medico-link {
    display: inline-block;
    background: #32A7EC;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.medico-link:hover {
    background: #2896d8;
    color: white;
}

/* Lista de Médicos */
.medico-list-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.medico-list-item:hover {
    transform: translateX(5px);
}

.medico-list-imagem {
    margin-right: 20px;
    flex-shrink: 0;
}

.medico-list-imagem img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
}

.medico-list-info {
    flex: 1;
}

.medico-list-nome {
    margin-bottom: 5px;
}

.medico-list-nome a {
    color: #32A7EC;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.medico-list-nome a:hover {
    color: #2896d8;
}

.medico-list-titulo {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.medico-list-qualificacoes {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 1200px) {
    .medicos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .medicos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .medico-list-item {
        flex-direction: column;
        text-align: center;
    }
    
    .medico-list-imagem {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .medico-imagem img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .medicos-grid {
        grid-template-columns: 1fr;
    }
}

/* Shortcode de Fisioterapeutas */
.fisioterapeutas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.fisioterapeutas-list {
    margin: 30px 0;
}

.fisioterapeuta-card {
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    max-width: 327px;
}

.fisioterapeuta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.fisioterapeuta-imagem {
    margin-bottom: 20px;
}

.fisioterapeuta-imagem img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f0f0f0;
}

.fisioterapeuta-info {
    padding-bottom: 15px;
}
.fisioterapeuta-info h3.fisioterapeuta-nome {
    color: #32A7EC;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fisioterapeuta-titulo {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.fisioterapeuta-cargo {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.fisioterapeuta-qualificacoes {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: left;
}

.fisioterapeuta-atendimentos {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

.fisioterapeuta-atendimentos strong {
    color: #32A7EC;
    display: block;
    margin-bottom: 5px;
}

.fisioterapeuta-link {
    display: inline-block;
    background: #32A7EC;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.fisioterapeuta-link:hover {
    background: #2896d8;
    color: white;
}

/* Shortcode de Funcionários */
.funcionarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.funcionarios-list {
    margin: 30px 0;
}

.funcionario-card {
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    max-width: 327px;
}

.funcionario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.funcionario-imagem {
    margin-bottom: 20px;
}

.funcionario-imagem img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f0f0f0;
}

.funcionario-info {
    padding-bottom: 15px;
}
.funcionario-info h3.funcionario-nome {
    color: #32A7EC;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.funcionario-cargo {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.funcionario-contato,
.funcionario-horario {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: left;
}

.funcionario-contato strong,
.funcionario-horario strong {
    color: #32A7EC;
    display: block;
    margin-bottom: 5px;
}

.funcionario-link {
    display: inline-block;
    background: #32A7EC;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.funcionario-link:hover {
    background: #2896d8;
    color: white;
}

/* Responsivo para Fisioterapeutas e Funcionários */
@media (max-width: 1200px) {
    .fisioterapeutas-grid,
    .funcionarios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fisioterapeutas-grid,
    .funcionarios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .fisioterapeuta-imagem img,
    .funcionario-imagem img {
        width: 120px;
        height: 120px;
    }
    .medicina-dentaria-template,
    .core-template {
        h1.entry-title {
            font-size: 24px;
        }
    }
}

@media (max-width: 480px) {
    .fisioterapeutas-grid,
    .funcionarios-grid {
        grid-template-columns: 1fr;
    }
}