/* AVA News static pages. Generated/owned by intel/news/render.py. */
:root {
  --bg: #0A0A0A; --surface: #161616; --border: #2a2a2a;
  --text-primary: #e4e4e7; --text-secondary: #b0b8c4; --text-muted: #8a8f97;
  --accent: #e53265; --accent-2: #2fd6b5; --slate: #67627A;
  --radius: 8px; --radius-sm: 5px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text-secondary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400; line-height: 1.7; }
a { color: var(--text-secondary); }
a:hover { color: var(--text-primary); }
.back-to-ava { display: inline-block; margin-bottom: 1.5rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem; color: var(--text-muted); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: var(--radius);
  /* 44x44 tap target (WCAG 2.1 / Apple HIG) -- mirrors academy.css */
  padding: 0.7rem 1rem; min-height: 44px; min-width: 44px;
  box-sizing: border-box; transition: border-color 0.15s, color 0.15s; }
.back-to-ava:hover { border-color: var(--accent); color: var(--accent); }
.news-article, .news-index { max-width: 720px; margin: 2.5rem auto 4rem; padding: 0 1.5rem; }
.breadcrumb { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1.25rem;
  letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb .sep { margin: 0 0.4rem; }
/* article-page category chip stays the boxed neutral label */
.article-category { display: inline-block; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: 0.85rem; padding: 0.2rem 0.55rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); }
/* index card kicker: mint uppercase, no box (trust register, rule 25) */
.card-category { font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2); }
h1 { font-weight: 400; font-size: 1.85rem; color: var(--text-primary);
  margin: 0 0 0.6rem; line-height: 1.3; }
.article-lede, .index-lede { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.article-meta { font-size: 0.78rem; color: var(--text-muted);
  letter-spacing: 0.04em; text-transform: uppercase; }
.article-hero { margin: 1.5rem 0 2rem; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; }
.article-hero img { display: block; width: 100%; height: auto; }
.article-body { font-size: 0.95rem; line-height: 1.8; }
.article-body h2 { font-weight: 400; font-size: 1.2rem; color: var(--text-primary); margin: 1.8rem 0 0.6rem; }
.article-body h3 { font-weight: 500; font-size: 1rem; color: var(--text-primary); margin: 1.5rem 0 0.5rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.5rem; }
.article-body strong { color: var(--text-primary); font-weight: 500; }
.article-body code { font-family: Menlo, monospace; font-size: 0.84rem; padding: 0.1rem 0.35rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.article-tags { margin-top: 2rem; font-size: 0.78rem; color: var(--text-muted); }
.article-tags span { display: inline-block; margin-right: 0.4rem; padding: 0.15rem 0.45rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); }
.article-nav, .index-header { margin-top: 3rem; }
.article-nav { border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: 0.85rem;
  display: flex; justify-content: space-between; }
/* Academy compact-card grid (DEC-170) -- mirrors .lesson-list / .lesson-card values */
.article-list { display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem; list-style: none; margin: 0 0 3rem; padding: 0; }
.article-card { display: flex; }
.article-card a { display: flex; gap: 0.85rem;
  padding: 1.1rem 1.1rem 1.2rem; border: 1px solid var(--border);
  background: var(--surface); color: inherit; text-decoration: none;
  width: 100%; align-items: flex-start; border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.article-card a:hover { border-color: var(--slate);
  background: #1a1f28; transform: translateY(-2px); text-decoration: none; }
/* Icon + body sub-elements (mirror .lc-icon / .lc-body from academy.css) */
.card-icon { flex-shrink: 0; padding-top: 0.1rem; line-height: 0; }
.card-icon img { width: 40px; height: 40px; display: block; }
.card-body { display: flex; flex-direction: column; gap: 0.3rem; }
/* Card title / teaser / date mirroring .lc-title / .lc-summary / .lc-meta */
.article-card h2 { color: var(--text-primary); font-weight: 600;
  font-size: 1rem; line-height: 1.3; margin: 0; }
.card-teaser { color: var(--text-muted); font-size: 0.85rem;
  line-height: 1.5; margin: 0; }
.card-date { color: var(--text-muted); font-size: 0.7rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0.2rem 0 0; }
.index-empty { color: var(--text-muted); }
.article-follow { font-size: 0.82rem; color: var(--text-muted); margin-top: 2rem; }
.article-follow a { color: var(--text-secondary); }
.article-follow a:hover { color: var(--text-primary); }
