:root {
    --portal-blue: #205bbb;
    --portal-deep: #174684;
    --portal-dark: #0f315f;
    --portal-line: #d8e0eb;
    --portal-text: #1f2d3d;
    --portal-muted: #667789;
    --portal-gold: #d59a27;
    --portal-bg: #f3f6fa;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    min-width: 1200px;
    color: var(--portal-text);
    background: #fff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--portal-blue); text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
.portal-wrap, .wrap { width: 1200px; margin: 0 auto; }

.topbar {
    height: 45px;
    background: var(--portal-blue);
    color: #fff;
}
.topbar-inner {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-welcome { line-height: 45px; }
.top-search {
    position: relative;
    width: 430px;
    height: 30px;
}
.top-search input {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 0;
    outline: 0;
    padding: 0 42px 0 12px;
    color: #333;
}
.top-search button {
    position: absolute;
    right: 0;
    top: 0;
    width: 36px;
    height: 30px;
    border: 0;
    background: #fff;
    color: var(--portal-blue);
    cursor: pointer;
}

.portal-head {
    position: relative;
    background: #e7edf6;
    overflow: hidden;
}
.head-slider {
    position: absolute;
    inset: 0 0 50px;
    background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.3)), url("/static/zhilin/images/hero-construction.jpg") center 44% / cover no-repeat;
}
.head-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center 44%;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity .8s ease;
}
.head-slide.active {
    opacity: 1;
}
.brand-stage {
    position: relative;
    z-index: 1;
    height: 238px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.big-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--portal-dark);
}
.logo-mark,
.footer-logo {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}
.logo-mark img,
.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-type {
    display: block;
    width: 452px;
}
.big-logo strong {
    display: block;
    width: 100%;
    color: #134f9e;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 700;
    text-align: justify;
    text-align-last: justify;
    white-space: nowrap;
}
.big-logo em {
    display: block;
    width: 100%;
    margin-top: 3px;
    color: #134f9e;
    font-size: 20px;
    line-height: 1.08;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.2px;
    word-spacing: 0;
    text-align: left;
    text-align-last: auto;
    white-space: nowrap;
}
.portal-nav {
    position: relative;
    z-index: 2;
    height: 50px;
    background: var(--portal-blue);
}
.nav-inner {
    height: 50px;
    display: flex;
    align-items: center;
}
.nav-inner a {
    min-width: 132px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-left: 1px solid rgba(255,255,255,.16);
}
.nav-inner a:first-child { border-left: 0; }
.nav-inner a:hover,
.nav-inner a.active {
    background: #163f81;
    color: #fff;
}
.mobile-nav-btn { display: none; }

.portal-main {
    padding: 20px 0 0;
    background: #fff;
}
.headline-box {
    min-height: 110px;
    padding: 18px 42px;
    background: #f6f8fc;
    border: 1px solid #e6edf7;
    text-align: center;
}
.headline-box h1 {
    margin: 0 0 8px;
    color: #c21d1d;
    font-size: 26px;
    font-weight: 700;
}
.headline-box p {
    max-width: 1000px;
    margin: 0 auto;
    color: #555;
    line-height: 1.9;
}

.focus-news {
    display: grid;
    grid-template-columns: 568px 1fr;
    gap: 32px;
    margin-top: 20px;
}
.focus-left,
.focus-right {
    min-height: 350px;
}
.focus-card {
    position: relative;
    display: block;
    height: 350px;
    overflow: hidden;
    background: #ddd;
}
.focus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.focus-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    line-height: 46px;
    padding: 0 18px;
    color: #fff;
    background: rgba(0,0,0,.62);
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.focus-right {
    border: 1px solid var(--portal-line);
    background: #fff;
}
.tab-title {
    position: relative;
    height: 54px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--portal-blue);
}
.tab-title a {
    height: 54px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--portal-dark);
}
.tab-title a.active {
    color: #fff;
    background: var(--portal-blue);
}
.tab-title .more {
    position: absolute;
    right: 12px;
    min-width: auto;
    color: #777;
    font-size: 13px;
    font-weight: 400;
}
.portal-news-list {
    padding: 12px 18px;
}
.portal-news-list li,
.white-news-list li {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed #d9e1ec;
    overflow: hidden;
}
.portal-news-list a,
.white-news-list a {
    max-width: 72%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.portal-news-list span,
.white-news-list span {
    color: #888;
    font-size: 13px;
}

.intro-row {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    gap: 22px;
    margin-top: 26px;
}
.intro-card {
    min-height: 220px;
    padding: 18px 20px;
    border: 1px solid var(--portal-line);
    background: #fff;
}
.portal-section-title {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--portal-blue);
}
.portal-section-title h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 5px solid var(--portal-gold);
    color: var(--portal-dark);
    font-size: 22px;
    font-weight: 700;
}
.portal-section-title a {
    color: #777;
    font-size: 13px;
}
.intro-card p {
    margin: 8px 0;
    color: #555;
}
.service-links li {
    height: 34px;
    line-height: 34px;
    border-bottom: 1px dashed #d9e1ec;
}
.policy-card .service-links li {
    height: auto;
    min-height: 34px;
    line-height: 1.65;
    padding: 6px 0;
}
.policy-card .service-links a {
    display: block;
}
.service-links a::before {
    content: "◆ ";
    color: var(--portal-blue);
}

.service-strip {
    margin-top: 26px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.service-grid a {
    display: grid;
    grid-template-columns: 92px 1fr;
    grid-template-rows: auto 1fr;
    gap: 6px 14px;
    min-height: 108px;
    padding: 12px;
    border: 1px solid var(--portal-line);
    background: #fff;
}
.service-grid img {
    grid-row: 1 / 3;
    width: 92px;
    height: 76px;
    object-fit: cover;
}
.service-grid strong {
    color: var(--portal-dark);
    font-size: 16px;
}
.service-grid span {
    color: #667789;
    line-height: 1.6;
}

.blue-band {
    margin-top: 30px;
    padding: 36px 0;
    background: linear-gradient(180deg, #1f5f99, #174684);
}
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}
.project-wide {
    display: block;
}
.light-title {
    border-bottom-color: rgba(255,255,255,.35);
}
.light-title h2 {
    color: #fff;
    border-left-color: var(--portal-gold);
}
.light-title a { color: rgba(255,255,255,.78); }
.project-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.project-wide .project-list {
    grid-template-columns: repeat(4, 1fr);
}
.project-list a {
    display: block;
    background: #fff;
}
.project-list img {
    width: 100%;
    height: 165px;
    object-fit: cover;
}
.project-wide .project-list img {
    height: 176px;
}
.project-list span {
    height: 44px;
    line-height: 44px;
    display: block;
    padding: 0 12px;
    color: var(--portal-dark);
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.industry-panel {
    padding: 0 18px 18px;
    background: rgba(255,255,255,.08);
}
.white-news-list li {
    border-bottom-color: rgba(255,255,255,.22);
}
.white-news-list a { color: #fff; }
.white-news-list span { color: rgba(255,255,255,.72); }

.honor-area {
    padding: 34px 0 42px;
}
.honor-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.honor-scroll a {
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 14px;
    border: 1px solid var(--portal-line);
    background: #fff;
}
.honor-scroll img {
    width: 118px;
    height: 82px;
    object-fit: cover;
}
.honor-scroll span {
    color: var(--portal-dark);
    font-weight: 700;
}

.portal-footer {
    background: #16477e;
    color: #fff;
}
.footer-selects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding: 28px 0 18px;
}
.footer-selects select {
    width: 100%;
    height: 36px;
    border: 0;
    color: #555;
    text-align: center;
    padding: 0 12px;
}
.footer-info {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 22px 0 34px;
    border-top: 1px solid rgba(255,255,255,.18);
    text-align: center;
}
.footer-info p {
    margin: 6px 0;
}
.footer-info a { color: #fff; }
.police-record a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.police-record img {
    width: 18px;
    height: 20px;
    object-fit: contain;
}
.footer-logo {
    width: 82px;
    height: 82px;
}

/* Inner pages */
.inner-hero {
    position: relative;
    height: 230px;
    color: #fff;
    overflow: hidden;
}
.inner-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15,49,95,.64);
}
.inner-hero .wrap,
.inner-hero .portal-wrap {
    position: relative;
    z-index: 1;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.inner-hero h1 { margin: 0; font-size: 36px; }
.inner-hero p { margin: 8px 0 0; }
.page-main { padding: 34px 0 54px; background: #fff; }
.page-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 34px;
}
.side-nav {
    border: 1px solid var(--portal-line);
    background: #f7f9fc;
}
.side-nav h3 {
    margin: 0;
    padding: 14px 18px;
    color: #fff;
    background: var(--portal-blue);
    font-size: 20px;
}
.side-nav a {
    display: block;
    padding: 13px 18px;
    border-bottom: 1px solid var(--portal-line);
}
.side-nav a.active { color: var(--portal-blue); font-weight: 700; }
.side-image {
    padding: 14px;
    border-top: 1px solid var(--portal-line);
    background: #fff;
}
.side-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.page-content h2 {
    margin: 10px 0 18px;
    color: var(--portal-dark);
    font-size: 28px;
}
.crumb { color: #777; }
.content-body { color: #444; font-size: 15px; }
.content-body p { margin: 0 0 14px; }
.article-list { border-top: 2px solid var(--portal-blue); }
.article-list a {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px dashed #d9e1ec;
}
.article-list h3 { margin: 0 0 6px; font-size: 18px; }
.article-list p, .article-list time, .article-meta, .prev-next { color: #777; }
.content-cover img { width: 100%; max-height: 430px; object-fit: cover; }
.search-page-form {
    display: flex;
    max-width: 620px;
    margin: 0 auto 28px;
}
.search-page-form input {
    flex: 1;
    height: 42px;
    border: 1px solid var(--portal-line);
    padding: 0 12px;
}
.search-page-form button {
    width: 110px;
    border: 0;
    color: #fff;
    background: var(--portal-blue);
}
.empty-state {
    padding: 36px;
    text-align: center;
    color: #777;
    background: #f7f9fc;
}

@media (max-width: 767px) {
    body { min-width: 0; font-size: 14px; }
    .portal-wrap, .wrap { width: calc(100% - 24px); }
    .topbar { height: auto; }
    .topbar-inner {
        height: auto;
        padding: 8px 0;
        display: block;
    }
    .topbar-welcome {
        line-height: 1.4;
        margin-bottom: 8px;
        font-size: 13px;
    }
    .top-search { width: 100%; }
    .head-slider { inset: 0 0 44px; }
    .brand-stage { height: 128px; }
    .logo-mark { width: 52px; height: 52px; }
    .big-logo { gap: 8px; width: 100%; justify-content: center; }
    .logo-type { width: min(282px, calc(100vw - 92px)); }
    .big-logo strong { font-size: 22px; letter-spacing: 0; }
    .big-logo em { margin-top: 1px; font-size: 12px; letter-spacing: 1px; }
    .portal-nav { height: auto; min-height: 44px; }
    .mobile-nav-btn {
        width: 44px;
        height: 44px;
        display: block;
        margin-left: auto;
        border: 0;
        color: #fff;
        background: transparent;
        font-size: 20px;
    }
    .nav-inner {
        height: auto;
        display: none;
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 8px;
    }
    .nav-inner.show { display: grid; }
    .nav-inner a {
        min-width: 0;
        height: 40px;
        font-size: 14px;
    }
    .portal-main { padding-top: 12px; }
    .headline-box {
        min-height: 0;
        padding: 14px;
        text-align: left;
    }
    .headline-box h1 { font-size: 20px; }
    .headline-box p { line-height: 1.7; }
    .focus-news,
    .intro-row,
    .two-column,
    .project-list,
    .service-grid,
    .honor-scroll,
    .footer-selects,
    .page-layout {
        grid-template-columns: 1fr;
    }
    .focus-news { gap: 14px; margin-top: 14px; }
    .focus-card { height: 220px; }
    .focus-left,
    .focus-right { min-height: 0; }
    .tab-title { height: auto; flex-wrap: wrap; }
    .tab-title a {
        min-width: 95px;
        height: 44px;
        font-size: 15px;
    }
    .tab-title .more {
        position: static;
        margin-left: auto;
        padding-right: 10px;
    }
    .portal-news-list { padding: 8px 12px; }
    .portal-news-list li,
    .white-news-list li {
        height: auto;
        min-height: 34px;
        gap: 8px;
    }
    .portal-news-list a,
    .white-news-list a { max-width: 68%; }
    .intro-row { gap: 14px; margin-top: 16px; }
    .intro-card { min-height: 0; padding: 14px; }
    .portal-section-title h2 { font-size: 19px; }
    .service-strip { margin-top: 16px; }
    .service-grid a {
        grid-template-columns: 104px 1fr;
        min-height: 96px;
    }
    .service-grid img { width: 104px; height: 72px; }
    .blue-band { margin-top: 18px; padding: 24px 0; }
    .project-wide .project-list { grid-template-columns: 1fr; }
    .project-list a { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
    .project-list img,
    .project-wide .project-list img { width: 110px; height: 78px; }
    .project-list span { height: auto; line-height: 1.5; white-space: normal; }
    .industry-panel { padding: 0 12px 12px; }
    .honor-area { padding: 24px 0; }
    .honor-scroll a { grid-template-columns: 96px 1fr; min-height: 94px; }
    .honor-scroll img { width: 96px; height: 66px; }
    .footer-selects { gap: 12px; padding: 20px 0 14px; }
    .footer-info {
        display: block;
        padding: 18px 0 24px;
        text-align: center;
    }
    .footer-logo { margin: 16px auto 0; }
    .inner-hero, .inner-hero .wrap, .inner-hero .portal-wrap { height: 170px; }
    .inner-hero h1 { font-size: 28px; }
    .page-main { padding: 24px 0 38px; }
    .side-image img { height: 210px; }
    .article-list a { grid-template-columns: 1fr; gap: 4px; }
    .search-page-form { display: block; }
    .search-page-form input, .search-page-form button { width: 100%; }
    .search-page-form button { height: 42px; margin-top: 10px; }
}
