/**
 * WAP 对外公开页 — 主题色统一（在 wap/css/<ctl>.css 之后加载）
 * 无底色：主标题/列表项用 --theme-text-color；次要信息用 rgba(--theme-color-rgb,.62)
 * 有底色：顶栏/按钮/实心标签保持白字（见下方例外块）
 */

/* ---------- 区块标题 ---------- */
.sec-title span,
.index-title h4,
.panel-head,
.more-service .more-title,
.detail-title h4,
.line-title h5 {
	color: var(--theme-text-color, var(--theme-color)) !important;
}

/* ---------- 列表主标题 ---------- */
.tender-list-page .tender-item-title,
.index-tuan .container1 .des h5,
.index-tuan li .des h5,
.main-tuan li .des h5,
.list-media-x .text-default,
.list-media-x .text-small,
.list-media-x li dt,
.list-media-x li dt a,
.list-media-x li dd.zhong > div > p:first-child,
.life-list .line,
.life-list a,
.coupon-list .item-title,
.coupon-list2 .item-title,
.dian-list .item-title,
.panel-list li a,
.panel-list1 li a,
.jin-home-kx li,
.jin-home-kx li a,
.jin-home-gz2 a h2,
#index .cate p,
.www-hatudou-com-goods ul li .goods_name,
.more h3,
.more h3.text-red {
	color: var(--theme-text-color, var(--theme-color)) !important;
}

/* ---------- 次要信息 / meta ---------- */
.tender-list-page .tender-item-meta,
.tender-list-page .tender-item-meta em,
.index-tuan .container1 .des .intro,
.index-tuan li .des .intro,
.main-tuan li .des .intro,
.list-media-x .text-gray,
.text-gray,
.intro.text-gray,
.text-small.text-gray,
.detail-des,
.detail-des span,
.detail .detail-des,
.panel-list li i,
.panel-list li span,
.platformNews .list {
	color: rgba(var(--theme-color-rgb), 0.62) !important;
}

.main-tuan li .des .info,
.main-tuan li .des .info em {
	color: var(--theme-text-color, var(--theme-color)) !important;
}
.main-tuan li .des .info del {
	color: rgba(var(--theme-color-rgb), 0.45) !important;
}

/* ---------- 详情页 ---------- */
.detail h1,
.container .line.detail-base h1,
.container2 .line.detail-base h1,
.tender-detail-page .detail h1 {
	color: var(--theme-text-color, var(--theme-color)) !important;
}

.tender-detail-page .detail-read,
.tender-detail-page .detail-read p,
.tender-detail-page .detail-read span,
.tender-detail-page .detail-read div,
.panel.detail-intro .panel-body,
.panel-body {
	color: rgba(var(--theme-color-rgb), 0.88) !important;
}

.tender-source-url,
.tender-source-url a {
	color: var(--theme-text-color, var(--theme-color)) !important;
}

/* ---------- 描边标签（非实心 badge） ---------- */
.tender-list-page .tender-tag {
	background: rgba(var(--theme-color-rgb), 0.1) !important;
	color: var(--theme-text-color, var(--theme-color)) !important;
	border: 1px solid rgba(var(--theme-color-rgb), 0.22);
}

/* ---------- 筛选条 filter2：统一主题色（替代默认橙色 #f60） ---------- */
#filter2.filter2 .tab li a,
.filter2 .tab li a {
	color: var(--theme-text-color, var(--theme-color)) !important;
}
#filter2.filter2 .tab li a span,
.filter2 .tab li a span {
	color: inherit !important;
}
#filter2.filter2 .tab .current a,
.filter2 .tab .current a {
	color: var(--theme-color-dark, var(--theme-color)) !important;
}
#filter2.filter2 .tab li a em,
.filter2 .tab li a em {
	border-top-color: var(--theme-color) !important;
}
#filter2.filter2 .tab .current a em,
.filter2 .tab .current a em {
	border-top-color: var(--theme-color) !important;
}
.filter2 .cur a,
.filter2 .hasUL_current,
.filter2 .hasUL_current a,
.filter2 .inner_child .current,
.filter2 .inner_child .current a,
.filter2 .inner_parent .current,
.filter2 .inner_parent .current a {
	color: var(--theme-color) !important;
}

/* ---------- 橱窗 brandhome：白卡片内也走主题色 ---------- */
body.brandhome-wap-page .main-tuan li .des h5,
body.brandhome-wap-page .list-media-x .text-small,
body.brandhome-wap-page .list-media-x .text-default,
body.brandhome-wap-page .list-media-x li dt a,
body.brandhome-wap-page .life-list .line,
body.brandhome-wap-page .life-list a {
	color: var(--theme-text-color, var(--theme-color)) !important;
}
body.brandhome-wap-page .main-tuan li .des .intro,
body.brandhome-wap-page .list-media-x .text-gray {
	color: rgba(var(--theme-color-rgb), 0.62) !important;
}
body.brandhome-wap-page .panel-head,
body.brandhome-wap-page .wap-merchant-index-hero__cap {
	color: var(--theme-text-color, var(--theme-color)) !important;
}

/* ---------- 顶栏有主题底：图标/文字/链接全部白字（压过全站 a{主题色}） ---------- */
header.top-fixed,
header.top-fixed.bg-yellow,
header.top-fixed.bg-yellow.bg-inverse,
header.co-wap-header {
	color: var(--theme-on-bg-text, #fff) !important;
}
header.top-fixed .top-title,
header.top-fixed .top-title span,
header.top-fixed .top-addr,
header.top-fixed .top-addr i,
header.top-fixed .top-back a,
header.top-fixed .top-back i,
header.top-fixed .top-signed a,
header.top-fixed .top-signed i,
header.top-fixed .top-signed #search-btn,
header.top-fixed .top-signed #search-btn i,
header.top-fixed .top-signed .icon-search,
header.top-fixed .top-signed .iconfont,
header.top-fixed .top-share a,
header.top-fixed .top-share i,
header.top-fixed .top-share button,
header.top-fixed .top-ping a,
header.top-fixed .top-ping i,
header.top-fixed .wap-location-trigger,
header.top-fixed .wap-location-trigger i,
header.top-fixed .wap-location-city,
header.co-wap-header .top-title,
header.co-wap-header .top-title span,
header.co-wap-header .top-addr,
header.co-wap-header .top-addr i,
header.co-wap-header .shop-top-more-btn,
header.co-wap-header .shop-top-more-btn i {
	color: var(--theme-on-bg-text, #fff) !important;
}

.btn, .button, input[type="submit"], input[type="button"] {
	color: var(--theme-on-bg-text, #fff) !important;
}
.shop-top-more-panel a.shop-top-more-item,
.shop-top-more-panel a.shop-top-more-item:link,
.shop-top-more-panel a.shop-top-more-item:visited {
	color: #111827 !important;
}

/* ---------- 主题按钮：实心=主题底白字；镂空=无底/透明+主题字 ---------- */
a.theme-btn-fill,
button.theme-btn-fill,
.theme-btn-fill.button,
input.theme-btn-fill[type="submit"],
input.theme-btn-fill[type="button"] {
	background: var(--theme-color) !important;
	background-image: none !important;
	border: 1px solid var(--theme-color) !important;
	color: var(--theme-on-bg-text, #fff) !important;
}
a.theme-btn-fill:hover,
a.theme-btn-fill:focus,
button.theme-btn-fill:hover,
.theme-btn-fill.button:hover {
	background: var(--theme-color-hover, var(--theme-color)) !important;
	color: var(--theme-on-bg-text, #fff) !important;
}

a.theme-btn-ghost,
button.theme-btn-ghost,
.theme-btn-ghost.button,
input.theme-btn-ghost[type="submit"],
input.theme-btn-ghost[type="button"] {
	background: transparent !important;
	background-image: none !important;
	border: 1px solid var(--theme-color) !important;
	color: var(--theme-text-color, var(--theme-color)) !important;
}
a.theme-btn-ghost:hover,
a.theme-btn-ghost:focus,
button.theme-btn-ghost:hover,
.theme-btn-ghost.button:hover {
	background: rgba(var(--theme-color-rgb), 0.08) !important;
	color: var(--theme-text-color, var(--theme-color)) !important;
}

/* 主题色顶栏内的小按钮：元素本身无底时白字白边（父级已是主题底） */
header.top-fixed a.theme-btn-ghost,
header.top-fixed .theme-btn-ghost.button {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.65) !important;
	color: var(--theme-on-bg-text, #fff) !important;
}
header.top-fixed a.theme-btn-fill,
header.top-fixed .theme-btn-fill.button {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--theme-text-color, var(--theme-color)) !important;
}

/* 招聘求职 / 应职人才 — 沟通卡片与详情 */
.recruit-contact-card {
	border: 1px solid rgba(var(--theme-color-rgb, 6, 193, 174), 0.25) !important;
	background: rgba(var(--theme-color-rgb, 6, 193, 174), 0.04) !important;
	box-sizing: border-box;
	overflow: hidden;
}
.recruit-contact-card .button { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0 !important; white-space: normal; line-height: 1.35; }
.recruit-contact-card .recruit-chat-link { display: block; width: 100%; box-sizing: border-box; word-break: break-all; }
body.recruit-chat-open .recruit-detail-bar { display: none !important; }
.recruit-chat-drawer { z-index: 10050 !important; }
.recruit-chat-drawer.open .recruit-chat-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0)); }
.recruit-contact-card .button { width: 100%; text-align: center; }
.recruit-detail-salary { color: var(--theme-color) !important; }
.recruit-detail-section h3 { border-left-color: var(--theme-color) !important; color: var(--theme-text-color, var(--theme-color)); }
.recruit-detail-tag { background: rgba(var(--theme-color-rgb, 6, 193, 174), 0.1) !important; color: var(--theme-text-color, var(--theme-color)) !important; }
.recruit-chat-link { color: var(--theme-text-color, var(--theme-color)) !important; }
.recruit-detail-bar { border-top-color: rgba(var(--theme-color-rgb, 6, 193, 174), 0.2) !important; }
.recruit-chat-msg.mine .bubble { background: var(--theme-color) !important; color: var(--theme-on-bg-text, #fff) !important; }

/* WAP 应职人才 / 招聘 Hub / 职业档案 */
.career-nav a.on { color: var(--theme-color) !important; border-bottom-color: var(--theme-color) !important; }
.career-pub-filter button { background: var(--theme-color) !important; color: var(--theme-on-bg-text, #fff) !important; border: none !important; }
.career-pub-item .tag { color: var(--theme-color) !important; }
.career-pub-block h3 { border-left-color: var(--theme-color) !important; color: var(--theme-text-color, var(--theme-color)); }
.recruit-hub .hub-banner { border-color: rgba(var(--theme-color-rgb, 6, 193, 174), 0.25) !important; background: rgba(var(--theme-color-rgb, 6, 193, 174), 0.06) !important; }
.recruit-hub .hub-banner h2 { color: var(--theme-color) !important; }
.recruit-hub .hub-actions a { background: var(--theme-color) !important; color: var(--theme-on-bg-text, #fff) !important; }
.recruit-hub .hub-actions a.secondary { background: #fff !important; color: var(--theme-color) !important; border: 1px solid var(--theme-color) !important; }
.recruit-notice-box { padding: 12px; margin: 0 10px 10px; background: rgba(var(--theme-color-rgb, 6, 193, 174), 0.08); border: 1px solid rgba(var(--theme-color-rgb, 6, 193, 174), 0.25); border-radius: 8px; }
.recruit-notice-box p { margin: 0 0 8px; font-size: 14px; color: var(--theme-text-color, var(--theme-color)); }
.recruit-career-links .button { margin: 0; }
.fabu-form .button.bg-dot,
.career-nav + .fabu-form .button.bg-dot { background: var(--theme-color) !important; color: var(--theme-on-bg-text, #fff) !important; border-color: var(--theme-color) !important; }
