@charset "UTF-8";
/* 党的建设页面样式 */
/* Banner区域 */
.party-banner {
  height: 75vh;
  background: url("../images/党的建设/banner.png");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
}
.party-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgb(119, 2, 2), rgba(197, 12, 12, 0.51), rgba(183, 33, 33, 0));
}
.party-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.party-banner .banner-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}
.party-banner .banner-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  color: white;
}
.party-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.party-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}
.party-banner .breadcrumb a:hover {
  color: white;
}
.party-banner .breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}
.party-banner .breadcrumb .current {
  color: white;
}

/* Tab导航区域 */
.party-tabs-section {
  background: linear-gradient(to right, rgb(165, 0, 0), rgb(254, 102, 0));
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.party-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  padding: 1.5rem 0;
}

.party-tab {
  position: relative;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
  font-weight: 500;
}
.party-tab::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #fff;
  transition: width 0.3s;
}
.party-tab:hover {
  color: #fff;
}
.party-tab.active {
  color: #fff;
  font-weight: bold;
}
.party-tab.active::after {
  width: 100%;
}

/* 党的建设内容区域 */
.party-content-section {
  padding: 4rem 0;
  background: #f8f8f8;
}

/* 党的建设区域背景 */
#党的建设 {
  background: url("../images/党的建设/党的建设.png") center/100% 100% no-repeat !important;
}

/* 林海先锋区域背景 */
#林海先锋 {
  background: url("../images/党的建设/林海先锋.png") center/100% 100% no-repeat !important;
}

#清廉森工 {
  background: url("../images/党的建设/林海先锋.png") center/100% 100% no-repeat !important;
}

#林海丁香 {
  background: url("../images/党的建设/林海先锋.png") center/100% 100% no-repeat !important;
}

#林海星光 {
  background: url("../images/党的建设/林海先锋.png") center/100% 100% no-repeat !important;
}

/* 正风肃纪区域背景 */
#正风肃纪 {
  background: url("../images/党的建设/正风肃纪.png") center/100% 100% no-repeat !important;
}

.party-main-content {
  margin-top: 2rem;
}

/* 新闻列表 */
.party-news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.news-item {
  display: flex;
  gap: 2rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-image {
  width: 400px;
  height: 250px;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.news-title {
  font-family: "Source Han Sans CN", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.875rem;
  letter-spacing: 0;
  text-align: left;
  color: rgb(25, 25, 25);
  margin: 0 0 1rem 0;
}

.news-date {
  font-family: "Source Han Sans CN", sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.25rem;
  letter-spacing: 0;
  text-align: left;
  color: rgb(102, 102, 102);
  margin: 0 0 1rem 0;
}

.news-desc {
  font-family: "Source Han Sans CN", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 2.375rem;
  letter-spacing: 0;
  text-align: left;
  color: rgb(25, 25, 25);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2rem;
}

.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}
.page-num:hover {
  border-color: #8B0000;
  color: #8B0000;
}
.page-num.active {
  background: #8B0000;
  border-color: #8B0000;
  color: #fff;
}

/* 右侧图片 */
.party-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: fit-content;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.party-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 党组织结构与规模 */
.party-structure-section {
  padding: 5rem 0;
  background: #fff;
}

.structure-main {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.structure-image {
  flex: 0 0 40%;
  border-radius: 8px;
  overflow: hidden;
}
.structure-image img {
  width: 100%;
  height: auto;
  display: block;
}

.structure-content {
  flex: 1;
}

.structure-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1.5rem 0;
  position: relative;
  padding-left: 1rem;
}
.structure-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2rem;
  background: linear-gradient(to bottom, #8B0000, #DC143C);
  border-radius: 2px;
}

.structure-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 统计卡片 */
.structure-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  background: transparent;
  transition: all 0.3s;
}
.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background: transparent;
  padding: 0;
}
.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-info {
  text-align: left;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
  letter-spacing: 0.2rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: normal;
  color: #666;
}

.stat-label {
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgb(25, 130, 171), rgb(9, 174, 92));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.structure-desc {
  font-family: "Source Han Sans CN", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 4rem;
  letter-spacing: 0;
  text-align: left;
  color: #333;
}
.structure-desc .highlight-number {
  color: rgb(165, 0, 0);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .structure-main {
    flex-direction: column;
  }
  .structure-image {
    flex: 0 0 auto;
    width: 100%;
  }
  .structure-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .party-banner {
    height: 50vh;
  }
  .party-banner .banner-title {
    font-size: 2.5rem;
  }
  .party-tabs {
    gap: 1.5rem;
  }
  .news-item {
    flex-direction: column;
  }
  .news-image {
    flex: 0 0 auto;
    height: 240px;
  }
  .structure-stats {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 1.5rem 1rem;
  }
}
/* 正风肃纪区域 */
.discipline-main {
  display: flex;
  gap: 3rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.discipline-image {
  flex: 0 0 48%;
  overflow: hidden;
}
.discipline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discipline-news {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.discipline-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.discipline-date {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin: 0 0 2rem 0;
}

.discipline-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.discipline-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}
.discipline-item:hover {
  background: #f8f8f8;
}
.discipline-item:last-child {
  border-bottom: none;
}

.item-tag {
  color: #c30d23;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.item-title {
  flex: 1;
  color: #333;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-date {
  color: #999;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.discipline-more {
  text-align: center;
  padding-top: 1rem;
}

.more-btn {
  display: inline-block;
  padding: 0.6rem 2rem;
  color: #c30d23;
  border: 1px solid #c30d23;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.more-btn:hover {
  background: #c30d23;
  color: #fff;
}

/* 正风肃纪响应式 */
@media (max-width: 1024px) {
  .discipline-main {
    flex-direction: column;
  }
  .discipline-image {
    flex: 0 0 auto;
    height: 300px;
  }
}
@media (max-width: 768px) {
  .discipline-news {
    padding: 1.5rem;
  }
  .discipline-title {
    font-size: 1.2rem;
  }
  .discipline-item {
    flex-wrap: wrap;
  }
  .item-title {
    flex-basis: 100%;
    margin-top: 0.3rem;
  }
}

/* 林海星光四列图片卡片网格 */
.whsg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.whsg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whsg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.whsg-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.whsg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.whsg-card:hover .whsg-card-img img {
  transform: scale(1.06);
}

.whsg-card-title {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 1024px) {
  .whsg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .whsg-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=party.css.map */
