.osc-careers, .osc-careers-form, .osc-careers-notice { --osc-accent: #d7262e; --osc-accent-dark: #b01d24; }
/* Careers page: position list and application form. Self-contained; uses the site's own fonts. */

.osc-careers-lead { font-size: 1.25em; line-height: 1.5; }

/* Group headings in the position list */
.osc-careers h3 { font-size: 1.05em; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin: 34px 0 10px; }

/* Each position is a card that opens to show duties */
.osc-careers details.osc-position { background: #fff; color: #1b222b; border: 1px solid #d5dbe1; border-left: 5px solid var(--osc-accent); border-radius: 8px; margin: 10px 0; transition: box-shadow .15s ease; }
.osc-careers details.osc-position:hover { box-shadow: 0 6px 18px rgba(20, 28, 38, .1); }
.osc-careers details.osc-position > summary { list-style: none; cursor: pointer; position: relative; padding: 18px 56px 18px 20px; font-weight: 800; font-size: 1.2em; line-height: 1.2; color: #1b222b; }
.osc-careers details.osc-position > summary::-webkit-details-marker { display: none; }
.osc-careers details.osc-position > summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--osc-accent); border-bottom: 3px solid var(--osc-accent); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.osc-careers details.osc-position[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.osc-careers details.osc-position > summary:focus-visible { outline: 3px solid var(--osc-accent); outline-offset: 2px; border-radius: 6px; }
.osc-careers details.osc-position[open] > summary { border-bottom: 1px solid #d5dbe1; }
.osc-careers details.osc-position > :not(summary) { margin-left: 20px; margin-right: 20px; color: #2c3540; }
.osc-careers details.osc-position > :last-child { margin-bottom: 20px; }
.osc-careers .osc-type { display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 4px; background: var(--osc-accent); color: #fff; font-size: .85em; font-weight: 600; }
.osc-careers details.osc-position h4 { font-size: .9em; text-transform: uppercase; letter-spacing: .06em; color: #4a5562; margin-top: 20px; margin-bottom: 4px; }
.osc-careers .osc-apply-link a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 6px; background: var(--osc-accent); color: #fff !important; font-weight: 600; text-decoration: none; }
.osc-careers .osc-apply-link a:hover { background: var(--osc-accent-dark); }

/* Application form */
.osc-careers-form { color: inherit; }
.osc-careers-form .osc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.osc-careers-form fieldset { border: 1px solid #d5dbe1; border-top: 3px solid var(--osc-accent); border-radius: 8px; padding: 18px 20px; margin: 22px 0; background: rgba(255, 255, 255, .03); min-width: 0; }
.osc-careers-form legend { font-weight: 700; padding: 0 8px; }
.osc-careers-form > label, .osc-careers-form fieldset > label, .osc-careers-form .osc-grid > label { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; font-weight: 600; }
.osc-careers-form input:not([type=checkbox]):not([type=radio]):not([type=file]),
.osc-careers-form select, .osc-careers-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; padding: 11px 12px; font: inherit; font-weight: 400; color: #1b222b; background: #fff; border: 1px solid #b9c2cc; border-radius: 6px; }
.osc-careers-form input[type=file] { font: inherit; font-weight: 400; }
.osc-careers-form .osc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.osc-careers-form .osc-checks { margin: 14px 0; }
.osc-careers-form .osc-checks-label { font-weight: 600; margin: 0 0 6px; }
.osc-careers-form .osc-check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; margin: 6px 0; font-weight: 400; line-height: 1.45; cursor: pointer; }
.osc-careers-form .osc-check input, .osc-careers-form .osc-ack input { width: 20px; min-width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--osc-accent); }
.osc-careers-form .osc-field-note { font-size: .9em; opacity: .8; margin: 6px 0 12px; }
.osc-careers-form .osc-question { padding: 14px 0; border-top: 1px solid #d5dbe1; }
.osc-careers-form .osc-question-text { font-weight: 600; margin: 0 0 6px; }
.osc-careers-form .osc-ack { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; margin: 24px 0; font-weight: 400; }
.osc-careers-form .osc-submit { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 26px; border: 0; border-radius: 6px; background: var(--osc-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.osc-careers-form .osc-submit:hover { background: var(--osc-accent-dark); }
.osc-careers-notice { padding: 16px 20px; border-radius: 8px; margin: 16px 0 24px; font-weight: 600; }
.osc-careers-notice.is-ok { background: #e7f4ea; border-left: 5px solid #2e7d32; color: #1b4d20; }
.osc-careers-notice.is-error { background: #fdecec; border-left: 5px solid #b3261e; color: #7e0a1d; }

@media (max-width: 700px) {
	.osc-careers details.osc-position > summary { font-size: 1.1em; padding: 16px 48px 16px 16px; }
	.osc-careers details.osc-position > :not(summary) { margin-left: 16px; margin-right: 16px; }
	.osc-careers-form fieldset { padding: 14px; }
}

/* Keep long option text (e.g. the position list) from widening narrow page columns on phones. */
.osc-careers-form-wrap, .osc-careers { contain: inline-size; }
.osc-careers-form select { min-width: 0; }
