.news-page {
  padding: 24px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.news-main {
  min-height: 600px;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.sidebar-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--gray-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-red);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.category-tabs .tab {
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-tabs .tab:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.category-tabs .tab.active {
  background: linear-gradient(135deg, var(--primary-red) 0%, #FF1744 100%);
  border-color: var(--primary-red);
  color: white;
  box-shadow: 0 4px 12px rgba(213, 0, 54, 0.3);
}

.search-box {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.search-box input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
}

.search-box input:focus {
  border-color: var(--primary-red);
}

.search-box button {
  padding: 12px 24px;
  background: var(--primary-red);
  color: white;
  border-radius: 8px;
  font-size: 14px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  background: var(--gray-lighter);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--gray-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-summary {
  font-size: 14px;
  color: var(--gray-medium);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-light);
}

.news-tags {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.news-tag {
  padding: 4px 8px;
  background: var(--primary-red-light);
  color: var(--primary-red);
  border-radius: 4px;
  font-size: 12px;
}

.hot-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-news-item {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.hot-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-number {
  width: 24px;
  height: 24px;
  background: var(--primary-red);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.hot-number.top {
  background: #FF5722;
}

.hot-news-title {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-news-title:hover {
  color: var(--primary-red);
}

.hot-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hot-tag {
  padding: 8px 16px;
  background: var(--gray-lighter);
  color: var(--gray-dark);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.hot-tag:hover {
  background: var(--primary-red-light);
  color: var(--primary-red);
}

.latest-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.latest-news-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.latest-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-news-title {
  font-size: 14px;
  color: var(--gray-dark);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-news-title:hover {
  color: var(--primary-red);
}

.latest-news-date {
  font-size: 12px;
  color: var(--gray-light);
}

@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  
  .news-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .sidebar-card {
    flex: 1;
    min-width: 280px;
  }
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 8px;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  color: var(--gray-dark);
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-icon {
  font-size: 18px;
  font-weight: bold;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
}

.current-page {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-red);
}

.page-separator {
  color: var(--gray-light);
}

.total-pages {
  font-size: 14px;
  color: var(--gray-medium);
}

@media (max-width: 768px) {
  .pagination {
    gap: 8px;
    padding: 4px;
  }
  
  .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .btn-text {
    display: none;
  }
  
  .btn-icon {
    font-size: 16px;
  }
  
  .pagination-info {
    padding: 0 12px;
  }
  
  .current-page {
    font-size: 14px;
  }
}