/* 公共标题 */
.common-title {
  margin-top: 90px;
}
.common-title-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.common-title-content-left {
  font-weight: 800;
  font-size: 48px;
  color: #ac1410;
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
  position: relative;
}
.common-title-content-left::before {
  content: '';
  display: block;
  background-image: url('../img/title-bg.png');
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 114px;
  height: 52px;
  z-index: 0;
}
.common-title-bg {
  position: absolute;
  bottom: -14px;
  left: 0;
}
.common-title-line {
  background-image: url(../img/title-line.png);
  height: 8px;
  width: 100%;
  display: block;
  margin-top: 27px;
}
.common-title-content-right {
  background: url(../img/more-bg.png) no-repeat center;
  width: 106px;
  height: 42px;
  color: #ffffff;
  text-align: center;
  line-height: 42px;
  cursor: pointer;
}
.common-title-content-right:hover {
  background: url(../img/more-bg-active.png) no-repeat center;
  height: 45.62px;
  width: 115.14px;
  line-height: 45px;
}
/* 工作动态 */
.work-dynamics .common-title {
  margin-top: 164px;
}
.work-dynamics-content {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  aspect-ratio: 1712 / 518;
}
.work-dynamics-carousel {
  width: 51%;
  margin-right: 14px;
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-dynamics-carousel-text {
  padding: 0 30px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 65px;
  background: rgba(236, 45, 60, 0.4);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 10;
}

.work-dynamics-carousel-text span {
  font-size: 18px;
  font-weight: bold;
}

.work-dynamics-carousel-btns {
  display: flex;
  gap: 30px;
  align-items: center;
}

.work-dynamics-carousel-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-dynamics-carousel-btn svg {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.work-dynamics-carousel-btn:hover svg path {
  fill-opacity: 1;
}
.work-dynamics-list {
  flex: 1;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  color: #333333;
}
.work-dynamics-list img {
  width: 100%;
  aspect-ratio: 383 / 161;
  margin-bottom: 10px;
}
.work-dynamics-list-item {
  flex: 1;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.work-dynamics-list-item:hover {
  background: #fdd7d7;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.work-dynamics-list-item:not(:last-child) {
  border-bottom: 1px dashed #cfcfcf;
}
.work-dynamics-list-item-content {
  height: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制显示 3 行 */
  -webkit-box-orient: vertical;
  line-height: 1.3; /* 设置行高 */
  max-height: max-content;
}
.work-dynamics-list-item-date {
  font-size: 6px 12px;
  color: #b2b2b2;
  margin-top: auto;
}

/* 服务指南 */
.service-content {
  margin-top: 61px;
  background: url(../img/fwzn-bg.png) no-repeat center;
  background-size: 100% 100%;
  aspect-ratio: 1710 / 934;
  padding: 30px 35px;
  width: calc(100% - 70px);
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.service-content-list {
  width: 25%;
  background-color: #ffffff;
  background: #ffffff;
  box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
}
.service-content-top {
  width: 100%;
  aspect-ratio: 444 / 278;
}
.service-content-top img {
  display: block;
}
.service-content-list-first {
  color: #333333;
  cursor: pointer;
}
.service-content-list-first .date {
  font-size: 12px;
  color: #b2b2b2;
  padding: 0 20px;
}
.service-content-list-first .day {
  font-size: 36px;
  color: #ec2d3c;
}
.service-content-list-first .content-text {
  height: 25px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin-top: -37px;
  padding: 50px 20px 10px 20px;
width: calc(100% - 40px);
display: block;
}
.service-content-list-first .content-text:hover {
  background: #fdd7d7;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.service-content-list-item {
  height: 54px;
  margin: 14px 0;
  padding: 0 42px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.service-content-list-item:hover {
  background: #fdd7d7;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 0 32px 0 10px;
}
.service-content-list-item .date {
  height: 52px;
  width: 52px;
  background: url(../img/date-bg.png);
  background-size: 100% 100%;
  flex-shrink: 0;
  font-size: 12px;
  color: #ffffff;
}
.service-content-list-item .date .years {
  margin-top: 17px;
  margin-left: 10px;
  line-height: 1;
}
.service-content-list-item .date .month-day {
  margin-left: 9px;
letter-spacing: -0.5px
}

@media screen and (min-width: 1921px) {
  .service-content-list-first .content-text {
    height: 70px;
    white-space: normal;
  }
  .service-content-list-item {
    height: 64px;
    margin: 14px 0;
  }
}

/* 网上党校 */
.service-content-list-item .content {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0;
  color: #333333;
}
.partySchool-content {
  position: relative;
  width: 84.2%;
  left: 84px;
  overflow: hidden;
}
.partySchool-content-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 70px);
  z-index: -1;
}
.partySchool-box {
  margin-left: 100px;
  margin-top: 173px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
  display: flex;
}
.partySchool-content-title {
  width: 183px;
  height: 62px;
  background: rgba(203, 80, 80, 0.12);
  display: flex;
  justify-content: center;
  position: relative;
}
.partySchool-content-title-img {
  width: 50px;
  height: 50px;
}
.partySchool-content-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  display: block;
  width: 88px;
  height: 5px;
  background: #ec2d3c;
  border-radius: 11px 11px 11px 11px;
}
.partySchool-content-list {
  flex: 1;
  min-width: 0;
}
.partySchool-content-list:not(:first-child) {
  padding-top: 62px;
}
.partySchool-content-list:hover {
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.partySchool-content-list-item {
  height: 92px;
  padding: 14px 39px;
  cursor: pointer;
}
.partySchool-content-list-item:hover {
  background: #ff4d4f;
  color: #fff;
}
.partySchool-content-list-item:hover .date {
  color: #fff;
}
.partySchool-content-list-item .date {
  font-size: 12px;
  color: #666666;
  line-height: 1.1;
}
.partySchool-content-list-item .date .day {
  font-size: 36px;
}
.partySchool-content-list-item .content {
  line-height: 1;
  margin-top: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.partySchool-carousel {
  width: 100%;
  aspect-ratio: 1710 / 310;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 83px;
}

.partySchool-carousel .swiper-wrapper {
  display: flex;
  transition-timing-function: ease-out;
}
.partySchool-carousel .swiper-slide {
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: #fff;
}

.partySchool-carousel .swiper-slide:hover {
  transform: scale(1.05);
}

.partySchool-carousel .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partySchool-carousel-item-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  color: #000000;
  padding: 15px 20px;
  z-index: 10;
}

/*工作通知*/

.announcement {
  margin-left: -5.5vw;
  margin-right: -5.5vw;
  aspect-ratio: 1920 / 640;
  background: url('../img/announcement-bg.png') no-repeat center;
  background-size: 100% 100%;
  margin-top: 75px;
  display: flex;
  align-items: flex-start;
}
.announcement-left {
  width: 55vw;
  background: rgba(184, 184, 184, 0.3);
  margin-left: 8%;
  margin-top: 3%;
  padding: 2vw;
  flex-shrink: 0;
}
.announcement-left-wrapper {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: repeat(2, 1fr); /* 2列，每列等宽 */
  column-gap: 1.7%; /* 列间距 */
  row-gap: 3%;
  width: 100%;
  aspect-ratio: 1060 / 400;
}
.announcement-item {
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3% 4%;
}
.announcement-item:hover {
  box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.25);
color:#EC2D3C;
}
.announcement-item:hover .date {
  background-image: url("data:image/svg+xml,%3Csvg width='82' height='82' viewBox='0 0 82 82' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75.6533 20.6934V60.9268L40.8105 81.0439L5.96777 60.9268V20.6934L40.8105 0.576172L75.6533 20.6934Z' fill='%23A12916' stroke='%23A12916'/%3E%3C/svg%3E");
  color: #fff;
}
.announcement-item .date {
  display: flex;
  flex-direction: column;
  background-image: url("data:image/svg+xml,%3Csvg width='82' height='82' viewBox='0 0 82 82' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Polygon 1'%3E%3Cpath id='Polygon 1_2' d='M75.6533 20.6934V60.9268L40.8105 81.0439L5.96777 60.9268V20.6934L40.8105 0.576172L75.6533 20.6934Z' fill='white' stroke='%23A12916'/%3E%3C/g%3E%3C/svg%3E");
  height: 81px;
  width: 81px;
  font-size: 12px;
  color: #a12916;
  align-items: center;
  line-height: 1.1;
  flex-shrink: 0;
  margin-right: 4.6%;
}
.announcement-item .day {
  font-size: 36px;
  margin-top: 10px;
}
.announcement-item .text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.announcement-right {
  margin-left: 3vw;
  margin-right: 4.8vw;
  margin-top: 3%;
  overflow: hidden;
    flex: 1;
}
.announcement-right .common-title-line {
  width: auto;
  object-fit: none;
}