/* #region 基本样式 */
body {
  background: #eee;
}

.module {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 4px;
}

.info-list .title h2 {
  color: #ff7a7d;
  font-size: 1rem;
  font-weight: bold;
}
/* #endregion */

/* #region 问答标题 */
.encyclopedia .title h1 {
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
}

.encyclopedia .tags {
  margin-top: 0.8rem;
}

.encyclopedia .tags span {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  color: #999;
  font-size: 0.625rem;
  background: #eee;
  border-radius: 10px;
}

.encyclopedia .tags span:not(:first-child) {
  margin-left: 0.5rem;
}

.encyclopedia .sub {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: #999;
  font-size: 0.625rem;
}

.encyclopedia .sub span > i {
  display: inline-block;
  vertical-align: middle;
  width: 2px;
  height: 2px;
  margin: 0 4px;
  background: #999;
  border-radius: 50%;
}

.encyclopedia .link {
  margin-top: 0.25rem;
}

.encyclopedia .link a {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  background: #ff7a7d;
  border-radius: 12px;
}

.encyclopedia .link img {
  vertical-align: -2px;
}

.encyclopedia .content {
  overflow: hidden;
  margin-top: 0.5rem;
  color: #4d4d4d;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 21px;
}

.encyclopedia .content h3 {
  margin: 10px 0;
  padding-left: 10px;
  color: #ff8686;
  font-size: 1.125rem;
  font-weight: 500;
  border-left: 3px solid #ff8686;
}

.encyclopedia .content p {
  margin: 10px 0;
  line-height: 180%;
  text-indent: 2em;
}

.encyclopedia .content blockquote {
  margin: 10px 0;
  padding: 10px;
  line-height: 1.4;
  background-color: #f1f1f1;
  border-left: 8px solid #ff8686;
}

.encyclopedia .content div {
  margin: 10px 0;
  text-align: center;
}

.encyclopedia .content img {
  max-width: 60%;
  border-radius: 12px;
}

/* #endregion */

/* #region 上下篇 */
.context {
  display: flex;
  justify-content: space-between;
  margin: 1.125rem 1.125rem 0;
}

.context a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 48.75%;
  padding: 0.25rem 0.5rem;
  background: #fff;
  border-radius: 4px;
  transition: 0.3s;
}

.context a:hover {
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.context a > span {
  flex-shrink: 0;
  color: #ff7a7d;
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.5;
  transition: 0.3s;
}

.context a:hover span {
  opacity: 1;
  transition: 0.3s;
}

.context .text {
  width: 66%;
}

.context .text h3 {
  color: #666;
  font-size: 0.875rem;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: 0.3s;
}

.context a:hover h3 {
  color: #333;
  transition: 0.3s;
}
/* #endregion */

/* #region 更多推荐 */
.recommend {
  background-color: #fff;
  padding: 1rem;
  margin-top: 1rem;
}

.recommend .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recommend .title h2 {
  color: #ff7a7d;
  font-size: 1rem;
  font-weight: bold;
}

.recommend .title a {
  color: #999;
  font-size: 0.875rem;
  font-weight: 400;
  transition: 0.3s;
}

.recommend .title a:hover {
  color: #ff7a7d;
  transition: 0.3s;
}

.recommend .content {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recommend .box {
  box-sizing: border-box;
  width: 48.75%;
  padding: 0.5rem;
  background: #fff;
  border-radius: 4px;
}

.recommend .img {
  overflow: hidden;
  width: 100%;
  height: 6.7rem;
  border-radius: 4px;
}

.recommend .box h3 {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 17px;
  transition: 0.3s;
}

.recommend .box a:hover > h3 {
  color: #ff7a7d;
  transition: 0.3s;
}

.recommend .sub {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: #999;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 13px;
}

.recommend .sub span > i {
  display: inline-block;
  vertical-align: middle;
  width: 2px;
  height: 2px;
  margin: 0 4px;
  background: #999;
  border-radius: 50%;
}
/* #endregion */