/* Article Page Styles */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
}

.article-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    margin: -20px -20px 40px -20px;
}

.article-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.author-meta {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}

.featured-poster {
    text-align: center;
    margin: 30px 0;
}

.featured-poster img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.featured-poster p {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #555;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid #764ba2;
    padding-left: 20px;
    margin-left: 0;
    color: #555;
    font-style: italic;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.copyright-info {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #777;
}

.author-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    background: #764ba2;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.back-button:hover {
    background: #5a3a7e;
}

/* Video Container - Responsive YouTube embeds */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Article Images */
.article-image {
    margin: 30px 0;
    text-align: center;
    max-width: 100%;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Links in article content */
.article-content a {
    color: #764ba2;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-content a:hover {
    color: #5a3a7e;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .article-content {
        font-size: 1rem;
    }
}
