
/* Article Styles */
.news-article {
    background: var(--background-color);
}

.article-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8rem 0 4rem;
    color: white;
    overflow: hidden;
}

/* Hero Pattern */
.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.3;
}

.article-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.article-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

time {
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 800;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
}

.article-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-role {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Article Content */
.article-content {
    padding: 4rem 0;
}

.article-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-text h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.article-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.article-text p {
    margin-bottom: 1.5rem;
    color: var(--nav-text-color);
}

.article-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-text li {
    margin-bottom: 1rem;
    color: var(--nav-text-color);
    position: relative;
    padding-left: 1.5rem;
}

.article-text li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

blockquote {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(37,99,235,0.05) 0%,
        rgba(96,165,250,0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    font-style: italic;
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.share-buttons,
.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-buttons span,
.article-tags span {
    color: var(--text-color);
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    color: var(--primary-color);
    transition: var(--transition-speed);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.article-tags a {
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-speed);
}

.article-tags a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 768px) {
    .article-hero {
        padding: 6rem 0 3rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-text {
        font-size: 1rem;
    }

    blockquote {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .article-hero h1 {
        font-size: 1.8rem;
    }

    .article-author {
        padding: 0.8rem;
    }

    .article-text h2 {
        font-size: 1.5rem;
    }

    .share-buttons,
    .article-tags {
        flex-wrap: wrap;
    }
}