/* Blog: the list, category and post pages use the APPROVED theme components from style.css
   (inn-hero-sec, article-box, searchInp, sub-category, pagination-wrap, cms-con, entry-content tables, author-box).
   This file only adds what the old WordPress theme did not have. */

/* post with no cover image: neutral tile instead of a broken image */
.bl-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; font-size: 34px; color: var(--secondary-color); background: linear-gradient(135deg, #eaf8f1, #d9f1e6); border-radius: inherit; }

/* search: nothing found */
.bl-empty { text-align: center; padding: 40px 0; font-size: 17px; color: #475569; }
.bl-empty[hidden] { display: none; }

/* post column: same reading width as the live blog */
.blog-detail-sec .container { max-width: 800px; }
.blog-detail-sec .blog-featured-img img { width: 100%; height: auto; }

/* "In this article" box */
.bl-toc { background: #f6f9f7; border: 1px solid #e4ece7; border-radius: 20px; padding: 20px 24px; margin: 0 0 32px; }
.bl-toc strong { display: block; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: #475569; margin-bottom: 10px; }
.bl-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 7px; list-style: decimal; font-size: 15.5px; }
.bl-toc a { color: #0f172a; text-decoration: none; }
.bl-toc a:hover { color: var(--secondary-color); text-decoration: underline; }
.entry-content h2, .entry-content h3 { scroll-margin-top: 110px; }

/* course call-to-action at the end of a post (same dark panel as the course pages) */
.bl-cta { margin-top: 48px; background: #061e1d; color: #fff; border-radius: 32px; padding: 44px 36px; text-align: center; position: relative; overflow: hidden; }
.bl-cta::before { content: ""; position: absolute; left: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(55, 236, 129, 0.22), transparent 70%); }
.bl-cta > * { position: relative; }
.bl-cta-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-color); margin-bottom: 14px; }
.bl-cta h2 { font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.bl-cta p { color: rgba(255, 255, 255, 0.75); font-size: 16.5px; line-height: 1.6; max-width: 540px; margin: 0 auto 24px; }
.bl-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bl-cta-btns .btn { margin: 0; }
.bl-cta-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.bl-cta-ghost:hover { background: #fff; color: #000; }
@media (max-width: 640px) { .bl-cta { padding: 32px 22px; border-radius: 26px; } .bl-cta h2 { font-size: 24px; } }

/* "Keep reading" */
.bl-more { padding-top: 0; }
.bl-more .sec-head { margin-bottom: 8px; }
.bl-more .all-article-sec, .bl-more .row.all-article-sec { padding: 0; }
