/* ===========================
   二级页面公共样式
   =========================== */

/* --- 子页 Hero --- */
.sub-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sub-hero.products-hero {
    background: linear-gradient(135deg, #0B2545 0%, #1a3a5c 50%, #F26430 100%);
}

.sub-hero.nev-hero {
    background: linear-gradient(135deg, #0a1f2e 0%, #1B98E0 50%, #0B2545 100%);
}

.sub-hero.smart-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #13315C 50%, #0B2545 100%);
}

.sub-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.sub-hero-inner h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.sub-hero-inner p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* --- 子页内容区 --- */
.sub-content {
    padding: 80px 0;
    background: var(--color-bg);
}

/* --- 关于页面 --- */
.about-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-detail-main h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-accent-orange);
    display: inline-block;
}

.about-detail-main h2 + h2,
.about-detail-main .base-grid + h2,
.about-detail-main .culture-grid + h2 {
    margin-top: 48px;
}

.about-detail-main p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-detail-main p.lead {
    font-size: 17px;
    color: var(--color-text);
    font-weight: 500;
}

.about-detail-main p strong {
    color: var(--color-primary);
}

.base-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.base-card {
    padding: 28px 20px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    text-align: center;
}

.base-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-blue);
}

.base-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.base-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.base-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.culture-item {
    padding: 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    border-left: 4px solid var(--color-accent-orange);
    transition: all var(--transition);
}

.culture-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.culture-item strong {
    display: block;
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.side-card {
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.side-card.accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border: none;
}

.side-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.side-card.accent h3 {
    color: #FFD700;
}

.side-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-light);
}

.side-card ul li:last-child {
    border-bottom: none;
}

.check {
    color: var(--color-accent-orange);
    font-weight: 700;
    margin-right: 6px;
}

.side-card.accent p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
}

/* --- 产品页面 --- */
.product-category-intro {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 48px;
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    border-left: 4px solid var(--color-accent-orange);
}

.product-category-intro strong {
    color: var(--color-primary);
}

.product-detail {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--color-border);
}

.product-detail:last-child {
    border-bottom: none;
}

.product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 48px;
    align-items: center;
}

.product-row.reverse {
    direction: rtl;
}

.product-row.reverse .product-info {
    direction: ltr;
}

.product-visual {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px solid var(--color-border);
}

.product-diagram {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* 真实产品图片样式 */
.product-diagram-img {
    width: 100%;
    max-width: 480px;
    height: 320px;
    object-fit: contain;
    background: #f7f9fc;
    border-radius: var(--radius-sm);
    display: block;
}

/* 典型设备列表 */
.sub-list {
    margin: 8px 0 16px;
    padding: 12px 16px;
    background: #f7f9fc;
    border-left: 3px solid var(--color-accent-blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.sub-list-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.sub-list ul { margin: 0; padding-left: 0; list-style: none; }
.sub-list li {
    font-size: 13.5px;
    color: var(--color-text-light);
    line-height: 1.7;
    padding: 3px 0 3px 18px;
    position: relative;
}
.sub-list li::before {
    content: '▸';
    position: absolute;
    left: 2px;
    color: var(--color-accent-orange);
    font-weight: 700;
}

.product-info {
    padding-right: 24px;
    min-width: 0;
    word-wrap: break-word;
    word-break: break-word;
}
}

.product-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(27, 152, 224, 0.1);
    color: var(--color-accent-blue);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.product-detail.alt .product-badge {
    background: rgba(242, 100, 48, 0.1);
    color: var(--color-accent-orange);
}

.product-info h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 13px;
}

.spec-table th,
.spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.spec-table th {
    background: var(--color-bg-soft);
    color: var(--color-primary);
    font-weight: 600;
    width: 120px;
    white-space: nowrap;
}

.spec-table td {
    color: var(--color-text-light);
}

/* --- 实训方案页面通用 --- */
.solution-block {
    margin-bottom: 56px;
}

.solution-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-border);
}

.solution-block-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 152, 224, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.solution-block-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.solution-block-header .sub {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution-card {
    padding: 28px 24px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.solution-card:hover {
    border-color: var(--color-accent-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.solution-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-card h4 .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.solution-card h4 .dot.orange { background: var(--color-accent-orange); }
.solution-card h4 .dot.blue { background: var(--color-accent-blue); }
.solution-card h4 .dot.red { background: var(--color-accent-red); }
.solution-card h4 .dot.green { background: #22c55e; }

.solution-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.solution-tag {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(27, 152, 224, 0.08);
    color: var(--color-accent-blue);
    border-radius: 100px;
}

/* --- 培训流程 --- */
.training-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.flow-step {
    text-align: center;
    padding: 28px 16px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    position: relative;
}

.flow-step::after {
    content: '→';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--color-accent-orange);
    font-weight: 700;
}

.flow-step:last-child::after {
    display: none;
}

.flow-num {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 12px;
}

.flow-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.flow-step p {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* --- 案例页面 --- */
.cases-hero {
    background: linear-gradient(135deg, #0B2545 0%, #1a3a5c 50%, #F26430 100%);
}

.cases-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.case-card-page {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.case-card-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.case-card-page > * { position: relative; z-index: 1; transition: color var(--transition); }

.case-card-page:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.case-card-page:hover::before { opacity: 1; }
.case-card-page:hover .school-name,
.case-card-page:hover .projects { color: white; }
.case-card-page:hover .case-tags span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.case-card-page.featured {
    /* 默认白底，hover 走 .case-card-page:hover 的深蓝蒙层 */
    background: white;
    color: inherit;
    border-color: var(--color-border);
}

.case-card-page.featured::after {
    content: '★ 标杆项目';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent-orange);
    background: rgba(242, 100, 48, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
    transition: all var(--transition);
}

.case-card-page.featured:hover::after {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.2);
}

.case-card-page .school-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.case-card-page.featured .school-name {
    color: var(--color-primary);
    font-size: 22px;
}

.case-card-page .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.case-card-page .case-tags span {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(27,152,224,0.1);
    color: var(--color-accent-blue);
    border-radius: 100px;
}

.case-card-page.featured .case-tags span {
    background: rgba(27,152,224,0.1);
    color: var(--color-accent-blue);
}

.case-card-page .projects {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.case-card-page.featured .projects {
    color: var(--color-text-light);
}

/* --- 联系页面 --- */
.contact-hero {
    background: linear-gradient(135deg, #0B2545 0%, #13315C 50%, #F26430 100%);
}

/* ===========================
   响应式
   =========================== */
@media (max-width: 1024px) {
    .about-detail-grid { grid-template-columns: 1fr; }
    .product-row { grid-template-columns: 1fr; direction: ltr; }
    .product-row.reverse .product-info { direction: ltr; }
    .solution-items { grid-template-columns: 1fr; }
    .training-flow { grid-template-columns: repeat(2, 1fr); }
    .flow-step::after { display: none; }
    .base-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sub-hero { padding: 120px 0 40px; }
    .sub-content { padding: 60px 0; }
    .culture-grid { grid-template-columns: 1fr; }
    .cases-grid-page { grid-template-columns: 1fr; }
    .spec-table th { width: 90px; font-size: 12px; }
    .spec-table td { font-size: 12px; }
    .product-visual { min-height: 200px; }
}

/* ===========================
   a.solution-card 链接样式
   =========================== */
a.solution-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
.page-category {
    display: inline-block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}
.page-category a {
    color: #FFD700;
    font-weight: 600;
    text-decoration: none;
    margin: 0 2px;
    transition: color 0.2s;
}
.page-category a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.page-cat-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.25);
    color: #FFD700;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 100px;
    margin-right: 8px;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ===========================
   sub-hero 顶部简介与子项 chip
   =========================== */
.sub-hero-lead {
    margin: 22px auto 0;
    max-width: 720px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    letter-spacing: 0.5px;
}
.sub-hero-tags {
    list-style: none;
    padding: 0;
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 880px;
}
.sub-hero-tags li {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sub-hero-tags li:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.55);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .sub-hero-tags { gap: 8px; }
    .sub-hero-tags li { font-size: 13px; padding: 6px 14px; }
}

/* ===========================
   edu-products 实训产品库 · 详情页样式
   2026-09-03 由官网实训产品库上线项目追加
   =========================== */

/* 产品库 hero（紧凑型） */
.edu-hero {
    background: linear-gradient(135deg, #0B2545 0%, #13315C 50%, #1B98E0 100%);
    padding: 120px 24px 56px;
    color: #fff;
    text-align: center;
}
.edu-hero-inner { max-width: 1180px; margin: 0 auto; }
.edu-hero h1 { font-size: 38px; font-weight: 800; margin: 0; letter-spacing: 1px; color: #fff; }
.edu-hero-lead { margin: 18px auto 0; max-width: 760px; font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.85; }
.edu-hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.edu-hero-stat {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.25);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.edu-hero-stat strong { color: #FFD700; font-weight: 800; margin-right: 6px; }

/* 分类锚点导航（吸顶 chips） */
.edu-cat-nav {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #e6e8ee;
    box-shadow: 0 2px 6px rgba(11, 37, 69, 0.05);
    padding: 12px 0 14px;
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.edu-cat-nav.edu-cat-nav-hidden { transform: translateY(-100%); }
.edu-cat-nav.edu-cat-nav-pinned { transform: translateY(0) !important; }
.edu-cat-nav-head {
    max-width: 1280px;
    margin: 0 auto 6px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
}
.edu-cat-nav-head-label {
    grid-column: 1;
    justify-self: start;
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.edu-cat-nav-head-label::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #1B98E0, #FFD700);
    border-radius: 2px;
}
.edu-cat-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: stretch;
}
.edu-cat-nav-label { font-size: 13px; color: #6b7280; font-weight: 700; margin-right: 8px; letter-spacing: 1px; }
.edu-cat-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #d6dae3;
    border-radius: 100px;
    background: #f7f9fc;
    color: #13315C;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.edu-cat-chip:hover {
    background: #13315C;
    border-color: #13315C;
    color: #fff;
    transform: translateY(-1px);
}
.edu-cat-chip.is-active {
    background: #13315C;
    border-color: #13315C;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(19, 49, 92, 0.25);
    cursor: default;
    pointer-events: none;
}
.edu-cat-chip .chip-count {
    display: inline-block;
    background: #1B98E0;
    color: #fff;
    border-radius: 100px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.edu-cat-chip:hover .chip-count { background: #FFD700; color: #13315C; }

@media (max-width: 980px) {
    .edu-cat-nav-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .edu-cat-nav-inner { grid-template-columns: repeat(2, 1fr); }
}

/* 分类块 */
.edu-cat-section {
    padding: 28px 0 36px;
    border-bottom: 1px dashed #e6e8ee;
}
.edu-cat-section:last-child { border-bottom: none; }
.edu-cat-header { max-width: 1280px; margin: 0 auto 28px; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.edu-cat-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1B98E0 0%, #13315C 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 14px rgba(27, 152, 224, 0.25);
    flex-shrink: 0;
}
.edu-cat-title { font-size: 26px; font-weight: 800; color: #0B2545; margin: 0; }
.edu-cat-meta { color: #6b7280; font-size: 14px; margin-top: 4px; }
.edu-cat-meta b { color: #1B98E0; }

/* 产品网格 */
.edu-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.edu-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e8ee;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.edu-card:hover {
    transform: translateY(-4px);
    border-color: #1B98E0;
    box-shadow: 0 14px 32px rgba(27, 152, 224, 0.18);
}
.edu-card-img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.edu-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}
.edu-card:hover .edu-card-img-wrap img { transform: scale(1.04); }
.edu-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 215, 0, 0.95);
    color: #13315C;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(11, 37, 69, 0.15);
}
.edu-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.edu-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0B2545;
    line-height: 1.45;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}
.edu-card-model {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 12px;
    color: #1B98E0;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.edu-card-intro {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.edu-card-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e6e8ee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
}
.edu-card-img-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.edu-card-cta {
    color: #1B98E0;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s ease;
}
.edu-card:hover .edu-card-cta { gap: 8px; color: #13315C; }

/* 详情页 */
.edu-breadcrumb {
    max-width: 1280px;
    margin: 28px auto 0;
    padding: 0 24px;
    font-size: 13px;
    color: #6b7280;
}
.edu-breadcrumb a { color: #1B98E0; text-decoration: none; }
.edu-breadcrumb a:hover { text-decoration: underline; }
.edu-breadcrumb-sep { margin: 0 8px; color: #c4c8d2; }
.edu-breadcrumb-cur { color: #0B2545; font-weight: 600; }

.edu-detail { max-width: 1280px; margin: 32px auto 56px; padding: 0 24px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 980px) {
    .edu-detail { grid-template-columns: 1fr; }
}

.edu-gallery-main {
    background: #f7f9fc;
    border: 1px solid #e6e8ee;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.edu-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.edu-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.edu-gallery-thumb {
    width: 84px;
    height: 84px;
    border: 2px solid #e6e8ee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: border-color .2s;
}
.edu-gallery-thumb.active,
.edu-gallery-thumb:hover { border-color: #1B98E0; }
.edu-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.edu-detail-info .product-badge { margin-bottom: 14px; }
.edu-detail-info h1 { font-size: 30px; font-weight: 800; color: #0B2545; line-height: 1.35; margin: 0 0 12px; }
.edu-detail-model { font-size: 18px; font-weight: 700; color: #1B98E0; margin-bottom: 18px; letter-spacing: 0.5px; }
.edu-detail-desc { color: #344053; font-size: 15px; line-height: 1.85; margin-bottom: 24px; }

.edu-related { max-width: 1280px; margin: 64px auto 0; padding: 0 24px 56px; }
.edu-related-title { font-size: 22px; font-weight: 800; color: #0B2545; margin: 0 0 6px; }
.edu-related-meta { color: #6b7280; font-size: 14px; margin-bottom: 24px; }
.edu-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
}
.edu-related-list li {
    font-size: 14px;
    color: #344053;
    line-height: 1.75;
    padding-left: 20px;
    position: relative;
}
.edu-related-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B98E0, #FFD700);
}
@media (max-width: 720px) {
    .edu-related-list { grid-template-columns: 1fr; }
}

.edu-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
}

@media (max-width: 768px) {
    .edu-hero { padding: 96px 16px 40px; }
    .edu-hero h1 { font-size: 26px; }
    .edu-hero-lead { font-size: 14px; }
    .edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px; }
    .edu-card-body { padding: 12px 14px 14px; }
    .edu-card-title { font-size: 13px; min-height: 2.6em; }
    .edu-detail { padding: 0 16px; gap: 24px; }
    .edu-detail-info h1 { font-size: 22px; }
    .edu-cat-nav-inner { padding: 0 12px; }
    .edu-cat-chip { font-size: 12px; padding: 5px 10px; }
    .edu-gallery-thumb { width: 64px; height: 64px; }
}

/* ===========================
   edu-card-cat 各分组 Gxx 配色（每组不同背景色）
   =========================== */
.edu-card-cat { background: #1B98E0; color: #fff; }
.edu-card-cat.cat-G01 { background: #3B82F6; color: #fff; box-shadow: 0 2px 6px rgba(59,130,246,.35); }   /* 具身智能 - 蓝 */
.edu-card-cat.cat-G02 { background: #10B981; color: #fff; box-shadow: 0 2px 6px rgba(16,185,129,.35); }   /* 工业机器人 - 翠绿 */
.edu-card-cat.cat-G03 { background: #F59E0B; color: #0B2545; box-shadow: 0 2px 6px rgba(245,158,11,.35); } /* 智能制造 - 琥珀 */
.edu-card-cat.cat-G04 { background: #8B5CF6; color: #fff; box-shadow: 0 2px 6px rgba(139,92,246,.35); }   /* 数字孪生 - 紫 */
.edu-card-cat.cat-G05 { background: #EF4444; color: #fff; box-shadow: 0 2px 6px rgba(239,68,68,.35); }    /* 机器视觉 - 红 */
.edu-card-cat.cat-G06 { background: #14B8A6; color: #fff; box-shadow: 0 2px 6px rgba(20,184,166,.35); }   /* 工业互联网 - 青 */
.edu-card-cat.cat-G07 { background: #F97316; color: #fff; box-shadow: 0 2px 6px rgba(249,115,22,.35); }   /* 国赛项目 - 橙 */
.edu-card-cat.cat-G08 { background: #EC4899; color: #fff; box-shadow: 0 2px 6px rgba(236,72,153,.35); }   /* 汽车电子 - 粉 */
.edu-card-cat.cat-G09 { background: #06B6D4; color: #fff; box-shadow: 0 2px 6px rgba(6,182,212,.35); }    /* 新能源车 - 天蓝 */
.edu-card-cat.cat-G10 { background: #84CC16; color: #0B2545; box-shadow: 0 2px 6px rgba(132,204,22,.35); }/* 化工/环境 - 草绿 */

/* 企业业务分类色 E01-E06 */
.edu-card-cat.cat-E01 { background: #0EA5E9; color: #fff; box-shadow: 0 2px 6px rgba(14,165,233,.35); }   /* 木托盘产线 - 天蓝 */
.edu-card-cat.cat-E02 { background: #F59E0B; color: #0B2545; box-shadow: 0 2px 6px rgba(245,158,11,.35); }/* 打钉覆膜 - 琥珀 */
.edu-card-cat.cat-E03 { background: #8B5CF6; color: #fff; box-shadow: 0 2px 6px rgba(139,92,246,.35); }   /* 智能码垛 - 紫 */
.edu-card-cat.cat-E04 { background: #10B981; color: #fff; box-shadow: 0 2px 6px rgba(16,185,129,.35); }   /* 输送非标 - 翠绿 */
.edu-card-cat.cat-E05 { background: #EF4444; color: #fff; box-shadow: 0 2px 6px rgba(239,68,68,.35); }    /* 电气自动化 - 红 */
.edu-card-cat.cat-E06 { background: #14B8A6; color: #fff; box-shadow: 0 2px 6px rgba(20,184,166,.35); }   /* 仓储管理 - 青 */
.edu-card-cat.cat-E07 { background: #6366F1; color: #fff; box-shadow: 0 2px 6px rgba(99,102,241,.35); }   /* 锯切预处理 - 靛蓝 */
.edu-card-cat.cat-E08 { background: #D97706; color: #fff; box-shadow: 0 2px 6px rgba(217,119,6,.35); }    /* 刨削砂光 - 深橙 */

/* ===========================
   basics-hero + basics-cat-section 8 模块样式
   =========================== */
.basics-hero { background: linear-gradient(135deg, #0B2545 0%, #13315C 50%, #1B98E0 100%); }
.basics-cat-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.basics-cat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e8ee;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.06);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 180px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.basics-cat-card:hover {
    transform: translateY(-3px);
    border-color: #1B98E0;
    box-shadow: 0 18px 40px rgba(27, 152, 224, 0.16);
}
.basics-cat-img {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f7f9fc;
    height: 260px;
}
.basics-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.basics-cat-card:hover .basics-cat-img img { transform: scale(1.04); }
.basics-cat-code {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #1B98E0 0%, #13315C 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.25);
}
.basics-cat-body {
    padding: 22px 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.basics-cat-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e6e8ee;
    padding-bottom: 10px;
}
.basics-cat-code-tag {
    display: inline-block;
    background: rgba(27, 152, 224, 0.12);
    color: #1B98E0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 100px;
}
.basics-cat-title {
    font-size: 20px;
    font-weight: 800;
    color: #0B2545;
    margin: 0;
}
.basics-cat-tagline {
    font-size: 13px;
    color: #1B98E0;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex: 1 1 100%;
}
.basics-cat-short {
    color: #344053;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 4px 0 12px;
}
.basics-cat-scope-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B2545;
    margin-bottom: 6px;
}
.basics-cat-scope {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 12px;
}
.basics-cat-scope li {
    font-size: 12.5px;
    color: #4b5563;
    padding-left: 14px;
    position: relative;
    line-height: 1.55;
}
.basics-cat-scope li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B98E0, #FFD700);
}
.basics-cat-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: linear-gradient(135deg, #1B98E0 0%, #13315C 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.basics-cat-link:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 18px rgba(27, 152, 224, 0.35);
    color: #fff;
}

@media (max-width: 900px) {
    .basics-cat-grid { grid-template-columns: 1fr; }
    .basics-cat-img { height: 220px; }
    .basics-cat-body { padding: 20px 20px 18px; }
    .basics-cat-title { font-size: 19px; }
}
.edu-cat-nav + .section.sub-content { padding-top: 24px; }
.edu-card-cat.cat-G11 { background: #6366F1; color: #fff; box-shadow: 0 2px 6px rgba(99,102,241,.35); }   /* 电工电气 - 靛 */
.edu-card-cat.cat-G12 { background: #A855F7; color: #fff; box-shadow: 0 2px 6px rgba(168,85,247,.35); }   /* 暖通楼宇 - 亮紫 */
.edu-card-cat.cat-G13 { background: #EAB308; color: #0B2545; box-shadow: 0 2px 6px rgba(234,179,8,.35); }  /* 物流AGV - 黄 */
.edu-card-cat.cat-G14 { background: #DC2626; color: #fff; box-shadow: 0 2px 6px rgba(220,38,38,.35); }    /* 金工机床 - 深红 */
.edu-card-cat.cat-G15 { background: #0EA5E9; color: #fff; box-shadow: 0 2px 6px rgba(14,165,233,.35); }   /* 智慧教室 - 天青 */
.edu-card-cat.cat-G16 { background: #64748B; color: #fff; box-shadow: 0 2px 6px rgba(100,116,139,.35); }  /* 培训车方案 - 灰 */
