/* ============================================================
   Blog guides (cost guides & comparisons, Oct 2026)
   Loaded only on posts that set $pageCss = ['pages.css', 'blog-guides.css'].
   Builds on the existing .post-page / .blog-content styles in pages.css.
   ============================================================ */

/* Featured image: show the whole 1200x630 graphic (it carries the title), no cropping */
.guide-post .post-featured-img picture { display: block; }
.guide-post .post-featured-img img { height: auto; aspect-ratio: 1200 / 630; object-fit: contain; background: var(--dark, #111224); }
.guide-post .post-featured-img::after { display: none; }

/* Comparison & price tables */
.guide-post .guide-table { margin: 6px 0 26px; border: 1px solid #ECE9F5; border-radius: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide-post .guide-table table { display: table; width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.guide-post .guide-table th,
.guide-post .guide-table td { padding: 12px 16px; border: 0; border-bottom: 1px solid #ECE9F5; text-align: left; vertical-align: top; }
.guide-post .guide-table thead th { background: var(--dark, #111224); color: #fff; font: 700 13.5px/1.35 var(--font-head); letter-spacing: .01em; }
.guide-post .guide-table tbody tr:nth-child(even) td { background: #F8F7FC; }
.guide-post .guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-post .guide-table td:first-child { color: #111118; font-weight: 600; }

/* Small print under tables */
.guide-post .blog-content p > em:only-child { color: #8a8a99; font-size: 14px; }

/* Lists inside the body (the global reset removes markers) */
.guide-post .blog-content ul { list-style: disc; }
.guide-post .blog-content ol { list-style: decimal; }
.guide-post .blog-content ul li::marker { color: var(--purple, #6C4BFF); }
.guide-post .blog-content ol li::marker { color: var(--purple, #6C4BFF); font-weight: 700; }

/* Call-to-action panel */
.guide-post .blog-cta { position: relative; overflow: hidden; margin: 40px 0 34px; padding: clamp(26px, 4vw, 40px); border-radius: 24px; background: var(--dark, #111224); color: #C9C8DE; }
.guide-post .blog-cta::before { content: ""; position: absolute; width: 320px; height: 320px; right: -90px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(108,75,255,.55), rgba(108,75,255,0) 70%); pointer-events: none; }
.guide-post .blog-cta::after { content: ""; position: absolute; width: 260px; height: 260px; left: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,111,174,.32), rgba(255,111,174,0) 70%); pointer-events: none; }
.guide-post .blog-cta > * { position: relative; z-index: 1; }
.guide-post .blog-content .blog-cta h3 { margin: 0 0 10px; color: #fff; font: 800 clamp(21px, 2.4vw, 26px)/1.25 var(--font-head); }
.guide-post .blog-cta p { margin: 0 0 22px; max-width: 560px; }
.guide-post .blog-content .blog-cta a.btn { color: var(--text, #111118); background: #fff; text-decoration: none; }
.guide-post .blog-content .blog-cta a.btn:hover { color: #fff; background: var(--purple, #6C4BFF); }

/* FAQ questions read as a group */
.guide-post .blog-content h2[id^="frequently-asked-questions"] ~ h3 { margin-top: 26px; font-size: 18.5px; }

@media (max-width: 600px) {
  .guide-post .guide-table table { font-size: 14px; }
  .guide-post .guide-table th, .guide-post .guide-table td { padding: 10px 12px; }
}

/* Blog listing (blog.php): featured guide image shown whole, since it carries the title */
.blog-featured .bf-media picture { display: block; }
.blog-featured .bf-media img { height: auto; aspect-ratio: 1200 / 630; }
