/* ===== cfqikan.com - g3mm.com 完全复刻样式 ===== */

/* Layout */
.resource-body { background: #f1f1f1; padding: 14px 0; }
.resource-detail { margin: 0 auto; width: 1200px }
.res-main { float: left; width: 72% }
.res-side { float: right; width: 26.66% }

/* Article main */
.article-main {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 15px;
}

/* Article title */
.article-title {
    margin-bottom: 20px;
}
.article-title h1 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    max-width: 790px;
}

/* Article source buttons - g3mm.com exact */
.article-source {
    margin-bottom: 20px;
    clear: both;
}
.article-source a {
    position: relative;
    display: inline-block;
    height: 28px;
    margin-right: 10px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 26px;
    text-decoration: none;
    color: #fff;
    background: #01319f;
    border-radius: 5px;
    transition: all 0.3s;
}
.article-source a:hover {
    background: #002280;
    color: #fff;
    text-decoration: none;
}
.article-source a i {
    margin-right: 3px;
    font-size: 14px;
}

/* Article detail fields - g3mm.com exact */
.article-detail a {
    color: #3c3c3c;
    border-bottom: 1px dotted #808080;
    display: inline-block;
}
.article-detail a:hover {
    text-decoration: none;
}
.article-detail > div {
    position: relative;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 22px;
}
.article-detail .label {
    display: inline-block;
    width: 58px;
    color: #777;
    text-align: justify;
    text-align-last: justify;
    margin-right: 10px;
    vertical-align: top;
}
.article-detail .label:after {
    position: absolute;
    right: -5px;
    margin: 0 !important;
    content: ":" !important;
}

/* Abstract */
.article-detail .abstract {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #f7f8fa;
    border-radius: 4px;
    line-height: 1.8;
}
.article-detail .abstract .label {
    display: block;
    width: auto;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}
.article-detail .abstract .abstract {
    font-size: 14px;
    color: #555;
    background: none;
    padding: 0;
    margin: 0;
}

/* DOI */
.article-detail .doi a {
    color: #3c3c3c;
    border-bottom: 1px dotted #808080;
}

/* Author */
.article-detail .author a {
    color: #3c3c3c;
}

/* Institution */
.article-detail .organ a {
    color: #3c3c3c;
}

/* Journal source */
.article-detail .journal .vol {
    color: #0068a2;
    font-weight: bold;
}
.article-detail .journal .vol:before {
    display: inline-block;
    margin-right: 5px;
    font-size: 12px;
    font-weight: bold;
    content: "\00B7";
}

/* Keywords */
.article-detail .subject a {
    color: #3c3c3c;
}

/* Category */
.article-detail .class a {
    color: #1a7fc9;
}

/* Publication date */
.article-detail .others span {
    color: #999;
}

/* Related articles - g3mm.com exact */
.article-relate {
    margin-top: 20px;
}
.article-relate-list .relate-title {
    padding: 15px 15px 0;
    background: #f8f8f8;
}
.article-relate-list .layui-tab-title {
    height: 37px;
    border-bottom: 2px solid #666;
}
.article-relate-list .relate-title li {
    padding: 0 15px;
    line-height: 35px;
    color: #555;
    font-size: 16px;
    display: inline-block;
}
.article-relate-list .relate-title .layui-this {
    color: #fff;
    background: #666;
}
.article-relate-list .relate {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f8f8;
}
.article-relate-list .article-list {
    padding: 10px 20px;
}
.article-relate-list li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 25px;
    color: #999;
}
.article-relate-list li span {
    margin-right: 3px;
    color: #333;
}
.article-relate-list li span:before {
    display: inline-block;
    content: "[";
}
.article-relate-list li span:after {
    display: inline-block;
    content: "]";
}
.article-relate-list li a {
    color: #0068a2;
    border-bottom: none;
}

/* Sidebar - g3mm.com exact */
.res-side .minapp {
    margin-bottom: 15px;
    padding-bottom: 10px;
    background: #fff;
    overflow: hidden;
}
.res-side .minapp .title,
.res-side .news .title {
    position: relative;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    padding: 20px 0 10px;
    overflow: hidden;
}
.res-side .minapp .title span,
.res-side .news .title span {
    float: left;
    padding-left: 15px;
    border-left: 3px solid #4b98ff;
}
.res-side .minapp .qrcode {
    margin: 0 auto;
    width: 200px;
}
.res-side .minapp .qrcode img {
    width: 200px;
    height: 250px;
    object-fit: cover;
}
.res-side .minapp .txt {
    margin: 0px auto;
    text-align: center;
}
.res-side .minapp p {
    font-size: 14px;
    line-height: 30px;
}
.res-side .minapp p a {
    color: #0068a2;
}
.res-side .minapp .sub {
    font-size: 14px;
    color: #666;
}

/* Sidebar news/recommend */
.res-side .news {
    position: relative;
    margin-bottom: 15px;
    background: #fff;
}
.res-side .news .title .more {
    float: right;
    padding-right: 15px;
    font-size: 14px;
}
.res-side .news-list,
.res-side .res-list {
    padding: 0 20px 20px;
    overflow: hidden;
}
.res-side .news-list li {
    margin-top: 10px;
}
.res-side .news-list i {
    margin-top: 4px;
    float: left;
    width: 18px;
    height: 18px;
}
.res-side .news-list a {
    float: right;
    width: 92%;
    color: #333;
    font-size: 14px;
    line-height: 24px;
    max-height: 48px;
    overflow: hidden;
    border-bottom: none;
}
.res-side .news-list a:hover,
.res-side .res-list a:hover {
    color: #1d7ad9;
}

/* Sidebar res-list (同分类资源) */
.res-side .res-list li {
    position: relative;
    margin-top: 10px;
    padding-left: 10px;
}
.res-side .res-list li:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #999;
}
.res-side .res-list li a {
    display: block;
    max-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 24px;
    overflow: hidden;
    border-bottom: none;
}

/* Sidebar keywords */
.res-side .pro-list {
    padding: 0 20px 20px;
}
.res-side .pro-list a {
    display: inline-block;
    margin-top: 10px;
    background: #f3f3f3;
    padding: 0 10px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    transition: all 0.2s ease;
    color: #333;
    border-bottom: none;
}
.res-side .pro-list a:hover {
    color: #fff;
    background: #057ee1;
}

/* Context (prev/next) */
.context {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}
.context li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 22px;
}
.context li span {
    color: #999;
}
.context li a {
    color: #333;
    border-bottom: none;
}
.context li a:hover {
    color: #0068a2;
}

/* Article content body */
.article-content {
    line-height: 2;
    font-size: 15px;
    color: #333;
    text-indent: 2em;
    margin-bottom: 24px;
}
.article-content p {
    margin-bottom: 8px;
}

/* References */
.article-references {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e8;
}
.article-references h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}
.article-references ol {
    padding-left: 22px;
}
.article-references li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3px;
}

/* Article list page */
.article-list-page {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
}
.article-list-page .list-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}
.article-list-page .list-item:last-child {
    border-bottom: none;
}
.article-list-page .list-item .item-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
}
.article-list-page .list-item .item-title a {
    color: #333;
    font-weight: bold;
    border-bottom: none;
}
.article-list-page .list-item .item-title a:hover {
    color: #0068a2;
}
.article-list-page .list-item .item-info {
    font-size: 13px;
    color: #999;
    line-height: 20px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-list-page .list-item .item-meta {
    font-size: 12px;
    color: #aaa;
}
.article-list-page .list-item .item-meta span {
    margin-right: 15px;
}

/* Search results */
.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px dashed #eee;
    background: #fff;
}
.search-result-item .result-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 6px;
}
.search-result-item .result-title a {
    color: #0068a2;
    font-weight: bold;
    border-bottom: none;
}
.search-result-item .result-title a:hover {
    text-decoration: underline;
}
.search-result-item .result-meta {
    font-size: 13px;
    color: #666;
    line-height: 20px;
}
.search-result-item .result-meta span {
    margin-right: 12px;
    color: #999;
}
.search-result-item .result-abstract {
    font-size: 13px;
    color: #777;
    line-height: 20px;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.page-list {
    text-align: center;
    padding: 20px 0;
}
.page-list a, .page-list span {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    margin: 0 3px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    background: #fff;
}
.page-list a:hover {
    background: #1a7fc9;
    border-color: #1a7fc9;
    color: #fff;
}
.page-list .current {
    background: #1a7fc9;
    border-color: #1a7fc9;
    color: #fff;
}

/* Footer - g3mm.com dark style */
.footer {
    padding: 30px 0;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    background: #333;
}
.footer a {
    padding: 0 5px;
    color: #fff;
}
.footer a:hover {
    color: #ddd;
}
