/* Article Page Styles */
.article-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.article-main {
    max-width: 900px;
    margin: 0 auto;
}

.article-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Article Header */
.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #222;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #666;
}

.article-meta .category a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.article-meta .category a:hover {
    text-decoration: underline;
}

.article-states {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.state-tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.state-tag:hover {
    background: #667eea;
    color: white;
}

/* Article Media */
.article-media {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.external-link-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.external-link-notice i {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 15px;
}

.external-link-notice p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-external {
    display: inline-block;
    padding: 12px 30px;
    background: #ffc107;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-external:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

/* Article Description */
.article-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #222;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 25px 0 12px;
    color: #333;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Share Buttons */
.article-share {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.article-share h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Related Articles */
.related-articles {
    margin-top: 50px;
}

.related-articles h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #222;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.related-card a {
    text-decoration: none;
    color: inherit;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card h3 {
    padding: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333;
}

.related-card .date {
    padding: 0 15px 15px;
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .article-content {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}
