:root {
    --primary-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.top-bar {
    font-size: 0.9rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--dark-color);
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.section-title {
    font-weight: 700;
    font-size: 1.75rem;
}

/* Featured Cards */
.featured-card {
    display: block;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
}

.featured-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.featured-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    transition: color 0.3s;
}

.featured-card:hover .featured-title {
    color: #ff6b6b;
}

.featured-excerpt {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Article Cards */
.article-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.article-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover img {
    transform: scale(1.1);
}

.article-card .card-title a {
    transition: color 0.3s;
}

.article-card .card-title a:hover {
    color: var(--primary-color) !important;
}

/* Video Cards */
.video-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    background: #000;
}

.video-thumbnail img {
    height: 200px;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.video-card:hover .video-thumbnail img {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-card:hover .play-button {
    background: rgba(220, 53, 69, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 24px;
    color: white;
    margin-left: 3px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Podcast Cards */
.podcast-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.podcast-card img {
    height: 200px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.podcast-card:hover img {
    filter: grayscale(0%);
}

/* Article Detail Page */
.article-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: #000;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-body ul {
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-card {
        height: 300px;
    }
    
    .featured-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}