/* Article Page Styles */

.article-page {
    background: #fff;
    min-height: 100vh;
    padding: 20px 0;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.breadcrumb a {
    color: #337ab7;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
    margin: 0 8px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.2;
}

.article-meta {
    color: #666;
    font-size: 14px;
}

.article-meta .separator {
    margin: 0 8px;
}

/* Product Summary */
.product-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.product-image {
    text-align: center;
}

.main-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-specs h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: #555;
}

/* Rating Overview */
.rating-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.rating-overview h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

.rating-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}

.overall-score {
    text-align: center;
}

.score {
    font-size: 4em;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.score-label {
    font-size: 1.2em;
    opacity: 0.8;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 15px;
    align-items: center;
}

.rating-category {
    font-size: 0.9em;
    font-weight: 500;
}

.rating-bar {
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #ffd700;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-score {
    font-size: 0.9em;
    min-width: 40px;
    text-align: right;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 16px;
}

.article-content h2 {
    font-size: 1.8em;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 500;
}

.article-content h3 {
    font-size: 1.4em;
    color: #444;
    margin: 25px 0 12px;
    font-weight: 500;
}

.article-content p {
    margin-bottom: 16px;
    color: #555;
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
    color: #555;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.pros,
.cons {
    padding: 25px;
    border-radius: 8px;
}

.pros {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.cons {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.pros h3,
.cons h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pros h3 {
    color: #155724;
}

.cons h3 {
    color: #721c24;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li,
.cons li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.pros li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cons li:before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* Conclusion */
.conclusion {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 40px;
    text-align: center;
}

.conclusion h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.conclusion p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.recommendation {
    background: #007bff;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 1.1em;
    display: inline-block;
}

/* Related Products */
.related-products {
    margin-bottom: 40px;
}

.related-products h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-product {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.related-product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-product-info {
    padding: 15px;
}

.related-product h4 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #333;
}

.related-product-specs {
    font-size: 0.9em;
    color: #666;
}

/* Calculator CTA */
.calculator-cta {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.calculator-cta h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #fff;
}

.calculator-cta p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #fff;
    color: #28a745;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rating-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rating-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-header h1 {
        font-size: 2em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-page {
        padding: 15px 0;
    }
    
    .product-summary {
        padding: 20px;
    }
    
    .rating-overview {
        padding: 20px;
    }
    
    .calculator-cta {
        padding: 30px 20px;
    }
    
    .conclusion {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 1.8em;
    }
}

/* Table Styles */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

.article-content th,
.article-content td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.article-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.article-content tr:nth-child(even) {
    background: #f9f9f9;
}

/* Performance Charts */
.performance-chart {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.chart-title {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.chart-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.chart-label {
    width: 120px;
    font-size: 0.9em;
    color: #666;
}

.chart-progress {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 10px;
}

.chart-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    transition: width 0.5s ease;
}

.chart-value {
    width: 60px;
    text-align: right;
    font-weight: 500;
    color: #333;
}
