@charset "UTF-8";
:root {
  --primary: #2c3e50;
  --secondary: #1D5D8B;
  --accent: #A82315;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --md-primary-color: #0F4C81;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-container .logo {
  display: flex;
  align-items: center;
}
.header-container .logo .logo-icon {
  width: 40px;
  height: 40px;
  /*background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23e74c3c"/><circle cx="35" cy="40" r="8" fill="%232c3e50"/><circle cx="65" cy="40" r="8" fill="%232c3e50"/><path d="M30 65 Q50 80 70 65" stroke="%232c3e50" stroke-width="3" fill="none"/><circle cx="25" cy="30" r="3" fill="%23fff"/><circle cx="75" cy="30" r="3" fill="%23fff"/></svg>') no-repeat center;*/
  margin-right: 10px;
}
.header-container .logo .logo-text {
  font-size: 1.5rem;
  font-weight: bold;
}
.header-container nav ul {
  display: flex;
  list-style: none;
}
.header-container nav ul li {
  margin-left: 20px;
}
.header-container nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.header-container nav ul li a:hover {
  color: var(--secondary);
}

/*首页*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
}
.search-box button {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
}

.featured-section {
  padding: 3rem 0;
}
.featured-section .articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.featured-section .article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.featured-section .article-card:hover {
  transform: translateY(-5px);
}
.featured-section .article-card .article-image {
  height: 200px;
  background: #ddd;
  background-size: cover;
  background-position: center;
}
.featured-section .article-card .article-content {
  padding: 20px;
}
.featured-section .article-card .article-content .article-category {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.featured-section .article-card .article-content .article-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.featured-section .article-card .article-content .article-excerpt {
  color: #666;
  margin-bottom: 15px;
}
.featured-section .article-card .article-content .read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark);
}

.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 2rem 0;
}
.categories .category-tag {
  background: var(--light);
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.3s;
}
.categories .category-tag:hover {
  background: var(--secondary);
  color: white;
}

.page-header {
  background: var(--primary);
  color: white;
  padding: 2rem 0;
  margin-bottom: 30px;
}
.page-header .category-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.page-header .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.category-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-top: 2em;
}
.category-container .sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  /* 关键属性：高度由内容决定 */
  height: -moz-fit-content;
  height: fit-content;
  max-height: 100vh;
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.category-container .sidebar .sidebar-title {
  font-size: 1.2rem;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}
.category-container .sidebar .category-list {
  list-style: none;
  padding: 0;
}
.category-container .sidebar .category-list .category-item {
  margin-bottom: 8px;
}
.category-container .sidebar .category-list .category-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}
.category-container .sidebar .category-list .category-item a:hover {
  background: #f0f7ff;
  color: var(--secondary);
}
.category-container .sidebar .category-list .category-item a .category-count {
  font-size: 0.8rem;
}
.category-container .sidebar .category-list .category-item.active a {
  background: var(--secondary);
  color: white;
}
.category-container .sidebar .category-list .category-item.active .category-count {
  color: rgba(255, 255, 255, 0.7);
}
.category-container .sidebar .tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.category-container .sidebar .tag-list .tag-item {
  margin-bottom: 3px;
  font-size: 12px;
}
.category-container .sidebar .tag-list .tag-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.3s;
}
.category-container .sidebar .tag-list .tag-item a:hover {
  background: #f0f7ff;
  color: var(--secondary);
}
.category-container .sidebar .tag-list .tag-item a .category-count {
  font-size: 0.8rem;
}
.category-container .sidebar .tag-list .tag-item.active a {
  background: var(--secondary);
  color: white;
}
.category-container .sidebar .tag-list .tag-item.active .category-count {
  color: rgba(255, 255, 255, 0.7);
}
.category-container .article-list {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.category-container .article-list .article-item {
  padding: 25px 0;
  border-bottom: 1px solid #eee;
}
.category-container .article-list .article-item:first-child {
  padding-top: 0;
}
.category-container .article-list .article-item:last-child {
  border-bottom: none;
}
.category-container .article-list .article-item .article-tag {
  display: inline-block;
  background: #e1f0ff;
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.category-container .article-list .article-item .article-title {
  font-size: 1.3rem;
  margin: 0 0 10px;
}
.category-container .article-list .article-item .article-title a {
  color: var(--dark);
  text-decoration: none;
}
.category-container .article-list .article-item .article-title a:hover {
  color: var(--secondary);
}
.category-container .article-list .article-item .article-excerpt {
  color: #666;
  margin-bottom: 15px;
}
.category-container .article-list .article-item .article-meta {
  display: flex;
  font-size: 0.8rem;
  color: #999;
  gap: 15px;
}

.pagination ul {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.pagination ul .page-btn {
  padding: 3px 12px;
  margin: 0 5px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  list-style: none;
  cursor: pointer;
}
.pagination ul .page-btn a {
  color: #000;
  text-decoration: none;
}
.pagination ul .page-btn.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.detail .breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
}
.detail .breadcrumb a {
  color: #1B5783;
  text-decoration: none;
}
.detail .breadcrumb a:hover {
  text-decoration: underline;
}
.detail .breadcrumb span {
  color: #525252;
  margin: 0 5px;
}
.detail .article-container {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.detail .article-container .toc-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  flex: 0 0 260px;
  height: -moz-fit-content;
  height: fit-content;
  max-height: 100vh;
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.detail .article-container .toc-sidebar nav {
  background: #f8f9fa;
  border-radius: 5px;
}
.detail .article-container .toc-sidebar nav h2 {
  font-size: 1.2rem;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}
.detail .article-container .toc-sidebar nav ul {
  list-style: none;
  padding: 0;
}
.detail .article-container .toc-sidebar nav ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}
.detail .article-container .toc-sidebar nav ul li a:hover {
  background: #f0f7ff;
  color: var(--secondary);
}
.detail .article-container .toc-sidebar nav ul li a .category-count {
  font-size: 0.8rem;
}
.detail .article-detail {
  width: 0;
  flex: 1;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.detail .article-detail .article-header {
  margin-bottom: 30px;
}
.detail .article-detail .article-header .article-title {
  font-size: 2rem;
  margin-bottom: 10px;
}
.detail .article-detail .article-header .article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.8);
}
.detail .article-detail .article-content section {
  padding: 0 8px;
  max-width: 100%;
  overflow: auto;
}
.detail .article-detail .article-content h2 {
  text-align: center;
  font-size: 20.8px;
  display: table;
  padding: 0.3em 1em;
  margin: 2em auto;
  scroll-margin-top: 4em;
  scroll-margin-bottom: 4em;
  color: #fff;
  background: var(--md-primary-color);
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.detail .article-detail .article-content P {
  margin: 1em 0;
}
.detail .article-detail .article-content ul li,
.detail .article-detail .article-content ol li {
  list-style: none;
}
.detail .article-detail .article-content code {
  text-align: left;
  line-height: 1.75;
  font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
  font-size: 90%;
  color: #d14;
  background: rgba(27, 31, 35, 0.05);
  padding: 3px 5px;
  border-radius: 4px;
}
.detail .article-detail .article-content strong {
  text-align: left;
  line-height: 1.75;
  font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
  font-size: inherit;
  color: var(--md-primary-color);
  font-weight: bold;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.detail .article-detail .article-content figure {
  text-align: left;
  line-height: 1.75;
  font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
  font-size: 16px;
  margin: 1.5em 8px;
  color: hsl(var(--foreground));
}
.detail .article-detail .article-content figure img {
  display: block;
  max-width: 100%;
  margin: 0.1em auto 0.5em;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.detail .article-detail .article-content figure figcaption {
  text-align: center;
  font-size: 0.8em;
  color: #888;
}
.detail .article-detail .article-content table {
  width: 100%;
  border-collapse: collapse;
}
.detail .article-detail .article-content table thead {
  background: rgba(0, 0, 0, 0.05);
  font-weight: bold;
  color: #fff;
}
.detail .article-detail .article-content table th,
.detail .article-detail .article-content table td {
  border: 1px solid #dfdfdf;
  padding: 0.5em 1em;
  color: #3f3f3f;
  word-break: keep-all;
}
.detail .article-detail .article-content pre {
  color: #c9d1d9;
  background: #0d1117;
  padding: 0 !important;
  margin: 10px 0;
  border-radius: 8px;
  overflow-x: auto;
  font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
  font-size: 90%;
  text-align: left;
  line-height: 1.75;
}
.detail .article-detail .article-content pre .mac-sign {
  display: flex;
  padding: 10px 14px 0;
}
.detail .article-detail .article-content pre code {
  font-family: "Fira Code", Menlo, Operator Mono, Consolas, Monaco, monospace;
  border-radius: 3px;
  display: -webkit-box;
  padding: 0.5em 1em 1em;
  overflow-x: auto;
  text-indent: 0;
  font-size: 90%;
  color: #c9d1d9;
  text-align: left;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}
.detail .article-detail .article-content .article-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.detail .article-detail .article-content .action-buttons {
  display: flex;
  gap: 10px;
}
.detail .article-detail .article-content .btn {
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}
.detail .article-detail .article-content .btn-like {
  background: #f8f9fa;
  border: 1px solid #ddd;
}
.detail .article-detail .article-content .btn-like.active {
  background: #ffeef0;
  border-color: #ff6b81;
  color: #ff6b81;
}
.detail .article-detail .article-content .btn-bookmark {
  background: #f8f9fa;
  border: 1px solid #ddd;
}
.detail .article-detail .article-content .article-tags {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px dashed #eee;
  border-bottom: 1px dashed #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail .article-detail .article-content .article-tags .tag-label {
  color: #666;
}
.detail .article-detail .article-content .article-tags .tag {
  display: inline-block;
  background: #f0f7ff;
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  text-decoration: none;
}
.detail .article-detail .article-content .article-tags .tag:hover {
  background: var(--secondary);
  color: white;
}
.detail .article-detail .article-content .article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.detail .article-detail .article-content .article-nav .nav-item {
  flex: 0 0 48%;
  padding: 12px;
  border-radius: 4px;
  transition: all 0.3s;
  color: var(--secondary);
  text-decoration: none;
}
.detail .article-detail .article-content .article-nav .nav-item:hover {
  background: #f5f9fc;
}
.detail .article-detail .article-content .article-nav .nav-item .nav-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}
.detail .article-detail .article-content .article-nav .nav-item .nav-title {
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail .article-detail .article-content .article-nav .nav-disabled {
  color: #999;
  cursor: not-allowed;
}
.detail .article-detail .article-content .article-nav .nav-disabled:hover {
  background: transparent;
}
.detail .comment-section {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.detail .comment-section h3 {
  color: var(--main-color);
  margin-bottom: 1rem;
}
.detail .comment-section .comment-list {
  margin-bottom: 30px;
}
.detail .comment-section .comment-list .comment-item {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.detail .comment-section .comment-list .comment-item p {
  margin-bottom: 0.5rem;
}
.detail .comment-section .comment-list .comment-item p strong {
  color: var(--main-color);
}
.detail .comment-section .comment-list .comment-item .comment-time {
  font-size: 0.8rem;
  color: #999;
  display: inline-block;
  margin: 0.5rem 0;
}
.detail .comment-section #comment-form .comment-box textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: vertical;
}
.detail .comment-section #comment-form .comment-box .comment-form-row {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.detail .comment-section #comment-form .comment-box .comment-form-row input {
  height: 40px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
}
.detail .comment-section #comment-form .comment-box .comment-form-row button {
  height: 40px;
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  white-space: nowrap;
}
.detail .article-toc {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 50px;
  height: 50px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.error-content {
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 40px;
  margin: 2em auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.error-content .error-code {
  font-size: 5rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 20px;
}
.error-content .error-message {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--dark);
}
.error-content .error-description {
  margin-bottom: 30px;
  color: #666;
}
.error-content .btn-home {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}
.error-content .btn-home:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.related-articles {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.related-articles .related-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.related-articles .related-list {
  list-style: none;
  padding: 0;
}
.related-articles .related-list .related-item {
  margin-bottom: 10px;
}
.related-articles .related-list .related-item a {
  color: #555;
  text-decoration: none;
}
.related-articles .related-list .related-item a:hover {
  color: var(--secondary);
}

.search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.search-meta .search-query {
  font-size: 1.2rem;
  color: var(--secondary);
}

.search-results {
  margin: 30px 0;
}
.search-results .result-item {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.search-results .result-item:hover {
  transform: translateY(-3px);
}
.search-results .result-item .result-title a {
  color: var(--secondary);
  margin: 0 0 10px;
  font-size: 1.3rem;
  text-decoration: none;
}
.search-results .result-item .result-snippet {
  color: #555;
  margin: 15px 0;
}
.search-results .result-item .result-meta {
  display: flex;
  font-size: 0.8rem;
  color: #777;
}
.search-results .result-item .result-meta .result-date {
  margin-right: 15px;
}

.go-top-plane {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  opacity: 0;
}
.go-top-plane.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.footer-content .footer-column h3 {
  margin-bottom: 1rem;
  color: var(--light);
}
.footer-content .footer-column ul {
  list-style: none;
}
.footer-content .footer-column ul li {
  margin-bottom: 10px;
}
.footer-content .footer-column ul li a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-content .footer-column ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  nav ul {
    margin-top: 1rem;
  }
  nav ul li {
    margin: 0 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .article-detail,
  .related-articles {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .related-articles .related-list .related-item {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }
  .article-nav {
    flex-direction: column;
    gap: 15px;
  }
  .article-nav .nav-item {
    flex: 1 1 100%;
  }
  .category-container {
    grid-template-columns: 1fr;
  }
  .category-container .sidebar {
    display: none;
  }
  .detail .article-container .toc-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 20px;
  }
  .detail .article-container .toc-sidebar.visible {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .detail .article-container .toc-sidebar nav {
    max-height: 80vh;
    overflow-y: auto;
  }
  .detail .article-container .toc-sidebar nav h2 {
    text-align: center;
    margin-top: 10px;
  }
  .detail .article-detail .article-content h2 {
    scroll-margin-top: 6em;
    scroll-margin-bottom: 6em;
  }
  .detail .article-toc {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
  }
  .error-content .error-code {
    font-size: 3rem;
  }
  .error-content .error-message {
    font-size: 1.2rem;
  }
}/*# sourceMappingURL=style.css.map */