.article-page {
    background: var(--white);
}

/* AI/Copilot snippet paragraph - direct answer to keyword query */
.article-snippet {
    font-size: 1.05rem;
    color: #1f2937;
    line-height: 1.75;
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 0 0 28px;
}

.article-header {
    background: var(--bg-light);
    padding: 2rem 0;
}

.article-header .breadcrumb {
    margin-bottom: 1rem;
}

.article-header .article-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.article-header .article-meta {
    display: flex;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-featured-image {
    width: 100%;
    background: none;
    line-height: 0;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-widget,
.share-widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.toc-widget h3,
.share-widget h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.toc-widget ul {
    list-style: none;
}

.toc-widget li {
    margin-bottom: 0.5rem;
}

.toc-widget a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.toc-widget a:hover {
    color: var(--primary-color);
}

.toc-widget a.active {
    color: var(--primary-color);
    font-weight: 700;
    border-left: 3px solid var(--primary-color);
    padding-left: 8px;
    margin-left: -11px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.share-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.article-content-wrapper {
    max-width: 800px;
}

.article-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.affiliate-disclosure-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 3rem 0;
}

.affiliate-disclosure-box h4 {
    margin-bottom: 0.5rem;
    color: #856404;
}

.affiliate-disclosure-box p {
    margin: 0;
    color: #856404;
}

.affiliate-disclosure-box a {
    color: #856404;
    text-decoration: underline;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 968px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-featured-image {
        height: auto;
    }
}

@media (max-width: 640px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }
}
