/* Horeca Hire Hospitality Jobs v10.4.0 */
:root {
    --hhj-ink: #07111f;
    --hhj-muted: #536176;
    --hhj-soft: #f6f9fc;
    --hhj-line: rgba(7, 17, 31, .10);
    --hhj-blue: #075fac;
    --hhj-blue-soft: #eaf5ff;
    --hhj-green: #047857;
    --hhj-shadow: 0 24px 80px rgba(15, 23, 42, .09);
    --hhj-shadow-soft: 0 18px 48px rgba(15, 23, 42, .07);
    --hhj-radius-xl: 30px;
    --hhj-radius-lg: 22px;
    --hhj-radius-md: 14px;
}

/* Jobify / map template compatibility. These target the common empty map/search areas. */
body.page .job_listing-map,
body.page .job_listings-map,
body.page .jobify-map,
body.page .jobify_widget_map,
body.page .jobify_widget_map_resumes,
body.page .jobify_widget_jobs_map,
body.page .jobify_widget_jobs_search,
body.page .jobify_widget_search_hero,
body.page .homepage-widget.jobify_widget_map,
body.page #jobify-map-canvas,
body.page #job-manager-map-canvas,
body.page .map-canvas,
body.page .job-map,
body.page .jobs-map,
body.page .page-header--jobify,
body.page .jobify-page-header,
body.page .jobify-hero-search,
body.page .page-cover,
body.page .job_listings-map-wrapper {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.hhj-wrap {
    box-sizing: border-box;
    width: min(1440px, calc(100% - 48px));
    margin-inline: auto;
    padding: 24px 0 64px;
    color: var(--hhj-ink);
    font-family: inherit;
}

.hhj-wrap * { box-sizing: border-box; }
.hhj-wrap a { color: inherit; }
.hhj-fix-top-gap { margin-top: var(--hhj-top-gap, -430px); }

.hhj-kicker {
    margin: 0 0 12px;
    color: var(--hhj-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hhj-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
    gap: clamp(20px, 2.2vw, 30px);
    align-items: center;
    padding: clamp(24px, 3vw, 42px);
    background:
        radial-gradient(circle at 12% 8%, rgba(14, 165, 233, .14), transparent 30%),
        radial-gradient(circle at 96% 14%, rgba(37, 99, 235, .10), transparent 28%),
        rgba(255,255,255,.82);
    border: 1px solid rgba(7, 17, 31, .08);
    border-radius: var(--hhj-radius-xl);
    box-shadow: var(--hhj-shadow);
    overflow: hidden;
    isolation: isolate;
}

.hhj-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
    backdrop-filter: blur(16px);
    z-index: -1;
}

.hhj-hero-copy h1 {
    margin: 0;
    max-width: 660px;
    font-size: clamp(42px, 4.7vw, 68px);
    line-height: .95;
    letter-spacing: -.065em;
    font-weight: 900;
    color: var(--hhj-ink);
}

.hhj-lead {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--hhj-muted);
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.55;
}

.hhj-trust-chips,
.hhj-popular-inline,
.hhj-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hhj-trust-chips { margin-top: 20px; }
.hhj-trust-chips span,
.hhj-popular-inline a,
.hhj-card-tags span,
.hhj-direct-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.hhj-trust-chips span {
    padding: 9px 14px;
    color: #064e3b;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(4, 120, 87, .18);
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.hhj-trust-chips span:before,
.hhj-direct-badge:before { content: "✓"; margin-right: 7px; color: var(--hhj-green); }

.hhj-search-card {
    padding: clamp(20px, 2.2vw, 28px);
    border: 1px solid rgba(7, 17, 31, .09);
    border-radius: 22px;
    background: rgba(255,255,255,.78);
    box-shadow: var(--hhj-shadow-soft);
    backdrop-filter: blur(18px);
}

.hhj-search-main {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.hhj-wrap label span,
.hhj-sort-form span {
    display: block;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--hhj-ink);
}

.hhj-wrap input[type="text"],
.hhj-wrap input[type="search"],
.hhj-wrap input[type="number"],
.hhj-wrap select {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(7, 17, 31, .12);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    color: var(--hhj-ink);
    font-size: 16px;
    line-height: 1.2;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hhj-wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 52px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: rgba(255,255,255,.92);
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2307111F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 18px center;
    background-size: 18px 18px;
    background-repeat: no-repeat;
}

.hhj-wrap select::-ms-expand {
    display: none;
}

.hhj-filter-grid label {
    min-width: 0;
}

.hhj-wrap input:focus,
.hhj-wrap select:focus {
    border-color: rgba(7, 95, 172, .42);
    box-shadow: 0 0 0 4px rgba(7, 95, 172, .11);
    background: #fff;
}

.hhj-btn,
.hhj-employer-card a,
.hhj-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    cursor: pointer;
}

.hhj-btn:hover,
.hhj-employer-card a:hover { transform: translateY(-1px); }
.hhj-btn-primary { background: var(--hhj-ink); color: #fff !important; box-shadow: 0 16px 32px rgba(7,17,31,.18); }
.hhj-btn-primary:hover { background: #0b1b31; box-shadow: 0 18px 40px rgba(7,17,31,.22); }
.hhj-btn-light { background: #fff; color: var(--hhj-blue) !important; border-color: rgba(7,17,31,.12); }
.hhj-btn-light:hover { border-color: rgba(7,95,172,.35); background: #f8fbff; }

.hhj-popular-inline {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--hhj-line);
    align-items: center;
}
.hhj-popular-inline span { font-weight: 800; color: var(--hhj-ink); }
.hhj-popular-inline a {
    padding: 8px 13px;
    background: var(--hhj-blue-soft);
    color: var(--hhj-blue);
    text-decoration: none;
}

.hhj-more-filters {
    margin-top: 14px;
}
.hhj-more-filters summary {
    width: max-content;
    color: var(--hhj-blue);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.hhj-more-filters summary::-webkit-details-marker { display: none; }
.hhj-more-filters summary:after { content: " +"; }
.hhj-more-filters[open] summary:after { content: " −"; }
.hhj-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--hhj-line);
}
.hhj-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(7, 17, 31, .10);
    font-weight: 800;
}
.hhj-check input { width: 18px; height: 18px; }
.hhj-reset { min-height: 54px; background: #fff; border-color: rgba(7, 17, 31, .10); color: var(--hhj-muted) !important; }

.hhj-results-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin: 28px 0 18px;
}
.hhj-results-head h2 {
    margin: 0;
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--hhj-ink);
}
.hhj-results-head p:not(.hhj-kicker) {
    margin: 8px 0 0;
    color: var(--hhj-muted);
    font-size: 16px;
}
.hhj-sort-form { display: flex; align-items: end; gap: 10px; min-width: 210px; }

.hhj-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}
.hhj-job-list { display: grid; gap: 18px; }

.hhj-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(7,17,31,.09);
    background: rgba(255,255,255,.84);
    box-shadow: 0 18px 50px rgba(15,23,42,.055);
    backdrop-filter: blur(14px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hhj-card:hover {
    transform: translateY(-2px);
    border-color: rgba(7,95,172,.22);
    box-shadow: 0 28px 74px rgba(15,23,42,.10);
}
.hhj-logo {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff, #eef5fb);
    border: 1px solid rgba(7,17,31,.10);
    text-decoration: none !important;
    color: #a16207;
    font-weight: 900;
}
.hhj-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hhj-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}
.hhj-card h3 {
    margin: 0;
    font-size: clamp(21px, 1.55vw, 27px);
    line-height: 1.15;
    letter-spacing: -.03em;
    font-weight: 900;
}
.hhj-card h3 a { text-decoration: none; }
.hhj-card h3 a:hover { color: var(--hhj-blue); }
.hhj-company { margin: 8px 0 0; font-weight: 900; color: var(--hhj-ink); }
.hhj-location { margin: 6px 0 0; color: var(--hhj-muted); }
.hhj-direct-badge {
    padding: 9px 14px;
    color: #047857;
    background: rgba(236, 253, 245, .92);
    border: 1px solid rgba(4, 120, 87, .20);
    font-size: 14px;
}
.hhj-card-tags { margin-top: 20px; }
.hhj-card-tags span {
    padding: 9px 13px;
    color: var(--hhj-ink);
    background: rgba(247, 249, 252, .96);
    border: 1px solid rgba(7, 17, 31, .06);
    font-size: 14px;
}
.hhj-card-tags .hhj-salary {
    background: #fff8e8;
    border-color: rgba(217, 119, 6, .20);
    color: #78350f;
}
.hhj-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}
.hhj-posted { color: var(--hhj-muted); font-weight: 800; }
.hhj-card-actions > div { display: flex; gap: 12px; align-items: center; }

.hhj-sidebar { display: grid; gap: 18px; position: sticky; top: 24px; }
.hhj-employer-card,
.hhj-side-card,
.hhj-info {
    border-radius: 24px;
    border: 1px solid rgba(7,17,31,.09);
    box-shadow: var(--hhj-shadow-soft);
}
.hhj-employer-card {
    padding: 28px;
    background: linear-gradient(150deg, #07111f, #08254b);
    color: #fff;
}
.hhj-employer-card > p:first-child {
    margin: 0 0 14px;
    color: #8fd2ff;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 900;
}
.hhj-employer-card h2,
.hhj-side-card h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.hhj-employer-card p:not(:first-child) { color: rgba(255,255,255,.86); line-height: 1.6; font-size: 16px; }
.hhj-employer-card a { background: #fff; color: var(--hhj-ink) !important; margin-top: 6px; }
.hhj-side-card { padding: 26px; background: rgba(255,255,255,.86); }
.hhj-side-card a {
    display: block;
    padding: 10px 0;
    color: var(--hhj-blue) !important;
    font-weight: 900;
    text-decoration: none;
}
.hhj-side-card a:hover { text-decoration: underline; }

.hhj-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}
.hhj-pagination .page-numbers {
    display: inline-flex;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(7,17,31,.10);
    background: #fff;
    color: var(--hhj-ink);
    text-decoration: none;
    font-weight: 800;
}
.hhj-pagination .current,
.hhj-pagination a:hover { background: var(--hhj-ink); color: #fff; }

.hhj-info {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 42px;
    margin-top: 44px;
    padding: clamp(28px, 4vw, 44px);
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(14px);
}
.hhj-info h2 { margin: 0; font-size: clamp(30px, 3vw, 48px); line-height: 1.1; letter-spacing: -.045em; }
.hhj-info p { color: var(--hhj-muted); line-height: 1.75; font-size: 17px; }
.hhj-faq { display: grid; gap: 14px; }
.hhj-faq details {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid rgba(7,17,31,.09);
    border-radius: 18px;
}
.hhj-faq summary { cursor: pointer; font-size: 18px; font-weight: 900; }
.hhj-faq p { margin: 12px 0 0; }
.hhj-empty { padding: 34px; background: #fff; border: 1px solid var(--hhj-line); border-radius: 22px; }

@media (max-width: 1180px) {
    .hhj-hero { grid-template-columns: 1fr; }
    .hhj-search-main { grid-template-columns: 1fr 1fr auto; }
    .hhj-layout { grid-template-columns: 1fr; }
    .hhj-sidebar { position: static; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    /* Mobile: remove the Jobify/map spacer more aggressively and keep the first screen compact. */
    .hhj-wrap {
        width: min(100% - 24px, 720px);
        padding-top: 10px !important;
        padding-bottom: 44px;
    }
    .hhj-fix-top-gap {
        margin-top: var(--hhj-top-gap, -430px) !important;
    }
    .hhj-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 22px;
    }
    .hhj-kicker {
        margin-bottom: 8px;
        font-size: 11px;
        letter-spacing: .18em;
    }
    .hhj-hero-copy h1 {
        font-size: clamp(36px, 11vw, 48px);
        line-height: .94;
        letter-spacing: -.055em;
    }
    .hhj-lead {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.45;
    }
    .hhj-trust-chips {
        margin-top: 14px;
        gap: 8px;
    }
    .hhj-trust-chips span {
        padding: 8px 11px;
        font-size: 13px;
    }
    .hhj-search-card {
        padding: 16px;
        border-radius: 20px;
    }
    .hhj-search-main {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hhj-btn {
        width: 100%;
    }
    .hhj-popular-inline {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hhj-popular-inline::-webkit-scrollbar { display: none; }
    .hhj-popular-inline span,
    .hhj-popular-inline a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .hhj-more-filters {
        margin-top: 12px;
    }
    .hhj-filter-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 14px;
        padding-top: 14px;
    }
    .hhj-results-head {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin: 24px 0 14px;
    }
    .hhj-results-head h2 {
        font-size: clamp(28px, 8vw, 36px);
    }
    .hhj-sort-form {
        min-width: 0;
        width: 100%;
    }
    .hhj-card {
        grid-template-columns: 56px 1fr;
        padding: 16px;
        gap: 12px;
        border-radius: 20px;
    }
    .hhj-logo {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }
    .hhj-card-top {
        display: block;
    }
    .hhj-card h3 {
        font-size: 22px;
    }
    .hhj-company { margin-top: 6px; }
    .hhj-location { margin-top: 4px; }
    .hhj-direct-badge {
        margin-top: 12px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .hhj-card-tags {
        margin-top: 16px;
        gap: 8px;
    }
    .hhj-card-tags span {
        padding: 8px 11px;
        font-size: 13px;
    }
    .hhj-card-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
    }
    .hhj-card-actions > div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hhj-card-actions .hhj-btn-primary { order: -1; }
    .hhj-sidebar {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 4px;
    }
    .hhj-info {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 30px;
        padding: 22px;
        border-radius: 22px;
    }
    .hhj-info h2 {
        font-size: clamp(28px, 8vw, 36px);
    }
    .hhj-info p,
    .hhj-faq p {
        font-size: 15px;
        line-height: 1.65;
    }
    .hhj-faq details {
        padding: 16px 18px;
    }
}


@media (max-width: 700px) {
    .hhj-search-card { padding: 20px; }
    .hhj-filter-grid { grid-template-columns: 1fr; }
    .hhj-wrap input[type="text"],
    .hhj-wrap input[type="search"],
    .hhj-wrap input[type="number"],
    .hhj-wrap select { min-height: 52px; font-size: 15px; }
    .hhj-popular-inline a { padding: 7px 11px; }
}

@media (max-width: 520px) {
    .hhj-wrap { width: calc(100% - 18px); }
    .hhj-fix-top-gap { margin-top: -220px; }
    .hhj-hero { padding: 16px; }
    .hhj-hero-copy h1 { font-size: 38px; }
    .hhj-lead { font-size: 16px; }
    .hhj-card { grid-template-columns: 1fr; }
    .hhj-logo { width: 64px; height: 64px; }
    .hhj-results-head h2 { font-size: 32px; }
}

/* v10: tighter hero/search spacing without changing job cards. */
@media (min-width: 1181px) {
    .hhj-hero {
        min-height: auto;
    }
    .hhj-search-card {
        max-width: 640px;
        justify-self: end;
    }
}


/* v10.4.0: mobile hero/search polish only. Desktop remains unchanged. */
@media (max-width: 860px) {
    .hhj-hero,
    .hhj-search-card,
    .hhj-hero-copy {
        min-width: 0 !important;
    }

    .hhj-hero {
        overflow: visible !important;
        align-items: stretch !important;
    }

    .hhj-hero-copy h1 {
        max-width: 100% !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    .hhj-trust-chips {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1px 2px 6px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hhj-trust-chips::-webkit-scrollbar {
        display: none;
    }

    .hhj-trust-chips span {
        flex: 0 0 auto !important;
        max-width: none !important;
        white-space: nowrap !important;
    }

    .hhj-search-card {
        width: 100% !important;
        margin: 0 !important;
    }

    .hhj-search-main label,
    .hhj-filter-grid label {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    .hhj-wrap {
        width: calc(100% - 20px) !important;
        padding-top: 6px !important;
    }

    .hhj-hero {
        gap: 14px !important;
        padding: 16px !important;
        border-radius: 22px !important;
    }

    .hhj-kicker {
        font-size: 10px !important;
        letter-spacing: .16em !important;
        margin-bottom: 8px !important;
    }

    .hhj-hero-copy h1 {
        font-size: clamp(32px, 10vw, 40px) !important;
        line-height: 1.02 !important;
        letter-spacing: -.045em !important;
    }

    .hhj-lead {
        max-width: 100% !important;
        margin-top: 10px !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .hhj-trust-chips {
        margin-top: 12px !important;
        gap: 7px !important;
    }

    .hhj-trust-chips span {
        padding: 7px 10px !important;
        font-size: 12px !important;
    }

    .hhj-search-card {
        padding: 14px !important;
        border-radius: 20px !important;
    }

    .hhj-search-main {
        gap: 10px !important;
    }

    .hhj-wrap label span,
    .hhj-sort-form span {
        font-size: 10px !important;
        letter-spacing: .13em !important;
        margin-bottom: 7px !important;
    }

    .hhj-wrap input[type="text"],
    .hhj-wrap input[type="search"],
    .hhj-wrap input[type="number"],
    .hhj-wrap select {
        min-height: 50px !important;
        padding-left: 14px !important;
        padding-right: 42px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
    }

    .hhj-btn,
    .hhj-reset {
        min-height: 50px !important;
    }

    .hhj-popular-inline {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    .hhj-more-filters {
        margin-top: 10px !important;
    }
}

@media (max-width: 380px) {
    .hhj-wrap {
        width: calc(100% - 14px) !important;
    }

    .hhj-hero {
        padding: 14px !important;
    }

    .hhj-hero-copy h1 {
        font-size: 31px !important;
        line-height: 1.03 !important;
        letter-spacing: -.035em !important;
    }

    .hhj-lead {
        font-size: 14px !important;
    }

    .hhj-search-card {
        padding: 12px !important;
    }

    .hhj-trust-chips span,
    .hhj-popular-inline a,
    .hhj-popular-inline span {
        font-size: 12px !important;
    }
}
