/* Purpose-led recruitment and input pages. Existing copy and form controls are retained. */
body.ms-consistency-preview:is(.ms-editorial-recruit-index,.ms-editorial-recruit-detail,.ms-editorial-form) {
 background:#fff;
}
body.ms-consistency-preview:is(.ms-editorial-recruit-index,.ms-editorial-recruit-detail,.ms-editorial-form) #main {
 background:#fff;
}
body.ms-consistency-preview:is(.ms-editorial-recruit-index,.ms-editorial-recruit-detail,.ms-editorial-form) #main :is(.ms-content-title,.detail-head>h1) {
 font-weight:500;line-height:1.5!important;letter-spacing:-.02em;
}
/* One vacancy has a clear, complete listing rather than a large empty card grid. */
body.ms-consistency-preview.ms-editorial-recruit-index #main>.wrap {max-width:1120px}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-content-title {margin-bottom:24px}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-page-content {max-width:none}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-page-lead {max-width:680px;margin-bottom:0}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy {
 display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.35fr);gap:48px;
 margin:56px 0 0;padding:36px 0;border-top:2px solid #007f78;border-bottom:1px solid #c7d5d0;
}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy>h2 {
 margin:0;font-size:var(--ms-type-card)!important;line-height:1.65!important;font-weight:500;
}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy-body {min-width:0}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy-body>p {margin:0 0 20px}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy-body .ms-page-links {margin:20px 0 0}
body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy-body .ms-page-links a {font-weight:600;min-height:44px}
/* A real studio photograph introduces the role; conditions follow before the detailed description. */
body.ms-consistency-preview.ms-editorial-recruit-detail #main>.wrap {max-width:1120px}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-content-title {margin-bottom:40px}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-content {max-width:none}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-intro {
 display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:48px;align-items:center;margin-bottom:64px;
}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-intro-copy {min-width:0}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-intro .ms-page-lead {margin:0 0 24px}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-intro .ms-page-links {margin:0}
body.ms-consistency-preview.ms-editorial-recruit-detail #main figure.ms-recruit-editorial-photo {margin:0;overflow:hidden}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-photo img {
 display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;
}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-section {
 margin:0;padding:48px 0;border-top:1px solid #c7d5d0;
}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-section>h2 {
 margin:0 0 28px;font-weight:500;
}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-section :is(h3,p,ul,ol) {max-width:880px}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions {
 margin:0 0 48px;padding:32px 36px;background:#f1f6f3;border:0;border-top:2px solid #007f78;
}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions .ms-page-table {margin:24px 0}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions table {background:transparent}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions :is(th,td) {
 padding:18px 20px;border:0;border-top:1px solid #c7d5d0;background:transparent;
}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions th {width:25%;font-weight:500}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions tr:last-child :is(th,td) {border-bottom:1px solid #c7d5d0}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-gallery {gap:24px}
body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-apply {
 max-width:820px;margin:24px auto 0;padding:36px 0 0;border-top:2px solid #007f78;
}
/* Quiet, short path from the title to the first input. Shared chrome remains untouched. */
body.ms-consistency-preview.ms-editorial-form #main>.wrap {max-width:820px}
body.ms-consistency-preview.ms-editorial-form #main .detail-head {padding-bottom:24px}
body.ms-consistency-preview.ms-editorial-form #main .ms-content-title {margin-bottom:24px}
body.ms-consistency-preview.ms-editorial-form #main .ms-page-content {max-width:none}
body.ms-consistency-preview.ms-editorial-form #main .ms-page-lead {margin-bottom:28px}
body.ms-consistency-preview.ms-editorial-form #main .form-shell {
 max-width:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;
}
body.ms-consistency-preview.ms-editorial-form #main .form-response {max-width:760px;margin:0 0 24px}
body.ms-consistency-preview.ms-editorial-form #main .consult-person {margin-bottom:24px;padding-bottom:24px}
body.ms-consistency-preview.ms-editorial-form #main .form-owner {font-weight:500}
body.ms-consistency-preview.ms-editorial-form #main .ms-experience-form .wpcf7 {margin-top:0}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7-form>p:not(.akismet-fields-container) {
 margin:0 0 28px;
}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7 :is(label,legend) {
 font-size:16px;font-weight:500;line-height:1.8;color:#172c27;
}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7-form-control-wrap {margin-top:10px}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7 :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea) {
 width:100%;min-height:54px;padding:14px 16px;border:1px solid #b8c9c2;border-radius:0;
 background:#fff;color:#172c27;font-family:var(--sans);font-size:16px;line-height:1.8;box-shadow:none;
}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7 textarea {min-height:164px;resize:vertical}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7 :is(input,select,textarea):focus-visible {
 outline:2px solid #007f78;outline-offset:3px;
}
body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7 :is(.ms-form-privacy,.form-privacy) {
 margin-top:32px;padding-top:20px;border-top:1px solid #d3ded9;font-size:14px;line-height:1.9;
}
body.ms-consistency-preview.ms-editorial-form #main .ms-b2b-topics {margin:0 0 28px;padding:0;border:0}
body.ms-consistency-preview.ms-editorial-form #main .ms-b2b-topics legend {margin-bottom:12px}
body.ms-consistency-preview.ms-editorial-form #main .ms-b2b-topics .wpcf7-list-item {margin:0}
body.ms-consistency-preview.ms-editorial-form #main .ms-b2b-topics .wpcf7-list-item>label {
 display:flex;align-items:flex-start;gap:12px;min-height:52px;margin:0;padding:14px 0;
 border:0;border-bottom:1px solid #d3ded9;border-radius:0;background:transparent;box-shadow:none;
}
body.ms-consistency-preview.ms-editorial-form #main .ms-b2b-topics .wpcf7-list-item input {margin-top:4px}
body.ms-consistency-preview.ms-editorial-form #main .ms-b2b-optional {margin:28px 0}
@media(max-width:900px){
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-intro {gap:32px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy {gap:32px}
}
@media(max-width:760px){
 body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy {grid-template-columns:minmax(0,1fr);gap:18px;margin-top:36px;padding:28px 0}
 body.ms-consistency-preview.ms-editorial-recruit-index #main .ms-editorial-vacancy>h2 {font-size:var(--ms-type-card)!important}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-content-title {margin-bottom:28px}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-intro {grid-template-columns:minmax(0,1fr);gap:28px;margin-bottom:40px}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-photo img {aspect-ratio:3/2}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-section {padding:32px 0}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-section>h2 {margin-bottom:20px}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions {margin-bottom:32px;padding:24px 18px}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions :is(th,td) {padding:14px 10px}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-conditions th {width:30%}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-page-gallery {gap:18px}
 body.ms-consistency-preview.ms-editorial-recruit-detail #main .ms-recruit-editorial-apply {margin-top:12px;padding-top:28px}
 body.ms-consistency-preview.ms-editorial-form #main .detail-head {padding-bottom:20px}
 body.ms-consistency-preview.ms-editorial-form #main .ms-content-title {margin-bottom:20px}
 body.ms-consistency-preview.ms-editorial-form #main .form-response {margin-bottom:20px}
 body.ms-consistency-preview.ms-editorial-form #main .consult-person {margin-bottom:20px;padding-bottom:20px}
 body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7-form>p:not(.akismet-fields-container) {margin-bottom:24px}
 body.ms-consistency-preview:is(.ms-editorial-form,.ms-editorial-recruit-detail) #main .wpcf7 :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea) {padding:12px 14px}
}
