.details_page .author i {
    display: inline-block;
    background: url(/static/images/praise.png) no-repeat;
    width: 16px;
    height: 17px;
    margin: 0px 5px -5px 0px;
    cursor: pointer;
}

.details_page .author i.on {
    background: url(/static/images/praiseon.png) no-repeat;
}

/* 正文默认排版：统一 16px 仿宋仅作为无内联样式元素的兜底。
   不得加 !important——编辑器在富文本中设置的字体/字号以内联 style（FONT-SIZE/FONT-FAMILY）
   写入，须让内联样式覆盖此默认值（详见正文 HTML 样式被 !important 全量抹平的缺陷修复）。 */
.details_page .details_content  {
    font-size: 16px;
    line-height: 2em;
    font-family: "仿宋";
}

.details_page h1,
.details_page h2,
.details_page h3,
.details_page h4,
.details_page h5 {
    font-size: 22px;
    line-height: 2em;
    font-family: "方正小标宋简体";
}

.details_page .details_content p {
    color: #666666;
    word-wrap: break-word;
}

.details_page .author img {
    width: 24px;
}

.details_page .author .share {
    height: 23px;
    width: 24px;
}

.details_page .content-gallery {
    margin: 24px auto 28px;
    max-width: 760px;
}

.details_page .content-gallery__viewport {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
}

.details_page .content-gallery__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.details_page .content-gallery__item {
    display: none;
    text-align: center;
}

.details_page .content-gallery__item.is-active {
    display: block;
}

.details_page .content-gallery__item img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.details_page .content-gallery__caption {
    margin: 0;
    padding: 10px 14px;
    color: #666666;
    font-size: 14px;
    line-height: 24px;
    background: #ffffff;
    text-align: center;
}

.details_page .content-gallery__prev,
.details_page .content-gallery__next {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 44px;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.details_page .content-gallery__prev {
    left: 0;
}

.details_page .content-gallery__next {
    right: 0;
}

.details_page .content-gallery__prev:hover,
.details_page .content-gallery__next:hover {
    background: rgba(0, 0, 0, 0.55);
}

.details_page .details_content img{
    max-width: 100%!important;
    height: auto!important;
}

/* 编辑器插入的附件类型小图标（fileTypeImages/icon_*.gif）固定 16px，
   避免被 max-width:100% 在打印预览中拉伸到整行 */
.details_page .details_content img[src*="fileTypeImages"]{
    width: 16px!important;
    height: 16px!important;
    max-width: 16px!important;
    display: inline-block;
    vertical-align: middle;
}
