:root{--portal-blue:#0867d7;--portal-blue-dark:#064ca5;--portal-navy:#08294f;--portal-ink:#13233a;--portal-muted:#65758b;--portal-line:#dfe7f1;--portal-bg:#f4f7fb;--portal-orange:#ff8a16;--portal-shadow:0 10px 30px rgba(19,44,79,.08)}
body{background:var(--portal-bg);color:var(--portal-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.portal-header{position:sticky;top:0;z-index:80;border-bottom:1px solid #e4eaf2;background:rgba(255,255,255,.98);box-shadow:0 3px 15px rgba(18,42,74,.05);backdrop-filter:blur(16px)}
.portal-header-inner{height:76px;display:grid;grid-template-columns:auto auto minmax(220px,1fr) auto;align-items:center;gap:28px}
.portal-brand{display:flex;align-items:center;gap:8px;min-width:190px;color:#075cc3}
.portal-brand .portal-logo{width:58px;height:48px;display:grid;place-items:center;overflow:hidden}
.portal-brand .portal-logo img{width:100%;height:100%;object-fit:contain}
.portal-brand>span:last-child{display:grid;gap:1px;line-height:1}
.portal-brand strong{font-size:23px;font-weight:850;letter-spacing:.04em;white-space:nowrap}
.portal-brand small{font-size:9px;font-weight:700;letter-spacing:.08em;color:#58738e}
.portal-nav{height:100%;display:flex;align-items:stretch;gap:4px}
.portal-nav .nav-link{position:relative;height:100%;padding:0 17px;display:flex;align-items:center;color:#26364a;font-size:15px;font-weight:750;white-space:nowrap}
.portal-nav .nav-link:hover{color:var(--portal-blue)}
.portal-nav .nav-link.active{color:var(--portal-blue)}
.portal-nav .nav-link.active:after{content:"";position:absolute;left:17px;right:17px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--portal-blue)}
.portal-header-search{position:relative;justify-self:end;width:min(100%,390px)}
.portal-header-search input{width:100%;height:42px;padding:0 74px 0 15px;border:1px solid #ced9e7;border-radius:7px;background:#f9fbfd;color:var(--portal-ink);outline:0}
.portal-header-search input:focus{border-color:#7eb3ec;background:#fff;box-shadow:0 0 0 4px rgba(8,103,215,.09)}
.portal-header-search button{position:absolute;right:0;top:0;width:66px;height:42px;border:0;border-radius:0 7px 7px 0;background:var(--portal-blue);color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.portal-location{max-width:150px;display:flex;align-items:center;gap:7px;color:#334b65;font-size:12px;white-space:nowrap;overflow:hidden}
.portal-location span{color:var(--portal-blue);font-size:13px}
.portal-location b{overflow:hidden;text-overflow:ellipsis}
.portal-header .menu-button{display:none}
.portal-mobile-menu{top:76px}

.portal-home{background:#f3f6fa}
.portal-hero{position:relative;min-height:272px;border-bottom:1px solid #c9d8e8;background-color:#dcecff;background-image:linear-gradient(90deg,rgba(241,248,255,.98) 0%,rgba(237,246,255,.91) 35%,rgba(236,245,255,.14) 64%,rgba(231,242,255,.05) 100%),url("home-city-hero.png");background-position:center;background-size:cover}
.portal-hero-inner{min-height:272px;display:flex;align-items:center}
.portal-hero-copy{width:min(650px,62%);padding:30px 0}
.portal-hero-copy>span{color:var(--portal-blue);font-size:10px;font-weight:900;letter-spacing:.22em}
.portal-hero h1{margin:5px 0 2px;color:#073468;font-size:clamp(32px,3.7vw,50px);line-height:1.16;letter-spacing:.02em}
.portal-hero-copy>p{margin:0 0 20px;color:#2c527a;font-size:17px;font-weight:650}
.portal-search{height:50px;display:grid;grid-template-columns:96px minmax(0,1fr) 92px;border:1px solid #b9cae0;border-radius:8px;background:#fff;box-shadow:0 7px 20px rgba(23,65,111,.16);overflow:hidden}
.portal-search select,.portal-search input{min-width:0;border:0;outline:0;background:#fff;color:var(--portal-ink)}
.portal-search select{padding:0 10px;border-right:1px solid #d9e2ed;font-size:13px;font-weight:750}
.portal-search input{padding:0 16px}
.portal-search button{border:0;background:var(--portal-blue);color:#fff;font-weight:800;cursor:pointer}
.portal-search button:hover{background:var(--portal-blue-dark)}
.portal-hot{margin-top:12px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:#61758a}
.portal-hot b{color:#304c69}
.portal-hot a{padding:4px 10px;border:1px solid rgba(104,139,176,.24);border-radius:999px;background:rgba(255,255,255,.7)}
.portal-hot a:hover{border-color:#6a9ed8;color:var(--portal-blue)}

.portal-shell{padding:18px 0 60px;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}
.portal-main-column,.portal-rail{display:grid;gap:16px}
.portal-panel{border:1px solid var(--portal-line);border-radius:8px;background:#fff;box-shadow:0 3px 14px rgba(25,53,88,.04);overflow:hidden}
.portal-panel-head{height:50px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8edf3}
.portal-panel-head>div{display:flex;align-items:center;gap:9px}
.portal-panel-head i{width:4px;height:20px;border-radius:3px;background:var(--portal-blue)}
.portal-panel-head h2{margin:0;font-size:18px;line-height:1.2;letter-spacing:.02em}
.portal-panel-head>a{color:#728197;font-size:11px;font-weight:700}
.portal-panel-head>a:after{content:" ›"}
.portal-panel-head>a:hover{color:var(--portal-blue)}

.portal-latest-grid{min-height:230px;padding:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.latest-card{min-width:0;border:1px solid #e2e8f0;border-radius:7px;background:#fff;overflow:hidden;transition:.18s}
.latest-card:hover{transform:translateY(-2px);border-color:#b8cbe2;box-shadow:var(--portal-shadow)}
.latest-card-media{position:relative;height:115px;background:#e7eef7;overflow:hidden}
.latest-card-media img,.latest-card-media>.portal-media-fallback{width:100%;height:100%;object-fit:cover}
.portal-media-fallback{display:grid;place-items:center;color:rgba(255,255,255,.92);font-size:18px;font-weight:900;letter-spacing:.16em}
.portal-media-fallback.blue{background:linear-gradient(135deg,#1599eb,#0762ce)}.portal-media-fallback.navy{background:linear-gradient(135deg,#174d85,#09294d)}.portal-media-fallback.teal{background:linear-gradient(135deg,#18adbb,#087181)}.portal-media-fallback.sky{background:linear-gradient(135deg,#62b7f7,#2474c9)}
.latest-card-media img{position:absolute;inset:0}
.latest-card-media b{position:absolute;top:7px;left:7px;padding:3px 8px;border-radius:4px;background:#078cdd;color:#fff;font-size:10px;z-index:2}
.latest-job-media,.latest-service-media{display:grid;place-items:center;background:linear-gradient(135deg,#fff4e1,#ffe1ae)}
.latest-job-media>span,.latest-service-media>span{font-size:40px;font-weight:900;color:#e87b08}
.latest-job-media b{background:#19a654}.latest-service-media b{background:#ff931f}
.latest-service-media{background:linear-gradient(135deg,#eefaf7,#c9eee4)}.latest-service-media>span{color:#15886f}
.latest-card>div:last-child{padding:9px 10px 10px}
.latest-card h3{height:43px;margin:0;color:#1b2b3e;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.latest-card small{display:block;margin-top:5px;color:#8a97a7;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.portal-twin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.portal-news-list>div:last-child,.portal-jobs-list>div:last-child{padding:5px 12px 9px}
.portal-news-row{min-height:73px;padding:8px 0;display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;border-bottom:1px solid #edf1f5}
.portal-news-row:last-child{border-bottom:0}
.portal-news-row>div{position:relative;min-height:57px;border-radius:4px;background:#e8eef5;overflow:hidden}
.portal-news-row img,.portal-news-row .portal-media-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;font-size:11px}
.portal-news-row>span{min-width:0;display:block}
.portal-news-row b{display:block;margin-bottom:1px;color:var(--portal-blue);font-size:9px}
.portal-news-row strong{height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#1a2a3e;font-size:13px;line-height:1.45}
.portal-news-row small{color:#8b98a8;font-size:9px}
.portal-news-row:hover strong{color:var(--portal-blue)}
.portal-local-status{height:24px;margin:0;padding:6px 14px 0;color:#6f7f92;font-size:10px;text-align:right}
#homeJobs{padding:0 12px 8px}
.portal-job-row{min-height:49px;display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid #edf1f5}
.portal-job-row:last-child{border-bottom:0}
.portal-job-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#e9f3ff;color:var(--portal-blue);font-size:12px;font-weight:900}
.portal-job-row>span:nth-child(2){min-width:0;display:grid}
.portal-job-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#17283d;font-size:12px}
.portal-job-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8491a1;font-size:9px}
.portal-job-row time{color:#8b98a8;font-size:9px;white-space:nowrap}
.portal-job-row:hover strong{color:var(--portal-blue)}

.portal-service-categories{padding:14px;display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.portal-service-categories a{min-height:82px;padding:10px 4px;display:grid;justify-items:center;align-content:center;gap:6px;border:1px solid #e4eaf1;border-radius:7px;background:#f8fbff;text-align:center}
.portal-service-categories a:nth-child(2n){background:#f6fbf9}.portal-service-categories a:nth-child(3n){background:#fff9f2}.portal-service-categories a:nth-child(4n){background:#fbf7ff}
.portal-service-categories span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e3f0ff;color:var(--portal-blue);font-size:14px;font-weight:900}
.portal-service-categories strong{color:#34465b;font-size:10px;white-space:nowrap}
.portal-service-categories a:hover{border-color:#8eb7e5;transform:translateY(-1px)}
.portal-service-preview{margin:0 14px 14px;border-top:1px solid #e7edf3}
.portal-service-preview>header{height:43px;display:flex;align-items:center;justify-content:space-between}
.portal-service-preview h3{margin:0;font-size:14px}.portal-service-preview header span{color:#8190a2;font-size:10px}
#homeServices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.portal-service-row{min-height:57px;padding:7px 9px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #e5ebf2;border-radius:6px}
.portal-service-row>span{width:35px;height:35px;display:grid;place-items:center;border-radius:7px;background:#e8f5ff;color:var(--portal-blue);font-weight:900}
.portal-service-row>div{min-width:0;display:grid}.portal-service-row strong,.portal-service-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-service-row strong{font-size:11px}.portal-service-row small{color:#8290a1;font-size:9px}

.portal-rail .portal-panel-head{height:47px}
.rail-location{padding-bottom:15px}.rail-location>.portal-panel-head{margin-bottom:13px}.rail-location>strong{display:block;padding:0 15px;color:var(--portal-blue);font-size:17px}.rail-location>p{margin:3px 15px 0;color:#778699;font-size:10px}
.rail-cities>div:last-child{padding:11px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.rail-cities>div a{padding:7px 3px;border-radius:6px;background:#f0f5fb;color:#476079;font-size:10px;text-align:center}
.rail-cities>div a:hover{background:#e1edfb;color:var(--portal-blue)}
.rail-quick ol{margin:0;padding:5px 13px 9px;counter-reset:hot}
.rail-quick li{list-style:none;counter-increment:hot}
.rail-quick a{min-height:38px;display:flex;align-items:center;border-bottom:1px solid #edf1f5;color:#31465d;font-size:11px}
.rail-quick a:before{content:counter(hot);width:20px;height:20px;margin-right:10px;display:grid;place-items:center;border-radius:5px;background:#edf4fc;color:var(--portal-blue);font-size:9px;font-weight:900}
.rail-publish{padding:25px 20px;border-radius:8px;background:linear-gradient(150deg,#0b72e4,#0656bd 60%,#073b86);color:#fff;box-shadow:0 10px 25px rgba(8,91,190,.22)}
.rail-publish>span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#cde8ff}
.rail-publish h2{margin:6px 0 20px;font-size:22px;line-height:1.35}
.rail-publish>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rail-publish a{padding:9px 6px;border:1px solid rgba(255,255,255,.35);border-radius:6px;background:rgba(255,255,255,.1);font-size:11px;font-weight:800;text-align:center}
.rail-publish a:first-child{border-color:#fff;background:#fff;color:var(--portal-blue)}

.auto-location-banner{min-height:42px;margin:-38px 0 12px;padding:9px 14px;position:relative;z-index:3;display:flex;align-items:center;gap:8px;border:1px solid #c9dcf2;border-radius:7px;background:#f1f7fe;color:#335676;font-size:11px;box-shadow:0 4px 15px rgba(25,61,102,.08)}
.auto-location-banner>span{color:var(--portal-blue);font-size:10px}.auto-location-banner button{margin-left:auto;padding:3px 9px;border:1px solid #a8c8eb;border-radius:4px;background:#fff;color:var(--portal-blue);font-size:10px;font-weight:800;cursor:pointer}
.jobs-main .auto-location-banner+.jobs-filter{margin:0 0 34px}
.service-location-banner{margin:28px 0 -14px}.service-location-banner+.service-market{margin-top:28px}

.portal-footer .portal-footer-main{display:grid;grid-template-columns:1.5fr repeat(3,.65fr);gap:38px;padding:42px 0 30px}
.portal-footer .footer-brand{color:#fff}.portal-footer .footer-brand small{color:#849bb5}.portal-footer .portal-logo{width:52px;height:43px}

@media(max-width:1180px){.portal-header-inner{grid-template-columns:auto auto 1fr;gap:17px}.portal-location{display:none}.portal-nav .nav-link{padding-inline:13px}.portal-latest-grid{grid-template-columns:repeat(2,1fr)}.latest-card{display:grid;grid-template-columns:145px 1fr}.latest-card-media{height:105px}.portal-service-categories{grid-template-columns:repeat(4,1fr)}}
@media(max-width:930px){.portal-header-inner{grid-template-columns:auto 1fr auto}.portal-nav{display:none}.portal-header-search{justify-self:stretch}.portal-header .menu-button{display:grid}.portal-shell{grid-template-columns:1fr}.portal-rail{grid-template-columns:1fr 1fr}.rail-publish{grid-column:1/-1}.portal-hero-copy{width:72%}.portal-footer .portal-footer-main{grid-template-columns:1fr 1fr 1fr}.portal-footer .footer-about{grid-column:1/-1}}
@media(max-width:760px){.container{width:min(calc(100% - 26px),var(--max))}.portal-header-inner{height:68px;grid-template-columns:1fr auto}.portal-header-search{display:none}.portal-brand{min-width:0}.portal-brand .portal-logo{width:51px;height:42px}.portal-brand strong{font-size:20px}.portal-mobile-menu{top:68px}.portal-hero{min-height:300px;background-image:linear-gradient(90deg,rgba(239,247,255,.96),rgba(239,247,255,.78) 66%,rgba(239,247,255,.28)),url("home-city-hero.png");background-position:58% center}.portal-hero-inner{min-height:300px}.portal-hero-copy{width:100%;padding-right:8%}.portal-hero-copy>p{font-size:14px}.portal-search{grid-template-columns:82px 1fr 72px}.portal-shell{padding-top:12px}.portal-latest-grid{grid-template-columns:1fr 1fr}.latest-card{display:block}.latest-card-media{height:120px}.portal-twin-grid{grid-template-columns:1fr}.portal-service-categories{grid-template-columns:repeat(4,1fr)}.portal-rail{grid-template-columns:1fr 1fr}.rail-location,.rail-cities{min-height:145px}.auto-location-banner{margin:-34px 0 10px}.jobs-main .auto-location-banner+.jobs-filter{margin-top:0}.portal-footer .portal-footer-main{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.portal-brand small{display:none}.portal-hero{min-height:324px;background-position:66% center}.portal-hero-inner{min-height:324px;align-items:flex-end}.portal-hero-copy{padding:34px 0}.portal-hero-copy>span{font-size:8px}.portal-hero h1{max-width:320px;font-size:34px}.portal-search{height:auto;grid-template-columns:76px 1fr}.portal-search select,.portal-search input{height:46px}.portal-search button{grid-column:1/-1;height:42px}.portal-latest-grid{gap:8px;padding:9px}.latest-card-media{height:103px}.latest-card h3{font-size:12px}.portal-news-row{grid-template-columns:91px 1fr}.portal-service-categories{grid-template-columns:repeat(4,1fr);gap:5px;padding:10px}.portal-service-categories a{min-height:72px}.portal-service-categories strong{font-size:9px}.portal-service-categories span{width:28px;height:28px}.portal-service-preview{margin-inline:10px}#homeServices{grid-template-columns:1fr}.portal-rail{grid-template-columns:1fr}.rail-location,.rail-cities{min-height:0}.portal-footer .portal-footer-main{grid-template-columns:1fr 1fr;gap:24px}.portal-footer .footer-about{grid-column:1/-1}.auto-location-banner{align-items:flex-start;flex-wrap:wrap}.auto-location-banner button{margin-left:0}.service-location-banner{margin-top:20px}}

/* Brand bilingual lockup: English line aligns to the Chinese wordmark edges. */
.portal-brand>span:last-child{width:max-content;align-items:stretch}
.portal-brand small{display:flex;width:100%;align-items:center;justify-content:space-between;gap:0;letter-spacing:0;text-align:left}
.portal-brand small i{font-style:normal;display:block}
