/* 绝活专栏页面样式 */

.page-header {
  text-align: center;
  margin: 60px 0 40px;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #333;
}

.page-header p {
  font-size: 18px;
  color: #666;
}

.filter-bar {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  margin-right: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.filter-group label {
  margin-right: 10px;
  font-size: 14px;
  color: #666;
}

.filter-group select {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  color: #333;
}

.special-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

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

.special-card:hover {
  transform: translateY(-10px);
}

.special-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.special-card-tag {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f0f0f0;
  color: #666;
  font-size: 12px;
  border-radius: 4px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.special-card-tag.free {
  background-color: #e6f7ee;
  color: #1aad19;
}

.special-card-tag.paid {
  background-color: #fff1f0;
  color: #ff4d4f;
}

.special-card-tag.invite {
  background-color: #e6f7ff;
  color: #1890ff;
}

.special-card-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.special-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.special-card-price {
  font-size: 20px;
  font-weight: bold;
  color: #ff4d4f;
}

.special-card-price.free {
  color: #1aad19;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination-btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.pagination-btn:hover {
  background-color: #f5f5f5;
}

.pagination-btn.active {
  background-color: #1aad19;
  color: #fff;
  border-color: #1aad19;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 绝活详情页样式 */
.special-detail {
  display: flex;
  margin-bottom: 40px;
}

.special-detail-left {
  flex: 2;
  margin-right: 40px;
}

.special-detail-right {
  flex: 1;
}

.special-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.special-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.special-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.special-meta-item {
  margin-right: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.special-meta-item i {
  margin-right: 8px;
}

.special-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.special-content {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.special-content img {
  max-width: 100%;
  margin: 20px 0;
  border-radius: 8px;
}

.sidebar-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.sidebar-card-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: bold;
}

.sidebar-card-body {
  padding: 20px;
}

.guest-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.guest-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.guest-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.guest-title {
  font-size: 14px;
  color: #666;
}

.price-info {
  text-align: center;
  margin-bottom: 20px;
}

.current-price {
  font-size: 32px;
  font-weight: bold;
  color: #ff4d4f;
  margin-bottom: 10px;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.access-type {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f0f0f0;
  color: #666;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.access-type.free {
  background-color: #e6f7ee;
  color: #1aad19;
}

.access-type.paid {
  background-color: #fff1f0;
  color: #ff4d4f;
}

.access-type.invite {
  background-color: #e6f7ff;
  color: #1890ff;
}

.action-buttons {
  display: flex;
  flex-direction: column;
}

.action-buttons .btn {
  margin-bottom: 15px;
  text-align: center;
}

.related-specials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.related-special {
  display: flex;
  align-items: center;
}

.related-special-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
}

.related-special-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-special-price {
  font-size: 14px;
  color: #ff4d4f;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .special-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .special-detail {
    flex-direction: column;
  }

  .special-detail-left {
    margin-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .special-list {
    grid-template-columns: 1fr;
  }

  .filter-group {
    margin-right: 20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 16px;
  }

  .special-cover {
    height: 250px;
  }

  .special-title {
    font-size: 24px;
  }
}