/*deshabilitar menú blog*/
#module-prestablog-blog #prestablog_menu_cat{
	display:none;	
}

/*Deshabilitar enlaces de imágenes en artículos del blog*/
.wp-block-image a.fancybox,
#prestablogfont a.fancybox  {
  pointer-events: none;
  cursor: default;
}

#module-prestablog-blog #prestablogfront div,
#module-prestablog-blog #prestablogfront li{
    font-family: 'Neue Haas Grotesk Display', serif;
	line-height: 1.5em;
	margin-bottom:10px;
	color:#000000;
	font-size:18px;
}


#module-prestablog-blog #prestablogfront span{
    font-family: 'Neue Haas Grotesk Display', serif;
	line-height: 1.5em;
	color:#000000;
	font-size:18px;
}

/*AJUSTAR COLUMNAS DE ARTÍCULOS EN CATEGORÍAS*/

/* ===== GRID PRESTABLOG – 2 COLUMNAS ===== */
body#module-prestablog-blog ul.blog_list_1-7-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  height: auto !important;
}

/* Neutralizar masonry y forzar 2 columnas */
body#module-prestablog-blog ul.blog_list_1-7-grid > li.blog-grid {
  position: static !important;
  width: calc(50% - 16px);
}

/* ===== MOBILE – 1 COLUMNA ===== */
@media (max-width: 767px) {
  body#module-prestablog-blog ul.blog_list_1-7-grid > li.blog-grid {
    width: 100%;
  }
}

/*TITULO CATEGORIA*/
body.page-cms-32#module-prestablog-blog h1.
body#module-prestablog-blog h1{
  margin: 10px 0;
  text-align: left;
  font-family: 'Neue Haas Grotesk Display', serif;
  font-size: 28px;
  margin-top: 60px;
  margin-bottom: 80px;
  line-height: 1.2em;
}
body#module-prestablog-blog h1 span{

}

/*AJUSTAR IMAGEN DE CATEGORIAS*/

.prestablog_cat_img{
	width: 100%;
}
#content-wrapper > .cat_desc_blog{
	display: none;
}



/*AJUSTAR ANCHO TODO CONTENIDO BLOG*/
body#module-prestablog-blog .container-fluid {
	max-width: 1140px;
	margin:0 auto;
}

.cms-id-32 .container{
	padding: 0;
	}
	
	.cms-id-32 .breadcrumb,
	#module-prestablog-blog .breadcrumb{
		display:none;
	}
.cms-id-32 #wrapper{
	padding:0;
	margin-top:126px;
	}

    .cms-id-32 #wrapper > .container {
        width: 100% !important;
    }
	#module-prestablog-blog #wrapper > .container {
        width: 100% !important;
	}
	
		
@media (min-width: 1200px) {

	.cms-id-32 .blog-categories-grid {
		max-width: 1200px !important;
		margin:0 auto;
	}
}


.page-content.page-cms.page-cms-32{
	padding:0px;
}
.page-cms-32 .blog-subhead{
	margin: 10px 0;
  text-align: center;
  font-family: 'Neue Haas Grotesk Display', serif;
	font-size: 36px;
	margin-top: 60px;
	margin-bottom: 60px;
  line-height: 1.2em;
}

/* GRID PRINCIPAL */
.blog-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  padding-bottom:80px;
  /*padding: 0px 100px;*/
}

@media (max-width: 991px){
		.cms-id-32 > main > section > .container > .row{
			margin-left: 0px;
			margin-right: 0px
		}
.blog-categories-grid {
	padding: 0px 60px;
}
.page-cms-32 .blog-subhead{
	font-size:24px;
}
}

@media (max-width: 575px){
			.cms-id-32 > main > section > .container > .row{
			margin-left: 0px;
			margin-right: 0px
		}
.blog-categories-grid {
	padding: 0px 20px;
}
.page-cms-32 .blog-subhead{
	font-size:18px;
}
}

/* IMAGEN */
/* Forzamos bloque vertical por categoría */
.img-blog-head{
	width: 100%;
	background-image:url("https://www.sonpura.es/img/cms/espacios-con-historia-sonpura.jpg");
	background-position: center center;
    background-size: cover;
	height: 585px;
	padding-top: 0px;	

}

.cms-id-32 h1{
	color: #fff;
	font-family: "Manier", serif;
    font-weight: normal;
    font-size: 48px;
	line-height: 1.2em;
	text-align: center;
    top: 0;
    padding-top: 130px;
    box-shadow: none;

}


.blog-category-image {
  grid-column: span 1;
}

.blog-category-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.blog-category-image a:hover img {
  transform: scale(1.05);
}

.blog-category-image + .blog-category-content {
  grid-column: span 1;
}
/* CONTENIDO */
/* Evitar que el contenido se coloque al lado */
.blog-category-content {
  display: block;
    margin-top: 12px;
}









.blog-category-content h2 {
  font-size: 22px;
  margin: 20px 0 12px;
  font-weight: 500;
}

.blog-category-content h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-category-content p {
  font-size: 18px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* AJUSTE: cada bloque (imagen + texto) */
.blog-category-image + .blog-category-content {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .blog-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .blog-categories-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .page-cms-32 h1{
	  font-size:28px;
  }
}




#module-prestablog-blog .nivo-caption {
    font-family: 'Manier', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2em;
    margin: 0;
    text-align: left;
    border: none;
}
#module-prestablog-blog .prestablog_slide .nivo-caption{
	color: white;
	background-color: #00000000;
	background-image: none;
	border: none;
	width: 100%;
	text-align: center;
	top:0;
	padding-top: 130px;
	box-shadow: none;
}

#module-prestablog-blog .nivo-directionNav,
#module-prestablog-blog .nivo-slice,
#module-prestablog-blog .nivo-controlNav,
#module-prestablog-blog .prestablog_more{
	display: none;	
}

#module-prestablog-blog .sliders_prestablog.nivoSlider{
	height: 595px;
}

#module-prestablog-blog h1 span{
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 30px;
}

#module-prestablog-blog h3 a:hover {
	color: #666439;
}

#module-prestablog-blog li.blog-grid a{
	font-family: 'Neue Haas Grotesk Display', serif;
	font-size:18px;
	line-height: 1.2em;
	}
	
#module-prestablog-blog .date_blog-cat{
	display: block; /*none*/
	}
	
#module-prestablog-blog .date_blog-cat .categorie_blog	{
	/*display: block !important;*/
	font-size:18px;	
	}
	
#module-prestablog-blog  .material-icons {
	font-family: "Material Icons", Arial, sans-serif;
	font-size: 24px;
}

#module-prestablog-blog .prestablog_desc{
	font-family: 'Neue Haas Grotesk Display', serif;
	font-size:18px;
	line-height: 1.2em;
}

#module-prestablog-blog .prestablog_more .comments{
	display: none;
	}

@media (min-width: 0px) {
 
}

@media (max-width: 1200px) {
 
}

@media (max-width: 767px) {

}


/*ARTÍCULOS*/

#module-prestablog-blog #prestablogfront{
	max-width: 900px;
    border: none;
    text-align: left;
    font-family: 'Neue Haas Grotesk Display', serif;
}
#module-prestablog-blog #prestablogfront time{
	display:none;	
}
#module-prestablog-blog #prestablogfront h1,
#module-prestablog-blog #prestablogfront h1 span{
    line-height: 1;
    text-align: left;
    font-family: 'Neue Haas Grotesk Display', serif;
    font-size: 28px;
    margin-top: 60px;
    margin-bottom: 20px;
	line-height: 1.2em;
}

#module-prestablog-blog #prestablogfront h1,
#module-prestablog-blog #prestablogfront h1 span{
	
}


#module-prestablog-blog #prestablogfront .info_blog{
	margin-bottom:20px;	
}

#module-prestablog-blog #prestablogfront h2,
#module-prestablog-blog #prestablogfront h2 span{
    line-height: 1;
    text-align: left !important;
    font-family: 'Neue Haas Grotesk Display', serif;
    font-size: 22px;
    margin: 30px 0px 20px 0px;
	line-height: 1.2em;
	border: none;
	padding: 0;
}

#module-prestablog-blog #prestablogfront h2 strong{
    font-size: 22px;
	}

#module-prestablog-blog h3,
#module-prestablog-blog h3 span,
#module-prestablog-blog h4,
#module-prestablog-blog h4 span{
    font-family: 'Neue Haas Grotesk Display', serif;
    font-size: 22px;
	border: none;
    text-align: left !important;
    margin: 30px 0px 20px 0px;	
	padding: 0;
	color: #232323;
}


#module-prestablog-blog h5,
#module-prestablog-blog h5 span,
#module-prestablog-blog h6,
#module-prestablog-blog h6 span{
    font-family: 'Neue Haas Grotesk Display', serif;
    font-size: 20px;
	border: none;
    text-align: left !important;
    margin: 30px 0px 20px 0px;	
	padding: 0;
	color: #232323;
}

#module-prestablog-blog h2 a,
#module-prestablog-blog h3 a,
#module-prestablog-blog h4 a{
	color: #232323;	
    font-size: 22px !important;
}
#module-prestablog-blog h5 a,
#module-prestablog-blog h6 a{
	color: #232323;	
    font-size: 20px !important;
}


#module-prestablog-blog h1 span{
    margin: 10px 0;
    line-height: 1;
    text-align: left;
    font-family: 'Neue Haas Grotesk Display', serif;
    font-size: 36px;
    margin-top: 60px;
    margin-bottom: 60px;
	line-height: 1.2em;
}
#module-prestablog-blog .prestablog_cat_img{
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}


#module-prestablog-blog h1{
	max-width: 1140px;
	margin:0 auto;
	text-align: left;
	font-family: 'Neue Haas Grotesk Display', serif;
	font-size: 36px;
	margin-top: 60px;
	margin-bottom: 60px;
	line-height: 1.2em;	
}

#module-prestablog-blog .prestablog_cat_img{
	width: 100%;
	margin:0 auto;
	text-align: left;
	margin-top: 0px;
	margin-bottom: 0px;
	padding:0px;
	height: 500px;
	overflow:hidden;
}
#module-prestablog-blog .prestablog_cat_img img{
	/*	max-width: 1140px;*/
	width:100%;
	height:auto;
	margin-top:-60px;
}

#module-prestablog-blog .cat_desc_blog{
	display: none;
	}

#module-prestablog-blog .three_article{
	padding-bottom:100px;
	max-width: 1140px;
	margin:0 auto;
}
#blog_list_1-7{

}
#blog_list_1-7 a.blog_link:hover, 
#blog_list_1-7 .comments:hover, 
#blog_list_1-7 a.blog_link:hover::before, 
#blog_list_1-7 .comments:hover::before{
	color: #FFFFFF !important;
}


#prestablogfont,
#prestablogfont p,
#prestablogfont span,
#prestablogfont ul,
#prestablogfont li{
	font-family: 'Neue Haas Grotesk Display', serif;	
	font-size:18px;
	line-height: 1.5em;

}
#module-prestablog-blog .prestablog-article-navigation{
	margin-top:80px !important;	
}

#module-prestablog-blog .prestablog-article-navigation .nav-direction,
#module-prestablog-blog .prestablog-article-navigation .nav-title{
	font-size: 14px !important;
	margin-bottom: 10px;
}

#module-prestablog-blog .prestablog-article-navigation .nav-direction span{
	margin-bottom:0;
	font-size: 14px;
}

#prestablogfont li{
	margin-bottom:20px;
}
#prestablogfont li{
	margin-bottom:10px;
}

#prestablogfont h1, h2, h3, h4, h5, h6{
	font-family: 'Neue Haas Grotesk Display', serif;	

}

#prestablogfront a{
	color: #666439;
}
#prestablogfront a:hover{
	color: #c36c2a;
}

#prestablogfront img{
	width:100%;
	margin-left: 0;
	margin-bottom: 40px;
	margin-top: 20px;
	
	}
#prestablogfront table{
	margin-top:40px;
	margin-bottom:40px;
	margin-left: 3%;
	margin-right: 3%;
	width: 94% !important;
}

#prestablogfront table th{
	padding:6px;	
	border-bottom: 1px solid #000;
	font-weight: bold;
	font-size: 18px;
}	
#prestablogfront table td{
	padding:6px;	
}	
#prestablogfront table img{
	width:100%;
	margin-left: 0;
	margin-bottom: 2%;
	margin-top: 2%;
	}
	
@media (max-width: 991px) {
	#prestablogfront img{
		width:100%;
		margin-left: 0;
	}
	}

@media (max-width: 575px) {
}

/*Tabla de contenidos*/
.prestablog-toc.float-toc{
	width:100%;
	max-width: 600px;
}

h1.new-template-blog{
	text-align:center !important;
}

#module-prestablog-blog section#wrapper{
	padding: 0 !important;
	margin-top: 125px !important;
}

@media (max-width: 991px) {
	#module-prestablog-blog section#wrapper{
	margin-top: 120px !important;
}
}

#module-prestablog-blog #blog_list_1-7 .block_cont{
	border: none !important;
}

body.cms-id-32{
	max-width: 100%;
}

@media (max-width: 991px) {
	.page-cms-32 h1{
		font-size: 48px;
		padding: 80px 30px;
	}
	
	.page-cms-32 .blog-subhead{
		font-size: 32px;
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 991px) {

    .prestablog_cat_img {
        display: block;
        width: 100% !important;
        height: 500px !important;
        overflow: hidden;
        position: relative;
    }

    .prestablog_cat_img img {
		margin-top:0px !important;
        position: absolute;
        top: 50%;
        left: 50%;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover;
        object-position: center;

        transform: translate(-50%, -50%);
    }

	.bread-title-article{
		display: block;
		margin-top: 6px;
	}
	
	.prestablog-article-navigation .col-md-6{
		max-width: 50%;
	}
	#module-prestablog-blog #prestablogfront span{
		font-size: 16px;
	}

}

/* Borrar paginación de las categorías */
h1.new-template-blog + .prestablog_pagination{
	display: none;
}

.prestablog_pagination{
	text-align: center !important;
	padding-bottom: 60px;
}