/* ================================================================
   易菇网 · 公司频道（菌物企业库）样式  company.css
   ----------------------------------------------------------------
   设计目标：把"数据展示页"改为"企业查找工具页"
     1) 首屏即完成「搜索 / 分类 / 地区」三大查找动作
     2) 统计图表退居侧栏，企业卡片信息前置（主营 + 地区 + 类型）
     3) 全部类名 co- 前缀，与 channel.css 的 ch- 互不干扰
     4) 零 JS、零第三方库，内联 SVG 图标
   ================================================================ */

/* ---------------- 1. 工具头 Hero ---------------- */
.co-hero {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(135deg, #0E3B2E, #134F3C 58%, #0E4E52);
	color: #EAF7F1;
	padding: 24px 0 22px;
	box-shadow: 0 18px 50px rgba(43, 182, 115, .16);
}
.co-hero::before {
	content: '';
	position: absolute; inset: 0; opacity: .16;
	background-image:
		linear-gradient(rgba(94,234,212,.28) 1px, transparent 1px),
		linear-gradient(90deg, rgba(94,234,212,.28) 1px, transparent 1px);
	background-size: 44px 44px;
	pointer-events: none;
}
.co-hero::after {
	content: '';
	position: absolute;
	width: 460px; height: 460px;
	right: -150px; top: -240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(61,214,140,.32), transparent 66%);
	pointer-events: none;
}
.co-hero-in {
	position: relative; z-index: 2;
	display: flex; align-items: center; gap: 30px;
	padding: 0 28px;
}
.co-hero-l { flex: 1; min-width: 0; }
.co-hero-tag {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12px; letter-spacing: .6px;
	padding: 5px 12px; border-radius: 20px;
	background: rgba(94,234,212,.14);
	border: 1px solid rgba(94,234,212,.34);
	color: #9FF0DC;
}
.co-hero-tag i {
	width: 6px; height: 6px; border-radius: 50%;
	background: #3DD68C; box-shadow: 0 0 10px #3DD68C;
	animation: co-blink 1.6s infinite;
}
@keyframes co-blink { 0%,100%{opacity:1;} 50%{opacity:.28;} }
.co-hero h1 {
	font-size: 28px; font-weight: 800; letter-spacing: 1px;
	margin: 11px 0 7px; color: #fff;
}
.co-hero h1 em { font-style: normal; color: #5EEAD4; }
.co-hero-sub {
	font-size: 12.5px; line-height: 1.8; color: #A9CCBF;
	max-width: 700px;
}
.co-hero-sub b { color: #7DE8C0; font-weight: 700; }

.co-search { display: flex; margin-top: 15px; width: 620px; max-width: 100%; }
.co-search input {
	flex: 1; min-width: 0; height: 46px;
	border: none; border-radius: 12px 0 0 12px;
	padding: 0 18px; font-size: 13.5px;
	background: rgba(255,255,255,.95); color: #12332A; outline: none;
}
.co-search button {
	height: 46px; padding: 0 32px; flex: none;
	border: none; border-radius: 0 12px 12px 0;
	cursor: pointer; font-size: 14px; font-weight: 800; letter-spacing: 3px;
	background: linear-gradient(135deg, #3DD68C, #26C6DA);
	color: #04301F;
}
.co-search button:hover { filter: brightness(1.06); }
.co-hot {
	margin-top: 11px; font-size: 12px; color: #8FB7A9;
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.co-hot a {
	padding: 3px 11px; border-radius: 14px;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(94,234,212,.2);
	color: #B8DED0;
}
.co-hot a:hover { background: rgba(94,234,212,.18); color: #fff; }

.co-hero-r { width: 300px; flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-hstat {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(94,234,212,.2);
	border-radius: 13px;
	padding: 13px 14px;
}
.co-hstat b {
	display: block; font-size: 23px; font-weight: 800; line-height: 1.1;
	color: #5EEAD4; letter-spacing: .5px;
	font-family: Impact, "Arial Black", sans-serif;
}
.co-hstat span { display: block; font-size: 11.5px; color: #8FB7A9; margin-top: 4px; }

/* ---------------- 2. 快捷筛选条 ---------------- */
.co-quick {
	margin-top: 14px;
	background: #fff;
	border: 1px solid var(--f-line, #E3EFE9);
	border-radius: 16px;
	padding: 13px 18px;
	box-shadow: 0 8px 28px rgba(43,182,115,.09);
	display: flex; flex-direction: column; gap: 11px;
}
.co-qrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.co-qrow > strong {
	font-size: 12.5px; color: var(--f-ink3, #8AA79C); font-weight: 700;
	flex: none; width: 62px;
}
.co-qrow a {
	padding: 5px 12px; border-radius: 9px; font-size: 12.5px;
	background: #F7FBF9; border: 1px solid var(--f-line, #E3EFE9);
	color: var(--f-ink2, #456356);
	transition: .18s;
}
.co-qrow a:hover {
	background: linear-gradient(135deg, rgba(61,214,140,.16), rgba(94,234,212,.12));
	color: var(--f-p2, #2BB673);
	border-color: var(--f-line-strong, #B9E6D2);
}
.co-qrow a em { font-style: normal; color: var(--f-ink4, #A9BFB6); font-size: 11px; margin-left: 3px; }
.co-qrow a.co-qadv {
	background: linear-gradient(135deg, rgba(61,214,140,.16), rgba(94,234,212,.13));
	border-color: var(--f-line-strong, #B9E6D2);
	color: var(--f-p2, #2BB673); font-weight: 700;
}

/* ---------------- 3. 分类导航 ---------------- */
.co-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.co-cat {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; gap: 3px;
	padding: 16px 16px 14px;
	border-radius: 15px;
	background: #fff;
	border: 1px solid var(--f-line, #E3EFE9);
	box-shadow: 0 8px 28px rgba(43,182,115,.09);
	transition: transform .22s, box-shadow .22s, border-color .22s;
}
.co-cat:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 46px rgba(43,182,115,.16);
	border-color: var(--f-line-strong, #B9E6D2);
}
.co-cat svg {
	width: 27px; height: 27px; margin-bottom: 8px;
	fill: none; stroke: #2BB673; stroke-width: 1.7;
	stroke-linecap: round; stroke-linejoin: round;
}
.co-cat b { font-size: 14px; font-weight: 700; color: var(--f-ink, #1B3A2E); }
.co-cat span { font-size: 11.5px; color: var(--f-ink3, #8AA79C); }
.co-cat em {
	position: absolute; right: 13px; top: 15px;
	font-style: normal; font-size: 11.5px; font-weight: 800;
	color: var(--f-p2, #2BB673);
	background: rgba(61,214,140,.12);
	padding: 2px 8px; border-radius: 999px;
	font-variant-numeric: tabular-nums;
}

/* ---------------- 4. 区块标题 ---------------- */
.co-hd {
	display: flex; align-items: center; gap: 10px;
	padding-bottom: 11px; margin-bottom: 14px;
	border-bottom: 1px solid var(--f-line, #E3EFE9);
}
.co-hd h2 {
	font-size: 18px; font-weight: 800; letter-spacing: .5px;
	position: relative; padding-left: 15px;
	color: var(--f-ink, #1B3A2E);
}
.co-hd h2::before {
	content: '';
	position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 4px; height: 17px; border-radius: 2px;
	background: linear-gradient(180deg, var(--f-p1, #3DD68C), var(--f-p3, #26C6DA));
	box-shadow: 0 2px 8px rgba(61,214,140,.5);
}
.co-hd em { font-style: normal; font-size: 12px; color: var(--f-ink3, #8AA79C); }
.co-hd .co-more {
	margin-left: auto; font-size: 12.5px; color: var(--f-ink3, #8AA79C);
	display: flex; align-items: center; gap: 4px;
}
.co-hd .co-more:hover { color: var(--f-p2, #2BB673); }

/* ---------------- 5. 企业卡（横版） ---------------- */
.co-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.co-card {
	display: flex; gap: 13px;
	padding: 14px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--f-line, #E3EFE9);
	box-shadow: 0 6px 22px rgba(43,182,115,.08);
	transition: transform .22s, box-shadow .22s, border-color .22s;
}
.co-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 42px rgba(43,182,115,.16);
	border-color: var(--f-line-strong, #B9E6D2);
}
.co-card .lg {
	width: 64px; height: 64px; flex: none;
	border-radius: 11px; overflow: hidden;
	background: #F7FBF9; border: 1px solid var(--f-line, #E3EFE9);
	display: flex; align-items: center; justify-content: center;
}
.co-card .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.co-card .lg .ph { font-size: 19px; font-weight: 800; color: #BFD9CE; letter-spacing: 1px; }
.co-card .bd { flex: 1; min-width: 0; }
.co-card .nm {
	display: block; font-size: 14px; font-weight: 700;
	color: var(--f-ink, #1B3A2E); line-height: 1.45;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.co-card .nm:hover { color: var(--f-p2, #2BB673); }
.co-card .ds {
	margin-top: 5px; font-size: 12px; color: var(--f-ink3, #8AA79C);
	line-height: 1.55; height: 37px; overflow: hidden;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.co-card .mt { margin-top: 7px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.co-card .mt i {
	font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 8px;
	background: #EDF6F1; color: var(--f-ink3, #8AA79C);
}
.co-card .mt i.t { background: rgba(61,214,140,.14); color: var(--f-p2, #2BB673); font-weight: 700; }

/* ---------------- 6. 紧凑列表（最新入驻） ---------------- */
.co-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 16px; }
.co-li {
	display: flex; align-items: center; gap: 9px;
	padding: 10px 9px; border-radius: 10px; font-size: 13px;
	transition: background .18s;
}
.co-li:hover { background: rgba(61,214,140,.07); }
.co-li .no {
	width: 20px; height: 20px; border-radius: 6px; flex: none;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 800;
	background: #EDF6F1; color: var(--f-ink3, #8AA79C);
	font-family: Impact, sans-serif;
}
.co-li:nth-child(1) .no { background: linear-gradient(135deg,#FFB53D,#FF8A3D); color: #fff; }
.co-li:nth-child(2) .no { background: linear-gradient(135deg,#9FD8FF,#6FB4F0); color: #fff; }
.co-li:nth-child(3) .no { background: linear-gradient(135deg,#C6B6FF,#9B85F5); color: #fff; }
.co-li b {
	flex: 1; min-width: 0; font-weight: 500;
	color: var(--f-ink2, #456356);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.co-li b:hover { color: var(--f-p2, #2BB673); }
.co-li .rg {
	flex: none; font-size: 11px; color: var(--f-ink4, #A9BFB6);
	max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------------- 7. 主区栅格 + 侧栏 ---------------- */
.co-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 18px; }
.co-main > * { min-width: 0; }
.co-side {
	background: #fff; border: 1px solid var(--f-line, #E3EFE9);
	border-radius: 14px; padding: 14px 15px; margin-bottom: 14px;
	box-shadow: 0 8px 28px rgba(43,182,115,.09);
}
.co-side-t {
	display: flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 800; color: var(--f-ink, #1B3A2E);
	margin-bottom: 12px; padding-bottom: 10px;
	border-bottom: 1px dashed var(--f-line-soft, #EAF4EF);
}
.co-side-t em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--f-ink3, #8AA79C); margin-left: auto; }
.co-bar { display: flex; flex-direction: column; gap: 10px; }
.co-bar-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; text-decoration: none; }
.co-bar-row .k {
	width: 94px; flex: none; color: var(--f-ink2, #456356);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.co-bar-row .bar { flex: 1; min-width: 0; height: 8px; border-radius: 5px; background: #F1F8F4; overflow: hidden; }
.co-bar-row .bar i {
	display: block; height: 100%; border-radius: 5px;
	background: linear-gradient(90deg, #3DD68C, #26C6DA);
}
.co-bar-row b {
	flex: none; width: 46px; text-align: right; font-size: 12px;
	font-weight: 800; color: var(--f-ink, #1B3A2E);
	font-variant-numeric: tabular-nums;
}
.co-note {
	font-size: 12px; color: var(--f-ink3, #8AA79C); line-height: 1.85;
}
.co-note b { color: var(--f-p2, #2BB673); font-weight: 700; }
.co-chip {
	display: inline-block; margin-top: 9px;
	font-size: 11px; padding: 3px 10px; border-radius: 12px;
	background: linear-gradient(135deg, rgba(61,214,140,.16), rgba(94,234,212,.14));
	border: 1px solid var(--f-line-strong, #B9E6D2);
	color: var(--f-p2, #2BB673); font-weight: 700;
}
.co-empty {
	padding: 22px 14px; text-align: center; font-size: 12.5px;
	color: var(--f-ink4, #A9BFB6);
	background: #F7FBF9; border: 1px dashed var(--f-line, #E3EFE9);
	border-radius: 12px; line-height: 1.9;
}
.co-empty b { display: block; font-size: 13.5px; color: var(--f-ink3, #8AA79C); margin-bottom: 4px; }

/* ---------------- 8. 响应式 ---------------- */
@media (max-width: 1180px) {
	.co-main { grid-template-columns: 1fr; }
	.co-hero-in { flex-direction: column; align-items: stretch; }
	.co-hero-r { width: 100%; grid-template-columns: repeat(4, 1fr); }
	.co-cats { grid-template-columns: repeat(3, 1fr); }
	.co-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.co-hero { border-radius: 15px; padding: 18px 0 16px; }
	.co-hero-in { padding: 0 16px; gap: 18px; }
	.co-hero h1 { font-size: 23px; }
	.co-hero-r { grid-template-columns: 1fr 1fr; }
	.co-hero-r .co-hstat:nth-child(n+3) { display: none; }
	.co-search button { padding: 0 20px; letter-spacing: 1px; }
	.co-cats { grid-template-columns: 1fr 1fr; gap: 9px; }
	.co-cat { padding: 13px 13px 11px; }
	.co-cat em { right: 10px; top: 12px; }
	.co-grid { grid-template-columns: 1fr; }
	.co-list { grid-template-columns: 1fr; }
	.co-qrow > strong { width: 100%; }
}
