/* HireWay Group V4: targeted shared UI improvements. The original page design is retained. */
:root { --hw-globe-size:19px; }
/* Keep navigation in normal page flow; exported page-level 'header' rules previously did this by accident. */
body > .hw-header {
  position:sticky!important; top:0; inset-inline:0;
  width:100%!important; max-width:100%; z-index:1000;
  background:#fff;
}
.hw-header .template_header_columns {
  display:flex!important;align-items:center!important;
  min-height:79px!important;
  padding-block:13px!important;
  margin-block:0!important;
}
.hw-header .template_header_columns > .wp-block-column {
  display:flex!important;align-items:center!important;
  align-self:center!important;min-width:0;min-height:0;
}
.hw-header .template_header_columns > .wp-block-column:first-child {justify-content:flex-start;}
.hw-header .template_header_columns > .wp-block-column:last-child {justify-content:flex-end;}
.hw-header .template_header_columns > .wp-block-column > .wp-block-group,
.hw-header .menu-container,
.hw-header .menu-items,
.hw-header .right-group {align-items:center!important;}
.hw-header .template_header_columns > .wp-block-column > .wp-block-group {display:flex; min-height:0; margin:0;}
.hw-header .menu-container {min-height:36px;}
.hw-header .menu-items {margin-block:0!important;}
.hw-header .dropdown-toggle {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 10px;}
.hw-header .hw-language-globe {display:block;width:var(--hw-globe-size);height:var(--hw-globe-size);flex:0 0 var(--hw-globe-size);color:currentColor;fill:currentColor;}
.hw-header .dropdown-toggle:hover .hw-language-globe,
.hw-header .dropdown-toggle:focus-visible .hw-language-globe {color:#ff7415;}
.hw-header .lang-text {display:inline-block;line-height:1.2;}
/* Search listing preview only. The job details page retains complete content. */
.hw-main .jobs-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:clamp(14px,2vw,24px);}
.hw-main .jobs-grid .job-card {display:flex;flex-direction:column;min-width:0;max-width:100%;padding:clamp(18px,2vw,25px);}
.hw-main .jobs-grid .job-card .job-header {display:flex;gap:12px;align-items:flex-start;margin-bottom:12px;min-width:0;}
.hw-main .jobs-grid .job-card .job-info {min-width:0;flex:1;margin-inline-start:0;overflow-wrap:anywhere;}
.hw-main .jobs-grid .job-card .company-logo {width:48px;height:48px;min-width:48px;flex:0 0 48px;}
.hw-main .jobs-grid .job-card .job-title {font-size:clamp(16px,1.6vw,19px);line-height:1.35;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;}
.hw-main .jobs-grid .job-card .company-name {margin:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow-wrap:anywhere;}
.hw-main .jobs-grid .job-card .job-details {margin:9px 0 11px;gap:6px 12px;min-width:0;}
.hw-main .jobs-grid .job-card .job-detail {min-width:0;max-width:100%;line-height:1.45;max-height:2.9em;overflow:hidden;overflow-wrap:anywhere;}
.hw-main .jobs-grid .job-card .job-description {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:1.55;max-height:4.8em;margin:0 0 11px;min-height:0;overflow-wrap:anywhere;}
.hw-main .jobs-grid .job-card .job-skills {margin:3px 0 14px;gap:6px;}
.hw-main .jobs-grid .job-card .skill-tag {font-size:12px;line-height:1.45;max-width:100%;overflow-wrap:anywhere;padding:4px 9px;}
.hw-main .jobs-grid .job-card .skill-tag:nth-child(n+6) {display:none;}
.hw-main .jobs-grid .job-card .job-actions {margin-top:auto;gap:10px;flex-wrap:wrap;min-width:0;}
.hw-main .jobs-grid .job-card .job-actions > * {max-width:100%;}
/* Responsive safeguards for old grid/page-builder fragments without changing their intended style. */
.hw-main {min-width:0;max-width:100%;}
.hw-main :is(.jobs-grid,.job-listings,.search-section,.filter-section,.filter-grid,.results-grid,.service-grid,.services-grid) {min-width:0;max-width:100%;}
.hw-main :is(.jobs-grid,.results-grid,.service-grid,.services-grid) > * {min-width:0;max-width:100%;}
.hw-main :is(pre,code) {overflow-wrap:anywhere;}
.hw-main pre {white-space:pre-wrap;}
.hw-main .hw-wpform {max-width:min(100%,1000px)!important;}
@media(max-width:1100px) and (min-width:851px){
 .hw-header .template_header_columns {min-height:76px!important;padding-block:12px!important;}
 .hw-header .menu-items {gap:3px!important;}
}
@media(max-width:850px){
 body > .hw-header {position:sticky!important;top:0;}
 .hw-header .template_header_columns {min-height:73px!important;padding:11px 3px!important;align-items:center!important;}
 .hw-header .template_header_columns > .wp-block-column:last-child {justify-content:flex-end;}
 .hw-header .menu-container {min-height:38px;}
 .hw-header .menu-items.show {align-items:stretch!important;}
 .hw-header .menu-items.show .right-group {align-items:stretch!important;}
 .hw-header .hamburger {display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;}
 .hw-header .close-btn {min-width:34px;min-height:34px;}
}
@media(max-width:650px){
 .hw-main .jobs-grid {grid-template-columns:minmax(0,1fr);gap:16px;}
 .hw-main .jobs-grid .job-card {padding:18px;}
 .hw-main .jobs-grid .job-card .job-actions {justify-content:space-between;}
 .hw-main :is(.container,.form-section,.search-section) {max-width:100%;}
}
@media(max-width:380px){
 .hw-header .template_header_columns {min-height:70px!important;padding-block:10px!important;}
 .hw-header .hw-logo img {max-width:148px!important;}
 .hw-main .jobs-grid .job-card .job-actions {align-items:stretch;}
 .hw-main .jobs-grid .job-card .job-actions .btn {max-width:100%;}
}
/* The highlighted pricing card must not scale outside its column on tablets. */
@media(max-width:1100px){
 .hw-main .package-card.featured-card {transform:none;}
}
/* Long metadata stays compact on search results, with full values available on Job Details. */
.hw-main .jobs-grid .job-card .job-detail {display:block;white-space:nowrap;text-overflow:ellipsis;max-height:1.55em;}
.hw-main .jobs-grid .job-card .job-description {-webkit-line-clamp:2;line-clamp:2;max-height:3.2em;}
.hw-main .jobs-grid .job-card .skill-tag:nth-child(n+5) {display:none;}
