/* Year headings: treat as a subtle label, not a heading */
h2.site-date-catalog {
  font-size: 1.1rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 28px;
  margin-bottom: 4px;
}

/* Copy button for code blocks */
.code-block-container {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  user-select: none;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #999;
}

.copy-button.copied {
  background: rgba(76, 175, 80, 0.9);
  color: white;
  border-color: #4caf50;
}

.copy-button svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

/* Ensure code blocks have relative positioning */
.highlight {
  position: relative;
}

/* Mobile: show smaller thumbnails */
@media screen and (max-width: 48em) {
  .post-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }
  .post-entry {
    gap: 12px;
  }
  body {
    margin: 0 16px;
  }
}
