

/* Start:/bitrix/templates/E-gorc/css/companies.css?176174387127487*/
/* Custom Fonts */
@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/css/font/chiffon-trial-extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/css/font/chiffon-trial-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/css/font/chiffon-trial-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/css/font/chiffon-trial-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/css/font/chiffon-trial-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* General Styles */
body {
    background-color: #F8FAFC;
    margin: 0;
    font-family: "Lexend Deca", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
}

*{
    margin: 0;
}

/* Main Wrapper */
.main-wrapperr {
    width: 100%;
    height: 589px;
    background: url(/bitrix/templates/E-gorc/img/job-listing-bg.png) no-repeat center bottom;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -124px;
}

/* Hero Section */
.hero {
    width: 1440px;
    height: 465px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    overflow: visible;
}

.hero-content {
    width: 591px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    color: #061C3D;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: -0.72px;
}

.hero-subtitle {
    margin-top: 12px;
    color: #334155;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.hero-secondary {
    margin-top: 36px;
    position: relative;
}

.search-bar-container {
    position: relative;
    height: 64px;
}

.search-bar {
    width: 704px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 32px 48px -16px #F1F5F9;
    position: relative;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    box-shadow: 0px 2px 4px 0px #F1F5F9;
    z-index: 1;
}

.input-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 10px 36px 10px 48px;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    font-size: 16px;
    font-weight: 300;
    color: #838E9E;
    background: #FFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 40px;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-radius: 12px;
    border: 1px solid #9C55D4;
    background: #FFF;
    box-shadow: 0px 0px 8px 0px rgba(156, 85, 212, 0.24);
    color: #061C3D;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.search-icon-left {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 24px;
    background: url('/bitrix/templates/E-gorc/img/Search.svg') no-repeat center;
    background-size: contain;
}

.search-icon-right {
    position: absolute;
    right: 12px;
    width: 16px;
    height: 16px;
    background: url('/bitrix/templates/E-gorc/img/X.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    display: none;
}

.search-input:not(:placeholder-shown) + .search-icon-right {
    display: block;
}

.input-container.loading .search-icon-right {
    width: 24px;
    height: 24px;
    background: url('/bitrix/templates/E-gorc/img/Spinner.svg') no-repeat center;
    background-size: contain;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.checkbox-container {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 0 12px;
    justify-content: center;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.filter-checkbox {
    appearance: none;
    width: 25px;
    height: 24px;
    margin: 0 8px 0 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="24" viewBox="0 0 25 24" fill="none"><path d="M19.25 3H5.75C4.50736 3 3.5 4.00736 3.5 5.25V18.75C3.5 19.9926 4.50736 21 5.75 21H19.25C20.4926 21 21.5 19.9926 21.5 18.75V5.25C21.5 4.00736 20.4926 3 19.25 3Z" stroke="%23061C3D" stroke-width="2" stroke-linejoin="round"/></svg>') no-repeat center;
    background-size: contain;
    cursor: pointer;
}

.filter-checkbox:checked {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="24" viewBox="0 0 25 24" fill="none"><path d="M19.25 2.25H5.75C4.95462 2.25087 4.19206 2.56722 3.62964 3.12964C3.06722 3.69206 2.75087 4.45462 2.75 5.25V18.75C2.75087 19.5454 3.06722 20.3079 3.62964 20.8704C4.19206 21.4328 4.95462 21.7491 5.75 21.75H19.25C20.0454 21.7491 20.8079 21.4328 21.3704 20.8704C21.9328 20.3079 22.2491 19.5454 22.25 18.75V5.25C22.2491 4.45462 21.9328 3.69206 21.3704 3.12964C20.8079 2.56722 20.0454 2.25087 19.25 2.25ZM17.5742 8.73234L11.2742 16.2323C11.2051 16.3147 11.1191 16.3812 11.0221 16.4273C10.925 16.4735 10.8192 16.4983 10.7117 16.5H10.6991C10.5939 16.5 10.49 16.4778 10.394 16.435C10.298 16.3922 10.212 16.3297 10.1417 16.2516L7.44172 13.2516C7.37315 13.1788 7.31981 13.0931 7.28483 12.9995C7.24986 12.9059 7.23395 12.8062 7.23805 12.7063C7.24215 12.6064 7.26617 12.5084 7.3087 12.4179C7.35124 12.3275 7.41142 12.2464 7.48572 12.1796C7.56002 12.1127 7.64694 12.0614 7.74136 12.0286C7.83579 11.9958 7.93581 11.9822 8.03556 11.9886C8.13531 11.995 8.23277 12.0213 8.32222 12.0659C8.41166 12.1106 8.49128 12.1726 8.55641 12.2484L10.6794 14.6072L16.4258 7.76766C16.5547 7.61863 16.737 7.52631 16.9335 7.51066C17.1299 7.49501 17.3246 7.55728 17.4754 7.68402C17.6263 7.81075 17.7212 7.99176 17.7397 8.18793C17.7582 8.3841 17.6988 8.57966 17.5742 8.73234Z" fill="black"/></svg>') no-repeat center;
    background-size: contain;
}

.checkbox-text {
    color: #061C3D;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.custom-select {
    width: 199px;
    height: 40px;
    position: relative;
}

.select-button {
    width: 100%;
    height: 100%;
    padding: 8px 18px;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    color: #838E9E;
    box-sizing: border-box;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: scroll;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    background: #FFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.select-options::-webkit-scrollbar {
    display: none;
}

.select-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
}

.select-option:hover {
    background: #F1F5F9;
}

.select-option input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid #CDD2D8;
    background: #FFF;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
}

.select-option input[type="checkbox"]:checked {
    background: #061C3D;
    border: none;
}

.select-option input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 14px;
    line-height: 1;
}

.select-option span {
    overflow: hidden;
    color: #061C3D;
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    flex: 1;
}

.search-btn {
    padding: 10px 20px;
    border-radius: 12px;
    background: #061C3D;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.suggestions {
    background: #FFF;
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 16px;
    padding: 12px;
    max-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #D0D5DD #F1F5F9;
}

.suggestions::-webkit-scrollbar {
    width: 6px;
}

.suggestions::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 12px;
}

.suggestions::-webkit-scrollbar-thumb {
    background: #D0D5DD;
    border-radius: 12px;
}

.suggestions::-webkit-scrollbar-thumb:hover {
    background: #B0B5BD;
}

.search-bar.active .suggestions {
    display: block;
    max-height: 300px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    background: #FFF;
    border-radius: 16px;
}

.suggestion-item:hover {
    background: #F5F5F9;
}

.suggestion-icon {
    width: 52px;
    height: 52px;
    margin-right: 12px;
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
}

.suggestion-text {
    color: #061C3D;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
    margin-right: 6px;
}

.suggestion-text .match {
    font-weight: 500;
    background: rgba(156, 85, 212, 0.15);
    border-radius: 4px;
    padding: 2px 4px;
}

.suggestion-text .tag {
    display: inline-flex;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 16px;
    background: #F4E0F8;
    color: #6941C6;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}

.suggestion-meta {
    color: #999FAA;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 4px;
}

.suggestion-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    margin-left: auto;
}

.search-results {
    background: #FFF;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-results.hidden {
    display: none;
}

.selected-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.keyword-chip {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 50px;
    border: 1px solid #E6E8EC;
    background: #FFF;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    color: #334155;
}

.keyword-chip .remove-btn {
    margin-left: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #94A3B8;
}

.keyword-chip .remove-btn:hover {
    color: #061C3D;
}

.remove-all {
    border-radius: 50px;
    border: 0px solid #334155;
    background: #E3E7ED;
    padding: 4px 12px;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px;
    color: #334155;
    cursor: pointer;
    border: none;
}

.remove-all:hover {
    background: #D1D7E0;
}

.job-listings-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.job-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    background: #FFF;
}

.job-result-item:hover {
    background: #F2F4F8;
    border-radius: 12px;
}

.job-result-item .suggestion-icon {
    width: 52px;
    height: 52px;
    margin-right: 12px;
}

.job-result-item .suggestion-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
}

.job-result-item .suggestion-text {
    color: #061C3D;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
    margin-right: 6px;
}

.job-result-item .suggestion-text .match {
    font-weight: 500;
    background: rgba(156, 85, 212, 0.15);
    border-radius: 4px;
    padding: 2px 4px;
}

.job-result-item .suggestion-text .tag {
    display: inline-flex;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    border-radius: 16px;
    background: #F4E0F8;
    color: #6941C6;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}

.job-result-item .suggestion-meta {
    color: #999FAA;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 4px;
}

.suggestion-arrow-container {
    display: flex;
    align-items: center;
}

.suggestion-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    display: block;
}

.job-result-item:hover .suggestion-arrow {
    display: none;
}

.apply-btn {
    color: #061C3D;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    display: none;
}

.job-result-item:hover .apply-btn {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    background: #FFF;
}

.results-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    font-size: 14px;
}

.results-count {
    color: #999FAA;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-left: 12px;
}

.show-all-btn {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    gap: 8px;
    color: #061C3D;
    text-align: right;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    background: #FFF;
    cursor: pointer;
    border: none;
}

.history-item {
    display: flex;
    padding: 6px 16px 6px 12px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    border-radius: 0px;
    background: #FFF;
}

.history-item:hover {
    background: #F5F5F9;
    border-radius: 12px;
}

.history-icon {
    width: 16px;
    height: 16px;
    background: url('/bitrix/templates/E-gorc/img/subway_refresh-time.svg') no-repeat center;
    background-size: contain;
}

.history-text {
    color: #42526B;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    flex: 1;
}

.history-clear {
    width: 16px;
    height: 16px;
    background: url('/bitrix/templates/E-gorc/img/mdi_remove.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
}

.no-results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
}

.no-results-icon {
    width: 110px;
    height: 120px;
    background: url('/bitrix/templates/E-gorc/img/emptySearchResult.svg') no-repeat center;
    background-size: contain;
    margin-bottom: 20px;
}

.no-results-title {
    color: #101828;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 8px;
}

.no-results-subtitle {
    width: 70%;
    color: #667085;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    white-space: pre-wrap;
}

/* Companies Section */
.companies-section {
    width: 1440px;
    margin: 36px auto;
    text-align: center;
    padding: 0 20px; /* Добавлено для безопасности на узких экранах */
    box-sizing: border-box;
}

.companies-section h2 {
    color: #061C3D;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: -0.72px;
}

.companies-section p {
    color: #334155;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 12px;
}

.companies-content {
    display: grid;
    grid-template-columns: 77% 23%;
    gap: 16px;
    margin-top: 40px;
    align-items: start;
    width: 100%;
    max-width: 1440px;
}

.company-list {
    display: flex;
    justify-content: flex-start; /* Изменено с center на flex-start */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%; /* Гарантируем, что занимает всю доступную ширину */
}

.company-card {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    background: var(--color-surface-page, #FFF);
    box-shadow: 0px 2px 4px 0px var(--grey-light-100, #F1F5F9);
    width: calc(50% - 8px); /* Две колонки с учётом gap */
    box-sizing: border-box; /* Явно задаём, чтобы избежать проблем с padding */
}

.company-header {
    display: flex;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.company-logo-box {
    display: flex;
    width: 67px;
    height: 67px;
    padding: 12.563px;
    justify-content: center;
    align-items: center;
    border-radius: 6.7px;
    border: 0.838px solid #E6E8EC;
}

.company-logo {
    width: 42px;
    height: 42px;
}

.company-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.company-title {
    color: #061C3D;
    font-family: Inter;
    font-size: var(--size-elements-180, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-lineHeight-sub-2, 24px); /* 133.333% */
    letter-spacing: -0.36px;
    text-align: left;
}

.company-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    width: 18px;
    height: 18px;
}

.meta-text {
    color: #94A3B8;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-body-2, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-label-2, 16px); /* 133.333% */
}

.meta-year, .meta-count {
    color: #94A3B8;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-body-2, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-label-2, 16px); /* 133.333% */
}

.company-description {
    overflow: hidden;
    color: var(--color-text-subtitle, #334155);
    text-overflow: ellipsis;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-sub-2, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-sub-2, 24px); /* 150% */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: calc(2 * 24px);
    align-self: flex-start;
    text-align: left;
}

.company-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-self: stretch;
}

.subscribe-btn {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #061C3D;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    background: transparent;
    border: none;
    cursor: pointer;
}

.view-jobs-btn {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: var(--size-elements-120, 12px);
    background: #061C3D;
    color: var(--color-surface-page, #FFF);
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    border: none;
    cursor: pointer;
}

.top-jobs-section {
    text-align: left;
}

.top-jobs-section-title {
    color: #061C3D;
    font-family: "Lexend Deca";
    font-size: var(--type-fontSize-sub-1, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-lineHeight-sub-2, 24px); /* 120% */
    letter-spacing: -0.4px;
}

.top-job-card {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    background: var(--color-surface-page, #FFF);
    box-shadow: 0px 2px 4px 0px var(--grey-light-100, #F1F5F9);
    margin-top: 16px;
    max-width: 100%;
}

.top-job-card .title-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.top-job-card .icon-box {
    display: flex;
    width: 67px;
    height: 67px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #E6E8EC;
    flex-shrink: 0;
}

.top-job-card .icon-box img {
    width: 41.875px;
    height: 41.875px;
}

.top-job-card .title-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: calc(100% - 64px);
    overflow: hidden;
}

.top-job-card .job-title {
    overflow: hidden;
    color: #061C3D;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Inter;
    font-size: var(--size-elements-180, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-lineHeight-sub-2, 24px); /* 133.333% */
    letter-spacing: -0.36px;
}

.top-job-card .company {
    color: #4772EA;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-label-1, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-label-2, 16px); /* 114.286% */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-job-card .location-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-job-card .location {
    color: #94A3B8;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-body-2, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-label-2, 16px); /* 133.333% */
}

.top-job-card .meta-icon {
    width: 18px;
    height: 18px;
    background-size: contain;
}

.top-job-card .description {
    overflow: hidden;
    color: var(--color-text-subtitle, #334155);
    text-overflow: ellipsis;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-sub-2, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-sub-2, 24px); /* 150% */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: calc(2 * 24px);
}

@media (max-width: 768px) {
    .search-bar {
        width: 100%;
    }

    .hero-content {
        width: 100%;
    }

    .checkbox-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .companies-content {
        grid-template-columns: 1fr;
    }

    .company-list, .top-jobs-section {
        width: 100%;
    }

    .company-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 40px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .search-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-select {
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.pagination-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.pagination-btn:disabled {
    color: #E6E8EC;
    cursor: not-allowed;
}


.pagination-numbers {
    display: flex;
    gap: 8px;
}


/* Стили для иконок */
.pagination-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px; /* Отступ для Prev (иконка слева) */
}

/* Отступ для иконки в кнопке Next (иконка справа) */
.next-btn .pagination-icon {
    margin-right: 0; /* Убираем margin-right */
    margin-left: 8px; /* Добавляем отступ слева от текста */
}

/* Стили для текста в кнопках */
.pagination-text {
    color: #061C3D;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px; /* 300% */
    text-transform: capitalize;
}

/* Стили для кнопок пагинации */
.pagination-btn {
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:disabled .pagination-icon,
.pagination-btn:disabled .pagination-text {
    opacity: 0.38; /* Для неактивных кнопок */
}

.pagination-btn:disabled {
    opacity: 0.38;
}

.pagination-btn:not(:disabled) {
    color: #061C3D;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px; /* 300% */
    text-transform: capitalize;
}

.pagination-btn:hover:not(:disabled) {
    color: #061C3D; /* Можно добавить дополнительный эффект, если нужно */
}

/* Стили для номеров страниц */
.page-number {
    display: flex;
    padding: 14px 18px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #061C3D; /* Неактивные страницы */
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    cursor: pointer;
}

.page-number.active {
    background: #061C3D;
    color: var(--color-surface-page, #FFF); /* Активная страница */
    display: flex;
padding: 14px 18px;
}

.page-number:hover:not(.active) {
    background: #F1F5F9;
    display: flex;
padding: 14px 18px;
}
/* End */
/* /bitrix/templates/E-gorc/css/companies.css?176174387127487 */
