/* Estilos do index do blog (blog.html) */
.blog-tree {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.8;
  font-family: "Space Mono", monospace;
  /* Consistência com Home */
}

.blog-tree a {
  color: #00d9ff;
  /* Fallback */
  color: var(--hero-color);
  /* Dinâmico */
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  /* transform (glitch shake) não tem efeito em display:inline */
}

.blog-tree a:hover {
  filter: brightness(1.5);
  text-shadow: 0 0 10px var(--hero-shadow);
}


/* Estilos do post (post.html) */
.post-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--hero-color);
  font-family: "Orbitron", sans-serif;
  /* Título com peso Sci-Fi */
  font-weight: 900;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #1a3a1a;
  text-align: center;
}

/* --- O FIX DA LEITURA --- */
.post-content {
  color: #b0b0b0;
  line-height: 1.8;
  font-size: 1.05rem;
  font-family: "Space Mono", monospace;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: var(--hero-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Press Start 2P", cursive;
  font-size: 1.2rem;
  line-height: 1.4;
}

.post-content h1 {
  font-size: 1.5rem;
  border-bottom: 1px solid #2a2a3a;
  padding-bottom: 0.5rem;
}

.post-content strong {
  color: var(--hero-color);
  font-weight: 700;
  display: inline-block;
  /* transform (glitch shake) não tem efeito em display:inline */
}

.post-content em {
  color: #fff;
  font-style: italic;
}

.post-content a {
  color: var(--hero-color);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  /* transform (glitch shake) não tem efeito em display:inline */
}

.post-content a:hover {
  background: var(--hero-shadow);
  text-decoration-style: solid;
}

.post-content blockquote {
  border-left: 4px solid var(--hero-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #888;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.post-content pre {
  background: #0f0f12 !important;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.copy-code-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.4rem 0.8rem;
  background: #222;
  color: #888;
  font-size: 0.7rem;
  border: 1px solid #333;
  border-top: none;
  border-right: none;
  border-bottom-left-radius: 4px;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  transition: all 0.2s ease;
}

.copy-code-button:hover {
  color: var(--hero-color);
  border-color: var(--hero-color);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid #333;
  border-radius: 2px;
  margin: 2rem 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.post-content hr {
  border: none;
  border-top: 1px dashed #444;
  margin: 3rem 0;
}

