button {
    font-size: 1rem;
    padding: 0.5em 1em;
}


/* ===== Header ===== */

.site-header {
    min-height: 120px;
    position: fixed;
    margin-bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
}


/* ===== Brand ===== */

.site-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 300px;
    height: 80px;
    margin-right: 8px;
    object-fit: contain;
}


/* ===== Navigation ===== */

.site-nav {
    margin-left: 20px;
    position: relative;
    flex: 1;
    display: block;
    max-width: calc(100% - 20px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-list {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
    position: relative;
}

.nav-link {
    display: inline-block;
    padding: 8px 4px;
    font-size: var(--font-title-sm);
    color: var(--color-nav-text);
    text-decoration: none;
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    background: var(--color-primary);
}


/* 导航图标 */

.nav-icon {
    display: inline-block;
    width: 0.75rem;
    height: 0.5625rem;
    margin-left: 0.1875rem;
    vertical-align: middle;
    fill: #e60012;
}

.nav-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.1875rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}


/* === header dropdown start === */

.nav-dropdown {
    position: absolute;
    margin-top: 0;
    top: calc(100% + 0.8rem);
    left: 50%;
    min-width: 180px;
    padding: 0.5rem 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 1200;
    transform: translate(-50%, -20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0s;
}

.header-nav {
    position: relative;
}

.header-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.8rem;
}

.header-nav-item:hover .nav-dropdown,
.header-nav-item:focus-within .nav-dropdown {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 50vh;
    transition-delay: 0s;
}

.header-nav-item:not(:hover) .nav-dropdown {
    transition-delay: 1s;
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem;
    font-size: var(--font-md);
    color: var(--color-nav-text);
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-red);
}


/* === header dropdown end === */

.sub-nav.is-collapsed {
    display: none;
}

.sub-nav.is-open {
    display: block;
}


/* ===== Header actions ===== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-action-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
}

.nav-action-text {
    font-size: var(--font-title-sm);
    color: var(--color-nav-text);
    cursor: pointer;
    font-weight: 300;
}

.nav-action-text:hover {
    color: var(--color-red);
    text-decoration: none;
}

.search-toggle {
    font-size: 1rem;
    padding: 8px;
    margin-left: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover,
.search-toggle:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.search-icon {
    width: 2rem;
    height: 2rem;
    fill: var(--color-text);
}


/* ===== Sub Navigation ===== */

.sub-nav {
    display: block;
    background: #fff;
    z-index: 1000;
    padding: 8px 0 0;
}

.sub-nav-list {
    display: flex;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0 55px 0 0;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.sub-nav-item {
    margin: 0;
}

.sub-nav-link {
    display: inline-block;
    padding: 0 12px;
    font-size: var(--font-title-sm);
    color: var(--color-sub-nav-text);
    text-decoration: none;
    background: #FBF8F5;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: all 0.3s ease;
}

.sub-nav-link:hover,
.sub-nav-link:focus-visible {
    opacity: 0.8;
    color: #fff;
    background: var(--color-red);
    box-shadow: 0 2px 4px rgba(230, 0, 18, 0.28);
    transform: translateY(-2px);
}


/* ===== Header Nav ===== */

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    width: 100%;
}

.header-nav-link {
    color: var(--color-nav-text);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1rem;
    padding: 0 0.1rem;
}

.header-nav-link .nav-dot {
    font-size: 1.17rem;
    line-height: 1;
    vertical-align: middle;
}

.header-nav-link:hover {
    color: var(--color-red);
    font-weight: 500;
    transform: scale(1.25);
}

.header-nav-separator {
    color: var(--color-red);
    font-size: var(--font-lg);
    flex-shrink: 0;
}


/* ===== 顶部导航操作区（新） ===== */

.header-nav-right {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 12px;
    margin-top: var(--space-xs);
}

.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav-action-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
}

.email img{
    width: 1.5rem;
    height: 1rem;
    margin-right: 0.17rem;
}
.wza img{
    width: 1.17rem;
    height: 1.5rem;
    margin-right: 0.17rem;
}


.top-nav-action-text {
    color: var(--color-nav-text);
    cursor: pointer;
    font-weight: 300;
    font-size: 1.17rem;
}

.top-nav-action-text:hover {
    color: var(--color-red);
    text-decoration: none;
}

.top-search-toggle {
    font-size: 1rem;
    padding: 8px;
    margin-left: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-search-toggle:hover,
.top-search-toggle:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.top-search-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--color-text);
}


/* 左侧菜单 */

.channel-sidebar {
    width: 200px;
}

.channel-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #eee;
}

.channel-menu li {
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    background-image: linear-gradient(90deg, var(--bg-color-menu), var(--bg-color-menu));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 0;
    transition: background-size 0.3s ease, color 0.2s ease;
    font-size: 1.2rem;
}

.channel-menu li.menu-title {
    padding: 20px 16px;
    background: var(--bg-color-menu-title);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.channel-menu li.active {
    background: var(--bg-color-menu);
    color: #fff;
    font-size: 1.2rem;
}

@media (hover: hover) and (pointer: fine) {
    .channel-menu li:not(.menu-title):hover,
    .channel-menu li:not(.menu-title):focus-visible {
        background-size: 100% 100%;
        color: #fff;
    }
}


/* ================================================= */


/* =================== Pad 端 ======================= */


/* ================================================= */

@media (max-width: 1199px) {
    .brand-logo {
        width: 220px;
        height: auto;
    }
    .nav-link,
    .nav-action-text,
    .sub-nav-link {
        font-size: var(--font-md);
    }
    .sub-nav-list {
        justify-content: flex-start;
        gap: 8px;
    }
}


/* ================================================= */


/* =================== Mobile ======================= */


/* ================================================= */

@media (max-width: 768px) {
    .header-inner {
        padding: 8px 16px;
    }
    .brand-logo {
        width: 180px;
    }
    /* 抽屉导航 */
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg);
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 72px;
        z-index: 1000;
    }
    body[data-menu="open"] .site-nav {
        transform: translateX(0);
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .nav-link {
        padding: 16px 24px;
        font-size: 1.125rem;
    }
    .header-actions {
        gap: 8px;
    }
    .sub-nav {
        display: none;
        /* 移动端默认不展示二级 */
    }
    .menu-toggle {
        font-size: 1rem;
        padding: 8px 12px;
        margin-right: 8px;
    }
}


/* ===== Footer ===== */

.footer-bottom {
    height: 4px;
    background-color: #e60012;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-content {
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.footer-info-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: 1rem;
}


/* 快速入口开始 */

.ksrk {
    background: #E6E6E6;
    width: 100%;
    z-index: 111;
    height: 3rem;
    line-height: 3rem;
    display: flex;
}

.footer-content .footer-rk {
    /* background: #e60012; */
    color: #c30d23;
    font-size: 1.2rem;
    /* width: 88%; */
    margin: 0 auto;
    display: flex;
}

.footer-content .footer-rk .rk-pic {
    background: url(../assets/images/footer/link.png) no-repeat left center;
    padding-left: 2.5rem;
    font-weight: bold;
    /* background-size: cover; */
    margin-right: 4rem;
}

.footer-content .footer-rk a {
    color: #373737;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 4rem;
}

.footer-content .footer-rk a:hover {
    color: #e60012;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 4rem;
}

.footer-content .footer-rk img {
    margin-right: 10px;
    width: 1.8rem;
    height: 1.8rem;
}

.footer-content .footer-rk span {
    margin-left: 2.2rem;
    font-weight: bold;
}

.footer-info-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: 1rem;
}


/* 快速入口结束 */


/* 政府网站链接栏 */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    padding: var(--space-xs) 0;
    /*border-bottom: 1px solid #e5e5e5;*/
    width: 100%;
    /* background-color: #fff; */
    max-width: none;
}

.footer-links .footer-link {
    flex: 1;
    text-align: center;
    font-size: 1rem;
}

.footer-links .footer-separator {
    flex-shrink: 0;
    color: var(--color-red);
}

.footer-link {
    color: var(--color-nav-text);
    text-decoration: none;
    font-size: var(--font-sm);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-red);
}

.footer-separator {
    color: #999;
    font-size: var(--font-sm);
}


/* 网站信息 */

.footer-info {
    margin-bottom: var(--space-md);
}

.footer-side {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.footer-side-image {
    height: auto;
    display: block;
}

.footer-side-left .footer-side-image {
    width: 70px;
    transform: translateY(-16px);
}

.footer-side-right .footer-side-image {
    width: 113px;
    transform: translateY(-24px);
}

.info-text {
    margin: var(--space-xs) 0;
    font-size: var(--font-sm);
    color: var(--color-nav-text);
    text-align: center;
    line-height: 1.5;
}


/* 信息链接样式 */

.info-link {
    color: var(--color-nav-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: var(--color-red);
    text-decoration: underline;
}

.beian-icon {
    width: 16px;
    max-width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 0 0 6px;
    vertical-align: text-bottom;
}


/* 信息分隔符 */

.info-separator {
    color: #666;
}


/* 红色底线 */

.footer-bottom {
    height: 4px;
    background-color: #e60012;
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ===== Footer 响应式 ===== */

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-info-wrap {
        flex-direction: column;
        align-items: center;
    }
    .footer-side {
        margin: var(--space-xs) 0;
    }
    .footer-accessibility {
        margin-left: 0;
        margin-top: var(--space-sm);
    }
}