/* Homepage priority layout: jobs + local services first, news as a compact supporting section */
.home-priority-layout{background:#f3f6f9}
.home-hero-compact{padding:34px 0 30px}
.home-hero-compact .portal-hero-copy{max-width:820px}
.home-hero-compact .portal-hero-copy h1{font-size:34px;line-height:1.18}
.home-hero-compact .portal-hero-copy p{margin-bottom:18px}
.home-priority-shell{padding-top:18px;padding-bottom:30px;display:grid;gap:16px}
.home-priority-shell>.portal-panel{margin:0;overflow:hidden}
.home-section-head>div{min-width:0;display:flex;align-items:center;gap:10px}
.home-section-note{color:#8a97a8;font-size:10px;font-weight:600}

/* Jobs: compact two-column feed + a useful right rail */
.home-main-jobs{border-top:3px solid #0b4f94}
.home-jobs-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:stretch}
.home-jobs-feed{min-width:0;border-right:1px solid #e3e8ee;display:flex;flex-direction:column;background:#fff}
.home-jobs-feed #homeJobs{padding:0 14px 4px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;row-gap:0}
.home-jobs-feed .portal-local-status{margin:0;padding:0 14px;min-height:0}
.home-priority-job{min-width:0;min-height:54px!important;padding:6px 0!important;grid-template-columns:30px minmax(0,1fr) 46px!important;gap:7px!important;border-bottom:1px solid #edf1f5}
.home-priority-job .portal-job-icon{width:27px;height:27px;border-radius:7px}
.home-priority-job>span:nth-child(2){min-width:0}
.home-priority-job strong{display:block;min-width:0;overflow:hidden;font-size:11px!important;line-height:1.32;text-overflow:ellipsis;white-space:nowrap}
.home-priority-job small{display:block;min-width:0;overflow:hidden;margin-top:3px;color:#8997a8;font-size:8.2px!important;text-overflow:ellipsis;white-space:nowrap}
.home-priority-job time{align-self:center;justify-self:end;color:#8b99a9;font-size:8px!important;white-space:nowrap}
.home-jobs-feed .home-card-more{margin-top:auto;min-height:42px;padding:0 14px;display:flex;align-items:center;justify-content:flex-end;border-top:1px solid #e8edf3;color:#526174;font-size:10px;font-weight:850}
.home-jobs-aside{padding:14px;display:flex;flex-direction:column;gap:14px;background:#fafbfd}
.home-aside-title{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.home-aside-title strong{color:#142d49;font-size:14px}
.home-aside-title span,.home-aside-title a{color:#8a97a8;font-size:8.5px}
.home-city-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.home-city-grid a{min-height:34px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border:1px solid #dce3eb;border-radius:6px;background:#fff;color:#30465e}
.home-city-grid a:hover{border-color:#85b7ef;background:#f5faff;color:#075dcc}
.home-city-grid b{font-size:9.5px}.home-city-grid small{color:#9aa6b5;font-size:7.5px;font-weight:800}
.home-hot-jobs{padding-top:2px;border-top:1px solid #e8edf2}
.home-hot-jobs .home-aside-title{margin-top:10px}
.home-hot-job-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.home-hot-job-grid a{min-height:31px;padding:0 9px;display:flex;align-items:center;border:1px solid #e0e6ed;border-radius:6px;background:#fff;color:#40566e;font-size:9px;font-weight:750}
.home-hot-job-grid a:hover{border-color:#91b9e7;background:#f5faff;color:#075dcc}
.home-job-actions{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:2px}
.home-job-actions a{min-height:37px;display:grid;place-items:center;border:1px solid #cfd9e4;border-radius:6px;background:#fff;color:#35516f;font-size:9.5px;font-weight:850}
.home-job-actions a.primary{border-color:#0867d7;background:#0867d7;color:#fff}

/* Services: restore recognizable line icons instead of text-only badges */
.home-services-main{border-top:3px solid #0b7f85}
.home-services-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)}
.home-service-categories{padding:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;border-right:1px solid #e3e8ee}
.home-service-categories>a{min-height:92px;padding:13px 12px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;border:1px solid #e0e6ed;border-radius:8px;background:#fff;color:#233b55}
.home-service-categories>a:hover{border-color:#86c6ca;background:#f5fbfb;color:#087078}
.home-service-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#edf8f8;color:#087078}
.home-service-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.home-service-categories>a>span:last-child{display:grid;gap:4px;min-width:0}
.home-service-categories>a strong{font-size:12px}.home-service-categories>a small{overflow:hidden;color:#8a97a8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.home-service-latest-wrap{padding:16px 18px;background:#fafbfd}
.home-service-latest{display:grid}
.home-service-latest-item{padding:10px 0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:4px 9px;align-items:center;border-bottom:1px solid #e8edf2;color:#233b55}
.home-service-latest-item:last-child{border-bottom:0}
.home-service-latest-item span{grid-row:1/3;padding:4px 5px;border-radius:4px;background:#edf8f8;color:#087078;font-size:8px;font-weight:900;text-align:center}
.home-service-latest-item strong{min-width:0;overflow:hidden;font-size:10.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.home-service-latest-item small{grid-column:2;color:#8a97a8;font-size:8.5px}
.home-service-latest-item:hover strong{color:#087078}
.home-service-bottom{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e3e8ee;background:#f8fbfc}
.home-service-bottom>div{display:grid;gap:2px}.home-service-bottom strong{font-size:11px;color:#16354d}.home-service-bottom span{font-size:9px;color:#8391a2}
.home-service-bottom>a{padding:9px 14px;border-radius:5px;background:#087078;color:#fff;font-size:10px;font-weight:850;white-space:nowrap}

/* News: 8 visual stories inspired by a newsroom front, followed by a compact text-only grid */
.home-news-compact{border-top:3px solid #c21f2f;background:#fff}
.home-news-feature-grid{padding:14px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:120px 120px 110px;gap:10px}
.home-news-card{min-width:0;overflow:hidden;border:1px solid #e2e7ed;border-radius:10px;background:#fff;color:#14283e;box-shadow:0 2px 8px rgba(20,40,62,.03)}
.home-news-card:hover{border-color:#cbd5df;box-shadow:0 5px 15px rgba(20,40,62,.08)}
.home-news-media{display:block;overflow:hidden;background:linear-gradient(135deg,#edf2f7,#dfe7ef)}
.home-news-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .22s ease}
.home-news-card:hover .home-news-media img{transform:scale(1.02)}
.home-news-copy{min-width:0}.home-news-copy b{display:block;margin-bottom:5px;color:#d21f31;font-size:8px;font-weight:900}.home-news-copy strong{display:block;color:#14283e;font-size:12px;line-height:1.38}.home-news-copy p{margin:7px 0 0;color:#e8edf3;font-size:9px;line-height:1.45}
.home-news-lead{grid-column:span 6;grid-row:span 2;position:relative}
.home-news-lead .home-news-media{position:absolute;inset:0}
.home-news-lead .home-news-media:after{content:"";position:absolute;inset:28% 0 0;background:linear-gradient(180deg,transparent,rgba(6,17,31,.9))}
.home-news-lead .home-news-copy{position:absolute;z-index:2;left:18px;right:18px;bottom:15px;color:#fff}
.home-news-lead .home-news-copy strong{color:#fff;font-size:20px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-news-lead .home-news-copy b{display:inline-block;margin-bottom:7px;padding:3px 7px;border-radius:12px;background:#d82335;color:#fff}
.home-news-feature{grid-column:span 3;grid-row:span 2;display:grid;grid-template-rows:58% 42%}
.home-news-feature .home-news-copy{padding:10px 11px}.home-news-feature .home-news-copy strong{font-size:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-news-side{grid-column:span 3;display:grid;grid-template-columns:42% 58%;align-items:stretch}
.home-news-side .home-news-copy{padding:9px 9px 8px}.home-news-side .home-news-copy strong{font-size:10.5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-news-mini{grid-column:span 3;display:grid;grid-template-columns:42% 58%;align-items:stretch}
.home-news-mini .home-news-copy{padding:8px 9px}.home-news-mini .home-news-copy b{margin-bottom:3px}.home-news-mini .home-news-copy strong{font-size:10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-news-feature-grid>a:nth-child(3){grid-column:10/span 3;grid-row:1}
.home-news-feature-grid>a:nth-child(4){grid-column:10/span 3;grid-row:2}
.home-news-feature-grid>a:nth-child(n+5){grid-row:3}
.home-news-feature-grid>a:nth-child(5){grid-column:1/span 3}.home-news-feature-grid>a:nth-child(6){grid-column:4/span 3}.home-news-feature-grid>a:nth-child(7){grid-column:7/span 3}.home-news-feature-grid>a:nth-child(8){grid-column:10/span 3}
.home-news-text-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;padding:12px 16px 16px;border-top:1px solid #e7ebf0;background:#fbfcfd}
.home-news-text-col{min-width:0;padding:0 9px;border-right:1px solid #e5e9ee}
.home-news-text-col:last-child{border-right:0}
.home-news-text-col a{min-width:0;padding:7px 0;display:grid;grid-template-columns:9px minmax(0,1fr);gap:5px;border-bottom:1px solid #edf0f3;color:#536276}
.home-news-text-col a:last-child{border-bottom:0}
.home-news-text-col a>span{color:#8aa0b5;font-size:10px;line-height:1.45}
.home-news-text-col strong{min-width:0;overflow:hidden;font-size:9.5px;line-height:1.5;font-weight:550;text-overflow:ellipsis;white-space:nowrap}
.home-news-text-col a:hover strong{color:#0867d7}
.home-news-noimage{display:block;width:100%;height:100%;background:linear-gradient(135deg,#e8eef4 0%,#f4f7f9 45%,#dfe7ee 100%)}

@media(max-width:1180px){
  .home-jobs-feed #homeJobs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1050px){
  .home-jobs-layout{grid-template-columns:minmax(0,1fr) 280px}
  .home-service-categories{grid-template-columns:repeat(2,1fr)}
  .home-services-layout{grid-template-columns:1.15fr .85fr}
  .home-news-lead .home-news-copy strong{font-size:18px}
}
@media(max-width:820px){
  .home-hero-compact .portal-hero-copy h1{font-size:29px}
  .home-jobs-layout,.home-services-layout{grid-template-columns:1fr}
  .home-jobs-feed,.home-service-categories{border-right:0;border-bottom:1px solid #e3e8ee}
  .home-jobs-aside{display:grid;grid-template-columns:1fr 1fr;align-items:start}.home-job-actions{margin-top:0;grid-column:1/-1}
  .home-service-latest-wrap{background:#fff}
  .home-news-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:9px}
  .home-news-card,.home-news-lead,.home-news-feature,.home-news-side,.home-news-mini,.home-news-feature-grid>a:nth-child(n){grid-column:auto;grid-row:auto;min-height:145px}
  .home-news-lead{min-height:260px}.home-news-feature{display:grid;grid-template-rows:58% 42%;min-height:260px}
  .home-news-side,.home-news-mini{grid-template-columns:42% 58%}
  .home-news-text-grid{grid-template-columns:1fr 1fr}.home-news-text-col:nth-child(2){border-right:0}.home-news-text-col:nth-child(3){grid-column:1/-1;border-top:1px solid #e5e9ee;border-right:0;margin-top:6px;padding-top:6px}
}
@media(max-width:600px){
  .home-section-head>div{align-items:flex-start;flex-direction:column;gap:2px}.home-section-note{display:none}
  .home-jobs-feed #homeJobs{grid-template-columns:1fr;padding-inline:12px}.home-priority-job{min-height:54px!important}
  .home-jobs-aside{display:block}.home-hot-jobs{margin-top:14px}.home-job-actions{margin-top:14px;grid-template-columns:1fr 1fr}
  .home-city-grid{grid-template-columns:1fr 1fr}
  .home-service-categories{grid-template-columns:1fr 1fr;padding:12px;gap:7px}.home-service-categories>a{min-height:80px;padding:10px;grid-template-columns:37px minmax(0,1fr)}.home-service-icon{width:35px;height:35px;border-radius:9px}.home-service-icon svg{width:21px;height:21px}
  .home-service-latest-wrap{padding:13px}.home-service-latest-item{grid-template-columns:40px minmax(0,1fr)}.home-service-latest-item>strong{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.home-service-latest-item small{grid-column:2}.home-service-latest-item span{grid-row:1/3}
  .home-service-bottom{align-items:flex-start;flex-direction:column}.home-service-bottom>a{width:100%;text-align:center}
  .home-news-feature-grid{padding:10px;grid-template-columns:1fr}.home-news-card,.home-news-lead,.home-news-feature,.home-news-side,.home-news-mini,.home-news-feature-grid>a:nth-child(n){grid-column:auto;grid-row:auto;min-height:118px}.home-news-lead{min-height:220px}.home-news-feature{min-height:230px}.home-news-lead .home-news-copy{left:14px;right:14px}.home-news-lead .home-news-copy strong{font-size:17px}
  .home-news-text-grid{grid-template-columns:1fr;padding:9px 12px 12px}.home-news-text-col,.home-news-text-col:nth-child(2),.home-news-text-col:nth-child(3){grid-column:auto;border-right:0;border-top:0;margin:0;padding:0}.home-news-text-col a{padding:7px 0}.home-news-text-col strong{font-size:10px}
}

/* 2026-09-14 service home category tune: denser cards and restored colored icons */
.home-service-categories{padding:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-right:1px solid #e3e8ee}
.home-service-categories>a{min-height:78px;padding:10px 10px;display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:10px;border:1px solid #dde5ee;border-radius:7px;background:#fff;color:#233b55}
.home-service-categories>a:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(16,47,79,.08)}
.home-service-icon{width:46px;height:46px;border-radius:12px;background:#f4f7fb;color:#0867d7}
.home-service-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.home-service-categories>a>span:last-child{gap:3px}
.home-service-categories>a strong{font-size:15px;line-height:1.15}
.home-service-categories>a small{font-size:10px;line-height:1.25}
.home-service-categories>a.cat-moving .home-service-icon{background:#fff4e9;color:#ff7b13}.home-service-categories>a.cat-tax .home-service-icon{background:#ecfbf3;color:#18b968}.home-service-categories>a.cat-legal .home-service-icon{background:#eef5ff;color:#1671e6}.home-service-categories>a.cat-housing .home-service-icon{background:#f5efff;color:#9542d6}.home-service-categories>a.cat-insurance .home-service-icon{background:#eafafa;color:#0f8fa6}.home-service-categories>a.cat-dental .home-service-icon{background:#edf8ff;color:#2a8fd4}.home-service-categories>a.cat-auto .home-service-icon{background:#fff0f1;color:#f3333f}.home-service-categories>a.cat-daily .home-service-icon{background:#edf9fb;color:#16aab7}.home-service-categories>a.cat-education .home-service-icon{background:#fff7e6;color:#f3a300}.home-service-categories>a.cat-renovation .home-service-icon{background:#fff0f7;color:#ec2d71}
.home-service-categories>a.cat-moving:hover{border-color:#ffbf8c}.home-service-categories>a.cat-tax:hover{border-color:#8fe0b7}.home-service-categories>a.cat-legal:hover{border-color:#9fc6ff}.home-service-categories>a.cat-housing:hover{border-color:#ccb0ff}.home-service-categories>a.cat-insurance:hover{border-color:#96d9df}.home-service-categories>a.cat-dental:hover{border-color:#a8d9f5}.home-service-categories>a.cat-auto:hover{border-color:#ffb3ba}.home-service-categories>a.cat-daily:hover{border-color:#95dee5}.home-service-categories>a.cat-education:hover{border-color:#ffd47a}.home-service-categories>a.cat-renovation:hover{border-color:#ffb3cf}
@media(max-width:760px){.home-service-categories{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:7px}.home-service-categories>a{min-height:72px;padding:9px;grid-template-columns:42px minmax(0,1fr)}.home-service-icon{width:40px;height:40px;border-radius:10px}.home-service-icon svg{width:24px;height:24px}.home-service-categories>a strong{font-size:14px}.home-service-categories>a small{font-size:9px}}

/* 2026-09-14 homepage services: 8-up horizontal category navigation + title-only listings */
.home-services-layout{display:block}
.home-service-categories{padding:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;border:1px solid #dbe3eb;border-radius:8px 8px 0 0;overflow:hidden;background:#fff}
.home-service-categories>a{min-width:0;min-height:96px;padding:11px 5px 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-right:1px solid #dfe5ec;border-radius:0;background:#fff;text-align:center;box-shadow:none;transform:none}
.home-service-categories>a:last-child{border-right:0}
.home-service-categories>a:hover{background:#fbfdff;box-shadow:inset 0 -3px 0 currentColor;transform:none}
.home-service-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:0;background:transparent!important}
.home-service-icon svg{width:35px;height:35px;stroke-width:2.8}
.home-service-categories>a>span:last-child{display:grid;gap:3px;min-width:0;justify-items:center}
.home-service-categories>a strong{font-size:14px;line-height:1.1;color:#15283d}
.home-service-categories>a small{max-width:100%;overflow:hidden;color:#748399;font-size:8.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.home-service-latest-wrap{padding:13px 16px 16px;background:#fff;border-left:1px solid #dbe3eb;border-right:1px solid #dbe3eb}
.home-service-latest-wrap .home-aside-title{margin-bottom:7px;padding-bottom:7px;border-bottom:1px solid #e5eaf0}
.home-service-title-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:22px;row-gap:0}
.home-service-title-list .home-service-latest-item{min-width:0;min-height:39px;padding:8px 2px;display:flex;align-items:center;border-bottom:1px solid #edf1f5;color:#2d4056}
.home-service-title-list .home-service-latest-item strong{min-width:0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:10.5px;line-height:1.45;font-weight:650;white-space:normal;text-overflow:ellipsis}
.home-service-title-list .home-service-latest-item:hover strong{color:#087078}
.home-service-title-list .home-service-latest-item span,.home-service-title-list .home-service-latest-item small{display:none}
.home-service-bottom{border-left:1px solid #dbe3eb;border-right:1px solid #dbe3eb;border-bottom:1px solid #dbe3eb;border-radius:0 0 8px 8px}
@media(max-width:1080px){.home-service-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.home-service-categories>a:nth-child(4n){border-right:0}.home-service-categories>a:nth-child(-n+4){border-bottom:1px solid #dfe5ec}.home-service-title-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.home-service-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.home-service-categories>a{min-height:88px;border-bottom:1px solid #dfe5ec}.home-service-categories>a:nth-child(odd){border-right:1px solid #dfe5ec}.home-service-categories>a:nth-child(even){border-right:0}.home-service-icon{width:36px;height:36px}.home-service-icon svg{width:31px;height:31px}.home-service-categories>a strong{font-size:13px}.home-service-categories>a small{font-size:8px}.home-service-title-list{grid-template-columns:1fr}.home-service-latest-wrap{padding:11px 12px 13px}.home-service-title-list .home-service-latest-item{min-height:37px;padding:7px 2px}}

/* 2026-09-14 recruitment icon + fixed 8-image / 30-text news layout */
.home-priority-job{grid-template-columns:32px minmax(0,1fr) 46px!important}
.home-job-icon{width:28px;height:28px;display:grid;place-items:center;align-self:center;border:1px solid #cfe0f5;border-radius:8px;background:linear-gradient(145deg,#f4f9ff,#e9f3ff);color:#176ed8;box-shadow:0 2px 5px rgba(23,110,216,.06)}
.home-job-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-priority-job:hover .home-job-icon{border-color:#9fc4f2;background:#eaf4ff;color:#075dcc}

/* Explicit desktop grid prevents inherited minimum heights from covering row 3. */
.home-news-feature-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:126px 126px 116px;gap:10px;align-items:stretch}
.home-news-feature-grid>.home-news-card{min-height:0!important;height:100%;box-sizing:border-box}
.home-news-feature-grid>.home-news-lead{grid-column:1/span 6;grid-row:1/span 2;min-height:0!important;height:100%}
.home-news-feature-grid>.home-news-feature{grid-column:7/span 3;grid-row:1/span 2;min-height:0!important;height:100%}
.home-news-feature-grid>a:nth-child(3){grid-column:10/span 3;grid-row:1;min-height:0!important;height:100%}
.home-news-feature-grid>a:nth-child(4){grid-column:10/span 3;grid-row:2;min-height:0!important;height:100%}
.home-news-feature-grid>a:nth-child(5){grid-column:1/span 3;grid-row:3;min-height:0!important;height:100%}
.home-news-feature-grid>a:nth-child(6){grid-column:4/span 3;grid-row:3;min-height:0!important;height:100%}
.home-news-feature-grid>a:nth-child(7){grid-column:7/span 3;grid-row:3;min-height:0!important;height:100%}
.home-news-feature-grid>a:nth-child(8){grid-column:10/span 3;grid-row:3;min-height:0!important;height:100%}
.home-news-feature-grid .home-news-media{min-height:0}
.home-news-feature-grid .home-news-mini{min-height:0!important}
.home-news-text-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-news-text-col{display:flex;flex-direction:column}
.home-news-text-col a{min-height:34px;box-sizing:border-box}
@media(max-width:820px){
  .home-news-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(145px,auto)}
  .home-news-feature-grid>.home-news-card,.home-news-feature-grid>.home-news-lead,.home-news-feature-grid>.home-news-feature,.home-news-feature-grid>a:nth-child(n){grid-column:auto;grid-row:auto;height:auto;min-height:145px!important}
  .home-news-feature-grid>.home-news-lead,.home-news-feature-grid>.home-news-feature{min-height:260px!important}
}
@media(max-width:600px){
  .home-job-icon{width:27px;height:27px}.home-job-icon svg{width:16px;height:16px}
  .home-news-feature-grid{grid-template-columns:1fr;grid-auto-rows:minmax(118px,auto)}
  .home-news-feature-grid>.home-news-card,.home-news-feature-grid>.home-news-lead,.home-news-feature-grid>.home-news-feature,.home-news-feature-grid>a:nth-child(n){min-height:118px!important}
  .home-news-feature-grid>.home-news-lead{min-height:220px!important}.home-news-feature-grid>.home-news-feature{min-height:230px!important}
}


/* 2026-09-14 final homepage recruitment/news correction */
/* Desktop recruitment: three narrow columns; home.js supplies up to 33 items = 11 rows, filling the rail height. */
@media (min-width:1181px){
  .home-jobs-feed #homeJobs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:14px!important;
    row-gap:0!important;
    padding:0 14px 5px!important;
  }
  .home-priority-job{
    min-width:0!important;
    min-height:54px!important;
    padding:6px 0!important;
    grid-template-columns:30px minmax(0,1fr) 43px!important;
    gap:7px!important;
  }
  .home-priority-job strong{font-size:10.8px!important;line-height:1.28!important}
  .home-priority-job small{font-size:8px!important;margin-top:2px!important}
  .home-priority-job time{font-size:7.8px!important;justify-self:end!important}
  .home-job-icon{width:27px!important;height:27px!important;border-radius:7px!important}
  .home-job-icon svg{width:16px!important;height:16px!important}
}

/* Hard size constraints prevent inherited v6 min-heights from covering the third visual row. */
@media (min-width:821px){
  .home-news-feature-grid{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-template-rows:132px 132px 120px!important;
    gap:10px!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }
  .home-news-feature-grid>.home-news-card{
    min-height:0!important;
    max-height:none!important;
    height:100%!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .home-news-feature-grid>.home-news-lead{
    grid-column:1/span 6!important;
    grid-row:1/span 2!important;
    height:274px!important;
    min-height:0!important;
    max-height:274px!important;
  }
  .home-news-feature-grid>.home-news-feature{
    grid-column:7/span 3!important;
    grid-row:1/span 2!important;
    height:274px!important;
    min-height:0!important;
    max-height:274px!important;
  }
  .home-news-feature-grid>a:nth-child(3){grid-column:10/span 3!important;grid-row:1!important;height:132px!important;min-height:0!important;max-height:132px!important}
  .home-news-feature-grid>a:nth-child(4){grid-column:10/span 3!important;grid-row:2!important;height:132px!important;min-height:0!important;max-height:132px!important}
  .home-news-feature-grid>a:nth-child(5){grid-column:1/span 3!important;grid-row:3!important;height:120px!important;min-height:0!important;max-height:120px!important}
  .home-news-feature-grid>a:nth-child(6){grid-column:4/span 3!important;grid-row:3!important;height:120px!important;min-height:0!important;max-height:120px!important}
  .home-news-feature-grid>a:nth-child(7){grid-column:7/span 3!important;grid-row:3!important;height:120px!important;min-height:0!important;max-height:120px!important}
  .home-news-feature-grid>a:nth-child(8){grid-column:10/span 3!important;grid-row:3!important;height:120px!important;min-height:0!important;max-height:120px!important}
  .home-news-feature-grid .home-news-media{min-height:0!important;max-height:100%!important;overflow:hidden!important}
  .home-news-feature-grid .home-news-media img{max-height:100%!important}
}

/* 2026-09-14 recruitment fill: use more real listings on desktop without making mobile excessively long */
@media (min-width:1181px){
  .home-jobs-feed #homeJobs .home-priority-job:nth-child(n+34){display:none!important}
}
@media (min-width:601px) and (max-width:1180px){
  .home-jobs-feed #homeJobs .home-priority-job:nth-child(n+25){display:none!important}
}
@media (max-width:600px){
  .home-jobs-feed #homeJobs .home-priority-job:nth-child(n+16){display:none!important}
}
