/*
 * Shared stylesheet for long-form blog posts.
 * Every new post under /blog/ links to this file instead of duplicating
 * the ~30-line inline <style> block that older posts carry. Keep this file
 * additive — older posts still ship their own inline styles, so changes
 * here only affect posts that opt in via <link rel="stylesheet">.
 */

.post-container { max-width: 850px; margin: 3rem auto; padding: 0 1.5rem; }
.post-header { margin-bottom: 3rem; text-align: center; }
.post-category { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; color: #c0392b; margin-bottom: 0.75rem; display: block; letter-spacing: 0.15em; }
.post-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 3.25rem; font-weight: 800; color: #1a1a2e; line-height: 1.05; margin-bottom: 1.5rem; }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 2rem; font-size: 0.95rem; color: #666; margin-bottom: 2rem; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 0.5rem; }

.post-hero { margin: 0 0 2.25rem; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(26,26,46,0.08); }
.post-hero img { width: 100%; height: auto; display: block; }

.post-content { font-size: 1.1rem; line-height: 1.8; color: #333; }
.post-content h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 2.3rem; font-weight: 800; color: #1a1a2e; margin: 3rem 0 1.25rem; text-transform: uppercase; border-bottom: 4px solid #f1f3f5; padding-bottom: 0.5rem; }
.post-content h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 700; color: #1a1a2e; margin: 2rem 0 0.75rem; }
.post-content p { margin-bottom: 1.35rem; }
.post-content ul, .post-content ol { margin-bottom: 1.75rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.65rem; }
.post-content a { color: #c0392b; font-weight: 600; }
.post-content a:hover { text-decoration: underline; }

.callout { background: #f8f9fa; border-left: 4px solid #c0392b; padding: 1.5rem 1.75rem; border-radius: 0 8px 8px 0; margin: 2rem 0; }
.callout strong { color: #1a1a2e; }

.stat-table, .compare-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.stat-table thead, .compare-table thead { background: #1a1a2e; color: #fff; }
.stat-table th, .compare-table th { padding: 0.9rem; text-align: left; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; font-size: 0.85rem; }
.stat-table td, .compare-table td { padding: 0.85rem 0.9rem; border-bottom: 1px solid #f1f3f5; }
.stat-table tr:hover, .compare-table tr:hover { background: #fafbfc; }
.stat-table .best, .compare-table .best { color: #27ae60; font-weight: 700; }

.faq-block { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.25rem 1.5rem; margin-top: 0.75rem; }
.faq-block summary { cursor: pointer; font-weight: 700; color: #1a1a2e; padding: 0.45rem 0; outline: none; }
.faq-block p { margin: 0.5rem 0 0; color: #4b5563; font-size: 0.98rem; }

.cta-banner { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; border-radius: 12px; padding: 2.5rem; text-align: center; margin-top: 3rem; }
.cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: 0.75rem; border: none; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0 auto 0.5rem; max-width: 540px; }
.cta-banner .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.btn-primary, .btn-secondary { display: inline-block; padding: 0.9rem 1.7rem; border-radius: 4px; font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 0.85rem; letter-spacing: 0.04em; transition: 0.2s; }
.btn-primary { background: #c0392b; color: #fff; }
.btn-primary:hover { background: #a93226; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-secondary:hover { border-color: #fff; transform: translateY(-2px); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.related-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.25rem; text-decoration: none; color: inherit; transition: 0.2s; display: block; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,0.06); border-color: #c0392b; }
.related-card .cat { font-size: 0.7rem; color: #c0392b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.related-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; margin: 0.5rem 0 0; color: #1a1a2e; line-height: 1.3; }

.blog-footer { background: #1a1a2e; color: #fff; padding: 2.5rem 1.5rem; margin-top: 4rem; }
.blog-footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem 1.5rem; }
.blog-footer h4 { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; font-size: 0.9rem; color: #fff; margin: 0 0 0.85rem; letter-spacing: 0.04em; }
.blog-footer ul { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; }
.blog-footer li { margin-bottom: 0.45rem; }
.blog-footer a { color: #aaa; text-decoration: none; }
.blog-footer a:hover { color: #fff; }
.blog-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.75rem; padding-top: 1.25rem; text-align: center; font-size: 0.8rem; color: #888; }
