.w {
  max-width: 800px;
  padding-top: 1rem;
}

.post-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.5rem 0;
}

.post-title-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.post-title-line h1 {
  margin: 0;
  padding: 1rem 0;
}

.post-meta-line time {
  font-size: 0.9em;
}

.reading-time {
  font-size: 0.85em;
  opacity: 0.7;
  white-space: nowrap;
}

.site-footer {
  text-align: center;
  padding-top: 1rem;
}

.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font: inherit;
  font-size: 0.75em;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.2em 0.6em;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.15s;
}

pre:hover .copy-btn {
  opacity: 0.8;
}

.copy-btn:hover {
  opacity: 1 !important;
}

.heading-anchor {
  position: absolute;
  left: -1.2em;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s;
  font-weight: normal;
}

.heading-anchor:hover {
  opacity: 1;
}

article h2:hover .heading-anchor,
article h3:hover .heading-anchor,
article h4:hover .heading-anchor {
  opacity: 0.5;
}
