@charset "utf-8";
.question{
    display: flex;
    overflow: hidden;
    margin-top: 15px;
}

/*左*/
.question  .question-content {
    overflow: hidden;
    width: 880px;
    margin-right:20px;
}
.question .question-content .main-content{
    display: block;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 15px -5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 15px -5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/*内容*/
.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.qa-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #222;
}

.qa-info {
    font-size: 13px;
    color: #999;
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.qa-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* 提问图片 */
.qa-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.qa-images img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.2s;
}
.qa-images img:hover {
    transform: scale(1.08);
}


/* 分割线 */
.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0 30px;
}

/* 回答 */
.answer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #333;
}
.answer-item {
    padding: 16px;
    background: #fafbfc;
    border-radius: 8px;
    margin-bottom: 12px;
}
.answer-user {
    font-size: 13px;
    color: #00ad45;
    font-weight: bold;
    margin-bottom: 6px;
}
.answer-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}
.answer-time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    text-align: right;
}

/* 回答表单 */
.answer-form {
    margin-top: 35px;
}
.form-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}
textarea {
    width: 96%;
    height: 100px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: none;
    font-family: "Microsoft Yahei";
    margin-bottom: 10px;
}
button {
    background: #00ad45;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
button:hover {
    background: #009c3d;
}


/*标签*/
.forum-show .tag {
    display: block;
    overflow: hidden;
    padding: 20px 20px 0 0;
}
.forum-show .tag .catname{
    z-index: 3;
    height: 24px;
    float: left;
    margin-top: 2px;
    line-height: 24px;
    padding: 0 15px;
    margin-right: 10px;
    overflow: hidden;
    text-align: center;
    font-size: 12px;
    background-color: #cdefdb;
    color: #46c37b;
    border-radius: 4px;
}
.forum-show .tag .catname:hover{
    background-color: #23ac38;
    color: #fff;
}



/*点赞*/
.action{
    width: 830px;
    font-size: 14px;
    margin:30px auto;
    text-align: center;
}
.action >a{
    padding: 9px 20px;
    width: 108px;
    background-color: #ffffff;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    text-align: center;
    transition: color .3s cubic-bezier(.25,.1,.25,1),border-color .3s cubic-bezier(.25,.1,.25,1),background-color .3s cubic-bezier(.25,.1,.25,1);
    border-radius: 100px;
    line-height: 20px;
    margin-right: 15px;
}
.action .like{
    border: 1px solid #F6A0A0;
    color: #EC4141;
}
 .action .like:hover{
    background: #FFF2F2;
}
.like .status-txt{
    height: 20px;
    line-height: 20px;
}
.like .status-txt .txt{
    margin-right: 10px;
    font-size: 14px;
    line-height: 20px;
}
.like .status-txt>i{
    font-size: 16px;
    margin-right: 8px;
}
.like .status-txt .count{
    padding-left: 11px;
    font-size: 14px;
    line-height: 20px;
}
.action .favorite{
    color: #FFA414;
    border: 1px solid #FFC56A;
}
.action .favorite:hover{
    background-color: #FFF2DD;
    border: 1px solid #FFC56A;
}
.favorite .status-txt{
    height: 20px;
    line-height: 20px;
}
.favorite .status-txt .txt{
    margin-right: 10px;
    font-size: 14px;
    line-height: 20px;
}
.favorite .status-txt>i{
    font-size: 16px;
    margin-right: 8px;
}
.favorite .status-txt .count{
    padding-left: 11px;
    font-size: 14px;
    line-height: 20px;
}


/*右*/
.main-sidebar{
    width: 308px;
}
/*用户模块*/
.user-module{
    position: relative;
    margin-bottom:10px;
    background-color: #ffffff !important;
    -webkit-box-shadow: 0 2px 15px -5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 15px -5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.user-module  .author-top{
    position: relative;
    height: 109px;
    overflow: hidden;
}
.user-module  .author-top .author-bg{
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: 50%;
    background-size: 120%;
    background-repeat: no-repeat;
    filter: blur(6.3px);
    transform: scale(1.1);
}
.user-module .author-avatar{
    position: relative;
    z-index: 100;
    margin-top: -40px;
    text-align: center;
}
.user-module .author-avatar .avatar{
    display: inline-block;
    width: 95px;
    height: 95px;

}
.user-module .author-avatar .avatar>img{
    display: inline-block;
    width: 84px;
    height: 84px;
    border-radius: 80px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease-in-out;
    -webkit-transition: transform 0.4s ease-in-out;
    -moz-transition: transform 0.4s ease-in-out;
    -o-transition: transform 0.4s ease-in-out;
}
.avatar-panel .avatar::after{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
}
.user-module .user-body{
    padding: 0 15px 15px;
}
.user-body>p{
    text-align: center;
    margin: 0 0 11px;
}
.user-body .user-panel{
    margin-bottom: 15px;
    font-size: 15px;
    color: #333;
    margin-top: 5px;
}
.user-body .intro{
    word-break: break-all;
    word-wrap: break-word;
    color: #999;
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 22px;
    max-height: 60px;
    overflow: hidden;
}
.user-body .article-newest{
    margin-top: 25px;
    margin-bottom: 0;
}
.user-body .article-newest .article-tit{
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}
.article-newest .article-tit .tit{
    position: relative;
    z-index: 2;
    display: inline-block;
    background: #FFF;
    padding: 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #EF3E3A;
}
.article-newest .article-tit::after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #E9E9E9;
}

.user-body .article-newest>li{
    margin-bottom: 0;
}
.user-body .article-newest>li>a{
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    color: #76838f;
}
.user-body .article-newest>li>a:hover {
    color:#15ab47;
}
.user-body .article-newest>li>a>i{
    color: #BEBEBE;
    font-size: 15px;
    padding-right: 3px;
}
.user-body .article-newest>li>a:hover>i{
    color:#15ab47;
}

.hot-right-article{
     margin-top: 0;
}