/*
Theme Name: Proyecto Nagore Jiménez - Estudio Dental
Description: Tema desarrollado en exclusiva para Nagore Jiménez - Estudio Dental - Soria. Todos los derechos reservados © 2025.
Version: 1.0
*/


.logo{
  height: 60px;
}


.img-circular {
    width: 200px;  /* Ajusta el tamaño que necesites */
    height: 200px; /* Debe ser igual al width */
    border-radius: 50%;
    object-fit: cover; /* Mantiene la proporción sin deformar la cara/objeto */
    display: block;
    margin: 0 auto; /* Para centrarla si es necesario */
}


.noticias-home {
	background-color: rgba(255,255,255,1);
	padding: 40px;

  	-webkit-transition: background-color .8s ease-in;
  	-moz-transition: background-color .8s ease-in;
  	-o-transition: background-color .8s ease-in;
  	transition: background-color .8s ease-in;
}


.noticias-home:hover {
	background-color: rgba(111,154,169,1);
	padding: 40px;
  	-webkit-transition: background-color .8s ease-out;
  	-moz-transition: background-color .8s ease-out;
  	-o-transition: background-color .8s ease-out;
  	transition: background-color .8s ease-out;
}



a.noticias {
    color: #6F9AA9;
    font-weight: 500;
    text-decoration: none;
    background-color: transparent;
    transition: color 0.3s ease-in-out;
}

/* Cuando haces hover en el DIV, cambia el link */
.noticias-home:hover a.noticias {
    color: white;
}

/* También mantén el hover directo del link */
a.noticias:hover {
    color: white;
}

.separador {
  border-left: 1px solid #E1CFCB;
}


.bloque-tto{
    padding: 70px;
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
}

.bloque-tto-lf{
    padding: 70px;
        border-left: 1px solid #dee2e6;
}

.bloque-tto-rg{
    padding: 70px;
        border-right: 1px solid #dee2e6;
}



.titulo-entrada{
    padding-bottom: 40px;
}


/* Asegura que el contenedor de la fila permita el scroll pegajoso */
.row {
    display: flex;
    align-items: flex-start; /* Importante para que las columnas no fuercen alturas extrañas */
}

.sticky-top {
    position: -webkit-sticky; /* Soporte para Safari */
    position: sticky;
    top: 100px; /* Ajusta este valor según el alto de tu menú principal */
}





/* Estilos personalizados para el carousel de opiniones */

#carouselOpiniones {
    background: #f8f9fa;
    padding: 40px 0 60px 0;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
}

#carouselOpiniones .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#carouselOpiniones .carousel-content {
    min-height: 300px;
}

#carouselOpiniones .blockquote {
    letter-spacing: -.5px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

#carouselOpiniones .testimonio-text {
    font-size: 1rem;
    line-height: .9;
}

#carouselOpiniones .blockquote-footer {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 1rem;
}

#carouselOpiniones .blockquote-footer cite {
    font-weight: 600;
    font-style: normal;
}

/* Contenedor de controles e indicadores */
#carouselOpiniones .carousel-controls-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 15;
}

/* Indicadores centrados */
#carouselOpiniones .carousel-indicators {
    position: static;
    margin: 0;
    display: flex;
    gap: 8px;
}

#carouselOpiniones .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0;
}

#carouselOpiniones .carousel-indicators li.active {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Controles personalizados pequeños */
#carouselOpiniones .carousel-control-custom {
    position: static;
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carouselOpiniones .carousel-control-custom:hover {
    opacity: 1;
}

#carouselOpiniones .carousel-control-custom .carousel-control-prev-icon,
#carouselOpiniones .carousel-control-custom .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

#carouselOpiniones .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#carouselOpiniones .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsive */
@media (max-width: 768px) {
    #carouselOpiniones {
        padding: 30px 0;
    }
    
    #carouselOpiniones .carousel-content {
        min-height: 250px;
    }
    
    #carouselOpiniones .testimonio-text {
        font-size: .8rem !important;
    }
}

@media (max-width: 576px) {
    #carouselOpiniones .carousel-content {
        min-height: 200px;
    }
    
    #carouselOpiniones .carousel-control-prev-icon,
    #carouselOpiniones .carousel-control-next-icon {
        width: 30px;
        height: 30px;
        padding: 15px;
    }
}





.noticias-home.has-bg-image {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}


.noticias-home.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    z-index: -1;
}

.noticias-home.has-bg-image .content-bottom {
    margin-top: auto;
}




/* Estilo para que el campo sea solo una línea inferior */
.form-control-line {
    display: block;
    width: 100%;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #ececec !important; /* Línea gris clara */
    border-radius: 0 !important;
    padding: 10px 0 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease;
}

/* Efecto cuando el usuario hace clic para escribir */
.form-control-line:focus {
    border-bottom: 2px solid rgb(111, 154, 169) !important; /* El color de tu marca */
}

/* Ajuste específico para el área de mensaje para que no parezca un cuadro */
textarea.form-control-line {
    resize: none;
    min-height: 40px;
}




/* Contenedor del checkbox */
.custom-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Wrapper de Contact Form 7 */
.custom-checkbox-wrapper .wpcf7-form-control-wrap {
    display: inline-block;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Input checkbox */
.custom-checkbox-input {
    margin: 0 !important;
    padding: 0 !important;
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: top;
    margin-top: 3px !important;
}

/* Label del checkbox */
.custom-checkbox-label {
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
    font-size: 0.875rem;
    flex: 1;
}

.custom-checkbox-label a {
    color: #007bff;
    text-decoration: underline;
}

.custom-checkbox-label a:hover {
    color: #0056b3;
}



/* Masonry */

.masonry-wrapper {
    /* Esto define el número de columnas */
    column-count: 6; 
    column-gap: 15px;
    width: 100%;
}

.masonry-item {
    /* Evita que una foto se parta entre dos columnas */
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.masonry-item img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.masonry-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

/* --- Ajustes Responsivos --- */

/* Pantallas grandes: 6 fotos */
@media (min-width: 1600px) {
    .masonry-wrapper { column-count: 6; }
}

/* Escritorio normal: 5 fotos */
@media (max-width: 1599px) and (min-width: 1200px) {
    .masonry-wrapper { column-count: 5; }
}

/* Tablets: 3 fotos */
@media (max-width: 1199px) and (min-width: 768px) {
    .masonry-wrapper { column-count: 3; }
}

/* Móviles: 2 fotos */
@media (max-width: 767px) {
    .masonry-wrapper { column-count: 2; }
}









/* Contenedor relativo para que las líneas se posicionen respecto a él */
.diseno-clinica {
    position: relative;
    overflow: hidden;
}

/* Creamos las 2 líneas verticales maestras que dividen el 50% y el 75% */
/* Ocultamos por defecto en móvil */
.diseno-clinica::before,
.diseno-clinica::after {
    content: none; /* O display: none; */
}

/* Los mostramos desde md (768px) en adelante */
@media (min-width: 768px) {
    .diseno-clinica::before,
    .diseno-clinica::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: #dee2e6;
        z-index: 1;
    }
}

/* Línea que divide la col-6 de la col-3 (al 50% del ancho) */
.diseno-clinica::before {
    left: 50%;
}

/* Línea que divide la col-3 de la col-3 (al 75% del ancho) */
.diseno-clinica::after {
    left: 75%;
}

/* Estilo de tus bloques de texto */
.bloque-tto-texto {
    padding: 70px;
    position: relative;
    z-index: 2; /* Por encima de la línea */
}



/* Quitamos márgenes negativos de Bootstrap que rompen la alineación */
.row.g-0 {
    margin-right: 0;
    margin-left: 0;
}