/*variables*/
:root{	
	--banner-amarillo: #E6AD2F;
	--banner-gris: #F2F2F2;
	--texto-rosado: #B7156D;
	--texto-gris: #545555;
	--texto-blanco: #FFFFFF;
	--texto-negro: #000000;
}
/*fonts*/
@font-face {
	font-family: Univia Pro;
	src: url('../../public/fonts/UniviaProRegular.otf');
}
/*reglas generales*/
*{
	box-sizing: border-box;
	font-family: Univia Pro;
}
/*banner*/
.banner-valor-agregado{
	width: 100%;
	height: 21em;
	display: flex;
	flex-direction: column;
}
.banner-valor-agregado__titulo {
	padding-top: 0.4em;
	position: absolute;
	font-size: 4.5rem;
	z-index: 2;
	letter-spacing: 5px;
	padding-left: 1.5em;
	color: var(--texto-blanco);
	width: 10em;
}
.banner-valor-agregado__imagen{
	width: 100%;
	height: 100%;
}
/*introducción*/
.contenedor-valor-agregado{
	/*background: lightblue;*/
    padding-top: 5em;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.contenedor-valor-agregado-texto{
	width: 80%;
    /*background: purple;*/
    margin: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 10em;
    flex-wrap: wrap;
    align-items: center;
}
.contenedor-valor-agregado-texto__intro{
	text-align: center;
	font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.5em;
    color: var(--texto-negro);
    width: 100%;
}
/*compromiso social*/
.contenedor-compromiso-social{
	width: 100%;
    background: var(--banner-amarillo);
    /*margin: auto;
    height: auto;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.contenedor-compromiso-social-texto{
	width: 50%;
    /*background:red;*/
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    padding-right: 2em;
}
.contenedor-compromiso-social-texto h2{
	position: relative;
	width: 7em;
	font-size: 2.25rem;
	letter-spacing: 2px;
	line-height: 1.5em;
	color: var(--texto-blanco);
	padding: 1em 0 0.5em 0;
}
.contenedor-compromiso-social-texto a{
	display: flex;
	align-self: flex-end;
	font-size: 1.5rem;
	letter-spacing: 2px;
	color: var(--texto-blanco);
	text-decoration: none;	
}
.contenedor-compromiso-social-imagen{
	width: 50%;
	height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contenedor-compromiso-social-imagen img{
	width: 100%;
	height: 100%;
}
/*articulo reciente*/
.contenedor-ultimo-articulo{
	width: 100%;
    background: var(--banner-gris);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10em;
    padding: 5em 0 5em 0;
}
.tarjeta-ultimo-articulo{
	width: 60%;
    background: var(--texto-blanco);
    margin: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}
.tarjeta-ultimo-articulo-texto{
	width: 50%;
	height: auto;
	/*background: purple;*/
	padding: 0 2em 2em 2em;
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.art_reciente{
	font-size: 1.6rem;
	color: var(--texto-negro);
	letter-spacing: 2px;
	margin: 0;	
	padding-top: 2em;
}
.titulo_articulo{
	font-size: 2.25rem;
	color: var(--texto-rosado);
	letter-spacing: 2px;
	line-height: 2em;
	margin: 0;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}
.autor_fecha{
	font-size: 1rem;
	color: var(--texto-negro);
	letter-spacing: 2px;
	margin: 0;
}
.resena_articulo{
	/*background: white;*/
	font-size: 1.2rem;
	color: var(--texto-negro);
	letter-spacing: 2px;
	margin-left: 1em;	
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}
.tarjeta-ultimo-articulo-texto a{
	display: flex;
	align-self: flex-end;
	font-size: 1.2rem;
	letter-spacing: 2px;
	color: var(--texto-rosado);
	text-decoration: none;	
}
.tarjeta-ultimo-articulo-imagen{
	width: 50%;
	height: auto;
	/*background: red;*/
}
.tarjeta-ultimo-articulo-imagen img{
	width: 100%;
	height: 100%;
}
/*carrusel entradas anteriores*/
.contenedor-articulos-anteriores{
	margin-top: 10em;
	/*background: lightpink;*/
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
.texto-entradas-anteriores{
	display: flex;
	/*background: blue;*/
	flex-direction: column;
    flex-wrap: wrap;
    width: 80%;
    height: auto;
    text-align: left;
    margin: auto;
    padding-bottom: 3em;
}
.texto-entradas-anteriores h2{
	color: var(--texto-negro);
	font-size: 2.25rem;	
	letter-spacing: 1rem;
}
.carrusel-entradas-anteriores{
	/*background: red;*/
	display: flex;
	flex-direction: row;
	width: 90%;
	height: auto;
}
.splide__pagination{
	display: none;
}
.splide__slide {
    -webkit-tap-highlight-color: transparent;
    display: flex;
    justify-content: center;
}
.card-entrada{
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
	background: var(--texto-blanco);
	width: 20em;
	height: 25em;
	padding: 1em;
	display: flex;
    flex-direction: column;
    justify-content: space-between;	
    margin-bottom: 1.5em;
}
.texto_art_anterior{
	/*background: lightcoral;*/
	width: auto;
	height: 50%;
	order: 2;
	display: flex;
    flex-direction: column;
    padding: 1em;
}
.card-titulo-art{
	font-size: 1.5rem;
	margin: 0;
	color: var(--texto-rosado);
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}
.card-autor_fecha-art{
	font-size: 0.8rem;
	margin: 0;
}
.card-resena-art{
	/*background: white;*/
	font-size: 1rem;
	color: var(--texto-negro);
	letter-spacing: 2px;	
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin-bottom: 0.5em;
}
.detalle_art{
	display: flex;
	align-self: flex-end;
	font-size: 0.8rem;
	color: var(--texto-gris);
	text-decoration: none;
	margin: 0;
	padding-top: 0.5em;
}
.flecha{
	position: relative;
    width: 0.8em;
    top: 0.1em;
    left: 0.2em;
}
.imagen_art_rel{
	/*background: grey;*/
	width: auto;
	height: 50%;
	order: 1;
}
.imagen_art_rel img{
	width: 100%;
	height: 100%;
}
/*carrusel testimonios*/
.contenedor-testimonios{
	margin-top: 10em;
	/*background: grey;*/
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 10em;
}
.texto-testimonios{
	display: flex;
	/*background: blue;*/
	flex-direction: column;
    flex-wrap: wrap;
    width: 80%;
    height: auto;
    align-items: center;
    margin: auto;
    padding-bottom: 3em;
}
.texto-testimonios h2{
	color: var(--texto-negro);
	font-size: 2.25rem;	
	letter-spacing: 1rem;
}
.carrusel-testimonios{
	/*background: red;*/
	display: flex;
	flex-direction: row;
	width: 60%;
	height: auto;
	justify-content: center;
	align-items: center;
}
.card-testimonio{
	position: relative;
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
	background: var(--texto-blanco);
	width: 90%;
	height: auto;
	padding: 3em;
	display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
}
.card-autor-testimonio{
	font-size: 1.5rem;
	color: var(--texto-negro);
	letter-spacing: 2px;
	line-height: 1.2em;
	margin-bottom: 1em;
}
.comillas{
	display: block;
	position: relative;
    width: 6em;
    height: 6em;
   	top: 0;
   	align-self: flex-end;
}
.card-resena{
	text-align: center;
	font-size: 1.2rem;
	color: var(--texto-negro);
	letter-spacing: 2px;
	line-height: 1.2em;
}
/*responsive*/
@media screen and (max-width: 1484px){
	/*compromiso social*/
	.contenedor-compromiso-social-texto a{
		margin-bottom: 1.2em;	
	}
}
@media screen and (max-width: 1240px){
	/*banner*/
	.banner-valor-agregado{
		height: 19em;
	}
	.banner-valor-agregado__titulo {
		margin-top: 0.6em;
	}
}
@media screen and (max-width: 1024px){
	/*introduccion*/
	.contenedor-valor-agregado-texto{
		margin-bottom: 5em;
	}
	/*enlace compromiso social*/
	.contenedor-compromiso-social-texto{
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: row;
		align-items: center;
		align-content: center;
		justify-content: space-around;
		flex-wrap: wrap;
		padding-right: 0;
		order: 2;
	}
	.contenedor-compromiso-social-imagen{
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		order: 1;
	}
	.contenedor-compromiso-social-texto h2{
		font-size: 2.25rem;
		padding: 1em 0 0.5em 0;
	}
	.contenedor-compromiso-social-texto a{
		display: flex;
		align-self: center;
		margin-bottom: 0;	
	}
	/*articulo reciente*/
	.tarjeta-ultimo-articulo{
		width: 80%;
		margin: auto;
		height: auto;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.contenedor-ultimo-articulo{
		width: 100%;
		background: var(--banner-gris);
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		align-items: center;
		margin-top: 5em;
		padding: 5em 0 5em 0;
	}
	.tarjeta-ultimo-articulo-texto{
		width: 100%;
	}
	.tarjeta-ultimo-articulo-imagen{
		width: 100%;
	}
	/*carrusel entradas anteriores*/
	.texto-entradas-anteriores{
		text-align: center;
	}
	.contenedor-articulos-anteriores{
		margin-top: 5em;
	}
	/*carrusel testimonios*/
	.contenedor-testimonios{
		margin-top: 5em;
		margin-bottom: 5em;
	}
}
@media screen and (max-width: 915px){
	/*carrusel entradas anteriores*/
	.texto-entradas-anteriores h2{	
		letter-spacing: 0.5rem;
	}
	.texto-testimonios h2{
		letter-spacing: 0.5rem;
	}
}
@media screen and (max-width: 820px){
	/*banner*/
	.banner-valor-agregado{
		height: 17em;
	}
	.banner-valor-agregado__titulo {
		padding-left: 1em;
		margin-top: 0.3em;
		width: 9em;
	}
}
@media screen and (max-width: 768px){
	.carrusel-testimonios {
		width: 80%;
	}
}
@media screen and (max-width: 760px){
	/*banner*/
	.banner-valor-agregado__titulo {
		font-size: 4rem;
		letter-spacing: 0.2rem;
		margin-top: 0.5em;
		width: 8.5em;
	}
	/*compromiso social*/
	.contenedor-compromiso-social-texto h2{
		font-size: 2rem;
	}
	/*entradas anteriores*/
	.texto-entradas-anteriores h2{
		font-size: 2rem;
	}
	/*testimonios*/
	.texto-testimonios h2{
		font-size: 2rem;
	}
}
@media screen and (max-width: 600px){
	.banner-valor-agregado{
		width: 100%;
		height: 14em;
		display: flex;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
	}
	.banner-valor-agregado__titulo {		
		padding: 0;		
		text-align: center;
	}
}
@media screen and (max-width: 560px){
	.contenedor-valor-agregado-texto{
		width: 90%;
	}
}
@media screen and (max-width: 540px){
	/*banner*/
	.banner-valor-agregado__titulo {		
		width: 7em;
		font-size: 3.5rem; 
		letter-spacing: 0;
	}
	/*compromiso social*/
	.contenedor-valor-agregado-texto__intro{
		font-size: 1.2rem;
	}
	.contenedor-compromiso-social-texto a{
		font-size: 1.2rem;
	}
	/*articulo reciente*/
	.art_reciente{
		font-size: 1.4rem;
	}
	.titulo_articulo{
		font-size: 2rem;
	}
	.autor_fecha{
		font-size: 0.8rem;
	}
	.resena_articulo{		
		font-size: 1.2rem;
	}
	.tarjeta-ultimo-articulo-texto a{		
		font-size: 1.2rem;
	}
	/*carrusel testimonios*/
	.card-testimonio{
		padding: 1em;
	}
	.comillas {
		width: 4em;
		height: 4em;		
	}
}
@media screen and (max-width: 470px){
	.contenedor-compromiso-social-texto{
		display: flex;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
	}
	.contenedor-compromiso-social-texto h2{
		text-align: center;
	}
	.contenedor-compromiso-social-texto a{
		padding-bottom: 3em;	
	}
}
@media screen and (max-width: 420px){
	.banner-valor-agregado__titulo {
		font-size: 3rem;		
	}
	.contenedor-valor-agregado-texto__intro{
		font-size: 1rem;
	}
	.contenedor-compromiso-social-texto a{
		font-size: 1rem;
	}
	/*articulo reciente*/
	.texto-entradas-anteriores h2{
		letter-spacing: 0.1em;
	}
	.texto-testimonios h2{
		letter-spacing: 0.1em;
	}
	.art_reciente{
		font-size: 1.2rem;
	}
	.titulo_articulo{
		font-size: 2rem;
	}
	.autor_fecha{
		font-size: 0.8rem;
	}
	.resena_articulo{		
		font-size: 1rem;
	}
	.tarjeta-ultimo-articulo-texto a{		
		font-size: 1rem;
	}
	/*testimonios*/
	.card-resena{
		font-size: 1rem;
	}
}
@media screen and (max-width: 360px){
	.banner-valor-agregado__titulo {
		width: 6em;
		font-size: 3rem;		
		letter-spacing: 0px;
	}
}
@media screen and (max-width: 345px){
	.contenedor-valor-agregado-texto__intro {
		font-size: 0.9rem;
	}
	.card-entrada{
		width: 18em;
	}
}




