/* Article Page CSS - Clean, Mobile-Compatible Layout */

* {
    box-sizing: border-box;
}

body.article-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #374151;
    line-height: 1.6;
}

/* Header with back button */
.article-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.article-back-btn:hover {
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
}

.article-back-btn svg {
    width: 18px;
    height: 18px;
}

/* Language selector in header */
.article-header-lang {
    position: relative;
}

/* Main content wrapper */
.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

/* Article hero image */
.article-hero-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: #e9ecef;
    border-radius: 12px;
    margin-bottom: 32px;
}

/* Article meta info */
.article-meta {
    margin-bottom: 24px;
}

.article-category {
    display: inline-block;
    background: #00838f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.article-date {
    display: block;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.article-author {
    color: #6b7280;
    font-size: 14px;
}

.article-author strong {
    color: #374151;
}

/* Article title */
.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0 0 24px;
}

/* Article content */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 36px 0 16px;
    line-height: 1.3;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    font-weight: 600;
    color: #111827;
}

.article-content em {
    font-style: italic;
}

.article-content blockquote {
    border-left: 4px solid #00838f;
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: #6b7280;
}

/* Footer */
.article-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.article-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00838f;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border: 2px solid #00838f;
    border-radius: 8px;
    transition: all 0.2s;
}

.article-footer-link:hover {
    background: #00838f;
    color: #ffffff;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 12px 16px;
    }
    
    .article-back-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .article-back-btn span {
        display: none;
    }
    
    .article-wrapper {
        padding: 80px 16px 40px;
    }
    
    .article-hero-image {
        height: 220px;
        border-radius: 8px;
        margin-bottom: 24px;
    }
    
    .article-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .article-category {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .article-date,
    .article-author {
        font-size: 13px;
    }
    
    .article-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .article-content h3 {
        font-size: 20px;
        margin: 28px 0 14px;
    }
    
    .article-content ul,
    .article-content ol {
        padding-left: 20px;
    }
    
    .article-footer {
        margin-top: 36px;
    }
    
    .article-footer-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-hero-image {
        height: 180px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
}
