.homepage-videos-container {
    margin: 30px 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.homepage-videos-header {
    margin-bottom: 20px;
    text-align: center;
}

.homepage-videos-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 0;
}

/* === CINEMA LAYOUT === */
.homepage-videos-wrapper.cinema-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.homepage-video-item.cinema-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 300px;
    max-width: 100%;
    margin: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    overflow: hidden;
}

.homepage-video-item.cinema-item .video-embed-container {
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

/* === GRID LAYOUT === */
.homepage-videos-wrapper.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* === LIST LAYOUT === */
.homepage-videos-wrapper.list-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === VIDEO ITEM === */
.homepage-video-item {
    background: transparent;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}

/* === VIDEO CONTAINER === */
.video-embed-container {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 4px;
}

/* Соотношения сторон */
.video-embed-container.aspect-16-9 {
    padding-bottom: 56.25%;
}

.video-embed-container.aspect-4-3 {
    padding-bottom: 75%;
}

.video-embed-container.aspect-21-9 {
    padding-bottom: 42.85%;
}

.video-embed-container.aspect-1-1 {
    padding-bottom: 100%;
}

.video-embed-container iframe,
.video-embed-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 4px;
}

/* === TITLE === */
.video-title {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .homepage-video-item.cinema-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .homepage-videos-wrapper.grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-video-item.cinema-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .homepage-videos-wrapper.grid-layout {
        grid-template-columns: 1fr;
    }
    
    .homepage-videos-container {
        padding: 0 10px;
    }
    
    .homepage-videos-title {
        font-size: 20px;
    }
}