:root {
    --primary: #1893B0;
    --deep: #0088a0;
    --bg-soft: #f3fbfd;
    --line: #2774C8;
    --text: #fff;
    --sub: #1893B0;
}

/* Swiper Pagination 基础样式 */
.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 4px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background: #000;
}

body {
    background-color: #fff;
}

/* PC端板心宽度 1520px */
.container {
    width: 1520px;
    margin: 0 auto;
}

/* header部分 */
.topbar {
    background: url("../images/headerbgc.png") center/cover no-repeat;
}

.header-inner {
    min-height: 4.5556rem;
    display: flex;
    align-items: center;
    gap: .8889rem;
}

.brand img {
    width: 17.7778rem;
    max-width: 60vw;
}

.search-box {
    margin-left: auto;
    display: flex;
    align-items: center;
    border: .0556rem solid var(--primary);
    background: rgba(255, 255, 255, 0.75);
    border-radius: .2222rem;
    overflow: hidden;
    height: 1.7778rem;
}

.search-box input {
    font-family: "微软雅黑";
    border: 0;
    outline: none;
    padding: 0 .6667rem;
    width: 14.4444rem;
    height: 100%;
    background: transparent;
    font-size: .7778rem;
    color: #333;
}

.search-box button {
    border: 0;
    height: 100%;
    width: 1.8889rem;
    padding: 0;
    background: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button img {
    width: .8889rem;
    height: .8889rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.search-box button:active img {
    transform: scale(0.98);
}

/* nav部分 */
nav,
nav * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    float: none;
}

nav {
    width: 100%;
    background-color: #1893B0;
    height: 50px;
    line-height: 50px;
    overflow: visible;
    position: relative;
    z-index: 999;
}

nav ul.container {
    width: 1520px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    overflow: visible;
}

nav ul.container>li {
    position: relative;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: visible;
}

nav ul.container>li:first-child {
    justify-content: flex-start;
}

nav ul.container>li:last-child {
    justify-content: flex-end;
}

nav ul.container>li>a {
    color: #ffffff;
    font-size: 18px;
    line-height: 50px;
    height: 100%;
    display: block;
    white-space: nowrap;
    text-align: left;
}

/* 桌面端隐藏箭头标识 */
@media (min-width: 1025px) {
    nav .arrow-icon {
        display: none;
    }
}

nav .subnav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 100%;
    width: max-content;
    height: auto;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    margin-top: 4px;
    transition: all 0.3s ease;
}

nav .subnav li {
    width: 100%;
    height: 44px;
    line-height: 44px;
    text-align: center;
    padding: 0 20px;
    display: block;
    float: none;
    white-space: nowrap;
    background-color: #ffffff;
}

nav .subnav li a {
    color: #333333;
    font-size: 15px;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 44px;
}

nav .subnav li:hover {
    background-color: #f0f7fa;
}

nav .subnav li:hover a {
    color: #1893B0;
}

nav ul.container>li:hover>.subnav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 轮播图 */
.banner {
    width: 100%;
    height: 720px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.banner ul {
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-out;
    width: 100%;
}

.banner li {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

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

/* 新闻模块 */
.news-container {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    align-items: flex-start;
}

/* 新闻轮播图 */
.news-banner {
    width: 880px;
    height: 520px;
    overflow: hidden;
    position: relative;
    border-radius: 0.2222rem;
}
.news-banner .swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s ease-out;
}

/* 替换原来的 .news-banner li */
.news-banner .swiper-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.news-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-banner-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-banner-link:hover .news-banner-img img {
    transform: scale(1.1);
}

.news-banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background-color: #1893b0;
    opacity: 0.7;
    color: #fff;
    font-size: 1.1111rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 11;
}

.news-banner-dots.swiper-pagination {
    position: absolute;
    bottom: 1.35rem !important;
    right: 1.5rem !important;
    display: flex !important;
    gap: 0.4rem;
    z-index: 100;
    left: auto !important;
    width: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-banner-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    flex-shrink: 0;
}

.news-banner-dots .swiper-pagination-bullet-active {
    background-color: #fff;
    width: 20px;
    border-radius: 4px;
}

/* 新闻列表区域 */
.news {
    flex: 1;
    min-width: 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--primary);
    box-sizing: border-box;
}

.news-title {
    height: 100%;
    font-size: 26px;
    font-style: normal;
    border-bottom: 3px solid var(--primary);
    font-weight: bold;
    color: var(--primary);
    box-sizing: border-box;
    padding-bottom: 2px;
    margin-bottom: -2px;
}

.news-more {
    font-size: 0.7778rem;
    color: var(--sub);
    text-decoration: none;
    padding: 0.2rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--primary);
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border: 1px solid transparent;
}

.news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 1rem;
}

.news-list li a:hover {
    color: var(--primary);
}

.news-list li:hover {
    border-bottom: 1px solid rgba(39, 116, 200, 0.4);
}

.news-date {
    font-size: 16px;
    font-style: normal;
    color: #999;
    white-space: nowrap;
}

/* 通知模块 */
.notice {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 40px;
    background: url("../images/noticebgc.png") center/cover no-repeat;
}

.notice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.notice-title {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.notice-title h3 {
    display: flex;
    align-items: center;
    gap: .6667rem;
    margin: 0;
}

.notice-title h3 span {
    font-weight: bold;
    font-size: 26px;
    color: #333;
    font-style: normal;
}

.notice-title h3 img {
    width: 1.5556rem;
    height: 1.5556rem;
}

.notice-title a {
    position: absolute;
    right: 0;
    font-size: 0.7778rem;
    color: var(--sub);
    text-decoration: none;
    padding: 0.2rem 0.6rem;
    border-radius: 0.2rem;
}

.notice-lists {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 345px;
    background-color: #fff;
    padding: 40px 1.5rem 36px 1.5rem;
    border-radius: 0.2222rem;
}

.notice-top-cards {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(39, 116, 200, 0.4);
}

.notice-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.notice-card .notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1893B0;
    color: #fff;
    width: 4rem;
    height: 4rem;
    border-radius: 0.2222rem;
    flex-shrink: 0;
}

.notice-card .notice-date strong {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.notice-card .notice-date span {
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.notice-card-title {
    font-size: 1.1111rem;
    color: #333;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

/* 下方通知列表 */
.notice-list-row {
    display: flex;
    gap: 2rem;
    width: 100%;
    padding-bottom: 36px;
}

.notice-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.notice-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid transparent;
}

.notice-list li:first-child {
    margin-top: 0;
}

.notice-list li::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%231890ff'/%3E%3Ccircle cx='2' cy='8' r='1.5' fill='%231890ff'/%3E%3Ccircle cx='8' cy='5' r='1.5' fill='%231890ff'/%3E%3C/svg%3E");
    color: #1893B0;
    margin-right: 0.5rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.notice-list li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.notice-list li:hover {
    color: var(--primary);
    border-bottom: 1px solid rgba(39, 116, 200, 0.4);
}

.notice-list-date {
    font-size: 0.85rem;
    color: #999;
    white-space: nowrap;
    margin-left: 1rem;
    flex-shrink: 0;
}

/* ===== 【核心调整：党建就医模块】 ===== */
.party-guide * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.party-guide {
    --party-line: #eef3f6;
    --party-title-height: 34px;
    --party-col-gap: 40px;
    --party-row-gap: 16px;
    --party-img-gap: 40px;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 40px;
}

.party-guide .container {
    width: 1520px;
    margin: 0 auto;
}

.party-three-col {
    width: 100%;
    min-width: 0;
    display: grid;
    /* 【布局调整】列顺序：就医(350px) → 党建图片(740px) → 党建列表(350px) */
    grid-template-columns: 350px 400px 690px;
    grid-template-rows: auto 1fr;
    gap: var(--party-row-gap) var(--party-col-gap);
    align-items: stretch;
}

.party-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0;
    padding-bottom: 0;
    min-height: var(--party-title-height);
}

.party-section-head a {
    font-size: 0.7778rem;
    color: var(--sub);
    text-decoration: none;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--primary);
    border-radius: 0.2rem;
}

/* 【标题调整】就医指南标题 → 第1列 */
.party-guide-head {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

/* 【标题调整】党建工作标题 → 第2-3列 */
.party-party-head {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

.party-section-head h3 {
    display: flex;
    color: #333;
    font-size: 26px;
    font-weight: bold;
    align-items: center;
    gap: .6667rem;
    margin: 0;
}

.party-section-head h3 img {
    width: 1.5556rem;
}

/* 【内容调整】就医指南整体容器 → 第1列 */
.party-guide-content {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.party-list-with-date {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.party-list-with-date li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 28px;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    min-width: 0;
}

.party-list-with-date li:hover {
    border-bottom: 1px solid rgba(39, 116, 200, 0.4);
}

.party-list-with-date li:hover a {
    color: var(--primary);
}

.party-list-with-date a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.party-list-with-date time {
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}

.party-right-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.party-ad {
    width: 350px;
    height: 78px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    font-size: 0;
    color: transparent;
}

/* 【内容调整】党建图片网格 → 第2列 */
.party-img-grid {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    gap: var(--party-img-gap);
    height: 100%;
    min-width: 0;
}

.party-img-grid article {
    width: 350px;
    height: 264px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: #eaf4f7;
    flex-shrink: 0;
}

.party-img-grid article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    font-size: 0;
    color: transparent;
    transition: transform 0.5s ease;
}

.party-img-grid article:hover img {
    transform: scale(1.1);
}

.party-img-grid p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 1rem;
    padding: 8px;
    background: rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 【内容调整】党建新闻列表 → 第3列 */
.party-mid-list {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

/* 底部快捷链接 */
.party-quick-links {
    width: 100%;
    margin-top: 10px;
    padding-top: 12px;
    display: flex;
    gap: var(--party-col-gap);
    min-width: 0;
}

.party-quick-links a {
    width: 350px;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    min-width: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.party-quick-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(196, 190, 190, 0.906);
}

.party-quick-links img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    font-size: 0;
    color: transparent;
    flex-shrink: 0;
}

.party-quick-links span {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
}

/* 服务大厅模块 */
.service {
    width: 100%;
    padding-top: 80px;
}

.service-container .notice-title {
    margin: 0 0 40px 0;
}

.service-list {
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

.service-list ul {
    display: flex;
    gap: 1.1111rem;
    flex-wrap: nowrap;
}

.service-list li {
    flex-shrink: 0;
    width: calc((100% - 3 * 1.1111rem) / 4);
    overflow: hidden;
    position: relative;
}

.service-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-slider {
    width: 1520px;
}

.service-track-wrap {
    width: 100%;
    overflow: hidden;
}

.service-grid {
    display: flex;
    flex-wrap: nowrap;
}

.service-grid .swiper-slide {
    width: 80px;
    height: 107px;
    flex-shrink: 0;
}

.service-grid a {
    width: 100%;
    height: 107px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #EDF0F5;
    border-radius: 4px;
}

.service-icon-wrap img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    margin: auto;
}

.service-grid span {
    font-size: .8889rem;
    color: #333333;
    line-height: 1.1667rem;
    text-align: center;
    font-style: normal;
    white-space: nowrap;
    margin-top: 8px;
}

.service-arrow {
    display: block;
    width: 22px;
    height: 32px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 24px;
    flex-shrink: 0;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.service-arrow-left {
    background-image: url("../images/left.png");
    right: calc(50% + 760px + 10px);
}

.service-arrow-left:hover {
    background-image: url("../images/leftclick.png");
}

.service-arrow-right {
    background-image: url("../images/right.png");
    left: calc(50% + 760px + 10px);
}

.service-arrow-right:hover {
    background-image: url("../images/rightclick.png");
}

/* 医护风采模块 */
.hospital {
    width: 100%;
    margin: 20px 0;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hospital .publicHealth-container .notice-title {
    margin-bottom: 40px;
}

.hospital #hospitalBanner {
    padding-top: 0;
}

/* footer模块 */
.site-footer {
    background: url("../images/footerbgc.png") center/cover no-repeat;
    color: #dff4fa;
    padding: 16px 0 14px;
    font-size: 14px;
}

.site-footer .container {
    padding-top: 8px;
}

.site-footer .footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 8px;
    font-size: 14px;
}

.site-footer .footer-links a {
    color: rgba(240, 250, 255, .85);
    font-size: 11px;
}

.site-footer .footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer .footer-brand img {
    width: 230px;
    max-width: 42vw;
}

.site-footer .footer-contact p {
    line-height: 1.6;
    color: rgba(237, 248, 252, .9);
}

.site-footer .footer-qrcode {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .qrcode-box {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, .75);
    background: #d9d9d9;
    display: inline-block;
}

.site-footer .qrcode-text p {
    line-height: 1.5;
    color: rgba(237, 248, 252, .9);
    font-size: 11px;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

/* 汉堡菜单按钮 — 桌面端隐藏 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 移动端搜索框 — 桌面端隐藏 */
.mobile-search {
    display: none;
}

/* ===== 响应式：平板端 (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container,
    nav ul.container,
    .party-guide .container {
        width: calc(100% - 2rem);
    }

    /* 平板端党建就医模块响应式 */
    .party-three-col {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 1.2rem;
    }

    .party-guide-head {
        grid-column: 1 / 2;
        grid-row: 1 / 2; /* 就医标题置顶 */
        padding-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

    .party-guide-content {
        grid-column: 1 / 2;
        grid-row: 2 / 3; /* 就医内容紧跟标题 */
        height: auto;
        gap: 1.2rem;
    }

    .party-party-head {
        grid-column: 1 / 2;
        grid-row: 3 / 4; /* 党建标题在就医之后 */
        padding-bottom: 0.5rem;
    }

    .party-img-grid {
        grid-column: 1 / 2;
        grid-row: 4 / 5; /* 党建图片 */
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        height: auto;
    }

    .party-img-grid article {
        width: calc(50% - 0.5rem);
        height: auto;
        aspect-ratio: 4 / 3;
        max-width: 350px;
    }

    .party-mid-list {
        grid-column: 1 / 2;
        grid-row: 5 / 6; /* 党建列表 */
        height: auto;
        gap: 0.6rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .party-right-list {
        height: auto;
        gap: 0.6rem;
    }

    .party-ad {
        width: 100%;
        height: auto;
        max-width: 350px;
    }

    .party-quick-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
    }

    .party-quick-links a {
        width: 100%;
        height: auto;
        min-height: 70px;
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .party-quick-links img {
        width: 30px;
        height: 30px;
    }

    .party-section-head {
        min-height: auto;
    }

    .party-section-head h3 {
        font-size: 1.25rem;
    }

    .party-list-with-date li {
        height: auto;
        padding: 0.5rem 0;
    }

    .party-list-with-date a {
        font-size: 1rem;
    }

    .party-list-with-date time {
        font-size: 0.85rem;
    }

    /* 平板端汉堡菜单 */
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-inner .search-box {
        display: none;
    }

    nav#mainNav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background-color: #1893B0;
        height: auto;
        line-height: normal;
    }

    nav#mainNav.nav-open {
        max-height: 2000px;
    }

    nav ul.container {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: 0;
        height: auto;
    }

    nav ul.container>li {
        height: auto;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul.container>li>a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0.85rem 1.2rem;
        line-height: 1.5;
        height: auto;
        font-size: 1rem;
        color: #fff;
        text-align: left;
        white-space: normal;
        width: 100%;
    }

    nav .arrow-icon {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #ffffff;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    nav ul.container>li.has-submenu.subnav-open>a .arrow-icon {
        transform: rotate(180deg);
    }

    nav .subnav {
        position: static;
        left: auto;
        transform: none;
        display: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.18);
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    nav ul.container>li.subnav-open>.subnav {
        display: block;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    nav .subnav li {
        height: auto;
        line-height: 1.5;
        padding: 0;
        background-color: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        float: none;
        display: block;
        width: 100%;
        list-style: none;
        text-align: left;
    }

    nav .subnav li:last-child {
        border-bottom: none;
    }

    nav .subnav li a {
        display: block;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.9rem;
        line-height: 1.5;
        position: relative;
        text-align: left;
        width: 100%;
    }

    nav .subnav li:hover {
        background-color: rgba(0, 0, 0, 0.12);
    }

    nav .subnav li:hover a {
        color: #fff;
    }

    .mobile-search {
        display: flex;
        justify-content: center;
        padding: 0.8rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .search-box--mobile {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .search-box--mobile input {
        width: 100%;
        flex: 1;
    }

    .banner {
        height: 25rem;
    }

    .news-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .news-banner {
        width: 100%;
        height: 20rem;
    }

    .notice-top-cards {
        gap: 1.5rem;
    }

    .notice-list-row {
        gap: 1.5rem;
    }

    .public-health-list li,
    .service-list li {
        width: calc((100% - 2 * 1.1111rem) / 3);
    }

    .site-footer .footer-brand img {
        max-width: 50vw;
    }
}

/* ===== 响应式：移动端 (≤768px) ===== */
@media (max-width: 768px) {
    .container,
    nav ul.container,
    .party-guide .container {
        width: calc(100% - 1.5rem);
    }

    .party-guide {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .party-three-col {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 1rem;
    }

    .party-guide-head {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        padding-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

    .party-guide-content {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: auto;
        gap: 1rem;
    }

    .party-party-head {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        padding-bottom: 0.5rem;
    }

    .party-img-grid {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.8rem;
        height: auto;
    }

    .party-img-grid article {
        width: calc(50% - 0.4rem);
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .party-img-grid article img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .party-img-grid p {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .party-mid-list {
        grid-column: 1 / 2;
        grid-row: 5 / 6;
        height: auto;
        gap: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .party-right-list {
        height: auto;
        gap: 0.5rem;
    }

    .party-ad {
        width: 100%;
        height: auto;
        max-height: 78px;
        object-fit: cover;
    }

    .party-quick-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .party-quick-links a {
        width: 100%;
        height: auto;
        min-height: 60px;
        padding: 0.6rem 0.5rem;
        gap: 0.4rem;
        flex-direction: row;
    }

    .party-quick-links img {
        width: 28px;
        height: 28px;
    }

    .party-quick-links span {
        font-size: 0.85rem;
    }

    .party-section-head {
        min-height: auto;
    }

    .party-section-head h3 {
        font-size: 1.1rem;
        gap: 0.4rem;
    }

    .party-section-head h3 img {
        width: 1.3rem;
    }

    .party-list-with-date li {
        height: auto;
        padding: 0.4rem 0;
        gap: 0.5rem;
    }

    .party-list-with-date a {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .party-list-with-date time {
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-inner .search-box {
        display: none;
    }

    nav#mainNav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background-color: #1893B0;
        height: auto;
        line-height: normal;
    }

    nav#mainNav.nav-open {
        max-height: 2500px;
    }

    nav ul.container {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: 0;
        height: auto;
    }

    nav ul.container>li {
        height: auto;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul.container>li>a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0.9rem 1.3rem;
        line-height: 1.5;
        height: auto;
        font-size: 1rem;
        color: #fff;
        text-align: left;
        white-space: normal;
        width: 100%;
    }

    nav .arrow-icon {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #ffffff;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    nav ul.container>li.has-submenu.subnav-open>a .arrow-icon {
        transform: rotate(180deg);
    }

    nav .subnav {
        position: static;
        left: auto;
        transform: none;
        display: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    nav ul.container>li.subnav-open>.subnav {
        display: block;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    nav .subnav li {
        height: auto;
        line-height: 1.5;
        padding: 0;
        background-color: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        float: none;
        display: block;
        width: 100%;
        list-style: none;
        text-align: left;
    }

    nav .subnav li:last-child {
        border-bottom: none;
    }

    nav .subnav li a {
        display: block;
        padding: 0.8rem 1rem 0.8rem 2.6rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        line-height: 1.5;
        position: relative;
        text-align: left;
        width: 100%;
    }

    nav .subnav li:hover {
        background-color: rgba(0, 0, 0, 0.15);
    }

    nav .subnav li:hover a {
        color: #fff;
    }

    .mobile-search {
        display: flex;
        justify-content: center;
        padding: 0.9rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .search-box--mobile {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .search-box--mobile input {
        width: 100%;
        flex: 1;
    }

    .banner {
        height: 12rem;
    }

    .news-container {
        flex-direction: column;
    }

    .news-banner {
        width: 100%;
        height: 14rem;
    }

    .news-list li {
        flex-wrap: nowrap;
        gap: 0;
    }

    .news-list li a {
        flex: 1 1 auto;
        max-width: calc(100% - 5.5rem);
        margin-right: 0.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .news-date {
        flex-shrink: 0;
        font-size: 0.75rem;
        white-space: nowrap;
        min-width: 4.5rem;
        text-align: right;
    }

    .news-more {
        display: inline-block;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
        line-height: 1.2;
        white-space: nowrap;
        margin-bottom: 0.3rem;
    }

    .news-header {
        align-items: center;
        padding-bottom: 0.3rem;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .notice-lists {
        padding: 1rem;
    }

    .notice-top-cards {
        flex-direction: row;
        gap: 0.8rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .notice-card {
        gap: 0.6rem;
    }

    .notice-card .notice-date {
        width: 3rem;
        height: 3rem;
    }

    .notice-card .notice-date strong {
        font-size: 1.2rem;
    }

    .notice-card .notice-date span {
        font-size: 0.6rem;
        margin-top: 0.2rem;
    }

    .notice-card-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .notice-list-row {
        flex-direction: row;
        gap: 0.8rem;
    }

    .notice-list li {
        padding: 0.5rem 0;
    }

    .notice-list li a {
        font-size: 0.75rem;
    }

    .notice-list-date {
        font-size: 0.65rem;
        margin-left: 0.5rem;
    }

    .public-health-list li,
    .service-list li {
        width: calc((100% - 1.1111rem) / 2);
    }

    .site-footer .footer-main {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .site-footer .footer-brand img {
        max-width: 60vw;
    }

    .site-footer .footer-qrcode {
        align-self: flex-start;
    }
}

/* ===== 响应式：超小屏移动端 (≤480px) ===== */
@media (max-width: 480px) {
    .party-three-col {
        gap: 0.8rem;
    }

    .party-img-grid {
        gap: 0.6rem;
    }

    .party-img-grid article {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .party-img-grid article:last-child {
        display: none;
    }

    .party-img-grid p {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }

    .party-mid-list {
        margin-top: 0.3rem;
        margin-bottom: 0.8rem;
    }

    .party-guide-head {
        margin-top: 0.3rem;
    }

    .party-section-head h3 {
        font-size: 1rem;
    }

    .party-section-head h3 img {
        width: 1.2rem;
    }

    .party-list-with-date li {
        padding: 0.35rem 0;
    }

    .party-list-with-date a {
        font-size: 0.85rem;
    }

    .party-list-with-date time {
        font-size: 0.7rem;
    }

    .party-quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }

    .party-quick-links a {
        min-height: 50px;
        padding: 0.4rem 0.3rem;
        gap: 0.3rem;
    }

    .party-quick-links img {
        width: 24px;
        height: 24px;
    }

    .party-quick-links span {
        font-size: 0.8rem;
    }
}

.public-health-link:hover .public-health-img img {
    transform: scale(1.1);
}

.public-health-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8889rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 11;
}

.public-health-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.publicHealth {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 40px;
    background: url("../images/publicHealthbgc.png") center/cover no-repeat;
}

.publicHealth-container .notice-title {
    margin-bottom: 40px;
}

.publicHealth-container .public-health-list {
    padding-top: 0;
}

.public-health-list .swiper-slide {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    aspect-ratio: 700 / 550;
}

/* 医护风采模块 */
#hospitalBanner .swiper-slide {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    aspect-ratio: 700 / 550;
}

.public-health-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.public-health-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}