/* Blog Details Specific Styles */

.article-main {
    padding: 120px 0 80px;
    background: #f8f9fa;
}

.article-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.article-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.article-body h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

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

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

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

.article-body blockquote {
    background: rgba(59, 23, 87, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.article-body code {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

.article-body pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.article-tags h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-tag {
    background: rgba(59, 23, 87, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary-color);
    color: white;
}

.article-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.article-share h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn.facebook {
    background: #3b5998;
}

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

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

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

/* Sidebar Styles */
.article-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.related-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-article-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.related-article-content h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-article-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-content h5 a:hover {
    color: var(--primary-color);
}

.related-article-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list span {
    background: rgba(59, 23, 87, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Comments Section */
.comments-section {
    padding: 80px 0;
}

.comments-container {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comments-title {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.comment-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.comment-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 23, 87, 0.25);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comments-list {
    margin-top: 2rem;
}

.comment-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-content {
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation Buttons */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 300px;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.nav-btn-content h5 {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-btn-content p {
    margin: 0;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .article-sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 100px 0 60px;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-featured-image {
        height: 250px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        max-width: 100%;
    }
    
    .comments-container {
        padding: 2rem;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .article-content {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .related-article {
        flex-direction: column;
        text-align: center;
    }
    
    .related-article-image {
        width: 100%;
        height: 150px;
        align-self: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .article-sidebar,
    .comments-section,
    .footer,
    .article-share,
    .article-navigation {
        display: none !important;
    }
    
    .article-main {
        padding: 0;
    }
    
    .article-content {
        box-shadow: none;
        padding: 0;
    }
    
    .article-title {
        color: #000;
    }
    
    .article-body {
        color: #000;
    }
}