﻿@charset "utf-8";
/* ============================================================
   频道页样式（/news/ 资讯频道、/sell/ 供应频道）
   布局：左侧 240px 三级行业树 + 右侧内容
   配色沿用 site-theme.css：主色 #E1251B，卡片白底 12px 圆角
   ============================================================ */

/* ---------- 1. 外框与两栏 ---------- */
.hy-wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 12px 0 10px;
    box-sizing: border-box;
}
.hy-crumb {
    font-size: 13px;
    color: #8A93A3;
    line-height: 38px;
    height: 38px;
    overflow: hidden;
}
.hy-crumb a { color: #5A6474; }
.hy-crumb a:hover { color: #E1251B; }
.hy-crumb span { padding: 0 6px; color: #C4CBD6; }
.hy-crumb em { font-style: normal; color: #1F2329; }

.hy-layout {
    display: block;
    width: 100%;
    overflow: hidden;
}
.hy-side {
    float: left;
    width: 240px;
    box-sizing: border-box;
}
.hy-main {
    float: right;
    width: 944px;
    box-sizing: border-box;
    min-width: 0;
}
.hy-layout::after { content: ""; display: table; clear: both; }

/* ---------- 2. 侧栏卡片：见 /css/hyside.css（与 show.aspx 共用） ---------- */

/* ---------- 3. 三级行业树 ---------- */
.hy-tree-box {
    max-height: 566px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}
.hy-tree-box::-webkit-scrollbar { width: 6px; }
.hy-tree-box::-webkit-scrollbar-thumb { background: #DDE2EA; border-radius: 3px; }
.hy-tree-box::-webkit-scrollbar-track { background: transparent; }

.hy-tree, .hy-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* 默认收起，加 .open 展开 */
.hy-tree ul { display: none; padding-left: 10px; }
.hy-tree li.open > ul { display: block; }
.hy-tree li { position: relative; }

.hy-tree li > a {
    display: block;
    padding: 6px 20px 6px 9px;
    font-size: 13px;
    line-height: 19px;
    color: #5A6474;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .14s ease, color .14s ease;
}
.hy-tree li > a:hover { background: #FFF4F3; color: #E1251B; text-decoration: none; }

/* 一级更重一些 */
.hy-tree > li > a {
    font-size: 14px;
    font-weight: 500;
    color: #1F2329;
    padding-top: 7px;
    padding-bottom: 7px;
}

/* 展开箭头 */
.hy-tg {
    position: absolute;
    right: 4px;
    top: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    z-index: 2;
}
.hy-tg::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-left-color: #BFC6D2;
    transition: transform .16s ease;
}
.hy-tree > li > .hy-tg { top: 10px; }
.hy-tree li:hover > .hy-tg::before { border-left-color: #E1251B; }
.hy-tree li.open > .hy-tg::before {
    border-left-color: transparent;
    border-top-color: #BFC6D2;
    transform: translateY(2px);
}
.hy-tree li.open:hover > .hy-tg::before { border-top-color: #E1251B; }
.hy-tree li.open > .hy-tg::before { transform: translateY(2px) rotate(0deg); }

/* 当前分类 */
.hy-tree li.active > a,
.hy-tree li.active > a:hover {
    background: #E1251B;
    color: #FFFFFF !important;
    font-weight: 600;
}
.hy-tree li.active > .hy-tg::before { border-left-color: #FFFFFF; }
.hy-tree li.active.open > .hy-tg::before {
    border-left-color: transparent;
    border-top-color: #FFFFFF;
}

/* 侧栏列表样式：见 /css/hyside.css */

/* ---------- 4. 内容卡片 ---------- */
.hy-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
    padding: 16px 20px 20px;
    margin-bottom: 14px;
    box-sizing: border-box;
}
.hy-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #F2F4F8;
    padding-bottom: 12px;
    margin-bottom: 4px;
}
.hy-card-hd h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2329;
    line-height: 22px;
    margin: 0;
    padding-left: 10px;
    border-left: 4px solid #E1251B;
}
.hy-card-hd .hy-hd-right {
    font-size: 12px;
    color: #8A93A3;
}
.hy-card-hd .hy-hd-right b { color: #E1251B; font-weight: 600; }

/* 企业行 */
.hy-biz {
    display: block;
    padding: 13px 6px;
    border-bottom: 1px dashed #EFF2F7;
    color: inherit;
    transition: background .14s ease;
}
.hy-biz:last-child { border-bottom: 0; }
.hy-biz:hover { background: #FAFBFD; text-decoration: none; }
.hy-biz-name {
    font-size: 15px;
    font-weight: 500;
    color: #1F2329;
    line-height: 22px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hy-biz:hover .hy-biz-name { color: #E1251B; }
.hy-biz-meta {
    font-size: 12px;
    color: #8A93A3;
    line-height: 20px;
    overflow: hidden;
}
.hy-biz-meta span { margin-right: 16px; white-space: nowrap; }
.hy-biz-meta i { font-style: normal; color: #C4CBD6; margin-right: 4px; }
.hy-biz-desc {
    font-size: 12px;
    color: #A8B0BE;
    line-height: 20px;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 空状态 */
.hy-empty {
    padding: 40px 0;
    text-align: center;
    color: #A8B0BE;
    font-size: 13px;
}

/* ---------- 5. 资讯列表（右侧与无分类时的主列表） ---------- */
.hy-news-list { list-style: none; margin: 0; padding: 0; }
.hy-news-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 11px 2px;
    border-bottom: 1px dashed #EFF2F7;
    font-size: 14px;
    line-height: 21px;
}
.hy-news-list li:last-child { border-bottom: 0; }
.hy-news-list li a {
    color: #1F2329;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 16px;
}
.hy-news-list li a:hover { color: #E1251B; }
.hy-news-list li span {
    flex: 0 0 auto;
    font-size: 12px;
    color: #A8B0BE;
    line-height: 21px;
}

/* 资讯图文列表（无分类时的主列表，沿用 .column-infolist 的卡片化 .single） */
.hy-main .listcolumn { float: none !important; width: auto !important; }
.hy-main .listcolumn .column-infolist { background: #FFFFFF; border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); padding: 6px 18px 14px; }

/* ---------- 6. 供应频道网格 ---------- */
.hy-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 6px -8px 0;
}
.hy-grid .hy-item {
    width: 33.3333%;
    padding: 8px;
    box-sizing: border-box;
}
.hy-grid .hy-item-in {
    border: 1px solid #EDF0F5;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
    height: 100%;
    box-sizing: border-box;
}
.hy-grid .hy-item-in:hover {
    border-color: #FFD7D3;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .09);
    transform: translateY(-2px);
}
.hy-grid .hy-item-pic {
    display: block;
    width: 100%;
    height: 156px;
    background: #F7F9FC;
    overflow: hidden;
}
.hy-grid .hy-item-pic img {
    width: 100%;
    height: 156px;
    object-fit: cover;
    display: block;
}
.hy-grid .hy-item-bd { padding: 10px 12px 13px; }
.hy-grid .hy-item-bd h3 {
    font-size: 14px;
    font-weight: 500;
    color: #1F2329;
    line-height: 21px;
    height: 42px;
    margin: 0 0 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hy-grid .hy-item-bd h3 a { color: #1F2329; }
.hy-grid .hy-item-bd h3 a:hover { color: #E1251B; }
.hy-grid .hy-item-bd p {
    font-size: 12px;
    color: #8A93A3;
    line-height: 20px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hy-grid .hy-item-bd p a { color: #8A93A3; }
.hy-grid .hy-item-bd p a:hover { color: #E1251B; }
/* 产品卡片右下角的商业分类标签（园区招商、餐饮美食…） */
.hy-grid .hy-item-bd p .hy-item-tag {
    float: right;
    font-style: normal;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    margin-left: 6px;
    background: #FFF4F3;
    color: #E1251B;
    border-radius: 4px;
    font-size: 11px;
}

/* ---------- 7. 分页 ---------- */
.hy-page {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 18px 2px 2px;
    font-size: 13px;
}
.hy-page-info {
    margin-right: auto;
    font-size: 12px;
    color: #8A93A3;
}
.hy-page-info b { color: #1F2329; font-weight: 600; }
.hy-page a,
.hy-page .hy-page-cur {
    display: inline-block;
    min-width: 34px;
    height: 32px;
    line-height: 30px;
    padding: 0 10px;
    text-align: center;
    border: 1px solid #E8ECF2;
    border-radius: 8px;
    background: #FFFFFF;
    color: #5A6474;
    box-sizing: border-box;
    transition: all .14s ease;
}
.hy-page a:hover { border-color: #E1251B; color: #E1251B; text-decoration: none; }
.hy-page .hy-page-cur {
    background: #E1251B;
    border-color: #E1251B;
    color: #FFFFFF;
    font-weight: 600;
}
.hy-page em { font-style: normal; color: #C4CBD6; padding: 0 2px; }

/* ---------- 8. 窄屏 ---------- */
@media screen and (max-width: 1220px) {
    .hy-wrap { width: 100%; padding-left: 12px; padding-right: 12px; }
    .hy-side { width: 210px; }
    .hy-main { width: calc(100% - 224px); }
    .hy-grid .hy-item { width: 50%; }
}
@media screen and (max-width: 900px) {
    .hy-side, .hy-main { float: none; width: 100%; }
    .hy-side { margin-bottom: 12px; }
    .hy-grid .hy-item { width: 100%; }
}

/* ---------- 9. 行业资讯图文列表（/news/{拼音}/ 右侧） ---------- */
.hy-tip {
    margin: 12px 2px 0;
    padding: 8px 12px;
    background: #FFF8F0;
    border: 1px solid #FFE7CC;
    border-radius: 8px;
    color: #B25E09;
    font-size: 12px;
    line-height: 18px;
}
.hy-nlist { list-style: none; margin: 0; padding: 0; }
.hy-nlist li {
    display: flex;
    align-items: flex-start;
    padding: 16px 2px;
    border-bottom: 1px dashed #EFF2F7;
}
.hy-nlist li:last-child { border-bottom: 0; }
.hy-nlist-pic {
    flex: 0 0 168px;
    width: 168px;
    height: 108px;
    margin-right: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #F7F9FC;
    display: block;
}
.hy-nlist-pic img {
    width: 168px;
    height: 108px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.hy-nlist li:hover .hy-nlist-pic img { transform: scale(1.04); }
.hy-nlist-bd { flex: 1 1 auto; min-width: 0; }
.hy-nlist-bd h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin: 0 0 7px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hy-nlist-bd h3 a { color: #1F2329; }
.hy-nlist-bd h3 a:hover { color: #E1251B; }
.hy-nlist-bd p {
    font-size: 13px;
    color: #8A93A3;
    line-height: 21px;
    height: 42px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hy-nlist-meta { margin-top: 9px; font-size: 12px; color: #A8B0BE; line-height: 20px; }
.hy-nlist-meta span {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 8px;
    margin-right: 8px;
    background: #FFF4F3;
    color: #E1251B;
    border-radius: 4px;
    font-size: 12px;
}
.hy-nlist-meta em { font-style: normal; }

@media screen and (max-width: 900px) {
    .hy-nlist-pic, .hy-nlist-pic img { flex: 0 0 112px; width: 112px; height: 78px; }
    .hy-nlist-pic { margin-right: 12px; }
    .hy-nlist-bd h3 { font-size: 15px; line-height: 22px; }
    .hy-nlist-bd p { display: none; }
}
