/* Blog styles (articles + index). Loaded only by blog pages. v1 */

.art-meta { color: #C7D3EA; font-size: 14px; margin: 0; }

.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-700); }
.crumbs span { margin: 0 4px; }

.article { max-width: 780px; margin: 0 auto; }
.art-cover {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: 10px; margin: 0 0 30px; box-shadow: 0 18px 44px rgba(0, 36, 86, 0.12);
}

.article-body { font-size: 17px; line-height: 2; color: var(--ink); }
.article-body h2, .art-h2 {
  font-size: 26px; line-height: 1.5; color: var(--blue-900); margin: 44px 0 14px;
}
.article-body h3 { font-size: 19px; line-height: 1.6; color: var(--blue-800); margin: 28px 0 8px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-inline-start: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--blue-600); }
.article-body strong { color: var(--blue-900); }

.tbl-wrap { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--line); border-radius: 8px; -webkit-overflow-scrolling: touch; }
.article-body table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.7; }
.article-body th, .article-body td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-body th { background: var(--off-white); color: var(--blue-900); font-weight: 700; white-space: nowrap; }
.article-body tr:last-child td { border-bottom: 0; }

.callout {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 8px;
  padding: 16px 20px; margin: 0 0 24px; font-size: 15.5px; line-height: 1.9; color: var(--warn-text);
}
.callout.info { background: var(--off-white); border-color: var(--line); color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

.cta-inline {
  background: var(--blue-900); border-radius: 10px; padding: 26px 28px; margin: 36px 0;
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
}
.cta-inline strong { color: #fff; display: block; font-size: 19px; line-height: 1.6; margin-bottom: 4px; }
.cta-inline p { margin: 0; color: #C7D3EA; font-size: 15px; line-height: 1.8; }
.article-body .cta-inline a.btn { color: var(--blue-900); text-decoration: none; font-weight: 700; }

.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rel-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink);
}
.rel-card:hover { border-color: var(--blue-700); }
.rel-card strong { color: var(--blue-700); font-size: 16px; }
.rel-card span { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* article cards (index + "more articles") */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 36, 86, 0.06); transition: box-shadow .15s, transform .15s;
}
.blog-card:hover { box-shadow: 0 16px 36px rgba(0, 36, 86, 0.13); transform: translateY(-2px); color: var(--ink); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.bc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.bc-cat { font-size: 12.5px; font-weight: 700; color: var(--blue-700); margin-bottom: 8px; }
.bc-body h3 { font-size: 18px; line-height: 1.6; color: var(--blue-900); margin: 0 0 10px; }
.bc-body p { font-size: 14.5px; line-height: 1.9; color: var(--muted); margin: 0 0 16px; }
.bc-meta { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.bc-more { color: var(--blue-600); font-weight: 700; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-inline .btn { justify-content: center; }
}
@media (max-width: 620px) {
  .blog-grid, .rel-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 16px; line-height: 1.95; }
  .article-body h2, .art-h2 { font-size: 22px !important; margin-top: 36px; }
  .art-cover { margin-bottom: 22px; }
  .cta-inline { padding: 22px 20px; }
}
