/* 侧边栏 */
.aside_container {
  position: relative;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
}
.aside_container:last-child {
  position: sticky;
  top: 75px;
  margin-bottom: 0;
  transition: top 0.35s;
}
.aside_container .sidebar_title {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 14px;
  font-weight: 500;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 1px solid #ebeef5;
}
.aside_container .sidebar_title i {
  margin-right: 10px;
  font-size: 20px;
}

.aside_list {
  display: flex;
  flex-wrap: wrap;
}

.aside_list li {
  flex-shrink: 0;
  width: calc(100% / 3);
}

/* 作者 */

.aside_container.author {
  padding: 45px 15px 15px;
}

.aside_container.author::before {
  content: '';
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.aside_container.author .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
  border-radius: var(--radius-wrap) var(--radius-wrap) 0 0;
}

.aside_container.author .user {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
  z-index: 4;
}

.avatar_wrapper {
  position: relative;
  width: 75px;
  height: 75px;
  margin-bottom: 12px;
  user-select: none;
}

.aside_container.author .user .link {
  color: var(--theme-color);
  margin-bottom: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 1px 1px 8px var(--theme-color);
}

.aside_container.author .user .info {
  color: #8a8a8a;
}

.aside_container.author .author_data {
  margin-top: 20px;
}
.author_data > ul {
  display: flex;
  flex-wrap: wrap;
}
.author_data li {
  text-align: center;
  width: 33%;
}
.author_data li > div {
  margin: 5px;
  padding: 10px 0;
  border-radius: 4px;
  cursor: pointer;
}
.author_data li > div span {
  font-size: 16px;
}
.author_data li > div > p {
  color: #8a8a8a;
}

/* 分类 */

.aside_container.sort .category_list {
  display: flex;
  flex-wrap: wrap;
}

.aside_container.sort .category_list li {
  flex-shrink: 0;
  width: 50%;
  margin: 5px 0;
}
/* 归档 */
.aside_container.record .record_list {
  flex-wrap: wrap;
}
.aside_container.record .record_list li {
  flex-shrink: 0;
  width: 50%;
  margin: 5px 0;
}

/* 文章 */
.aside_container.article .list .item {
  margin-bottom: 8px;
  line-height: 20px;
  display: flex;
}

.aside_container.article .list .item a {
  transition: all 0.1s;
  color: #606266;
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.aside_container.article .list .item i {
  display: block;
  transition: all 0.5s;
  margin-left: 20px;
}

.aside_container.article .list .item:hover > a {
  color: var(--theme-color);
}
.aside_container.article .list .item:hover > i {
  color: var(--theme-color);
  transform: rotateZ(-136deg);
}

/* 评论 */
.comments_list {
  position: relative;
}

.comments_list .item {
  margin-bottom: 15px;
  border-bottom: 1px dashed #ebeef5;
  padding-bottom: 15px;
}

.comments_list .item .user {
  display: flex;
  margin-bottom: 12px;
}

.comments_list .item .user .avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin-right: 12px;
  border-radius: 50%;
  border: 1px solid #dcdfe6;
  padding: 3px;
}

.comments_list .item .user .info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comments_list .item .user .info .author {
  max-width: 150px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #303133;
}

.comments_list .item .user .info .date {
  font-size: 12px;
  color: #909399;
}

.comments_list .item .reply {
  position: relative;
  padding: 5px 10px;
  background: #f2f6fc;
  border-radius: 6px;
}

.comments_list .item .reply::before {
  content: '';
  width: 0;
  height: 0;
  border-bottom: 6px solid #f2f6fc;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  left: 15px;
  bottom: 100%;
}

.comments_list .item .reply .link {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  color: #909399;
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
  transition: all 0.35s;
  max-height: 48px;
}

.aside_container .user_login {
  display: flex;
}

.aside_container .user_login .yublog_login {
  margin: 0 8px;
}
