/**
 * Aimeos Theme
 * @license MIT, https://opensource.org/license/MIT
 */

:is(.video, .aimeos-video) > .container > .title {
    position: relative;
    margin: 0 0 1.5rem;
    padding-top: 4.7rem;
    color: var(--pico-contrast);
    font-size: calc(var(--pico-font-size) * 1.1);
    font-weight: 700;
    letter-spacing: 0.025em;
    text-align: center;
    text-transform: uppercase;
}

:is(.video, .aimeos-video) > .container > .title::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: calc(50% - 1rem);
    width: 2rem;
    height: 2rem;
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23B09050' d='M8 5v14l11-7L8 5Zm2 3.5 5.5 3.5-5.5 3.5v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(-4px 3px #C2E0FF);
}

:is(.video, .aimeos-video) > .container > .title::after {
    position: absolute;
    inset-block-start: 2.5rem;
    inset-inline-start: calc(50% - 3.5rem);
    width: 7rem;
    height: 0.7rem;
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 14'%3E%3Cpath fill='none' stroke='%23B09050' d='M0 4h8m3 0h101M28 9h112'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(.video, .aimeos-video) .video-button {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 2.5rem auto 0;
    overflow-wrap: anywhere;
}

:is(.video, .aimeos-video) video {
    display: block;
    width: min(100%, 48rem);
    height: auto;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: var(--pico-contrast);
    box-shadow: 1.5rem 1.5rem 2rem #10305024;
    object-fit: contain;
}
