.show-page {
  background-color: #f5f7fa;
  min-height: 100vh;
  padding-top: 80px;
}

.show-page__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  gap: 24px;
}

@media (min-width: 768px) {
  .show-page__container {
    padding: 40px 24px;
    gap: 40px;
  }
}

.show-page__main {
  flex: 1;
  min-width: 0;
}

.article-detail {
  background: #fff;
  border-radius: 5px;
  padding: 24px 16px;
}

@media (min-width: 768px) {
  .article-detail {
    padding: 32px 24px;
  }
}

.article-detail__header {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .article-detail__header {
    margin-bottom: 32px;
    border-bottom: 1px solid #e1e5eb;
    padding-bottom: 24px;
  }
}

.article-detail__title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #061B40;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .article-detail__title {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 20px;
  }
}

.article-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #8A8F99;
}

.article-detail__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-detail__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .article-detail__avatar {
    width: 32px;
    height: 32px;
  }
}

.article-detail__author-name {
  color: #061B40;
}

.article-detail__time {
  display: flex;
  align-items: center;
}

.article-detail__views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-detail__views i {
  font-size: 14px;
}

/* 文章内容 */
.article-detail__content {
  font-size: 16px;
  line-height: 26px;
  color: #061B40;
}

@media (min-width: 768px) {
  .article-detail__content {
    font-size: 18px;
    line-height: 30px;
  }
}

/* 文章内容 - 标题 */
.article-detail__content h2 {
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  color: #061B40;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e1e5eb;
}

@media (min-width: 768px) {
  .article-detail__content h2 {
    font-size: 22px;
    line-height: 36px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
}

.article-detail__content h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #061B40;
  margin-top: 24px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .article-detail__content h3 {
    font-size: 20px;
    line-height: 32px;
    margin-top: 32px;
    margin-bottom: 16px;
  }
}

/* 文章内容 - 段落 */
.article-detail__content p {
  margin-bottom: 16px;
}

.article-detail__content p:last-child {
  margin-bottom: 0;
}

/* 文章内容 - 强调 */
.article-detail__content strong {
  font-weight: 600;
  color: #306AF1;
}

/* 文章内容 - 列表 */
.article-detail__content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.article-detail__content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 26px;
}

.article-detail__content ul li:last-child {
  margin-bottom: 0;
}

.article-detail__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #306AF1;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .article-detail__content ul li {
    line-height: 30px;
    padding-left: 28px;
  }
  
  .article-detail__content ul li::before {
    top: 12px;
    width: 8px;
    height: 8px;
  }
}

/* 文章内容 - 列表内强调 */
.article-detail__content ul li strong {
  color: #061B40;
  font-weight: 600;
}

/* 文章内容 - 表格 */
.article-detail__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  line-height: 22px;
}

@media (min-width: 768px) {
  .article-detail__content table {
    font-size: 16px;
    line-height: 26px;
  }
}

.article-detail__content table tr {
  border-bottom: 1px solid #e1e5eb;
}

.article-detail__content table tr:last-child {
  border-bottom: none;
}

.article-detail__content table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

@media (min-width: 768px) {
  .article-detail__content table td {
    padding: 16px 20px;
  }
}

.article-detail__content table tr:first-child td {
  font-weight: 600;
  color: #061B40;
  background: #f5f7fa;
}

.article-detail__content table td strong {
  color: #061B40;
}

/* 文章内容 - 链接 */
.article-detail__content a {
  color: #306AF1;
  text-decoration: none;
  transition: color 0.2s;
}

.article-detail__content a:hover {
  color: #1051E9;
  text-decoration: underline;
}

.article-detail__intro {
  background: #f0f4fe;
  border-radius: 5px;
  padding: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .article-detail__intro {
    padding: 24px;
    margin-bottom: 32px;
  }
}

.article-detail__intro p {
  margin-bottom: 8px;
}

.article-detail__intro p:last-child {
  margin-bottom: 0;
}

.article-detail__intro a {
  color: #306AF1;
  text-decoration: none;
}

.article-detail__intro a:hover {
  text-decoration: underline;
}

.article-detail__section {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .article-detail__section {
    margin-bottom: 32px;
  }
}

.article-detail__section-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #061B40;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .article-detail__section-title {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 16px;
  }
}

.article-detail__section p {
  margin-bottom: 12px;
}

.article-detail__section p:last-child {
  margin-bottom: 0;
}

.article-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-detail__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.article-detail__list li:last-child {
  margin-bottom: 0;
}

.article-detail__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #306AF1;
}

/* 文章底部 */
.article-detail__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e1e5eb;
}

@media (min-width: 768px) {
  .article-detail__footer {
    margin-top: 40px;
    padding-top: 32px;
  }
}

.article-detail__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-detail__tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f4fe;
  color: #306AF1;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.article-detail__tag:hover {
  background: #306AF1;
  color: #fff;
}

.article-detail__share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-detail__share-label {
  font-size: 14px;
  color: #8A8F99;
}

.article-detail__share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4fe;
  border: none;
  border-radius: 50%;
  color: #8A8F99;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.article-detail__share-btn:hover {
  background: #306AF1;
  color: #fff;
}

.article-detail__share-btn i {
  font-size: 16px;
}

/* 相关文章 */
.related-articles {
  background: #fff;
  border-radius: 5px;
  padding: 24px 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .related-articles {
    padding: 32px 24px;
    margin-top: 40px;
  }
}

.related-articles__title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #061B40;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .related-articles__title {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 20px;
  }
}

.related-articles__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .related-articles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.related-articles__item {
  padding: 16px;
  background: #f5f7fa;
  border-radius: 5px;
  transition: background 0.2s;
}

.related-articles__item:hover {
  background: #f0f4fe;
}

.related-articles__link {
  text-decoration: none;
  display: block;
}

.related-articles__item-title {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: #061B40;
  margin-bottom: 8px;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .related-articles__item-title {
    font-size: 16px;
    line-height: 24px;
  }
}

.related-articles__link:hover .related-articles__item-title {
  color: #306AF1;
}

.related-articles__item-time {
  font-size: 12px;
  color: #8A8F99;
}

/* 侧边栏 */
.show-page__sidebar {
  display: none;
}

@media (min-width: 768px) {
  .show-page__sidebar {
    display: block;
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  
  .show-page__sidebar::-webkit-scrollbar {
    width: 4px;
  }
  
  .show-page__sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .show-page__sidebar::-webkit-scrollbar-thumb {
    background: #e1e5eb;
    border-radius: 2px;
  }
  
  .show-page__sidebar::-webkit-scrollbar-thumb:hover {
    background: #c4c9d2;
  }
}

.sidebar-ad {
  background: #fff;
  border-radius: 5px;
  margin-top: 20px;
  overflow: hidden;
}

.sidebar-ad__link {
  display: block;
}

.sidebar-ad__image {
  width: 100%;
  height: auto;
  display: block;
}