/* Author layout only. Article cards retain the shared archive component styles. */
.cbmag-author-header__profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-block-start: 20px;
}
.cbmag-author-header__image {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.cbmag-author-header__text { min-width: 0; overflow-wrap: anywhere; }
.cbmag-author-header__text h1 { margin: 0; }
.cbmag-author-header__text p { margin: 8px 0 0; white-space: pre-line; }
.cbmag-author-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) {
  .cbmag-author-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .cbmag-author-header { padding: 16px; }
  .cbmag-author-header .cbmag-author-header__profile {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 12px 14px;
    margin-block-start: 16px;
  }
  .cbmag-author-header .cbmag-author-header__image { width: 64px; height: 64px; grid-column: 1; grid-row: 1; }
  .cbmag-author-header .cbmag-author-header__text { display: contents; }
  .cbmag-author-header .cbmag-author-header__text h1,
  .cbmag-author-header .cbmag-author-header__name { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; font-size: 20px; line-height: 1.6; }
  .cbmag-author-header .cbmag-author-header__text p { grid-column: 1 / -1; margin: 0; min-width: 0; overflow-wrap: anywhere; }
}
.cbmag-author-box .cbmag-author-header__profile { margin-block-start: 0; }
