/* ===== 矿业技术（tech.feikuang.net）亮白主题  主题色：科技蓝 #2563eb ===== */
body .tech-page { background: #f5f7fa; min-height: 60vh; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft Yahei", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f2937; }
.tech-page a { text-decoration: none; color: inherit; }
.tech-page a:hover { text-decoration: none; }

/* ===== 容器 ===== */
.tech-container { max-width: 1280px; margin: 0 auto; padding: 24px; box-sizing: border-box; }

/* ===== Hero ===== */
.tech-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1e3a8a 100%);
    color: #fff;
    padding: 56px 20px 64px;
    overflow: hidden;
    text-align: center;
}
.tech-hero.tech-hero-sm { padding: 40px 20px 36px; }
.tech-hero:before,
.tech-hero:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.tech-hero:before {
    top: -100px; right: -60px;
    width: 380px; height: 380px;
    background: rgba(37, 99, 235, .45);
}
.tech-hero:after {
    bottom: -140px; left: -80px;
    width: 420px; height: 420px;
    background: rgba(14, 165, 233, .28);
}
.tech-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.tech-hero-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .18);
    border: 1px solid rgba(96, 165, 250, .45);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.tech-hero h1 {
    margin: 0 0 14px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.tech-hero-sm h1 { font-size: 30px; margin-bottom: 10px; }
.tech-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tech-hero-sub {
    max-width: 760px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(226, 232, 240, .85);
}
.tech-hero-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.tech-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    font-size: 13px;
    color: rgba(226,232,240,.9);
}
.tech-hero-chip i {
    width: 6px; height: 6px; border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px #3b82f6;
}
.tech-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13.5px;
    color: rgba(226,232,240,.75);
    margin-top: 6px;
}
.tech-hero-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== 分类胶囊条（和其他频道同款） ===== */
.tech-catbar { background: #fff; border-bottom: 1px solid #eef0f3; padding: 12px 0; }
.tech-catbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tech-catbar-btn {
    height: 34px; padding: 0 18px; line-height: 34px;
    background: #f3f4f6; color: #475569; border: none; border-radius: 999px;
    font-size: 13.5px; cursor: pointer; transition: all .2s;
    font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none; white-space: nowrap;
}
.tech-catbar-btn:hover { background: #e5e7eb; color: #1f2937; }
.tech-catbar-btn.is-active {
    background: linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);
    color: #fff; font-weight: 600;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
}

/* ===== 面包屑 ===== */
.tech-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    padding: 12px 0;
    font-size: 13px;
    color: #94a3b8;
}
.tech-breadcrumb .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.tech-breadcrumb a { color: #64748b; }
.tech-breadcrumb a:hover { color: #2563eb; }
.tech-breadcrumb span { margin: 0 8px; color: #cbd5e1; }
.tech-breadcrumb .current { color: #334155; }

/* ===== Section 区块 ===== */
.tech-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title .section-more {
    margin-left: auto;
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
}
.section-title .section-more:hover { color: #2563eb; }
.section-title .section-count {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
}

/* ===== 矿业日报 网格 ===== */
.tech-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.tech-news-grid-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all .3s;
    background: #fff;
}
.tech-news-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
    border-color: #dbeafe;
}
.tech-news-grid-link {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 66%;
    overflow: hidden;
    background: #f3f4f6;
}
.tech-news-grid-link img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform .3s;
    border: none !important; padding: 0 !important;
}
.tech-news-grid-item:hover .tech-news-grid-link img { transform: scale(1.06); }
.tech-news-grid-title {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
    color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== 新闻列表 ===== */
.tech-news-list { }
.tech-news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}
.tech-news-item:last-child { border-bottom: none; }
.tech-news-item-sm { padding: 10px 0; }
.tech-news-item-sm .tech-news-title { font-size: 14px; margin-bottom: 4px; }
.tech-news-item-sm .tech-news-summary { display: none; }
.tech-news-thumb {
    width: 200px;
    height: 132px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}
.tech-news-thumb img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .3s;
    border: none !important; padding: 0 !important;
}
.tech-news-item:hover .tech-news-thumb img { transform: scale(1.05); }
.tech-news-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tech-news-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.tech-news-title:hover { color: #2563eb; }
.tech-news-summary {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.tech-news-meta { font-size: 12.5px; color: #94a3b8; margin-top: auto; }
.tech-news-meta span { margin-right: 16px; display: inline-flex; align-items: center; gap: 3px; }

/* ===== 文章详情 ===== */
.tech-article-wrap { }
.tech-detail-layout { display: flex; gap: 20px; align-items: flex-start; }
.tech-detail-main { flex: 1; min-width: 0; }
.tech-detail-side { width: 300px; flex-shrink: 0; }

.tech-article {
    background: #fff; border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    margin-bottom: 20px;
}
.tech-article-introduce {
    background: #f8fafc; border-left: 4px solid #2563eb;
    padding: 14px 18px; margin-bottom: 24px;
    font-size: 14px; color: #475569; line-height: 1.8;
    border-radius: 0 8px 8px 0;
}
.tech-article-content {
    font-size: 16px; line-height: 1.9; color: #1f2937;
}
.tech-article-content p { margin-bottom: 18px; }
.tech-article-content img { max-width: 100%; height: auto; display: block; margin: 24px auto; border-radius: 6px; border: none !important; padding: 0 !important; }
.tech-article-content h2, .tech-article-content h3 { color: #0f172a; margin: 28px 0 14px; font-weight: 700; }
.tech-article-content a { color: #2563eb; text-decoration: underline; }
.tech-article-tags {
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.tech-tag {
    display: inline-block; padding: 5px 14px;
    background: #eff6ff; color: #2563eb;
    border-radius: 999px; font-size: 12.5px;
    margin: 4px 6px 4px 0; transition: all .2s;
}
.tech-tag:hover { background: #dbeafe; color: #1d4ed8; }
.tech-article-actions {
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}
.tech-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px;
    padding: 0 24px;
    background: linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);
    color: #fff !important;
    border: none; border-radius: 8px;
    font-size: 14px; font-weight: 500; line-height: 1;
    cursor: pointer; transition: all .2s;
    font-family: inherit;
    box-shadow: 0 4px 10px rgba(37,99,235,.2);
    text-decoration: none;
    box-sizing: border-box;
}
.tech-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(37,99,235,.3); color: #fff !important; text-decoration: none; }
.tech-btn i { color: #fff !important; font-size: 16px; line-height: 1; }
.tech-btn-outline {
    background: #fff; color: #2563eb !important; border: 1px solid #bfdbfe;
    box-shadow: none;
}
.tech-btn-outline:hover { background: #eff6ff; border-color: #2563eb; color: #1d4ed8 !important; box-shadow: none; transform: none; }
.tech-btn-outline i { color: inherit !important; }

/* ===== 右栏卡片 ===== */
.tech-detail-side .userinfo {
    background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
}
.tech-side-card {
    background: #fff; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
}
.tech-side-title {
    font-size: 15px; font-weight: 700; color: #1f2937;
    margin: 0 0 14px; padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex; align-items: center; gap: 6px;
}
.tech-side-list, .tech-side-rank { display: flex; flex-direction: column; gap: 10px; }
.tech-side-list a, .tech-side-rank a {
    font-size: 13.5px; color: #475569; line-height: 1.5; transition: color .15s;
}
.tech-side-list a:hover, .tech-side-rank a:hover { color: #2563eb; }

/* 点击排行 */
.tech-rank-item { display: flex; align-items: flex-start; gap: 10px; }
.tech-rank-num {
    flex-shrink: 0; width: 22px; height: 22px; line-height: 22px;
    text-align: center; font-size: 12px; font-weight: 700;
    background: #f1f5f9; color: #64748b; border-radius: 4px;
}
.tech-rank-num.tech-rank-top { background: linear-gradient(135deg,#3b82f6,#2563eb); color: #fff; }
.tech-rank-item a { font-size: 13.5px; color: #475569; line-height: 1.5; flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tech-rank-item a:hover { color: #2563eb; }

/* 推荐图文 */
.tech-side-thumb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tech-side-thumb-list table { width: 100%; }
.tech-side-thumb-list td { padding: 4px; vertical-align: top; }
.tech-side-thumb-list img { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; border: none !important; }
.tech-side-thumb-list a { font-size: 12.5px; color: #475569; display: block; margin-top: 4px; line-height: 1.4; }

/* ===== 右栏：发布者信息卡片（和sell/video同款，科技蓝主题） ===== */
.tech-page .tech-userinfo-card {
    background: #fff;
    border: none !important;
    border-radius: 0;
    padding: 20px;
    margin: 0 0 16px;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    border-radius: 12px;
}
.tech-page .tech-userinfo { text-align: center; }
.tech-page .tech-company-logo,
.tech-page .tech-personal-avatar {
    width: 72px; height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: none !important;
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.tech-page .tech-company-logo img,
.tech-page .tech-personal-avatar img {
    width: 100%; height: 100%; object-fit: cover;
    border: none !important; padding: 0 !important; display: block;
}
.tech-page .tech-company-name,
.tech-page .tech-personal-name {
    color: #0f172a !important;
    font-size: 15px; font-weight: 600;
    margin: 0 0 8px;
}
.tech-page .tech-group-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg,#60a5fa,#2563eb);
    color: #fff !important;
    border-radius: 999px;
    font-size: 12px;
    border: none;
}
.tech-page .tech-company-menu {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9 !important;
}
.tech-page .tech-menu-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 14px 8px;
    color: #475569 !important;
    border-radius: 10px;
    transition: all .2s;
    text-decoration: none;
    background: #f9fafb !important;
    border: 1px solid transparent;
}
.tech-page .tech-menu-item:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe;
    text-decoration: none;
    transform: translateY(-1px);
}
.tech-page .tech-menu-item i {
    font-size: 18px;
    margin-bottom: 6px;
    color: #3b82f6;
}
.tech-page .tech-menu-item span {
    font-size: 12px; color: inherit;
}

/* ===== 分页 ===== */
.tech-pagination { text-align: center; padding: 8px 0 0; }
.tech-pagination a,
.tech-pagination span,
.tech-pagination strong {
    display: inline-block; padding: 8px 14px; margin: 0 3px;
    border: 1px solid #e2e8f0; border-radius: 6px; color: #475569;
    font-size: 13.5px; transition: all .15s;
    background: #fff;
}
.tech-pagination a:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.tech-pagination .current,
.tech-pagination strong { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 500; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .tech-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .tech-hero { padding: 40px 16px 48px; }
    .tech-hero-sm { padding: 30px 16px 28px; }
    .tech-hero h1 { font-size: 28px; }
    .tech-hero-sm h1 { font-size: 22px; }
    .tech-hero-sub { font-size: 14px; }
    .tech-container { padding: 16px; }
    .tech-section { padding: 18px 16px; }
    .tech-catbar-inner, .tech-breadcrumb .container { padding: 0 14px; }
    .tech-news-item { flex-direction: column; gap: 10px; }
    .tech-news-thumb { width: 100%; height: 190px; }
    .tech-news-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tech-article { padding: 22px 18px; }
    .tech-hero-meta { gap: 12px; font-size: 12.5px; }
    .tech-detail-layout { flex-direction: column; }
    .tech-detail-side { width: 100%; }
    .tech-article-actions { flex-wrap: wrap; gap: 10px; }
}
