:root {
    --career-black: #27201f;
    --career-red: #da291c;
    --career-white: #ffffff;
    --career-surface: #f7f7f7;
    --career-border: #e2e2e2;
    --career-muted: #666666;
}

.career-list-page {
    padding-bottom: 96px;
}

.career-list-page .article-header {
    margin-bottom: 32px;
}

.open-positions-section {
    background-color: var(--career-white);
}

.open-positions-section .careers-job-list .position-card {
    /* background: var(--career-white); */
}

.open-positions-section .careers-job-list .filters {
    /* background: var(--career-white); */
}

.open-positions-section .pagination .page-nav,
.open-positions-section .pagination .page-number {
    background-color: var(--career-white);
}

/* .open-positions-section .pagination .page-number.active {
    background-color: #1d1f20;
    color: #fff;
} */

.careers-job-list {
    width: 100%;
}

.careers-job-list .total-positions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
    color: var(--career-black);
}

.careers-job-list .total-positions img {
    width: 28px;
    height: 28px;
}

.careers-job-list .filters {
    display: flex;
    gap: 24px;
    align-items: center;
    min-height: 100px;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 8px;
    background: #F7F7F7;
}

.careers-job-list .filter-input-wrapper {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.careers-job-list .filter-select-wrapper {
    max-width: 362px;
}

.careers-job-list .search-input-wrapper {
    background: var(--career-white);
    border: 1px solid rgba(10, 10, 10, 0.5);
    border-radius: 8px;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
    -webkit-transition: border-color 0.3s ease, border-width 0.3s ease;
    -moz-transition: border-color 0.3s ease, border-width 0.3s ease;
    transition: border-color 0.3s ease, border-width 0.3s ease;
}

.careers-job-list .search-input-wrapper:hover {
    border-color: var(--career-black);
    border-width: 1.5px;
}

.careers-job-list .search-input-wrapper:focus,
.careers-job-list .search-input-wrapper:focus-within {
    border-color: var(--career-black);
    border-width: 1.5px;
    outline: none;
}

.careers-job-list .filter-input {
    width: 100%;
    min-height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0a0a0a;
    font-size: 16px;
    line-height: 1.2;
    outline: none;
}

.careers-job-list .filter-input::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.careers-job-list .careers-text-filter {
    padding-right: 44px;
}

.careers-job-list .country-select {
    justify-content: space-between;
    cursor: pointer;
}

.careers-job-list .country-select .placeholder-text {
    color: rgba(10, 10, 10, 0.5);
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 40px;
}

.careers-job-list .country-select.has-value .placeholder-text {
    color: #0a0a0a;
}

.careers-job-list .icon-arrow-down {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.careers-job-list .search-icon-button {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.careers-job-list .search-icon {
    width: 20px;
    height: 20px;
}

.careers-job-list .filter-clear-button {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: right;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(10, 10, 10, 0.65);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.careers-job-list .has-value .filter-clear-button,
.careers-job-list .careers-text-filter.has-value .filter-clear-button {
    display: inline-flex;
}

.careers-job-list .careers-text-filter.has-value .search-icon-button {
    display: none;
}

.careers-job-list .careers-function-dropdown.has-value .icon-arrow-down {
    display: none;
}

.careers-job-list .careers-function-dropdown.has-value {
    padding-right: 44px;
}

.careers-job-list .dropdown-options {
    display: none;
    position: absolute;
    top: 52px;
    left: -1px;
    width: calc(100% + 2px);
    background: var(--career-white);
    border: 1px solid rgba(10, 10, 10, 0.5);
    border-radius: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.careers-job-list .dropdown-options.show {
    display: block;
}

.careers-job-list .dropdown-options li,
.ui-menu-item-wrapper {
    display: block;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 16px;
    color: var(--career-black);
    transition: background-color 0.2s ease;
    line-height: 1.2;
}

.careers-job-list .dropdown-options li:hover,
.careers-job-list .dropdown-options li.selected {
    margin: 0 !important;
    border: 0 !important;
    background: #d6d6d6 !important;
    color: #da291c !important;
}

.careers-job-list .positions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.careers-job-list .position-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.careers-job-list .position-card {
    min-height: 156px;
    padding: 20px;
    border-radius: 12px;
    background: #F7F7F7;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    transition: box-shadow 0.3s ease, border-radius 0.3s ease;
}

.careers-job-list .position-card:hover {
    border-radius: 12px;
    box-shadow: 0 0 16px 0 rgb(0, 0, 0, 0.15);
}

.careers-job-list .position-card-link:hover .apply-link {
    gap: 12px;
}

.careers-job-list .position-card-link:hover .apply-link img {
    transform: translateX(4px);
}

.careers-job-list .card-content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}

.careers-job-list .pos-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--career-black);
}

.careers-job-list .pos-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.careers-job-list .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--career-black);
    line-height: 1.35;
}

.careers-job-list .info-item img {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.careers-job-list .card-action-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.careers-job-list .apply-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--career-red);
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.3s ease;
}

.careers-job-list .apply-link img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.careers-job-list .no-results-state {
    grid-column: 1 / -1;
    padding: 48px 32px;
    border: 1px solid var(--career-border);
    border-radius: 8px;
    background: var(--career-surface);
    text-align: center;
}

.careers-job-list .no-results-img {
    display: block;
    max-width: 240px;
    margin: 0 auto 24px;
}

.careers-job-list .no-results-title {
    margin-bottom: 12px;
    font-size: 28px;
    color: var(--career-black);
}

.careers-job-list .no-results-description {
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: var(--career-muted);
}

.ui-autocomplete {
    position: absolute;
    display: none;
    cursor: default;
    border-radius: 0;
    border: 1px solid silver;
    background-color: #fff;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000 !important;
}

.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: 0;
}

.ui-menu-item {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ui-menu .ui-menu-item a,
.ui-menu-item-wrapper {
    text-decoration: none;
    display: block;
    min-height: 40px;
    padding: 8px;
    line-height: 1.5;
    color: #27201F;
    border-radius: 0;
    font-size: 16px;
}

.ui-menu-item:hover .ui-menu-item-wrapper,
.ui-menu-item-wrapper:hover,
.ui-menu-item-wrapper.ui-state-focus,
.ui-menu-item-wrapper.ui-state-active,
.ui-state-active,
.ui-state-focus,
.ui-state-hover,
.ui-widget-content .ui-state-active,
.ui-widget-content .ui-state-focus,
.ui-widget-content .ui-state-hover {
    background: #d6d6d6 !important;
    border: none !important;
    color: #da291c !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    cursor: pointer;
}

.ui-front {
    z-index: 1000 !important;
}

.careers-job-list .btn-getmore-wrapper {
    display: none;
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

.careers-job-list a > .btn-getmore-wrapper {
    text-decoration: none;
    color: inherit;
}

.careers-job-list .btn-getmore-wrapper .btn-getmore {
    width: 100%;
    color: #27201F;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid #27201F;
    background: transparent;
    padding: 10px 20px;
    transition: all 0.3s;
    cursor: pointer;
    height: 52px;
}

.careers-job-list .btn-getmore-wrapper .btn-getmore:active,
.careers-job-list .btn-getmore-wrapper .btn-getmore:focus,
.careers-job-list .btn-getmore-wrapper .btn-getmore:hover {
    color: #605b4c;
    border-color: #605b4c;
    outline: none;
}

.careers-job-list .btn-getmore-wrapper .btn-getmore.active,
.careers-job-list .btn-getmore-wrapper .btn-getmore:active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

@media screen and (max-width: 1279px) {
    .careers-job-list .positions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .careers-job-list .filters {
        flex-wrap: wrap;
    }

    .careers-job-list .filter-input-wrapper,
    .careers-job-list .filter-select-wrapper {
        flex: 1 1 calc(50% - 12px);
        max-width: none;
    }
}

@media screen and (max-width: 767px) {
    .career-list-page {
        padding-bottom: 72px;
    }

    .careers-job-list .total-positions {
        font-size: 18px;
    }

    .careers-job-list .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .careers-job-list .filter-input-wrapper,
    .careers-job-list .filter-select-wrapper {
        flex: 1 1 100%;
    }

    .careers-job-list .positions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .careers-job-list .position-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .careers-job-list .position-card-link {
        display: block;
    }

    .careers-job-list .card-action-right {
        width: 100%;
        justify-content: flex-start;
    }

    .careers-job-list .no-results-state {
        padding: 36px 20px;
    }

    .careers-job-list .no-results-title {
        font-size: 24px;
    }

    .careers-job-list .pagination {
        display: none !important;
    }

    .careers-job-list .btn-getmore-wrapper {
        display: block !important;
    }

    .careers-job-list .btn-getmore-wrapper .btn-getmore {
        margin: 0 auto;
    }
}