/**
 * Theme Name:JustMedia Child
 * Template:justmedia
 * Version: 1.0
 */

/* 顶部主播通栏（完全不变，和之前一致） */
.host-top-banner {
  background: #f8f9fa;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.host-banner-content {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.host-banner-avatar .img-circle {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.host-name {
  font-size: 26px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
}
.host-banner-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.meta-item {
  color: #666;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.meta-item:before {
  content: "•";
  color: #ff69b4;
  font-weight: bold;
}

/* 移动端适配（仅保留顶部相关，不变） */
@media (max-width: 768px) {
  .host-banner-content {
    justify-content: center;
    text-align: center;
  }
  .host-banner-meta {
    justify-content: center;
  }
}

/* 主播列表容器（贴合目标网站宽屏布局） */
.host-archive-container {
  padding: 40px 0;
  background: #fafafa; /* 目标网站浅灰背景 */
}

/* 网格布局（均匀间距，响应式适配） */
.host-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* 自动适配列数 */
  gap: 25px; /* 卡片间距，贴合目标网站 */
}

/* 主播卡片（无边框、hover 阴影，目标网站核心风格） */
.host-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease; /* 平滑过渡 */
  padding: 15px 0;
}

/* 卡片 hover 效果（目标网站微动效） */
.host-card:hover {
  transform: translateY(-5px); /* 轻微上浮 */
}

/* 圆形头像（目标网站标志性样式） */
.host-card-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%; /* 圆形 */
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 轻微阴影，贴合目标 */
}

.host-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 避免拉伸 */
}

/* 卡片信息（字体层级，贴合目标网站简洁感） */
.host-card-name {
  font-size: 16px;
  color: #333;
  margin: 0 0 5px;
  font-weight: 600;
  line-height: 1.2;
}

.host-card-name small {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.host-card-id {
  font-size: 13px;
  color: #999;
  margin: 0;
}

/* 分页（极简风格，贴合目标网站） */
.host-pagination {
  margin-top: 60px;
  text-align: center;
}

.pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  gap: 8px;
}

.pagination li a, .pagination li span {
  display: block;
  padding: 8px 14px;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination li.active span {
  background: #333; /* 目标网站深色激活态 */
  color: white;
}

.pagination li a:hover {
  background: #f0f0f0;
  color: #333;
}

/* 无数据提示 */
.no-hosts {
  text-align: center;
  padding: 80px 0;
  color: #999;
  font-size: 16px;
}

/* 响应式适配（贴合目标网站移动端表现） */
@media (max-width: 768px) {
  .host-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }

  .host-card-avatar {
    width: 100px;
    height: 100px;
  }

  .host-card-name {
    font-size: 14px;
  }

  .host-card-id {
    font-size: 12px;
  }
}
/* 搜索表单样式（极简，贴合目标网站） */
.host-search-form {
  margin-bottom: 30px;
  text-align: center;
}

.search-wrap {
  display: inline-flex;
  max-width: 500px;
  width: 100%;
  gap: 0;
}

.search-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #333;
}

.search-button {
  padding: 12px 20px;
  background: #333;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: #555;
}

/* 无结果提示（搜索专用） */
.no-hosts p {
  font-size: 16px;
  color: #999;
  margin: 0;
  padding: 80px 0;
}
/* 主播详情页样式 */
.host-single-container {
  padding: 40px 0;
  background: #fafafa;
}

/* 主播基本信息区 */
.host-single-header {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.host-avatar-large {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.host-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-info-main {
  flex: 1;
  min-width: 300px;
}

.host-title {
  font-size: 28px;
  color: #333;
  margin: 0 0 20px;
  line-height: 1.3;
}

.host-title small {
  font-size: 20px;
  color: #666;
  font-weight: normal;
  margin-left: 10px;
}

.host-meta {
  margin: 0 0 20px;
}

.host-meta p {
  font-size: 16px;
  color: #555;
  margin: 8px 0;
}

.host-description {
  margin-top: 20px;
  padding: 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.host-description h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #333;
}

.host-description p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 视频列表区 */
.host-videos-section {
  margin-top: 30px;
}

.section-title {
  font-size: 22px;
  color: #333;
  margin: 0 0 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
  display: inline-block;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.video-card {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比例 */
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-duration {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
}

.video-info {
  padding: 15px;
}

.video-title {
  font-size: 16px;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 13px;
  color: #999;
  margin: 0;
}

/* 视频分页 */
.videos-pagination {
  margin-top: 40px;
  text-align: center;
}

/* 无视频提示 */
.no-videos {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 16px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .host-single-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .host-avatar-large {
    width: 160px;
    height: 160px;
  }

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

  .videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* 视频列表页标题与筛选框 */
.videos-archive-container {
  padding: 40px 0;
  background: #fafafa;
}

.videos-archive-header {
  margin-bottom: 30px;
}

.archive-title {
  font-size: 24px;
  color: #333;
  margin: 0 0 20px;
}

/* 标签筛选表单 */
.tag-filter-form {
  margin-bottom: 20px;
}

.tag-input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  width: 300px;
  max-width: 100%;
  outline: none;
}

.tag-search-btn {
  padding: 10px 20px;
  background: #333;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.tag-search-btn:hover {
  background: #555;
}

/* 视频卡片标签显示 */
.video-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-link {
  font-size: 12px;
  color: #007BFF;
  text-decoration: none;
  background: #f0f7ff;
  padding: 2px 8px;
  border-radius: 3px;
  transition: color 0.2s ease;
}

.tag-link:hover {
  color: #0056b3;
}

/* 其他样式复用之前的视频卡片样式（保持一致） */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.video-card {
  /* 复用之前的.video-card样式，确保一致性 */
}:root{--theme-color:#FE1329;--theme-hover:#FE1332;--logo-height:70px;--logo-height-mobile:26px;--menu-item-gap:28px;--mobile-menu-color:rgba(255, 255, 255, .98);--mobile-menu-active-color:#fff;--mobile-menu-bg-color:var(--theme-color);--title-thumb-ratio:860 / 380;--thumb-ratio-default:480 / 320;--thumb-ratio-post:480 / 320;--post-video-ratio:860 / 482;}
#modules-12{margin-top: 20px;margin-bottom: 20px;} #modules-5{margin-top: 0px;margin-bottom: 20px;} #modules-9{margin-top: 0px;margin-bottom: 20px;} 