/* Article Page Styles */

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    padding: 3rem 0 2rem;
    color: white;
}

.breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.9;
}

.article-title {
    font-size: 2.75rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.95;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

/* Article Body */
.article-body {
    padding: 4rem 0;
    background: var(--bg-light);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.article-main {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
}

/* Article Content */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content .lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 2.5rem 0;
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.info-box p {
    margin-bottom: 0;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.3);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2.5rem 0;
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.highlight-box ul {
    margin-bottom: 0;
}

.highlight-box li {
    color: var(--text-dark);
    font-weight: 500;
}

.disclaimer-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 2.5rem 0;
}

.disclaimer-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #856404;
}

.disclaimer-box p {
    margin-bottom: 0;
    color: #856404;
    font-size: 0.95rem;
}

/* Share Buttons */
.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.article-share h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: #6b7280;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sidebar-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-article {
    display: block;
    text-decoration: none;
    transition: transform 0.3s;
}

.related-article:hover {
    transform: translateX(5px);
}

.related-article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.related-article h4 {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.related-article:hover h4 {
    color: var(--primary-color);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-box h3 {
    color: white;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
    width: 100%;
    text-align: center;
}

.cta-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .sidebar-box {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 2rem 0 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-main {
        padding: 2rem 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content .lead {
        font-size: 1.125rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1001;
    transition: width 0.1s ease;
}