/* ==========================================================================
   HEALTHCARE MANPOWER & RECRUITMENT PAGE
   Loads after main.css, scoped to body.page-manpower.

   The page is the client's document laid out as a web page: their headings,
   their order, their wording. The design stays quiet so the content leads -
   one vertical spine for the process, plain lists for the roles, and no
   decorative sub-headings or marketing chips anywhere.

     1. Opening    - tagline, two intro paragraphs, photo
     2. Process    - vertical spine, 01-06, training nested in 06, then 07
     3. Roles      - ten numbered categories, then the core categories line
     4. Approach   - the seven-verb chain
     5. More Than Recruitment - closing statement
     6. Contact    - the enquiry form

   Tokens match healthcare-it-services.css so this page sits in the same
   family as the other service pages.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. PAGE TOKENS + SHARED PIECES
   -------------------------------------------------------------------------- */

.page-manpower {
    --hmr-green: #00984a;
    --hmr-green-soft: rgba(0, 152, 74, .10);
    --hmr-navy: #204066;
    --hmr-ink: #1b1b1b;
    --hmr-body: #6b7280;
    --hmr-line: #e6e9ee;
    --hmr-tint: #f5f8f6;
    --hmr-radius: 16px;
    --hmr-shadow: 0 18px 46px rgba(20, 40, 60, .09);
}

.page-manpower section > .container {
    position: relative;
    z-index: 2;
}

/* The opening CTA scrolls to the form; leave room for the sticky header. */
.page-manpower section[id^="hmr-"] {
    scroll-margin-top: 100px;
}

.page-manpower h2,
.page-manpower h3,
.page-manpower h4 {
    color: var(--hmr-ink);
}

.page-manpower p {
    color: var(--hmr-body);
}

/* The one section heading style on the page. A green rule under it replaces
   the sub-title chips the other service pages use, since every chip would
   have needed wording the client did not write. */
.hmr-h2 {
    position: relative;
    font-size: 36px;
    margin-bottom: 40px;
    padding-bottom: 16px;
    text-align: center;
}

.hmr-h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--hmr-green);
}


/* --------------------------------------------------------------------------
   1. OPENING
   Tagline and the two intro paragraphs left, the team photo right.
   -------------------------------------------------------------------------- */

.hmr-open {
    padding: 64px 0 56px;
    background: #fff;
}

.hmr-open-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 56px;
    align-items: center;
}

.hmr-open-copy h2 {
    font-size: 42px;
    line-height: 1.22;
    margin-bottom: 22px;
}

.page-manpower .hmr-lead {
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 16px;
    max-width: 620px;
}

.hmr-open-actions {
    margin-top: 26px;
}

.hmr-open-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--hmr-radius);
    box-shadow: var(--hmr-shadow);
}


/* --------------------------------------------------------------------------
   2. OUR RECRUITMENT PROCESS
   Steps 01-07 run across the page on a dotted connector strip, four to a row
   on desktop, then the Practical Training band beneath them.
   -------------------------------------------------------------------------- */

.hmr-process {
    padding: 56px 0;
    background: var(--hmr-tint);
}

/* Flex rather than grid: seven steps never fill the last row, and a grid
   would pin those leftovers to the left-hand columns. Flex wrapping with
   justify-content lets the short final row sit centred under the full one.
   The rows still break every four items, so the nth-child rail rules below
   keep working. */
.hmr-steps {
    list-style: none;
    margin: 0 0 44px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 28px;
    position: relative;
}

.hmr-step {
    position: relative;
    flex: 0 0 calc(25% - 21px);
    text-align: center;
}

/* Connector strip. Drawn behind every step, then pulled back to the centre
   on the first and last item of each row so it never runs off the edge of
   the grid or dangles past the final step. */
.hmr-step::before {
    content: "";
    position: absolute;
    top: 27px;
    left: -14px;
    right: -14px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--hmr-line) 0 10px, transparent 10px 18px);
    z-index: 0;
}

.hmr-step:nth-child(4n+1)::before {
    left: 50%;
}

.hmr-step:nth-child(4n)::before,
.hmr-step:last-child::before {
    right: 50%;
}

.hmr-step-no {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--hmr-green);
    color: var(--hmr-green);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.hmr-step:hover .hmr-step-no {
    background: var(--hmr-green);
    color: #fff;
    transform: translateY(-4px);
}

.hmr-step h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px;
}

.page-manpower .hmr-step p {
    font-size: 15px;
    line-height: 27px;
    margin-bottom: 0;
}

/* Practical Training & Healthcare SOPs, the detail of step 06. */
.hmr-training {
    padding: 30px 34px 28px;
    border-radius: var(--hmr-radius);
    background: #fff;
    border: 1px solid var(--hmr-line);
    border-left: 3px solid var(--hmr-green);
}

.hmr-training h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-manpower .hmr-training > p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 16px;
}

.hmr-training-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 26px;
}

.hmr-training-list li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    line-height: 27px;
    color: var(--hmr-body);
}

/* Tick drawn in CSS rather than an icon element. */
.hmr-training-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 13px;
    height: 7px;
    border-left: 2px solid var(--hmr-green);
    border-bottom: 2px solid var(--hmr-green);
    transform: rotate(-45deg);
}

.page-manpower .hmr-training-note {
    margin-bottom: 0;
    padding-top: 16px;
    border-top: 1px solid var(--hmr-line);
    font-size: 16px;
    line-height: 28px;
}


/* --------------------------------------------------------------------------
   3. WHO WE CAN RECRUIT
   A Bootstrap accordion, restyled to the page. Ten categories whose role
   counts run from four to fourteen; as a card grid the short ones left large
   dead gaps, so each is a row that opens on demand. All ten start closed,
   which also keeps the two columns level until someone opens one.
   -------------------------------------------------------------------------- */

.hmr-roles {
    padding: 56px 0;
    background: #fff;
}

/* Two columns, each its own stack. A single grid of ten rows would make the
   two items in a row share a height, so opening one left a matching blank
   beside it; two independent stacks pack to their own content instead. The
   items still name the outer wrapper as data-bs-parent, so opening one in
   either column closes whichever was open. */
.hmr-acc-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 24px;
}

.hmr-acc {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-manpower .hmr-acc .accordion-item {
    margin-bottom: 0;
    border: 1px solid var(--hmr-line);
    border-radius: var(--hmr-radius) !important;
    background: #fff;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
}

/* Bootstrap draws its own divider above every item after the first. */
.page-manpower .hmr-acc .accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--hmr-line);
}

.page-manpower .hmr-acc .accordion-header {
    margin: 0;
}

.page-manpower .hmr-acc .accordion-button {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: 0;
    box-shadow: none;
    font-family: "Satoshi", sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hmr-ink);
    text-align: left;
    transition: background .3s ease, color .3s ease;
}

.page-manpower .hmr-acc .accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.page-manpower .hmr-acc .accordion-button:not(.collapsed) {
    background: var(--hmr-tint);
    color: var(--hmr-ink);
    box-shadow: none;
}

.page-manpower .hmr-acc .accordion-item:hover {
    border-color: var(--hmr-green);
}

.hmr-acc-no {
    flex: 0 0 auto;
    color: var(--hmr-green);
    font-weight: 700;
}

.hmr-acc-title {
    flex: 1 1 auto;
}

/* Replace Bootstrap's background-image chevron with a drawn one, so the
   arrow follows the brand green and the subset icon font is not needed. */
.page-manpower .hmr-acc .accordion-button::after {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    background-image: none;
    border-right: 2px solid var(--hmr-green);
    border-bottom: 2px solid var(--hmr-green);
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform .3s ease;
    align-self: center;
}

.page-manpower .hmr-acc .accordion-button:not(.collapsed)::after {
    transform: rotate(-135deg);
}

.page-manpower .hmr-acc .accordion-body {
    padding: 4px 24px 22px;
    background: var(--hmr-tint);
}

.hmr-acc-list {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--hmr-line);
    display: grid;
    /* Each panel is now half the page, so the roles fit two-up only when the
       names are short enough; auto-fit drops them to one column rather than
       cramping something like "Quality Control / Quality Assurance". */
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px 28px;
}

.hmr-acc-list li {
    position: relative;
    padding-left: 18px;
    font-size: 16px;
    line-height: 27px;
    color: var(--hmr-body);
}

.hmr-acc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hmr-green);
}

/* Core BTC Recruitment Categories - the client's pipe-separated line, kept
   as one line of text rather than broken into chips. */
.hmr-core {
    margin: 36px 0 0;
    padding: 30px 34px;
    border-radius: var(--hmr-radius);
    background: var(--hmr-tint);
    border: 1px solid var(--hmr-line);
}

.hmr-core h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.page-manpower .hmr-core-line {
    font-size: 17px;
    line-height: 31px;
    font-weight: 600;
    color: var(--hmr-ink);
    margin-bottom: 14px;
}

.page-manpower .hmr-core > p:last-child {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   4. OUR APPROACH + MORE THAN RECRUITMENT
   One navy card closes the page. The seven-step chain sits on the navy as
   light pills, a rule separates it, and the closing statement follows. Two
   adjacent blocks were competing here; merged, they read as one ending.
   -------------------------------------------------------------------------- */

.hmr-close {
    padding: 56px 0;
    background: #fff;
}

.hmr-close-box {
    padding: 50px 48px 46px;
    border-radius: var(--hmr-radius);
    background: var(--hmr-navy);
    text-align: center;
}

/* The page's section heading, recoloured for the navy. Same centred green
   rule as .hmr-h2 so the card still belongs to the page. */
.page-manpower .hmr-close-h2 {
    position: relative;
    color: #fff;
    font-size: 32px;
    margin-bottom: 34px;
    padding-bottom: 16px;
}

.page-manpower .hmr-close-h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--hmr-green);
}

.hmr-chain {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 0;
}

.hmr-chain li {
    position: relative;
    padding: 12px 24px;
    margin-right: 32px;
    border-radius: 55px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.hmr-chain li:hover {
    background: var(--hmr-green);
    border-color: var(--hmr-green);
    color: #fff;
}

.hmr-chain li:last-child {
    margin-right: 0;
}

/* The arrow the document uses between the steps. Brand green is too dark to
   read on the navy, so these are white at low opacity. */
.hmr-chain li::after {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: -21px;
    transform: translateY(-50%);
    width: 10px;
    text-align: center;
    color: rgba(255, 255, 255, .5);
    font-size: 17px;
    line-height: 1;
}

.hmr-chain li:last-child::after {
    content: none;
}

.hmr-close-rule {
    height: 1px;
    margin: 42px auto;
    max-width: 560px;
    background: rgba(255, 255, 255, .18);
}

.page-manpower .hmr-close-box p {
    font-size: 18px;
    line-height: 31px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 0;
}

/* Needs the element in the selector too: the rule above is class+class+element
   and would otherwise win, leaving the closing line at 80% white. */
.page-manpower .hmr-close-box p.hmr-more-strong {
    color: #fff;
    font-weight: 700;
    margin-top: 6px;
}


/* --------------------------------------------------------------------------
   6. LOOKING FOR HEALTHCARE MANPOWER?
   -------------------------------------------------------------------------- */

.hmr-contact {
    padding: 56px 0 72px;
    background: #fff;
}

.hmr-contact-head {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.hmr-contact-head h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.page-manpower .hmr-contact-head p {
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 0;
}

.hmr-contact-box {
    padding: 34px 36px 30px;
    border-radius: var(--hmr-radius);
    background: #fff;
    border: 1px solid var(--hmr-line);
    box-shadow: var(--hmr-shadow);
}

/* Four fields: Name and Phone share the top row, Organisation and Roles
   Required each take the full width. */
.hmr-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hmr-contact-full {
    grid-column: 1 / -1;
}

.page-manpower .hmr-contact-box .form-clt {
    margin-bottom: 0;
}

.page-manpower .hmr-contact-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hmr-ink);
}

.page-manpower .hmr-contact-box input[type="text"],
.page-manpower .hmr-contact-box input[type="tel"],
.page-manpower .hmr-contact-box input[type="email"],
.page-manpower .hmr-contact-box select,
.page-manpower .hmr-contact-box textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid var(--hmr-line);
    background: #fff;
    color: var(--hmr-ink);
    font-size: 15px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.page-manpower .hmr-contact-box textarea {
    resize: vertical;
    min-height: 96px;
}

.page-manpower .hmr-contact-box input:focus,
.page-manpower .hmr-contact-box select:focus,
.page-manpower .hmr-contact-box textarea:focus {
    outline: none;
    border-color: var(--hmr-green);
    box-shadow: 0 0 0 3px var(--hmr-green-soft);
}

.hmr-contact-foot {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.page-manpower .hmr-contact-foot .form-consent {
    flex: 1 1 420px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.page-manpower .hmr-contact-foot .form-consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.page-manpower .hmr-contact-foot .form-consent label {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    color: var(--hmr-body);
}

.page-manpower .hmr-contact-foot .form-consent a {
    color: var(--hmr-green);
    text-decoration: underline;
}

/* Honeypot: present for bots, off-screen for people and screen readers. */
.page-manpower .hmr-contact-box .form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#hmrFormMessage:not(:empty) {
    margin-top: 18px;
}


/* --------------------------------------------------------------------------
   7. SITE-WIDE CTA BAND ABOVE THE FOOTER
   The green "Ready to Build..." box that closes every service page. Most of
   those pages get its look from lab-service.css, which this page does not
   load - without these rules the box keeps the template's photo overlay and
   oversized decorative rings, and its white heading lands on a white panel.
   Same block as healthcare-it-services.css carries, for the same reason.
   -------------------------------------------------------------------------- */

.page-manpower .cta-left-items .icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.page-manpower .cta-bg {
    background: #00984a;
    border-radius: 20px;
}

.page-manpower .cta-wrapper-2,
.page-manpower .zoom-effect-style {
    background-image: none !important;
    position: relative;
    margin-top: 0 !important;
    z-index: 1;
}

.page-manpower .cta-wrapper-2::before,
.page-manpower .cta-wrapper-2::after,
.page-manpower .zoom-effect-style::before,
.page-manpower .zoom-effect-style::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 767px) {
    .page-manpower .cta-right-items .theme-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
    }
}


/* --------------------------------------------------------------------------
   8. RESPONSIVE
   -------------------------------------------------------------------------- */

/* The opening headline is meant to break once, at the <br>, so it reads as
   two lines. Bootstrap's container steps down at 1400 and again at 1200, and
   at each step the copy column loses enough width that a 42px headline no
   longer fits "The Right People. Properly Screened." on one line and wraps
   early into a third line. The headline therefore steps down with the
   container, and the photo column gives up a little width at the same time. */
@media (max-width: 1399px) {

    .hmr-open-grid {
        grid-template-columns: 1fr 400px;
    }

    .hmr-open-copy h2 {
        font-size: 36px;
    }
}

@media (max-width: 1199px) {

    .hmr-open-grid {
        grid-template-columns: 1fr 340px;
        gap: 40px;
    }

    .hmr-open-copy h2 {
        font-size: 32px;
    }

    /* Three across: reset the four-column strip and re-cut it on threes. */
    .hmr-step {
        flex-basis: calc(33.3333% - 18.6667px);
    }

    .hmr-step:nth-child(4n+1)::before {
        left: -14px;
    }

    .hmr-step:nth-child(4n)::before {
        right: -14px;
    }

    .hmr-step:nth-child(3n+1)::before {
        left: 50%;
    }

    .hmr-step:nth-child(3n)::before,
    .hmr-step:last-child::before {
        right: 50%;
    }

}

@media (max-width: 991px) {

    .hmr-open-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Two across: re-cut the strip on twos. */
    .hmr-steps {
        gap: 40px 24px;
    }

    .hmr-step {
        flex-basis: calc(50% - 12px);
    }

    .hmr-step:nth-child(3n+1)::before {
        left: -14px;
    }

    .hmr-step:nth-child(3n)::before {
        right: -14px;
    }

    .hmr-step:nth-child(2n+1)::before {
        left: 50%;
    }

    .hmr-step:nth-child(2n)::before,
    .hmr-step:last-child::before {
        right: 50%;
    }

    .hmr-training-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .hmr-open-media {
        order: -1;
    }

    .hmr-open-copy h2 {
        font-size: 31px;
    }

    .hmr-h2 {
        font-size: 30px;
        margin-bottom: 32px;
    }

    .hmr-contact-head h2 {
        font-size: 29px;
    }

    .hmr-contact-box {
        padding: 28px 24px 26px;
    }

    .hmr-close-box {
        padding: 38px 30px 34px;
    }

    .page-manpower .hmr-close-h2 {
        font-size: 27px;
        margin-bottom: 28px;
    }

    .hmr-close-rule {
        margin: 34px auto;
    }
}

@media (max-width: 767px) {

    .hmr-open {
        padding: 44px 0 40px;
    }

    .hmr-process,
    .hmr-roles,
    .hmr-close {
        padding: 44px 0;
    }

    .hmr-contact {
        padding: 44px 0 56px;
    }

    .hmr-open-copy h2 {
        font-size: 27px;
    }

    .page-manpower .hmr-lead {
        font-size: 16px;
        line-height: 28px;
    }

    /* The button keeps its own width on a phone rather than filling the
       column. .theme-btn is inline-block in main.css, so dropping the
       width override is enough. */
    .hmr-open-actions .theme-btn {
        width: auto;
    }

    .hmr-h2 {
        font-size: 26px;
        margin-bottom: 26px;
    }

    /* One step per row. The strip turns vertical and runs down the left of
       the number column, so the sequence still reads as a sequence. */
    .hmr-steps {
        gap: 26px;
        margin-bottom: 34px;
    }

    .hmr-step {
        flex-basis: 100%;
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        text-align: left;
    }

    .hmr-step-no {
        grid-row: 1 / 3;
        width: 48px;
        height: 48px;
        margin: 0;
        font-size: 15px;
    }

    .hmr-step::before,
    .hmr-step:nth-child(2n+1)::before,
    .hmr-step:nth-child(2n)::before,
    .hmr-step:nth-child(3n+1)::before,
    .hmr-step:nth-child(3n)::before,
    .hmr-step:nth-child(4n+1)::before,
    .hmr-step:nth-child(4n)::before {
        top: 48px;
        bottom: -26px;
        left: 23px;
        right: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--hmr-line) 0 10px, transparent 10px 18px);
    }

    .hmr-step:last-child::before {
        content: none;
    }

    .hmr-step h3 {
        font-size: 18px;
        margin-bottom: 8px;
        padding-top: 12px;
    }

    .hmr-training {
        padding: 22px 20px 20px;
    }

    .hmr-training h3 {
        font-size: 19px;
    }

    .hmr-training-list {
        grid-template-columns: 1fr;
    }

    /* Back to a single column of rows, and a tighter row, so a long category
       title does not push the chevron off the edge on a phone. The two stacks
       then sit one after the other, so the order reads 1-5 then 6-10. */
    .hmr-acc-cols {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hmr-acc-list {
        grid-template-columns: 1fr;
    }

    .page-manpower .hmr-acc .accordion-button {
        padding: 16px 18px;
        font-size: 17px;
        gap: 9px;
    }

    .page-manpower .hmr-acc .accordion-body {
        padding: 2px 18px 18px;
    }

    .hmr-core {
        padding: 24px 20px;
    }

    .hmr-core h3 {
        font-size: 20px;
    }

    .page-manpower .hmr-core-line {
        font-size: 16px;
        line-height: 29px;
    }

    /* The chain stacks; the side arrow would point into the margin, so it
       moves below each item and the right margin is dropped. */
    .hmr-chain {
        display: grid;
        grid-template-columns: 1fr;
        gap: 26px;
        justify-items: center;
    }

    .hmr-chain li {
        margin-right: 0;
    }

    .hmr-chain li::after {
        content: "\f107";
        top: auto;
        bottom: -22px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .hmr-contact-head h2 {
        font-size: 25px;
    }

    .hmr-contact-fields {
        grid-template-columns: 1fr;
    }

    .hmr-contact-foot {
        justify-content: flex-start;
    }

    .hmr-contact-foot .theme-btn {
        width: auto;
    }

    .hmr-close-box {
        padding: 30px 20px 28px;
    }

    .page-manpower .hmr-close-h2 {
        font-size: 23px;
    }

    .page-manpower .hmr-close-box p {
        font-size: 16px;
        line-height: 28px;
    }
}

/* --------------------------------------------------------------------------
   8. REQUEST HEALTHCARE MANPOWER - FORM EXTRAS
   Additions only: the multi-select, the number input, the required marker
   and the inline error state. Everything else reuses the field styles above.
   -------------------------------------------------------------------------- */

.hmr-req {
    color: var(--hmr-green);
    font-weight: 700;
}

.hmr-optional {
    font-weight: 400;
    color: var(--hmr-body);
}

/* Number input: same box as the text fields. Firefox and WebKit both add
   spinners that sit awkwardly against the 13px padding, so they are removed
   and the field is sized like its neighbours. */
.page-manpower .hmr-contact-box input[type="number"] {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid var(--hmr-line);
    background: #fff;
    color: var(--hmr-ink);
    font-size: 15px;
    -moz-appearance: textfield;
    appearance: textfield;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.page-manpower .hmr-contact-box input[type="number"]::-webkit-outer-spin-button,
.page-manpower .hmr-contact-box input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hmr-field-note {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    line-height: 20px;
    color: var(--hmr-body);
}

/* Inline validation. The slot is always in the DOM for aria-describedby to
   point at, and only takes space once it holds a message. */
.hmr-error {
    display: block;
    color: #c0392b;
    font-size: 13px;
    line-height: 20px;
}

.hmr-error:not(:empty) {
    margin-top: 6px;
}

.page-manpower .hmr-contact-box .is-invalid {
    border-color: #c0392b;
}

.page-manpower .hmr-contact-box .is-invalid:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

.page-manpower .hmr-contact-foot .form-consent .hmr-error {
    margin-top: 4px;
}

