/* Hero Section */
.hero-section {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.hero-banner {
  flex: 1;
  position: relative;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.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: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

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

.hero-sidebar {
  width: 280px;
}

.news-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-box h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #0066cc;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 2px solid #0066cc;
}

.news-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-box li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

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

.news-box a {
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  transition: color 0.3s;
}

.news-box a:hover {
  color: #0066cc;
}

/* Category Row */
.category-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.category-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
  border-bottom: 2px solid #0066cc;
}

.card-header h3 {
  margin: 0;
  font-size: 16px;
  color: #0066cc;
  font-weight: 600;
}

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

.card-header .more:hover {
  color: #0066cc;
}

.card-content {
  padding: 15px 20px;
}

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

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

.cat-item:hover {
  background: rgba(0, 102, 204, 0.05);
  padding-left: 8px;
}

.cat-num {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #f0f5ff;
  color: #0066cc;
  border-radius: 4px;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

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

.cat-item a:hover {
  color: #0066cc;
}

.cat-date {
  color: #999;
  font-size: 12px;
  margin-left: 10px;
  flex-shrink: 0;
}

/* Featured Section */
.featured-section {
  margin-bottom: 25px;
}

.section-header {
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
  border-left: 4px solid #0066cc;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  font-size: 18px;
  color: #0066cc;
  font-weight: 600;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.featured-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

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

.featured-item:hover .featured-img img {
  transform: scale(1.05);
}

.featured-item h4 {
  margin: 0;
  padding: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.featured-item h4 a {
  color: #333;
  transition: color 0.3s;
}

.featured-item h4 a:hover {
  color: #0066cc;
}

/* Member Section */
.member-section {
  margin-bottom: 25px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.member-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #0066cc;
}

.member-card h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.member-card h3 a {
  color: #333;
  transition: color 0.3s;
}

.member-card h3 a:hover {
  color: #0066cc;
}

.member-card p {
  margin: 0 0 15px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: #0066cc;
  font-size: 13px;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

/* Partners Section */
.partners-section {
  margin-bottom: 25px;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.partner-item {
  padding: 10px 20px;
  background: #f5f7fa;
  border-radius: 6px;
  transition: all 0.3s;
}

.partner-item:hover {
  background: #0066cc;
}

.partner-item a {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.partner-item:hover a {
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
  }
  
  .hero-banner {
    height: 280px;
  }
  
  .hero-sidebar {
    width: 100%;
  }
  
  .category-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 10px;
  }
  
  .hero-banner {
    height: 220px;
  }
  
  .banner-overlay {
    padding: 20px;
  }
  
  .banner-overlay h2 {
    font-size: 18px;
  }
  
  .category-row {
    grid-template-columns: 1fr;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .member-grid {
    grid-template-columns: 1fr;
  }
}

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