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

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

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

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

.category-header {
  background: #fff;
  border-radius: 5px;
  padding: 24px 16px;
  margin-bottom: 16px;
}

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

.category-header__title {
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  color: #061B40;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .category-header__title {
    font-size: 28px;
    line-height: 42px;
  }
}

.category-header__desc {
  font-size: 14px;
  line-height: 22px;
  color: #8A8F99;
}

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

.list-page__header {
  background: #fff;
  border-radius: 5px;
  padding: 24px 16px;
  margin-bottom: 16px;
}

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

.list-page__title {
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  color: #061B40;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .list-page__title {
    font-size: 28px;
    line-height: 42px;
  }
}

.list-page__subtitle {
  font-size: 14px;
  line-height: 22px;
  color: #061B40;
  margin-bottom: 8px;
}

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

.list-page__link {
  font-size: 14px;
  line-height: 22px;
  color: #306AF1;
  text-decoration: none;
}

.list-page__link:hover {
  text-decoration: underline;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .article-list {
    gap: 20px;
  }
}

.article-list__item {
  background: #fff;
  border-radius: 5px;
  padding: 20px 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

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

.article-list__item:hover {
  box-shadow: 0 4px 16px rgba(6, 27, 64, 0.12);
  transform: translateY(-2px);
}

.article-list__content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.article-list__content:hover .article-list__title {
  color: var(--color-primary);
}

.article-list__body {
  flex: 1;
}

.article-list__image {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  border-radius: 5px;
  overflow: hidden;
  display: block;
  background: #f0f4fe;
}

@media (min-width: 768px) {
  .article-list__image {
    width: 160px;
    height: 120px;
  }
}

.article-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-list__title {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #061B40;
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

.article-list__item:hover .article-list__title {
  color: #306AF1;
}

.article-list__desc {
  font-size: 14px;
  line-height: 22px;
  color: #8A8F99;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-list__desc {
    line-height: 24px;
  }
}

.article-list__meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-left: 116px;
  font-size: 12px;
  color: #8A8F99;
}

@media (min-width: 768px) {
  .article-list__meta {
    padding-left: 176px;
    font-size: 14px;
  }
}

.article-list__time,
.article-list__views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination__item {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e5eb;
  border-radius: 5px;
  font-size: 14px;
  color: #061B40;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination__item:hover {
  border-color: #306AF1;
  color: #306AF1;
}

.pagination__item--active {
  background: #306AF1;
  border-color: #306AF1;
  color: #fff;
}

.pagination__next {
  min-width: 60px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e5eb;
  border-radius: 5px;
  font-size: 14px;
  color: #061B40;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination__next:hover {
  border-color: #306AF1;
  color: #306AF1;
}

.list-page__sidebar {
  display: none;
}

@media (min-width: 768px) {
  .list-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;
  }
  
  .list-page__sidebar::-webkit-scrollbar {
    width: 4px;
  }
  
  .list-page__sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .list-page__sidebar::-webkit-scrollbar-thumb {
    background: #e1e5eb;
    border-radius: 2px;
  }
  
  .list-page__sidebar::-webkit-scrollbar-thumb:hover {
    background: #c4c9d2;
  }
}