/* 内容中心页面专用样式 */

.contentcenter-hero {
  width: 100%;
  height: 840px;
  background: url("../images/contentcenter.png") center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 69px;
}

.contentcenter-hero .main-title {
  position: absolute;
  left: 47%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 6px 32px rgba(58, 143, 255, 0.18);
  margin-bottom: 0;
  animation: fadeInDown 1.2s;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -60%);
  }
}

.contentcenter-search {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -40px;
  margin-bottom: 32px;
  z-index: 2;
  position: absolute;
  bottom: 30px;
}
.contentcenter-search-inner {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 16px rgba(58, 143, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 12px 0 24px;
  width: 480px;
  height: 56px;
  transition: box-shadow 0.3s;
}
.contentcenter-search-inner:focus-within {
  box-shadow: 0 4px 24px rgba(58, 143, 255, 0.18);
}
.contentcenter-search-inner input {
  border: none;
  outline: none;
  font-size: 18px;
  flex: 1;
  background: transparent;
  padding: 0 12px;
}
.contentcenter-search-inner .search-btn {
  background: #3a8fff;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  padding: 8px 32px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}
.contentcenter-search-inner .search-btn:hover {
  background: #0056b3;
  box-shadow: 0 2px 8px rgba(58, 143, 255, 0.18);
}

.contentcenter-list-section {
  width: 100%;
  background: #fff;
  padding: 32px 0 0 0;
  min-height: 400px;
}
.contentcenter-list-title {
  font-size: 28px;
  color: #0090e7;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 2px;
  animation: fadeInUp 1.2s;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contentcenter-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contentcenter-article {
  background: #e6f2f8;
  border-radius: 12px;
  /* box-shadow: 0 2px 12px rgba(58,143,255,0.08); */
  padding: 22px 32px 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  animation: fadeInArticle 0.8s;
  transition: transform 0.2s, box-shadow 0.2s;
}
@keyframes fadeInArticle {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contentcenter-article:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(58, 143, 255, 0.18);
}
.contentcenter-article-title {
  font-size: 20px;
  color: #0090e7;
  font-weight: 600;
  margin-bottom: 4px;
}
.contentcenter-article-desc {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.contentcenter-article-desc p,h5 {
  text-indent: 2em;
}
.contentcenter-article-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: #8bc34a;
}
.contentcenter-article-meta .date {
  color: #aaa;
  font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .contentcenter-hero {
    height: 700px;
  }

  .contentcenter-hero .main-title {
    font-size: 64px;
  }

  .contentcenter-search-inner {
    width: 400px;
  }

  .contentcenter-list {
    max-width: 900px;
    padding: 0 40px;
  }
}

@media (max-width: 900px) {
  .contentcenter-hero {
    height: 500px;
    padding-top: 60px;
  }

  .contentcenter-hero .main-title {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .contentcenter-search {
    bottom: 20px;
  }

  .contentcenter-search-inner {
    width: 90%;
    max-width: 400px;
    height: 48px;
  }

  .contentcenter-search-inner input {
    font-size: 16px;
  }

  .contentcenter-search-inner .search-btn {
    font-size: 16px;
    padding: 6px 24px;
  }

  .contentcenter-list-section {
    padding: 20px 0 0 0;
  }

  .contentcenter-list-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .contentcenter-list {
    padding: 0 20px;
    gap: 15px;
  }

  .contentcenter-article {
    padding: 18px 24px 15px 24px;
  }

  .contentcenter-article-title {
    font-size: 18px;
  }

  .contentcenter-article-desc {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 600px) {
  .contentcenter-hero {
    height: 400px;
  }

  .contentcenter-hero .main-title {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .contentcenter-search {
    bottom: 15px;
  }

  .contentcenter-search-inner {
    width: 95%;
    height: 44px;
    border-radius: 22px;
  }

  .contentcenter-search-inner input {
    font-size: 14px;
  }

  .contentcenter-search-inner .search-btn {
    font-size: 14px;
    padding: 5px 20px;
    border-radius: 20px;
  }

  .contentcenter-list-section {
    padding: 15px 0 0 0;
  }

  .contentcenter-list-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .contentcenter-list {
    padding: 0 15px;
    gap: 12px;
  }

  .contentcenter-article {
    padding: 15px 20px 12px 20px;
  }

  .contentcenter-article-title {
    font-size: 16px;
  }

  .contentcenter-article-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .contentcenter-article-meta {
    gap: 12px;
    font-size: 12px;
  }

  .contentcenter-article-meta .date {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .contentcenter-hero {
    height: 350px;
  }

  .contentcenter-hero .main-title {
    font-size: 28px;
  }

  .contentcenter-search-inner {
    width: 98%;
    height: 40px;
  }

  .contentcenter-search-inner input {
    font-size: 13px;
  }

  .contentcenter-search-inner .search-btn {
    font-size: 13px;
    padding: 4px 16px;
  }

  .contentcenter-list-title {
    font-size: 18px;
  }

  .contentcenter-list {
    padding: 0 10px;
  }

  .contentcenter-article {
    padding: 12px 15px 10px 15px;
  }

  .contentcenter-article-title {
    font-size: 15px;
  }

  .contentcenter-article-desc {
    font-size: 13px;
  }

  .contentcenter-article-meta {
    font-size: 11px;
  }

  .contentcenter-article-meta .date {
    font-size: 10px;
  }
}
