.hdp {
    &.home {
        color: #fff;
        padding: 150px 0;
        position: relative;
        min-height: 800px;
        align-items: center;
        display: flex;
        height: 100vh;

        &>.container {
            align-items: center;

            .hdp__content {
                @media (min-width: 992px) {
                    max-width: 70%;
                }

                &>.hdp__title {
                    text-transform: uppercase;
                    margin-bottom: 30px;
                }

                .section__btn {
                    .bouton {
                        background: var(--gold) !important;

                        &:hover {
                            background: var(--gold-hover) !important;
                        }
                    }
                }

                .follow {
                    display: flex;
                    gap: 20px;
                    margin-top: 50px;

                    .socials {
                        .socials__item {
                            &>a {
                                width: 20px !important;
                                height: 20px !important;

                                &:hover {
                                    opacity: 0.6;
                                }
                            }

                            &:has([data-social="mail"]) {
                                display: none !important;
                            }
                        }
                    }
                }
            }
        }
    }

    &:not(.home) {
        &:before {
            opacity: 0.7 !important;
        }
    }

    &:has(.hdp__content .hdp__breadcrumb) {
        .container {
            padding-top: 30px !important;

            @media (min-width: 992px) {
                padding-top: 100px !important;
            }
        }
    }

    &.hdp--head {
        position: relative;
        display: flex;
        align-items: center;
        z-index: 1;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        min-height: 350px;
        /* @media (min-width: 768px) {          
            padding: 120px 0 0;
        }
        @media (min-width: 992px) {
            min-height: 600px;
            padding: 160px 0 0;
        }
        @media (min-width: 1200px) {
            padding: 200px 0 0;
        }
        @media (min-width: 1400px) {
            padding: 220px 0 0;
        } */

        &:before {
            content: '';
            background: var(--dark) !important;
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: 2;
            opacity: 0.18;
        }

        .container {
            height: 100%;
            display: flex;
            z-index: 3;
            position: relative;

            .hdp__content {
                &>span {
                    text-align: left;
                }

                & .rank-math-breadcrumb {
                    & a {
                        color: var(--red) !important;
                    }
                }

                &>.hdp__title {
                    margin-top: 10px !important;
                }

                * {
                    color: var(--white);
                }

                .section__btn {
                    margin: auto;
                }

                @media (max-width: 767px) {
                    padding-top: 80px;
                }

                .cta {
                    margin: auto;
                }

                .hdp__intro {
                    max-width: 960px;
                    margin: 0 0 20px 0;
                    color: var(--dark-grey);

                    p {
                        margin: 0;
                    }
                }
            }
        }
    }
}