.page-header {
    padding: 120px 0 60px;
    background: var(--gradient-primary);
    text-align: center;
}

.page-title {
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb-section {
    padding: 100px 0 20px;
    background: var(--bg-secondary);
}

.breadcrumb {
    background: transparent;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-gold);
}

.breadcrumb-item.active {
    color: var(--accent-gold);
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.featured-post {
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.card-img-container {
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.card-img-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.card-img-placeholder img{
    height: 199px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.image-placeholder {
    height: 300px;
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
}

.post-meta .badge {
    font-size: 0.75rem;
}

.post-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.sidebar-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.widget-title {
    color: var(--accent-gold);
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-link {
    display: flex;
    justify-content: between;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--accent-gold);
}

.post-count {
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.popular-post {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-thumbnail {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--accent-gold);
}

.post-info h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.post-info a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-info a:hover {
    color: var(--accent-gold);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.pagination .page-link {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.pagination .page-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

.pagination .page-item.active .page-link {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

.article-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.article-content h2 {
    color: var(--accent-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.info-box, .warning-box, .cta-box {
    margin: 2rem 0;
}

.vin-breakdown-detail {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.vin-example-large {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.vin-part {
    padding: 0.5rem;
    border-radius: 5px;
    margin: 0 2px;
}

.vin-part.wmi {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
}

.vin-part.vds {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.vin-part.vis {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.breakdown-item {
    text-align: center;
    padding: 1rem;
}

.breakdown-code {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.features-grid .feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    height: 100%;
}

.features-grid .feature-item i {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-tags .tag {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.share-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.author-box .author-avatar {
    color: var(--accent-gold);
}

.comment {
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-actions {
    margin-top: 1rem;
}

.new-comment {
    animation: slideInUp 0.5s ease-out;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .vin-example-large {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}
