/* ================================================================
   SUANOVA New Design - Activity (展会活动) Page Styles
   ================================================================ */

/* Hero Section */
.activity-hero {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.activity-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/index/zh-new/cloud/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.activity-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,26,61,0.35) 0%, rgba(0,40,85,0.35) 50%, rgba(0,51,102,0.4) 100%);
  z-index: 1;
}

.activity-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 160px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.activity-hero-content h1 {
  font-size: 84px;
  font-weight: 900;
  line-height: 98px;
  color: var(--white);
  letter-spacing: 1.68px;
  margin: 0;
}

/* Search & Filter Section */
.activity-filters {
  background: var(--white);
  padding: 40px 160px;
}

.activity-filters .filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.activity-filters .filter-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  white-space: nowrap;
}

.activity-filters .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-filters .checkbox-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.activity-filters .checkbox-item input[type="checkbox"] {
  accent-color: var(--teal);
}

.activity-filters .filter-btn {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  transition: opacity 0.2s;
}

.activity-filters .filter-btn:hover {
  opacity: 0.9;
}

.activity-filters .search-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.activity-filters .search-box {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
}

.activity-filters .search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--dark-text);
  outline: none;
}

.activity-filters .search-box input::placeholder {
  color: #999;
}

.activity-filters .search-box button {
  background: var(--teal);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-filters .search-box button:hover {
  opacity: 0.9;
}

/* Activity Cards Grid */
.activity-list {
  background: var(--white);
  padding: 0 160px 60px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.activity-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.activity-card-image {
  width: 100%;
  height: 193px;
  overflow: hidden;
}

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

.activity-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--dark-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  max-height: 48px;
}

.activity-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
}

.activity-card-date {
  font-size: 14px;
  color: var(--cadet-blue);
}

.activity-card-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal) 0%, #62cbc9 100%);
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.activity-card-link:hover {
  opacity: 0.85;
  color: var(--white);
  text-decoration: none;
}

/* Pagination */
.activity-pagination {
  display: flex;
  justify-content: center;
  padding: 50px 0;
  gap: 4px;
}

.activity-pagination .page-item {
  list-style: none;
}

.activity-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  font-size: 14px;
  color: var(--dark-text);
  background: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.activity-pagination .page-item.active .page-link {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.activity-pagination .page-item.disabled .page-link {
  color: var(--cadet-blue);
  cursor: not-allowed;
  opacity: 0.6;
}

.activity-pagination .page-link:hover:not(.disabled) {
  border-color: var(--navy);
  color: var(--navy);
}

/* Empty State */
.activity-empty {
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 160px;
  min-height: 400px;
}

.activity-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px;
  border-radius: 8px;
  background: var(--white);
}

.activity-empty-icon {
  width: 80px;
  height: 80px;
}

.activity-empty-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.activity-empty-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #5c5f61;
  text-align: center;
  margin: 0;
}

.activity-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #64ccc9;
  color: var(--white);
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter', 'Roboto', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  line-height: 26px;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  transition: opacity 0.2s;
}

.activity-empty-btn:hover {
  opacity: 0.9;
  color: var(--white);
  text-decoration: none;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Responsive - 1440px */
@media (max-width: 1440px) {
  .activity-hero-content {
    padding: 0 80px;
  }

  .activity-hero-content h1 {
    font-size: 64px;
    line-height: 72px;
  }

  .activity-filters {
    padding: 40px 80px;
  }

  .activity-list {
    padding: 0 80px 60px;
  }

  .activity-empty {
    padding: 80px 80px;
  }
}

/* Responsive - 1024px */
@media (max-width: 1024px) {
  .activity-hero {
    height: 320px;
  }

  .activity-hero-content {
    padding: 0 20px;
  }

  .activity-hero-content h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .activity-filters {
    padding: 32px 20px;
  }

  .activity-list {
    padding: 0 20px 40px;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-empty {
    padding: 60px 20px;
  }

  .activity-empty-card {
    padding: 48px;
  }
}

/* Responsive - 768px */
@media (max-width: 768px) {
  .activity-hero {
    height: 320px;
  }

  .activity-hero-content h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-filters .filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .activity-empty-card {
    padding: 32px;
  }

  .activity-empty-icon {
    width: 64px;
    height: 64px;
  }
}
