.salary-calc { padding: 0; margin: 36px 0; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; color: #555; overflow: hidden; }
.salary-heading { padding: 28px 28px 0; }
.salary-eyebrow { display: block; color: #b71d28; font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 10px; }
.salary-heading h2 { font-size: 28px; margin-bottom: 10px; }
.salary-heading p { margin-bottom: 0; }
.salary-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px; }
.salary-controls > label:not(.salary-check) { display: block; font-weight: 700; color: #333; margin-bottom: 8px; }
.salary-controls select, .salary-controls input[type=text] { box-sizing: border-box; width: 100%; height: 50px; border: 1px solid #aaa; border-radius: 4px; background: #fff; color: #333; font: inherit; padding: 10px 12px; margin-bottom: 20px; }
.salary-calc :focus-visible { outline: 3px solid #d2232f; outline-offset: 3px; }
.salary-controls .salary-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; cursor: pointer; }
.salary-check input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: #d2232f; }
.salary-hint { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.salary-result { padding: 24px; border-radius: 5px; background: #f7f4f4; align-self: start; }
.salary-result-label { color: #333; margin: 0 0 8px; }
.salary-total { display: block; color: #b71d28; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; overflow-wrap: anywhere; }
.salary-result-secondary { margin: 8px 0 20px; font-size: 14px; }
.salary-breakdown { margin: 0; font-size: 14px; }
.salary-breakdown > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #ded8d8; }
.salary-breakdown dd { margin: 0; color: #333; white-space: nowrap; font-weight: 700; }
.salary-method { padding: 18px 28px; border-top: 1px solid #e2e2e2; font-size: 13px; line-height: 1.7; }
.salary-method summary { cursor: pointer; color: #333; font-weight: 700; }
.salary-method p { margin-top: 12px; }
.salary-method a, .salary-page-link { color: #b71d28; text-decoration: underline; }
.salary-page-link { display: block; padding: 0 28px 22px; font-size: 14px; }
.salary-error, .salary-high { color: #96331a; font-size: 13px; }
.salary-high { margin: 18px 0 0; }
.salary-page { max-width: 1000px; }
.salary-page #content { width: 100%; }
.salary-calc [hidden] { display: none !important; }
@media (max-width: 700px) { .salary-form { grid-template-columns: 1fr; padding: 20px; gap: 20px; } .salary-heading { padding: 22px 20px 0; } .salary-method { padding: 18px 20px; } .salary-page-link { padding: 0 20px 20px; } .salary-result { padding: 20px; } .salary-heading h2 { font-size: 25px; } }

/* Full-width vacancy bands: white job content, grey calculator, white FAQ,
   then the existing grey related-vacancies section. Keep all inside page-wrap
   to preserve the theme's footer reveal. */
#pvs-single-position { padding-bottom: 0; }
#pvs-single-position .position-salary { margin-top: 80px; }
#pvs-single-position .position-salary .salary-calc { max-width: 900px; margin: 0 auto; }
@media (max-width: 767px) {
 #pvs-single-position .position-salary { margin-top: 50px; padding: 50px 0; }
}
