header:has(+.parthenon-hero) {
    @media (min-width: 64em) {
        background: linear-gradient(68.66deg, #672D89 19.28%, #9C2463 100%);
        box-shadow: 0 0 10px rgba(0,0,0,0);

        +.parthenon-hero {
            margin-top: 70px;
        }

        &:has(+.background-repeat) {
            box-shadow: 0 2px 8px 4px rgba(0,0,0,0.8);
        }
    }
}

.parthenon-hero {
    width: 100%;

    &.background-repeat {
        --blur-radius: 8px;
        position: relative;

        & > * {
            z-index: 1;
        }

        .container {
            display: flex;
            justify-content: center;
            position: relative;

            & > * {
                z-index: 1;
            }
        }

        .hero-background {
            position: absolute;
            top: 0;
            bottom: 0;
            z-index: -1;
            width: 50%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: auto 200%;
            background-blend-mode: overlay;
            filter: blur(var(--blur-radius));
            -webkit-filter: blur(var(--blur-radius));
            overflow: hidden;
          

            &.left {
                left: 0;
                background-position: 0% var(--blur-radius);
            }

            &.right {
                right: 0;
                background-position: 100% var(--blur-radius);
            }
        }

        .hero-content {
            position: relative;

            & > *:not(.hero-image) {
                position: absolute;
                transform: translate(-50%, -50%);
            }

            h1 {
                top: 50%;
                left: 50%;
            }

            .title {
                width: 55%;
                position: absolute;
                top: 75%;
                left: 50%;
                transform: translate(-50%, -50%);
                color: white;
                background-color: rgba(54, 28, 74, 0.85);
                backdrop-filter: blur(4px);
                border: 3px solid var(--dark-purple);
                border-radius: 8px;
        
                .top {
                    font-family: 'Roboto', sans-serif;
                    font-weight: 600;
                    letter-spacing: 0.2em;
                }
        
                .middle-front, .middle-back {
                    position: absolute;
                    font-family: 'Yantramanav', sans-serif;
                    font-weight: 900;
                    transform: scale(1.7, 1.7);
                    letter-spacing: 0.17em;
                }
        
                .middle-back {
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 97px;
                }
        
                .bottom {
                    font-family: 'Palatino', sans-serif;
                    letter-spacing: 0.15em;
                }
        
                .subtext {
                    font-family: 'Roboto', sans-serif;
                    letter-spacing: 0.13em;
                }
            }



            @media (min-width: 768px) {
                .hero-content .title {
                    padding: 12px 8px;
                }
            }
        
            @media (min-width: 1400px) {
                .title {
                    top: 50%;
                    left: 0;
                    transform: translate(0, -50%);
                    padding: 16px;
                }
            }
        }

        .hero-image {
            height: 100%;
            mask-image: 
                /* linear-gradient(
                    rgba(0,0,0,0.2),
                    rgba(0,0,0,1) 5% 95%,
                    rgba(0,0,0,0.85)
                ), */
                linear-gradient(
                    to right,
                    rgba(0,0,0,0),
                    rgba(0,0,0,1) 5% 95%,
                    rgba(0,0,0,0)
                );
            max-height: calc(77vh - 70px);
        }

        @media (min-width: 64em) {
            margin-top: calc(70px - var(--blur-radius)) !important; 
        }
    }
}