* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

#app {
    width: 1920px;
    transform-origin: 0 0;
}

.inx-head {
    position: relative;
}

.inx-daohang {
    width: 100%;
    height: 137px;
    background-color: #97101A;
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
}

/* 左侧logo区域：校徽 + 教学实训中心文字 */
.inx-h-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 44px;
    font-weight: bold;
    margin-right: 60px;
}

.inx-h-logo img {
    height: 100px;
    width: auto;
}

/* 导航整体容器，菜单+搜索横向排列 */
.inx-daohang-daohang {
    flex: 1;
    display: flex;
    gap: 78px;
    align-items: center;
    justify-content: end;
}

.inx-nav-box {
    display: flex;
    align-items: center;
    /* gap: 52px; */
    height: 128px;
    gap: 10px;
    position: relative;
}

/* 导航每一项 */
.inx-n-sub {
    min-width: 132px;
    text-align: center;
    position: relative;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 21px;
    border-radius: 14px;
    height: 124px;
    line-height: 124px;
    box-sizing: border-box;
}

.inx-n-sub:hover,
.active {
    background: #B31520;
}

.inx-n-sub:hover::before,
.active::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 2px;
    border-radius: 40px;
    width: 89%;
    height: 2px;
    background: #fff;
}


/* 下拉子菜单 */
.inx-nav-ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #97101A;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    min-width: 180px;
    display: none;
}

.inx-nav-ul li {
    padding: 10px 16px;
    font-size: 24px;
    white-space: nowrap;
}

.inx-n-sub:hover .inx-nav-ul {
    display: block;
}

/* 搜索框区域 */
.inx-h-search {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: width 0.4s ease;
    overflow: hidden;
}

.inx-h-search:hover {
    border-radius: 22px;
    width: 220px;
}

.inx-h-search input {
    position: absolute;
    left: 12px;
    height: 30px;
    line-height: 30px;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    width: calc(100% - 44px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inx-h-search:hover input {
    opacity: 1;
}

.inx-h-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.inx-h-search .search-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    /* right: 12px; */
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* 轮播 */
.swiper-pagination-bullet {
    width: 20px;
    height: 10px;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 5px;
}

.swiper-pagination-bullet-active {
    width: 40px;
    background: rgba(255, 255, 255, 0.76);
}

.inx-banner {
    width: 100%;
    height: 640px;
}

.inx-first {
    width: 100%;
    height: 670px;
    display: flex;
    gap: 74px;
    padding: 40px 74px;
    margin: 0 auto;
    padding-bottom: 15px;
}

/* 党建新闻 */
.inx-first-l {
    width: 1081px;
    height: 100%;
}

.inx-xw-head {
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #AF0910;
    position: relative;
    color: #97101A;
    margin-bottom: 26px;
}

.inx-xw-head::before {
    content: "";
    width: 245px;
    height: 4px;
    position: absolute;
    bottom: 0;
    background-color: #AF0910;
}

.inx-xw-head-left,
.inx-xw-head-right {
    height: 100%;
    display: flex;
    align-items: center;
}

.inx-xw-head-left {
    gap: 20px;
}

.inx-xw-head-right {
    gap: 5px;
}

.inx-xw-head-left-tit {
    font-size: 30px;
    font-weight: 600;
}

.inx-xw-headtu {
    width: 56px;
    height: 45px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/news.png');
}

.inx-xw-head-right-tit {
    font-size: 16px;
    font-weight: 600;
}

.more {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/more.png');
}

.inx-xw-content {
    display: flex;
    width: 100%;
    height: calc(100% - 88px);
}

.inx-xw-conleft {
    width: 600px;
    height: 100%;
    position: relative;
}

.wx-lb-con {
    width: 100%;
    height: 123px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: absolute;
    padding: 10px 20px;
    line-height: 1.5;
    box-sizing: border-box;
    bottom: 0;
    z-index: 10;

}

.xw-img-item {
    width: 100%;
    height: 100%;
}

.swiper-container-xw.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-container-xw .swiper-pagination-custom,
.swiper-container-xw .swiper-pagination-fraction {
    width: auto;
    position: absolute;
    left: auto;
    right: 20px;
    bottom: 24px;
    z-index: 15;
}

.swiper-container-xw .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #C4C4C4;
}

.swiper-container-xw .swiper-pagination-bullet-active {
    background: #B31520;
}

.inx-xw-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.inx-xw-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: border-color 0.3s ease;
}

.inx-xw-list li:last-child {
    border-bottom: none;
}

.inx-xw-list li:hover {
    border-bottom: 1px solid #B31520;
}

.inx-xw-list li:hover .inx-xw-title {
    color: #B31520;
}

.inx-xw-list li:hover .inx-xw-desc {
    color: #B31520;
}

/* 第一条去掉上内边距，和你之前需求一致 */
.inx-xw-list li:first-child {
    padding-top: 0;
}

.inx-xw-date {
    flex-shrink: 0;
    width: 87px;
    height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f5f5f5;
    padding: 8px 4px;
    border-radius: 4px;
    line-height: 2;
}

.inx-xw-date span {
    display: block;
    font-size: 18px;
    color: #c82423;
    font-weight: bold;
    line-height: 1.2;
}

.inx-xw-date div {
    font-size: 14px;
    color: #84878B;
}

.inx-xw-text {
    flex: 1;
    height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inx-xw-title {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inx-xw-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* 规章制度 */
.inx-first-r {
    width: 617px;
    height: 100%;
}

.inx-zd-head {
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #AF0910;
    position: relative;
    color: #97101A;
    margin-bottom: 14px;
}

.inx-zd-head::before {
    content: "";
    width: 245px;
    height: 4px;
    position: absolute;
    bottom: 0;
    background-color: #AF0910;
}

.inx-zd-head-left,
.inx-zd-head-right {
    height: 100%;
    display: flex;
    align-items: center;
}

.inx-zd-head-left {
    gap: 20px;
}

.inx-zd-head-right {
    gap: 5px;
}

.inx-zd-head-left-tit {
    font-size: 30px;
    font-weight: 600;
}

.inx-zd-headtu {
    width: 56px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/zd.png');
}

.inx-zd-head-right-tit {
    font-size: 16px;
    font-weight: 600;
}

.inx-zd-content {
    width: 100%;
    height: calc(100% - 76px);
}

.inx-zd-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inx-zd-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #18242C;
}

.inx-zd-contu {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/gzzd-list.png');
}

.inx-zd-contit {
    width: 350px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 22px;
}

.inx-zd-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inx-zd-condata {
    font-size: 16px;
    color: #84878B;
}

.inx-zd-list li:hover {
    color: #B31520;
}

.inx-second {
    width: 100%;
    height: 539px;
    display: flex;
    gap: 74px;
    padding: 0px 74px;
    margin-bottom: 40px;
    /* padding-top: 10px; */
}

.inx-second-l {
    width: 1081px;
    height: 100%;
}

.inx-second-r {
    width: 617px;
    height: 100%;
}

/* 底部 */
.inx-footer {
    width: 100%;
}

.inx-footer-logo {
    width: 100%;
    height: 253px;
}

.inx-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inx-footer-con {
    height: 185px;
    background: #97101A;
    padding: 20px 97px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.inx-footer-top {
    display: flex;
    gap: 11%;
    justify-content: space-around;
}

.inx-footer-l {
    width: 400px;
    height: 79px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/footer-xb.png');
}

.inx-footer-r {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-tit {
    color: #fff;
    font-size: 14px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.xydz-tu {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/xydz.png');
}

.lxdh-tu {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/lxdh.png');
}

.dzyx-tu {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/dzyx.png');
}

.bqsy {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #fff;
}

/* ========== 党员风采模块 ========== */
.inx-cf-head {
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #AF0910;
    position: relative;
    color: #97101A;
    margin-bottom: 26px;
}

.inx-cf-head::before {
    content: "";
    width: 245px;
    height: 4px;
    position: absolute;
    bottom: 0;
    background-color: #AF0910;
}

.inx-cf-head-left,
.inx-cf-head-right {
    height: 100%;
    display: flex;
    align-items: center;
}

.inx-cf-head-left {
    gap: 20px;
}

.inx-cf-head-right {
    gap: 5px;
}

.inx-cf-head-left-tit {
    font-size: 30px;
    font-weight: 600;
}

.inx-cf-headtu {
    width: 39px;
    height: 45px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/fc.png');
}

.inx-cf-head-right-tit {
    font-size: 16px;
    font-weight: 600;
}

.inx-cf-content {
    width: 100%;
    height: calc(100% - 88px);
    display: flex;
}

.inx-cf-content .cf-left {
    width: 50%;
    padding-right: 15px;
    border-right: 1px solid #AF0910;
}

.inx-cf-content .cf-right {
    width: 50%;
    padding-left: 15px;
}

/*党员风采左侧列表*/
.inx-cf-list-left {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inx-cf-list-left li:first-child {
    padding-top: 0;
}

.inx-cf-list-left li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #84878B;
}

.inx-cf-contu-left {
    width: 10px;
    height: 10px;
    background-color: #AF0910;
    margin: 0 12px;
    border-radius: 50%;
}

.inx-cf-list-left li:hover {
    color: #B31520;
}

.inx-cf-contit {
    width: 350px;
    display: flex;
    align-items: center;
    font-size: 22px;

}

.inx-cf-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*党员风采右侧列表*/
.inx-cf-list-right {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inx-cf-list-right li:first-child {
    padding-top: 0;
}

.inx-cf-list-right li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #18242C;
}

.inx-cf-contu-right {
    width: 10px;
    height: 10px;
    background-color: #AF0910;
    margin: 0 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.inx-cf-list-right li:hover {
    color: #B31520;
}

.inx-jy-contit {
    width: 350px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ========== 经验做法模块 ========== */
.inx-jy-head {
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #AF0910;
    position: relative;
    color: #97101A;
    margin-bottom: 14px;
}

.inx-jy-head::before {
    content: "";
    width: 245px;
    height: 4px;
    position: absolute;
    bottom: 0;
    background-color: #AF0910;
}

.inx-jy-head-left,
.inx-jy-head-right {
    height: 100%;
    display: flex;

    align-items: center;
}

.inx-jy-head-left {
    gap: 20px;
}

.inx-jy-head-right {
    gap: 5px;
}

.inx-jy-head-left-tit {
    font-size: 30px;
    font-weight: 600;
}

.inx-jy-headtu {
    width: 45px;
    height: 45px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/zf.png');
}

.inx-jy-head-right-tit {
    font-size: 16px;
    font-weight: 600;
}

.inx-jy-content {
    width: 100%;
    height: calc(100% - 76px);
}

.inx-jy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inx-jy-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #84878B;
}

.inx-jy-contu {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../images/index4/jyzf-list.png');
}

.inx-jy-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inx-jy-list li:hover {
    color: #B31520;
}