#blog-section {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* margin-top: 30px; */
}

.paragraph{
	text-align: justify;
}

#blog-section .blog__title {
	background-color: var(--color-accent);
	width: 100%;
	height: 100%;
	min-height: 400px;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	max-height: 400px;
	align-items: center;
}

#blog-section .blog__title-info {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 30px;
	font-size: 14px;
}
#blog-section .blog__title .secondary-button {
	border-color: #fff;
	padding: 5px 20px;
}

#blog-section .blog__title p {
	color: #fff;
}

#blog-section .title__text {
	color: #fff;
	z-index: 1;
	margin-top: 20px;
	line-height: 1.5;
	font-size: 50px;
}

#blog-section.blog-4 .title__text {
	font-size: 40px;
}

#blog-section.blog-2 .title__text,
#blog-section.blog-3 .title__text,
#blog-section.blog-6 .title__text{
	font-size: 35px;
}

#blog-section.blog-5 .blog__title-text{
	max-width:370px;
}

#blog-section.blog-5 .title__text {
	font-size: 34px;
}

#blog-section.blog-5 .blog__content p:nth-child(3) {
    font-size: 20px;
	color:var(--color-primary);
}

#blog-section.blog-5 .img-text-container .paragraph{
    font-size: 14px;
}

#blog-section.blog-5 .blog__img-container {
	float:right;
	margin:0;
 }

#blog-section.blog-5 .blog__img-container img {
   width: 370px;
   height:auto;
   margin-left:30px;
}

#blog-section.blog-5 .img-text-container h5{
    font-size: 20px !important;
}

#blog-section.blog-6 ul{
	margin-bottom:20px;
}

#blog-section.blog-6 .blog__content li{
	list-style-type: disc;
	color:var(--color-secondary);
	margin-left:20px;
	font-size:14px;
	margin-bottom:5px;
}

/* CLASE PARA LOS PARRAFOS RESALTADOS DE ARRIBA */
.strong-text{
	font-weight:700 !important;
	color:var(--color-primary) !important;
	font-size:20px !important;
	text-align: justify;
	padding-bottom: 20px;
}

.light{
	font-weight: normal;
}

#blog-section .blog__title-text {
	max-width: 320px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	margin: 0 auto;
	height: 100%;
	max-height: fit-content;
}

#blog-section.blog-3 .blog__title-text {
	max-width: 335px;
}

#blog-section.blog-4 .paragraph a{
	color:var(--color-accent);
}

#blog-section.blog-4 .blog__img-container .img-1{
	width: 100%;
	height: 100%;
}

#blog-section.blog-4 .blog__img-container .img-2{
	width: 100%;
	height: 100%;
}

@supports (-webkit-appearance: none) and (not (overflow-anchor: none)) {
	#blog-section .blog__title-text {
		margin: auto;
	}
}

#blog-section .blog__title-img {
	height: 100%;
	width: 100%;
	max-height: 400px;
	display: flex;
	justify-self: end;
	/* background-image: url(../assets/img/blog1-img.png);
	background-size: cover; */
}

#blog-section .blog__title-img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: left;
}

#blog-section.blog-2 .blog__title-img img {
	object-position: top right;
}

#blog-section.blog-3 .blog__title-img img {
	object-position: top;
}

#blog-section .blog__content {
	border-bottom: 1px solid var(--color-secondary);
	max-width: 1024px;
	margin: 60px auto;
	padding-bottom: 40px;
}

.blog__content a {
	text-decoration: underline;
	transition: color 0.2s linear;
}

#blog-section a:hover {
	color: var(--color-accent);
}

#blog-section .blog__content h5 {
	color: var(--color-accent);
	padding: 30px 0;
	font-size: 20px;
	font-weight: 600;
}
#blog-section .blog__content h2 {
	font-size: 20px;
	font-weight: 600;
	color: var(--color-primary);
	padding: 60px 0 30px;
}

#blog-section .blog__content p {
	font-size: 14px;
	color: var(--color-secondary);
	padding-bottom: 10px;
}

#blog-section .blog__content p:first-of-type {
	padding-bottom: 20px;
	font-size: 20px;
	color: var(--color-primary);
}

.blog__img-container {
	width: fit-content;
	margin: 40px auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.blog__img-container img {
	height: 300px;
	width: 400px
}

#blog-section.blog-3 .blog__img-container img{
	width: auto;
}

.blog__content .secondary-button {
	padding-left: 13px;
	text-decoration: none;
	margin-bottom: 30px;
	background-color: #fff;
	transition: border-color 0.4s linear, color 0.4s linear;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.blog__content .secondary-button:hover {
	border-color: var(--color-secondary);
	color: var(--color-secondary) !important;
}

.blog__content .secondary-button span {
	font-size: 14px;
}

#blog-index {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 60px;
}
#blog-index .section__title {
	text-transform: uppercase;
}

#blog-index .title__text {
	max-width: 1200px;
	text-align: center;
	margin: 0 30px;
	color: var(--color-accent);
}

.blog__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-top: 40px;
	row-gap: 100px;
	margin: 0 auto 80px;
	width: 100%;
	max-width: 1050px;
}

.blog__list .blog__entry:last-of-type {
	align-self: flex-start;
}

.blog__entry .blog__entry-info p:last-of-type {
	transition: font-weight 0s linear;
}
.blog__entry a:hover .blog__entry-info p:last-of-type {
	font-weight: 600;
}

#other-posts {
	width: 100%;
	max-width: 1024px;
}
#other-posts h3 {
	font-size: 24px;
	color: var(--color-accent);
	font-weight: 600;
}

#other-posts .other-posts__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 40px 0;
}

.other-posts__list .blog__entry {
	max-width: 450px;
}
@media (width <= 1200px) {
	#blog-section .blog__content,
	#other-posts .other-posts__list {
		margin: 40px 30px;
	}
	#other-posts h3 {
		margin: 30px;
	}
	#blog-section .blog__content p:first-of-type {
		padding-bottom: 30px;
	}
	.blog__list {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 40px 30px 0;
		row-gap: 40px;
	}
	.blog__list .blog__entry:last-of-type {
		align-self: center;
	}
}
@media (width <= 1024px) {
	#blog-section .blog__title-img img {
		object-position: center;
	}
	
	#blog-section .blog__title-text {
		padding: 10px;
	}
	#other-posts .other-posts__list {
		flex-wrap: wrap;
	}

	#blog-section.blog-4 .title__text{
		font-size: 35px;
	}
}
@media (width <= 768px) {
	#blog-section {
		margin-top: 0;
	}

	#blog-section .blog__title {
		width: 100%;
		height: 100%;
		min-height: 400px;
		display: flex;
		flex-direction: column;
		align-items: center;
		max-height: 100%;
	}

	#blog-section .blog__title-text {
		margin: 60px 30px;
		align-items: center;
		max-width: initial;
		padding: 0;
	}

	#blog-section .title__text {
		margin: 0;
		text-align: center;
	}

	#blog-section.blog-3 .blog__title-text {
		max-width: unset;
	}

	.blog__img-container img {
		height: auto;
		width: 50%;
	}

	#blog-section.blog-4 .blog__content{
		max-width: 100%;
	}

	#blog-section.blog-4 .blog__content img{
		max-width: 80%;
		height: auto;
	}

	#blog-section.blog-5 .blog__img-container {
		float: none;
		margin: 20px;
		justify-self: center;
	}

	#blog-section.blog-5 .blog__img-container img{
		margin:0;
	}
}

@media (width <= 425px) {
	.blog__img-container img {
		width: 100%;
	}

	#blog-section.blog-5 .blog__img-container img{
		width:100%;
	}
}
