* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================= 顶部 Header ================= */
.header-v2 {
    width: 100%;
    background: #1a6cb8;
}

.header-inner {
    width: 1200px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-v2 .logo {
    display: flex;
    align-items: center;
}

.header-v2 .logo img {
    height: 48px;
    margin-right: 12px;
}

.header-v2 .logo span {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 搜索框 */
.wp_search {
    padding: 0 4px 0 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    border-radius: 16px;
    width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.keyword {
    all: unset;
    width: 80px;
    flex: 1;
    font-size: 13px;
    color: #fff;
}

.keyword::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.wp_search .search,
.wp_search input.search {
    text-indent: -9999px !important;
    background: transparent !important;
    border: none !important;
    color: transparent !important;
    width: 28px !important;
    height: 28px !important;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

/* 纯CSS白色放大镜图标 */
.wp_search::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateY(-65%);
    pointer-events: none;
}

.wp_search::after {
    content: '';
    position: absolute;
    right: 9px;
    top: 50%;
    width: 2px;
    height: 6px;
    background: #fff;
    transform: translateY(10%) rotate(-45deg);
    pointer-events: none;
}

.wp_search:hover {
    opacity: 0.8;
}

/* 导航栏 */
.nav-v2 {
    margin: 0 auto;
}

.nav-v2>ul,
.nav-v2 .wp-menu {
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.nav-v2 li {
    list-style: none;
}

.nav-v2>ul>li>a,
.nav-v2 .menu-link {
    display: block;
    padding: 14px 24px;
    color: #fff;
    font-size: 16px;
    transition: background .2s;
    cursor: pointer;
}

.nav-v2>ul>li>a:hover,
.nav-v2 .menu-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 导航下拉菜单 */
.menu-item {
    position: relative;
}

.menu-item .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 160px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    z-index: 100;
    list-style: none;
    flex-direction: column;
}

.menu-item:hover .sub-menu {
    display: flex;
    flex-direction: column;
}

.sub-menu li {
    list-style: none;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    transition: all .2s;
}

.sub-menu li a:hover {
    background: #f0f7ff;
    color: #0095E5;
    padding-left: 24px;
}

/* Webplus simpleSudyNavi 生成的导航兼容样式 */
.nav-v2 .dropdown {
    position: relative;
}

.nav-v2 .dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-v2 .dropdown-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 4px;
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.nav-v2 .dropdown:hover .dropdown-arrow {
    transform: rotate(0deg);
}

.nav-v2 .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 160px;
    display: none;
    z-index: 100;
    white-space: nowrap;
    flex-direction: column;
}

.nav-v2 .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    transform: translateX(-50%) translateY(0);
}

.nav-v2 .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    transition: all .2s;
}

.nav-v2 .dropdown-menu a:hover {
    background: #f0f7ff;
    color: #0095E5;
    padding-left: 24px;
}

/* 隐藏 Webplus 可能生成的 sub-nav */
.nav-v2 ul.sub-nav {
    display: none !important;
}

/* ================= Banner ================= */
.banner-v2 {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-v2 .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-v2 a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

/* ================= 功能入口 ================= */
.entry-v2 {
    background: #fff;
    padding: 20px 0 10px;
}

.entry-list {
    width: 1200px;
    margin: -108px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.entry-item {
    width: 220px;
    height: 170px;
    background: url("/_upload/tpl/0f/9e/3998/template3998/images/home/modeBG.png") no-repeat center / 100% 100%;
    text-align: center;
    transition: transform .2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 19px;
}

.entry-item:hover {
    transform: translateY(-6px);
}

.entry-item img {
    height: 45px;
    margin: 10px auto 20px;
}

.entry-title {
    font-size: 21px;
    font-weight: bold;
    color: #0095E5;
    line-height: 23px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    padding: 0 10px;
    text-align: center;
}

.entry-sub {
    font-size: 13px;
    line-height: 13px;
    font-weight: 350;
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    display: none;
}

.dropdown-item {
    margin: 4px 0;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    display: flex;
}

a.entry-face,
.entry-face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 19px;
    justify-content: space-evenly;
    transition: opacity .35s ease, transform .35s ease;
    text-decoration: none;
    color: inherit;
}

.entry-front {
    opacity: 1;
    transform: translateY(0);
}

.entry-back {
    opacity: 0;
    transform: translateY(16px);
}

.entry-item:hover .entry-front {
    opacity: 0;
    transform: translateY(-16px);
}

.entry-item:hover .entry-back {
    opacity: 1;
    transform: translateY(0);
}

/* 无翻转的卡片：禁用 hover */
.entry-item.no-hover:hover {
    transform: none;
}

.entry-item.no-hover:hover .entry-front {
    opacity: 1;
    transform: translateY(0);
}

/* ================= 新闻 / 通知 ================= */
.news-v2 {
    width: 1200px;
    margin: 30px auto 40px;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.news-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-left-box {
    flex: 1;
}

.news-right {
    width: 380px;
    display: flex;
    flex-direction: column;
}

.news-left-box,
.news-right-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.news-right-box {
    flex: 1;
}

.news-left-box {
    display: flex;
    flex-direction: column;
}

.news-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.news-title {
    font-size: 26px;
    font-weight: bold;
    line-height: 120%;
    color: #000000;
    letter-spacing: 0.2em;
}

.news-sub {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #999;
    margin-left: 6px;
}

.line {
    background-color: #0095E5;
    height: 8px;
    width: 30px;
    margin-right: 5px;
}

a.news-more-box,
.news-more-box {
    display: flex;
    font-size: 16px;
    font-weight: normal;
    line-height: 100%;
    color: #999;
    align-items: center;
    cursor: pointer;
    transition: color .2s;
    text-decoration: none;
}

.news-more-box:hover {
    color: #0095E5;
}

.news-more {
    background: url("/_upload/tpl/0f/9e/3998/template3998/images/home/more.png") no-repeat center / 100% 100%;
    width: 50px;
    height: 30px;
    margin-left: 8px;
}

/* 通知公告日期样式 */
.news_time {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 4px;
    min-width: 54px;
    min-height: 54px;
}

.news_days,
.news_year,
.news_time {
    background: #0095E5 !important;
    color: #fff !important;
}

.news_days {
    font-size: 18px !important;
    font-weight: bold;
    line-height: 1;
}

.news_year {
    font-size: 12px !important;
    line-height: 1;
}

.news_wz {
    display: flex;
    align-items: flex-start;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    height: 54px;
    padding-left: 12px;
    flex: 1;
}

.news_text {
    display: none;
}

.news_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 16px;
    overflow: hidden;
    line-height: 1.4;
    color: #333;
}

/* 图文焦点新闻 */
.news-featured {
    display: flex;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #e8e8e8;
    margin-bottom: 14px;
    transition: background .2s;
    border-radius: 6px;
    padding: 10px 10px 18px;
}

.news-featured:hover {
    background: #f8fbff;
}

.news-featured-img {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.news-featured-img:hover img {
    transform: scale(1.05);
}

.news-featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-featured-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-featured-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color .2s;
}

.news-featured-title a:hover {
    color: #0095E5;
}

.news-featured-date {
    font-size: 13px;
    color: #999;
    margin: 6px 0;
}

.news-featured-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-featured-btn {
    display: none;
}

.news-featured-btn a {
    display: inline-block;
    padding: 5px 16px;
    font-size: 13px;
    color: #0095E5;
    border: 1px solid #0095E5;
    border-radius: 14px;
    text-decoration: none;
    transition: all .2s;
}

.news-featured-btn a:hover {
    background: #0095E5;
    color: #fff;
}

/* 简洁列表新闻 */
.news-simple-item {
    display: flex;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px dashed #eee;
    border-radius: 4px;
    transition: background .2s, padding-left .2s;
}

.news-simple-item:hover {
    background: #f5faff;
    padding-left: 12px;
}

.news-simple-item:last-child {
    border-bottom: none;
}

.news-simple-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0095E5;
    margin-right: 12px;
    flex-shrink: 0;
    transition: transform .2s;
}

.news-simple-item:hover .news-simple-dot {
    transform: scale(1.4);
}

.news-simple-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.news-simple-title a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color .2s;
}

.news-simple-title a:hover {
    color: #0095E5;
}

.news-simple-date {
    font-size: 13px;
    color: #999;
    margin-left: 16px;
    flex-shrink: 0;
}

/* ================= 党建专栏 ================= */
.party-v2 {
    padding: 50px 0;
    background: #e8eef5 url('../images/home/djbg.jpeg') no-repeat center/cover;
}

.party-box {
    margin-bottom: 30px;
}

.party-box,
.party-text-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.party-text-box {
    margin: 0 10px;
}

.party-line-left,
.safe-line-left {
    background: linear-gradient(270deg, darkred 0%, rgba(183, 210, 255, 0) 100%);
    width: 200px;
    height: 5px;
}

.party-line-right,
.safe-line-right {
    background: linear-gradient(90deg, darkred 0%, rgba(183, 210, 255, 0) 100%);
    width: 200px;
    height: 5px;
}

.party-triangle-left,
.safe-triangle-left {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 10px solid #8B0000;
    margin-right: 10px;
}

.party-triangle-right,
.safe-triangle-right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #8B0000;
    margin-left: 10px;
}

.party-text,
.safe-text {
    text-align: center;
    color: #8B0000;
    font-size: 36px;
    font-weight: bold;
    line-height: 100%;
}

.party-sub,
.safe-sub {
    text-align: center;
    color: #8B0000;
    font-size: 18px;
    line-height: 100%;
}

.party-list {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.party-list+.party-list {
    margin-top: 15px;
}

.party-item {
    width: calc((100% - 30px) / 3);
    flex: none;
    height: 165px;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}

.party-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.2);
}

.party-item a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.party-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.party-item:hover img {
    transform: scale(1.06);
}

.party-item-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 6px;
    z-index: 2;
    line-height: 1.5;
    pointer-events: none;
    background: linear-gradient(180deg, #FFFFFF 0%, #DCA846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6));
}

/* 党建查看更多 + 分页指示器 */
.party-footer {
    width: 1200px;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

a.party-more-link,
.party-more-link {
    font-size: 14px;
    color: rgba(139, 0, 0, 0.7);
    cursor: pointer;
    transition: color .2s;
    text-decoration: none;
}

.party-more-link:hover {
    color: #8B0000;
}

.party-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.party-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.3);
    cursor: pointer;
    transition: background .2s;
}

.party-dot.active {
    background: #8B0000;
    width: 20px;
    border-radius: 4px;
}

/* ================= 安全教育 ================= */
.safe-v2 {
    width: 1200px;
    margin: 50px auto;
    padding: 50px 0 30px;
    background: #f8fafb;
    border-radius: 12px;
}

.safe-line-left {
    background: linear-gradient(270deg, #0682fe 0%, rgba(183, 210, 255, 0) 100%);
}

.safe-line-right {
    background: linear-gradient(90deg, #0682fe 0%, rgba(183, 210, 255, 0) 100%);
}

.safe-triangle-left {
    border-right: 10px solid #0682fe;
}

.safe-triangle-right {
    border-left: 10px solid #0682fe;
}

.safe-text,
.safe-sub {
    color: #0682fe;
}

.safe-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.safe-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a.safe-item,
.safe-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .08);
    padding-bottom: 20px;
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
}

.safe-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px 0 rgba(0, 0, 0, .12);
}

.safe-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.safe-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 120%;
    color: #000000;
    letter-spacing: 0.2em;
    text-align: center;
    margin-top: 18px;
}

.safe-btn-more {
    width: 100px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0095E5, #0682fe);
    border-radius: 16px;
    margin: 14px auto 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.safe-btn-more:hover {
    transform: scale(1.05);
}

.safe-btn-more .arrow {
    font-size: 12px;
}

.safe-dw {
    display: none;
}

.safe-dw::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 12px;
    background: url("/_upload/tpl/0f/9e/3998/template3998/images/home/wz.png") no-repeat center / 100% 100%;
    width: 14px;
    height: 14px;
}

/* ================= 底部 Footer ================= */
.footer-v2 {
    background: #1e5fa8 url("../images/home/db.png") no-repeat center / cover;
    color: #fff;
    min-height: 200px;
    padding: 30px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-v2 a {
    transition: opacity .2s;
}

.footer-v2 a:hover {
    opacity: 0.8;
}

.footer-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    height: 70px;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-school-name {
    display: none;
}

.footer-school-en {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-qrcode-img {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-qrcode-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 6px;
    line-height: 1.4;
}

/* 底部校区地址 */
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.footer-address-item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-address-item::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* ================= 覆盖 Webplus 系统样式 ================= */

/* 标题样式 - 与 .news-simple-title 保持一致 */
.div_piccontenttitle_li .c_pt_12 .c_txt h3 {
    font-weight: bold !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    color: #333 !important;
    text-align: left !important;
    margin-bottom: 10px !important;
}

.div_piccontenttitle_li .c_pt_12 .c_txt h3 span {
    display: inline !important;
    white-space: normal !important;
}

/* 摘要段落样式 */
.div_piccontenttitle_li .c_pt_12 .c_txt p {
    color: #b0b0b0 !important;
    text-indent: 2em !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

.b_time {
    font-size: 13px !important;
    color: #c5c5c5 !important;
    margin-bottom: 10px !important;
}

.div_piccontenttitle_li .c_pt_12 .c_pic img {
    margin-right: 10px;
}

/* 隐藏简洁列表中的第一条新闻（已在图文焦点区显示） */
.news-simple-item:first-child {
    display: none !important;
}

.b_btn {
    color: #1890ff;
    cursor: pointer;
    display: inline;
}

.b_btn:hover {
    color: #40a9ff;
    opacity: 0.85;
}

/* ================= 滚动动画 ================= */

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 初始隐藏状态 */
.anim-fade-up,
.anim-fade-left,
.anim-fade-right,
.anim-fade-scale {
    opacity: 0;
}

/* 触发动画后的状态 */
.anim-fade-up.anim-visible {
    animation: fadeInUp 0.7s ease-out forwards;
}

.anim-fade-left.anim-visible {
    animation: fadeInLeft 0.7s ease-out forwards;
}

.anim-fade-right.anim-visible {
    animation: fadeInRight 0.7s ease-out forwards;
}

.anim-fade-scale.anim-visible {
    animation: fadeInScale 0.6s ease-out forwards;
}

/* 延迟变体 */
.anim-delay-1 {
    animation-delay: 0.1s !important;
}

.anim-delay-2 {
    animation-delay: 0.2s !important;
}

.anim-delay-3 {
    animation-delay: 0.3s !important;
}

.anim-delay-4 {
    animation-delay: 0.4s !important;
}

.anim-delay-5 {
    animation-delay: 0.5s !important;
}

/* ================= 下拉菜单最终兜底规则 ================= */
/* 确保所有 sub-menu 默认隐藏 */
.nav-v2 .sub-menu,
.nav-v2 ul.sub-nav {
    display: none !important;
}

/* hover 时强制显示下拉菜单 - 覆盖所有场景 */
.nav-v2 li:hover>.sub-menu,
.nav-v2 li:hover>ul.sub-nav,
.nav-v2 .menu-item:hover>.sub-menu,
.nav-v2 .dropdown:hover>.dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #fff !important;
    min-width: 160px !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 8px 0 !important;
    z-index: 9999 !important;
    list-style: none !important;
}

/* 确保下拉菜单中的链接可见 */
.nav-v2 .sub-menu li a,
.nav-v2 ul.sub-nav li a,
.nav-v2 .dropdown-menu a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    color: #333 !important;
    white-space: nowrap !important;
    background: transparent !important;
    transition: all .2s !important;
}

.nav-v2 .sub-menu li a:hover,
.nav-v2 ul.sub-nav li a:hover,
.nav-v2 .dropdown-menu a:hover {
    background: #f0f7ff !important;
    color: #0095E5 !important;
    padding-left: 24px !important;
}

/* ================= 覆盖 Webplus #wp_nav_w122 系统导航 ================= */

/* 导航容器 */
#wp_nav_w122 .wp_nav {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

#wp_nav_w122 .wp_nav::after {
    display: none !important;
}

/* 一级导航项 */
#wp_nav_w122 .wp_nav .nav-item {
    display: inline-block !important;
    float: none !important;
    position: relative !important;
    list-style: none !important;
}

/* 一级导航链接 — padding 放在 span.item-name 上 */
#wp_nav_w122 .wp_nav>.nav-item>a {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: normal !important;
    text-decoration: none !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    transition: background .2s !important;
    cursor: pointer !important;
}

#wp_nav_w122 .wp_nav>.nav-item>a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

/* 去掉系统默认下划线伪元素 */
#wp_nav_w122 .wp_nav .nav-item a::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 隐藏 .mark 遮罩 — 它会遮挡链接点击 */
#wp_nav_w122 .wp_nav .nav-item .mark,
#wp_nav_w122 .wp_nav .nav-item i.mark {
    display: none !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* 一级导航 span.item-name — 覆盖系统 padding: 5px 30px */
#wp_nav_w122 .wp_nav>.nav-item>a span.item-name {
    padding: 14px 24px !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

/* 当前选中项 — 覆盖系统金色 rgb(251,191,36) */
#wp_nav_w122 .wp_nav>.nav-item>a.parent {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    font-weight: normal !important;
}

#wp_nav_w122 .wp_nav>.nav-item>a.parent:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.25) !important;
}

/* ---------- 二级下拉菜单 ---------- */
/* 系统内联 style: width:100px; height:0px; visibility:hidden; */

/* 默认隐藏 — 覆盖内联 style 和系统 CSS */
#wp_nav_w122 .wp_nav .sub-nav {
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: opacity .2s, visibility .2s !important;
}

/* hover 显示 — 覆盖内联 height:0 和 visibility:hidden */
#wp_nav_w122 .wp_nav .nav-item:hover>.sub-nav {
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #fff !important;
    min-width: 160px !important;
    width: auto !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    z-index: 9999 !important;
    list-style: none !important;
    white-space: nowrap !important;
    border: none !important;
}

/* 二级菜单项 */
#wp_nav_w122 .wp_nav .sub-nav .nav-item {
    display: block !important;
    float: none !important;
    width: 100% !important;
}

#wp_nav_w122 .wp_nav .sub-nav .nav-item .mark {
    display: none !important;
}

/* 二级菜单链接 — 覆盖 border-top、text-shadow 等 */
#wp_nav_w122 .wp_nav .sub-nav .nav-item a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #333 !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
    height: auto !important;
    width: auto !important;
    min-width: auto !important;
    transition: all .2s !important;
}

/* 二级菜单 span.item-name — 覆盖系统 padding: 5px 30px 5px 15px */
#wp_nav_w122 .wp_nav .sub-nav .nav-item a span.item-name {
    padding: 0 !important;
    line-height: inherit !important;
    display: inline !important;
}

#wp_nav_w122 .wp_nav .sub-nav .nav-item a:hover {
    background: #f0f7ff !important;
    color: #0095E5 !important;
    padding-left: 24px !important;
}

#wp_nav_w122 .wp_nav .sub-nav .nav-item a.parent {
    background: transparent !important;
    color: #0095E5 !important;
}

#wp_nav_w122 .wp_nav .sub-nav .nav-item a.parent:hover {
    background: #f0f7ff !important;
}