/* Blog layout and components - shared across all blog pages */

.blog-hero { padding: 60px 56px 80px; background: linear-gradient(135deg, #0a0f14 0%, #1a2530 100%); position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,177,235,0.1) 0%, transparent 70%); }
.blog-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 32px; transition: color 0.2s; }
.blog-back:hover { color: #00B1EB; }
.blog-back svg { width: 16px; height: 16px; }
.blog-hero-content { position: relative; z-index: 1; max-width: 900px; }
.blog-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.blog-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #00B1EB; background: rgba(0,177,235,0.15); padding: 6px 14px; border: 1px solid rgba(0,177,235,0.3); }
.blog-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.5); }
.blog-meta-item svg { width: 14px; height: 14px; opacity: 0.7; }
.blog-hero h1 { font-size: 44px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 24px; letter-spacing: -1px; }
.blog-hero-intro { font-size: 18px; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 700px; }

.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; padding: 64px 56px; align-items: start; }
.blog-main { max-width: 720px; }
.blog-sidebar { position: sticky; top: 32px; }

.blog-content p { font-size: 17px; color: #3c4043; line-height: 1.9; margin-bottom: 24px; }
.blog-content h2 { font-size: 26px; font-weight: 700; color: #0a0f14; margin: 56px 0 20px; padding-top: 32px; border-top: 1px solid #e8eaed; }
.blog-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.blog-content h3 { font-size: 18px; font-weight: 600; color: #0a0f14; margin: 32px 0 16px; }
.blog-content ul, .blog-content ol { margin: 24px 0; padding-left: 0; list-style: none; }
.blog-content li { font-size: 16px; color: #3c4043; padding: 14px 0 14px 32px; position: relative; border-bottom: 1px solid #f0f0f0; }
.blog-content li::before { content: ''; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; background: #00B1EB; border-radius: 50%; }
.blog-content li:last-child { border-bottom: none; }
.blog-content ol { counter-reset: step; }
.blog-content ol li::before { content: counter(step); counter-increment: step; width: 24px; height: 24px; background: linear-gradient(135deg, #00B1EB, #0095c8); color: #fff; font-size: 12px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; top: 14px; }
.blog-content a { color: #00B1EB; text-decoration: none; border-bottom: 1px solid rgba(0,177,235,0.3); }
.blog-content a:hover { border-color: #00B1EB; }
.blog-content strong { color: #0a0f14; font-weight: 600; }

/* Code blocks */
.blog-content code { background: #f1f3f4; padding: 2px 6px; border-radius: 4px; font-family: 'SF Mono', Monaco, 'Courier New', monospace; font-size: 14px; color: #d93025; }
.blog-content pre { background: #1e1e1e; padding: 24px; border-radius: 8px; overflow-x: auto; margin: 24px 0; }
.blog-content pre code { background: none; padding: 0; color: #d4d4d4; display: block; line-height: 1.6; }

/* Callout boxes */
.blog-highlight { background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%); border-left: 4px solid #00B1EB; padding: 28px 32px; margin: 40px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.blog-highlight p { margin-bottom: 0; font-size: 16px; line-height: 1.8; }
.blog-highlight strong { color: #0a0f14; }

.blog-warning { background: linear-gradient(135deg, #fef2f2 0%, #fff 100%); border-left: 4px solid #ef4444; padding: 28px 32px; margin: 40px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.blog-warning p { margin-bottom: 0; font-size: 16px; line-height: 1.8; }
.blog-warning strong { color: #0a0f14; }

.blog-info { background: linear-gradient(135deg, #eff6ff 0%, #fff 100%); border-left: 4px solid #3b82f6; padding: 28px 32px; margin: 40px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.blog-info p { margin-bottom: 0; font-size: 16px; line-height: 1.8; }
.blog-info strong { color: #0a0f14; }

.blog-example { background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%); border-left: 4px solid #22c55e; padding: 28px 32px; margin: 40px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.blog-example p { margin-bottom: 0; font-size: 16px; line-height: 1.8; }
.blog-example strong { color: #0a0f14; }

/* Example box (alternative style) */
.example-box { background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(34,197,94,0.04) 100%); border-left: 4px solid #22c55e; padding: 28px 32px; margin: 40px 0; }
.example-box h4 { font-size: 16px; font-weight: 700; color: #0a0f14; margin: 0 0 12px 0; }
.example-box p { font-size: 15px; color: #374151; margin: 0; line-height: 1.7; }
.example-box pre { font-size: 14px; line-height: 1.6; color: #374151; white-space: pre-wrap; margin: 0; font-family: 'Monaco', 'Menlo', monospace; background: rgba(0,0,0,0.03); padding: 16px; border-radius: 4px; }

/* Service links */
.service-links { background: #f8f9fa; border: 1px solid #e8eaed; padding: 32px; margin: 40px 0; }
.service-links-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #5f6368; margin-bottom: 20px; }
.service-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-link-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid #e8eaed; transition: all 0.2s; }
.service-link-item:hover { border-color: #00B1EB; }
.service-link-item svg { width: 20px; height: 20px; color: #00B1EB; flex-shrink: 0; }
.service-link-item span { font-size: 14px; font-weight: 500; color: #0a0f14; }

/* Table of contents */
.toc { background: #f8f9fa; padding: 28px; }
.toc-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #5f6368; margin-bottom: 16px; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin-bottom: 12px; }
.toc-list a { font-size: 14px; color: #3c4043; transition: color 0.2s; display: block; line-height: 1.5; }
.toc-list a:hover { color: #00B1EB; }

/* Share box */
.share-box { margin-top: 32px; padding: 24px; border: 1px solid #e8eaed; }
.share-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #5f6368; margin-bottom: 16px; }
.share-links { display: flex; gap: 12px; }
.share-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border: 1px solid #e8eaed; transition: all 0.2s; }
.share-link:hover { background: #00B1EB; border-color: #00B1EB; }
.share-link:hover svg { color: #fff; }
.share-link svg { width: 18px; height: 18px; color: #5f6368; }

/* Blog CTA */
.blog-cta { background: linear-gradient(135deg, #0a0f14 0%, #1a2530 100%); padding: 56px; text-align: center; margin-top: 64px; position: relative; overflow: hidden; }
.blog-cta::before { content: ''; position: absolute; top: -50%; left: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,177,235,0.1) 0%, transparent 70%); }
.blog-cta-content { position: relative; z-index: 1; }
.blog-cta h3 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.blog-cta p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.blog-cta .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: #00B1EB; color: #fff; font-size: 14px; font-weight: 600; border-radius: 4px; transition: all 0.2s; }
.blog-cta .btn:hover { background: #0095c8; transform: translateY(-2px); }
.blog-cta .btn svg { width: 18px; height: 18px; }

/* Related articles */
.related-section { padding: 64px 56px; background: #f8f9fa; }
.related-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #5f6368; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related-card { background: #fff; border: 1px solid #e8eaed; padding: 28px; transition: all 0.2s; }
.related-card:hover { border-color: #00B1EB; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.related-card-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #00B1EB; margin-bottom: 12px; }
.related-card h4 { font-size: 17px; font-weight: 600; color: #0a0f14; line-height: 1.4; margin-bottom: 8px; }
.related-card p { font-size: 14px; color: #5f6368; line-height: 1.6; }

/* Tables (comparison-table, cost-table, feature-table) */
.comparison-table, .cost-table, .feature-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.comparison-table th, .comparison-table td,
.cost-table th, .cost-table td,
.feature-table th, .feature-table td { padding: 16px; text-align: left; border-bottom: 1px solid #e8eaed; }
.comparison-table th, .cost-table th, .feature-table th { background: #f8f9fa; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #5f6368; }
.comparison-table td, .cost-table td, .feature-table td { font-size: 15px; color: #3c4043; }
.comparison-table tr:last-child td, .cost-table tr:last-child td, .feature-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #fafafa; }
.comparison-table .highlight, .cost-table .highlight { background: rgba(0,177,235,0.05); }
.cost-table .cost-cloud { color: #6366f1; font-weight: 600; }
.cost-table .cost-onprem { color: #00B1EB; font-weight: 600; }

/* Checklist */
.checklist { background: #f8f9fa; border: 1px solid #e8eaed; padding: 32px; margin: 40px 0; }
.checklist-title { font-size: 16px; font-weight: 600; color: #0a0f14; margin-bottom: 20px; }
.checklist ul { margin: 0; }
.checklist li { border-bottom: 1px solid #e8eaed; }
.checklist li:last-child { border-bottom: none; }

/* Placeholder notice */
.placeholder-notice { background: linear-gradient(135deg, #fef3c7 0%, #fff 100%); border-left: 4px solid #f59e0b; padding: 28px 32px; margin: 40px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.placeholder-notice p { margin-bottom: 0; font-size: 16px; line-height: 1.8; }
.placeholder-notice strong { color: #0a0f14; }

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .related-grid { grid-template-columns: 1fr; }
    .service-links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .blog-hero { padding: 40px 24px 56px; }
    .blog-hero h1 { font-size: 28px; }
    .blog-hero-intro { font-size: 16px; }
    .blog-layout { padding: 40px 24px; gap: 40px; }
    .blog-main { max-width: 100%; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-content p { font-size: 16px; }
    .blog-content h2 { font-size: 22px; margin: 40px 0 16px; padding-top: 24px; }
    .blog-content h3 { font-size: 17px; }
    .blog-content li { font-size: 15px; }
    .blog-content pre { padding: 16px; font-size: 13px; }
    .blog-highlight, .blog-warning, .blog-info, .blog-example, .example-box, .placeholder-notice { padding: 20px 24px; margin: 32px 0; }
    .service-links { padding: 24px; margin: 32px 0; }
    .checklist { padding: 24px; }
    .comparison-table, .cost-table, .feature-table { font-size: 14px; }
    .comparison-table th, .comparison-table td,
    .cost-table th, .cost-table td,
    .feature-table th, .feature-table td { padding: 12px 8px; font-size: 13px; }
    .related-section { padding: 40px 24px; }
    .blog-cta { padding: 40px 24px; }
    .blog-cta h3 { font-size: 24px; }
}
