.single-post-wrapper {

    .blog-header {
        padding: 100px 300px 0px;
        background-image: url(/wp-content/uploads/2025/10/d94c2b9b8c46cb6828aae357febbccd254bec8c7-scaled.jpg);
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        box-shadow: inset 0 -150px 150px -0px rgb(255, 255, 255);

        .blog-caption {
            display: none;
        }

        .featured-image {
            text-align: center;
            img {
                max-width: 100%;
                height: auto;
            }
        }

        .post-title {
            text-align: center;
            color: var(--couleur-4);
            font-family: Cormorant;
            font-size: 75px;
            margin-top: 50px;
            margin-bottom: 35px;
        }

        .post-meta {
            display: flex;
            justify-content: center;
            gap: 75px;
            margin-bottom: 50px;

            p, a {
                color: var(--couleur-6);
                font-family: "Gotham";
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                line-height: 20px;
            }

            .onemeta {
                display: flex;
                align-items: center;
                gap: 20px;
            }
        }
    }

    .blog-content {
        padding-inline: 300px;
    }

    .post-block + .post-block {
        margin-top: 50px;
    }

    .post-block:last-child {
        margin-bottom: 75px;
    }

    .post-footer {
        border-top: 2px solid var(--couleur-7);
        margin-top: 25px;
        padding-top: 50px;
        padding-bottom: 100px;
        margin-inline: 300px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .social-sharing-block {
            display: flex;
            column-gap: 15px;
            align-items: center;
        }

        #shareBtn {
            border: none;
            background-color: transparent;
        }

        .authormeta {
            display: flex;
            align-items: center;

            img {
                max-width: 119px;
                height: auto;
                margin-right: 35px;
            }

            .the-author-meta {
                display: flex;
                flex-direction: column;

                span {
                    font-family: "Gotham";
                    font-size: 16px;
                    font-style: normal;
                    line-height: 20px;
                    font-weight: 500;
                    color: var(--couleur-4);

                    &:nth-child(2) {
                        font-weight: 700;
                    }
                    &:nth-child(3) {
                        color: var(--couleur-7);
                    }

                    & + span {
                        margin-top: 10px;
                    }
                }

            }
        }

        .the-social-link {
            display: flex;
            align-content: center;
            svg {
                margin-left: 20px;
            }
        }
    }

    .post-other-posts {
        margin-inline: 140px;
        margin-bottom: 50px;

        .thetitle {
            color: var(--couleur-4);
            text-align: center;
            font-family: Cormorant;
            font-size: 50px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        .thetext {
            max-width: 50%;
            margin: 0 auto;

           > * {
               color: var(--couleur-6);
               text-align: center;
               line-height: 20px;
           }
        }

        .post-swiper {
            overflow: hidden;
            position: relative;
        }

        .post-swiper-button-prev {
            /*left: -30px;*/
        }

        .post-swiper-button-next {
            /*right: -30px;*/
        }

        .theswiper {
            padding-inline: 30px;
            position: relative;
            margin-top: 50px;

            .not-post-slider {
                .swiper-wrapper {
                    gap: 45px;
                    justify-content: center;

                    article {
                        flex: 0 1 33%;
                    }
                }
            }

        }

        .blog-post-item {
            display: flex;
            flex-direction: column;
            border: 1px solid var(--couleur-4);
            max-width: 465px;

            .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;
                }

            }

            .the-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);
                }
            }

        }

    }

    .post-swiper-button {

        &.theleft {
            left: 0px;
        }

        &.theright {
            right: 0px;
        }

        &::after {
            font-size: 15px;
            font-weight: 700;
            color: var(--couleur-4)
        }

    }

}

@media (max-width: 1400px) {
    .single-post-wrapper {
        .blog-header {
            padding: 50px 150px 0px;
        }
        .blog-content {
            padding-inline: 150px;
        }
        .post-footer {
            margin-inline: 150px;
        }
        .post-other-posts {
            margin-inline: 100px;
        }
    }

}

@media (max-width: 1200px) {
    .single-post-wrapper {
        .blog-header {

            .post-meta {
                align-items: center;
                flex-direction: column;
                gap: 35px;
            }

        }

    }
}

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

            .blog-caption {
                display: block;
                margin-top: 20px;
                color: var(--couleur-4);
                text-align: center;
                font-family: Cormorant;
                font-size: 20px;
                font-style: italic;
                font-weight: 600;
            }

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

            .post-meta {
                gap: 15px;
            }
        }

        .blog-content {
            padding-inline: 20px;
        }

        .post-block + .post-block {
            margin-top: 25px;
        }

        .post-block:last-child {
            margin-bottom: 25px;
        }

        .post-footer {
            padding-top: 25px;
            margin-inline: 20px;
            flex-direction: column;
            gap: 20px;
            padding-bottom: 50px;

            .authormeta {

                img {
                    max-width: 71px;
                }

                .the-author-meta  span + span {
                    margin-top: 5px;
                }

            }

            .the-social-link {
                font-size: 14px;
                display: flex;
                align-items: center;

                svg {
                    margin-left: 10px;
                }
            }

        }

        .post-other-posts {
            margin-inline: 20px;
            margin-bottom: 25px;

            .thetext {
                max-width: 85%;
            }

            .theswiper {
                margin-top: 25px;

                .not-post-slider {
                    .swiper-wrapper {
                        article {
                            flex: 0 1 50%;
                        }
                    }
                }
            }

            .blog-post-item {
                max-width: 253px;

                .post-title {
                    a {
                        font-size: 20px;
                    }
                }

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

            }
        }

        .post-swiper-button {
            display: none;
        }

        .post-other-posts {
            .post-swiper {
                overflow: visible;
            }
        }


    }
}

@media (max-width: 560px) {
    .single-post-wrapper {
        .post-other-posts {
            .theswiper {
                .not-post-slider {
                    .swiper-wrapper {
                        flex-direction: column;
                        align-items: center;

                        article {
                            flex: 0 1 100%;
                        }
                    }
                }
            }
        }
    }
}