* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
    padding-bottom: 0;
}
a {
    text-decoration: none;
    color: #333;
}
a:hover {
    color: #ff6600;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background-color: #fff;
    border-radius: 8px;
}
.logo {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}
.logo a {
    color: #ff6600;
}
.logo img {
    max-height: 60px;
}
.search-box {
    display: flex;
}
.search-box input {
    width: 300px;
    padding: 10px;
    border: 2px solid #ff6600;
    outline: none;
}
.search-box button {
    padding: 10px 30px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}
.nav {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
}
.nav-list {
    display: flex;
    border-bottom: 2px solid #ff6600;
    overflow-x: auto;
    white-space: nowrap;
}
.nav-list::-webkit-scrollbar {
    display: none;
}
.nav-list li a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
}
.nav-list li.active a, .nav-list li a:hover {
    background-color: #ff6600;
    color: #fff;
}
.banner {
    max-width: 1200px;
    width: 100%;
    margin: 10px auto 10px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.banner-slider {
    position: relative;
    width: 100%;
    height: 180px;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}
.banner-slide.active {
    opacity: 1;
    z-index: 2;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}
.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.banner-arrow:hover {
    background-color: rgba(0,0,0,0.6);
}
.banner-arrow.prev {
    left: 10px;
}
.banner-arrow.next {
    right: 10px;
}
.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
.banner-dot.active {
    background-color: #ff6600;
}
.main-content {
    padding: 0 0 20px;
}
.section {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 1180px;
    width: 100%;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.section-title h2 {
    font-size: 20px;
    color: #ff6600;
    border-left: 4px solid #ff6600;
    padding-left: 10px;
}
.section-title .more {
    font-size: 14px;
    color: #999;
}
.section-body {
    display: flex;
    gap: 20px;
}
.content-left {
    flex: 3;
    min-width: 0;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}
.card {
    border: 1px solid #eee;
    padding: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 180px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.card p {
    font-size: 14px;
    margin-top: 8px;
    overflow: hidden;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}
.text-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}
.text-grid li {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    height: 40px;
    overflow: hidden;
}
.text-grid li:last-child, .text-grid li:nth-last-child(2) {
    border-bottom: none;
}
.text-grid li a {
    overflow: hidden;
    padding-right: 10px;
    flex: 1;
    position: relative;
    padding-left: 12px;
    transition: all 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.text-grid li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #ccc;
    border-radius: 50%;
    transition: all 0.3s;
}
.text-grid li:hover a {
    color: #ff6600;
    padding-left: 16px;
}
.text-grid li:hover a::before {
    background-color: #ff6600;
}
.text-grid li span {
    color: #999;
    flex-shrink: 0;
    font-size: 13px;
}
.content-right {
    flex: 1;
    border-left: 1px solid #eee;
    padding-left: 20px;
    min-width: 0;
}
.side-list {
    counter-reset: rank;
}
.side-list li {
    font-size: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-left: 26px;
    line-height: 20px;
    height: 20px;
}
.side-list li::before {
    counter-increment: rank;
    content: counter(rank);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 12px;
    background-color: #f0f0f0;
    color: #999;
    border-radius: 2px;
}
.side-list li:nth-child(-n+3)::before {
    background-color: #ff6600;
    color: #fff;
}
.side-list li a {
    transition: all 0.3s;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-list li:hover a {
    color: #ff6600;
    transform: translateX(5px);
}
.breadcrumb {
    max-width: 1200px;
    width: 100%;
    margin: 15px auto;
    padding: 10px;
    font-size: 14px;
    color: #666;
    background-color: #fff;
}
.breadcrumb a {
    color: #666;
}
.main-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 20px;
    display: flex;
    gap: 20px;
}
.article-section {
    flex: 3;
    background-color: #fff;
    padding: 30px;
    min-width: 0;
    border-radius: 8px;
}
.article-title {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}
.article-meta {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.article-content {
    font-size: 16px;
    color: #444;
    line-height: 2;
}
.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}
.article-content img {
    display: block;
    margin: 20px auto;
}
.article-content h3 {
    font-size: 18px;
    color: #ff6600;
    margin: 30px 0 15px 0;
    border-left: 4px solid #ff6600;
    padding-left: 10px;
}
.article-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}
.article-nav p {
    margin-bottom: 10px;
    font-size: 14px;
}
.sidebar {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    min-width: 0;
    border-radius: 8px;
}
.sidebar-title {
    font-size: 18px;
    color: #ff6600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6600;
    padding-left: 10px;
}
.pagination {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
}
.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #eee;
    color: #666;
}
.pagination a:hover, .pagination a.current {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}
.footer {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 0;
    background-color: #333;
    border-radius: 8px 8px 0 0;
}
.footer-inner {
    color: #999;
    padding: 30px 10px;
    text-align: center;
    border-radius: 8px;
}
.footer-logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}
.footer-icp {
    margin: 10px 0;
}
.footer-icp a {
    color: #999;
    font-size: 13px;
}
.footer-icp a:hover {
    color: #ff6600;
}
.footer p {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.comment-area {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}
.comment-title {
    font-size: 18px;
    color: #ff6600;
    margin-bottom: 15px;
    border-left: 4px solid #ff6600;
    padding-left: 10px;
}
.comment-list {
    margin-bottom: 20px;
}
.comment-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}
.comment-item:last-child {
    border-bottom: none;
}
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.comment-header .comment-author {
    font-weight: bold;
    color: #ff6600;
}
.comment-header .comment-author a {
    color: #ff6600;
}
.comment-header .comment-time {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}
.comment-content {
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}
.comment-reply a {
    font-size: 12px;
    color: #999;
}
.comment-reply a:hover {
    color: #ff6600;
}
.comment-children {
    margin-left: 30px;
    padding-left: 15px;
    border-left: 2px solid #eee;
    margin-top: 10px;
}
.comment-child {
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.comment-child:last-child {
    border-bottom: none;
}
#pagenavi {
    text-align: center;
    margin: 15px 0;
}
#pagenavi a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #eee;
    color: #666;
    font-size: 14px;
}
#pagenavi a:hover {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}
.comment-form {
    margin-top: 20px;
}
.comment-form .form-group {
    margin-bottom: 10px;
}
.comment-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    outline: none;
}
.comment-form input[type="text"]:focus {
    border-color: #ff6600;
}
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    height: 120px;
    resize: vertical;
    outline: none;
}
.comment-form textarea:focus {
    border-color: #ff6600;
}
.comment-form input[type="submit"] {
    padding: 10px 30px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.comment-form input[type="submit"]:hover {
    background-color: #e55b00;
}
.verify-code {
    display: flex;
    align-items: center;
    gap: 10px;
}
.verify-code input {
    width: 100px !important;
}
.captcha-img img {
    cursor: pointer;
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
        flex: 1;
    }
    .nav-list li a {
        padding: 12px 15px;
        font-size: 15px;
    }
    .section-body {
        flex-direction: column;
    }
    .content-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .text-grid {
        grid-template-columns: 1fr;
    }
    .text-grid li:nth-last-child(2) {
        border-bottom: 1px dashed #eee;
    }
    .main-wrapper {
        flex-direction: column;
        padding: 0;
    }
    .article-section {
        padding: 20px 15px;
    }
    .article-title {
        font-size: 20px;
    }
    .sidebar {
        padding: 20px 15px;
    }
    .footer {
        padding: 20px 10px;
    }
}
