/* Main Content Layout */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

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

.main-left {
  width: 70%;
}

.main-right {
  width: 30%;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.banner-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.banner-overlay h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(212, 168, 75, 0.1) 0%, transparent 50%);
  border-bottom: 2px solid #d4a84b;
  margin-bottom: 20px;
  border-radius: 4px 4px 0 0;
}

.section-header h3 {
  margin: 0;
  font-size: 18px;
  color: #d4a84b;
  font-weight: 600;
}

.section-header .more {
  color: #999;
  font-size: 14px;
  transition: color 0.3s;
}

.section-header .more:hover {
  color: #d4a84b;
}

/* News Section */
.news-section {
  background: #252525;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid #333;
}

.news-list {
  padding: 20px;
}

.news-item.featured {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #3a3a3a;
  margin-bottom: 20px;
}

.news-image {
  width: 220px;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-image:hover img {
  transform: scale(1.05);
}

.news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-info h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.news-info h4 a {
  color: #e0e0e0;
  transition: color 0.3s;
}

.news-info h4 a:hover {
  color: #d4a84b;
}

.news-info p {
  margin: 0 0 10px 0;
  color: #888;
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-info .meta {
  color: #666;
  font-size: 12px;
}

/* News Mini List */
.news-mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-mini-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #333;
  transition: background 0.2s;
}

.news-mini-list li:last-child {
  border-bottom: none;
}

.news-mini-list li:hover {
  background: rgba(212, 168, 75, 0.05);
  padding-left: 10px;
}

.news-num {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: #333;
  color: #999;
  border-radius: 4px;
  margin-right: 15px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.news-mini-list li:hover .news-num {
  background: linear-gradient(135deg, #d4a84b 0%, #b8934a 100%);
  color: #1a1a1a;
}

.news-mini-list a {
  flex: 1;
  color: #c0c0c0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-mini-list a:hover {
  color: #d4a84b;
}

.news-date {
  color: #666;
  font-size: 12px;
  margin-left: 15px;
  flex-shrink: 0;
}

/* Category Section */
.category-section {
  background: #252525;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid #333;
}

.category-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
}

.cat-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-image {
  width: 100%;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
}

.cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.cat-image:hover img {
  transform: scale(1.05);
}

.cat-item h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cat-item h4 a {
  color: #c0c0c0;
  transition: color 0.3s;
}

.cat-item h4 a:hover {
  color: #d4a84b;
}

/* Sidebar */
.sidebar-box {
  background: #252525;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #333;
}

.box-header {
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(212, 168, 75, 0.1) 0%, transparent 50%);
  border-bottom: 2px solid #d4a84b;
}

.box-header h3 {
  margin: 0;
  font-size: 16px;
  color: #d4a84b;
  font-weight: 600;
}

/* Hot List */
.hot-list {
  padding: 15px 20px;
}

.hot-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #333;
  transition: background 0.2s;
}

.hot-item:last-child {
  border-bottom: none;
}

.hot-item:hover {
  background: rgba(212, 168, 75, 0.05);
}

.hot-num {
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background: #333;
  color: #999;
  border-radius: 4px;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.hot-num.hot-top {
  background: linear-gradient(135deg, #d4a84b 0%, #b8934a 100%);
  color: #1a1a1a;
}

.hot-item a {
  flex: 1;
  color: #c0c0c0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.hot-item a:hover {
  color: #d4a84b;
}

/* Channel Navigation */
.channel-nav {
  display: flex;
  flex-wrap: wrap;
  padding: 15px 20px;
  gap: 10px;
}

.channel-nav a {
  padding: 8px 16px;
  background: #333;
  border-radius: 20px;
  font-size: 13px;
  color: #c0c0c0;
  transition: all 0.3s;
}

.channel-nav a:hover {
  background: linear-gradient(135deg, #d4a84b 0%, #b8934a 100%);
  color: #1a1a1a;
}

/* Latest List */
.latest-list {
  padding: 15px 20px;
}

.latest-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #333;
}

.latest-item:last-child {
  border-bottom: none;
}

.latest-item a {
  flex: 1;
  color: #c0c0c0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.latest-item a:hover {
  color: #d4a84b;
}

.latest-date {
  color: #666;
  font-size: 12px;
  margin-left: 15px;
}

/* Ad Box */
.ad-box {
  padding: 10px;
}

.ad-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }
  
  .main-left,
  .main-right {
    width: 100%;
  }
  
  .hero-banner {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 10px;
  }
  
  .hero-banner {
    height: 220px;
  }
  
  .banner-overlay h2 {
    font-size: 16px;
  }
  
  .news-item.featured {
    flex-direction: column;
  }
  
  .news-image {
    width: 100%;
    height: 180px;
  }
  
  .category-news {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    height: 180px;
  }
  
  .banner-overlay {
    padding: 15px;
  }
  
  .banner-overlay h2 {
    font-size: 14px;
  }
}