/* Offshore Hub Desktop Completion v6
   Targeted refinement pass:
   - fix jobs table action button wrapping/vertical text
   - improve jobs row balance and action-column width
   - give newsroom editor-picks more usable width and better title clamping
   - minor spacing polish for featured/news filter rhythm
*/
@media (min-width: 901px){
  :root{
    --oh-v6-line: rgba(83,160,220,.22);
    --oh-v6-orange: #ff7a1a;
  }

  /* Jobs table: stop action text from breaking vertically. */
  body.jobs-page .jobs-table .table th:last-child,
  body.jobs-page .jobs-table .table td:last-child{
    width:112px!important;
    min-width:112px!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  body.jobs-page .jobs-table .table th:nth-child(1){width:34%!important}
  body.jobs-page .jobs-table .table th:nth-child(2){width:20%!important}
  body.jobs-page .jobs-table .table th:nth-child(3){width:14%!important}
  body.jobs-page .jobs-table .table th:nth-child(4){width:12%!important}
  body.jobs-page .jobs-table .table th:nth-child(5){width:13%!important}

  body.jobs-page .job-row td,
  body.jobs-page .job-row td *{
    word-break:normal!important;
  }
  body.jobs-page .job-row td:last-child,
  body.jobs-page .job-row td:last-child *{
    overflow-wrap:normal!important;
    word-break:normal!important;
    white-space:nowrap!important;
  }
  body.jobs-page .row-open-action{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:82px!important;
    height:36px!important;
    padding:0 14px!important;
    border-radius:10px!important;
    border:1px solid rgba(255,122,26,.55)!important;
    background:rgba(255,122,26,.08)!important;
    color:#fff!important;
    font-weight:900!important;
    font-size:12px!important;
    line-height:1!important;
    letter-spacing:.02em!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:keep-all!important;
  }
  body.jobs-page .row-open-action:hover{
    border-color:#ff8a22!important;
    background:linear-gradient(135deg,rgba(255,122,26,.22),rgba(255,122,26,.10))!important;
    box-shadow:0 0 18px rgba(255,122,26,.18)!important;
  }
  body.jobs-page .job-row td:first-child{padding-right:10px!important}
  body.jobs-page .job-row .job-title{
    display:block!important;
    max-width:100%!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body.jobs-page .job-row .sub,
  body.jobs-page .job-row .catbadge,
  body.jobs-page .job-row td:nth-child(5){
    overflow-wrap:normal!important;
    word-break:normal!important;
  }

  /* Modal/profile layout: a touch more breathing room on the title area. */
  body.jobs-page .profile-topbar{
    gap:16px!important;
  }
  body.jobs-page .profile-title{
    line-height:1.02!important;
  }

  /* News: editorial picks should be easier to read and less cramped. */
  body.news-page .news-spotlight{
    grid-template-columns:minmax(0,1.64fr) minmax(338px,.56fr)!important;
    gap:18px!important;
  }
  body.news-page .news-spotlight .side-stack{
    gap:12px!important;
    padding:13px!important;
  }
  body.news-page .news-spotlight .side-card{
    grid-template-columns:110px minmax(0,1fr)!important;
    gap:12px!important;
    min-height:148px!important;
    padding:11px!important;
  }
  body.news-page .news-spotlight .side-card img{
    width:110px!important;
    height:104px!important;
  }
  body.news-page .news-spotlight .side-card h3{
    font-size:17px!important;
    line-height:1.14!important;
    -webkit-line-clamp:4!important;
  }
  body.news-page .news-spotlight .side-card p{
    font-size:12px!important;
    line-height:1.38!important;
    -webkit-line-clamp:3!important;
  }

  /* Keep the filter tool secondary in the rhythm. */
  body.news-page .news-toolbar-section{
    margin-bottom:24px!important;
  }
  body.news-page .news-toolbar{
    border-top-color:rgba(255,122,26,.24)!important;
  }
  body.news-page .news-grid{
    gap:16px!important;
  }

  /* Footer CTA: slightly tighter height and better scan. */
  body.news-page .home-cta,
  body.index-page .home-cta{
    padding-top:22px!important;
    padding-bottom:22px!important;
  }
}
