/* 内页样式 */

/* 机构概览 - 概况 */
.about-intro {
  text-align: center;
  padding: 20px 0 40px;
}

.about-intro .intro-logo img {
  max-width: 320px;
  margin-bottom: 30px;
}

.about-intro h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 30px;
}

.about-intro .intro-text {
  text-align: left;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  overflow-wrap: break-word;   /* 在长单词内部换行 */
  word-break: break-word;      /* 允许在单词内部换行，保持语义完整性 */
  hyphens: auto;               /* 自动添加连字符（需要浏览器支持） */
}

.about-intro .intro-text p {
  margin-bottom: 16px;
  text-indent: 2em;
}
.about-intro .intro-text img{
  max-width: 100%;
}

/* 咨询委员会网格 */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}

.committee-card {
  text-align: center;
}

.committee-card .photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
  --photo-deco-size: 56px;
}

.committee-card .photo-wrap::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: var(--photo-deco-size);
  height: var(--photo-deco-size);
  background: #e0e0e0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
}

.committee-card .photo-wrap::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: var(--photo-deco-size);
  height: var(--photo-deco-size);
  background: #3da8d8;
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
  z-index: 0;
}

.committee-card .photo-wrap a {
  display: block;
  position: relative;
  z-index: 1;
}

.committee-card img {
  width: 144px;
  height: 188px;
  object-fit: cover;
  display: block;
}

.committee-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.committee-card h3 a:hover {
  color: var(--color-primary);
}

.committee-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 专家详情 */
.expert-detail {
  position: relative;
  padding: 40px 0;
  background: url("../image/committeeBG.png") no-repeat center center;
  background-size: cover;
}

.expert-detail .detail-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.expert-detail .detail-photo {
  width: 280px;
  flex-shrink: 0;
}

.expert-detail .detail-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.expert-detail .detail-info h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.expert-detail .detail-info .detail-title {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.expert-detail .detail-info .detail-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 24px;
}

.expert-detail .detail-info .detail-bio {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.expert-detail .detail-info .detail-bio p {
  margin-bottom: 12px;
  text-indent: 2em;
}

/* 新闻列表 */
.news-list-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
}

.news-list-item:first-child {
  padding-top: 0;
}

.news-list-item .item-thumb {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-list-item .item-thumb img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.news-list-item .item-body {
  flex: 1;
  min-width: 0;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-content: space-around;
}

.news-list-item .item-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding-bottom: 10px;
  line-height: 1.5;
  border-bottom: 1px solid var(--color-border);
}

.news-list-item .item-body h3 a:hover {
  color: var(--color-primary);
}

.news-list-item .item-body .item-summary {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-item .item-body .item-date {
  font-size: 14px;
  color: #9A2E2E;
  margin: 0;
}

/* 新闻详情 */
.article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.article-wrap h1 {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--color-text);
}

.article-meta {
  text-align: center;
  font-size: 14px;
  color: #9A2E2E;
  margin-bottom: 30px;
  border-bottom: #E5E5E5 solid 1px;
  padding-bottom: 15px;
}

.article-meta span {
  margin: 0 16px;
}

.article-content {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text);
}

.article-content p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.article-content .article-img {
  text-align: center;
  margin: 24px 0;
}

.article-content .article-img img {
  max-width: 100%;
}

.article-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

.article-nav p {
  margin-bottom: 10px;
  color: #005984;
}

.article-nav a {
  /* color: var(--color-primary); */
}

/* 搜索页 */
.search-page {
  padding: 60px 0 80px;
  min-height: 400px;
}

.search-box-wrap {
  max-width: 640px;
  margin: 0 auto 40px;
}

.search-box-wrap h1 {
  font-size: 28px;
  text-align: center;
  color: var(--color-primary-dark);
  margin-bottom: 30px;
}

.search-form {
  display: flex;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  overflow: hidden;
}

.search-form input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: none;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.search-form button {
  width: 120px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
}

.search-form button:hover {
  background: var(--color-primary-dark);
}

.search-results .result-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.search-results .result-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.search-results .result-item h3 a {
  color: var(--color-primary-dark);
}

.search-results .result-item p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.search-results .result-item .result-date {
  font-size: 12px;
  color: var(--color-date);
}

.search-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 40px 0;
}

@media (max-width: 1199px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .committee-card .photo-wrap {
    display: block;
    width: 100%;
    max-width: 144px;
    margin-left: auto;
    margin-right: auto;
  }

  .committee-card img {
    width: 100%;
    height: auto;
    max-width: 144px;
    max-height: 188px;
  }

  .committee-card h3 {
    font-size: 15px;
  }

  .committee-card p {
    font-size: 12px;
  }

  .expert-detail .detail-inner {
    flex-direction: column;
  }

  .expert-detail .detail-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .news-list-item {
    flex-direction: column;
  }

  .news-list-item .item-thumb {
    width: 100%;
  }
}

