.post-attachments {
  width: min(100%, 760px);
  margin: 3rem auto 0;
  scroll-margin-block: 100px;
}
.post-attachments h2 {
  margin: 0 0 1rem;
  color: var(--fg, #171717);
  font-size: 1.25rem;
  font-weight: 700;
}
.post-attachments ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line, #dedede);
}
.post-attachments li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line, #dedede);
}
.post-attachment-name {
  flex: 1 1 9rem;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.post-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--brand, #4950ff);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}
.post-download-button::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post-download-button:visited { color: #fff; }
.post-download-button:hover { background: #373dcf; }
.post-download-button:active { background: #2e33b8; }
.post-download-button:focus-visible {
  outline: 2px solid var(--brand, #4950ff);
  outline-offset: 3px;
}
