:root {
  /* 文章标题 */
  --font-title-base: 22px;
  /* 文章内容 */
  --font-text-base: 16px;
}

@media (max-width: 1025px) {
  :root {
    /* 文章标题 */
    --font-title-base: 18px;
  }
}

.main-content {
  display: flex;
  gap: 80px;
}

.content-wrapper {
  flex: 1;
  min-width: 0;
}

.article-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 80px;
}

/* 文章详情内容样式 */
.article-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  overflow: hidden;
}

.article-content tbody td,
.article-content thead td {
  font-size: var(--font-text);
}

.article-content a {
  color: #156bbc;
}


/* 文章标题样式 */
.article-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-title-section h1 {
  margin: 0;
}

.icon-long-page-title {
  width: 20px;
  height: 20px;
  display: block;
  background-image: url('../../image/icon/icon-long-page-title.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.article-main-title {
  font-weight: 600;
  font-size: var(--font-title);
  line-height: 1.437em;
  color: #000000;
  margin: 0;
}

/* 文章正文样式 */
.article-text {
  font-weight: 400;
  font-size: var(--font-text);
  line-height: 1.875em;
  color: #444444;
  margin: 0;
}

/* 侧边文章导航样式 */
.sidebar-long-page {
  flex-shrink: 0;
  position: sticky;
  top: 136px;
  margin-top: 48px;
  padding-top: 62px;
  min-width: 248px;
  border-left: 1px solid #EEE;
  align-self: baseline;
}

.sidebar-long-page::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background-image: url('../../image/icon/side-top-icon.png');
  background-size: 100% 100%;
  position: absolute;
  top: -7px;
  left: -7px;
}

/* 锚点定位导航样式 */
.anchor-navigation {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: fit-content;
}

.anchor-nav-item {
  display: flex;
  align-items: stretch;
  gap: 9px;
  padding-left: 24px;
  width: 248px;
  position: relative;
  text-decoration: none;
}

.anchor-nav-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D9D9D9;
  transition: background-color 0.3s ease;
}

.anchor-nav-item.active::before {
  background: #1A6BB7;
}

.anchor-nav-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4em;
  color: #555555;
  flex: 1;
  transition: color 0.3s ease;
}

.anchor-nav-item.active .anchor-nav-text {
  color: #1A6BB7;
}

.anchor-nav-item:hover::before {
  background: #1A6BB7;
}

.anchor-nav-item:hover .anchor-nav-text {
  color: #1A6BB7;
}

@media (max-width: 1024px) {
  .main-content {
    gap: 60px;
  }
}