/* Custom Styles for Article Page */
.article-section {
    padding: 80px 0 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: #2c3e50;
    font-weight: 700;
}

.article-meta {
    font-size: 0.95rem;
}

.content-box {
    border: 1px solid #e9ecef;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.content-box:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.article-text {
    color: #495057;
    text-align: justify;
    font-family: 'Poppins', 'Roboto', 'Raleway', sans-serif;
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text h2, .article-text h3, .article-text h4 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-text h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.article-text h3 {
    font-size: 1.5rem;
    color: #2980b9;
}

.article-text ul, .article-text ol {
    margin: 1rem 0;
    padding-right: 2rem;
}

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

.article-text blockquote {
    border-right: 4px solid #3498db;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.article-text table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.article-text table, .article-text th, .article-text td {
    border: 1px solid #dee2e6;
}

.article-text th, .article-text td {
    padding: 0.75rem;
    text-align: right;
}

.article-text th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.tag {
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #3498db !important;
    color: white !important;
    transform: translateY(-2px);
}

.share-buttons .btn {
    transition: all 0.3s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
}

.related-section {
    margin-top: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.related-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-section {
        padding: 60px 0 30px 0;
    }

    .content-box {
        padding: 1.5rem !important;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-buttons .btn {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
