.author-card-avatar img {
  height: 144px;
  width: auto;
}

.author-card-box {
  align-items: center;
  background-color: var(--light);
  background-size: cover;
  border: 1px solid var(--gray);
  border-radius: 5px;
  box-shadow: 0 3px 6px var(--dropshadow);
  column-gap: 65px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 960px;
  padding: 33px 15px;
}

.author-card-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 54px;
  margin: 0;
  padding-top: 5px;
  text-align: center;
}

.author-card-role {
  color: var(--secondary);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
  padding-bottom: 10px;
  text-align: center;
}

.author-card-avatar {
  filter: drop-shadow(-8px 8px var(--accent-hover));
}

.author-card-button {
  border-radius: 3px;
  margin: 30px auto 0;
}

.author-card-button.btn.ghost:hover {
  box-shadow: none;
}

.author-card-button a {
  height: 48px;
  padding: 0 40px;
}

.author-card-website-email-wrap {
  margin-top: 27px;
}

.author-card-website {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
  text-align: center;
}

.author-card-email {
  color: var(--primary);
  font-size: 16px;
  text-align: center;
}

.author-card-website-email-separator {
  background-color: var(--gray);
  height: 2px;
  margin: 21.5px auto 17.5px;
  width: 45px;
}

.author-card-socials-wrap {
  margin: 0 auto;
  max-width: 960px;
  text-align: center;
}

.author-card-socials-bg {
  background-color: var(--highlight);
  border-radius: 0 0 5px 5px;
  display: inline-flex;
  gap: 19px;
  padding: 9px 24px;
}

.author-card-socials-bg div {
  margin-bottom: -35px;
}

.author-card-socials-icon {
  background-color: var(--text-on-highlight);
  border: 4px solid var(--highlight);
  border-radius: 100%;
  display: grid;
  height: 50px;
  margin-bottom: -35px;
  padding: 10px;
  place-items: center;
  width: 50px;
}

.author-card-socials-icon img {
  filter: var(--highlight-filter);
  height: auto;
  vertical-align: middle;
  width: 23px;
}

.author-card.color-scheme--primary .author-card-socials-bg {
  background-color: var(--accent);
}

.author-card.color-scheme--primary .author-card-socials-icon {
  background-color: var(--white);
  border-color: var(--accent);
}

.author-card.color-scheme--primary .author-card-socials-icon img {
  filter: brightness(0) saturate(100%) invert(26%) sepia(76%) saturate(3540%) hue-rotate(328deg) brightness(89%) contrast(99%);
}

@media (width >= 834px) {
  .author-card-box {
    align-items: flex-start;
    flex-direction: row;
    padding: 38px 75px 31px;
  }

  .author-card-name {
    font-size: 30px;
    line-height: 30px;
    padding-top: 0;
    text-align: left;
  }

  .author-card-role {
    line-height: 45px;
    padding-bottom: 0;
    text-align: left;
  }

  .author-card-button {
    margin: 25px 0 0;
  }

  .author-card-website-email-wrap {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: flex-end;
    margin-right: -35px;
    margin-top: 38px;
  }

  .author-card-website-email-separator {
    height: 40px;
    margin: 0;
    width: 2px;
  }

  .author-card-socials-wrap {
    text-align: right;
  }

  .author-card-socials-bg {
    margin-right: 60px;
  }
}
