.elementor-7 .elementor-element.elementor-element-172b745{--display:flex;}/* Start custom CSS for html, class: .elementor-element-e7dab8e *//* ===== Modern Trending Videos Grid ===== */

/* Container for the whole page section */
.trending-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
}

.trending-hero h1 {
    font-size: 2.8rem;
    margin: 0 0 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.trending-subhead {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.trending-intro, .trending-outro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.trending-outro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

/* ----- Video Grid (overriding plugin styles) ----- */
.youtube-trending {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.youtube-trending-item {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    padding: 0;  /* Remove padding from original */
}

.youtube-trending-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
}

.yt-thumbnail {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.yt-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.youtube-trending-item:hover .yt-thumbnail img {
    transform: scale(1.05);
}

.yt-details {
    padding: 20px 18px 18px;
    background: white;
}

.yt-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.yt-title a {
    color: #1a0dab;
    text-decoration: none;
    transition: color 0.2s;
}

.yt-title a:hover {
    color: #ea4335;
    text-decoration: underline;
}

.yt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #5f5f5f;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.yt-meta span {
    display: flex;
    align-items: center;
}

.yt-meta span::before {
    margin-right: 4px;
    font-size: 1.1em;
}

.yt-channel::before {
    content: "📺";
}

.yt-views::before {
    content: "👁️";
}

.yt-published::before {
    content: "⏱️";
}

/* Remove the old dots from plugin CSS */
.yt-channel::after,
.yt-views::after {
    content: "" !important;
}

.yt-description {
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trending-hero h1 {
        font-size: 2rem;
    }
    .trending-hero {
        padding: 30px 15px;
    }
    .youtube-trending {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */