/* static/css/aan.css — the AI Advances Network host's OWN stylesheet
   (Jeff, Nov 22, 2026). Linked ONLY by the AAN templates
   (templates/aan_index.html, aan_post.html, aan_presenters.html), and
   every rule is scoped under body.aan, so no other host's pages can
   pick up this look even if the sheet were linked by mistake.

   The scheme: a technology news channel with an Australian feel —
   deep eucalyptus green masthead, warm ochre gold accents (the
   outback / wattle note), warm paper background, charcoal-green ink.
   Serif display headlines against a clean sans body, with uppercase
   gold kickers as the typographic accent. Layout structure matches
   the shared blog pages; the identity is carried by colour, the hero
   treatment, and type. */

body.aan {
  --aan-green: #0b3d2e;
  --aan-green-deep: #072a20;
  --aan-gold: #e8a33d;
  --aan-gold-deep: #b97a14;
  --aan-paper: #faf6ef;
  --aan-card: #ffffff;
  --aan-ink: #1e2a24;
  --aan-muted: #5d6f66;
  --aan-line: #ddd5c2;
  margin: 0;
  background: var(--aan-paper);
  color: var(--aan-ink);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.6;
}
body.aan a { color: var(--aan-green); }
body.aan .aan-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px 48px; }

/* Masthead: deep green band, gold rule, serif name. */
body.aan header.site {
  background: linear-gradient(160deg, var(--aan-green) 0%, var(--aan-green-deep) 100%);
  color: #fff;
  border-bottom: 4px solid var(--aan-gold);
  padding: 26px 0 22px;
  margin-bottom: 28px;
}
body.aan header.site .aan-wrap { padding-bottom: 0; }
body.aan .kicker {
  color: var(--aan-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
body.aan .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
body.aan .tagline { color: #e9e2cf; margin: 6px 0 0; font-size: 1.02rem; }
body.aan nav.aan-nav { margin-top: 14px; }
body.aan nav.aan-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-right: 20px;
  border-bottom: 2px solid transparent;
}
body.aan nav.aan-nav a:hover { border-bottom-color: var(--aan-gold); }

/* Hero: the approved news-desk image, full width of the wrap. */
body.aan .hero { margin: 0 0 30px; }
body.aan .hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--aan-line);
  box-shadow: 0 6px 24px rgba(7, 42, 32, 0.18);
}

/* Article cards on the index. */
body.aan .grid { display: grid; gap: 18px; }
body.aan .card {
  background: var(--aan-card);
  border: 1px solid var(--aan-line);
  border-left: 4px solid var(--aan-gold);
  border-radius: 8px;
  padding: 18px 20px;
}
body.aan .card h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 4px;
  font-size: 1.3rem;
}
body.aan .card h2 a { color: var(--aan-green-deep); text-decoration: none; }
body.aan .card h2 a:hover { text-decoration: underline; }
body.aan .aan-byline {
  color: var(--aan-gold-deep);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 6px;
}
body.aan .meta { color: var(--aan-muted); font-size: 0.88rem; margin: 0 0 8px; }
body.aan .excerpt { margin: 0; }
body.aan .badge {
  display: inline-block;
  background: var(--aan-gold);
  color: var(--aan-green-deep);
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
}
body.aan .empty {
  background: var(--aan-card);
  border: 1px dashed var(--aan-line);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  color: var(--aan-muted);
}

/* One article. */
body.aan article.post {
  background: var(--aan-card);
  border: 1px solid var(--aan-line);
  border-radius: 8px;
  padding: 28px 30px;
}
body.aan article.post h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--aan-green-deep);
  margin: 0 0 6px;
  font-size: 1.9rem;
  line-height: 1.25;
}
body.aan article.post .aan-byline { font-size: 1rem; margin: 0 0 8px; }
body.aan article.post .body h3,
body.aan article.post .body h4,
body.aan article.post .body h5,
body.aan article.post .body h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--aan-green);
}
body.aan article.post .body a { color: var(--aan-gold-deep); }

/* Presenters. */
body.aan .presenters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
body.aan .presenter {
  background: var(--aan-card);
  border: 1px solid var(--aan-line);
  border-top: 4px solid var(--aan-green);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
body.aan .presenter img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
body.aan .presenter .name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aan-green-deep);
  margin: 12px 0 0;
}
body.aan .page-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--aan-green-deep);
  margin: 0 0 6px;
  font-size: 1.7rem;
}
body.aan .page-intro { color: var(--aan-muted); margin: 0 0 22px; }

body.aan footer.site {
  color: var(--aan-muted);
  font-size: 0.88rem;
  margin-top: 36px;
  border-top: 2px solid var(--aan-gold);
  padding-top: 14px;
}
