@import url('https://fonts.googleapis.com/css?family=Raleway|Roboto+Condensed');

#credito-beneficios {
	padding: 0;
	margin: 0;
	background: #3b4791;
}
#credito-beneficios h4 {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: .3em;
	font-size: 1.6em;
	text-align: center;
	font-family: 'Raleway', sans-serif;

	color: #3b4791;
	/*text-shadow: 1px 1px 2px #000;*/
}
#credito-beneficios .contenedor {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
#credito-beneficios .contenedor article {
	width: 100%;
	height: auto;
	margin: 22px;
	background-color: #fff;
	border-radius: 25px;
	overflow: hidden;/* Oculta lo que sobresale de las esquinas */
}
#credito-beneficios .contenedor article p {
	font-size: 1.1em;
	margin: .7em;
	padding: 2em;
	text-align: justify;
	font-family: 'Raleway', sans-serif;
}
#credito-beneficios .contenedor article p a {
	color: steelblue;
} 
   #credito-beneficios .contenedor article p a:hover {
	color: orange;
}
#credito-beneficios article img {
	margin: auto;
	/* margin-left: 26%; */
	width: 100%;
	object-fit: cover; /* Asegura que la imagen mantenga su proporción */
}

#credito-beneficios article ul {
	text-decoration: none;
	list-style: none;
	margin: 20px 1em;
}

#credito-beneficios article .bon {
	padding: 13px;
	font-family: 'Raleway', sans-serif;
}

#credito-beneficios article .bon a {
	background-color: #dedede;
	color: rgb(12, 53, 133);
	border-radius: 5px;
	padding: 7px 10px;
	padding-right: 17px;
}
#credito-beneficios article .bon a:hover {
	background-color: rgb(12, 53, 133);
	color: rgb(255, 255, 255);
	border-radius: 10px;
}

/* Media Querys MEDIANO */
@media screen and (min-width: 768px) {

	#credito-beneficios .contenedor article {
		width: 24%;
		height: auto;
		margin: 1px 5px;
	}
	#credito-beneficios article img {
		margin: 0;
		width: 100%;
	}

}

/* Media Querys COMPLETO */
@media (min-width: 1120px) {

	#credito-beneficios .contenedor article p {
		font-size: 1em;
		margin: 1em;
		padding: 1em;
		text-align: justify;
	}
}