/* News & Scandals Specific Styles */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.news-filters {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.news-filter-btn {
    background-color: var(--surface);
    color: var(--text-base);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.news-filter-btn:hover,
.news-filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background-color: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.news-card-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #111;
    overflow: hidden;
}

.news-card-media img,
.news-card-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.badge-news { background-color: #3b82f6; }
.badge-scandal { background-color: #ef4444; }
.badge-viral { background-color: #f59e0b; }

.news-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-base);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    font-size: 14px;
    color: var(--text-subdued);
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.read-more-btn {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: #4ade80;
}

/* News Detail Styles */
.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 0;
}

.news-detail-header {
    margin-bottom: 24px;
}

.news-detail-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-base);
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-subdued);
    font-size: 14px;
    margin-bottom: 24px;
}

.news-detail-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    background: #000;
}

.news-detail-media img,
.news-detail-media video,
.news-detail-media iframe {
    width: 100%;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-base);
}

.news-detail-content p {
    margin-bottom: 16px;
}

.related-news-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.related-news-section h3 {
    margin-bottom: 24px;
    font-size: 24px;
}
