.x-cards__author-wrapper-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.x-cards__author-wrapper-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.x-cards__author-wrapper-row .x-cards__authors-hub-link-mob,
.x-cards__author-wrapper-col .x-cards__authors-hub-link-mob {
  width: 100%;
  margin: 0 auto;
}

.x-cards__author-info-wrapper-row p,
.x-cards__author-info-wrapper-col p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 22.4px !important;
  color: #202A32 !important;
}

.x-cards__author-info-wrapper-row .x-cards__author-section-description,
.x-cards__author-info-wrapper-col .x-cards__author-section-description {
  margin-bottom: 20px;
}

.x-cards__author-info-wrapper-row .x-cards__authors-hub-link,
.x-cards__author-info-wrapper-col .x-cards__authors-hub-link {
  display: none;
}

.x-cards__author-card {
  border-radius: 8px;
  border: 1px solid #D6D6D6;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.x-cards__author-name-and-tag {
  margin-bottom: 4px;
  display: flex;
  gap: 16px;
}

.x-cards__author-name {
  font-size: 18px;
  line-height: 25px;
  color: #202A32;
}

.x-cards__author-position, .x-cards__author-description {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #202A32;
  margin-bottom: 16px;
}

.x-cards__author-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x-cards__author-social-link {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-cards__author-social-link-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition-duration: 200ms;
}

.x-cards__author-social-link-image:hover {
  opacity: 0.6;
}

.x-cards__author-read-more {
  margin-top: 16px;
}

.x-cards__author-read-more a {
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  color: #2ECC71;
  text-decoration: underline;
  transition-duration: 200ms;
}

.x-cards__author-read-more a:hover {
  color: #25A35A;
}

.x-cards__author-tag {
  flex: 0 0 auto;
  height: fit-content;
  font-size: 12px;
  line-height: 21px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 24px;
  background: #EAFAF1;
  color: #1C7A44;
}

.x-cards__author-grid {
  display: grid;
  gap: 16px;
}

.x-cards__author-grid-xs-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.x-cards__author-grid-xs-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.x-cards__author-grid-xs-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.x-cards__author-grid-xs-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.x-cards__author-card-avatar {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
}

.x-cards__author-card-avatar-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 3px solid #2ECC71;
  background: #EAFAF1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.x-cards__author-card-avatar-wrapper img {
  width: 76px;
  height: 74px;
}

.x-cards__author-card-avatar-wrapper b {
  width: fit-content;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  color: #1F2737;
  font-size: 18px;
  line-height: 27px;
  text-transform: uppercase;
}

.x-cards__author-proper-card-avatar-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 3px solid #2ECC71;
  background: #EAFAF1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.x-cards__author-proper-card-avatar-wrapper img {
  width: 96px;
  height: 96px;
  border-radius: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .x-cards__author-wrapper-row {
    gap: 24px;
  }

  .x-cards__author-card-horizontal {
    flex-direction: row;
  }

  .x-cards__author-grid {
    gap: 24px;
  }

  .x-cards__author-grid-md-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .x-cards__author-grid-md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x-cards__author-grid-md-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .x-cards__author-grid-md-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .x-cards__author-wrapper-row .x-cards__authors-hub-link-mob,
  .x-cards__author-wrapper-col .x-cards__authors-hub-link-mob {
    width: auto;
    margin-top: 8px;
  }
}

@media screen and (min-width: 1280px) {
  .x-cards__author-wrapper-row {
    flex-direction: row;
    gap: 48px;
  }

  .x-cards__author-wrapper-row .x-cards__authors-hub-link-mob {
    display: none;
  }

  .x-cards__author-wrapper-col .x-cards__authors-hub-link-mob {
    width: 384px;
  }

  .x-cards__author-info-wrapper-row .x-cards__author-section-description,
  .x-cards__author-info-wrapper-col .x-cards__author-section-description {
    margin-bottom: 20px;
  }

  .x-cards__author-info-wrapper-row .x-cards__authors-hub-link {
    display: flex;
  }

  .x-cards__author-info-wrapper-row {
    max-width: 384px;
  }

  .x-cards__author-card {
    padding: 24px;
  }

  .x-cards__author-grid-xl-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .x-cards__author-grid-xl-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x-cards__author-grid-xl-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .x-cards__author-grid-xl-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}