/* 搜索结果页样式 - 超吉挥杆高尔夫 */
:root {
  --zh-primary-color: #4CAF50; /* 主色调：绿色 */
  --zh-secondary-color: #FF9800; /* 次要色调：橙色 */
  --zh-text-color: #333333;
  --zh-light-bg: #f8f9fa;
  --zh-border-color: #e9ecef;
  --zh-hover-color: #3d8b40;
  --zh-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 基本样式重置 */
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--zh-text-color);
  background-color: var(--zh-light-bg);
  line-height: 1.6;
}

/* 搜索容器 */
.zh_search_container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

/* 搜索头部 */
.zh_search_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--zh-border-color);
}

.zh_search_count {
  font-size: 18px;
  color: var(--zh-text-color);
}

.zh_highlight {
  font-weight: bold;
  color: var(--zh-primary-color);
}

.zh_search_filter {
  display: flex;
  gap: 10px;
}

.zh_filter_select, .zh_sort_select {
  padding: 8px 12px;
  border: 1px solid var(--zh-border-color);
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zh_filter_select:hover, .zh_sort_select:hover {
  border-color: var(--zh-primary-color);
}

/* 搜索结果列表 */
.zh_search_results {
  margin-bottom: 30px;
}

.zh_result_item {
  display: flex;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--zh-shadow);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.zh_result_item:hover {
  transform: translateY(-3px);
}

.zh_result_image {
  flex: 0 0 240px;
  overflow: hidden;
}

.zh_result_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zh_result_item:hover .zh_result_image img {
  transform: scale(1.05);
}

.zh_result_content {
  flex: 1;
  padding: 20px;
}

.zh_result_title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.zh_result_title a {
  color: var(--zh-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.zh_result_title a:hover {
  color: var(--zh-hover-color);
}

.zh_result_description {
  margin-bottom: 15px;
  color: #666;
  font-size: 15px;
}

.zh_result_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #777;
}

.zh_result_tag, .zh_result_location, .zh_result_time {
  display: inline-flex;
  align-items: center;
}

.zh_result_meta i {
  margin-right: 5px;
}

.zh_result_action {
  display: flex;
  gap: 15px;
}

.zh_btn_detail, .zh_btn_contact {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zh_btn_detail {
  background-color: white;
  color: var(--zh-primary-color);
  border: 1px solid var(--zh-primary-color);
}

.zh_btn_detail i {
  margin-left: 5px;
}

.zh_btn_detail:hover {
  background-color: var(--zh-primary-color);
  color: white;
}

.zh_btn_contact {
  background-color: var(--zh-secondary-color);
  color: white;
  border: 1px solid var(--zh-secondary-color);
}

.zh_btn_contact i {
  margin-right: 5px;
}

.zh_btn_contact:hover {
  background-color: #e68a00;
  border-color: #e68a00;
}

/* 空结果样式 */
.zh_empty_result {
  padding: 50px 20px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--zh-shadow);
}

.zh_empty_result i {
  font-size: 50px;
  color: #ccc;
  margin-bottom: 15px;
}

.zh_empty_result p {
  margin: 10px 0;
  font-size: 18px;
  color: #666;
}

.zh_empty_suggestion {
  font-size: 15px !important;
  color: #999 !important;
}

/* 分页样式 */
.zh_pagination {
  margin: 30px 0;
  text-align: center;
}

.zh_pagination a, .zh_pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.zh_pagination a {
  background-color: white;
  color: var(--zh-text-color);
  border: 1px solid var(--zh-border-color);
}

.zh_pagination a:hover {
  background-color: var(--zh-primary-color);
  color: white;
  border-color: var(--zh-primary-color);
}

.zh_pagination span.current {
  background-color: var(--zh-primary-color);
  color: white;
  border: 1px solid var(--zh-primary-color);
}

/* 相关搜索 */
.zh_related_searches {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--zh-shadow);
}

.zh_related_title {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--zh-text-color);
  position: relative;
  padding-left: 15px;
}

.zh_related_title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--zh-primary-color);
  border-radius: 2px;
}

.zh_related_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zh_tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f0f8f0;
  color: var(--zh-primary-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.zh_tag:hover {
  background-color: var(--zh-primary-color);
  color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .zh_search_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .zh_result_item {
    flex-direction: column;
  }
  
  .zh_result_image {
    flex: none;
    height: 200px;
  }
  
  .zh_result_action {
    flex-direction: column;
    gap: 10px;
  }
  
  .zh_btn_detail, .zh_btn_contact {
    width: 100%;
  }
}
