:root {
    --primary-color: #07519A;
    --secondary-color: #C50808;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* 顶部样式 */
.top-bar {
    background-color: #fff;
    padding: 8px 10px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    width: 1200px;
    margin: 0 auto;
}

.top-links a {
    color: var(--primary-color);
    margin-left: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.top-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 导航样式 */
.navbar {
    width: 1200px;
    height: 50px;
    margin: 2px auto;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #07519A, #0a6dca);
}

.nav-menu {
    display: flex;
    height: 50px;
    margin: 0;
    margin-left: 60px;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
    width: 160px;
}

.nav-menu a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* 第一屏样式 */
.first-screen {
    display: flex;
    height: 350px;
    gap: 10px;
    margin-bottom: 10px;
    width: 1200px;
    margin: 0 auto 10px;
}

.first-screen-col {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.first-screen-col-1 {
    width: 480px;
}

.first-screen-col-2 {
    width: 480px;
    padding: 15px;
}

.first-screen-col-3 {
    width: 220px;
    padding: 15px;
}

/* 第一屏轮播图样式 */
.first-screen-swiper {
    position: relative;
    height: 100%;
}

.swiper-pagination {
    position: absolute;
    bottom: 15px !important;
    z-index: 10 !important;
}

.first-screen-swiper .swiper-slide {
    position: relative;
}

.first-screen-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.first-screen-swiper .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 15px;
}

.first-screen-swiper .slide-title {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
    max-width: 450px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.first-screen-swiper .slide-desc {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
}

/* 分页器指示点颜色样式 */
.swiper-pagination-bullet {
    background-color: #fff !important;
    opacity: 0.6 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary-color) !important;
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 5px !important;
}

.swiper-pagination-bullet:hover {
    opacity: 0.8 !important;
    transform: scale(1.1);
}

/* 横幅样式 */

.banner-top {
    width: 1200px;
    height: 130px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.banner-1200x90 {
    width: 1200px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.banner-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-1200x90 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 第二屏样式 */
.second-screen {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    width: 1200px;
    margin: 0 auto;
}

.second-screen-left {
    width: 970px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.second-screen-right {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.second-screen-row {
    display: flex;
    gap: 10px;
}

.second-screen-col {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 480px;
}

.second-screen-banner {
    width: 100%;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.second-screen-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 第二屏横幅轮播样式 */
.second-screen-banner.swiper-container {
    position: relative;
    overflow: hidden;
}

.second-screen-banner .swiper-slide {
    height: 90px;
}

.second-screen-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 横幅轮播分页器样式 */
.second-screen-banner .swiper-pagination {
    bottom: 5px !important;
    right: 10px !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.second-screen-banner .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.6;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.second-screen-banner .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    opacity: 1;
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
}

.second-screen-banner .swiper-pagination-bullet:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

/* 内容区域通用样式 */
.main-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section-title {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title a {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    text-decoration: none;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    color: #333;
    text-decoration: none;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s;
}

.news-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.news-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

/* 焦点图样式 */
.focus-news {
    display: flex;
    margin-bottom: 15px;
    gap: 15px;
    height: 100px;
}

.focus-image {
    width: 150px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.focus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.focus-image:hover img {
    transform: scale(1.05);
}

.focus-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.focus-title {
    margin: 8px 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 2.0;
}

.focus-title a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.focus-title a:hover {
    color: var(--secondary-color);
}

.focus-summary {
    display: none !important;
    flex: 1;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 公告栏样式 */
.notice-board {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.notice-scroll-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.notice-list {
    position: absolute;
    width: 100%;
    animation: scrollUp 40s linear infinite;
}

.notice-list.paused {
    animation-play-state: paused;
}

.notice-item {
    padding: 8px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 2px solid #eee;
    margin-bottom: 8px;
}

.notice-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    border-left-color: #C50808;
}

.notice-content {
    flex-grow: 1;
}

.notice-title {
    line-height: 1.5;
    margin-bottom: 5px;
}

.notice-title a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}



@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* 搜索表单 */
.search-form {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 10px;
}

.form-control {
    width: 150px;
    float: left;
    margin-bottom: 10px;
}

.search-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    width: 45px !important;
    font-weight: bold;
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.friend-links a {
    display: block;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: all 0.3s;
    width: 200px;
    height: 50px;
}

.friend-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.friend-links img {
    width: 200px;
    height: 50px;
    object-fit: cover;
}

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px 0 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    width: 1200px;
    height: 130px;
    margin: 10px auto 0;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 1200px) {

    .container,
    .top-bar,
    .navbar,
    .first-screen,
    .banner-1200x90,
    .second-screen,
    .footer {
        width: 100%;
        max-width: 100%;
    }

    .first-screen,
    .second-screen {
        flex-direction: column;
        height: auto;
    }

    .first-screen-col,
    .second-screen-left,
    .second-screen-right,
    .second-screen-col {
        width: 100%;
    }

    .second-screen-row {
        flex-direction: column;
    }

    .focus-news {
        height: auto;
        flex-direction: column;
    }

    .focus-image {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        flex-wrap: wrap;
        height: auto;
    }

    .nav-menu li {
        width: 33.333%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu li {
        width: 50%;
    }

    .top-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .top-links a {
        margin: 5px 0 5px 15px;
    }
}

@media (max-width: 576px) {
    .nav-menu li {
        width: 100%;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title a {
        margin-top: 5px;
    }

    .focus-image {
        height: 120px;
    }
}