/* Enhanced Blog Content Styles - Minimalist Design */

/* CSS Variables */
:root {
    --color-success: #c8ff00;
    --color-primary: #001f3f;
}

/* Base Styles */
.section-title {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Latest Updates Section */
.latest-updates {
    margin-bottom: 2.5rem;
}

.update-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.update-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.update-card:hover {
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
}

.update-card:hover::before {
    opacity: 1;
}

.update-icon {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.update-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.update-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.update-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.update-meta .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

/* Featured Articles Grid */
.featured-grid {
    margin-bottom: 2.5rem;
}

.editor-choice-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
}

.editor-choice-card:hover {
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.1);
}

.choice-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.choice-badge i {
    margin-right: 0.5rem;
}

.choice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.choice-meta .category {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty {
    color: #ffc107;
}

.choice-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.choice-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.choice-title a:hover {
    color: #dc3545;
}

.choice-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.choice-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.choice-stats span {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.choice-stats i {
    color: #dc3545;
}

/* Trending Topics */
.trending-topics {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

.trending-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trending-title i {
    color: #28a745;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.trending-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.trending-content h6 {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.trending-content h6 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.trending-content h6 a:hover {
    color: #dc3545;
}

.trending-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.trend-indicator {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 600;
    background: #d4edda;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

.trending-meta .category {
    color: #6c757d;
    font-size: 0.8rem;
    background: #e9ecef;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

/* Expert Insights Section */
.expert-insights {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 3rem 1.5rem;
}

.insight-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
}

.expert-badge {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.insight-quote {
    border: none;
    margin: 0;
    position: relative;
}

.insight-quote i {
    font-size: 3rem;
    color: #dc3545;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.insight-quote p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c3e50;
    font-style: italic;
    margin: 0;
    padding-left: 2rem;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.expert-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.expert-name {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.expert-title {
    color: #6c757d;
    font-style: italic;
}

/* Quick Stats Section */
.quick-stats {
    padding: 2rem 0;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-success, #c8ff00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--color-success, #c8ff00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary, #001f3f) !important;
    font-size: 1.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 0.5rem 0;
}

.stat-desc {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .expert-insights {
        padding: 2rem 1rem;
    }

    .insight-card {
        padding: 1.5rem;
    }

    .insight-quote p {
        font-size: 1.1rem;
        padding-left: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.category-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

/* Latest News - Clean Layout */
.latest-news {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid #e9ecef;
}

.news-ticker {
    border-left: 3px solid #dc3545;
    background: #fff;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ticker-content {
    line-height: 1.5;
    font-size: 0.9rem;
}

.news-card {
    background: #fff;
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.news-category {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
}

.news-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.news-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.news-title a:hover {
    color: #dc3545;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Quick Stats - Minimal Design */
.quick-stats-card {
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
}

.stats-header h6 {
    color: white;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.stat-item {
    text-align: center;
    margin-bottom: 0.75rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.2rem;
}

/* Educational Resources - Simple List */
.educational-resources {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.educational-resources h6 {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #495057;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.resource-item:hover {
    background: #f8f9fa;
    color: #dc3545;
    text-decoration: none;
    transform: translateX(3px);
}

.resource-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Popular This Week - Simplified */
.popular-week {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    margin-bottom: 2.5rem;
}

.popular-card {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.rank-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(255, 255, 255, 0.9);
    color: #dc3545;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.popular-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.popular-meta .category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

.popular-meta .views {
    font-size: 0.8rem;
}

.popular-title {
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 1.1rem;
}

.popular-title a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.popular-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.popular-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.popular-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.popular-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.popular-item:hover {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

.rank-number {
    background: #2c3e50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.item-content h6 {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.item-content h6 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.item-content h6 a:hover {
    color: #dc3545;
}

.item-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Industry Insights - Clean Cards */
.industry-insights {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    margin-bottom: 2.5rem;
}

.insight-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    height: 100%;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insight-icon {
    background: #dc3545;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.insight-content h5 {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.insight-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
    }

    .category-card {
        padding: 1rem 0.5rem;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .latest-news {
        padding: 1.25rem;
    }

    .news-card {
        padding: 1rem;
    }

    .popular-card {
        padding: 1.25rem;
    }

    .popular-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .insight-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .insight-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .popular-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .item-meta {
        flex-direction: column;
        gap: 0.1rem;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .popular-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
