/* ==================== CSS变量定义 ==================== */
:root {
    /* 主色调 */
    --primary-color: #0056b3;
    --primary-dark: #003d82;
    --primary-light: #007bff;
    
    /* 辅助色 */
    --accent-color: #ffd700;
    --accent-light: rgba(255, 215, 0, 0.3);
    
    /* 中性色 */
    --text-primary: #333;
    --text-secondary: #444;
    --text-muted: #666;
    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #f8faff;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 86, 179, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 86, 179, 0.12);
    --shadow-lg: 0 4px 20px rgba(0, 86, 179, 0.3);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 18px;
    --spacing-lg: 25px;
    --spacing-xl: 35px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: "Microsoft YaHei", "PingFang SC", "SimHei", Arial, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
}
a {
    transition: var(--transition-normal);
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 特殊区域的链接样式优先 */
.headline-section a {
    text-decoration: none !important;
}
img {
    max-width: 100%;
    display: block;
}

.top-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
}
.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: block;
}
.banner-content img {
    width: 100%;
    height: auto;
    display: block;
}
.banner-text {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 8px;
    animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 10px var(--accent-light); }
    50% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 20px rgba(255,215,0,0.6); }
}

.header-main {
    width: 100%;
    height: 220px;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Chinese%20government%20building%20cityscape%20panorama%20blue%20sky%20modern%20architecture&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    position: relative;
}
.header-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,86,179,0.85) 0%, rgba(0,61,130,0.55) 100%);

}
.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.logo-img {
    max-height: 100px;
    max-width: 80%;
    height: auto;
    width: auto;
    object-fit: contain;
}
.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.5);
    position: relative;
    animation: pulse 3s ease-in-out infinite;
}
.logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent-light);
    animation: ring 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
@keyframes ring {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}
.logo-inner {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.logo-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
}
.logo-subtitle {
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 5px;
}

.nav {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-top: 3px solid var(--accent-color);
    box-shadow: var(--shadow-lg);
}
.nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
.nav li {
    position: relative;
}
.nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.15);
    position: relative;
}
.nav li:first-child a {
    border-left: 1px solid rgba(255,255,255,0.15);
}
.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ffd700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav a:hover, .nav a.active {
    background: rgba(0, 61, 130, 0.5);
    color: #ffd700;
}
.nav a:hover::before, .nav a.active::before {
    width: 100%;
}

.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.footer {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    position: relative;
    padding: 50px 0 40px;
    color: #fff;
    box-shadow: 0 -4px 20px rgba(0, 86, 179, 0.2);
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('http://47.95.238.104/uploads/20260419033500_69e3dce436da3.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffec8b, #ffd700);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.6fr;
    /**gap: 50px;**/
}
.footer-section {
    position: relative;
}
.footer-section-title {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}
.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}
.footer-info {
    font-size: 14px;
    line-height: 2.2;
    word-wrap: break-word;
    word-break: break-word;
}
.footer-info p {
    margin: 6px 0;
    opacity: 0.9;
    position: relative;
    word-wrap: break-word;
    word-break: break-word;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    height: 100%;
}
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-logo-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}
.footer-logo-text {
    color: #ffd700;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.footer-links {
    display: flex;
    flex-direction: column;
}
.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.3s ease;
    position: relative;
    margin: 6px 0;
    opacity: 0.9;
    padding: 0;
    display: block;
}
.footer-links a::before {
    content: '·';
    color: rgba(255,255,255,0.9);
    margin-right: 8px;
}
.footer-links a:hover {
    color: #ffd700;
}
.footer-bottom {
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}
.footer-bottom p {
    opacity: 0.85;
    margin: 3px 0;
}

.section-title-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.section-title-text {
    color: #0056b3;
    font-size: 20px;
    font-weight: bold;
    word-wrap: break-word;
    word-break: break-word;
}
.section-title-text span {
    color: #0056b3;
}
.divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #0056b3, transparent);
    margin-left: 15px;
}

.news-list {
    list-style: none;
}
.news-list li {
    padding: 14px 0;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    align-items: flex-start;
    transition: background-color 0.3s ease, padding 0.3s ease;
}
.news-list li:hover {
    background-color: rgba(0, 86, 179, 0.03);
    padding-left: 12px;
    margin-left: -12px;
    padding-right: 12px;
    margin-right: -12px;
    border-radius: 8px;
}
.news-list li::before {
    content: '·';
    color: #0056b3;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.news-list li:hover::before {
    transform: scale(1.2);
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    flex: 1;
    line-height: 1.6;
    transition: color 0.3s ease;
    word-wrap: break-word;
    word-break: break-word;
}
.news-list a:hover {
    color: #0056b3;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.grid-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 86, 179, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.18);
}
.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 86, 179, 0.15);
    position: relative;
}
.grid-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #0056b3, transparent);
    border-radius: 1px;
}
.grid-title {
    color: #0056b3;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
    word-wrap: break-word;
    word-break: break-word;
}
.grid-title::before {
    display: none;
}
.grid-more {
    color: #0056b3;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.grid-more:hover {
    color: #003d82;
}
.grid-more::after {
    content: '›';
    font-size: 16px;
    transition: transform 0.3s ease;
}
.grid-more:hover::after {
    transform: translateX(3px);
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 86, 179, 0.08);
    margin-bottom: 25px;
}
.widget-title {
    color: #0056b3;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 86, 179, 0.15);
    position: relative;
}
.widget-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #0056b3, transparent);
    border-radius: 1px;
}
.hot-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}
.hot-list li:last-child {
    border-bottom: none;
}
.hot-list li:hover {
    background: rgba(0, 86, 179, 0.03);
    padding: 12px 10px;
    margin: 0 -10px;
    border-radius: 4px;
}
.hot-index {
    width: 24px;
    height: 24px;
    background: #ddd;
    color: #999;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}
.hot-list li:nth-child(1) .hot-index,
.hot-list li:nth-child(2) .hot-index,
.hot-list li:nth-child(3) .hot-index {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: #ffd700;
}
.hot-title {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hot-title:hover {
    color: #0056b3;
}

.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}
.breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #003d82;
}
.breadcrumb span {
    margin: 0 8px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.pagination a:hover {
    color: #fff;
    background: #0056b3;
    border-color: #0056b3;
}
.pagination .current {
    color: #fff;
    background: #0056b3;
    border-color: #0056b3;
}

.type-tag {
    display: inline-block;
    background: #0056b3;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.friendly-links {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 86, 179, 0.08);
}
.friendly-links-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.friendly-links-title {
    font-size: 18px;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 0;
}
.friendly-links-more {
    color: #0056b3;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.friendly-links-more:hover {
    color: #003d82;
}
.friendly-links-more::after {
    content: '›';
    font-size: 16px;
    transition: transform 0.3s ease;
}
.friendly-links-more:hover::after {
    transform: translateX(3px);
}
.friendly-links a {
    color: #333;
    text-decoration: none;
    margin-right: 0px;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}
.friendly-links a:hover {
    color: #fff;
    background: #0056b3;
}

.grid-section-first {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.grid-section-second {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.video-item {
    margin-bottom: 20px;
}
.video-thumb {
    width: 100%;
    height: 120px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-thumb:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    transition: color 0.3s ease;
    word-wrap: break-word;
    word-break: break-word;
}
.video-title:hover {
    color: #0056b3;
}

.headline-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl) 40px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.headline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
}
.headline-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.headline-title {
    color: var(--primary-color) !important;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 22px;
    line-height: 1.4;
    position: relative;
    display: inline-block;
}

.headline-section .headline-title {
    color: var(--primary-color) !important;
}
.headline-title a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    display: block;
    padding: 5px 0;
    transition: var(--transition-normal);
}
.headline-title a:hover {
    color: var(--primary-dark) !important;
    transform: translateX(5px);
}
.headline-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}
.headline-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 14px;
    line-height: 1.8;
    transition: var(--transition-normal);
}
.headline-subtitle a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    transition: var(--transition-normal);
}
.headline-subtitle a:hover {
    color: var(--primary-color) !important;
    transform: translateX(8px);
}
.headline-subtitle a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition-normal);
}
.headline-subtitle a:hover::before {
    background: var(--primary-light);
    transform: scale(1.3);
}

.news-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.news-left {
    flex: 1.5;
}
.news-right {
    flex: 1;
}

.slider-container {
    width: 100%;
    height: 460px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.15);
    position: relative;
}
.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: linear-gradient(transparent, rgba(0, 86, 179, 0.9));
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.slider-dots {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}
.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 86, 179, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-arrow:hover {
    background: rgba(0, 86, 179, 0.95);
    transform: translateY(-50%) scale(1.1);
}
.slider-prev {
    left: 15px;
}
.slider-next {
    right: 15px;
}

.tabs-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 86, 179, 0.08);
    overflow: hidden;
}
.tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 0 5px;
}
.tab-item {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    border-radius: 8px 8px 0 0;
}
.tab-item:hover {
    color: #0056b3;
    background: rgba(0, 86, 179, 0.05);
}
.tab-item.active {
    color: #0056b3;
    border-bottom-color: #0056b3;
    font-weight: bold;
    background: rgba(0, 86, 179, 0.08);
}
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    padding: 0 20px 20px;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.grid-item .news-list li {
    padding: 12px 0;
}
.grid-item .news-list li:hover {
    padding-left: 10px;
    margin-left: -10px;
    padding-right: 10px;
    margin-right: -10px;
}

.leader-list {
    padding-top: 5px;
}
.leader-item {
    padding: 10px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #e5e5e5;
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-radius: 4px;
}
.leader-item:last-child {
    border-bottom: none;
}
.leader-item:hover {
    background-color: rgba(0, 86, 179, 0.04);
    padding-left: 10px;
    margin-left: -10px;
    padding-right: 10px;
    margin-right: -10px;
}
.leader-label {
    color: #555;
    font-size: 15px;
    font-weight: 500;
    min-width: 100px;
}
.leader-name {
    color: #0056b3;
    font-size: 15px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .news-row {
        flex-direction: column;
        gap: 25px;
    }
    .news-left {
        flex: none;
        margin-right: 0;
        margin-bottom: 0;
    }
    .news-right {
        flex: none;
    }
    
    .slider-container {
        height: 320px;
    }
    .slide-caption {
        padding: 15px 20px;
        font-size: 14px;
    }
    .slider-dots {
        bottom: 60px;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .grid-section-first,
    .grid-section-second {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .friendly-links {
        padding: 22px;
    }
    .friendly-links-header {
        margin-bottom: 15px;
    }
    .friendly-links-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .main-container {
        margin: 25px auto;
    }
    
    .headline-section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    .headline-title {
        font-size: 20px;
        white-space: normal;
        line-height: 1.4;
    }
    .headline-subtitle {
        font-size: 15px;
        white-space: normal;
    }
    
    .news-row {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .slider-container {
        height: 240px;
    }
    .slide-caption {
        padding: 12px 15px;
        font-size: 13px;
    }
    .slider-dots {
        bottom: 50px;
        gap: 8px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .dot.active {
        width: 24px;
    }
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .slider-prev {
        left: 10px;
    }
    .slider-next {
        right: 10px;
    }
    
    .grid-item {
        padding: 20px;
    }
    
    .grid-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .grid-title {
        font-size: 17px;
    }
    
    .grid-more {
        font-size: 13px;
    }
    
    .friendly-links {
        padding: 20px;
        margin-bottom: 25px;
    }
    .friendly-links-header {
        margin-bottom: 12px;
    }
    .friendly-links-title {
        font-size: 17px;
    }
    .friendly-links-more {
        font-size: 13px;
    }
    .friendly-links a {
        margin-right: 0px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-container {
        margin: 20px auto;
        padding: 0 12px;
    }
    
    .headline-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    .headline-title {
        font-size: 18px;
    }
    .headline-subtitle {
        font-size: 14px;
    }
    
    .news-row {
        gap: 18px;
        margin-bottom: 25px;
    }
    
    .grid-item {
        padding: 18px;
    }
    
    .grid-title {
        font-size: 16px;
    }
    
    .friendly-links {
        padding: 18px;
        margin-bottom: 20px;
    }
    .friendly-links a {
        margin-right: 0px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .main-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav a {
        padding: 12px 18px;
        font-size: 15px;
    }

    .grid-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 30px;
    }
    .grid-item {
        padding: 22px;
    }
    .grid-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    .grid-title {
        font-size: 18px;
    }

    .sidebar-widget {
        padding: 22px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .footer-logo {
        align-items: center;
    }
    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        align-items: center;
    }
    .footer-links-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .header-main {
        height: 180px;
    }
    .logo {
        width: 120px;
        height: 120px;
    }
    .logo-title {
        font-size: 16px;
        white-space: normal;
        line-height: 1.3;
    }
    .logo-subtitle {
        font-size: 11px;
    }

    .nav a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .grid-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .grid-item {
        padding: 20px;
    }
    .grid-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    .grid-title {
        font-size: 17px;
    }
    .grid-more {
        font-size: 13px;
    }

    .sidebar-widget {
        padding: 20px;
    }
    .widget-title {
        font-size: 17px;
    }

    .footer {
        padding: 40px 0 30px;
    }
    .footer-logo-img {
        width: 60px;
        height: 60px;
    }
    .footer-logo-text {
        font-size: 22px;
    }
    .footer-section-title {
        font-size: 15px;
    }
}

/* ==================== 工具类 ==================== */

/* 文本工具 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* 间距工具 */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* 显示工具 */
.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ==================== 性能优化 ==================== */

/* GPU加速 */
.gpu-accelerate {
    transform: translateZ(0);
    will-change: transform;
}

/* 选择器优化提示 */
/* 使用类选择器优先，避免过度嵌套 */

/* ==================== 可访问性优化 ==================== */

/* 焦点样式 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 无障碍隐藏 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .logo-title {
        font-size: 14px;
    }
    .logo-subtitle {
        font-size: 10px;
    }

    .nav a {
        padding: 8px 10px;
        font-size: 13px;
    }

    .main-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .grid-item {
        padding: 18px;
    }
    .grid-title {
        font-size: 16px;
    }

    .sidebar-widget {
        padding: 18px 15px;
    }
    .widget-title {
        font-size: 16px;
    }
    .hot-title {
        font-size: 13px;
    }

    .footer-container {
        gap: 30px;
    }
    .footer-logo-text {
        font-size: 20px;
    }
    .footer-info {
        font-size: 13px;
    }
    .footer-bottom p {
        font-size: 13px;
    }
}
