/*
Theme Name: CSSJP 中华日本哲学会
Theme URI: http://cssjp.org
Author: CSSJP
Description: 中华日本哲学会官方网站主题，复刻原 www.cssjp.org 版式，基于 Bootstrap 4。
Version: 1.1
Text Domain: cssjp
*/

body {
    background: #fff;
    color: #333;
    font-family: "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.container {
    background: url(assets/images/bg00_03.gif);
}

a { color: #330; }
a:hover, a:focus { color: #1E50A2; text-decoration: none; }

/* 顶部语言切换 */
.lang-links {
    line-height: 30px;
    overflow: hidden;
}
.lang-links .lang-item {
    width: 100px;
    text-align: center;
    float: right;
    margin-left: 10px;
    font-family: "黑体", SimHei, sans-serif;
    font-size: 20px;
    font-weight: bold;
}
.lang-links .lang-item a { color: #330; }

/* 顶部横幅 */
.site-header-row {
    border-bottom: 1px solid #BCB6AA;
}
.site-header-row .logo-col { padding-right: 5px; padding-left: 0; }
.site-header-row .banner-col { padding-left: 5px; }
.site-slogan {
    color: red;
    padding-bottom: 10px;
    text-align: center;
}
.site-slogan h2 { font-size: 26px; margin: 12px 0 0; }

/* 导航条 */
.nav-site {
    background: url(assets/images/nav.png) repeat-x;
    width: 100%;
    min-height: 33px;
    margin: 0;
    padding-left: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
}
.nav-site li { padding: 0 2px; }
.nav-site li.line { color: #fff; padding: 0 4px; }
.nav-site li a {
    color: #fff;
    font-size: 18px;
    line-height: 33px;
    font-weight: 700;
    display: inline-block;
}
.nav-site li a:hover { color: #ffe9a8; }

/* 侧栏栏目块 */
.side-dl { margin-bottom: 18px; }
.side-dl dt {
    margin-bottom: 10px;
    padding: 0 0 3px 10px;
    color: #000;
    border-bottom: 1px solid #BCB6AA;
    font-size: 16px;
    font-weight: 700;
}
.side-dl dd { margin-left: 0; }
.side-dl ul { padding-left: 30px; list-style: none; margin-bottom: 0; }
.side-dl ul li { padding-bottom: 5px; font-size: 14px; }

/* 文章列表（会员活动等） */
.post-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.post-item {
    display: flex;
    align-items: flex-start;
    margin-top: 14px;
}
.post-thumb { flex: 0 0 auto; margin-right: 12px; }
.post-thumb img { width: 120px; max-height: 100px; object-fit: cover; }
.post-body { flex: 1 1 auto; min-width: 0; }
.post-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.5;
}
.post-title a { color: #330; }
.post-desc {
    font-size: 13px;
    color: #555;
    line-height: 22px;
    margin-bottom: 6px;
}
.post-desc a { color: #555; }
.post-meta {
    border-top: 1px dashed #000;
    padding: 3px 3px 0 0;
    color: #497383;
    font-size: 13px;
}
.post-meta span { padding-right: 30px; }

/* 文章页 */
#Article {
    overflow: hidden;
    border: 1px solid #C3D4E7;
    padding: 0 20px;
    margin-bottom: 15px;
    background: #fff;
}
#Article img { max-width: 100%; height: auto !important; }
#Article h1 {
    color: #000;
    font: 800 26px/34px "宋体", "SimSun", arial;
    margin-bottom: 6px;
    text-align: center;
    padding: 16px 0 8px;
    border-bottom: 1px solid #e5e5e5;
}
#Article h1 .meta {
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
    color: #999;
    display: block;
    margin-top: 6px;
}
#Article .content { font-size: 14px; line-height: 2; padding-bottom: 12px; }
#Article .content p { font-size: 14px; line-height: 25px; text-align: justify; word-wrap: break-word; }
#Article .prev-next { border-top: 1px dashed #ccc; padding: 8px 0; font-size: 14px; }

/* 分页 */
#pages { padding: 14px 0 10px; }
#pages a, #pages span {
    display: inline-block;
    height: 22px;
    line-height: 22px;
    border: 1px solid #e3e3e3;
    text-align: center;
    padding: 0 10px;
    margin: 0 2px;
    font-size: 13px;
}
#pages a { background: #fff; color: #333; }
#pages span.current { background: #5a85b2; border-color: #5a85b2; color: #fff; }

/* 页脚 */
.site-footer {
    border-top: 1px solid #BCB6AA;
    padding-top: 15px;
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #444;
}
.site-footer a { color: #330; }

@media (max-width: 991.98px) {
    .nav-site li a { font-size: 15px; }
    .lang-links .lang-item { font-size: 16px; width: 80px; }
    .site-slogan h2 { font-size: 18px; }
}

/* 组织机构分组 */
.org-section { margin-bottom: 6px; }
.org-title {
    font-size: 16px;
    font-weight: 700;
    color: #8b1d1d;
    border-left: 4px solid #8b1d1d;
    padding-left: 8px;
    margin: 16px 0 10px;
}
.org-title a { color: #8b1d1d; }
.org-title .org-more { float: right; font-size: 12px; font-weight: 400; color: #888; }

/* 相关链接列表 */
.links-list { list-style: none; padding: 0 0 0 6px; margin: 0; }
.links-list li { padding: 9px 0; border-bottom: 1px dashed #e2e2e2; font-size: 14px; }
.links-list li a { color: #330; }
.links-list li a:hover { color: #1E50A2; }
.links-list li .links-url { color: #999; font-size: 12px; margin-left: 8px; }
