/* 通用容器 */
.tech-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.tech-header {
  background: #0a0a23;
  color: #fff;
  padding: 15px 0;
}
.tech-logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
.tech-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.tech-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
.tech-nav a:hover {
  color: #00c4ff;
}

/* Main */
.tech-main {
  padding: 40px 0;
  text-align: center;
}
.tech-main h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.tech-main p {
  font-size: 1.2rem;
  color: #333;
}

/* Footer */
.tech-footer {
  background: #111;
  color: #ccc;
  padding: 20px 0;
  text-align: center;
}
.tech-footer a {
  color: #ccc;
  text-decoration: none;
}
.tech-footer a:hover {
  color: #00c4ff;
}

/* 三端自适应 */
@media (max-width: 768px) {
  .tech-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .tech-main h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tech-logo a {
    font-size: 1.2rem;
  }
  .tech-main p {
    font-size: 1rem;
  }
}
/*通用结束*/
/* 面包屑导航 */
.article-breadcrumb {
  background: #f5f5f5;
  padding: 10px 0;
}
.article-breadcrumb ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.article-breadcrumb a {
  color: #0077cc;
  text-decoration: none;
}
.article-breadcrumb a:hover {
  text-decoration: underline;
}

/* 文章标题与信息 */
.article-header {
  padding: 40px 20px;
  text-align: center;
}
.article-header h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.article-meta {
  font-size: 0.95rem;
  color: #666;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* 自适应图片 */
.article-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* 正文内容 */
.article-content {
  padding: 40px 20px;
}
.article-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* 评论区 */
.article-comments {
  padding: 40px 20px;
  background: #f9f9f9;
}
.article-comments h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.article-comment-list {
  margin-bottom: 20px;
}
.article-comment-item {
  background: #fff;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.article-comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.article-comment-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.article-btn {
  align-self: flex-start;
  padding: 10px 20px;
  background: #00c4ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.article-btn:hover {
  background: #0099cc;
}

/* 上一篇/下一篇 */
.article-navigation {
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
}
.article-navigation a {
  color: #0077cc;
  text-decoration: none;
}
.article-navigation a:hover {
  text-decoration: underline;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .article-navigation {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
/* 分享模块 */
.article-share {
  padding: 40px 20px;
  background: #f5f5f5;
  text-align: center;
}
.article-share h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.article-share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.article-share-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}
.article-share-btn.wechat {
  background: #1AAD19;
}
.article-share-btn.weibo {
  background: #E6162D;
}
.article-share-btn.twitter {
  background: #1DA1F2;
}
.article-share-btn.facebook {
  background: #1877F2;
}
.article-share-btn:hover {
  opacity: 0.85;
}

/* 响应式布局 */
@media (max-width: 600px) {
  .article-share-buttons {
    flex-direction: column;
    align-items: center;
  }
  .article-share-btn {
    width: 80%;
    text-align: center;
  }
}
