
/*====================================================================================================
		MAQUETACIÓN PARA CUANDO EL USUARIO ABRE LA PÁGINA DE UN SERVICIO EN PARTICULAR.

       SE LE MUESTRA LA DESCRIPCIÓN DE ESE SERVICIO Y LAS HISTORIAS DE ÉXITO RELACIONADAS.
====================================================================================================*/


/*----------------- MAQUETACIÓN DEL ENCABEZADO DEL SERVICIO ESPECIFICO -----------------*/

.nombreServEspec{
	font-size: 30px;
}
/*-------- Texto de los lugares (es el subtitulo de la sección) --------*/
.subtituloSeccion{
	font-size: 15px;
	color: #959595;
	width: 90%;
	text-align: justify;
	display: block;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	word-wrap: break-word;
	-webkit-line-clamp: 3;
	max-height: 73px;
	margin-top:5px;
}
.iconUbiEncabServ svg{
	fill: #B9B9B9;
	margin-right: 2px;
	width: 17px;
	height: 17px;
}
/*----------------- MAQUETACIÓN DEL CUERPO (DESCRIPCION) DEL SERVICIO ESPECIFICO -----------------*/
.wpImagenServ{
	width: 250px;
	height: 250px;
	border-radius: 8px;
	background: rgba(0,0,0,.05);
	overflow: hidden;
	float: left;
	margin: 0 20px 10px 0;
}
.imgServEspec{
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.descripServicio{
	min-height: 250px; 
	text-align: justify;
	font-size: 16px;
	color: #636363;

    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/*-------------------- CÓDIGO ESPECIAL PARA LOS POSTS RELACIONADOS ------------------------*/
.seccionPost_serv{
	margin-top: 100px;
}
.cabPostServ{
	margin-bottom: 20px;
	font-size: 14px;
}
/*-----------------------------------------------------------------------------------------
		MAQUETACIÓN DEL BÓTÓN CALL TO ACTION (CTA) QUE ESTÁ EN LA PARTE FINAL DEL SERVICIO 
-----------------------------------------------------------------------------------------*/
.wrapCTA{
	margin-top: 80px;	
	margin-bottom: 20px;
}
.textoCTA{
	font-size: 17px;
}
.drCTA{
	width: 300px;
	text-align: center;
}
.btnCTA{
	position: relative;
	display: inline-flex;
	margin-top: 10px;
	background: #43d854;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	padding: 15px 15px;
	border-radius: 30px;
	border-bottom: 3px solid #10C224;
}
.btnCTA:active{
	border-top: 3px solid transparent;
	border-bottom-width: 0;
}
.iconWhats svg{
	margin-right: 10px;
	margin-bottom: -4px;
	fill: #fff;
	width: 20px;
	height: 20px;
}
/*- Animación del botón -*/
.btnCTA:after,
.btnCTA:before
{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: inherit;
	border-radius: 30px;
	transform: scale(0);
    animation: ripple-effect 1.5s infinite;
}
.btnCTA:before{
	animation-delay: .5s;
}
@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1,1.2);
        opacity: .5;
    }
    100% {
        transform: scale(1.1,1.2);
        opacity: 0;
    }
}

/*======================================================================================================================
										MAQUETACIÓN ESPECIAL PARA LA SECCIÓN DE HISTORIAS DE ÉXITO
=======================================================================================================================*/
.bodySeccionHDE{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}


/*========================================================================================================================================
														POSTS / BLOG
========================================================================================================================================*/
.wrapBdNB{
	display: grid;
	align-items: self-start;
	grid-template-columns: repeat(4, 1fr); 
	gap: 10px;
}

@media (max-width: 1200px) and (min-width: 876px){
	:root {
	  --anchoPost: 21.6vw;
	}
}
@media (max-width: 875.99px) and (min-width: 500px){
	:root {
	  --anchoPost: calc(30vw - 10px);
	}
	.wrapBdNB{
		grid-template-columns: repeat(3, 1fr); 
	}
}
@media (max-width: 499.99px) and (min-width: 0){
	:root {
	  --anchoPost: calc(44vw - 5px);
	}
	.wrapBdNB{
		gap: 5px;
		grid-template-columns: repeat(2, 1fr); 
	}
}



@media (max-width: 1217px){		
	/*--------------------------- ENCABEZADO ---------------------------*/	
	.iconUbiEncabServ svg{
		margin-right: -3px;
	}
	.subtituloSeccion{
		width: 97%;
	}
	/*----------- DESCRIPCION (texto principal) DEL SERVICIO -----------*/
	.bodyServEspec{
		width: 97%;
	}
}
@media (max-width: 1110px) and (min-width: 692px) { 
	.bodySeccionHDE{
		display: grid;
		grid-template-columns: repeat(3, 1fr); 
		gap: 12px;
	}
}
@media (max-width: 857px) and (min-width: 692px) { 
	.unaHDE{
		width: 25vw;
	}
	.wpImgHDE {
		height: 42.9vw;
	}
}
@media (max-width: 842px){
	.wpImagenServ{
		width: 180px;
		height: 180px;
		margin-bottom: 5px;
	}
	.seccionPost_serv{
		margin-top: 0px;
	}
	.cabPostServ{		
		font-size: 13px;
	}	
	.textoCTA{
		font-size: 15px;
	}
	.btnCTA{
		font-size: 14px;
	}
}
@media (max-width: 691.99px) and (min-width: 500px) { 
	.bodySeccionHDE{
		grid-template-columns: repeat(2, 1fr); 
	}
	.unaHDE{
		width: 35vw;
	}
	.wpImgHDE {
		height: 60.1vw;
	}
}
@media (max-width: 499.99px) and (min-width: 0) { 
	.bodySeccionHDE{
		display: block;
	}
	.unaHDE{
		margin: 0 auto 30px auto;
		width: 60vw;
		/*width: 35vw;*/
	}
	.wpImgHDE {
		height: 111.5vw;
	}
}
@media (max-width: 500px){
	/*-------------------- ENCABEZADO DEL SERVICIO --------------------*/
	.nombreServEspec{
		font-size: 22px;
		margin-bottom: 15px;		
		text-align: center;
	}
	.iconUbiEncabServ svg{
		width: 15px;
		height: 15px;
		margin-right: 0;
	}
	.subtituloSeccion{
		width: 100%;
		text-align: left;
		letter-spacing: 0.1px;
	}
	/*-------------- MAQUETACIÓN DEL CONTENEDOR DEL SERVICIO ESPECIFICO --------------*/
	.bodyServEspec{
		width: 100%;
		border-top-color: rgba(0,0,0,0.05);
	}
	.wpImagenServ{
		width: 130px;
		height: 130px;
	}
	.seccionPost_serv{
		margin-top: 20px;
	}
	.descripcionServicio{
		font-size: 15px;
	}
	/*----------------- MAQUETACIÓN DEL ENCABEZADO DE LA SECCIÓN HDE -----------------*/
	.txtHDE{
		font-size: 22px;
	}
	.subtituloHDE{
		font-size: 14px;
	}
	/*--------------------- CONTENEDOR DE LOS POSTS RELACIONADOS ---------------------*/
	.cabPostServ{
		margin-bottom: 10px;
	}
	.wrapBdNB{
		margin: 0px 0 30px 0;
	}
	.wrapCTA{
		margin-top: 40px;
	}
}