body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fa;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0px 2px 8px 0px rgba(50, 50, 0, 0.3);
    z-index: 1000;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: rgb(102, 182, 86);
}

.header-content {
    height: 60px;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height 0.5s ease;
}

.logo img {
    height: 50px;
    display: block;
}

nav {
    display: flex;
}

nav ul {
    list-style-type: none;
    padding: 0 0 2px 20px;
    display: flex;
    margin: 0;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.menu-icon {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 20px;
}

main {
    display: flex;
    flex-wrap: wrap;
}

.latest-articles {
    flex: 3;
    margin-right: 20px;
}

.latest-articles h2,
.hot-articles h2,
.tags h2 {
    color: #fff;
    padding: 10px;
    margin: 0;
    font-size: 16px;
}

.main-article {
    flex: 3;
    background-color: #fff;
    margin-right: 20px;
    padding: 0 20px;
    max-width: 1200px;
}

.main-article .title-h1 {
    font-size: 22px;
    padding: 20px 20px 0;
    text-align: center;
    color: #333;
    font-weight: 500;
    margin-bottom: 0;
}

.main-article .article-tag {
    margin: 10px 0px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d5d5d6;
}

.main-article .article-tag .date-img img{
    position: relative;
    top: 5px;
    height: 24px;
}

.main-article .article-tag .dot {
    padding: 0 4px;
    color: #999;
}

.main-article .article-tag .date-time{
    color: #999;
}

.main-article .article-tag .tag-img {
    background: #eb9760;
    padding: 6px 1px 2px 2px;
    border-radius: 50%;
    position: relative;
    top: 2px;
}

.main-article .article-tag .tag-img img{
    position: relative;
    top: 5px;
}


.main-article .article-tag .tag-link {
    display: inline-block;
    margin-top: 10px;
}

.main-article .article-tag .tag-item {
    background: #49ac83;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
}

.main-article-content .article-title-img {
    text-align: center;
    min-width: 800px;
    /*height: 300px;*/
    background-image: url('../image/loading.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main-article-content .article-title-img img{
  max-height: 500px;
}

.main-article-content .article-answer {
    background: radial-gradient(#48ab71, transparent);
    text-align: center;
    border-radius: 20px;
}

.main-article-content .article-answer .answer-box {
    padding: 2px 8px;
    background-color: #ffa41b;
    border-radius: 16px;
    color: #fff;
}

.main-article-content .article-answer .answer-text {
    position: relative;
    animation: moveRightText 2s ease-in-out infinite alternate;
}

@keyframes moveRightText {
    0% {
        left: -2px;
    }

    100% {
        left: 32px;
    }
}

.main-article-content .article-answer .answer-number {
    padding: 2px 10px;
    /* background-color: #8809f5; */
    border-radius: 16px;
    color: #fff;
    position: relative;
    animation: moveRightNum 2s ease-in-out infinite alternate;
}

@keyframes moveRightNum {
    0% {
        right: -9px;
        background-color: #0fa7e5;
    }

    100% {
        right: 46px;
        background-color: #06e711;
    }
}

.main-article-content a {
    display: inline-block;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

pre {
    margin: 10px 0;
    padding: 10px;
    max-height: 500px;
    max-width: 830px;
    overflow: auto;
    background-color: #f8f8f8;
    border-radius: var(--border-hd);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, sans-serif
}

pre code {
    color: unset;
    background-color: unset;
    line-height: 20px;
}

code {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    display: inline-block;
    padding: 0 4px;
    margin-left: 2px;
    font-size: 90%;
    margin-bottom: 2px;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: var(--border-hd);
}

.end-dividing {
    text-align: center;
    color: #b1b1b8;
    margin: 30px 0;
    font-size: 14px;
    user-select: none;
}

.end-dividing:before,
.end-dividing:after {
    content: "";
    background: #f3f3f3;
    width: 20%;
    vertical-align: middle;
    height: 1px;
    display: inline-block;
    margin: 0 16px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.previous-article,
.next-article {
    /* padding: 20px 40px; */
    width: 390px;
    height: 82px;
    position: relative;
    color: #fff;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.previous-article {
    flex: 0.8;
}

.archives-image {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.archives-href {
    display: flex;
    height: 100%;
    position: absolute;
    align-items: center;
    overflow: hidden;
}

.previous-article .archives-href {
    padding-left: 50px;
    padding-right: 10px;
}

.next-article .archives-href {
    padding-left: 10px;
    padding-right: 50px;
}

.div-center {
    flex: 0.2;
}

.next-article {
    flex: 0.8;
}

.article-navigation .next-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    background-image: url('/image/jt.png');
    background-size: cover;
    z-index: 1;
}


.article-navigation .previous-article .next-icon {
    left: 6px;
    top: 20px;
    transform: rotate(180deg);
}

.article-navigation .next-article .next-icon {
    right: 6px;
    top: 20px;
}

.relevant-plane .relevant-list li {
    margin-top: 10px;
}

.article {
    display: flex;
    background-color: #fff;
    margin-top: 6px;
    padding: 8px;
    border: 1px solid #ddd;
}

.article .article-img {
    margin: auto;
    margin-right: 15px;
    height: 100px;
    width: 266px;
    background-image: url('../image/loading.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.article img {
    max-height: 100px;
    width: 100%;
}

.article-content {
    flex: 1;
}

.article-content .tag {
    display: inline-block;
    background-color: #8391d9;
    color: #fff;
    padding: 3px 8px;
    margin-bottom: 10px;
    font-size: 12px;
    border-radius: 3px;
}

.article-content h3 {
    margin: 0 0 10px;
}

.article-content .article-description {
    margin: 0 0 15px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    font-size: 14px;
}

.article-content .meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 0;
}

aside {
    flex: 1;
}

.hot-articles,
.tags {
    margin-bottom: 20px;
}

.hot-articles ol {
    list-style-type: none;
    padding: 0;
}

.hot-articles ol li {
    position: relative;
    background-color: #fff;
    padding: 4px 10px 4px 32px;
    border-bottom: 1px solid #ddd;
}

.hot-articles ol li .hot-tag {
    height: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    color: #999;
}


.hot-articles ol li span {
    float: right;
}

.hot-articles ol li .hot-post-widget-item-num {
    position: absolute;
    color: #fff;
    background: #ff6601;
    padding: 0px 6px 0px 13px;
    left: 0px;
    top: 12px;
    border-radius: 0 10px 10px 0;
}

.hot-articles ol li:nth-child(2) .hot-post-widget-item-num {
    background: #ffa41b;
}

.hot-articles ol li:nth-child(3) .hot-post-widget-item-num {
    background: #cd33ff;
}

.hot-articles ol li:nth-child(4) .hot-post-widget-item-num {
    background: #fe0000;
}

.hot-articles ol li:nth-child(5) .hot-post-widget-item-num {
    background: #a4b22c;
}

.loadMore {
    text-align: center;
    margin-top: 20px;
}

.loadMore .load-more-btn {
    font-size: 16px;
    background: #67c23a;
    border-color: #67c23a;
    padding-bottom: 4px;
    color: #fff;
    cursor: pointer;
}

.loadMore .load-more-btn .loadIcon {
    display: inline-block;
    height: 16px;
    padding-right: 6px;
    position: relative;
    top: 2px;
}

.hot-articles ol li a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tags ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 10px;
}

.tags ul li {
    margin: 5px;
}

.tags ul li a {
    text-decoration: none;
    background-color: #48ae66;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.footer {
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

@media (max-width: 768px) {

    .hot-articles,
    .tags {
        max-width: 375px;
    }

    .header-content {
        display: block;
        height: auto;
    }

    .logo img {
        padding: 10px 20px;
    }

    nav {
        display: none;
    }

    .nav-open {
        display: block;
    }

    .nav-open ul {
        flex-direction: column;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 24px;
        top: 16px;
        font-size: 30px;
    }

    main {
        flex-direction: column;
    }

    .latest-articles {
        margin-right: 0;
    }

    aside {
        margin-top: 20px;
    }

    .article .article-img {
        margin: auto;
        margin-right: 15px;
        height: 50px;
        width: 133px;
        background-image: url('../image/loading.gif');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .article img {
        max-height: 50px;
    }

    .article-content p {
        display: none;
    }

    .main-article {
        max-width: 334px;
    }

    .main-article-content .article-title-img {
        min-width: 330px;
        height: 124px;
        background-image: url('../image/loading.gif');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .main-article-content .article-title-img img {
        display: block;
        width: 330px;
    }

    .article-navigation {
        display: none;
    }
}



::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}