.video-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    width: 100%;
}

.thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #000; /* black в Tailwind */
}

.video-meta {
    font-size: 0.75rem;
    color: #888b90; /* gray-600 в Tailwind */
}

.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skip_button_icon {
    color: #888b90;
    background-color: #fff;
}

/* Медиа-запрос для адаптивности на больших экранах */
@media (min-width: 768px) {
    #recommendedVideos, #popularVideos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Реклама */
.floating-ad {
    position: fixed;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    z-index: 1000;
    transition: right 0.5s ease-in-out;
}
.floating-ad.show {
    right: 0;
}
.sticky-ad {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 1001 !important;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: auto !important;
    height: auto !important;
}
.sticky-ad ins {
    display: block !important;
    width: auto !important;
    height: auto !important;
}
.ad-slider {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    z-index: 1000;
    padding: 10px 0;
    text-align: center;
}
/** Additional styles **/
@media (min-width: 768px) {
    .md\:w-1\/3 {
        width: 33.333333%!important;
    }
}