:root {
  --brand: #ea5404;
  --ink: #272727;
  --muted: #777;
  --line: #e5e5e5;
  --soft: #f5f5f5;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
a { color: inherit; }
a:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.site-shell { min-height: 100vh; }
.container { padding-left: 15px; padding-right: 15px; }

#head { height: 110px; }
#head .top { background: #f2f2f2; }
#head .top .container { height: 60px; position: relative; }
#head .navbar-brand { display: flex; align-items: center; height: 60px; max-width: 330px; padding: 7px 15px 7px 0; }
#head .navbar-brand img { display: block; max-height: 46px; max-width: 315px; width: auto; }
#head .top-pro { align-items: stretch; display: flex; float: none; height: 60px; justify-content: flex-end; left: 300px; margin: 0; overflow: hidden; position: absolute; right: 145px; top: 0; }
#head .top-pro li { align-items: center; display: flex; float: none; min-width: 0; padding: 0 14px; }
#head .top-pro li:first-child { border-left: 2px solid #d7d7d7; }
#head .top-pro li a { color: #333; display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#head .top-pro .glyphicon { margin-right: 8px; }
.b-nav .navbar-nav > li { margin-right: 22px; }
.b-nav .navbar-nav > li > a { padding: 15px 5px 12px; }
.b-nav .navbar-nav > li.active > a { color: var(--brand); }
.b-nav .navbar-nav > li.active > a:after { background: var(--brand); bottom: 4px; content: ""; height: 2px; left: 5px; position: absolute; right: 5px; }
.b-nav .navbar-nav > li > a { position: relative; }
.nav-submenu { background: #f5f5f5; border-top: 2px solid var(--brand); display: none; left: -28px; min-width: 190px; position: absolute; top: 48px; z-index: 1100; }
.nav-submenu li { border-bottom: 1px solid #ddd; margin: 0; }
.nav-submenu li a { display: block; font-size: 15px; padding: 13px 20px; text-align: center; white-space: nowrap; }
.navbar-nav > li:hover .nav-submenu { display: block; }
.nav-submenu li:hover { background: var(--brand); }
.nav-submenu li:hover a { color: #fff; }
.nav-search { display: flex; float: none; margin: 8px 0 0; position: absolute; right: 0; top: 0; }
.nav-search .form-control { border-radius: 0; width: 165px; }
.nav-search .btn { background: var(--brand); border-color: var(--brand); border-radius: 0; color: #fff; }
#head .aigg-translate-switcher { margin: 0; position: absolute; right: max(15px, calc((100% - 1170px) / 2)); top: 0; z-index: 1200; }
#head .aigg-translate-switcher .pboot-translate-trigger { background: transparent; border: 0; box-shadow: none; color: #333; min-height: 60px; padding: 8px 0 8px 15px; }
#head .aigg-translate-switcher .pboot-translate-trigger:hover,
#head .aigg-translate-switcher .pboot-translate-trigger:focus-visible { background: rgba(0,0,0,.06); border: 0; box-shadow: none; }
#head .aigg-translate-switcher .pboot-translate-trigger-text { color: #333; }

.banner { background: #222; margin-bottom: 20px; overflow: hidden; }
.banner .item { height: 360px; }
.banner .item img { height: 100%; object-fit: cover; width: 100%; }
.banner .carousel-caption { bottom: 15%; display: block; left: 12%; max-width: 650px; right: auto; text-align: left; text-shadow: 0 1px 4px rgba(0,0,0,.55); top: auto; }
.banner .carousel-caption h1 { font-size: 38px; font-weight: 600; }
.banner .carousel-caption p { font-size: 18px; }

.section-block { padding: 55px 0; }
.section-soft { background: var(--soft); }
.section-title { border-bottom: 1px solid var(--line); font-size: 28px; margin: 0 0 28px; padding-bottom: 14px; }
.section-title:after { background: var(--brand); content: ""; display: block; height: 3px; margin-top: 13px; width: 50px; }
.section-title small { font-size: 14px; line-height: 30px; }
.section-title small a { color: #666; }
.section-title small span { color: var(--brand); margin-left: 5px; }

.product-categories { background: #fff; padding: 35px 0 42px; }
.category-card, .case-card, .quick-card, .content-card { background: #fff; margin-bottom: 30px; overflow: hidden; position: relative; }
.category-card { border: 1px solid var(--line); }
.category-card a { display: block; }
.category-card .image, .case-card .image, .content-card .image { background: #eee; overflow: hidden; }
.category-card .image { aspect-ratio: 4 / 3; }
.category-card img, .case-card img, .content-card img { height: 100%; object-fit: cover; transition: transform .45s; width: 100%; }
.category-card:hover img, .case-card:hover img, .content-card:hover img { transform: scale(1.04); }
.category-card h3 { font-size: 18px; margin: 0; padding: 18px; text-align: center; }
.category-card:hover h3 { color: var(--brand); }

.home-split { padding: 45px 0; }
.news-row { border-bottom: 1px solid var(--line); display: flex; gap: 20px; padding: 0 0 20px; margin-bottom: 20px; }
.news-row .thumb { flex: 0 0 42%; min-height: 115px; overflow: hidden; }
.news-row .thumb img { height: 100%; object-fit: cover; width: 100%; }
.news-row h3 { font-size: 17px; line-height: 1.55; margin: 0 0 10px; }
.news-row p { color: var(--muted); line-height: 1.7; margin: 0; }
.solution-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.solution-card { aspect-ratio: 4 / 3; background-position: center; background-size: cover; overflow: hidden; position: relative; }
.solution-card:before { background: linear-gradient(0deg, rgba(0,0,0,.66), rgba(0,0,0,.06)); content: ""; inset: 0; position: absolute; }
.solution-card a { align-items: flex-end; color: #fff; display: flex; font-size: 17px; inset: 0; padding: 22px; position: absolute; }

.case-card { aspect-ratio: 4 / 3; }
.case-card .image { height: 100%; }
.case-card .case-overlay { align-items: center; background: rgba(0,0,0,.55); color: #fff; display: flex; inset: auto 0 0; min-height: 64px; padding: 12px 18px; position: absolute; transition: inset .3s, background .3s; }
.case-card:hover .case-overlay { background: rgba(234,84,4,.86); inset: 0; justify-content: center; text-align: center; }
.case-card h3 { font-size: 16px; line-height: 1.5; margin: 0; }
.project-record-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); display: flex; flex-direction: column; min-height: 220px; padding: 24px; }
.project-record-card-compact { margin-bottom: 30px; min-height: 245px; }
.project-record-card .project-label { color: var(--brand); font-size: 13px; margin: 0 0 12px; }
.project-record-card h2, .project-record-card h3 { font-size: 18px; line-height: 1.55; margin: 0 0 14px; }
.project-record-card p { color: var(--muted); line-height: 1.75; }
.project-record-card .project-link { color: var(--brand); margin-top: auto; }
.project-record-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-links { padding: 50px 0 35px; }
.quick-card { border: 1px solid var(--line); }
.quick-card .quick-image { aspect-ratio: 16 / 8; overflow: hidden; }
.quick-card .quick-image img { height: 100%; object-fit: cover; width: 100%; }
.quick-card .text { min-height: 150px; padding: 18px; }
.quick-card h3 { font-size: 18px; margin: 0 0 12px; }
.quick-card p { color: var(--muted); line-height: 1.7; }
.quick-card .more { color: var(--brand); }

.inner-banner { background: linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)), url('/static/upload/aigg/projects/project-6.png') center 44% / cover no-repeat; height: 260px; margin-top: 110px; position: relative; }
.inner-banner .page-nav { background: transparent; bottom: 18px; left: 0; position: absolute; right: 0; }
.inner-banner .breadcrumb { align-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.65); border-left: 3px solid var(--brand); border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.14); display: inline-flex; flex-wrap: wrap; line-height: 1.5; margin: 0; max-width: calc(100% - 30px); padding: 10px 16px; }
.inner-banner .breadcrumb > li + li:before { color: #aaa; content: ">"; padding: 0 8px; }
.inner-banner .breadcrumb > li { max-width: 100%; min-width: 0; overflow-wrap: anywhere; white-space: normal; word-break: break-word; }
.inner-banner .breadcrumb a { color: #555; max-width: 100%; min-width: 0; overflow-wrap: anywhere; white-space: normal; word-break: break-word; }
.inner-banner .breadcrumb .active { color: var(--brand); }

.page-section { padding: 55px 0 70px; }
.page-title { font-size: 30px; margin: 0 0 28px; text-align: center; }
.rich-content { color: #444; font-size: 16px; line-height: 2; }
.rich-content h2, .rich-content h3 { color: var(--ink); margin: 36px 0 18px; }
.rich-content img { height: auto !important; margin: 15px auto; max-width: 100%; }
.rich-content table { border-collapse: collapse; margin: 20px 0; width: 100% !important; }
.rich-content td, .rich-content th { border: 1px solid #ddd; padding: 10px; }
.article-video { margin: 24px auto; max-width: 967px; }
.article-video video { background: #111; display: block; height: auto; max-width: 100%; width: 100%; }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 30px; }
.article-actions .btn { margin: 0; }
.stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin: 35px 0; }
.stat-item { border-top: 3px solid var(--brand); padding: 20px 10px; text-align: center; }
.stat-item strong { color: var(--brand); display: block; font-size: 36px; }
.gallery-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 25px; }
.gallery-grid img { aspect-ratio: 4 / 3; margin: 0; object-fit: cover; width: 100%; }

.side-nav { border-top: 3px solid var(--brand); margin-bottom: 30px; }
.side-nav h3 { background: #333; color: #fff; font-size: 18px; margin: 0; padding: 16px; }
.side-nav a { background: #f6f6f6; border-bottom: 1px solid #ddd; display: block; padding: 13px 16px; }
.side-nav a:hover { background: var(--brand); color: #fff; }
.content-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-card { border: 1px solid var(--line); margin: 0; }
.content-card .image { aspect-ratio: 4 / 3; }
.content-card .body { padding: 18px; }
.content-card h2 { font-size: 18px; line-height: 1.5; margin: 0 0 10px; }
.content-card p { color: var(--muted); line-height: 1.7; }
.empty-state { color: var(--muted); padding: 70px 0; text-align: center; }

.product-hero { margin-bottom: 45px; }
.product-main-image { background: #f5f5f5; }
.product-main-image img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.product-summary h1 { border-bottom: 1px solid var(--line); font-size: 28px; margin-top: 0; padding-bottom: 18px; }
.product-summary p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.product-thumbs { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.product-thumbs img { border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; width: 100%; }
.article-meta { border-bottom: 1px solid var(--line); color: var(--muted); margin: -10px 0 30px; padding-bottom: 15px; text-align: center; }
.prev-next { border-top: 1px solid var(--line); color: #666; margin-top: 35px; padding-top: 20px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; margin: 35px 0 0; }
.pagination a, .pagination span { border: 1px solid #ddd; margin: 3px; padding: 8px 13px; }
.pagination .active, .pagination a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

#foot { background: #f2f2f2; color: #555; padding-top: 48px; }
#foot dt { color: #272727; font-size: 17px; margin-bottom: 18px; }
#foot dd { line-height: 2; }
#foot dd a { color: #555; }
#foot a:hover { color: var(--brand); }
#foot .foot-logo { background: #fff; margin-bottom: 18px; max-height: 46px; max-width: 100%; padding: 5px; }
#foot .copyright { border-top: 1px solid #d7d7d7; margin-top: 30px; padding: 20px 0; }

@media (min-width: 1200px) {
  #head .navbar-collapse { padding-left: 0; padding-right: 0; }
  #head .navbar-nav { display: flex; float: none; width: calc(100% - 220px); }
  .b-nav .navbar-nav > li { flex: 0 1 auto; float: none; min-width: 0; }
  .b-nav .navbar-nav > li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 1199px) {
  #head, .inner-banner { margin-top: 0; }
  #head { height: 62px; }
  #head .top { display: none; }
  #head .b-nav { background: #f2f2f2; width: 100%; }
  #head .navbar-brand { display: flex !important; height: 60px; margin-left: 0; max-width: calc(100% - 120px); padding-left: 15px; }
  #head .navbar-brand img { max-height: 38px; max-width: 100%; }
  .navbar-toggle { border-color: #ddd; display: block; margin-top: 13px; }
  .navbar-toggle .icon-bar { background: #333; }
  #bs-example-navbar-collapse-1 { background: #fff; box-shadow: 0 7px 15px rgba(0,0,0,.12); display: none !important; left: 0; margin: 0; max-height: calc(100vh - 60px); overflow-y: auto; padding: 0 20px 18px; position: absolute; right: 0; top: 62px; width: 100%; }
  #bs-example-navbar-collapse-1.in { display: block !important; }
  #bs-example-navbar-collapse-1 .navbar-nav { float: none !important; margin: 0; width: 100%; }
  .b-nav .navbar-nav > li { border-bottom: 1px solid #eee; float: none; margin: 0; text-align: left; }
  .nav-submenu { border: 0; display: block; left: auto; padding-left: 18px; position: static; }
  .nav-submenu li { border-bottom: 0; }
  .nav-submenu li a { padding: 8px 10px; text-align: left; }
  .nav-search { float: none; margin-top: 15px; position: static; }
  .nav-search .form-control { display: inline-block; width: calc(100% - 55px); }
  .banner { margin-top: 62px; }
  .banner .item { height: 300px; }
  .banner .carousel-caption h1 { font-size: 28px; }
  .inner-banner { height: 210px; }
  #head .aigg-translate-switcher { right: 64px; top: 1px; }
  #head .aigg-translate-switcher .pboot-translate-trigger { justify-content: center; min-height: 58px; padding: 8px; width: 40px; }
  #head .aigg-translate-switcher .pboot-translate-trigger-flag { height: 16px; width: 24px; }
  #head .aigg-translate-switcher .pboot-translate-trigger-text,
  #head .aigg-translate-switcher .pboot-translate-trigger-arrow { display: none; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .banner .item { height: 220px; }
  .banner .carousel-caption { bottom: 11%; left: 8%; right: 8%; }
  .banner .carousel-caption h1 { font-size: 23px; }
  .banner .carousel-caption p { font-size: 14px; }
  .section-block, .home-split, .page-section { padding: 38px 0; }
  .section-title { font-size: 24px; }
  .solution-grid, .content-grid { grid-template-columns: 1fr; }
  .project-record-grid { grid-template-columns: 1fr; }
  .news-row { align-items: flex-start; gap: 14px; }
  .news-row .thumb { flex-basis: 38%; min-height: 88px; }
  .news-row h3 { font-size: 15px; }
  .news-row p { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item strong { font-size: 30px; }
  .page-title { font-size: 25px; }
  .inner-banner .page-nav { bottom: 12px; }
  .inner-banner .breadcrumb { font-size: 14px; max-width: calc(100% - 30px); padding: 8px 12px; }
  .inner-banner .breadcrumb > li + li:before { padding: 0 6px; }
  .rich-content { font-size: 15px; }
  #foot { padding-top: 35px; }
}

