/* FILE: blog.css */

/* --- Blog Listing Page --- */
.blog-list h1 {
  margin-bottom: 2rem;
}
.blog-list ul {
  list-style: none;
  padding: 0;
}
.blog-list li a {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
  border-bottom: 1px solid #222;
}
.blog-list li a:hover {
  background-color: #ffffff0a;
}
.blog-list .date {
  color: #888;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.9em;
}
.blog-list .title {
  color: #ddd;
  font-weight: 500;
  flex-grow: 1;
  margin-left: 2rem;
}

/* --- Blog Post Article Styles --- */
article {
  padding-top: 2rem;
}
article header {
  text-align: center;
  margin-bottom: 3rem;
}
article .post-date {
  color: #888;
  font-family: 'SF Mono', 'Consolas', monospace;
  margin-bottom: 0.5rem;
}
article h1 {
  font-size: 2.5em;
  margin: 0;
  line-height: 1.2;
  color: #fff; /* Static white for post titles is often more readable */
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  animation: none;
}
article h2 {
  text-align: left;
  border: none;
  margin-top: 2.5rem;
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  color: #eee;
  animation: none;
}
article p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #ccc;
}
article blockquote {
  margin: 1rem 0 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid #7df;
  background-color: #ffffff08;
  color: #bbb;
  font-style: normal;
  border-radius: 0 8px 8px 0;
}
article blockquote p {
  font-size: 1em;
  line-height: 1.7;
  margin: 0;
} 

/* Add styling for project descriptions following headings */
article h2 + p {
  background-color: #ffffff08;
  padding: 1rem 1.5rem;
  border-left: 3px solid #b888ff;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
} 