
.foot{
  padding: 0 240px;
}

.section-a {
    padding: 110px 240px 170px;
    text-align: center;
    background: #f6f8fa;
    position: relative;
    min-height: 949px;
}

.section-a h2 {
  font-size: 34px;
  line-height: 50px;
  color: #e62129;
  margin-bottom: 110px;
  position: relative;
}
.section-a h2::after {
  content: "";
  position: absolute;
  bottom: -65px;
  left: calc(50% - 26px);
  border: 26px solid transparent;
  border-top: 26px solid #e62129;
  opacity: .6;
  z-index: -1;
  animation: sjmove linear 2s infinite;
}
.section-a h2::before {
  content: "";
  position: absolute;
  bottom: -65px;
  left: calc(50% - 26px);
  width: 52px;
  height: 52px;
  background: linear-gradient(to bottom, #fff, #fff0);
  opacity: .8;
  z-index: 0;
  animation: sjmove linear 2s infinite;
}
@keyframes sjmove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0); 
  }
}


.section-a h3 {
    color: #e30613; /* Red color from design */
    margin-top: 0;
    margin-bottom: 50px;
}

.org-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
  position: relative;
  z-index: 1;

}
.org-chart-container .stdj{
  width: 100%;
}

.center-committee {
  width: 345px;
	height: 187px;
	background-image: linear-gradient(0deg, 
		#c6000d 0%, 
		#f84d3b 100%);
	border-radius: 40px;
  font-size: 28px;
	line-height: 36px;
	color: #ffffff;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.left-committees, .right-committees {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Center boxes in their columns */
  gap: 42px; /* Space between boxes in a column */
  position: relative; /* Needed for lines */
}

.left-committees::after{
  content: '';
  width: 42px;
  height: calc(100% - 100px);
  border-radius: 0 10px 10px 0;
  border: 1px solid #f0756c;
  border-left: 0;
  position: absolute;
  top: 50px;
  right: -42px;
}

.left-committees .box1{
  margin-right: 230px;
}
.left-committees .box2{
  display: flex;
  gap: 42px;
}
.left-committees>.committee-box:nth-child(2)::after,
.left-committees>.committee-box:nth-child(3)::after{
  content: '';
  width: 100px;
  height: 0;
  border-top: 1px solid #f0756c;
  position: absolute;
  top: 50%;
  left: 100%;
}
.left-committees .box2 .committee-box:nth-child(1)::after{
  content: '';
  width: 42px;
  height: 0;
  border-top: 1px solid #f0756c;
  position: absolute;
  top: 50%;
  left: 100%;
}
.left-committees>.committee-box:nth-child(2)::after{
  width: 330px;
}
.left-committees>.committee-box:nth-child(3)::after{
  top: 44px;
}
.left-committees>.committee-box:nth-child(2)::before,
.left-committees>.committee-box:nth-child(3)::before{
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0756c;
  position: absolute;
  top: 26px;
  right: -46px;
}
.left-committees>.committee-box:nth-child(2)::before{
  right: -276px;
  top: 45px;
}
.left-committees>.committee-box:nth-child(3)::before{
  top: 40px;
}

.committee-box {
  width: 188px;
	background-image: linear-gradient(0deg, 
		#c6000d 0%, 
		#f84d3b 100%);
	border-radius: 10px;
  font-size: 20px;
	line-height: 26px;
	color: #ffffff;
  padding: 24px;
  text-align: center;
  position: relative;
  animation: fadeIn 5s ease-in-out infinite;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.committee-box.animate{
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeIn {
  0% {
    box-shadow: inset 0 0 10px #fff0;
  }
  50%{
    box-shadow: inset 0 0 15px #fff;
  }
  100% {
    box-shadow: inset 0 0 10px #fff0;
  }
}
.right-committees{
  gap: 70px;
}
.right-committees::after{
  content: '';
  width: 42px;
  height: calc(100% - 70px);
  border-radius: 10px 0 0 10px;
  border: 1px solid #f0756c;
  border-right: 0;
  position: absolute;
  top: 35px;
  left: -42px;
}
.right-committees .committee-box{
  width: 408px;
  padding: 0 24px;
  line-height: 70px;
  height: 70px;
}
.right-committees .committee-box:nth-child(2)::after,
.right-committees .committee-box:nth-child(3)::after{
  content: '';
  width: 100px;
  height: 0;
  border-top: 1px solid #f0756c;
  position: absolute;
  top: 30px;
  left: -100px;
}
.right-committees .committee-box:nth-child(2)::before,
.right-committees .committee-box:nth-child(3)::before{
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0756c;
  position: absolute;
  top: 26px;
  left: -46px;
}

/* More complex styles using pseudo-elements or additional divs are needed
   to draw lines between the center box and left/right boxes, including horizontal segments. */

/* Placeholder for the organic background shape */
.organic-background {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 500px;
  background: url('../Images/shan.jpg') no-repeat;
  background-size: 100% 100%;
  background-position: bottom;
  z-index: 0;
}
.organic-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #f6f8fa, rgba(255, 255, 255, 0));
}

/* 党建理念 */
.b-page{
  padding: 0;
}
.lntitle{
  display: flex;
  align-items: center;
  flex-direction: column;
}
.lntitle p{
  font-size: 24px;
	line-height: 26px;
	color: #3368bd;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 600;
  margin-bottom: 18px;
}
.lntitle p::before,.lntitle p::after{
  content: "";
  width: 22px;
  border-top: 2px solid #3368bd;
  margin: 0 24px;
}
.lntitle span{
  font-size: 36px;
	line-height: 36px;
	color: #333333;
  font-weight: 600;
}


.content0{
  padding: 105px 240px 140px;
  background: #fff;
  .djimg{
    padding-top: 80px;
  }
}
.content1{
  padding: 105px 240px 140px;
  background: url(../Images/bg16.jpg) no-repeat;
  background-size: 100% 100%;
}
.systems {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-top: 72px;
}
.system {
  width: 190px;
  height: 490px;
  padding: 58px 36px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Refine shadow */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, width 0.5s ease-out;
  position: relative;
  border-radius: 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  background: url(../Images/bg11.jpg) no-repeat;
  background-position: right;
  text-align: center;
  overflow: hidden;
}
.system:nth-child(2) {
  background: url(../Images/bg12.jpg) no-repeat;
  background-position: right;
}
.system:nth-child(3) {
  background: url(../Images/bg13.jpg) no-repeat;
  background-position: right;
}
.system:nth-child(4) {
  background: url(../Images/bg14.jpg) no-repeat;
  background-position: right;
}
.system.cur {
  width: 810px;
  padding: 56px;
  text-align: left;
}
.system:nth-child(1).cur {
  background-image: url(../Images/bg111.jpg);
}
.system:nth-child(2).cur {
  background-image: url(../Images/bg122.jpg);
}
.system:nth-child(3).cur {
  background-image: url(../Images/bg133.jpg);
}
.system:nth-child(4).cur {
  background-image: url(../Images/bg144.jpg);
}
.system.cur::before {
  opacity: 0;
}
.system.cur::after {
  opacity: 0;
}
.system.cur .texts {
  width: 790px;
}
.system.cur .texts p {
  opacity: 1 !important;
}
.system::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(to right, #114bb0, #347fce);
  opacity: 0.5;
  z-index: -1;
  border-radius: 14px;
}
.system::after {
  content: "";
  width: 300px;
  height: 600px;
  transform: rotate(45deg);
  position: absolute;
  right: -77px;
  bottom: -154px;
  background: linear-gradient(to left, #114bb0, #114bb000);
  opacity: 0;
  z-index: -1;
}
.system .h3 {
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  /* background: linear-gradient(to right, #fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  margin-bottom: 32px;
}
.system .h3 p{
  white-space: nowrap;
  background: linear-gradient(to right, #fff,#fff, transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.system.cur .h3 {
  background: linear-gradient(to right, #114bb0, #347fce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.system.cur .h3 p{
  background: linear-gradient(to right, #114bb0, #347fce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.system .texts {
  width: 180px;
}
.system .texts p {
  color: #333;
  font-size: 16px;
  line-height: 30px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.system.animate {
  opacity: 1;
  transform: translateY(0);
}

.content2{
  width: 100%;
  height: 1050px; 
  padding: 105px 240px;
  position: relative;
  background: #fff;
}
.content2::after{
  content: "";
  width: 100%;
  height: 322px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background: url(../Images/bg2.jpg) no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.djimg{
  width: 100%;
  height: auto;
  padding: 58px 0 0;
  max-height: 800px;
  object-fit: contain;
}


.content3{
  width: 100%;
  height: 1141px;
  padding: 106px 240px 0;
  background: url(../Images/bg3.jpg) no-repeat;
  background-size: 100% 100%;
} 

.content4{
	width: 100%;
  height: 1384px;
  position: relative;
}
.content4box{
  width: 100%;
  height: 100%;
  padding: 100px 240px 0;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content4::before{
  content: "";
  width: 100%;
  height: 50%;	
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(180deg,#fff,#fff0);
  z-index: 1;
}
.content4::after{
  content: "";
  width: 100%;
  height: 1080px;	
  position: absolute;
  left: 0;
  bottom: 0;
  background: url(../Images/bg16.jpg) no-repeat;
  background-size: 100% 100%;
  z-index: 0;
}
.qynlbox{
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.qynlitem{
  width: 360px;
	height: 169px;
	/* background-color: #ffffff; */
	border-radius: 10px;
	border: solid 3px #194e9f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 25px;
  color: #194e9f;
  font-size: 28px;
  line-height: 70px;
  position: relative;
}
.qynlitem::before{
  content: "";
  width: 290px;
	height: 1px;
	background-color: #194e9f;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.qynlx{
  width: 100%;
	max-height: 743px;
  object-fit: contain;
  margin-top: 48px;
}
.qynlword{
  font-size: 28px;
  margin-top: 48px;
	color: #ed0a0a;
}

.content5{
  width: 100%;
  padding: 100px 240px;	
  background: #fff;
} 


@media screen and (max-width: 1680px) and (min-width: 1440px) {
  .section-a{
    padding: 100px 120px 150px;
  }
  .foot{
    padding: 0 120px;
  }
  .b-page{
    padding: 0;
  }
  .content0,.content1{
    padding: 90px 120px 120px;
  }
  .system{
    height: calc(490px * 0.875);
    width: 180px;
  }
  .system.cur{
    width: calc(810px * 0.875);
  }
  .content2{
    height: 900px;
    padding: 90px 120px;
  }
  .content2::after{
    height: calc(322px * 0.875);
  }
  .djimg{
    position: relative;
    z-index: 1;
    max-height: 650px;
  }
  .content3{
    padding: 90px 120px 0;
    height: 900px;
  }
  .content4{
    height: calc(1384px * 0.875);
  }
  .qynlx{
    max-height: calc(745px * 0.875);
  }
  .content4box{
    padding: 90px 120px 0;
  }
  .content5{
    padding: 90px 120px;
  }
}
@media screen and (max-width: 1440px)  {
  .section-a{
    padding: 80px 100px 120px;
  }
  .foot{
    padding: 0 100px;
  }
  .b-page{
    padding: 0;
  }
  .content0,.content1{
    padding: 80px 100px 100px;
  }
  .system{
    height: calc(490px * 0.75);
    width: 170px;
  }
  .system.cur{
    width: calc(810px * 0.75);
  }
  .content2{
    height: 750px;
    padding: 80px 100px;
  }
  .content2::after{
    height: calc(322px * 0.75);
  }
  .djimg{
    position: relative;
    z-index: 1;
    max-height: 520px;
  }
  .content3{
    padding: 80px 100px 0;
    height: 750px;
  }
  .content4{
    height: calc(1384px * 0.75);
  }
  .qynlx{
    max-height: calc(745px * 0.75);
  }
  .content4box{
    padding: 80px 100px 0;
  }
  .content5{
    padding: 80px 100px;
  }
}