/* Ninth Sidebar Trends Styles */
.ninth-trends-sidebar {
    width: 350px;
    background: #ffffff;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit;
    position: relative;
}

.ninth-trends-sidebar * {
    box-sizing: border-box;
}

.ninth-trends-section {
    width: 100%;
}

.ninth-trends-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2c2c2c;
    margin-bottom: 25px;
    font-family: inherit;
}

.ninth-trends-container .ninth-loading {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 13px;
    font-family: inherit;
}

.ninth-trends-container .ninth-error {
    text-align: center;
    padding: 15px;
    color: #dc3545;
    font-size: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-family: inherit;
}

.ninth-article-wrapper {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
}

.ninth-article-wrapper:last-child {
    margin-bottom: 0;
}

.ninth-article-item {
    display: flex;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.ninth-article-wrapper:last-child .ninth-article-item {
    border-bottom: none;
    padding-bottom: 0;
}

.ninth-article-item:hover {
    transform: translateX(3px);
}

.ninth-article-image {
    width: 70px;
    height: 55px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    filter: grayscale(100%);
}

.ninth-article-item:hover .ninth-article-image {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.ninth-article-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ninth-article-meta {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: inherit;
    margin-bottom: 6px;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.ninth-article-meta-item {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

.ninth-article-meta-item:not(:last-child)::after {
    content: '•';
    color: #6c757d;
    margin: 0 6px;
    font-weight: bold;
    position: relative;
    top: -1px;
}

.ninth-article-meta-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ninth-article-meta-item:hover::before {
    width: 100%;
}

.ninth-article-meta-item:hover {
    color: #000000;
}

.ninth-article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #000000;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    font-family: inherit;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ninth-article-title:hover {
    color: #495057;
}

.ninth-article-excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
    font-family: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ninth-article-number {
    position: absolute;
    left: 0;
    top: 8px;
    background: #000000;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    font-family: inherit;
    border: 1px solid #000000;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .ninth-trends-sidebar {
        width: calc(100% - 40px);
        padding: 20px 15px;
        margin: 0 20px 30px 20px;
    }
    
    .ninth-article-wrapper {
        margin-bottom: 15px;
    }
    
    .ninth-article-item {
        padding-bottom: 15px;
    }
    
    .ninth-article-image {
        width: 60px;
        height: 45px;
    }
    
    .ninth-article-title {
        font-size: 14px;
    }
    
    .ninth-article-excerpt {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ninth-trends-sidebar {
        margin: 0 10px 20px 10px;
        padding: 20px 15px;
        width: calc(100% - 20px);
    }
}