/* Blog-specific components and layout */
.blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.page-content .glass-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

@media (min-width: 1024px) {
    .blog-layout-grid {
        grid-template-columns: 2.5fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-layout-grid {
        gap: 1.5rem;
    }
    
    .page-content .glass-panel {
        padding: 1.5rem !important;
        border-radius: 0;
    }
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: block;
}

nav[aria-label="breadcrumb"] ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    padding: 0;
}

nav[aria-label="breadcrumb"] li {
    font-size: 0.85rem;
}

.blog-body h2 { 
    font-size: 1.8rem; 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    color: var(--primary); 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}

.blog-body h3 { 
    font-size: 1.3rem; 
    margin-top: 1.5rem; 
    margin-bottom: 0.75rem; 
    color: var(--text-main); 
}

.blog-body p { 
    margin-bottom: 1.2rem; 
    font-size: 1.05rem; 
    color: var(--text-muted); 
    line-height: 1.85; 
}

.blog-body ul, .blog-body ol { 
    margin-left: 1.5rem; 
    margin-bottom: 1.5rem; 
    color: var(--text-muted); 
}

.blog-body li { 
    margin-bottom: 0.55rem; 
    font-size: 1.02rem; 
    line-height: 1.7; 
}

.blog-body strong { 
    color: var(--text-main); 
}

/* Tables for Specs and Comparisons */
.blog-body table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 1.5rem 0 2rem; 
    color: var(--text-muted); 
    font-size: 0.92rem; 
    overflow-x: auto;
    display: table;
}

.blog-body th, .blog-body td { 
    padding: 0.9rem 1rem; 
    text-align: left; 
    border-bottom: 1px solid var(--card-border); 
}

.blog-body th { 
    background: var(--bg-dark); 
    color: var(--text-main); 
    font-weight: 600; 
    white-space: nowrap; 
}

.blog-body tr:hover td { 
    background: rgba(var(--primary-rgb, 0, 86, 179), 0.02); 
}

/* Review Components */
.laptop-card { 
    background: var(--bg-dark); 
    border: 1px solid var(--card-border); 
    border-radius: 14px; 
    padding: 1.5rem; 
    margin: 1.5rem 0; 
}

.laptop-card-header { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    margin-bottom: 1rem; 
}

.laptop-icon { 
    width: 50px; 
    height: 50px; 
    background: rgba(var(--primary-rgb, 0, 86, 179), 0.12); 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.6rem; 
    flex-shrink: 0; 
}

.laptop-title { 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: var(--text-main); 
    margin: 0; 
}

.laptop-price { 
    font-size: 0.9rem; 
    color: var(--primary); 
    font-weight: 600; 
    margin: 0.2rem 0 0; 
}

.pros-cons { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem; 
    margin-top: 1rem; 
}

.pros, .cons { 
    padding: 0.9rem 1rem; 
    border-radius: 10px; 
}

.pros { 
    background: rgba(0, 184, 148, 0.08); 
    border: 1px solid rgba(0, 184, 148, 0.2); 
}

.cons { 
    background: rgba(225, 112, 85, 0.08); 
    border: 1px solid rgba(225, 112, 85, 0.2); 
}

.pros h4 { color: #00b894; margin: 0 0 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cons h4 { color: #e17055; margin: 0 0 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pros ul, .cons ul { margin: 0; padding-left: 1.2rem; }
.pros li, .cons li { font-size: 0.88rem; margin-bottom: 0.3rem; color: var(--text-muted); }

.who-card { 
    display: flex; 
    gap: 1rem; 
    align-items: flex-start; 
    padding: 1.2rem; 
    background: var(--bg-dark); 
    border-radius: 12px; 
    border: 1px solid var(--card-border); 
    margin-bottom: 0.75rem; 
}

.faq-item { 
    padding: 1.25rem; 
    background: var(--bg-dark); 
    border: 1px solid var(--card-border); 
    border-radius: 12px; 
    margin-bottom: 0.75rem; 
}

.faq-item h3 { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-main); }
.faq-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

.top-pick-badge { 
    display: inline-block; 
    background: var(--primary); 
    color: white; 
    font-size: 0.7rem; 
    font-weight: 700; 
    padding: 0.15rem 0.55rem; 
    border-radius: 20px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    margin-left: 0.5rem; 
    vertical-align: middle; 
}

.related-posts-section {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(108, 92, 231, 0.02));
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 16px;
    padding: 2rem;
}

.related-post-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-dark);
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--card-border);
    transition: all 0.2s;
    margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
    .related-post-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .related-post-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.related-post-card:last-child {
    margin-bottom: 0;
}

.related-post-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.related-post-icon {
    width: 52px;
    height: 52px;
    background: rgba(var(--primary-rgb, 0, 86, 179), 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

@media (max-width: 768px) { 
    .pros-cons { grid-template-columns: 1fr; gap: 1rem; } 
    .related-post-card { flex-direction: row; }
    
    .blog-body h1 { font-size: 2rem !important; }
    .blog-body h2 { font-size: 1.5rem !important; }
    
    .phone-header {
        flex-direction: column;
        text-align: center;
    }
    
    .phone-image {
        max-width: 200px;
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 480px) {
    .related-post-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Sidebar & Search */
.sidebar-nav { padding: 1.5rem; }
.nav-list { padding: 0; list-style: none; }
.list-none { list-style: none; }
.nav-item-border { margin-bottom: 0.8rem; border-bottom: 1px solid var(--card-border); padding-bottom: 0.5rem; }
.nav-item-border:last-child { border-bottom: none; margin-bottom: 0; }
.nav-link-flex { text-decoration: none; color: var(--text-main); font-size: 0.95rem; display: flex; justify-content: space-between; transition: color var(--transition); }
.nav-link-flex:hover { color: var(--primary); }
.count-tag { font-size: 0.8rem; color: var(--text-muted); }

.search-input { margin-bottom: 0 !important; padding: 0.6rem !important; border-radius: 4px !important; flex: 1; }
.search-btn { padding: 0.6rem 1rem !important; border-radius: 4px !important; }
.p-3 { padding: 1.5rem; }

/* Blog Refactoring Utility Classes */
.blog-post-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.category-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
}

/* Category colors */
.badge-tech { background: #6c5ce7; }
.badge-auto { background: var(--primary); }
.badge-edu { background: #00b894; }
.badge-consumer { background: #e17055; }
.badge-biz { background: #e84393; }

.blog-post-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.blog-post-title a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s;
}

.blog-post-title a:hover {
    color: var(--primary);
}

.blog-post-excerpt {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.blog-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
}

.section-header {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.header-recent { border-left: 5px solid #6c5ce7; }
.header-business { border-left: 5px solid var(--primary); }

@media (max-width: 600px) { 
    .blog-post-card { padding: 1.5rem; }
    .blog-post-title { font-size: 1.25rem; }
}

