﻿:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --dark-color: #1b263b;
    --light-color: #f8f9fa;
    --text-color: #2b2d42;
    --gray-light: #e9ecef;
}

.article-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

    .article-detail-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.article-date {
    opacity: 0.9;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .article-author img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
    }

.article-container {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.article-featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}

    .article-content p {
        margin-bottom: 1.5rem;
    }

    .article-content h2,
    .article-content h3 {
        color: var(--dark-color);
        margin: 2rem 0 1.5rem;
    }

    .article-content h2 {
        font-size: 1.8rem;
        border-right: 4px solid var(--accent-color);
        padding-right: 1rem;
    }

    .article-content h3 {
        font-size: 1.5rem;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1.5rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .article-content blockquote {
        border-right: 4px solid var(--accent-color);
        background: rgba(72, 149, 239, 0.05);
        padding: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        color: var(--dark-color);
    }

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0;
}

.article-tag {
    background: var(--gray-light);
    color: var(--dark-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .article-tag:hover {
        background: var(--accent-color);
        color: white;
    }

.article-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: white;
    }

.social-share {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
    }

@@media (max-width: 768px) {
    .article-detail-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .article-featured-image {
        height: 300px;
    }

    .article-content {
        font-size: 1rem;
    }

        .article-content h2 {
            font-size: 1.5rem;
        }

        .article-content h3 {
            font-size: 1.3rem;
        }
}
