/* Blog extras — tag row under the article body, "Featured Blogs" list and the comment box.
   Loaded by blog articles only (see tools/blog_extras.py). Bump the ?v= in every article when
   this file changes: python3 tools/bump-assets.py */

/* ---------- tag row ---------- */
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 34px 0 8px; }
.article-tags-label { font-size: 14px; font-weight: 700; color: #0a0a23; margin-right: 2px; }
.article-tag { display: inline-block; padding: 7px 14px; border: 1px solid #e4e7ec; border-radius: 999px;
  background: #f8f9fb; color: #475467; font-size: 13px; line-height: 1.3; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.article-tag:hover { background: #FF591B; border-color: #FF591B; color: #fff; }

/* ---------- shared wrapper ---------- */
.blog-extras { padding: 10px 0 70px; }
.blog-extras .featured-blogs,
.blog-extras .blog-comments { border-top: 1px solid #eceef2; padding-top: 44px; margin-top: 34px; }
.blog-extras .fb-heading,
.blog-extras .bc-heading { font-size: 22px; font-weight: 800; color: #0a0a23; margin: 0 0 20px; line-height: 1.3; }

/* ---------- Featured Blogs: calendar left, title + excerpt right ---------- */
.fb-list { display: flex; flex-direction: column; gap: 14px; }
.fb-item { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; padding: 14px;
  border: 1px solid #eceef2; border-radius: 12px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease; }
.fb-item:hover { border-color: #FF591B; box-shadow: 0 6px 18px rgba(12, 12, 29, .07); }
.fb-cal { flex: 0 0 58px; width: 58px; text-align: center; border-radius: 10px; background: #0c0c1d;
  color: #fff; padding: 8px 0 10px; }
.fb-cal-month { display: block; font-size: 11px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: #ff8a5c; }
.fb-cal-day { display: block; font-size: 20px; font-weight: 700; line-height: 1.15; }
.fb-item-body { display: block; min-width: 0; }
.fb-item-title { display: block; font-size: 15px; font-weight: 700; color: #0a0a23; margin-bottom: 4px;
  line-height: 1.45; transition: color .2s ease; }
.fb-item-excerpt { display: block; font-size: 13.5px; line-height: 1.6; color: #667085; }
.fb-item:hover .fb-item-title { color: #FF591B; }

/* ---------- comment box ---------- */
.blog-comments .bc-heading { margin-bottom: 6px; }
.bc-count { font-size: 14px; color: #667085; margin: 0 0 16px; }
.bc-promo { font-size: 15px; line-height: 1.6; color: #344054; margin: 0 0 16px; }
.bc-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc-form textarea { width: 100%; box-sizing: border-box; min-height: 112px; padding: 13px 15px;
  font: inherit; font-size: 15px; line-height: 1.6; color: #101828; background: #fff;
  border: 1px solid #d0d5dd; border-radius: 10px; resize: vertical; }
.bc-form textarea::placeholder { color: #98a2b3; }
.bc-form textarea:focus, .bc-row input[name="name"]:focus { outline: none; border-color: #FF591B;
  box-shadow: 0 0 0 3px rgba(255, 89, 27, .14); }
.bc-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; align-items: center; }
.bc-row input[name="name"] { flex: 1 1 240px; min-width: 0; padding: 12px 14px; font: inherit;
  font-size: 15px; color: #101828; background: #fff; border: 1px solid #d0d5dd; border-radius: 10px; }
.bc-submit { flex: 0 0 auto; padding: 13px 30px; font: inherit; font-size: 15px; font-weight: 600;
  color: #fff; background: #FF591B; border: 0; border-radius: 8px; cursor: pointer;
  transition: background .2s ease; }
.bc-submit:hover { background: #e64d13; }
.bc-submit[disabled] { opacity: .65; cursor: default; }
.bc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bc-status { font-size: 14px; line-height: 1.5; color: #067647; margin: 12px 0 0; min-height: 20px; }
.bc-status.is-error { color: #b42318; }
.bc-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.bc-list:empty { margin-top: 0; }
.bc-item { padding: 14px 16px; border: 1px solid #eceef2; border-left: 3px solid #FF591B;
  border-radius: 10px; background: #fbfcfe; }
.bc-item-head { font-size: 13px; font-weight: 700; color: #0a0a23; margin: 0 0 6px; }
.bc-item-body { font-size: 14.5px; line-height: 1.7; color: #475467; margin: 0; white-space: pre-line; }

/* End-of-article author card (written by tools/author_byline.py) */
.article-author-card { display: flex; gap: 18px; align-items: flex-start; max-width: 1080px;
  margin: 40px auto 8px; padding: 22px 24px; border: 1px solid #eceef2; border-radius: 14px;
  background: #fbfcfe; }
.aac-avatar { flex: 0 0 auto; line-height: 0; }
.aac-avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block;
  border: 2px solid #FF591B; }
.aac-body { min-width: 0; }
.aac-name { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #0a0a23; }
.aac-name a { color: inherit; text-decoration: none; }
.aac-name a:hover { color: #FF591B; }
.aac-role { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #FF591B; }
.aac-bio { margin: 0; font-size: 14.5px; line-height: 1.65; color: #475467; }

@media (max-width: 768px) {
  .blog-extras { padding-bottom: 52px; }
  .blog-extras .featured-blogs,
  .blog-extras .blog-comments { padding-top: 34px; margin-top: 26px; }
  .blog-extras .fb-heading,
  .blog-extras .bc-heading { font-size: 19px; margin-bottom: 16px; }
  .fb-item { gap: 12px; padding: 12px; }
  .fb-cal { flex-basis: 50px; width: 50px; }
  .fb-cal-day { font-size: 18px; }
  .fb-item-title { font-size: 14.5px; }
  .fb-item-excerpt { font-size: 13px; }
  .bc-submit { width: 100%; }
  .article-author-card { flex-direction: column; gap: 12px; margin: 30px 16px 8px; padding: 18px; }
  .aac-avatar img { width: 64px; height: 64px; }
  .article-tags { gap: 8px; margin-top: 26px; }
  .article-tag { padding: 6px 12px; font-size: 12.5px; }
}
