.root {
    position: relative;
    width: 360px;
    height: 640px;
    flex-shrink: 0;
    border-radius: var(--border-radius-sm);
    aspect-ratio: 9/16;
    overflow: hidden;
    color: var(--color-text-primary-inverted);
    padding: var(--spacing-24);
    background-color: var(--color-bg-fill-alpha-black-10);
    background-position: 50% 50%;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mediaContainer {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    overflow: hidden;
}

.media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.mediaHidden {
    display: none;
}

.playButton {
    position: absolute;
    cursor: pointer;
}

.infoContainer {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

@media screen and (width <= 768px) {
    .root {
        width: 278px;
        height: 494px;
        padding: var(--spacing-16);
    }
}
