* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #ffffff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner */
.banner {
    width: 100%;
    position: relative;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 标题样式 */
.title-b {
    background: url('zfkfhdzt_titile_bg_b.png') no-repeat center;
    background-size: contain;
    text-align: center;
    padding: 30px 0;
    margin: 40px 0 20px;
    font-size: 32px;
    color: #1a56a8;
    font-weight: bold;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.title-b:hover {
    color: #0d3d7a;
}

.title-s {
    background: url('zfkfhdzt_titile_bg_s.png') no-repeat center;
    background-size: contain;
    text-align: center;
    padding: 20px 0;
    margin: 30px 0 15px;
    font-size: 24px;
    color: #1a56a8;
    font-weight: bold;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.title-s:hover {
    color: #0d3d7a;
}

/* 政府开放月板块 */
.open-month {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.open-month-swiper {
    flex: 1;
    min-width: 0;
}

.swiper {
    width: 100%;
    height: 300px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.open-month-list {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 5px;
    height: 300px;
}

.open-month-list ul {
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.open-month-list li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.open-month-list li:last-child {
    border-bottom: none;
}

.open-month-list li a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.open-month-list li a:hover {
    color: #1a56a8;
}

.open-month-list-num {
    width: 54px;
    height: 32px;
    background: url('icon_normal_20260210.png') no-repeat center;
    background-size: contain;
    color: #1a56a8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.open-month-list li:hover .open-month-list-num {
    background: url('icon_hover_20260210.png') no-repeat center;
    background-size: contain;
    color: #fff;
}

.open-month-list-date {
    color: #333;
    font-size: 16px;
    margin-left: 12px;
    flex-shrink: 0;
}

/* 政府开放日板块 */
.open-day {
    background: #e6f3ff;
    padding: 10px 0;
}

.open-day-list {
    background: #fff;
    margin: 20px;
}

.open-day-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.open-day-item:last-child {
    border-bottom: none;
}

.open-day-info {
    flex: 1;
}

.open-day-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.open-day-detail {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.open-day-detail span {
    display: flex;
    align-items: center;
}

.icon-location {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: all 0.3s;
}

.icon-phone {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.44-5.15-3.75-6.59-6.59l1.97-1.57c.26-.26.35-.65.24-1.01-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3.98 3 4.63 3 5.46v.38c0 7.94 6.46 14.4 14.4 14.4h.38c.83 0 1.48-.65 1.48-1.48v-2.46c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: all 0.3s;
}

.open-day-item:hover .icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a56a8'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.open-day-item:hover .icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a56a8'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.44-5.15-3.75-6.59-6.59l1.97-1.57c.26-.26.35-.65.24-1.01-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3.98 3 4.63 3 5.46v.38c0 7.94 6.46 14.4 14.4 14.4h.38c.83 0 1.48-.65 1.48-1.48v-2.46c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}

.open-day-btn {
    background: #1a56a8;
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.open-day-btn:hover {
    background: #0d3d7a;
}

/* 图片列表板块 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.image-item {
    background: #fff;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e8e8e8;
}

.image-item:hover {
    box-shadow: 0 5px 15px rgba(26, 86, 168, 0.15);
    border-color: #1a56a8;
    transform: translateY(-3px);
}

.image-item-img {
    width: 100%;
    height: 180px;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.image-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image-item:hover .image-item-img img {
    transform: scale(1.05);
}

.image-item-title {
    padding: 15px;
    text-align: center;
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
}

.image-item:hover .image-item-title {
    color: #1a56a8;
}

/* Swiper 样式 */
.swiper {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0,0,0);
    z-index: 10;
    bottom: 10px;
    left: 0;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: opacity .3s;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.swiper-button-next::after {
    transform: rotate(45deg);
}

.swiper-button-prev::after {
    transform: rotate(-135deg);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .open-month {
        flex-direction: column;
    }

    .swiper {
        height: 250px;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .open-day-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .open-day-btn {
        width: 100%;
        text-align: center;
    }

    .open-day-detail span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .title-b {
        font-size: 26px;
        padding: 25px 0;
    }

    .title-s {
        font-size: 20px;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .swiper {
        height: 200px;
    }

    .title-b {
        font-size: 22px;
        padding: 20px 0;
    }

    .title-s {
        font-size: 18px;
        padding: 12px 0;
    }
}