.hdp, .hdp_home, .hdp_not_home, .form:has(.form_hdp) {
    @media (max-width: 991px) {
        overflow: hidden !important;
    }
}

.hdp_not_home {
    overflow: hidden;
    background: var(--dark);
    position: relative;
    padding-bottom: 0px !important;
    min-height: 550px;
    display: flex;
    justify-content: end;
    align-items: end;

    @media (min-width: 1200px) {
        padding-bottom: 80px !important;
    }

    &:not(.img_bg) {
        &:after {
            content: '';
            background: var(--radial-gradient);
            width: 85%;
            height: 200%;
            position: absolute;
            bottom: 47%;
            z-index: 0;
            transform: translate(-65%, 70%);
            pointer-events: none;
            z-index: 0;
        }
    }

    .hdp__video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;

        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }



    &.img_bg {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: relative;

        &:before {
            content: '';
            background: linear-gradient(90deg, rgba(80, 120, 240, 1) 0%, rgba(80, 120, 240, 0) 80%);
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0px;
            transform: translate(0%, 0%);
            z-index: 0;
        }

        &:after {
            content: '';
            background: linear-gradient(180deg, rgba(8, 12, 24, 1) 0%, rgba(8, 12, 24, 0) 98%);
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            transform: translateY(0%);
            z-index: 0;
        }
    }

    .container {
        z-index: 2;
    }

    .hdp__content {
        display: flex;
        position: relative;
        align-items: end;
        flex-direction: column;
        gap: 40px;

        @media (min-width: 1200px) {
            flex-direction: row;
            gap: 0px;
        }

        .hdp__text {
            color: var(--white);

            @media (min-width: 1200px) {
                min-height: 250px;

                .hdp__intro {
                    max-width: 485px;
                }
            }

            @media (max-width: 1199px) {
                width: 100% !important;
            }

            @media (max-width: 1200px) {
                text-align: center;
            }


            .galerie_logos {
                justify-content: center;
                display: flex;
                flex-wrap: wrap;
                gap: 25px;

                @media (min-width: 1200px) {
                    justify-content: start;
                }

                .galerie_logo {
                    border: 1px solid rgba(255, 255, 255, 0.33);
                    border-radius: 8px;
                    width: 160px;
                    height: 120px;
                    padding: 15px;
                    transition: var(--transition);

                    &:hover {
                        border: 1px solid var(--white);

                        img {
                            filter: none;
                            opacity: 1;
                        }
                    }

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        filter: brightness(100);
                        opacity: 0.75;
                        transition: opacity 0.3s ease-in-out;
                    }
                }
            }
        }

        .hdp__image {
            width: 100%;
            height: 100%;
            text-align: center;
            transform: translate(10%, 17%);

            @media (min-width: 768px) {
                transform: translate(20%, 17%);
            }

            @media (min-width: 1200px) {
                position: absolute;
                right: 0px;
                display: flex;
                justify-content: end;
                bottom: 0px;
                width: 720px;
                height: 520px;
            }

            @media (min-width: 1400px) {
                transform: translate(26%, 17%);
            }

            @media (min-width: 1600px) {
                transform: translate(38%, 17%);
            }

            @media (min-width: 1800px) {
                transform: translate(50%, 17%);
            }

            @media (min-width: 2000px) {
                transform: translate(70%, 17%);
            }
        }
    }

    .hdp__article-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
        color: #666;
    }

    .hdp__article-meta span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: 7px;
    }

    .hdp__article-meta i {
        font-size: 0.8rem;
        opacity: 0.7;
    }

    @media (max-width: 768px) {
        .hdp__article-meta {
            gap: 0.5rem;
        }
    }
}

.single-post .hdp_not_home {
    justify-content: center;
    align-items: center;
    padding: 30px 0 !important;

    .hdp__text {
        min-height: 0px !important;

        @media (min-width: 1200px) {
            .hdp__title {
                h1 {
                    color: var(--blue);
                    font-style: italic;
                }
            }
        }

        @media (max-width: 1199px) {
            .hdp__article-meta {
                justify-content: center;
            }
        }
    }
}

.post-info {
    padding: 0 0 0 10px;
    border-left: 1px rgba(16, 24, 48, 0.33) solid;
    color: var(--white);
}

.post-info:first-child {
    padding: 0;
    margin: 0;
    border: none;
}

.post-info span {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: inline-block !important;
}