body {
    background-color: #edf3f9;
    color: #757575;
    font-weight: 400;
    font-size: .875rem;
    line-height: 1.5;
}

body,
html {
    width: 100%;
    height: 100%;
}

*,
:after,
:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

li,
ul {
    list-style-type: none;
}

a {
    color: #757575;
    text-decoration: none;
    cursor: pointer;
}

button,
input {
    outline: 0;
}

/* Header styles */
/*.header {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    background: #fff;*/
/*    z-index: 20;*/
/*}*/

.header .header-content {
    overflow: hidden;
    margin: auto;
    padding: 0 10px;
    width: 1200px;
    height: 50px;
    max-width: 100%;
    line-height: 50px;
}

.header .header-content .logo {
    float: left;
    margin-right: 15px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.header .header-content .logo>a {
    position: relative;
    display: block;
    overflow: hidden;
}

.header .header-content .logo>a>img {
    height: 40px;
}

/* Navigation */
.header .header-content .navigation {
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content .navigation li>a {
    display: block;
    padding: 0 15px;
    font-size: 16px;
}

.header-content .navigation li>a:hover,
.header-content .navigation li.active>a {
    color: #03a9f4;
}

/* Container styles */
/*.container {*/
/*    padding-top: 65px;*/
/*}*/

.container .content {
    overflow: hidden;
    margin: auto;
    padding: 0 10px;
    width: 1200px;
    max-width: 100%;
    margin-bottom: 15px;
    min-height: calc(100vh - 398px);
}

/* Article Box */
.article-box {
    overflow: hidden;
}

.article-box .article-item {
    float: left;
    overflow: hidden;
    width: calc(76% - 8.32px);
    border-radius: 6px;
    background: #fff;
}

.article-item .article-item-nav {
    overflow: hidden;
    overflow-x: auto;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.article-item .article-item-nav>a {
    display: table-cell;
    padding: 10px 15px;
    white-space: nowrap;
}

.article-item .article-item-nav .active,
.article-item .article-item-nav>a:hover {
    border-bottom: 1px solid #2196f3;
    color: #2196f3;
}

/* Post Article */
.post-article {
    position: relative;
    overflow: hidden;
    padding: 15px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.post-article .post-image {
    position: relative;
    float: left;
    display: block;
    margin-right: 10px;
    width: 50px;
    height: 50px;
}

.post-article .post-image .lazy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.post-article .post-info {
    float: left;
    overflow: hidden;
    max-width: calc(100% - 130px);
}

.post-article .post-info>h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    font-size: 16px;
}

.post-article .post-info .post-info-meta {
    overflow: hidden;
    margin-top: 8px;
    font-size: 12px;
    opacity: .8;
}

.post-article .post-info .post-info-meta>span {
    margin-right: 15px;
}

.post-article .post-info .post-info-meta>span>i {
    margin-right: 3px;
}

/* Advertisement */
.advertisement {
    overflow: hidden;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 6px;
    background: #fff;
    padding-top: 3px;
}

.advertisement a {
    display: block;
    margin-top: 2px;
}

.advertisement a img {
    width: 100%;
    height: 75px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .header .header-content .navigation {
        position: absolute;
        top: 50px;
        right: -10px;
        left: 0;
        display: none;
        overflow: hidden;
        padding-top: 10px;
        padding-left: 10px;
        width: 100%;
        border-top: 1px solid #eee;
        background: #fff;
        box-shadow: 2px 2px 2px rgb(0 0 0/10%);
    }

    .header-content .navigation li {
        float: left;
        padding: 0 10px 10px 0;
        line-height: normal;
    }

    .article-box .article-item {
        width: 100%;
    }

    .advertisement a img {
        height: 37.5px;
    }
}

/* Button Styles */
/* 基础按钮样式 */
.post-go {
    float: right;
    margin-top: 12.5px;
    padding: 0 15px;
    height: 25px;
    border-radius: 6px;
    background: #03a9f4;
    color: #fff;
    font-size: 12px;
    line-height: 25px;
    transition: all 0.3s ease;
}

.post-go:hover {
    opacity: 0.9;
    color: #fff;
}

/* 查看按钮 */
.article-item .article-item-content .post-go {
    float: right;
    margin-top: 12.5px;
    padding: 0 15px;
    height: 25px;
    border-radius: 6px;
    background: #03a9f4;
    color: #fff;
    font-size: 12px;
    line-height: 25px;
}

/* 提交按钮 */
.page-comment-box .page-comment-foot .submit button {
    display: inline-block;
    padding: 0 15px;
    height: 30px;
    border: 0;
    border-radius: 5px;
    background: #50a1ff;
    color: #fff;
    font-size: 12px;
    line-height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-comment-box .page-comment-foot .submit button:hover {
    opacity: 0.9;
}

/* 取消按钮 */
.page-comment-box .page-comment-foot .submit .cancel {
    display: inline-block;
    padding: 0 15px;
    height: 30px;
    border: 0;
    border-radius: 5px;
    background: #f44336;
    color: #fff;
    font-size: 12px;
    line-height: 30px;
    cursor: pointer;
    margin-right: 5px;
}

/* 分页按钮 */
.pagination-num .page-number>li>a {
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-num .page-number>li>span {
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background: linear-gradient(125deg, #eb4d53, #ed1c24);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    align-items: center;
    justify-content: center;
}

.pagination-num .page-number>li>a:hover {
    background: #f5f5f5;
}

/* 标签按钮 */
.single-gadget .single-gadget-tag a {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
    padding-right: 8px;
    padding-left: 29px;
    height: 26px;
    border: 1px solid #f2f6fc;
    border-radius: 13px;
    background-color: #f2f6fc;
    color: #909399;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 26px;
    transition: all 0.3s ease;
}

.single-gadget .single-gadget-tag a:hover {
    background-color: #e6e9ed;
    border-color: #e6e9ed;
}

/* 夜间模式按钮样式 */
body.night .post-go,
body.night .article-item .article-item-content .post-go {
    background: #303030;
    color: #999;
}

body.night .pagination-num .page-number>li>a {
    background: #232323;
    color: #999;
}

body.night .pagination-num .page-number>li>span {
    background: #303030;
}

body.night .single-gadget .single-gadget-tag a {
    border: 1px solid #303030;
    background-color: #303030;
    color: #999;
}

/* Night Mode */
body.night {
    background-color: #121212;
    color: #999;
}

body.night .header,
body.night .article-box .article-item,
body.night .advertisement {
    background: #232323;
}

body.night .article-item .article-item-nav {
    border-bottom: 1px solid #414243;
}

body.night a,
body.night .header .header-content .right>a>i {
    color: #999;
}

/* 侧边栏主容器 */
.sidebar-widget {
    float: right;
    overflow: hidden;
    width: calc(24% - 4.68px);
}

/* 用户信息卡片 */
.sidebar-widget .widget-user {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 45px 15px 0;
    border-radius: 6px;
    background: #fff;
}

/* 用户卡片背景效果 */
.sidebar-widget .widget-user:before {
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    content: "";
}

/* 用户卡片背景动画效果 */
.sidebar-widget .widget-user:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: none;
    width: 100%;
    height: 239px;
    background: url(/assets/img/wbj.png) no-repeat;
    background-size: cover;
    content: "";
    pointer-events: none;
}

.sidebar-widget .widget-user:hover:after {
    display: block;
}

/* 用户卡片顶部背景图 */
.widget-user>img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* 用户信息容器 */
.widget-user .user-info {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 用户头像 */
.widget-user .user-info>img {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 5px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #fff;
    transition: transform .75s;
    object-fit: cover;
}

/* 头像hover效果 */
.widget-user .user-info>img:hover {
    transform: rotate(360deg);
}

/* 用户名称 */
.widget-user .user-info>a {
    color: #2196f3;
    font-size: 16px;
    font-weight: 500;
}

/* 用户简介 */
.widget-user .user-info>p {
    margin: 10px auto;
    text-align: left;
    word-break: break-all;
}

/* 广告区域 */
.widget-row {
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 20px -5px rgb(158 158 158 / 22%);
}

/* 标签区域标题 */
.widget-row .widget-title {
    padding: 10px 15px;
    border-bottom: 1px solid #ebeef5;
}

/* 标签列表容器 */
#divTags .widget-list {
    padding-top: 10px;
    padding-right: 10px;
}

/* 标签项目 */
#divTags .widget-list>li {
    float: left;
    padding-bottom: 10px;
    padding-left: 10px;
}

/* 标签链接样式 */
#divTags .widget-list>li>a {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    background-color: #428bca;
    color: #fff;
    font-size: 12px;
    opacity: .8;
    transition: opacity 0.3s ease;
}

/* 标签颜色变化 */
#divTags .widget-list>li:nth-child(9n) a {
    background-color: #4A4A4A;
}

#divTags .widget-list>li:nth-child(9n+1) a {
    background-color: #428BCA;
}

#divTags .widget-list>li:nth-child(9n+2) a {
    background-color: #5CB85C;
}

#divTags .widget-list>li:nth-child(9n+3) a {
    background-color: #D9534F;
}

#divTags .widget-list>li:nth-child(9n+4) a {
    background-color: #567E95;
}

#divTags .widget-list>li:nth-child(9n+5) a {
    background-color: #B433FF;
}

#divTags .widget-list>li:nth-child(9n+6) a {
    background-color: #00ABA9;
}

#divTags .widget-list>li:nth-child(9n+7) a {
    background-color: #B37333;
}

#divTags .widget-list>li:nth-child(9n+8) a {
    background-color: #FF6600;
}

/* 标签hover效果 */
#divTags .widget-list>li>a:hover {
    opacity: 1;
}

/* 夜间模式适配 */
body.night .sidebar-widget .widget-user,
body.night .widget-row {
    background: #232323;
}

body.night .widget-user .user-info>a,
body.night .widget-user .user-info>p {
    color: #999;
}

body.night .widget-row .widget-title {
    border-bottom: 1px solid #414243;
    color: #999;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {

    /*.container {*/
    /*    padding-top: 0px;*/
    /*}*/

    .sidebar-widget {
        display: none;
    }
}