/* Colors */
/* Typography */
/* Spacing */
/* Layout */
/* Cards */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b0e14;
  color: #e6e6eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: #7aa2f7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header a {
  color: #9aa0b2;
}

header a:hover {
  text-decoration: none;
  color: #e6e6eb;
}

header ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style-type: none;
  padding: 0px;
}

img {
  max-width: 100%;
  height: auto;
  align-self: center;
}

hr {
  border: none;
  border-top: 2px solid #e6e6eb;
  margin: 1.5rem 0;
}

header,
footer {
  padding: 0.5rem 1rem;
}

aside {
  width: auto;
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}
@media (max-width: 600px) {
  aside {
    display: none;
  }
}

main {
  display: flex;
  flex-direction: column;
  padding: 2rem 25vw;
  min-width: 0;
}
@media (max-width: 600px) {
  main {
    padding: 2rem;
  }
}

/* POST CONTAINER */
#post-container {
  display: flex;
  gap: 2rem;
}
@media (max-width: 600px) {
  #post-container {
    display: block;
  }
}

/* STYLING FOR /POSTS/ */
.post-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.post-item {
  background: #0f111a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  position: relative;
}

.post-item h2 {
  margin: 0 0 0.25rem 0;
  font-size: 1.4rem;
}

.post-item h2 a {
  text-decoration: none;
  color: inherit;
}

.post-item h2 a:hover {
  text-decoration: underline;
}

.post-item h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-item time {
  display: block;
  font-size: 0.85rem;
  color: #9aa0b2;
  margin-bottom: 0.75rem;
}

.post-item p {
  margin: 0;
  color: #e6e6eb;
  line-height: 1.6;
}

/* taxonomy lists (tags + categories) */
.taxonomy-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
}

.taxonomy-item {
  background: #11151c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.taxonomy-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  text-decoration: none;
  color: #e6e6eb;
}

.taxonomy-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.taxonomy-name {
  font-size: 1rem;
  font-weight: 600;
}

.taxonomy-count {
  font-size: 0.85rem;
  color: #9aa0b2;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

#toc li {
  list-style: none;
}

#toc a {
  color: #9aa0b2;
}

#toc a:hover {
  text-decoration: none;
  color: #e6e6eb;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2rem;
  align-self: center;
}

p {
  margin: 0.5rem 0;
}

ul,
ol {
  padding-left: 2rem;
}

blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid #7aa2f7;
  color: #9aa0b2;
}

/* Wrapper for code blocks */
.highlight {
  background: #0f111a;
  border-radius: 0.5rem;
  overflow-x: auto;
  padding: 0;
  margin-bottom: 1.5rem;
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f8f8f2;
  margin: 0;
}

/* Gutter (line numbers) */
.rouge-gutter {
  user-select: none;
  text-align: right;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  line-height: 1.4;
  vertical-align: top;
  white-space: nowrap;
  color: #6b7089;
}

.rouge-gutter pre {
  margin: 0;
}

/* Code area */
.rouge-code {
  overflow-x: auto;
  padding: 0.75rem 1rem;
}

.rouge-code pre {
  margin: 0;
  font-family: inherit;
  line-height: inherit;
  white-space: pre;
}

.rouge-table td {
  padding: 0;
}

p code {
  font-size: 14px;
}

.highlight table td {
  padding: 5px;
}

.highlight table pre {
  margin: 0;
}

.c, .ch, .cd, .cpf {
  color: #75715e;
  font-style: italic;
}

.cm {
  color: #75715e;
  font-style: italic;
}

.c1 {
  color: #75715e;
  font-style: italic;
}

.cp {
  color: #75715e;
  font-weight: bold;
}

.cs {
  color: #75715e;
  font-weight: bold;
  font-style: italic;
}

.err {
  color: #960050;
  background-color: #1e0010;
}

.gi {
  color: #ffffff;
  background-color: #324932;
}

.gd {
  color: #ffffff;
  background-color: #493131;
}

.ge {
  font-style: italic;
}

.ges {
  font-weight: bold;
  font-style: italic;
}

.gr {
  color: #aa0000;
}

.gt {
  color: #aa0000;
}

.gh {
  color: #999999;
}

.go {
  color: #888888;
}

.gp {
  color: #555555;
}

.gs {
  font-weight: bold;
}

.gu {
  color: #aaaaaa;
}

.k, .kv {
  color: #66d9ef;
  font-weight: bold;
}

.kc {
  color: #66d9ef;
  font-weight: bold;
}

.kd {
  color: #66d9ef;
  font-weight: bold;
}

.kp {
  color: #66d9ef;
  font-weight: bold;
}

.kr {
  color: #66d9ef;
  font-weight: bold;
}

.kt {
  color: #66d9ef;
  font-weight: bold;
}

.kn {
  color: #f92672;
  font-weight: bold;
}

.ow {
  color: #f92672;
  font-weight: bold;
}

.o {
  color: #f92672;
  font-weight: bold;
}

.mf {
  color: #ae81ff;
}

.mh {
  color: #ae81ff;
}

.il {
  color: #ae81ff;
}

.mi {
  color: #ae81ff;
}

.mo {
  color: #ae81ff;
}

.m, .mb, .mx {
  color: #ae81ff;
}

.se {
  color: #ae81ff;
}

.sa {
  color: #66d9ef;
  font-weight: bold;
}

.sb {
  color: #e6db74;
}

.sc {
  color: #e6db74;
}

.sd {
  color: #e6db74;
}

.s2 {
  color: #e6db74;
}

.sh {
  color: #e6db74;
}

.si {
  color: #e6db74;
}

.sx {
  color: #e6db74;
}

.sr {
  color: #e6db74;
}

.s1 {
  color: #e6db74;
}

.ss {
  color: #e6db74;
}

.s, .dl {
  color: #e6db74;
}

.na {
  color: #a6e22e;
}

.nc {
  color: #a6e22e;
  font-weight: bold;
}

.nd {
  color: #a6e22e;
  font-weight: bold;
}

.ne {
  color: #a6e22e;
  font-weight: bold;
}

.nf, .fm {
  color: #a6e22e;
  font-weight: bold;
}

.no {
  color: #66d9ef;
}

.bp {
  color: #f8f8f2;
}

.nb {
  color: #f8f8f2;
}

.ni {
  color: #f8f8f2;
}

.nn {
  color: #f8f8f2;
}

.vc {
  color: #f8f8f2;
}

.vg {
  color: #f8f8f2;
}

.vi {
  color: #f8f8f2;
}

.nv, .vm {
  color: #f8f8f2;
}

.w {
  color: #f8f8f2;
}

.nl {
  color: #f8f8f2;
  font-weight: bold;
}

.nt {
  color: #f92672;
}

/*# sourceMappingURL=nyx.css.map */