/* =============================================================
   REMASTERED INDEX: Purged Default 11ty Starters To Fit Dark Theme Layout
   ============================================================= */
:root {
  --red: #C5004A;
  --darkred: #7F0036;
  --lightgray: #333333; /* Flipped to dark context */
  --gray: #666666;
  --white: #efefef; 
  /* Deleted Destructive Base Color Vars that forced blue anchors and white bg */
}

/* Base normalization safely inherited from modern.css without combatting overrides */
table { margin: 1em 0; }
table td, table th { padding-right: 1em; }

pre, code {
  font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Lucida Console", "Courier New", Courier, monospace;
  line-height: 1.5;
}
pre {
  font-size: 14px;
  line-height: 1.375;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  -moz-tab-size: 2;
  tab-size: 2;
  hyphens: none;
  padding: 1em;
  margin: .5em 0;
  background-color: #111; /* Changed for dark mode blend */
  border-radius: 8px;
}
.highlight-line {
  display: block; padding: 0.125em 1em; text-decoration: none; color: inherit; 
}
.highlight-line:empty:before { content: " "; }
.highlight-line + br { display: none; }
.highlight-line-isdir { color: #b0b0b0; background-color: #222; }
.highlight-line-active { background-color: #444; background-color: hsla(0, 0%, 27%, .8); }
.highlight-line-add { background-color: #45844b; }
.highlight-line-remove { background-color: #902f2f; }

/* Posts list Defaults Configured Safely */
.postlist { list-style: none; padding: 0; }
.postlist-item { counter-increment: start-from -1; }
.postlist-item:before { display: inline-block; pointer-events: none; content: "" counter(start-from, decimal-leading-zero) ". "; line-height: 100%; text-align: right; }
.postlist-date, .postlist-item:before { font-size: 0.8125em; color: var(--gray); }
.postlist-date { word-spacing: -0.5px; }
.postlist-link { display: inline-block; padding: 0.25em 0.1875em; text-decoration: none !important;}
.postlist-item-active .postlist-link { font-weight: bold; }
.tmpl-home .postlist-link { font-size: 1.1875em; font-weight: 700; }

/* Global Anchor Rescue (Destroys Blue Overlap / Keeps Global Native FG color ) */
.postlist a[href], .tmpl-post a[href] { color: #ffffff !important; }

/* Tags Component */
.tag {
  display: inline-block; vertical-align: text-top; text-transform: uppercase;
  font-size: 0.625em; padding: 2px 4px; margin-left: 0.8em; background-color: var(--red); color: #fff !important;
  border-radius: 0.25em; text-decoration: none !important; font-weight: bold;
}

.warning { background-color: rgba(255, 255, 204, 0.1); padding: 1em 0.625em; border-left: 4px solid #ccaa00; border-radius: 4px;}
.warning ol:only-child { margin: 0; }

.direct-link { font-family: sans-serif; text-decoration: none; font-style: normal; margin-left: .1em; }
a[href].direct-link, a[href].direct-link:visited { color: transparent; }
a[href].direct-link:focus, :hover > a[href].direct-link { color: #fff; }
