/* Blog Styles */
.blog-hero {
    background: linear-gradient(-45deg, #0891b2, #06b6d4, #67e8f9, #a5f3fc, #0e7490, #22d3ee);
    background-size: 300% 300%;
    animation: heroGradient 12s ease infinite;
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}
@keyframes heroGradient {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}
.blog-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.2;
}
.blog-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Breadcrumbs */
.blog-breadcrumbs {
    max-width: 750px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.8125rem;
    color: var(--gray-400);
}
.blog-breadcrumbs a {
    color: var(--gray-400);
    text-decoration: none;
}
.blog-breadcrumbs a:hover {
    color: var(--teal-600);
}

/* Article Content */
.blog-content {
    max-width: 750px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    line-height: 1.9;
    color: var(--gray-600);
    font-size: 1.0625rem;
}
.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
}
.blog-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.blog-content p {
    margin-bottom: 1.5rem;
}
.blog-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}
.blog-content strong {
    color: var(--gray-800);
}
.blog-content a {
    color: var(--teal-600);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.blog-content a:hover {
    border-bottom-color: var(--teal-600);
}

/* Tables */
.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.875rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.blog-table th,
.blog-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}
.blog-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}
.blog-table td {
    border-bottom: 1px solid var(--gray-100);
}
.blog-table tr:last-child td {
    border-bottom: none;
}
.blog-table tr:hover td {
    background: var(--gray-50);
}
.blog-table a {
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 500;
}
.blog-table a:hover {
    text-decoration: underline;
}

/* CTA Box */
.blog-cta {
    max-width: 750px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--teal-50);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--teal-200);
}
.blog-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}
.blog-cta p {
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
}
.blog-cta a {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--teal-600);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.2s, transform 0.2s;
}
.blog-cta a:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
}

/* Blog Index Cards */
.blog-list {
    max-width: 750px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
.blog-card {
    display: block;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.blog-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.blog-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.blog-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Dark Mode */
[data-theme="dark"] .blog-content { color: #b0b5bd; }
[data-theme="dark"] .blog-content h2 { color: #f0f1f3; border-top-color: #2a2e3a; }
[data-theme="dark"] .blog-content strong { color: #e2e4e9; }
[data-theme="dark"] .blog-table th { background: #1a1d27; color: #c9ccd1; border-bottom-color: #2a2e3a; }
[data-theme="dark"] .blog-table td { border-bottom-color: #2a2e3a; }
[data-theme="dark"] .blog-table tr:hover td { background: #0f1117; }
[data-theme="dark"] .blog-cta { background: #062029; border-color: #0a3444; }
[data-theme="dark"] .blog-cta h3 { color: #f0f1f3; }
[data-theme="dark"] .blog-card { background: #1a1d27; border-color: #2a2e3a; }
[data-theme="dark"] .blog-card:hover { border-color: #0891b2; }
[data-theme="dark"] .blog-card h2 { color: #f0f1f3; }
[data-theme="dark"] .blog-card p { color: #6b7280; }
[data-theme="dark"] .blog-breadcrumbs { color: #6b7280; }

/* Responsive */
@media (max-width: 768px) {
    .blog-hero { padding: 2.5rem 1rem; }
    .blog-hero h1 { font-size: 1.625rem; }
    .blog-hero p { font-size: 0.9375rem; }
    .blog-content { font-size: 1rem; }
    .blog-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; padding-top: 1.5rem; }
    .blog-table { font-size: 0.75rem; }
    .blog-table th, .blog-table td { padding: 0.5rem 0.625rem; }
}
