/* Year grouping heading */
.notebook-year {
  color: #98999a;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 24px;
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e0e0e0;
}

/* Blog post list */
.blog-post-item {
  padding-bottom: 0;
}
.blog-post-item:last-child {
  border-bottom: none;
}

/* Post metadata (date + tags) */
.blog-post-meta {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #98999a;
}
.blog-date {
  margin-right: 8px;
}

/* Tags */
.blog-tag {
  display: inline-block;
  background: #669999;
  color: white;
  padding: 1px 8px;
  border-radius: 3px;
  font-size: 0.78rem;
  text-decoration: none;
  margin-right: 4px;
}
.blog-tag:hover {
  background: #558888;
  color: white;
  text-decoration: none;
}

/* Post title in list view */
.blog-post-title {
  color: #5f6061;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}
.blog-post-title:hover {
  color: #669999;
  text-decoration: none;
}

/* Summary text */
.blog-summary {
  color: #5f6061;
  margin-top: 6px;
  margin-bottom: 8px;
}

/* Read more / back links */
.blog-read-more,
.blog-back-link {
  color: #669999;
  font-size: 0.9rem;
  text-decoration: none;
}
.blog-read-more:hover,
.blog-back-link:hover {
  color: #558888;
  text-decoration: none;
}

/* Single post content */
.blog-content {
  color: #5f6061;
  line-height: 1.8;
}
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #669999;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-content a {
  color: #669999;
}
.blog-content a:hover {
  color: #558888;
}
.blog-content pre {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.88rem;
}
.blog-content code {
  font-size: 0.88em;
  background: #f0f0f0;
  padding: 2px 5px;
  border-radius: 3px;
}
.blog-content pre code {
  background: none;
  padding: 0;
}
.blog-content blockquote {
  border-left: 4px solid #669999;
  padding-left: 16px;
  color: #888;
  margin: 1.5rem 0;
}
/* Newspaper-style pull quote ({{< pullquote >}} shortcode) */
.blog-content .pullquote {
  color: #558888;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  font-style: italic;
  border-top: 2px solid #669999;
  border-bottom: 2px solid #669999;
  padding: 1rem 0;
}
.blog-content .pullquote p {
  margin: 0;
}
.blog-content .pullquote-center {
  margin: 2rem auto;
  text-align: center;
  max-width: 90%;
}
.blog-content .pullquote-left,
.blog-content .pullquote-right {
  max-width: 45%;
  margin: 0.4rem 0 1rem 0;
}
.blog-content .pullquote-left {
  float: left;
  margin-right: 1.5rem;
}
.blog-content .pullquote-right {
  float: right;
  margin-left: 1.5rem;
}
@media (max-width: 600px) {
  .blog-content .pullquote-left,
  .blog-content .pullquote-right {
    float: none;
    max-width: 90%;
    margin: 2rem auto;
    text-align: center;
  }
}
.blog-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}
/* Post subtitle (optional `subtitle` frontmatter field) */
.blog-subtitle {
  color: #7a7b7c;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 2px;
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.blog-content th,
.blog-content td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}
.blog-content th {
  background: #f0f0f0;
  color: #5f6061;
  font-weight: 600;
}

/* Auto-generated references list */
.blog-content ol.references {
  font-size: 1rem;
  line-height: 1.8;
  padding-left: 1.4rem;
}
.blog-content ol.references li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

/* Post footer */
.blog-post-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}
