:root {
    --primary-color: #e31523;
    --secondary-color: #2c3e50;
    --accent-color: #e31523;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #000;
    --spacing: 1rem;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
a:hover {
    color: var(--accent-color);
    opacity: 0.9;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}
.container b {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.top-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-links a {
    color: white;
    margin-left: 1rem;
}
.top-links a:hover {
    color: var(--accent-color);
}
.breadcrumb {
    padding: 1rem 0;
    background-color: var(--light-color);
    margin-bottom: 2rem;
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #000;
    display: flex;
    align-items: center;
}
.breadcrumb a:hover {
    color: var(--primary-color);
}
.breadcrumb span {
    color: var(--text-light);
    margin: 0 0.5rem;
}
.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}
.navbar {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing);
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo img {
    width: 200px;
    vertical-align: middle;
}
.nav-menu {
    display: flex;
    list-style: none;
}
.nav-menu li {
    margin-left: 1.5rem;
    position: relative;
}
.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
}
.nav-menu a:hover {
    color: var(--primary-color);
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: var(--dark-color);
    padding: 0.8rem 1rem;
    display: block;
}
.dropdown-content a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/v2/img/bg.jpg') center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}
.banner h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}
.banner p {
    font-size: 1.3rem;
    max-width: 1300px;
    margin: 0 auto;
    opacity: 0.9;
}
.main-content {
    display: grid;
    gap: 2.5rem;
    margin: 2rem 0 4rem;
}
.article {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}
.article-header h1 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.article-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
}
.article-content p {
    margin-bottom: 1.8rem;
}
.article-content h2 {
    margin: 2.5rem 0 1.2rem;
    color: var(--secondary-color);
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}
.article-content h3 {
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
    font-size: 1.4rem;
}
.search-box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2.5rem;
}
.search-box h3 {
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    font-size: 1.4rem;
}
.search-form {
    display: flex;
}
.search-form input {
    flex: 1;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}
.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-size: 1.1rem;
}
.recommendations {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2.5rem;
}
.recommendations h3 {
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-color);
    font-size: 1.4rem;
}
.recommended-articles {
    list-style: none;
}
.recommended-articles li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.recommended-articles li:last-child {
    border-bottom: none;
}
.recommended-articles a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    transition: var(--transition);
}
.recommended-articles a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.recommended-articles i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}
.comments {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
}
.comment-form {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
.form-group {
    margin-bottom: 1.8rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--dark-color);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 21, 35, 0.1);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.captcha-code {
    background: #f0f0f0;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    letter-spacing: 3px;
    user-select: none;
    font-size: 1.2rem;
    min-width: 100px;
    text-align: center;
}
.comment-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
    transition: var(--transition);
}
.comment-form button:hover {
    background: var(--secondary-color);
}
.comment {
    display: flex;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}
.comment:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.comment-content {
    flex: 1;
}
.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}
.comment-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
}
.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}
.comment-text {
    line-height: 1.7;
    margin-bottom: 1rem;
}
.comment-text p b {
    font-size: 1.1rem;
}
.replies {
    margin-left: 3rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--light-color);
    padding-left: 1.5rem;
}
.nested-comment {
    display: flex;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #eee;
}
.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.reply-author {
    font-weight: 600;
    margin-right: 10px;
    color: var(--dark-color);
}
.reply-date {
    font-size: 0.8rem;
    color: var(--text-light);
}
.reply-text {
    line-height: 1.6;
    color: #555;
}
.reply-to {
    color: var(--primary-color);
    font-weight: 500;
}
@media (max-width: 768px) {
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .replies {
        margin-left: 1rem;
        padding-left: 1rem;
    }
}

.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    font-size: 1.2rem;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 1rem;
}
.footer-links a {
    color: #bbb;
    transition: var(--transition);
}
.footer-links a:hover {
    color: white;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
.social-links div {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}
.social-links div:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    cursor: pointer;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.95rem;
}
table,table tr th, table tr td { border:1px solid #f1f1f1;line-height: 35px;}
table { width: 100%; min-height: 25px; line-height: 25px;border-collapse: collapse; padding:2px;}
table tr td {line-height: 35px;padding: 10px;}
table tr td p {text-align: left; padding: 10px;word-break:break-all}
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background: white;
        width: 80%;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 1.2rem 0;
        width: 100%;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        margin-top: 0.8rem;
        margin-left: 1rem;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .nav-toggle {
        display: block;
    }
    .banner {
        padding: 3.5rem 0;
    }
    .banner h1 {
        font-size: 2.2rem;
    }
    .banner p {
        font-size: 1.1rem;
    }
    .article-header h1 {
        font-size: 1.9rem;
    }
    .article {
        padding: 2rem;
    }
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    .top-links a {
        margin: 0 0.5rem;
    }
    .breadcrumb .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .breadcrumb span {
        display: none;
    }
    .comment {
        flex-direction: column;
    }
    .comment-avatar {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .article {
        width: 100%;
        padding: 1.5rem 3%;
    }
    .comments {
        padding: 2rem 20px;
    }
    .search-box, .recommendations {
        padding: 1.8rem;
    }
    
    .comments-container {
        padding: 1.5rem;
    }
    
    .replies {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }
}
.overlay-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.overlay-fixed.active {
    opacity: 1;
}
.modal-centered {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}
.modal-header-fixed {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.modal-title-fixed {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
}
.close-btn-fixed {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.close-btn-fixed:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
.modal-content-fixed {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.modal-content-fixed h1 {line-height:45px;}
.modal-content-fixed h2 {line-height:40px;}
.modal-content-fixed p {line-height:35px;text-indent:34px;}
.modal-content-fixed p b {line-height:35px;}
.modal-content-fixed::-webkit-scrollbar {
    width: 10px;
}
.modal-content-fixed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}
.modal-content-fixed::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 5px;
}
.modal-content-fixed::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}
@keyframes modalAppear {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.content-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.content-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}
.stats-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.stat-box {
    flex: 1;
    min-width: 140px;
    color: white;
    padding: 20px 15px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s;
}
.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}
.stat-box.warning {
    background: linear-gradient(to right, #e74c3c, #c0392b);
}
.stat-box.success {
    background: linear-gradient(to right, #2ecc71, #27ae60);
}
.stat-box.purple {
    background: linear-gradient(to right, #9b59b6, #8e44ad);
}
.stat-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.stat-box p {
    font-size: 28px;
    font-weight: 800;
}
.highlight {
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
@media (max-width: 768px) {
    .modal-centered {
        width: 95%;
        max-width: 95%;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-box {
        min-width: 100%;
    }
}
.leespan {cursor: pointer;}
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-card-img {
    height: 220px;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.article-card-title a {
    color: inherit;
}

.article-card-title a:hover {
    color: var(--primary-color);
}

.article-card-excerpt {
    color: #000;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.article-card-views {
    display: flex;
    align-items: center;
}

.article-card-views i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-item {
    margin: 0 0.3rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--dark-color);
    font-weight: 500;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pagination-link:hover, .pagination-link.active {
    background: var(--primary-color);
    color: white;
}
@media (max-width: 768px) {
    .pagination-item:not(:first-child):not(:last-child):not(.disabled) {
        display: none;
    }
    
    .pagination-item.disabled:nth-child(2) {
        display: block;
        position: relative;
    }
    
    .pagination-item.disabled:nth-child(2)::after {
        content: "...";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #7f8c8d;
        font-weight: bold;
    }
    
    .pagination-link {
        width: 50px;
        height: 50px;
    }
}
.cate-css { padding:20px;margin-bottom: 5%;overflow: hidden;}
.cate-css ul {width: 100%; text-align: left;overflow: hidden;list-style:none; }
.cate-css ul {width: 100%; text-align: left;overflow: hidden; }
.cate-css ul li {width: 100%;float: left; margin: 8px 0px; padding: 18px 0px;}
.cate-css ul li.info50 {}
.cate-css ul li a {font-weight: bold;color: #A52A2A; word-break: normal;font-size: 20px;}
.cate-css ul li ul {margin-top: 10px;}
.cate-css ul li ul li { width: auto; padding:8px  15px; margin-top: 0px; float: left;}
.cate-css ul li ul li a {font-weight: normal;color: #333;}
.container .lee {width:100%; margin:30px 0px;}
.container .lee .lee2 {width:100%;}
.container .lee .lee2 a.left {font-size:40px;font-weight:bolder;color:#e31523;}
.container .lee .lee2 a.right{float: right;color:#e31523;line-height:64px;}
.container .lee p {border-top:1px solid #f1f1f1; padding: 30px 0px;line-height:35px;}