/* 2026-09-14 modern portal refinement */
.modern-home .portal-hero{min-height:205px;background-position:center 48%}
.modern-home .portal-hero-inner{min-height:205px}
.modern-home .portal-hero-copy{width:min(610px,60%);padding:22px 0}
.modern-home .portal-hero h1{margin:3px 0 1px;font-size:clamp(29px,3.2vw,42px);letter-spacing:0}
.modern-home .portal-hero-copy>p{margin-bottom:13px;font-size:14px}
.modern-home .portal-search{height:46px}
.modern-home .portal-hot{margin-top:8px}
.modern-portal-shell{padding-top:14px;grid-template-columns:minmax(0,1fr) 286px;gap:14px}
.modern-portal-shell .portal-main-column,.modern-portal-shell .portal-rail{gap:14px}
.modern-home .portal-panel{border-radius:10px;box-shadow:0 5px 20px rgba(19,44,79,.055)}
.modern-home .portal-panel-head{height:48px;padding:0 15px}
.home-news-desk-body{padding:12px}
.home-news-visuals{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);gap:10px}
.home-news-lead{position:relative;min-height:352px;overflow:hidden;border-radius:8px;background:#09284c}
.home-news-lead-media,.home-news-lead-media img,.home-news-lead-media .portal-media-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-news-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(2,16,37,.93) 0,rgba(2,16,37,.3) 62%,rgba(2,16,37,.05))}
.home-news-lead-copy{position:absolute;z-index:3;left:0;right:0;bottom:0;padding:23px 24px;color:#fff}
.home-news-lead-copy>b{font-size:10px;color:#8dcbff;letter-spacing:.08em}
.home-news-lead-copy h2{margin:6px 0 7px;font-size:clamp(24px,2.35vw,34px);line-height:1.28;letter-spacing:-.02em}
.home-news-lead-copy p{margin:0;max-width:780px;color:#d8e5f3;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-news-lead-copy small{display:block;margin-top:9px;color:#b8c9dc;font-size:10px}
.home-news-minis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.home-news-minis>a{min-width:0;display:flex;flex-direction:column;border:1px solid #e1e8f0;border-radius:7px;overflow:hidden;background:#fff}
.home-news-minis>a>div{position:relative;height:108px;overflow:hidden;background:#e8eef5}
.home-news-minis img,.home-news-minis .portal-media-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;font-size:11px}
.home-news-minis>a>span{padding:9px 10px 10px;display:grid;gap:2px}
.home-news-minis b{color:#0a68d7;font-size:9px}
.home-news-minis strong{height:38px;color:#15263b;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-news-minis small{color:#8a97a7;font-size:9px}
.home-news-minis>a:hover strong{color:#0867d7}
.home-news-briefs{margin-top:10px;padding:3px 12px 6px;border-top:1px solid #e5ebf2;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}
.home-news-brief-label{grid-column:1/-1;padding:7px 0 3px;color:#718198;font-size:9px;font-weight:850;letter-spacing:.12em}
.home-news-briefs>a{min-width:0;min-height:35px;display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:6px;border-bottom:1px solid #edf1f5}
.home-news-briefs i{color:#98a7ba;font-size:9px;font-style:normal;font-weight:800}
.home-news-briefs strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#23364d;font-size:11px}
.home-news-briefs time{color:#98a3b2;font-size:9px}
.home-news-briefs>a:hover strong{color:#0867d7}
.home-info-grid{gap:14px}
.modern-home .portal-news-list>div:last-child,.modern-home .portal-jobs-list>div:last-child{padding:4px 12px 8px}
.modern-home .portal-news-row{min-height:69px;grid-template-columns:94px minmax(0,1fr)}
.modern-home .portal-job-row{min-height:45px}
.portal-services-wide{grid-column:1/-1}
.service-image-grid{padding:12px;grid-template-columns:repeat(4,1fr);gap:10px}
.service-image-grid a{position:relative;min-height:140px;padding:0;display:flex;justify-content:flex-end;align-items:flex-start;flex-direction:column;overflow:hidden;border:1px solid #dfe8f1;border-radius:9px;background:#eaf4ff;text-align:left}
.service-image-grid a img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.service-image-grid a::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(3,29,59,.88),rgba(3,29,59,.08) 66%);pointer-events:none}
.service-image-grid a:hover img{transform:scale(1.025)}
.service-image-grid a span,.service-image-grid a strong{position:relative;z-index:2;width:auto;height:auto;background:none;border-radius:0;color:#fff;text-align:left;white-space:normal}
.service-image-grid a span{padding:0 13px;font-size:15px;font-weight:850}
.service-image-grid a strong{padding:2px 13px 12px;color:#d8e8f8;font-size:9px;font-weight:600}

/* News channel: tighter masthead and visibly different category layouts */
.news-channel-page .channel-masthead{background:#fff}
.news-channel-page .channel-masthead>.container{padding-top:10px}
.news-channel-page .breadcrumbs{margin-bottom:5px}
.news-channel-page .channel-title-row{min-height:76px;padding:0 0 8px;align-items:center}
.news-channel-page .channel-title-row h1{margin:2px 0 0;font-size:clamp(31px,3.5vw,46px);line-height:1}
.news-channel-page .channel-deck{margin-top:6px;font-size:12px}
.news-channel-page .channel-tabs{margin-top:0}
.news-channel-page .channel-tabs button{padding-top:12px;padding-bottom:11px}
.news-channel-page .channel-page{padding-top:18px}
.news-channel-page .channel-search{margin-bottom:14px}
.news-channel-page .channel-lead{margin-bottom:25px;border-radius:8px;overflow:hidden}
.news-channel-page[data-news-category="china"] .channel-title-row{min-height:68px}
.news-channel-page[data-news-category="china"] .channel-masthead>.container{padding-top:7px}
.news-channel-page[data-news-category="china"] .channel-deck{margin-top:4px}
.news-channel-page[data-channel-layout="front"] .channel-lead{grid-template-columns:minmax(0,1.4fr) minmax(300px,.72fr);min-height:430px}
.news-channel-page[data-channel-layout="front"] .channel-lead-main{min-height:430px}
.news-channel-page[data-channel-layout="front"] .news-stream{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;background:transparent}
.news-channel-page[data-channel-layout="front"] .news-stream-item{grid-column:span 6;min-height:0;padding:0;display:block;border:1px solid #e1e5ea;background:#fff;overflow:hidden}
.news-channel-page[data-channel-layout="front"] .news-stream-item:nth-child(5n+1){grid-column:span 8}
.news-channel-page[data-channel-layout="front"] .news-stream-item:nth-child(5n+2){grid-column:span 4}
.news-channel-page[data-channel-layout="front"] .news-stream-media{height:185px;min-height:0}
.news-channel-page[data-channel-layout="front"] .news-stream-item:nth-child(5n+1) .news-stream-media{height:245px}
.news-channel-page[data-channel-layout="front"] .news-stream-copy{padding:17px}
.news-channel-page[data-channel-layout="front"] .news-stream-copy h3{font-size:20px}
.news-channel-page[data-channel-layout="bulletin"] .channel-lead{grid-template-columns:minmax(0,1.6fr) 300px}
.news-channel-page[data-channel-layout="bulletin"] .channel-lead-main{min-height:455px}
.news-channel-page[data-channel-layout="bulletin"] .news-stream-item:nth-child(3n+1){grid-template-columns:1fr;padding:23px 0}
.news-channel-page[data-channel-layout="bulletin"] .news-stream-item:nth-child(3n+1) .news-stream-media{height:235px}
.news-channel-page[data-channel-layout="panorama"] .channel-lead-main{min-height:455px}
.news-channel-page[data-channel-layout="split"] .channel-lead-main{min-height:395px}
.news-channel-page[data-channel-layout="split"] .channel-lead-side>a{grid-template-columns:42% 1fr}
.news-channel-page[data-channel-layout="ledger"] .channel-lead{min-height:390px}
.news-channel-page[data-channel-layout="ledger"] .channel-lead-main{min-height:390px}
.news-channel-page[data-channel-layout="ledger"] .channel-side-media{height:102px}
.news-channel-page[data-channel-layout="ledger"] .news-stream-item:nth-child(4n){grid-template-columns:1fr;padding:22px 0}
.news-channel-page[data-channel-layout="ledger"] .news-stream-item:nth-child(4n) .news-stream-media{display:none}
.news-channel-page[data-channel-layout="briefing"] .news-stream-item{border-left:4px solid #d7ebe7;padding-left:14px}
.news-channel-page[data-channel-layout="markets"] .news-stream-item:nth-child(3n){grid-template-columns:1fr 170px}
.news-channel-page[data-channel-layout="markets"] .news-stream-item:nth-child(3n) .news-stream-media{order:2}
.news-channel-page[data-channel-layout="signal"] .news-stream{grid-template-columns:repeat(3,1fr)}
.news-channel-page[data-channel-layout="signal"] .news-stream-item:nth-child(4n+1){grid-column:span 2}
.news-channel-page[data-channel-layout="voices"] .news-stream-item:nth-child(3n+2) .news-stream-media{height:225px}
.news-channel-page[data-channel-layout="gallery"] .news-stream{grid-template-columns:repeat(3,1fr)}
.news-channel-page[data-channel-layout="gallery"] .news-stream-item:nth-child(4n+1){grid-column:span 2}
.news-channel-page[data-channel-layout="gallery"] .news-stream-item:nth-child(4n+1) .news-stream-media{height:285px}
.news-channel-page[data-channel-layout="magazine"] .news-stream-item:nth-child(3n+1){grid-column:1/-1;display:grid;grid-template-columns:42% 1fr}
.news-channel-page[data-channel-layout="magazine"] .news-stream-item:nth-child(3n+1) .news-stream-media{height:240px}
.news-channel-page[data-channel-layout="columns"] .channel-lead-main{min-height:330px}
.news-channel-page[data-channel-layout="columns"] .news-stream-item{margin-bottom:10px}

@media(max-width:1180px){.home-news-visuals{grid-template-columns:1fr}.home-news-lead{min-height:330px}.home-news-minis{grid-template-columns:repeat(4,1fr)}.home-news-minis>a>div{height:92px}.service-image-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:930px){.modern-portal-shell{grid-template-columns:1fr}.portal-services-wide{grid-column:auto}.home-news-visuals{grid-template-columns:1.15fr .85fr}.home-news-minis{grid-template-columns:1fr 1fr}.home-news-minis>a>div{height:105px}.service-image-grid{grid-template-columns:repeat(4,1fr)}.news-channel-page[data-channel-layout="signal"] .news-stream,.news-channel-page[data-channel-layout="gallery"] .news-stream{grid-template-columns:1fr 1fr}.news-channel-page[data-channel-layout="signal"] .news-stream-item:nth-child(4n+1),.news-channel-page[data-channel-layout="gallery"] .news-stream-item:nth-child(4n+1){grid-column:span 1}}
@media(max-width:760px){.modern-home .portal-hero{min-height:245px}.modern-home .portal-hero-inner{min-height:245px}.modern-home .portal-hero-copy{width:100%;padding-right:7%}.home-news-visuals{grid-template-columns:1fr}.home-news-minis{grid-template-columns:1fr 1fr}.home-news-briefs{grid-template-columns:1fr}.home-news-brief-label{grid-column:1}.service-image-grid{grid-template-columns:repeat(2,1fr)}.service-image-grid a{min-height:126px}.news-channel-page[data-channel-layout="front"] .news-stream{display:block}.news-channel-page[data-channel-layout="front"] .news-stream-item{margin-bottom:12px}.news-channel-page[data-channel-layout="signal"] .news-stream,.news-channel-page[data-channel-layout="gallery"] .news-stream{display:block}.news-channel-page[data-channel-layout="signal"] .news-stream-item,.news-channel-page[data-channel-layout="gallery"] .news-stream-item{margin-bottom:12px}.news-channel-page[data-channel-layout="magazine"] .news-stream-item:nth-child(3n+1){display:block}}
@media(max-width:520px){.modern-home .portal-hero{min-height:274px}.modern-home .portal-hero-inner{min-height:274px}.modern-home .portal-hero-copy{padding:24px 0}.modern-home .portal-hero h1{font-size:31px}.home-news-desk-body{padding:8px}.home-news-lead{min-height:300px}.home-news-lead-copy{padding:18px}.home-news-lead-copy h2{font-size:24px}.home-news-minis{grid-template-columns:1fr 1fr;gap:7px}.home-news-minis>a>div{height:88px}.home-news-minis>a>span{padding:7px}.home-news-minis strong{font-size:11px}.home-news-briefs{padding-inline:4px}.service-image-grid{padding:8px;gap:8px}.service-image-grid a{min-height:112px}.service-image-grid a span{font-size:13px}.news-channel-page .channel-title-row{min-height:64px}.news-channel-page .channel-title-row h1{font-size:31px}.news-channel-page .channel-deck{font-size:11px}.news-channel-page[data-channel-layout="front"] .news-stream-item .news-stream-media,.news-channel-page[data-channel-layout="front"] .news-stream-item:nth-child(5n+1) .news-stream-media{height:150px}.news-channel-page[data-channel-layout] .channel-lead-main{min-height:330px}}

/* 2026-09-14 service category navigation — compact portal style */
.service-icon-grid,.service-category-tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;padding:11px 12px;background:#fff}
.service-category-tile{--cat:#0867d7;appearance:none;min-width:0;min-height:90px;padding:10px 5px 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #e4eaf1;border-radius:5px;background:#fff;color:#34465b;text-align:center;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.service-category-tile:hover,.service-category-tile.active{border-color:var(--cat);box-shadow:0 4px 15px rgba(18,45,75,.08);transform:translateY(-1px)}
.service-category-tile.active{background:#fbfdff}
.service-category-tile .service-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:0;background:none;color:var(--cat)}
.service-category-tile .service-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.service-category-tile strong{display:block;color:#26384d;font-size:14px;font-weight:850;line-height:1.1;white-space:nowrap}
.service-category-tile small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#8996a6;font-size:9px;font-weight:600;line-height:1.3;white-space:nowrap}
.service-category-tile.cat-moving{--cat:#ff7b13}.service-category-tile.cat-tax{--cat:#18b968}.service-category-tile.cat-legal{--cat:#1671e6}.service-category-tile.cat-housing{--cat:#9542d6}.service-category-tile.cat-auto{--cat:#f3333f}.service-category-tile.cat-daily{--cat:#16aab7}.service-category-tile.cat-education{--cat:#f3a300}.service-category-tile.cat-renovation{--cat:#ec2d71}.service-category-tile.cat-insurance{--cat:#0f8fa6}.service-category-tile.cat-dental{--cat:#2a8fd4}.service-category-tile.cat-all{--cat:#64748b}
.services-page .service-category-tiles{padding:0;border:1px solid #e2e8ef;border-radius:8px;overflow:hidden;gap:0;box-shadow:0 10px 28px rgba(15,42,72,.06)}
.services-page .service-category-tiles .service-category-tile{min-height:104px;border:0;border-right:1px solid #e9edf2;border-radius:0;box-shadow:none}
.services-page .service-category-tiles .service-category-tile:last-child{border-right:0}
.services-page .service-category-tiles .service-category-tile:hover,.services-page .service-category-tiles .service-category-tile.active{box-shadow:inset 0 -3px 0 var(--cat);transform:none}
@media(max-width:1120px){.service-icon-grid,.service-category-tiles{grid-template-columns:repeat(4,1fr)}.services-page .service-category-tiles .service-category-tile:nth-child(4n){border-right:0}.services-page .service-category-tiles .service-category-tile:nth-child(-n+4){border-bottom:1px solid #e9edf2}}
@media(max-width:620px){.service-icon-grid,.service-category-tiles{grid-template-columns:repeat(2,1fr);gap:6px}.service-icon-grid{padding:8px}.service-category-tile{min-height:82px}.services-page .service-category-tiles{grid-template-columns:repeat(2,1fr)}.services-page .service-category-tiles .service-category-tile{min-height:94px;border-bottom:1px solid #e9edf2}.services-page .service-category-tiles .service-category-tile:nth-child(2n){border-right:0}.service-category-tile strong{font-size:13px}.service-category-tile small{font-size:8.5px}}
