/* Shared visual QA fixes for every blog article. */
.article-body a.btn.btn-primary {
  min-height: 46px;
  padding: .72rem 1.15rem;
  border: 1px solid #d94735;
  border-radius: 6px;
  background: #e8543f;
  box-shadow: none;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-underline-offset: initial;
  transform: none;
}

.article-body a.btn.btn-primary:hover {
  border-color: #bd382a;
  background: #d94735;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
  transform: none;
}

.article-body a.btn.btn-primary:focus-visible {
  outline: 3px solid rgba(36, 55, 124, .3);
  outline-offset: 3px;
}

.article-body .author-box {
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid #dce2eb;
  border-bottom: 1px solid #dce2eb;
  border-radius: 0;
  background: transparent;
}

.article-body .author-avatar {
  width: 54px;
  height: 54px;
  padding: 7px;
  border: 1px solid #dce2eb;
  border-radius: 6px;
  background: #fff;
}

.article-body .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-body .author-info {
  min-width: 0;
  text-align: left;
}

@media (max-width: 600px) {
  .article-body a.btn.btn-primary {
    width: 100%;
    text-align: center;
  }

  .article-body .author-box {
    align-items: flex-start;
    flex-direction: row;
    margin: 2rem 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-body a.btn.btn-primary {
    transition: none;
  }
}
