html,
body {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 14px;
    /*background-color: #fafafa;*/
    background-color: #eee;
    font-family: -apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
}

img {
    max-width: 100%;
}

.flex-h {
    display: flex;
    flex-direction: row;
}

.flex-1 {
    flex: 1;
}

.main-center {
    justify-content: center;
}

.cross-center {
    align-items: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 56px;
    line-height: 56px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background-color: #ffcf0d;
    z-index: 500;
}

.footer {
    position: fixed;
    width: 100vw;
    height: 48px;
    left: 0;
    bottom: 0;
    z-index: 500;
    background-color: white;
}


.bottom-nav-item {
    position: relative;
    padding: 5px 0;
    text-align: center;
    font-size: 10px;
    color: #aaa;
    text-decoration: none;
}

.bottom-nav-item.act {
    color: #000;
}

.bottom-nav-icon {
    width: 22px;
    height: 22px;
}

.bottom-nav-icon-flag {
    position: absolute;
    top: -35px;
    left: 50%;
    height: 32px;
    margin-left: -40px;
    /*animation: JUMP1 1s infinite;*/
}

@keyframes JUMP1 {
    0% {
        top: -35px;
    }

    50% {
        top: -40px;
    }

    100% {
        top: -35px;
    }
}

.article-area {
    max-width: 460px;
}

.member-area {
    display: none;
    /*width: 200px;*/
    margin-left: 20px;
    margin-top: 15px;
    box-sizing: border-box;
}

.card-1 {
    margin-top: 5px;
    padding: 10px;
    background-color: white;
}

.main-content {
    margin: 0 auto;
    max-width: 700px;
    /*background-color: white;*/
}

/** main nav **/
.main-nav {
    box-sizing: border-box;
    position: relative;
}

.main-nav-list {
    padding: 10px 10px 0 0;
    margin: 0;
    list-style: none;
}

.main-nav-list>li {
    display: inline-block;
}

.main-nav-border {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    z-index: 1;
    background-color: #efefef;
}

.main-nav-link {
    position: relative;
    display: inline-block;
    height: 28px;
    margin-right: 15px;
    transition: .1s color;
    font-weight: bold;
    color: #555;
    box-sizing: border-box;
    text-decoration: none;
    z-index: 10;
}

.main-nav-link:hover {
    color: #ffcf0d;
}

.main-nav-link.active {
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #ffcf0d;
}

/** 顶部推荐的 **/
.recommended-article-wrap {
    justify-content: space-between;
}

.recommended-article-item {
    flex: 1;
    max-width: 50%;
    margin-right: 10px;
    text-decoration: none;
    color: #333;
}

.recommended-article-item:last-child {
    margin-right: 0;
}

.recommended-article-cover {
    height: 120px;
    background-repeat: none;
    background-position: center;
    background-size: cover;
}

.recommended-article-title {
    padding: 5px 0;
    font-size: 1.1em;
}

.recommended-article-meta {
    font-size: 12px;
    color: #999;
}

/** 文章列表 **/
.article-list-wrap {
    padding: 0;
    margin: 0 0 15px 0;
    list-style: none;
}

.article-list-item {
    margin: 8px 0 8px 0;
    color: #333;
    background-color: white;
}

.article-list-item-link {
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: color .2s;
}


.article-cover {
    width: 110px;
    height: 65px;
    margin-right: 10px;
    background-repeat: none;
    background-position: center;
    background-size: cover;
}

.article-title {
    height: 2.5em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    color: black;
}

.article-digest {
    display: none;
}

.article-digest-content {
    height: 3.7em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.3;
    overflow: hidden;
    font-size: 14px;
    color: #999;
}

.article-meta {
    margin-top: 10px;
    color: #999;
}

.article-list-item-link:hover .article-title {
    color: #D2A700;
    /*border-color: #FFCF0D;*/
    /*background-color: #FFCF0D;*/
}

/** 分页器 **/

.pagination-wrap {
    padding: 20px 0 60px 0;
}

.pagination-item {
    padding: 0 0 2px;
    margin: 0 5px;
    font-size: 17px;
}

.pagination-item-prev,
.pagination-item-next,
.pagination-item-last {
    padding: 0 0 2px 0;
    margin: 0 5px;
    border-bottom: 2px solid #FFC300;
    font-size: 17px;
    text-decoration: none;
    color: #000;
}

.pagination-jump-wrap {
    padding: 10px 0 0 0;
    font-size: 15px;
}

.pagination-jump-item {
    padding: 0 0 2px 0;
}

.pagination-jump-input {
    outline: none;
    margin: 0 5px;
    width: 2em;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #FFC300;
    text-align: center;
    background-color: transparent;
}

.pagination-jump-btn {
    margin: 0 0 0 10px;
    outline: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    border-bottom: 2px solid #FFC300;
}

/** 会员精选 **/
.member-area-title {
    font-weight: bold;
    color: black;
    padding-bottom: 15px;
}

.member-area-title-indicator {
    width: 100%;
    height: 2px;
    margin: 15px 0 0 0;
    background-color: #efefef;
}

.member-list-item {
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


.member-avatar {
    height: 60px;
    width: 60px;
    margin-right: 10px;
    background-repeat: none;
    background-position: center;
    background-size: cover;
}

.member-reg-time {
    padding-top: 5px;
    color: #999;
    font-weight: normal;
    font-size: 0.8em;
}

.btn-view-member-detail {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    background-color: #FFCF0D;
}

.member-list-item:hover {
    color: #FFCF0D;
}

.member-list-item:hover .btn-view-member-detail {
    color: black;
}

/** 详情的 **/
.breadcrumb {
    padding: 15px 0 0 0;
    margin: 0 auto;
    max-width: 700px;
    color: #666;
}

.breadcrumb>a {
    color: #666;
    text-decoration: none;
}

.article-detail-title {
    font-size: 24px;
}

.article-tag-wrap {
    margin: 60px 0 20px 0;
    font-size: 14px;
}

.article-tag-link {
    display: inline-block;
    padding: 3px 6px;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    border-radius: 3px;
    background-color: #FFC300;
}

.not-found {
    padding: 100px 0;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

@media screen and (min-width: 640px) {
    .member-area {
        display: block;
    }
}


@media screen and (min-width: 1024px) {
    .card-1 {
        margin-top: 15px;
    }

    .main-content {
        max-width: 1024px;
    }

    .breadcrumb {
        max-width: 1024px;
    }

    .article-area {
        max-width: 768px;
    }

    .member-area {
        width: 256px;
    }

    .article-cover {
        width: 202px;
        height: 137px;
    }

    .article-digest {
        display: block;
    }

    .article-list-wrap {
        margin: 15px 0 15px 0;
    }
}


@media screen and (min-width: 1440px) {
    .main-content {
        max-width: 1366px;
    }

    .breadcrumb {
        max-width: 1366px;
    }

    .article-area {
        max-width: 1040px;
    }

    .member-area {
        width: 400px;
    }
}
