@charset "utf-8";
/* ============================================================================
 * 专题列表页皮肤（topic_list_new.css）
 * Topic list page skin
 * 深圳市爱租网络有限公司2016-2026
 * Shenzhen iZucn Network Co.,Ltd. 2016-2026
 * ============================================================================
 * 适用页面：topic_list.dwt（body.topic-list-page）
 * 说明：
 *   1. 全部选择器限定在 body.topic-list-page 内，不影响其它频道页；
 *   2. 颜色引用主题变量并保留兜底值，跟随站点主题配色；
 *   3. 间距一律使用逻辑属性（inline-start / inline-end），兼容 RTL；
 *   4. 设计语言对齐 edge_new.css / cms_new.css：主色 #232f3e、促销金 #febd69、
 *      卡片 12px 圆角、1px #eef0f3 描边、0 2px 8px rgba(35,47,62,.05) 投影；
 *   5. 本文件独立自包含，不依赖 edge_new.css，整文件可回滚。
 * ==========================================================================*/

/* ---------- 一、页面外壳 ---------- */
.topic-list-page{ background-color:#f8f9fb; }
.topic-list-page .w1200{ max-width:100%; }
.topic-list-page .content,
.topic-list-page .container{ padding-bottom:48px; }

/* 页面标题头带：小标题 + 金色竖条，与边缘页 / 内容频道页同一设计语言 */
.topic-list-page .tl-hd{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; margin:18px 0 22px; padding:24px 26px; border-radius:14px; background:radial-gradient(circle at 92% -20%,rgba(254,189,105,.22),rgba(254,189,105,0) 42%),linear-gradient(120deg,#1a2530 0%,var(--color-primary,#232f3e) 55%,#33445c 100%); box-shadow:0 8px 22px rgba(35,47,62,.16); }
.topic-list-page .tl-hd-tit{ display:flex; align-items:center; min-width:0; margin:0; font-size:23px; font-weight:700; line-height:1.35; color:#fff; }
.topic-list-page .tl-hd-tit::before{ content:""; flex:0 0 auto; width:6px; height:22px; border-radius:4px; margin-inline-end:12px; background:linear-gradient(180deg,var(--color-promo,#febd69),#ff9f2e); }
.topic-list-page .tl-hd-extra{ margin-inline-start:auto; font-size:13px; color:rgba(255,255,255,.78); }
.topic-list-page .tl-hd-extra b{ font-size:16px; color:var(--color-promo,#febd69); }

/* 面包屑：沿用公共结构，仅收紧外距 */
.topic-list-page .crumbs-nav{ margin-top:12px; }

/* ---------- 二、专题卡片：一排 2 张横向卡（图左文右），封面走横图 ---------- */
.topic-list-page .tl-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.topic-list-page .tl-card{ display:flex; flex-direction:row; align-items:stretch; min-height:230px; overflow:hidden; border:1px solid #eef0f3; border-radius:12px; background:#fff; box-shadow:0 2px 8px rgba(35,47,62,.05); text-decoration:none; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.topic-list-page .tl-card:hover{ transform:translateY(-3px); border-color:rgba(35,47,62,.18); box-shadow:0 12px 26px rgba(35,47,62,.13); }

/* 封面：横向铺在卡片一侧（RTL 自动镜像），高度跟随卡片，约 16:10 横图；图片缺失时走渐变底 */
.topic-list-page .tl-card-cover{ position:relative; display:block; flex:0 0 52%; max-width:52%; background:linear-gradient(135deg,#eef1f5 0%,#e2e7ee 100%); }
.topic-list-page .tl-card-cover img{ position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
.topic-list-page .tl-card-ph{ position:absolute; inset:0; display:block; background:radial-gradient(circle at 30% 25%,rgba(254,189,105,.28),rgba(254,189,105,0) 55%),linear-gradient(135deg,#dde3ea 0%,#cfd7e1 100%); }
.topic-list-page .tl-card-ph::after{ content:""; position:absolute; inset-inline-start:50%; top:50%; width:52px; height:52px; margin-inline-start:-26px; margin-top:-26px; border-radius:14px; background:rgba(255,255,255,.55); }

.topic-list-page .tl-card-body{ display:flex; flex-direction:column; justify-content:center; flex:1 1 auto; min-width:0; padding:22px 24px; }
.topic-list-page .tl-card-tit{ display:-webkit-box; overflow:hidden; font-size:18px; font-weight:700; line-height:1.45; color:#232f3e; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.topic-list-page .tl-card:hover .tl-card-tit{ color:var(--color-primary,#232f3e); }
.topic-list-page .tl-card-desc{ display:-webkit-box; overflow:hidden; margin-top:8px; font-size:13px; line-height:1.65; color:#7a828c; -webkit-box-orient:vertical; -webkit-line-clamp:2; }

/* 活动周期：开始 → 截止，日期由 PHP 按站点时区格式化 */
.topic-list-page .tl-card-date{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 7px; margin-top:10px; font-size:12px; line-height:1.6; color:#8c939d; }
.topic-list-page .tl-card-date-item{ white-space:nowrap; }
.topic-list-page .tl-card-date-sep{ font-style:normal; color:#c9ced5; }

/* 行动按钮：卡片本身是链接，这里只能用 span 做视觉按钮；已结束 / 未开始统一置灰 */
.topic-list-page .tl-card-btn{ display:inline-flex; align-items:center; justify-content:center; align-self:flex-start; height:34px; margin-top:14px; padding:0 20px; border-radius:999px; background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%); font-size:13px; font-weight:500; line-height:1; color:#fff; white-space:nowrap; transition:opacity .2s ease,box-shadow .2s ease; }
.topic-list-page .tl-card:hover .tl-card-btn{ opacity:.92; box-shadow:0 6px 16px rgba(35,47,62,.22); }
.topic-list-page .tl-card-btn.is-disabled{ background:#eef0f3; color:#9aa3ad; }
.topic-list-page .tl-card:hover .tl-card-btn.is-disabled{ opacity:1; box-shadow:none; }

/* 非进行中的卡片整体降一档，避免与进行中专题抢视觉重心 */
.topic-list-page .tl-card-ended .tl-card-cover img{ opacity:.7; }
.topic-list-page .tl-card-ended .tl-card-tit{ color:#8b939c; }
.topic-list-page .tl-card-not_started .tl-card-cover img{ opacity:.85; }

/* ---------- 三、空状态 ---------- */
.topic-list-page .tl-empty{ display:flex; flex-direction:column; align-items:center; justify-content:center; padding:72px 20px; border:1px solid #eef0f3; border-radius:12px; background:#fff; box-shadow:0 2px 8px rgba(35,47,62,.05); text-align:center; }
.topic-list-page .tl-empty-icon{ display:block; width:76px; height:76px; border-radius:50%; background:#f2f4f7; }
.topic-list-page .tl-empty-icon::after{ content:""; display:block; width:34px; height:34px; margin:21px auto 0; border-radius:10px; background:linear-gradient(135deg,#dbe1e9 0%,#c9d2dd 100%); }
.topic-list-page .tl-empty-txt{ margin:16px 0 0; font-size:15px; color:#8c8c8c; }
.topic-list-page .tl-empty-btn{ display:inline-block; height:38px; line-height:36px; margin-top:18px; padding:0 26px; border:1px solid var(--color-primary,#232f3e); border-radius:999px; font-size:14px; color:var(--color-primary,#232f3e); text-decoration:none; transition:all .2s; }
.topic-list-page .tl-empty-btn:hover{ background:var(--color-primary,#232f3e); color:#fff; }

/* ---------- 四、分页（沿用边缘页胶囊风格） ---------- */
.topic-list-page .pages{ margin:28px 0 4px; text-align:center; font-size:0; }
.topic-list-page .pages.w1390,
.topic-list-page .pages.w1200{ width:auto; }
.topic-list-page .pages .item{ display:inline-block; width:34px; height:34px; line-height:32px; margin:0 4px; border:1px solid #e3e6eb; border-radius:9px; background:#fff; vertical-align:middle; transition:all .2s; }
.topic-list-page .pages .item a{ float:none; display:block; width:32px; height:32px; line-height:32px; border-radius:8px; font-size:13px; color:#666; background:transparent; }
.topic-list-page .pages .item a .iconfont{ font-size:12px; }
.topic-list-page .pages .item.cur{ border-color:transparent; background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%); }
.topic-list-page .pages .item.cur a{ color:#fff; background:transparent; }
.topic-list-page .pages .item:hover{ border-color:var(--color-primary,#232f3e); }
.topic-list-page .pages .item:hover a{ color:var(--color-primary,#232f3e); }
.topic-list-page .pages .item.cur:hover a{ color:#fff; }
.topic-list-page .pages .item.disabled{ opacity:.45; cursor:not-allowed; }
.topic-list-page .pages .item.disabled:hover{ border-color:#e3e6eb; }
.topic-list-page .pages .item.disabled:hover a{ color:#666; }

/* ---------- 五、响应式 ---------- */
@media screen and (max-width:1440px){
    .topic-list-page .w1200{ width:100%; max-width:100%; padding-inline:16px; box-sizing:border-box; }
    .topic-list-page .tl-grid{ gap:16px; }
    .topic-list-page .tl-card{ min-height:184px; }
    .topic-list-page .tl-card-cover{ flex-basis:50%; max-width:50%; }
    .topic-list-page .tl-card-body{ padding:16px 20px; }
    .topic-list-page .tl-card-tit{ font-size:17px; }
    .topic-list-page .tl-card-desc{ margin-top:6px; }
    .topic-list-page .tl-card-end{ margin-top:10px; }
}

/* 双列会把封面压成竖图，此断点起改单列横向卡，保证封面始终是横图 */
@media screen and (max-width:1200px){
    .topic-list-page .tl-grid{ grid-template-columns:1fr; }
    .topic-list-page .tl-card{ min-height:220px; }
    .topic-list-page .tl-card-cover{ flex-basis:40%; max-width:40%; }
    .topic-list-page .tl-hd{ padding:20px 22px; }
    .topic-list-page .tl-hd-tit{ font-size:20px; }
}

@media screen and (max-width:900px){
    .topic-list-page .tl-grid{ gap:14px; }
    .topic-list-page .tl-card{ min-height:196px; }
    .topic-list-page .tl-card-cover{ flex-basis:42%; max-width:42%; }
    .topic-list-page .tl-card-body{ padding:16px 18px; }
}

@media screen and (max-width:768px){
    .topic-list-page .tl-hd{ margin:14px 0 16px; padding:18px 18px; border-radius:12px; }
    .topic-list-page .tl-hd-tit{ font-size:18px; }
    .topic-list-page .tl-hd-tit::before{ width:4px; height:18px; margin-inline-end:9px; }
    .topic-list-page .tl-card{ min-height:172px; }
    .topic-list-page .tl-card-cover{ flex-basis:40%; max-width:40%; }
    .topic-list-page .tl-card-body{ padding:14px 16px; }
    .topic-list-page .tl-card-tit{ font-size:15px; }
    .topic-list-page .tl-card-desc{ font-size:12px; }
    .topic-list-page .tl-card-date{ margin-top:8px; font-size:11px; }
    .topic-list-page .tl-card-btn{ height:30px; margin-top:10px; padding:0 16px; font-size:12px; }
    .topic-list-page .tl-empty{ padding:48px 16px; }
}

/* 更窄的窗口横排会把封面挤成方图，回落为「上图下文 + 16:9 横图」 */
@media screen and (max-width:520px){
    .topic-list-page .tl-card{ flex-direction:column; min-height:0; }
    .topic-list-page .tl-card-cover{ flex:0 0 auto; width:100%; max-width:100%; padding-top:56.25%; }
    .topic-list-page .tl-card-body{ padding:14px 14px 16px; }
}
