/* Blog Post Specific Styles */
.blog-post {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Table of Contents */
.table-of-contents {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.table-of-contents h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.table-of-contents ul {
    list-style: none;
    columns: 2;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    margin: 3rem 0;
}

.content-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Methodology Section */
.methodology {
    background: linear-gradient(135deg, #f8f9ff, #e8f4f8);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.methodology ul {
    list-style: none;
    margin-top: 1rem;
}

.methodology li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Keyboard Reviews */
.keyboard-review {
    background: white;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.keyboard-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-header h2 {
    color: var(--dark-color);
    margin: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--text-light);
    font-weight: 600;
}

.keyboard-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.keyboard-image .image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.specs {
    margin-bottom: 1.5rem;
}

.specs h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.specs ul {
    list-style: none;
}

.specs li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--light-color);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pros, .cons {
    padding: 1rem;
    border-radius: var(--border-radius);
}

.pros {
    background: rgba(76, 205, 196, 0.1);
    border-left: 4px solid var(--accent-color);
}

.cons {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.pros h4, .cons h4 {
    margin-bottom: 0.5rem;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1rem;
}

.pros li:before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.cons li:before {
    content: "✗";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.best-for {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-style: italic;
}

.affiliate-links h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.affiliate-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.affiliate-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.affiliate-btn.amazon {
    background: #FF9900;
}

.affiliate-btn.flipkart {
    background: #047BD5;
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Comparison Table */
.comparison-section {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background: var(--light-color);
}

.comparison-table tr:hover {
    background: rgba(139, 95, 191, 0.1);
}

/* FAQ Section */
.faq-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    line-height: 1.6;
    color: var(--text-color);
}

/* Verdict Section */
.verdict-section {
    text-align: center;
}

.verdict-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.verdict-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.verdict-card:hover {
    transform: translateY(-5px);
}

.verdict-card h3 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verdict-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.verdict-card p {
    color: var(--text-color);
    line-height: 1.5;
}

.best-overall {
    border-top: 4px solid #FFD700;
}

.best-value {
    border-top: 4px solid #4ECDC4;
}

.best-kids {
    border-top: 4px solid #FF6B6B;
}

.best-modern {
    border-top: 4px solid #8B5FBF;
}

.conclusion {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
        margin: 1rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .table-of-contents ul {
        columns: 1;
    }
    
    .keyboard-content {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .affiliate-buttons {
        flex-direction: column;
    }
    
    .comparison-table-container {
        overflow-x: auto;
    }
    
    .verdict-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 0.5rem;
        margin: 0.5rem;
    }
    
    .post-header h1 {
        font-size: 1.7rem;
    }
    
    .content-section {
        margin: 2rem 0;
    }
}