/* 约会页面样式 */

/* 顶部标题栏 - 仅限文章页面 */
body[data-page="art"] .dating-header,
.art-page .dating-header {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  font-size: 22px;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 筛选区域 */
.filter-bar {
  background-color: #ffffff;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
}

.filter-label {
  color: #333;
  margin-right: 15px;
  font-size: 13px;
}

.filter-options {
  display: flex;
}

.filter-option {
  margin-right: 20px;
  color: #666;
  text-decoration: none;
  font-size: 13px;
}

.filter-option.active {
  color: #1aaa5a;
  font-weight: 500;
}

/* 内容卡片样式 */
.dating-container {
  background-color: #f5f5f5;
  padding: 10px 0;
}

.dating-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dating-item {
  background-color: #ffffff;
  margin-bottom: 0.5px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dating-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
}

/* 文章元数据 */
.dating-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 5px;
  color: #999;
  font-size: 14px;
}

.dating-time {
  display: flex;
  align-items: center;
}

.dating-time i {
  margin-right: 5px;
}

.dating-rating {
  margin-left: 15px;
  display: flex;
  align-items: center;
}

.dating-rating i {
  color: #f8d448;
  margin-right: 3px;
}

/* 文章标题和内容 */
.dating-title {
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 8px;
  color: #333;
}

.dating-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 媒体区域 */
.dating-media {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -3px 10px;
}

.dating-image {
  flex: 1 0 calc(33.333% - 6px);
  margin: 0 3px;
  height: 100px;
  overflow: hidden;
  position: relative;
}

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

.dating-image-count {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

/* 带图片的布局 - 左文右图 */
.dating-with-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dating-content-left {
  flex: 1;
  padding-right: 15px;
  overflow: hidden;
}

.dating-image-right {
  width: 144px;
  height: 187px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 3px;
}

.dating-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 底部区域 */
.dating-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 10px;
  margin-top: 5px;
  border-top: 1px solid #f5f5f5;
}

.dating-location {
  color: #1aaa5a;
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.dating-location i {
  margin-right: 3px;
}

.dating-stats {
  display: flex;
  align-items: center;
}

.dating-stat {
  margin-left: 20px;
  color: #999;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.dating-stat:first-child {
  margin-left: 0;
}

.dating-stat i {
  margin-right: 3px;
}

/* 卡片中的链接样式 */
.dating-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .dating-with-image {
    flex-direction: row; /* 保持左文右图的布局 */
  }
  
  .dating-content-left {
    padding-right: 10px;
  }
  
  .dating-image-right {
    width: 120px;
    height: 154px;
  }
  
  /* 筛选区域适配移动端 */
  .filter-bar {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-options {
    padding-bottom: 5px;
  }
  
  .dating-stats {
    flex-wrap: wrap;
  }
  
  .dating-stat:first-child {
    margin-left: 0;
  }
}

/* 移动端样式重置和应用 */
@media (max-width: 480px) {
  /* 首先重置所有.dating-header样式 */
  .dating-header {
    position: static !important;
    background-color: transparent !important;
    color: inherit !important;
    text-align: inherit !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    top: auto !important;
    z-index: auto !important;
    border-bottom: none !important;
  }
  
  /* 只为文章页面应用样式 */
  body[data-page="art"] .dating-header,
  .art-page .dating-header {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 12px 0 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  
  .dating-title {
    font-size: 14px;
  }
  
  .dating-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
}

/* 联系方式标签加粗样式 - 已登录和未登录状态都加粗标签 */
.contact-info-list .info-label,
.login-tips .contact-label {
  font-weight: bold !important;
}

/* 详情页详细介绍内容样式调整 */
.art-detail-content,
.art-detail-content p,
.art-detail-content div,
.art-detail-content span {
  font-size: 17px !important; /* 字体大小设为17px */
  color: rgba(0, 0, 0, 0.72) !important; /* 颜色再减淡15%，透明度设为0.72 */
  line-height: 1.3 !important; /* 适当调整行高以保持可读性 */
}

/* VIP提示文字样式 */
.vip-tip-text {
  color: #666;
  font-size: 14px;
}

.vip-tip-text a {
  color: #dc3545;
  text-decoration: none;
}

.vip-tip-text a:hover {
  color: #c82333;
  text-decoration: underline;
} 

/* 发布时间后的内联收藏样式 */
.dating-collect-inline {
  display: inline-block;
  margin-left: 15px;
}

.dating-collect-inline i {
  color: #f8d448;
  margin-right: 3px;
  font-size: 13px;
}

/* 响应式调整 - 移动端 */
@media (max-width: 768px) {
  .dating-collect-inline {
    margin-left: 10px;
  }
} 