/* Page 377 only. Keep Elementor's desktop layout and vendor files untouched. */
@media (max-width: 767px) {
    /* One horizontal gutter per section, rather than a gutter at each level. */
    body.home.page-id-377 .elementor-377 > .e-con {
        --padding-top: 36px;
        --padding-bottom: 36px;
        --padding-left: 20px;
        --padding-right: 20px;
        --min-height: 0px;
    }
    body.home.page-id-377 .elementor-377 .e-con-inner {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    body.home.page-id-377 .elementor-377 .e-child {
        --width: 100%;
        --padding-top: 0px;
        --padding-bottom: 0px;
        --padding-left: 0px;
        --padding-right: 0px;
        min-width: 0;
    }
    body.home.page-id-377 .elementor-377 .elementor-widget {
        min-width: 0;
        max-width: 100%;
    }
    body.home.page-id-377 .elementor-377 .elementor-heading-title {
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        line-height: 1.25;
    }
    body.home.page-id-377 .elementor-377 p {
        margin-bottom: 0;
        line-height: 1.5;
    }

    /* Text and actions precede the compact illustration. */
    body.home.page-id-377 .elementor-377 .elementor-element-8441569 {
        --padding-top: 28px;
        --padding-bottom: 28px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-64e2134 {
        gap: 18px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-8ef557c h1 {
        font-size: clamp(32px, 8.5vw, 38px);
        line-height: 1.15;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-7ffa76f {
        font-size: 16px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-9e294d8 {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-2f73796 {
        font-size: 14px;
        align-self: stretch;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-534007b {
        --min-height: 0px;
        height: clamp(180px, 56vw, 240px);
        flex: none;
        background-size: contain;
    }

    /* Full-width touch targets without the widget's extra 26–28px padding. */
    body.home.page-id-377 .elementor-377 .elementor-widget-button {
        width: 100%;
        align-self: stretch;
    }
    body.home.page-id-377 .elementor-377 .elementor-widget-button > .elementor-widget-container {
        padding: 0;
    }
    body.home.page-id-377 .elementor-377 .elementor-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 1.25;
        white-space: normal;
    }

    /* Stack the steps, audience cards and gallery at the mobile breakpoint. */
    body.home.page-id-377 .elementor-377 :is(.elementor-element-5b842b0, .elementor-element-75ff03d, .elementor-element-04174e3) {
        flex-direction: column;
        gap: 24px;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-a4951e2, .elementor-element-1d9c81e, .elementor-element-14f8243) {
        padding: 20px;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-b80e3bc, .elementor-element-76d0e6d, .elementor-element-1f5192f) {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-5b842b0 .elementor-heading-title {
        font-size: 22px;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-47df8a0, .elementor-element-396dbd5, .elementor-element-376ca12) .elementor-heading-title {
        font-size: 28px;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-942b394, .elementor-element-c28f88f) {
        padding: 16px 20px;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-3699580, .elementor-element-931ca20) {
        padding: 0 20px;
        gap: 12px;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-3699580, .elementor-element-931ca20) > .e-child {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 12px;
    }
    body.home.page-id-377 .elementor-377 .elementor-widget-icon {
        width: auto;
        flex: 0 0 auto;
    }
    body.home.page-id-377 .elementor-377 :is(.elementor-element-91ac8b0, .elementor-element-762954c) {
        padding: 0 20px 20px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-04174e3 > .e-child {
        --min-height: 0px;
        aspect-ratio: 4 / 3;
        background-size: contain;
    }
}

/* Only the landing header: the server still decides which account controls exist. */
@media (max-width: 767px) {
    body.home.page-id-377 .elementor-location-header .jobsearch-usernotifics-menubtn,
    body.home.page-id-377 .elementor-location-header .jobsearch-userdash-menumain {
        position: static;
        padding: 0;
        margin: 0;
        float: none;
    }
    body.home.page-id-377 .elementor-location-header .jobsearch-usernotifics-menubtn > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        color: #92278f;
    }
    body.home.page-id-377 .elementor-location-header .jobsearch-userdash-menumain::before {
        content: none;
    }
    body.home.page-id-377 .elementor-location-header .jobsearch-usernotifics-menubtn > a > .fa-bell-o {
        font-size: 22px;
        line-height: 1;
        margin: 0;
    }
    body.home.page-id-377 .elementor-location-header .hderbell-notifics-count {
        top: -7px;
        right: -8px;
        min-width: 16px;
        width: auto;
        height: 16px;
        padding: 0 3px;
        font-size: 10px;
        line-height: 16px;
        border-radius: 8px;
    }
    /* Each disclosure keeps its original content and destinations. */
    body.home.page-id-377 .elementor-location-header .elementor-element-b2dee37 .elementor-nav-menu--dropdown,
    body.home.page-id-377 .elementor-location-header .jobsearch-hdernotifics-listitms,
    body.home.page-id-377 .elementor-location-header .jobsearch-userdash-menumain > .pa-account-menu {
        position: absolute !important;
        top: 100% !important;
        right: 20px !important;
        left: auto !important;
        width: calc(100% - 40px) !important;
        max-width: none;
        margin: 0;
        border: 1px solid #dedde5;
        border-radius: 10px;
        box-shadow: 0 8px 24px #29203424;
        background: #fff;
        z-index: 10000;
        max-height: var(--pa-home-panel-height, calc(100dvh - 132px)) !important;
        overflow: auto;
        overscroll-behavior: contain;
    }
    body.home.page-id-377 .elementor-location-header.pa-home-disclosures .elementor-element-b2dee37 .elementor-nav-menu--dropdown,
    body.home.page-id-377 .elementor-location-header.pa-home-disclosures .jobsearch-hdernotifics-listitms {
        display: none !important;
    }
    body.home.page-id-377 .elementor-location-header.pa-home-nav-open .elementor-element-b2dee37 .elementor-nav-menu--dropdown,
    body.home.page-id-377 .elementor-location-header.pa-home-notifications-open .jobsearch-hdernotifics-listitms {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    body.home.page-id-377 .elementor-location-header .jobsearch-hdernotifics-listitms::before,
    body.home.page-id-377 .elementor-location-header .jobsearch-hdernotifics-listitms::after {
        content: none;
    }
    body.home.page-id-377 .elementor-location-header .elementor-element-b2dee37 .elementor-nav-menu--dropdown a,
    body.home.page-id-377 .elementor-location-header .hdernotifics-after-con a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        white-space: normal;
    }
    body.home.page-id-377 .elementor-location-header :is(a, [role="button"]):focus-visible {
        outline: 3px solid #92278f;
        outline-offset: 3px;
    }
    body.home.page-id-377 .elementor-location-header .pa-account-menu a:focus-visible {
        outline-offset: -3px;
    }
}

/* Small desktop alignment corrections; keep the existing section rhythm,
 * heading sizes, colours and mobile presentation. */
@media (min-width: 1025px) {
    body.home.page-id-377 .elementor-377 .elementor-element-8441569 {
        --padding-left: 40px;
        --padding-right: 40px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-a2927a2 {
        --padding-left: 0px;
        --padding-right: 0px;
    }
    body.home.page-id-377 .elementor-377 .elementor-element-aa30baa {
        --padding-right: 40px;
    }


}
