/*
Theme Name: HIOWC Jobs
Template: extendable
Version: 1.0.0
Author: Hampshire & Isle of Wight Constabulary
Description: HIOWC public careers presentation, based on the GPL Extendable WordPress block theme.
License: GPL-2.0-or-later
Text Domain: hiowc-jobs
*/
:root{--hiowc-navy:#073270;--hiowc-blue:#0a4294;--hiowc-focus:#ffdf00;--hiowc-ink:#142336}
body{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;line-height:1.5}
.hiowc-header{background:var(--hiowc-navy);color:#fff;padding-top:0!important}
.hiowc-header a,.hiowc-header .wp-block-site-title a,.hiowc-footer a{color:#fff}
.hiowc-header .wp-block-navigation{font-weight:700}
.hiowc-header .wp-block-navigation a:hover,.hiowc-footer a:hover{text-decoration:underline}
.hiowc-header .wp-block-site-logo img{max-height:58px;width:auto}
.hiowc-nav{background:var(--hiowc-blue);color:#fff;padding-block:.65rem!important;margin-top:1rem!important}
.hiowc-nav a{color:#fff!important}
.hiowc-footer{background:var(--hiowc-navy);color:#fff;margin-block-start:3rem;padding:2.3rem 1rem!important}
.hiowc-footer p{color:#fff}
.hiowc-content{max-width:1140px;margin:auto}
.wp-block-button__link{border-radius:0;background:#0a4294}
:where(a,button,input,textarea,select,summary):focus-visible{outline:4px solid var(--hiowc-focus);outline-offset:3px}
@media(max-width:650px){.hiowc-header .wp-block-columns{gap:.6rem}.hiowc-header .wp-block-site-logo img{max-width:220px}}
/* Use the comparator's broader recruitment-site grid without losing readable copy. */
.hiowc-header>.wp-block-columns{max-width:1140px!important;margin:0 auto;padding:0 18px}
.hiowc-header .hiowc-masthead{padding:6px 0!important;min-height:66px}
.hiowc-header .hiowc-careers-label{margin:4px 0 0!important;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.15em;color:#ffdf00}
.hiowc-nav{margin-top:0!important;padding:0 18px!important;min-height:54px;display:flex;align-items:center}
.hiowc-nav>.wp-block-navigation{width:100%;max-width:1140px!important;margin-inline:auto}
.hiowc-nav .wp-block-navigation-item{padding:8px 0}
.hiowc-content{width:100%;max-width:none}
.hiowc-content>.wp-block-post-content{max-width:1140px!important;margin:auto;padding:0 18px}
.hiowc-content>.wp-block-post-content>p{max-width:800px}
.hiowc-content .wp-block-cover{border-radius:0;margin:0 calc(50% - 50vw) 30px!important;width:100vw!important;max-width:none!important;min-height:470px}
.hiowc-content .wp-block-cover__inner-container{max-width:1140px!important;margin:auto;padding:30px 18px}
.hiowc-content .wp-block-cover h1,.hiowc-content .wp-block-cover h2{color:#fff!important;text-shadow:0 2px 5px #0008}
.hiowc-content .wp-block-cover h1{font-size:clamp(36px,4vw,60px);line-height:1.15}
.hiowc-content .wp-block-cover h2{font-size:clamp(25px,3vw,38px)}
.hiowc-content .wp-block-buttons{margin:22px 0}
.hiowc-content .wp-block-button__link{color:#fff!important;font-weight:700;background:var(--hiowc-blue)!important;padding:15px 24px;border:2px solid var(--hiowc-blue)}
.hiowc-content .wp-block-button__link:hover{background:#073270!important;color:#fff!important}
.hiowc-content .wp-block-columns{gap:26px}
.hiowc-footer>.wp-block-navigation,.hiowc-footer>p{max-width:1140px;margin-inline:auto}
.hiowc-footer{padding:32px max(18px,calc((100vw - 1140px)/2))!important}
@media(max-width:650px){
 .hiowc-header>.wp-block-columns{gap:12px}
 .hiowc-header .wp-block-search{min-width:0}
 .hiowc-nav{min-height:48px}
 .hiowc-content .wp-block-cover{min-height:380px}
 .hiowc-content>.wp-block-post-content{padding:0 16px}
}
.hiowc-archive{max-width:1140px!important;margin:40px auto 70px;padding:0 18px}
.hiowc-archive h1{font-size:clamp(32px,4vw,52px)}
.hiowc-vacancy-result{border-bottom:1px solid #c5cbd1;padding:18px 0}
.hiowc-vacancy-result h2{margin:0;font-size:26px}

/* Native WordPress recruitment landing-page template: comparator-based hero and breadcrumb. */
.hiowc-subpage{width:100vw;max-width:none!important;margin-inline:calc(50% - 50vw)!important;margin-block-start:0;padding:0!important}
.hiowc-subpage .hiowc-subpage-hero{width:100%;max-width:none;margin:0!important;min-height:450px}
.hiowc-subpage-hero .wp-block-cover__image-background{object-position:70% center}
.hiowc-subpage-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,42,101,.96) 0%,rgba(5,48,113,.86) 45%,rgba(4,35,75,.15) 100%);pointer-events:none}
.hiowc-subpage-hero .wp-block-cover__inner-container{max-width:1280px;margin-inline:auto;padding:30px 18px;z-index:2}
.hiowc-subpage-hero .wp-block-post-title{color:#fff!important;font-size:clamp(2.4rem,4vw,3.3rem);line-height:1.14;font-weight:700;margin:0;text-shadow:0 2px 3px #0006}
.hiowc-subpage-content{width:100%;max-width:none;margin:0!important;padding:0!important}
.hiowc-subpage-content .hiowc-breadcrumb{box-sizing:border-box;background:var(--hiowc-navy);color:#fff;width:100vw;max-width:none!important;margin:0!important;padding:25px max(18px,calc((100vw - 1280px)/2));font-size:1rem}
.hiowc-subpage-content .hiowc-breadcrumb a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.hiowc-subpage-content>.wp-block-post-content{max-width:1140px;margin:0 auto;padding:32px 18px 55px}
.hiowc-subpage-content>.wp-block-post-content h2{font-size:clamp(1.6rem,3vw,2.3rem)}
@media(max-width:650px){
 .hiowc-subpage .hiowc-subpage-hero{min-height:310px!important}
 .hiowc-subpage-hero::after{background:linear-gradient(90deg,rgba(4,42,101,.96),rgba(4,42,101,.50))}
 .hiowc-subpage-hero .wp-block-post-title{font-size:2.1rem}
 .hiowc-subpage-content .hiowc-breadcrumb{padding:18px 16px}
 .hiowc-subpage-content>.wp-block-post-content{padding:24px 16px 40px}
}

.hiowc-account-link{margin:.35rem 0 0;text-align:right}.hiowc-account-link a{font-weight:700;color:#fff;text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){.hiowc-account-link{text-align:left}}
