.menubar--section {
    background-color: transparent;
    position: fixed;
    transition: background-color .3s;
}

.after-scroll .menubar--section {
    background-color: var(--theme-dk-green);
}

.portfolio-hero--section {
    position: relative;
    margin-top: 0;
}

.portfolio-hero--media-wrap {
    height: 58vw;
    min-height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px var(--theme-content-padding);
}

.portfolio-hero--video,
.portfolio-hero--vimeo,
.portfolio-hero--image,
.portfolio-hero--image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-hero--video {
    /* Optimize video rendering */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.portfolio-hero--container {
    padding:  30px var(--theme-content-padding);
    position: relative;
}

.portfolio-hero--title {
    opacity: 1;
}

.portfolio-hero--title.dt-mod {
    display: none;
}

.portfolio-hero--title.mobile-mod {
    color: #fff;
    position: relative;
    margin-bottom: 0;
}

.portfolio-hero--cta {
    margin-top: 30px;
}
@media (max-width: 991px) {
    .portfolio-hero--container.no-copy-mod.no-cta-mod {
        display: none;
    }
}

@media (min-width: 992px) {
    .portfolio-hero--title.dt-mod {
        display: block;
    }

    .portfolio-hero--title.mobile-mod {
        display: none;
    }

    .portfolio-hero--media-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .portfolio-hero--container {
        height: 58vw;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        color: #fff;
        padding-bottom: 90px;
    }

    .portfolio-hero--cta .theme-button {
        border-color: #fff;
    }

    .portfolio-hero--cta,
    .portfolio-hero--copy {
        opacity: 1;
        max-width: 700px;
    }

    .portfolio-hero--logo {
        font-size: 400px;
    }
}

@media (min-width: 1400px) {
    .portfolio-hero--container {
        height: 100dvh;
    }

    .admin-bar .portfolio-hero--container {
        height: calc(100dvh - 32px);
    }
}