/* Plasma Article Specific Styles */

/* Enhanced Article Header */
.article-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin: 1.5rem 0 2rem 0;
    font-weight: 400;
}

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

.category.hardware {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

/* Content Enhancements */
.lead-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 2rem;
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.technical-specs {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.technical-specs h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.technical-specs ul {
    list-style: none;
    padding: 0;
}

.technical-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.technical-specs li:last-child {
    border-bottom: none;
}

/* Testing Grid */
.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.test-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.test-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Accessibility Features */
.accessibility-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Code Block */
.code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.code-block h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.code-block ul {
    margin-top: 1rem;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.application-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.application-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.application-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Key Benefits */
.key-benefits {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.key-benefits h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 1.5rem;
}

/* Comments Section Enhancements */
.comments-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

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

.comments-stats {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

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

.comment-title {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.comment-date {
    color: var(--gray-color);
    font-size: 0.8rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.comment-action {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.comment-action:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testing-grid {
        grid-template-columns: 1fr;
    }
    
    .accessibility-features {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
}