.hrwork-contact-social > .elementor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 16px;
}

.hrwork-contact-social > .elementor-container > .elementor-column {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.hrwork-contact-social .elementor-widget-text-editor p {
    margin: 0;
}

.hrwork-contact-social .elementor-social-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hrwork-contact-social .elementor-social-icons-wrapper .elementor-grid-item {
    margin: 0;
}

.hrwork-contact-social .elementor-social-icons-wrapper .elementor-social-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: var(--hrwork-social-color, #2344af);
    color: #fff;
    font-size: 18px;
}

.hrwork-contact-social .elementor-social-icons-wrapper .elementor-social-icon i {
    color: inherit;
}

.hrwork-contact-social .elementor-social-icons-wrapper .elementor-social-icon:is(:hover, :focus-visible) {
    border-color: #182331;
    background: var(--hrwork-social-color, #2344af);
    opacity: 0.82;
    color: #fff;
}

.hrwork-contact-social .elementor-social-icon:focus-visible {
    outline: 2px solid #2344af;
    outline-offset: 3px;
}

.hrwork-contact-social [aria-label="Instagram"] {
    --hrwork-social-color: #b92d70;
}

.hrwork-contact-social [aria-label="Facebook"] {
    --hrwork-social-color: #0866ff;
}

.hrwork-contact-social [aria-label="LinkedIn"] {
    --hrwork-social-color: #0a66c2;
}

.hrwork-contact-social [aria-label="X"] {
    --hrwork-social-color: #14171a;
}

/* The bundled brand font predates X. */
.hrwork-contact-social .fa-x-twitter::before {
    content: "𝕏";
    font-family: "STIX Two Math", "Cambria Math", "DejaVu Sans", sans-serif;
    font-size: 20px;
    line-height: 1;
}

/* Keep horizontal clipping without creating a scroll container around the header. */
body.ehf-header:not(.mobile-nav-active),
body.ehf-header #page {
    overflow-x: clip;
}

body.ehf-header #masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    border-bottom: 1px solid #c5d5df;
}

#masthead .hrwork-site-header {
    padding-block: 0;
}

#masthead .hrwork-site-header .logodiv {
    margin-block: 0;
}

#masthead .hrwork-site-header > .elementor-container {
    min-height: 128px;
}

#masthead .hrwork-site-header > .elementor-container > .elementor-column > .elementor-widget-wrap {
    align-content: center;
    align-items: center;
}

#masthead .hrwork-site-header .elementor-element-4b8d91c > .elementor-widget-wrap {
    gap: 8px;
}

#masthead .hrwork-site-header .logodiv figure,
#masthead .hrwork-site-header .logodiv .hrwork-brand-link {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

#masthead .hrwork-site-header .logodiv .hfe-site-logo-img {
    display: block;
    width: 76px;
    height: 68px;
    object-fit: contain;
}

#masthead .hrwork-site-header .logodiv .hfe-caption-width {
    width: auto;
}

#masthead .hrwork-site-header .logodiv :is(figcaption, .hrwork-brand-name) {
    margin: 0;
    white-space: nowrap;
    font-size: 15px;
}

#masthead .hrwork-site-header .elementor-widget-ogeko-nav-menu {
    border-bottom: 0;
    box-shadow: none;
    margin-block: 0;
}

#masthead .hrwork-site-header .primary-navigation > ul.menu > li.menu-item > a,
body.ehf-header .ogeko-mobile-nav .handheld-navigation > ul.menu > li > a {
    color: #302666;
}

#masthead .hrwork-site-header .primary-navigation > ul.menu > li.menu-item > a:is(:hover, :focus-visible),
body.ehf-header .ogeko-mobile-nav .handheld-navigation > ul.menu > li > a:is(:hover, :focus-visible) {
    color: #4333db;
}

#masthead .hrwork-site-header .primary-navigation > ul.menu > li.menu-item > a:is(:hover, :focus-visible) {
    background-color: #f0eeff;
    border-radius: 8px;
}

#masthead .hrwork-site-header .elementor-widget-ogeko-button .elementor-button {
    border-radius: 8px;
    padding: 17px 13px;
}

#masthead .hrwork-site-header .elementor-widget-ogeko-search {
    margin-inline: 0;
}

#masthead .hrwork-site-header .button-search-popup.layout-1 {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #efedff;
    color: #4333db;
}

#masthead .hrwork-site-header .button-search-popup.layout-1 .ogeko-icon-search {
    width: auto;
    height: auto;
    line-height: 1;
    background: none;
    color: inherit;
}

#masthead .hrwork-site-header .elementor-element-065f105 .elementor-button {
    background-color: #c9f4fc;
    color: #08465c;
    box-shadow: inset 0 0 0 1px #a2e6f4;
}

#masthead .hrwork-site-header .elementor-element-065f105 .elementor-button:is(:hover, :focus-visible) {
    background-color: #aeeaf7;
}

#masthead .hrwork-site-header .elementor-element-f13d0b5 .elementor-button {
    background: linear-gradient(110deg, #4935e8, #224cc5);
    color: #fff;
}

#masthead .hrwork-site-header .elementor-element-f13d0b5 .elementor-button:is(:hover, :focus-visible) {
    background: linear-gradient(110deg, #3925ca, #193ba8);
}

body.ehf-header.admin-bar #masthead {
    top: var(--wp-admin--admin-bar--height, 32px);
}

@media (601px <= width <= 782px) {
    body.ehf-header.admin-bar #masthead {
        top: var(--wp-admin--admin-bar--height, 46px);
    }
}

@media (max-width: 600px) {
    body.ehf-header.admin-bar #masthead {
        top: 0;
    }
}

@media (min-width: 1280px) {
    .hrwork-site-header .primary-navigation > ul.menu {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .hrwork-site-header .primary-navigation > ul.menu > li.menu-item {
        flex: 0 0 auto;
    }

    .hrwork-site-header .primary-navigation > ul.menu > li.menu-item > a {
        padding: 12px clamp(4px, calc(2vw - 22px), 16px);
        white-space: nowrap;
    }
}

@media (1280px <= width < 1400px) {
    #masthead .hrwork-site-header .logodiv .hfe-site-logo-img {
        width: 68px;
    }

    #masthead .hrwork-site-header .logodiv :is(figcaption, .hrwork-brand-name) {
        font-size: 14px;
    }
}

@media (min-width: 1400px) {
    #masthead .hrwork-site-header > .elementor-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: stretch;
        column-gap: 20px;
    }

    #masthead .hrwork-site-header > .elementor-container > .elementor-column {
        width: auto;
    }

    #masthead .hrwork-site-header .logodiv .hfe-site-logo-img {
        width: 94px;
        height: 82px;
    }

    #masthead .hrwork-site-header .logodiv :is(figcaption, .hrwork-brand-name) {
        font-size: 19px;
    }

    #masthead .hrwork-site-header .primary-navigation > ul.menu > li.menu-item > a {
        font-size: 17px;
        padding-inline: clamp(4px, calc(2vw - 25.6px), 12px);
    }
}

@media (min-width: 1480px) {
    #masthead .hrwork-site-header .logodiv .hfe-site-logo-img {
        width: 106px;
        height: 94px;
    }

    #masthead .hrwork-site-header .logodiv :is(figcaption, .hrwork-brand-name) {
        font-size: 21px;
    }

    #masthead .hrwork-site-header .primary-navigation > ul.menu > li.menu-item > a {
        font-size: 19px;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {
    .hrwork-site-header .elementor-widget-ogeko-nav-menu {
        display: none;
    }

    .hrwork-site-header .elementor-widget-ogeko-menu-canvas {
        display: block !important;
    }

    .hrwork-site-header > .elementor-container > .elementor-element.elementor-element-3c6a6a8 {
        width: 39%;
    }

    .hrwork-site-header > .elementor-container > .elementor-element.elementor-element-4b8d91c {
        width: 45%;
    }
}

.hrwork-jobs-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #dce3ef;
    border-radius: 12px;
}

.hrwork-jobs-table-wrap:focus-visible {
    outline: 2px solid #2344af;
    outline-offset: 3px;
}

.hrwork-jobs-table-wrap .hrwork-jobs-table {
    width: 100%;
    min-width: 880px;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
}

.hrwork-jobs-table th,
.hrwork-jobs-table td {
    padding: 0.875rem 0.75rem;
    border: 0;
    border-bottom: 1px solid #dce3ef;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.hrwork-jobs-table thead th {
    background: #eef3fc;
    font-size: 0.875rem;
}

.hrwork-jobs-table thead th:nth-child(1) { width: 24%; }
.hrwork-jobs-table thead th:nth-child(2) { width: 16%; }
.hrwork-jobs-table thead th:nth-child(3) { width: 21%; }
.hrwork-jobs-table thead th:nth-child(4) { width: 12%; }
.hrwork-jobs-table thead th:nth-child(5) { width: 8%; }
.hrwork-jobs-table thead th:nth-child(6) { width: 12%; }
.hrwork-jobs-table thead th:nth-child(7) { width: 7%; }

.hrwork-jobs-table tbody tr:nth-child(even) {
    background: #f8faff;
}

.hrwork-jobs-table tbody tr:last-child > * {
    border-bottom: 0;
}

.hrwork-jobs-table tbody th a {
    color: #2344af;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.hrwork-job-summary {
    margin: 0 0 1rem;
}

.hrwork-job-summary > div {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.25rem 1rem;
    padding: 0.625rem 0;
}

.hrwork-job-summary > div + div {
    border-top: 1px solid #dce3ef;
}

.hrwork-job-summary dt {
    font-size: 0.875rem;
    font-weight: 600;
}

.hrwork-job-summary dd {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .hrwork-job-summary > div {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hrwork-job-detail {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.hrwork-job-detail h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(1.875rem, 4vw, 3rem);
    overflow-wrap: anywhere;
}

.hrwork-job-detail .hrwork-job-summary {
    padding: 0.375rem 1rem;
    margin: 0 0 2rem;
    border: 1px solid #dce3ef;
    border-radius: 12px;
    background: #f8faff;
}

.hrwork-job-description h2,
.hrwork-job-description h3 {
    margin: 1.5em 0 0.5em;
}

.hrwork-job-description h2 { font-size: 1.5rem; }
.hrwork-job-description h3 { font-size: 1.15rem; }

.hrwork-job-description li {
    margin-bottom: 0.35em;
}

.hrwork-job-detail .hrwork-back-to-jobs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: #2344af;
    font-weight: 600;
    text-decoration: none;
}

.hrwork-job-detail .hrwork-back-to-jobs:hover {
    background: #eef3fc;
}

.hrwork-job-detail .hrwork-back-to-jobs:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.hrwork-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hrwork-pricing-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border: 1px solid #dce4f3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(28 48 92 / 8%);
}

.hrwork-pricing-card-header {
    margin-bottom: 24px;
    padding: 24px 16px;
    border-radius: 16px;
    text-align: center;
    background: #edf3ff;
    color: #1c40a8;
}

.hrwork-pricing-card:nth-child(2) .hrwork-pricing-card-header {
    background: #e5f9fc;
    color: #075671;
}

.hrwork-pricing-card:nth-child(3) .hrwork-pricing-card-header {
    background: #fff3d6;
    color: #744500;
}

.hrwork-pricing-card-header h2 {
    margin: 0 0 10px;
    color: inherit;
    font-size: 24px;
}

.hrwork-pricing-amount {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
}

.hrwork-pricing-card ul {
    margin: 0 0 24px 1.2em;
}

.hrwork-pricing-card .button {
    margin-top: auto;
    text-align: center;
}

.hrwork-pricing-note {
    margin: 24px 0 0;
    text-align: center;
}

@media (max-width: 950px) {
    .hrwork-pricing-grid {
        grid-template-columns: 1fr;
    }
}

.hrwork-job-application {
    margin-top: 40px;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid #dce4f3;
    border-radius: 16px;
    scroll-margin-top: 120px;
}

.hrwork-job-application h2 {
    margin: 0 0 24px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}

.hrwork-resume-form {
    max-width: 44rem;
}

.hrwork-resume-form .wpcf7-form > p {
    margin: 0 0 18px;
}

.hrwork-resume-form .wpcf7-form label,
.hrwork-resume-form .wpcf7-form-control-wrap {
    display: block;
}

.hrwork-resume-form .wpcf7-form input:is([type="text"], [type="email"], [type="file"]) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 6px 0 0;
    padding: 10px 12px;
    border: 1px solid #8593ab;
    border-radius: 8px;
    background: #fff;
    color: #222b3d;
}

.hrwork-resume-form .wpcf7-form input:focus-visible {
    outline: 2px solid #254edb;
    outline-offset: 2px;
}

.hrwork-resume-form .wpcf7-form input.wpcf7-not-valid {
    border-color: #b3261e;
}

.hrwork-resume-hint,
.hrwork-resume-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 4px;
    font-size: .875em;
    font-weight: 400;
}

.hrwork-resume-form .wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}

.hrwork-resume-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.hrwork-resume-form .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: .2em 0 0;
    padding: 0;
    accent-color: #254edb;
}

.hrwork-resume-form .wpcf7-form .wpcf7-response-output {
    margin: 12px 0 0;
}

@media (prefers-reduced-motion: no-preference) {
    .hrwork-illustration-visible {
        animation: hrwork-illustration-settle 1.5s ease-out;
    }

    rs-module img[src$="/assets/illustrations/hero.webp"],
    sr7-module sr7-img[style*="/assets/illustrations/hero.webp"] {
        animation: hrwork-hero-drift 4s ease-in-out;
        transform-origin: top left;
    }
}

@keyframes hrwork-hero-drift {
    50% {
        scale: 1.018;
    }
}

@keyframes hrwork-illustration-settle {
    from {
        opacity: 0.85;
        scale: 0.975;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}
