/* Simple Article Page Styles */

/* Share Widget Styles */
.share-widget {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.share-label i {
    color: #6b7280;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:active {
    transform: scale(0.95);
}

.share-btn i {
    font-size: 1.1rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1da851;
    color: white;
}

/* Facebook Button */
.facebook-btn {
    background: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background: #166fe5;
    color: white;
}

/* Twitter Button */
.twitter-btn {
    background: #1da1f2;
    color: white;
}

.twitter-btn:hover {
    background: #1a91da;
    color: white;
}

/* Telegram Button */
.telegram-btn {
    background: #0088cc;
    color: white;
}

.telegram-btn:hover {
    background: #0077b3;
    color: white;
}

/* Copy Link Button */
.copy-btn {
    background: #6b7280;
    color: white;
}

.copy-btn:hover {
    background: #4b5563;
    color: white;
}

/* Share Success Message */
.share-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 8px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.share-success i {
    color: #10b981;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Share Widget */
@media (max-width: 768px) {
    .share-widget {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        flex: 1;
        min-width: 100px;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .share-btn span {
        display: none;
    }
    
    .share-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        gap: 0.5rem;
    }
    
    .share-btn {
        min-width: auto;
        padding: 0.8rem;
    }
}

/* Article Main Layout */
.article-main {
    padding: 100px 0 40px;
    background: #f8fafc;
    min-height: 100vh;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Button */
.back-button {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #eff6ff;
    transform: translateX(-2px);
}

/* Main Article */
.main-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Article Header */
.article-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.article-category {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-date,
.article-views {
    color: #64748b;
    font-size: 0.9rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
    margin-bottom: 1rem;
}

.article-author {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Article Image */
.article-image {
    margin: 0;
}

.article-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Article Content */
.article-content {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #1e293b;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    line-height: 1.3;
}

.article-content h1 { font-size: 1.5rem; }
.article-content h2 { font-size: 1.3rem; }
.article-content h3 { font-size: 1.2rem; }

.article-content p {
    margin-bottom: 1rem;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-content a {
    color: #2563eb;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Article Footer */
.article-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e2e8f0;
}

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

.tag {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #64748b;
}

.tag.featured {
    background: #fef3c7;
    color: #92400e;
}

.tag.popular {
    background: #fee2e2;
    color: #991b1b;
}

/* Related Section */
.related-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.related-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

.related-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-content {
    flex: 1;
}

.related-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-content h4 a {
    color: #1e293b;
    text-decoration: none;
}

.related-content h4 a:hover {
    color: #2563eb;
}

.related-date {
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-main {
        padding: 80px 0 20px;
    }
    
    .article-container {
        padding: 0 15px;
    }
    
    .article-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-image img {
        height: 200px;
    }
    
    .related-section {
        padding: 1.5rem;
    }
    
    .related-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-item img {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 1rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-footer {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .related-section {
        padding: 1rem;
    }
}