/* Blog-specific styles. Loaded after minimal.css so it inherits your
   existing colors/typography and only adds blog layout rules. */

.blog-page {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  box-sizing: border-box;
}

.blog-page * {
  box-sizing: border-box;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.75;
}

.blog-breadcrumb a {
  text-decoration: none;
}

.blog-page.blog-page .blog-header h1 {
  margin: 0 0 0.4rem;
  line-height: 1.25;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto;
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem) !important;
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 700;
}

.blog-meta {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.blog-content h2 {
  margin-top: 2.2rem;
  font-size: 1.3rem;
}

.blog-content h3 {
  margin-top: 1.6rem;
  font-size: 1.05rem;
}

.blog-content p,
.blog-content li {
  line-height: 1.65;
  font-size: 1.02rem;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.4rem;
  margin: 1rem 0;
}

.blog-content code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.blog-content pre {
  background: rgba(0, 0, 0, 0.06);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

.blog-content pre code {
  background: none;
  padding: 0;
}

.blog-post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card {
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.15s ease;
}

.blog-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.6;
  margin-bottom: 0.4rem;
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-card p {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
}

.blog-card .blog-card-meta {
  font-size: 0.8rem;
  opacity: 0.6;
}