/* Article Page Specific Styles */

.article-container {
    background: white;
    min-height: 100vh;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, var(--bg-light), #f8fafc);
    padding: 120px 0 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.current {
    color: var(--text-secondary);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-meta .category {
    background: var(--primary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-meta .date,
.article-meta .read-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
}

.author-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-details h4 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.author-details p {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tags .tag {
    background: white;
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

/* Article Content */
.article-content {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin-bottom: 3rem;
    text-align: center;
}

.article-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
    margin-bottom: 1rem;
}

.article-image .image-placeholder i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-image .image-placeholder p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.image-caption {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Article Body Typography */
.article-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.article-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-body li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-body blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.article-body blockquote p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-body blockquote cite {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 500;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

/* Related Articles */
.related-articles {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.related-articles h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    gap: 1.5rem;
}

.related-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.related-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.related-card h4 a:hover {
    color: var(--primary-color);
}

.related-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Social Sharing */
.social-sharing {
    margin: 3rem 0;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.social-sharing h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.email {
    background: #34495e;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Newsletter CTA */
.newsletter-cta {
    background: var(--primary-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 40px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .author-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.3rem;
    }
    
    .article-body p,
    .article-body li {
        font-size: 1rem;
    }
    
    .article-image .image-placeholder {
        height: 250px;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 100%;
        max-width: 400px;
    }
    
    .newsletter-form button {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 80px 0 30px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .article-body blockquote {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .related-articles {
        padding: 1.5rem;
        margin: 3rem 0;
    }
    
    .social-sharing {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .social-sharing,
    .related-articles,
    .newsletter-cta,
    .footer {
        display: none;
    }
    
    .article-header {
        padding: 2rem 0;
        background: white;
    }
    
    .article-title {
        font-size: 2rem;
        color: black;
    }
    
    .article-body {
        font-size: 12pt;
        line-height: 1.6;
    }
}