.blog-template-wrapper {

    .container-header {
        padding: 150px 220px 100px;
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: inset 0 -150px 150px -0px rgb(255, 255, 255);
    }

    .container-posts {
        padding: 0px 220px 50px;
    }

    .blog-header {

        .post-thumbnail {
            flex: 1 1 66%;
            img {
                max-width: 100%;
                height: auto;
            }
        }

        .post-content-wrapper {
            flex: 1 1 34%;
            box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
        }

        .title-part {
            text-align: center;
            margin-bottom: 50px;

            .blogcaption {
                color: var(--couleur-4);
                text-align: center;
                font-family: Cormorant;
                font-size: 50px;
                font-style: italic;
                font-weight: 500;
                line-height: normal;
            }

            .titlecaption {
                color: var(--couleur-4);
                font-family: Cormorant;
                font-size: 75px;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
            }
        }

        .post-part {
            display: flex;
            align-items: center;

            .post-content-wrapper {
                position: relative;
                left: -100px;
                background-color: #fff;
                padding: 50px 50px 55px;

                .post-header {
                    color: var(--couleur-4);

                    .thedate {
                        margin-bottom: 10px;
                        color: #8B827C;
                    }

                    .post-title {
                        font-size: 35px;
                        font-style: italic;
                        font-weight: 600;
                        margin-bottom: 20px;
                        font-family: var(--font-cormorant);
                        color: var(--couleur-4);
                    }
                }

                .post-excerpt {
                    margin-bottom: 20px;
                    line-height: 20px;
                }

                .read-more {
                    font-family: Cormorant;
                    font-size: 25px;
                    font-weight: 700;
                    padding-bottom: 5px;
                    border-bottom: 2px solid #3A271A;
                }


            }
        }
    }

    .parcourez-title {
        color: var(--couleur-4);
        font-family: Cormorant;
        font-size: 50px;
        font-weight: 700;
        max-width: 50%;
        margin-bottom: 20px;
    }

    .filters-wrapper {
        display: flex;
        margin-bottom: 50px;

        .category-selector {
            flex: 1 1 100%;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            row-gap: 15px;
            column-gap: 50px;

            .category-link {
                padding-block: 15px;
                color: var(--couleur-4);

                &.category-active {
                    padding-inline: 30px;
                    font-weight: 700;
                    background-color: var(--couleur-4);
                    color: #fff;
                }
            }
        }

        .sort-selector {
            flex: 1 1 auto;

            select {
                border: 1px solid var(--couleur-4);
                color: var(--couleur-4);
                padding: 15px 35px;
                font-family: Gotham;
                font-weight: 700;
                border-radius: 0px;
                width: 100%;

                &::picker-icon {
                    display: none;
                }

                option {
                    font-family: Gotham;
                    color: var(--couleur-4);
                    border-style: solid;
                    border-width: 0px;
                    border-left-width: 1px;
                    border-right-width: 1px;

                    &:first-child {
                        border-top-width: 1px;
                    }

                    &:last-child {
                        border-bottom-width: 1px;
                    }
                }
            }
        }
    }

    .blog-posts-list {
        display: grid;
        grid-template: repeat(1, 1fr) / repeat(3, 1fr);
        column-gap: 33px;
        row-gap: 30px;

        .blog-post-item {
            display: flex;
            flex-direction: column;
            border: 1px solid var(--couleur-4);
            /*height: 515px;*/

            .post-thumbnail img {
                width: 100%;
                height: auto;
            }

            .post-content-wrapper {
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .post-title  {
                text-align: center;

                a {
                    color: #3A271A;
                    font-family: Cormorant;
                    font-size: 35px;
                    font-style: italic;
                    font-weight: 600;
                    line-height: normal;
                }

            }

            .post-footer {
                margin-bottom: 50px;
                text-align: center;

                a {
                    color: var(--couleur-5);
                    font-family: Cormorant;
                    font-size: 25px;
                    font-weight: 700;
                    padding-bottom: 5px;
                    border-bottom: 2px solid var(--couleur-5);
                }
            }

        }

    }

}

@media (max-width: 1200px) {
    .blog-template-wrapper {
        .container-header {
            padding: 150px 120px 100px;
        }
        .container-posts {
            padding: 0px 120px 50px;
        }
        .parcourez-title {
            max-width: 80%;
        }
    }
}

@media (max-width: 1000px) {
    .blog-template-wrapper {
        .container-header {
            .blog-header {
                .post-part {
                    flex-direction: column;
                    .post-content-wrapper {
                        left: 0px;
                    }
                }
            }
        }
        .blog-posts-list {
            .blog-post-item {
                .post-title {
                    a {
                        font-size: 27px;
                    }
                }
            }
        }
    }
}


@media (max-width: 768px) {
    .blog-template-wrapper {
        .container-header {
            padding: 50px 20px 0px;

            .blog-header {
                margin-bottom: 30px;

                .title-part {
                    margin-bottom: 20px;

                    .blogcaption {
                        color: #3A271A;
                        font-family: Cormorant;
                        font-size: 20px;
                        font-style: italic;
                        font-weight: 600;
                        line-height: normal;
                    }
                    .titlecaption {
                        color: #3A271A;
                        text-align: center;
                        font-family: Cormorant;
                        font-size: 45px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: normal;
                    }

                }

                .post-part {

                    .post-content-wrapper {
                        top: -20px;
                        margin-inline: 20px;
                        padding: 20px 20px 25px;

                        .thedate {
                            font-size: 14px;
                        }

                        .post-title {
                            font-size: 20px;
                            margin-bottom: 10px;
                        }

                        .post-excerpt {
                            margin-bottom: 10px;
                        }

                        .post-footer a {
                            font-size: 16px;
                        }
                    }
                }
            }

        }
        .container-posts {
            padding: 50px 20px 0px;

            .parcourez-title {
                text-align: center;
                font-size: 35px;
                max-width: 100%;
                margin-bottom: 25px;
            }

            .filters-wrapper {
                margin-bottom: 25px;

                .sort-selector {
                    display: none;
                }

                .category-selector {
                    justify-content: center;
                    .category-link {
                        column-gap: 35px;
                    }

                }
            }

            .blog-posts-list {
                grid-template: repeat(1, 1fr) / repeat(2, 1fr);

                .blog-post-item {
                    /*height: 253px;*/

                    /*.post-thumbnail img {
                        max-height: 84px;
                    }*/

                    .read-more {
                        font-size: 16px;
                    }

                    .post-footer {
                        margin-bottom: 25px;
                    }
                }
            }

        }
    }

}


@media (max-width: 560px) {
    .blog-template-wrapper {
        .blog-posts-list {
            .blog-post-item {
                .post-title {
                    a {
                        font-size: 20px;
                    }
                }
            }
        }
    }
}