/* Blog posts: the author in the byline and the author card at the end, in the ink-card style. Needs scenes.css. */
.byline.by { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; }
.byline.by a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.byline.by a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline.by img { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%; object-fit: cover; }

.author { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 22px; margin-top: 44px; padding: 22px 24px; background: var(--card); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); }
.author-pic { width: 96px; height: 96px; border: 3px solid var(--ink); border-radius: 50%; object-fit: cover; box-shadow: 4px 4px 0 var(--agent); }
.author-body { min-width: 0; }
.author-k { margin: 0 !important; font: 800 12px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.post-body .author h2 { margin: 4px 0 8px; font-size: 26px; }
.author-body > p:not(.author-k) { margin: 0 0 14px; font-size: 16.5px; line-height: 1.6; }
.author-mn { grid-column: 1 / -1; margin-top: 12px; padding-top: 16px; border-top: 2px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.author-mn p { margin: 0 !important; font: 600 15.5px var(--body); color: var(--grey); }
.author-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.soc-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 2.5px solid var(--ink); border-radius: 11px; background: var(--card); color: var(--ink); font: 700 14.5px var(--body); text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.soc-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--agent); }
.soc-btn svg { width: 18px; height: 18px; flex: none; }
.author-body .soc-btn { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--agent); }
@media (max-width: 560px) {
  .author { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; box-shadow: 6px 6px 0 var(--ink); }
  .author-pic { width: 64px; height: 64px; grid-row: 1 / span 2; align-self: center; }
  .author-body { display: contents; }
  .author-k { grid-column: 2; align-self: end; } .post-body .author h2 { grid-column: 2; margin: 0; align-self: start; }
  .author-body > p:not(.author-k), .author-body .soc-btn { grid-column: 1 / -1; justify-self: start; }
  .author-body > p:not(.author-k) { margin: 10px 0 4px; }
}
