/*
Theme Name: Astra Child (fiberh)
Template: astra
Version: 1.0.0
Description: www.fiberh.com 安科士 Andxe 定制子主题。
*/

/* ===== 品牌与基础 ===== */
.fh-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.fh-logo-mark{width:38px;height:38px;border-radius:9px;background:linear-gradient(135deg,#30A8E4,#0b1f3f);display:flex;align-items:center;justify-content:center;flex:none}
.fh-logo-mark svg{width:22px;height:22px;stroke:#fff}
.fh-logo-text{display:flex;flex-direction:column;line-height:1.15}
.fh-logo-text b{font-size:20px;font-weight:800;color:#0b1f3f;letter-spacing:.5px}
.fh-logo-text i{font-style:normal;font-size:11px;color:#64748b;letter-spacing:.18em}
.ast-site-title-wrap,.site-description{display:none !important}
.site-header img.custom-logo{width:auto;max-height:48px;height:auto}

.fh-wrap{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#1e293b;line-height:1.65;background:#fff}
.fh-wrap *{box-sizing:border-box}
.fh-container{max-width:1500px;margin:0 auto;padding:0 24px}
.fh-section{padding:68px 0}
.fh-sec-head{max-width:720px;margin:0 auto 40px;text-align:center}
.fh-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.12em;color:#1e86c4;background:#e8f4fc;border:1px solid #cde9f9;border-radius:999px;padding:6px 14px;margin-bottom:14px}
.fh-sec-head h2{font-size:clamp(26px,3.4vw,36px);font-weight:800;color:#0b1f3f;margin:0 0 12px;letter-spacing:.5px}
.fh-sec-head p{font-size:16px;color:#64748b;margin:0}

/* ===== 首页 Hero ===== */
.fh-hero{position:relative;background:radial-gradient(1200px 500px at 78% -10%,rgba(48,168,228,.28),transparent 60%),linear-gradient(135deg,#0b1f3f 0%,#123a63 55%,#1e5e8f 100%);color:#fff;overflow:hidden}
.fh-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent 70%)}
.fh-hero-inner{position:relative;display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center;padding:84px 0 72px}
.fh-hero h1{font-size:clamp(30px,4.4vw,50px);font-weight:800;line-height:1.2;margin:0 0 18px;letter-spacing:.5px}
.fh-hero h1 em{font-style:normal;background:linear-gradient(90deg,#5ec8ff,#9be8ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.fh-hero p{font-size:17px;color:#c8d9ea;margin:0 0 28px;max-width:620px}
.fh-hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.fh-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:10px;font-weight:700;text-decoration:none;transition:transform .15s,box-shadow .15s}
.fh-btn-primary{background:linear-gradient(90deg,#30A8E4,#22d3ee);color:#04243c;box-shadow:0 8px 24px rgba(48,168,228,.35)}
.fh-btn-ghost{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.28)}
.fh-btn:hover{transform:translateY(-2px)}
.fh-hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:44px;max-width:720px}
.fh-stat{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:16px 12px;text-align:center}
.fh-stat b{display:block;font-size:24px;font-weight:800;color:#7cd4ff}
.fh-stat span{font-size:12px;color:#b8c9da}
.fh-hero-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:18px;backdrop-filter:blur(6px)}
.fh-hero-card img{width:100%;height:auto;border-radius:12px;display:block}
.fh-hero-card p{font-size:13px;color:#dbe7f2;margin:12px 0 0;text-align:center}

/* ===== 产品卡片 ===== */
.fh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.fh-card{background:#fff;border:1px solid #e6edf3;border-radius:14px;overflow:hidden;text-decoration:none;color:#1e293b;transition:transform .16s,box-shadow .16s;display:flex;flex-direction:column}
.fh-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(11,31,63,.13)}
.fh-card-img{aspect-ratio:4/3;background:#f4f7fa;display:flex;align-items:center;justify-content:center;overflow:hidden}
.fh-card-img img{width:100%;height:100%;object-fit:contain;padding:10px}
.fh-card-body{padding:14px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.fh-card-body .fh-tag{font-size:11px;color:#1e86c4;background:#e8f4fc;border-radius:999px;padding:3px 10px;align-self:flex-start}
.fh-card-body b{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.fh-card-body small{font-size:12px;color:#8a94a3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fh-more{display:block;text-align:center;margin:36px auto 0;max-width:280px}

/* ===== 页脚备案与产品目录侧边栏 ===== */
#fiberh-footer-icp{clear:both}
.fh-cat-tree ul{list-style:none;margin:0;padding:0}
.fh-cat-tree details>summary{list-style:none;cursor:pointer;padding:7px 10px;border-radius:7px}
.fh-cat-tree details>summary::-webkit-details-marker{display:none}
.fh-cat-tree details[open]>summary{background:#eef6fc;color:#0b5c8f}
.fh-cat-tree a{color:#334155;text-decoration:none;display:block;padding:7px 10px;border-radius:7px;font-size:14px}
.fh-cat-tree a:hover{background:#f1f5f9;color:#0b5c8f}
.fh-cat-tree .fd-cat-all{font-weight:700;color:#1e86c4;margin-bottom:8px}
.fh-cat-tree li.is-active>a{background:#30A8E4;color:#fff;font-weight:600}
.fh-cat-children{margin-left:14px;border-left:1px solid #e2e8f0;padding-left:6px}

/* 产品页表格（斑马纹 + #30A8E4 表头）已由迁移内容内联，此处兜底 */
.entry-content table{border-collapse:collapse;width:100%;margin:16px 0}
.entry-content th{background:#30A8E4 !important;color:#fff !important}
.entry-content tr:nth-child(odd) td{background:#f5f5f5}
.entry-content tr:nth-child(even) td{background:#ffffff}

/* 相关产品 */
.fh-related{margin:36px 0 12px}
.fh-related h2{font-size:22px;color:#0b1f3f;margin:0 0 18px}
@media (max-width:900px){
  .fh-hero-inner{grid-template-columns:1fr;padding:56px 0}
  .fh-hero-stats{grid-template-columns:repeat(2,1fr)}
  .fh-hero-card{display:none}
}
