.single-banner {
    position: relative;
    z-index: 0;
    background-color: #000;
    margin-block-start: 0 !important;
    padding: 40px 1rem;
    &::after {
        content:" ";
        right: 0;
        bottom: 0;
        z-index: 1;
        background-image: url('../../images/banner-bg.svg');
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: auto 664px;
        position: absolute;
        width: 100%;
        height: 100%;
    }
    & > .container {
        z-index: 2;
    }
}

.single-banner__image {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: .55;
    z-index: 0;
}

.single-banner__info {
    flex-direction: column;
    justify-content: center;
    height: 100%;
    display: flex;
    margin-bottom: 40px;
}

.single-banner__postcat {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    row-gap: 10px;
    justify-content: center;
    li {
        padding: 3px 8px;
        background-color: rgba(255,255,255, .21);
        color: var(--wp--preset--color--accent-2);
        font-size: 0.688rem;
        border-radius: 4px;
    }
}

.single-banner__button {
    text-align: center;
}

.single-banner__posttitle,
.single-banner__postcontent {
    color: var(--wp--preset--color--accent-2);
}

.single-banner__posttitle {
    font-size: clamp(2.188rem, 0.559vw + 1.829rem, 2.5rem);
    text-align: center;
}

.single-banner__postcontent {
    line-height: 1.688rem;
    size: 1.063rem;
    text-align: center;
    a {
        color: var(--wp--preset--color--accent-2);
    }
}

.single-banner__video {
    figure {
        position: relative;
        width: 100%;
        height: 202px;
        margin-bottom: 40px;
        border-radius: 9px;
        overflow: hidden;
        .single-banner__playbtn {
            position: absolute;
            z-index: 1;
            width: 63px;
            height: 63px;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
        }
        button {
            background-color: transparent;
            border: none;
            width: 100%;
            height: 100%;
            padding: 0;
            svg {
                position: relative;
                path {
                    transition: stroke .25s ease;
                }
            }
            &:hover {
                cursor: pointer;
                svg {
                    path {
                        stroke: var(--wp--preset--color--accent-1);
                    }
                }
            }

        }
        video {
            position: relative;
            z-index: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
    }
}

.single-banner__embed-placeholder {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: calc(56.25% + 23px); /* 16:9 aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.single-banner__embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-banner__embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contentvid__fallback {
    padding: 2rem;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.single-banner__video.video-loading {
    opacity: 0.8;
}

.single-banner__video.video-playing {
    opacity: 1;
}

@media ( max-width: 767px) {
    .single-banner__postcat {
        display: block;
        li {
            display: inline-block;
            margin-left: 5px;
            margin-right: 5px;
            &:first-child {
                margin-left: 0;
            }
            &:last-child {
                margin-right: 0;
            }
        }
    }
}

@media ( min-width: 768px) {
    .single-banner {
        height: 590px;
    }

    .single-banner__posttitle {
        text-align: left;
    }

    .single-banner__postcat {
        justify-content: flex-start;
        display: block;
        li {
            display: inline-block;
            margin-right: 5px;
            &:last-child {
                margin-right: 0;
            }
        }
    }

    .single-banner__postcontent {
        text-align: left;
    }
    .single-banner__button {
        text-align: left;
    }

    .single-banner__content {
        display: flex;
        flex-direction: row;
        height: calc(100% - 30px);
        justify-content: flex-start;
    }

    .single-banner__info {
        flex: 50% 0 1;
        margin-bottom: 0;
    }
    
    .single-banner__video  {
        flex: calc(50% - 25px) 0 1;
        margin-left: auto;
        figure {
            margin-bottom: 0;
            height: 280px;
        }
        display: flex;
        align-items: center;
    }
}

@media ( min-width: 1024px) {

}

@media ( min-width: 1280px) {
    .single-banner {
        height: 650px;
    }

    .single-banner__info {
        flex: 50% 0 1;
        max-width: 590px;
    }
    .single-banner__video {
        flex: 45% 0 1;
        max-width: 538px;
        figure {
            height: 325px;
        }
    }
}