/* end-of-article author bio + social-share strip. The block's section inherits
   grid-column:2 from `.blog-article > .section`, so no grid placement here. */

.blog-author-bio .blog-social-share {
  margin-top: 32px;
}

/* blue rounded separator above the author bio (matches erp.intuit.com's superblue) */
.blog-author-bio .blog-social-share::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: var(--info);
}

/* matching separator below the bio, before "Recommended for you" — sits in the
   same reading column, so it lines up with the one above the bio */
.blog-author-bio-container:has(+ .blog-cards-container) .blog-author-bio::after {
  content: "";
  display: block;
  height: 4px;
  margin: 40px 0;
  border-radius: 10px;
  background: var(--info);
}

/* When the bio is the final section (directly above the footer, e.g. posts with
   no "Recommended for you" after it), add breathing room so the avatar isn't
   flush against the footer band. Scoped to :last-child so pages that have a
   trailing section — which already carry their own spacing — are untouched. The
   padding sits on the block, not the section, because blog-template.css zeroes
   section padding on blog-article content sections. */
.blog-author-bio-container:last-child .blog-author-bio {
  padding-bottom: 40px;
}

.blog-author-bio .blog-social-share-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color, #0d333f);
}

.blog-author-bio .blog-social-share-list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-author-bio .blog-social-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  background-color: rgb(57 58 61);
}

.blog-author-bio .blog-social-share-icon img {
  width: 15px;
  height: 15px;

  /* white glyph on the dark circle */
  filter: brightness(0) invert(1);
}

.blog-author-bio .blog-author-bio-inner {
  margin-top: 8px;
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.blog-author-bio .blog-author-bio-avatar {
  flex: none;
}

.blog-author-bio .blog-author-bio-avatar img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.blog-author-bio .blog-author-bio-text {
  min-width: 0;
}

.blog-author-bio .blog-author-bio-name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.blog-author-bio .blog-author-bio-name a {
  color: rgb(221 35 102);
  text-decoration: none;
}

.blog-author-bio .blog-author-bio-name a:hover {
  text-decoration: underline;
}

.blog-author-bio .blog-author-bio-desc {
  margin: 0;
  font-size: var(--body-font-size-s, 14px);
  line-height: 1.6;
  color: var(--text);
}

/* multi-paragraph bios: space the stacked paragraphs, block stays flush */
.blog-author-bio .blog-author-bio-desc + .blog-author-bio-desc {
  margin-top: 12px;
}
