
.grid-layaout-post{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 20px;
}

.grid-layaout-post:hover{
	text-decoration: none;
}

.grid-layaout-post:hover *{
	text-decoration: none;
}

.grid-layaout-post__item:first-child{
	grid-column: 1 / 3;
}

.grid-layaout-post__item:first-child .grid-layaout-post__item-img{
	height: 600px;
}



.grid-layaout-post__item{
	display: block;

}


.grid-layaout-post__item-img{
	width: 100%;
	padding-bottom: 20px;
	background-position: center;
	background-size: cover;
	height: 300px;

}

.grid-layaout-post__item-img > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grid-layaout-post__item-text > h2{
	font-size: 3rem;
	color: var(--color-primary);
}

.grid-layaout-post__item-text > div{
	font-size: 2rem;
	color: #333;
}

.grid-layaout-post__item-button{
	color: #fff;
}

.grid-layaout-post__item-button{
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;
}

.grid-layaout-post__item-button > span{
	font-size: 1.3rem;
	display: inline-block;

}


.bottom-blog-articles{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 20px;
}


.bottom-blog-articles > a{
	display: block;
	width: 100%;

}

a.btn-info-to-form {
	background-color: var(--color-dark-primary);
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 2rem;
    color: #fff;
    border-radius: 12px;
    transition: all 0.5 ease;
    border: 1px solid transparent;
}

a.btn-info-to-form:hover {
	text-decoration: none;
	box-shadow: 1px 3px 5px  rgba(0,0,0,0.5);
}

.bottom-blog-articles > a:hover *{
	text-decoration: none;
}

.bottom-blog-articles > a:hover{
	text-decoration: none;
}

.bottom-blog-articles > a:hover > .text
{
	text-decoration: none;
}

.bottom-blog-articles > a > .img{
	width: 100%;
	height: 200px;
	background-size: cover;
	background-position: center;
	margin-bottom: 16px;
}

.bottom-blog-articles > a > .text > h2{
	color: var(--color-primary);
	font-size: 1.6rem;
	font-weight: bold;

}


.bottom-blog-articles > a > .text > .text-info-blog
{
	color: #333;
	font-size: 1.2rem;

}

.bottom-blog-articles > a > .button{
	padding-top: 10px;
	text-align: right;
}

.bottom-blog-articles > a > .button span{
	font-size: 1.2rem;
}

.banner-top.set-new-banner
{
	min-height: 500px !important;
	background-image: url("../../../img/banners-top/blog_v2.webp") !important;
	background-position: bottom center !important;
}

.text-showing-post img{
	display: inline-block;
	width: 100%;
  	height: auto;
}

@media (max-width: 480px) {

	.grid-layaout-post__item:first-child .grid-layaout-post__item-img{
		height: 300px;
	}

	.grid-layaout-post{
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 20px;
	}

	.grid-layaout-post__item:first-child{
		grid-column: 1 / 1;
	}

	.bottom-blog-articles{
		grid-template-columns: 1fr;
	}
}


button.btn-blog-read-more,
a.btn-blog-read-more,
p.btn-blog-read-more{
    background-color: var(--color-primary);
    color: #ffffff;
    text-transform: uppercase;
}
p.btn-blog-read-more{
    cursor: text;
    user-select: text;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    margin: 0;
}
button.btn-blog-read-more,
a.btn-blog-read-more{
    padding: 1rem 4rem;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 8px;
}
    .btn-blog-read-more:hover{
        color: #ffffff;
    }
    button.btn-blog-read-more:hover,
    a.btn-blog-read-more{
        background-color: #0063a5;
    }

.main-blog-post{
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(2, auto);
    grid-template-areas:
        "blogImage blogImage"
        "blogSearch blogContent";
    gap: 6rem;
    margin-top: 3rem;
}
    .main-blog-post .blog-image{
        width: 100%;
        grid-area: blogImage;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
        .main-blog-post .blog-image img{
            width: 100%;
            min-height: 70vh;
            object-fit: cover;
        }
        .main-blog-post .blog-image .blog-title{
            position: absolute;
            bottom: 0;
            left: 5%;
            width: min(500px, 100%);
            background-color: #ffffff;
            padding: 5vh;
        }
            .main-blog-post .blog-image .blog-title h1{
                font-size: 2.6rem;
                color: var(--color-primary);
                font-weight: 700;
                line-height: 100%;
            }
    .main-blog-post .blog-search{
        grid-area: blogSearch;
    }
    .main-blog-post .main-blog-content{
        grid-area: blogContent;
    }

    .main-blog-post .blog-search{
        display: flex;
        flex-direction: column;
    }
        .blog-search #searchBlogInput{
            border: 2px solid var(--color-primary);
            border-radius: 4px;
            padding: .8rem 1.2rem;
            font-size: 18px;
            transition: border .5s ease;
            background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cpath fill="%230070b9" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/%3E%3C/svg%3E');
            background-size: 16px;
            background-position: 95% center;
            background-repeat: no-repeat;
            background-attachment: scroll;
            width: 100%;
        }
            .blog-search #searchBlogInput:focus{
                outline: none;
                border: 2px solid #028be6;
            }

    .main-blog-post .blog-description{
        display: flex;
        flex-direction: column;
        gap: 6vh;
    }
        .main-blog-post .blog-description .blog-info{
            font-size: 1.6rem;
            line-height: 130%;
            font-weight: 300;
            color: #4F4F4F;
        }
        .main-blog-post .blog-description .blog-button-tags{
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

.blog-articles{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    row-gap: 10rem;
    margin-top: 10rem;
    margin-bottom: 6rem;
}
    .blog-articles .article-mex-post{
        display: grid;
        grid-template-rows: 220px 200px 86px;
        background-color: #F8F8F8;
        border-radius: 0 0 8px 8px;
    }
        .article-mex-post .article-header img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .article-mex-post .article-info{
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 2.5rem;
            color: #12428A;
        }
            .article-info h2{
                font-size: 2rem;
                font-weight: 600;
                line-height: 100%;
            }
            .article-info p{
                font-size: 14px;
                line-height: 130%;
                font-weight: 300;
            }
        .article-mex-post .article-footer{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2.5rem;
        }
            .article-mex-post .article-footer{
                margin: 0;
            }


.blog-detail-container{
    display: grid;
    grid-template-columns: auto auto;
    gap: 4rem;
}

    .blog-detail-container .blog-info{
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
    .blog-detail-container .blog-button-tags{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .blog-detail-container .blog-info .blog-detail-title h1{
        font-size: 3.4rem;
        color: var(--color-primary);
        font-weight: 700;
    }
    .blog-detail-container div:has( button.btn-blog-read-more),
    .blog-detail-container div:has( a.btn-blog-read-more){
        display: flex;
        gap: 2rem;
    }
        .blog-detail-container button.btn-blog-read-more,
        .blog-detail-container a.btn-blog-read-more{
            display: flex;
            justify-content: center;
            align-items: center;
            padding: initial;
            font-size: 20px;
            height: 50px;
            width: 50px;
        }

@media(max-width: 992px){
    .main-blog-post{
        grid-template-rows: repeat(3, auto);
        grid-template-columns: auto;
        grid-template-areas:
            "blogImage"
            "blogContent"
            "blogSearch";
        gap: 3rem;
        margin-top: 0;
    }
        .main-blog-post .blog-search{
            margin-top: 6rem;
        }
    .main-blog-post .blog-image .blog-title{
        position: initial;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0;
        margin-top: 1rem;
    }
        .main-blog-post .blog-image .blog-title h1{
            font-size: 2rem;
        }
    .blog-articles{
        margin-top: 4rem;
        grid-template-columns: auto;
    }
    .blog-detail-container{
        grid-template-columns: 1fr;
    }
    .blog-detail-container .blog-button-tags{
        flex-direction: column-reverse;
    }
    .main-blog-post .blog-image img{
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
    }
}
