/* blog-page.css - Standardized Blog Theme (White & Orange) */

:root {
    --blog-bg: #FAFAF8;
    --blog-surface: #ffffff;
    --blog-accent: #e67e22;
    --blog-text: #1F2937;
    --blog-muted: #64748b;
    --blog-border: #E5E0D5;
}

body {
    background-color: var(--blog-bg);
    color: var(--blog-text);
}

.hero-blog {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(230, 126, 34, 0.05) 0%, transparent 70%);
}

.blog-h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--blog-text);
}

.hero-intro {
    font-size: 1.1rem;
    color: var(--blog-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 50px;
    color: var(--blog-accent);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
    padding: 1.5rem;
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat-pill {
    text-align: center;
}

.stat-pill strong {
    display: block;
    font-size: 1.8rem;
    color: var(--blog-accent);
    margin-bottom: 0.25rem;
}

.stat-pill span {
    font-size: 0.9rem;
    color: var(--blog-muted);
}

.blog-content-section {
    margin: 4rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-blog {
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card-blog:hover {
    transform: translateY(-5px);
    border-color: var(--blog-accent);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--blog-accent);
    margin-bottom: 1.5rem;
}

.checklist {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.2rem;
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 12px;
}

.checklist input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    accent-color: var(--blog-accent);
}

.results-box {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.05), rgba(243, 156, 18, 0.05));
    border: 1px solid var(--blog-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.results-box h2 {
    font-family: 'Syne', sans-serif;
    margin-bottom: 1rem;
}

.internal-links {
    padding: 3rem 0;
    border-top: 1px solid var(--blog-border);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.links-grid a {
    padding: 1rem;
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    color: var(--blog-text);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s;
}

.links-grid a:hover {
    background: var(--blog-accent);
    color: white;
    border-color: var(--blog-accent);
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--blog-muted);
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--blog-accent);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Article Layout */
.article-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin: 2rem auto 4rem;
}

.article-main {
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

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

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.25rem;
    color: var(--blog-text);
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

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

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

.article-content blockquote {
    border-left: 4px solid var(--blog-accent);
    background: rgba(230, 126, 34, 0.05);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.15rem;
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.sidebar-widget {
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    .blog-h1 {
        font-size: 2.2rem;
    }
    .article-main {
        padding: 2rem 1.5rem;
    }
    .results-box {
        padding: 2rem 1.5rem;
    }
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blog-accent);
    display: inline-block;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    color: var(--blog-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--blog-accent);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--blog-accent), #d35400);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.sidebar-cta h4 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-cta p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
