/* Hero-only overrides. Load after the existing site stylesheet. */
.vale-hero.hero-banner {
  position: relative; isolation: isolate; display: grid; place-items: center;
  min-height: 650px; padding: 88px 24px; box-sizing: border-box;
  color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(90deg,rgba(5,25,43,.72),rgba(5,25,43,.62)), url("vale-construction-aerial.jpg") center 48% / cover no-repeat;
}
.vale-hero .vale-hero__content {position:relative; z-index:1; width:100%; max-width:1120px; margin:auto;}
.vale-hero h1 {color:#fff; font-size:clamp(36px,4.5vw,68px); line-height:1.08; letter-spacing:-.035em; font-weight:700; margin:0;}
.vale-hero .vale-hero__strapline {max-width:810px; margin:24px auto 36px; color:#fff; font-size:clamp(18px,1.65vw,24px); line-height:1.5;}
.vale-hero #job-search-form {display:flex; width:100%; max-width:880px; margin:0 auto; position:relative; border-radius:6px; background:white; overflow:hidden;}
.vale-hero #job-search-form .form-input {box-sizing:border-box; flex:1; width:0; min-width:0; height:70px; padding:20px 24px; margin:0; background:#fff; color:#223345; border:0!important; border-radius:0; font:inherit; font-size:17px; text-align:left;}
.vale-hero #job-search-form .form-input::placeholder {color:#627080; opacity:1;}
.vale-hero #job-search-form .button {position:static; display:flex; align-items:center; justify-content:center; flex:0 0 190px; min-width:0; width:auto; height:auto; padding:18px 24px; margin:0; border:0; border-radius:0; background:#8cf5bf; color:#08283a; font:inherit; font-size:18px; font-weight:700; cursor:pointer;}
.vale-hero #job-search-form .button:hover {background:#b1ffd7; color:#08283a;}
.vale-hero .vale-hero__browse {display:inline-block; margin:18px 0 0; color:#fff; text-decoration:underline; text-underline-offset:4px; font-size:15px;}
.vale-hero .vale-hero__actions {display:flex; justify-content:center; gap:20px; flex-wrap:wrap; margin-top:30px;}
.vale-hero .vale-hero__actions .button {box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; min-width:245px; padding:17px 28px; border:1.5px solid #fff; border-radius:5px; background:rgba(5,25,43,.22); color:#fff; text-decoration:none; font-size:18px; font-weight:600;}
.vale-hero .vale-hero__actions .button:hover {background:#fff; color:#08283a;}
.vale-hero a:focus-visible,.vale-hero button:focus-visible {outline:3px solid #8cf5bf; outline-offset:5px;}
.vale-hero #job-search-form:focus-within {outline:3px solid #8cf5bf; outline-offset:5px;}
.vale-hero .vale-hero__sr-only {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
/* The original export repeats the old hero photo here on tablet/mobile. */
.vale-hero + .show-tablet {display:none;}
@media(max-width:600px) {
  .vale-hero.hero-banner {min-height:0; padding:64px 20px;}
  .vale-hero h1 {font-size:clamp(32px,8vw,44px);}
  .vale-hero .vale-hero__strapline {margin:22px auto 28px; font-size:18px;}
  .vale-hero #job-search-form {flex-direction:column; overflow:visible; background:transparent; gap:10px;}
  .vale-hero #job-search-form .form-input {flex:auto; width:100%; height:62px; padding:16px; font-size:16px; border-radius:5px; margin:0;}
  .vale-hero #job-search-form .button {flex:auto; width:100%; min-height:56px; border-radius:5px;}
  .vale-hero .vale-hero__actions {gap:12px; margin-top:26px;}
  .vale-hero .vale-hero__actions .button {width:100%; min-width:0;}
}
