@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

.w1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.top0 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 0;
    text-align: center;
}

.top1 {
    background-color: var(--secondary-color);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top1 .w1200 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top1 p.fl {
    color: #94a3b8;
    font-size: 14px;
}

.top1 a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.top1 a:hover {
    color: #ffffff;
}

.top2 {
    background-color: var(--bg-white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top2 .w1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.u-logo img {
    height: 50px;
    width: auto;
}

.logoright {
    margin-left: 20px;
}

.logoright img {
    height: 40px;
    width: auto;
}

.form_top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sousuo {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
    outline: none;
}

.sousuo:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sousuoanniu {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sousuoanniu:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.top3 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    padding: 0;
}

.top3 ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.top3 li {
    position: relative;
}

.top3 li a {
    display: block;
    padding: 18px 24px;
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.top3 li a:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.top3 li.active a {
    color: var(--accent-color);
}

.top3 li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.top3 li:hover::after {
    width: 100%;
}

.cont1 {
    margin-top: 30px;
    margin-bottom: 30px;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.shouyedatu {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.toutiao {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.toutiao h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.toutiao h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.toutiao h2 a:hover {
    color: var(--primary-color);
}

.toutiao p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.toutiao ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.toutiao li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.toutiao li:last-child {
    border-bottom: none;
}

.toutiao li:hover {
    padding-left: 8px;
}

.toutiao li em {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.toutiao li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toutiao li a:hover {
    color: var(--primary-color);
}

.toutiao li i {
    color: var(--text-secondary);
    font-size: 12px;
    font-style: normal;
}

.toutiao .index1 {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
}

.toutiao .index1 h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.toutiao .index1 h2 a {
    color: var(--text-primary);
    text-decoration: none;
    flex-grow: 0;
    white-space: normal;
    overflow: visible;
}

.toutiao .index1 h2 a:hover {
    color: var(--primary-color);
}

.toutiao .index1 p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.toutiao .li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.toutiao .li:last-child {
    border-bottom: none;
}

.toutiao .li:hover {
    padding-left: 8px;
}

.cont2 {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.cont2 .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.cont2 .top h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.cont2 .top h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.cont2 .top a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cont2 .top a:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.cont2 .list ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cont2 .list li {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cont2 .list li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cont2 .list li img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.cont2 .list li h2 {
    padding: 16px;
    padding-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.cont2 .list li h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.cont2 .list li h2 a:hover {
    color: var(--primary-color);
}

.cont2 .list li .zhaiyao {
    padding: 0 16px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cont2 .list li .zhaiyao .jianjie {
    display: none;
}

.cont3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.listx4 {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.listx4 h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.listx4 h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.listx4 h2 a:hover {
    color: var(--primary-color);
}

.listx4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listx4 li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.listx4 li:hover {
    padding-left: 8px;
}

.listx4 li i {
    color: var(--text-secondary);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    min-width: 20px;
}

.listx4 li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listx4 li a:hover {
    color: var(--primary-color);
}

.cont4 {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.cont4 .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cont4 .top h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.flink ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flink li {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.flink li:hover {
    background: var(--primary-color);
}

.flink li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.flink li:hover a {
    color: white;
}

.cont.category {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cont.category .left {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.cont.category .left .ullist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cont.category .left .ullist li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cont.category .left .ullist li:last-child {
    border-bottom: none;
}

.cont.category .left .ullist li:hover {
    background: var(--bg-light);
    padding-left: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 8px;
}

.cont.category .left .ullist li img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cont.category .left .ullist li .tuyou {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cont.category .left .ullist li .tuyou h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cont.category .left .ullist li .tuyou h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.cont.category .left .ullist li .tuyou h2 a:hover {
    color: var(--primary-color);
}

.cont.category .left .ullist li .tuyou p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cont.category .left .ullist li .tuyou .time {
    color: var(--text-secondary);
    font-size: 13px;
}

.cont.category .left .ullist li .tuyou .quanwen {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cont.category .left .ullist li .tuyou .quanwen:hover {
    color: var(--primary-dark);
}

.cont.category .left .ullist li .tuyou i {
    font-style: normal;
    margin-right: 8px;
    font-size: 13px;
}

.cont.category .left .pagebar {
    margin-top: 24px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cont.category .left .pagebar a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: var(--bg-light);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cont.category .left .pagebar a:hover {
    background: var(--primary-color);
    color: white;
}

.cont.category .left .pagebar span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

.cont.category .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cont.single {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cont.single .left {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.cont.single .left .top h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 20px;
}

.cont.single .left .zuozhe {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.cont.single .left .zuozhe span {
    color: var(--text-secondary);
    font-size: 14px;
}

.cont.single .left .zuozhe .edit a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.cont.single .left .zhengwen {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-primary);
}

.cont.single .left .zhengwen p {
    margin-bottom: 16px;
}

.cont.single .left .zhengwen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.cont.single .left .tags {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cont.single .left .tags span {
    color: var(--text-secondary);
    font-size: 14px;
}

.cont.single .left .tags a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    margin: 8px 8px 8px 0;
    transition: all 0.3s ease;
}

.cont.single .left .tags a:hover {
    background: var(--primary-color);
    color: white;
}

.cont.single .left .sxp {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 24px 0;
    list-style: none;
}

.cont.single .left .sxp li {
    flex: 1;
}

.cont.single .left .sxp li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cont.single .left .sxp li a:hover {
    color: var(--primary-color);
}

.cont.single .left .xiangguanwenzhang {
    margin-top: 24px;
}

.cont.single .left .xiangguanwenzhang h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.cont.single .left .xiangguanwenzhang ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cont.single .left .xiangguanwenzhang li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.cont.single .left .xiangguanwenzhang li:hover {
    padding-left: 8px;
}

.cont.single .left .xiangguanwenzhang li i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.cont.single .left .xiangguanwenzhang li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cont.single .left .xiangguanwenzhang li a:hover {
    color: var(--primary-color);
}

.cont.single .left .pinglunkuang,
.cont.single .left .pinglun {
    margin-top: 24px;
}

.cont.single .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cont.single .right .function,
.function {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.cont.single .right .function_t,
.function_t {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.cont.single .right .function_c,
.function_c {
    padding: 0;
}

.cont.single .right .function_c ul,
.function_c ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cont.single .right .function_c li,
.function_c li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.cont.single .right .function_c li:last-child,
.function_c li:last-child {
    border-bottom: none;
}

.cont.single .right .function_c li a,
.function_c li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cont.single .right .function_c li a:hover,
.function_c li a:hover {
    color: var(--primary-color);
}

#rightad {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    margin: 0 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
    margin: 8px 0;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.mianbaoxie {
    background: var(--bg-white);
    padding: 16px 0;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.mianbaoxie a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.mianbaoxie a:hover {
    color: var(--primary-color);
}

.mianbaoxie span {
    margin: 0 8px;
    color: var(--text-secondary);
}

.r5 {
    border-radius: 5px;
}

.f-jkico {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.f-jkicoy::before {
    content: "👀";
}

.f-jkicot::before {
    content: "📅";
}

.msg {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.msg li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.msg li:last-child {
    border-bottom: none;
}

.msgname {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.msgname .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.msgname a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    margin-left: auto;
}

.msgarticle {
    padding-left: 44px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.msgname + .msgarticle {
    margin-top: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cont1,
.cont2,
.cont3,
.cont4 {
    animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .shouyedatu {
        height: 300px;
    }
    
    .cont2 .list ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cont3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top2 .w1200 {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .form_top {
        width: 100%;
    }
    
    .sousuo {
        flex-grow: 1;
    }
    
    .top3 ul {
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .top3 li a {
        padding: 14px 16px;
        white-space: nowrap;
    }
    
    .cont2 .list ul {
        grid-template-columns: 1fr;
    }
    
    .cont3 {
        grid-template-columns: 1fr;
    }
}
