/* youtube-trending.css */
.youtube-trending {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.youtube-trending-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: box-shadow 0.3s ease;
}

.youtube-trending-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.yt-thumbnail {
    flex: 0 0 160px;
}

.yt-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.yt-details {
    flex: 1;
}

.yt-title {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    line-height: 1.3;
}

.yt-title a {
    color: #1a0dab;
    text-decoration: none;
}

.yt-title a:hover {
    text-decoration: underline;
}

.yt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #606060;
}

.yt-channel,
.yt-views,
.yt-published {
    position: relative;
}

.yt-channel::after,
.yt-views::after {
    content: "•";
    margin-left: 10px;
    color: #909090;
}

.yt-views:last-child::after,
.yt-published::after {
    content: "";
}

.yt-description {
    color: #333;
    font-size: 0.9em;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Responsive */
@media (max-width: 600px) {
    .youtube-trending-item {
        flex-direction: column;
    }
    .yt-thumbnail {
        flex: 0 0 auto;
    }
    .yt-meta {
        flex-direction: column;
        gap: 3px;
    }
    .yt-channel::after,
    .yt-views::after {
        content: "";
    }
}