/* Blog posts only (enqueued on single posts): byline link, table of contents,
   share bar spacing, About the author box. Uses the tokens from pcc.css. */

.pcc-meta__author { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: var(--pcc-border-input); text-underline-offset: 3px; }
.pcc-meta__author:hover { color: var(--pcc-fg-1); text-decoration-color: currentColor; }

/* Headings in the article are anchor targets: keep them clear of the sticky header. */
.pcc-post__body h2[id], .pcc-post__body h3[id] { scroll-margin-top: 88px; }

.pcc-toc { margin: 28px 0 8px; border: 1px solid var(--pcc-border); border-radius: var(--pcc-r-card); background: var(--pcc-card); }
.pcc-toc__s { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcc-toc__s::-webkit-details-marker { display: none; }
.pcc-toc__s::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--pcc-fg-4); border-bottom: 2px solid var(--pcc-fg-4); transform: rotate(45deg); transition: transform 150ms ease-out; flex: none; }
.pcc-toc__d[open] > .pcc-toc__s::after { transform: rotate(-135deg); }
.pcc-toc__h { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pcc-fg-3); }
.pcc-toc__list, .pcc-toc__sub { margin: 0; padding: 0; list-style: none; }
.pcc-toc__list { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.pcc-toc__sub { margin-top: 6px; padding-left: 16px; border-left: 1px solid var(--pcc-border); display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
.pcc-toc a { color: var(--pcc-fg-2); text-decoration: none; }
.pcc-toc a:hover { color: var(--pcc-blue); text-decoration: underline; text-underline-offset: 3px; }

.pcc-post .pcc-share { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--pcc-border); }

.pcc-author-box { margin-top: 32px; padding: 20px 22px; border: 1px solid var(--pcc-border); border-radius: var(--pcc-r-card); background: var(--pcc-card); display: flex; flex-direction: column; gap: 14px; }
.pcc-author-box__h { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pcc-fg-3); }
.pcc-author-box__body { display: flex; gap: 16px; align-items: flex-start; }
.pcc-author-box__img { width: 72px; height: 72px; border-radius: 50%; flex: none; background: var(--pcc-recess); }
.pcc-author-box__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pcc-author-box__name { font-size: 17px; font-weight: 600; color: var(--pcc-fg-1); text-decoration: none; }
.pcc-author-box__name:hover { color: var(--pcc-blue); }
.pcc-author-box__bio { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--pcc-fg-2); }
.pcc-author-box__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; margin-top: 2px; }
.pcc-author-box__links a { color: var(--pcc-blue); text-decoration: none; }
.pcc-author-box__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
	.pcc-author-box__body { flex-direction: column; }
}
