.block-stream {
    --bg-color: transparent;
    background-color: var(--bg-color);
    padding-block: var(--space-64);
}

.block-stream.featured {
    padding-block: 0;
}


.block-stream .stream__items {
    display: flex;
    gap: var(--space-24);
    justify-content: center;
}

.block-stream .stream__items article {
    max-width: 240px;
    max-height: 240px;
    width: 100%;
    aspect-ratio: 300 / 300;
}

.block-stream.featured .stream__items article {
    max-width: 300px;
    max-height: 300px;
    width: 300px;
    aspect-ratio: 300 / 300;
}

.block-stream .stream__items article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.ads__img.mobile {
    display: none;
}

.vertical-ads .stream__items {
    flex-direction: column;
}

.vertical-ads.block-stream {
    padding-block: 0;
}

.vertical-ads .stream__items article {
    aspect-ratio: 300 / 300;
}

@media (max-width: 768px) {
    .block-stream .stream__items {
        flex-direction: column;
        align-items: center;
    }

    .block-stream .stream__items article {
        width: 100%;
        max-width: 100%;
        max-height: initial;
        aspect-ratio: 300 / 150;
    }

    .block-stream .stream__items article img {
        aspect-ratio: 300 / 150;
        height: 100%;
        object-fit: cover;
    }

    img.ads__img.desktop {
        display: none;
    }

    img.ads__img.mobile {
        display: block;
    }

    .featured .stream__items article img {
        aspect-ratio: 300 / 300;
    }

    .featured img.ads__img.desktop {
        display: block;
    }

    .featured img.ads__img.mobile {
        display: none;
    }
}

@media (max-width: 320px) {
    .block-stream .stream__items {
        flex-direction: column;
    }
}