/** Dark Nature Edition — single blog post ONLY. Preserve semantic WordPress article and geometry. */
/**
 * Dark Nature Edition / single WordPress post only, shared approved visual palette.
 * No layout or content model changes.
 */
body.dn-dark-article {
  --dn-ink: #f2f4ee;
  --dn-green: #afe18f;
  --dn-green-strong: #19301f;
  --dn-green-soft: #263a2a;
  --dn-paper: #14251b;
  --dn-surface: #0c1711;
  --dn-ink-soft: #bcc8be;
  --dn-border: rgba(184,218,174,.12);
  --dn-focus: #d2f1b8;
  /* Alias values must be overridden on the body as well as --dn-*:
     the :root --wpia-* aliases resolve before descendant overrides. */
  --wpia-ink: #f2f4ee;
  --wpia-forest: #afe18f;
  --wpia-forest-dark: #19301f;
  --wpia-paper: #14251b;
  --wpia-white: #0c1711;
  --wpia-muted: #bcc8be;
  --wpia-border: rgba(184,218,174,.12);
  background: #0c1711;
  color: #f2f4ee;
}

/* Existing header, menu, search and ticker: appearance only. */
body.dn-dark-article .site-header {
  background: #121e17;
  border-bottom-color: rgba(184,218,174,.12);
}
body.dn-dark-article .site-header__utility {
  background: #0c130f;
}
body.dn-dark-article .site-header__utility-link,
body.dn-dark-article .site-header__tagline {
  color: #c7d4c6;
}
body.dn-dark-article .site-header .site-wordmark {
  color: #f2f4ee;
}
body.dn-dark-article .site-header .primary-menu a,
body.dn-dark-article .site-header .header-account,
body.dn-dark-article .site-header .search-toggle,
body.dn-dark-article .site-header .nav-toggle {
  color: #f2f4ee;
}
body.dn-dark-article .site-header .primary-menu a:hover,
body.dn-dark-article .site-header .primary-menu a:focus-visible,
body.dn-dark-article .site-header .primary-menu .current-menu-item > a,
body.dn-dark-article .site-header .primary-menu .current_page_item > a {
  color: #afe18f;
  border-bottom-color: #afe18f;
}
body.dn-dark-article .site-header .header-account:hover,
body.dn-dark-article .site-header .header-account:focus-visible,
body.dn-dark-article .site-header .search-toggle:hover,
body.dn-dark-article .site-header .search-toggle:focus-visible,
body.dn-dark-article .site-header .nav-toggle:hover,
body.dn-dark-article .site-header .nav-toggle:focus-visible {
  background: #263a2a;
  color: #d2f1b8;
}
body.dn-dark-article .site-header .header-register {
  border-color: #afe18f;
  background: #afe18f;
  color: #102016;
}
body.dn-dark-article .site-header .header-register:hover,
body.dn-dark-article .site-header .header-register:focus-visible {
  border-color: #d2f1b8;
  background: #d2f1b8;
  color: #102016;
}
body.dn-dark-article .site-header .search-form {
  border-color: rgba(184,218,174,.16);
  background: #14251b;
}
body.dn-dark-article .site-header .search-field {
  color: #f2f4ee;
}
body.dn-dark-article .site-header .search-field::placeholder {
  color: #bcc8be;
}
body.dn-dark-article .site-header .search-submit {
  border-left-color: rgba(184,218,174,.16);
  background: #1e3023;
  color: #f2f4ee;
}
body.dn-dark-article .site-header .search-submit:hover,
body.dn-dark-article .site-header .search-submit:focus-visible {
  background: #294633;
  color: #d2f1b8;
}
body.dn-dark-article .latest-ticker {
  background: #0c130f;
  box-shadow: inset 0 -1px 0 rgba(184,218,174,.12);
}




/* Post-only visual treatment; no layout, typography metrics, content or queries changed. */
body.dn-dark-article .single-main { background: #0c1711; color: #f2f4ee; }
body.dn-dark-article .single-main .eyebrow,
body.dn-dark-article .single-main .story-card__category,
body.dn-dark-article .single-main .section-heading__link,
body.dn-dark-article .single-main .sidebar-module__link { color: #afe18f; }
body.dn-dark-article .article-hero { background: #15251a; border-radius: 7px; }
body.dn-dark-article .article-hero::after {
 background: linear-gradient(to top, rgba(4,10,6,.91), rgba(4,10,6,.22) 62%, transparent);
}
body.dn-dark-article .article-hero__copy h1 { color: #fff; }
body.dn-dark-article .article-hero__copy .eyebrow { color: #d2f1b8; }
body.dn-dark-article .article-hero__copy p { color: #eff5eb; }
body.dn-dark-article .article-hero__breadcrumbs,
body.dn-dark-article .article-hero__breadcrumbs a { color: #dae8d6; }
body.dn-dark-article .article-hero__breadcrumbs a:hover,
body.dn-dark-article .article-hero__breadcrumbs a:focus-visible { color: #fff; }
body.dn-dark-article .article-meta,
body.dn-dark-article .article-meta__author { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-meta__author,
body.dn-dark-article .article-meta__author strong { color: #f2f4ee; }
body.dn-dark-article .article-meta__author small,
body.dn-dark-article .article-meta__facts { color: #bcc8be; }
body.dn-dark-article .article-meta .discovery-share-btn,
body.dn-dark-article .article-meta .discovery-favorite-btn {
 border-color: rgba(184,218,174,.16); background: #14251b; color: #f2f4ee;
}
body.dn-dark-article .article-meta .discovery-share-btn:hover,
body.dn-dark-article .article-meta .discovery-share-btn:focus-visible,
body.dn-dark-article .article-meta .discovery-favorite-btn:hover,
body.dn-dark-article .article-meta .discovery-favorite-btn:focus-visible,
body.dn-dark-article .article-meta .discovery-favorite-btn.is-active {
 border-color: #afe18f; background: #294633; color: #d2f1b8;
}
body.dn-dark-article .article-meta .discovery-share-btn:focus-visible,
body.dn-dark-article .article-meta .discovery-favorite-btn:focus-visible {
 outline: 3px solid #d2f1b8; outline-offset: -3px;
}
/* Reading surface: readable non-glare text and distinct inline references. */
body.dn-dark-article .article-prose { color: #e8eee6; }
body.dn-dark-article .article-prose h2,
body.dn-dark-article .article-prose h3,
body.dn-dark-article .article-prose h4,
body.dn-dark-article .article-prose h5 { color: #f2f4ee; }
body.dn-dark-article .article-prose a { color: #c6e8ad; }
body.dn-dark-article .article-prose a:hover,
body.dn-dark-article .article-prose a:focus-visible { color: #e1f5cd; }
body.dn-dark-article .article-prose > p:first-of-type::first-letter { color: #d2f1b8; }
body.dn-dark-article .article-prose figcaption,
body.dn-dark-article .article-prose cite { color: #bcc8be; }
body.dn-dark-article .article-prose blockquote { border-left-color: #afe18f; color: #e1ebdd; }
body.dn-dark-article .article-prose th,
body.dn-dark-article .article-prose td { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-prose th { background: #1b3023; color: #f2f4ee; }
body.dn-dark-article .article-prose td { background: #14251b; color: #e8eee6; }
body.dn-dark-article .article-prose :where(code, pre) { background: #14251b; color: #e8eee6; }
body.dn-dark-article .article-prose :where(.wp-block-quote,.wp-block-pullquote) { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-prose .wp-block-separator { border-color: rgba(184,218,174,.16); }
/* Sidebar tools retain TOC open state, responsive stacking and taxonomy links. */
body.dn-dark-article .sidebar-module { border-color: rgba(184,218,174,.16); background: #14251b; color: #f2f4ee; }
body.dn-dark-article .sidebar-module__heading,
body.dn-dark-article .article-toc ol,
body.dn-dark-article .article-sidebar-related .story-card--compact,
body.dn-dark-article .sidebar-module--species .species-card__facts { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-toc li { color: #bcc8be; }
body.dn-dark-article .article-toc a:hover,
body.dn-dark-article .article-toc a:focus-visible,
body.dn-dark-article .article-sidebar-related .story-card__title a:hover,
body.dn-dark-article .article-sidebar-related .story-card__title a:focus-visible { color: #d2f1b8; }
body.dn-dark-article .sidebar-module .species-card__scientific,
body.dn-dark-article .sidebar-module .species-card__discovery-label,
body.dn-dark-article .sidebar-module .species-fact dt { color: #bcc8be; }
body.dn-dark-article .sidebar-module .species-card__cta { background: #afe18f; color: #102016; }
body.dn-dark-article .sidebar-module .species-card__cta:hover,
body.dn-dark-article .sidebar-module .species-card__cta:focus-visible {
 background: #d2f1b8; color: #102016;
}
body.dn-dark-article .article-sidebar .site-registration-cta--compact {
 border-color: rgba(184,218,174,.16); background: #19301f;
}
body.dn-dark-article .site-registration-cta .eyebrow { color: #d2f1b8; }
body.dn-dark-article .site-registration-cta__button--primary {
 border-color: #afe18f; background: #afe18f; color: #102016;
}
body.dn-dark-article .site-registration-cta__button--primary:hover,
body.dn-dark-article .site-registration-cta__button--primary:focus-visible {
 border-color: #d2f1b8; background: #d2f1b8; color: #102016;
}
/* Verifiable references: preserve original list numbering and DOI links. */
body.dn-dark-article .article-sources {
 border-color: rgba(184,218,174,.16); background: #14251b; color: #f2f4ee;
}
body.dn-dark-article .article-sources .section-heading,
body.dn-dark-article .article-sources__list > li { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-source__title { color: #c6e8ad; }
body.dn-dark-article .article-source__title:hover,
body.dn-dark-article .article-source__title:focus-visible { color: #e1f5cd; }
body.dn-dark-article .article-source__meta,
body.dn-dark-article .article-source__doi,
body.dn-dark-article .article-source__accessed,
body.dn-dark-article .article-source__note { color: #bcc8be; }
/* Related stories and community are unchanged in ordering and columns. */
body.dn-dark-article .article-related .section-heading { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-related .story-card__media,
body.dn-dark-article .article-sidebar .species-card__media { border-radius: 7px; }
body.dn-dark-article .article-related .story-card__title a:hover,
body.dn-dark-article .article-related .story-card__title a:focus-visible { color: #d2f1b8; }
body.dn-dark-article .article-community { border-color: rgba(184,218,174,.16); background: #14251b; }
body.dn-dark-article .article-community__intro {
 border-color: rgba(184,218,174,.16); background: #1d2e22;
}
body.dn-dark-article .article-community__intro > p:not(.eyebrow),
body.dn-dark-article .article-community__topics span { color: #bcc8be; }
body.dn-dark-article .article-community__topics article { border-color: rgba(184,218,174,.16); }
body.dn-dark-article .article-community__intro > a { background: #afe18f; color: #102016; }
body.dn-dark-article .article-community__intro > a:hover,
body.dn-dark-article .article-community__intro > a:focus-visible {
 background: #d2f1b8; color: #102016;
}
body.dn-dark-article .article-community__visual::after {
 background: linear-gradient(90deg, rgba(4,13,7,.83), rgba(4,13,7,.30));
}
body.dn-dark-article .wikipetsia-media-placeholder {
 background: linear-gradient(135deg, #283c2c, #17241b);
}
body.dn-dark-article .section-heading { border-color: rgba(184,218,174,.16); }

/* Accepted dark shell / footer treatment. */

body.dn-dark-article .site-footer {
  background: #0c130f;
  box-shadow: inset 0 1px 0 rgba(184,218,174,.12);
}
body.dn-dark-article .site-footer__account-button {
  border-color: #afe18f;
  background: #afe18f;
  color: #102016;
}
body.dn-dark-article .site-footer__account-button:hover,
body.dn-dark-article .site-footer__account-button:focus-visible {
  background: #d2f1b8;
  color: #102016;
}

