header {
  width: 100%;
  background: url("../img/header-bg.png") no-repeat;
  background-size: 100% 100%;
  z-index: 10;
}

header .header-top {
  width: 1200px;
  height: 136px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .header-top .logo {
  height: 75px;
}

header .header-top .search {
  width: 360px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2) url("../img/search.png") no-repeat;
  background-size: 24px 24px;
  background-position: 18px center;
  border: none;
  outline: none;
  border-radius: 24px;
  padding-left: 48px;
  font-size: 20px;
  color: #fff;
  box-sizing: border-box;
}

header .menus {
  width: 100%;
  height: 64px;
  background: rgba(166, 2, 2, 0.5);
}

header .menus > ul {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .menus > ul > li {
  position: relative;
  padding-right: 20px;
}

header .menus > ul > li::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.6);
}

header .menus > ul > li:last-child::after {
  content: none;
}

header .menus > ul > li > a {
  color: #fff;
  font-size: 20px;
}

header .menus > ul > li .submenu {
  display: none;
  position: absolute;
  z-index: 10;
  white-space: nowrap;
  background-color: #fff;
  padding: 8px;
}

header .menus > ul > li .submenu .submenu-item {
  padding: 8px;
}

header .menus > ul > li .submenu .submenu-item > a {
  font-size: 16px;
  color: #333;
}

header .menus > ul > li .submenu .submenu-item:hover {
  background-color: #b81c1f;
}

header .menus > ul > li .submenu .submenu-item:hover > a {
  color: #fff;
}

header .menus > ul > li:hover .submenu {
  display: block;
}

footer {
  width: 100%;
  padding: 24px 0;
  background: url("../img/header-bg.png") no-repeat;
  background-size: 100% 100%;
}

footer .footer-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .footer-container .footer-left {
  flex: 1;
  margin-right: 32px;
}

footer .footer-container .footer-left .footer-logo {
  width: 386px;
  height: auto;
  display: block;
  margin-bottom: 26px;
}

footer .footer-container .footer-left .contact-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

footer .footer-container .footer-left .contact-row .contact-ic {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

footer .footer-container .footer-left .contact-row .contact-ic svg {
  width: 15px;
  height: 15px;
}

footer .footer-container .footer-left .contact-row p {
  margin-left: 13px;
  font-size: 17px;
  color: #ffffff;
  line-height: 1.55;
}

footer .footer-container .footer-right {
  width: 632px;
  flex-shrink: 0;
/*  margin-top: 30px;  需要往下压时改成 8px / 12px 微调 */
}

footer .footer-container .footer-right > .title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

footer .footer-container .footer-right > .title::before {
  content: '';
  margin-right: 6px;
  width: 4px;
  height: 20px;
  background-color: #e8b339;
  border-radius: 2px;
}

footer .footer-container .footer-right .links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .footer-container .footer-right .links .link-item {
  width: 200px;
  height: 76px;
  background-color: #fff;
  padding: 0 10px;
  margin-bottom: 16px;
  border-radius: 8px;
}

footer .footer-container .footer-right .links .link-item img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.main {
  font-family: "Microsoft YaHei", "Arial", "\u5b8b\u4f53", Tahoma, Geneva, sans-serif;
}

.main .banner {
  width: 100%;
  height: 400px;
}

.main .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main .banner:hover .swiper-button-next,
.main .banner:hover .swiper-button-prev {
  display: block;
}

.main .banner .swiper-button-prev {
  display: none;
  width: 80px;
  height: 80px;
  background: url("../img/banner-jt-lt.png") no-repeat;
  background-size: 80px 80px;
}

.main .banner .swiper-button-next {
  display: none;
  width: 80px;
  height: 80px;
  background: url("../img/banner-jt-rt.png") no-repeat;
  background-size: 80px 80px;
}

.main .banner .swiper-pagination-bullets {
  bottom: 40px;
}

.main .banner .swiper-pagination-bullet {
  margin: 0 10px;
  background: #fff;
  opacity: 1;
}

.main .banner .swiper-pagination-bullet-active {
  position: relative;
}

.main .banner .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: url("../img/dot-active.png") no-repeat;
  background-size: 40px 40px;
}

.main .block {
  width: 1440px;
  margin: 32px auto;
  display: flex;
  justify-content: space-between;
}

.main .dynamic {
  width: 100%;
  padding: 14px 32px 50px;
}

.main .dynamic .title {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
  border-bottom: 1px solid #ea0000;
  padding-bottom: 3px;
}

.main .dynamic .title .title-name {
  font-size: 32px;
  color: #ea0000;
  font-weight: bold;
  font-family: 'SourceHanSerifCN-SemiBold';
}

.main .dynamic .title .title-name > span {
  padding-bottom: 2px;
  border-bottom: 3px solid #ea0000;
}

.main .dynamic .title .title-name img {
  width: 32px;
  height: 32px;
  vertical-align: text-bottom;
}

.main .dynamic .title .more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2d2d2d;
  font-size: 16px;
}

.main .dynamic .title {
  padding-bottom: 3px;
  border-bottom: 1px solid #ea0000;
}

.main .dynamic .body {
  display: flex;
}

.main .dynamic .body .dynamic-banner {
  width: 600px;
  height:370px;  
  margin-right: 32px;
  flex-shrink: 0;
}

.main .dynamic .body .dynamic-banner .swiper-slide {
  position: relative;
}

.main .dynamic .body .dynamic-banner .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main .dynamic .body .dynamic-banner .swiper-slide p {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 70px;
  line-height: 70px;
  padding-left: 32px;
  padding-right: 100px;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main .dynamic .body .dynamic-banner .swiper-pagination {
  text-align: right;
  padding-right: 24px;
}

.main .dynamic .body .dynamic-banner .swiper-pagination.swiper-pagination-bullets {
  bottom: 20px;
}

.main .dynamic .body .dynamic-banner .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.64);
  border-radius: 0;
  opacity: 1;
  border-radius: 50%;
}

.main .dynamic .body .dynamic-banner .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: #b81c1f;
}

.main .dynamic .body .dynamic-columns {
  flex: 1;
  overflow: hidden;
}

.main .dynamic .body .dynamic-columns .dynamic-item {
  display: flex;
  font-size: 0;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  border-bottom: 1px dashed #ddd;
}

.main .dynamic .body .dynamic-columns .dynamic-item span:first-child {
  font-size: 16px;
  color: #333;
  margin-right: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.main .dynamic .body .dynamic-columns .dynamic-item span:last-child {
  font-size: 16px;
  color: #b81c1f;
  font-weight: bold;
  flex-shrink: 0;
}

.main .gray {
  background: url("../img/main.png") no-repeat;
  background-size: 100% 100%;
}

.main .notice,
.main .party,
.main .cadre {
  width: 440px;
  flex-shrink: 0;
  padding: 20px;
}

.main .notice .title,
.main .party .title,
.main .cadre .title {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
  border-bottom: 1px solid #ea0000;
  padding-bottom: 3px;
}

.main .notice .title .title-name,
.main .party .title .title-name,
.main .cadre .title .title-name {
  font-size: 32px;
  color: #ea0000;
  font-weight: bold;
  font-family: 'SourceHanSerifCN-SemiBold';
}

.main .notice .title .title-name > span,
.main .party .title .title-name > span,
.main .cadre .title .title-name > span {
  padding-bottom: 2px;
  border-bottom: 3px solid #ea0000;
}

.main .notice .title .title-name img,
.main .party .title .title-name img,
.main .cadre .title .title-name img {
  width: 32px;
  height: 32px;
  vertical-align: text-bottom;
}

.main .notice .title .more,
.main .party .title .more,
.main .cadre .title .more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2d2d2d;
  font-size: 16px;
}

.main .notice-item,
.main .party-item,
.main .cadre-item {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #ddd;
}

.main .notice-item span:first-child,
.main .party-item span:first-child,
.main .cadre-item span:first-child {
  font-size: 16px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 16px;
}

.main .notice-item span:last-child,
.main .party-item span:last-child,
.main .cadre-item span:last-child {
  flex-shrink: 0;
  color: 16px;
  color: #b81c1f;
}

.main .plat-item {
  width: 380px;
  border-radius: 8px;
}

.main .plat-item img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
/* ========== 需求1：栏目标题粗下划线向右延长铺满 ========== */
.main .dynamic .title .title-name > span,
.main .notice .title .title-name > span,
.main .party .title .title-name > span,
.main .cadre .title .title-name > span {
  position: relative;
  border-bottom: none;
}
.main .dynamic .title .title-name > span::after,
.main .notice .title .title-name > span::after,
.main .party .title .title-name > span::after,
.main .cadre .title .title-name > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 120%;  /* 这里调，120%=延长一点，160%=延长更多 */
  height: 3px;
  background-color: #ea0000;
}

/* ========== 需求2：友情链接标题黄色竖条改为白色 ========== */
footer .footer-container .footer-right > .title::before {
  background-color: #ffffff !important;
}

/* ========== 友情链接 一行3列，秀气logo版（保留图片） ========== */
footer .footer-container .footer-right .links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 8px; /* 上下间距20px，左右间距8px，留白舒服 */
}
footer .footer-container .footer-right .links .link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
}
footer .footer-container .footer-right .links .link-item img {
  max-height: 36px; /* 核心：控制logo高度，秀气不笨重 */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.82;
  transition: all 0.2s ease;
}
footer .footer-container .footer-right .links .link-item:hover img {
  opacity: 1;
}