.home__hero {
  margin-bottom: var(--space-8);
}

.home__main-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .home__main-layout {
    flex-direction: row;
  }
}

.home__content {
  flex: 1;
  min-width: 0;
}

.home__section {
  margin-bottom: var(--space-8);
}

.home__section:last-child {
  margin-bottom: 0;
}

/* 首页网格布局 */
.home__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 576px) {
  .home__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .home__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ----------------------------------------
   列表页样式
   ---------------------------------------- */

.list__main-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .list__main-layout {
    flex-direction: row;
  }
}

.list__content {
  flex: 1;
  min-width: 0;
}

.list__header {
  margin-bottom: var(--space-6);
}

.list__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.list__count {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.list__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ----------------------------------------
   内容页样式
   ---------------------------------------- */

.show__main-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .show__main-layout {
    flex-direction: row;
  }
}

.show__content {
  flex: 1;
  min-width: 0;
}

.show__article {
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-light);
  padding: var(--space-6);
}

@media (min-width: 768px) {
  .show__article {
    padding: var(--space-8);
  }
}

.show__header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
}

.show__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .show__title {
    font-size: var(--font-size-3xl);
  }
}

.show__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.show__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.show__author {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}

.show__featured-image {
  width: 100%;
  margin-bottom: var(--space-6);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.show__featured-image img {
  width: 100%;
  height: auto;
}

.show__body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

.show__body p {
  margin-bottom: var(--space-4);
}

.show__body h2 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.show__body h3 {
  font-size: var(--font-size-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.show__body img {
  max-width: 100%;
  height: auto;
  margin: var(--space-6) 0;
  border-radius: var(--border-radius);
}

.show__body blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-bg-secondary);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

.show__footer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
}

.show__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.show__tags-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

.show__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.show__action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.show__action-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-primary);
}

/* 相关文章 */
.show__related {
  margin-top: var(--space-8);
}

.show__related-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-primary);
}

.show__related-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 576px) {
  .show__related-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.show__related-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-light);
}

.show__related-item:hover {
  box-shadow: var(--shadow-md);
}

.show__related-image {
  flex-shrink: 0;
  width: 80px;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--color-bg-tertiary);
}

.show__related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.show__related-item-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-2);
}

.show__related-item-title:hover {
  color: var(--color-accent);
}

.show__related-item-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

/* ----------------------------------------
   通用页面布局
   ---------------------------------------- */

.page__wrapper {
  padding: var(--space-6) 0;
}

@media (min-width: 768px) {
  .page__wrapper {
    padding: var(--space-8) 0;
  }
}
