.company-title-section {
    margin: 20px 0;
}
.company-page-title {
    font-size: var(--fs-40); 
    line-height: var(--lh-40);
    letter-spacing: var(--ls-40);
    font-weight: var(--fw-semibold);
    text-transform: lowercase;
    color: var(--text-color);
    margin: 0;
}
.company-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.company-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.company-jobs-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jobs-container {
    width: 100%;
}
.company-jobs-row {
    display: flex;
    flex-wrap: wrap;
    width: 820px; 
    gap: 4px; 
    position: relative;
    min-height: 265px;
    margin-bottom: 24px;
}
.company-jobs-row .job-card {
    width: 270px; 
    height: 270px; 
    flex-shrink: 0;
}
.company-sidebar {
    width: 300px;
    background-color: var(--surface-primary);
    border-radius: 24px; 
    padding: 20px;
    position: sticky;
    top: 20px; 
    align-self: flex-start;
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}
.company-info-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.company-logo-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.company-main-logo {
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
}
.company-name {
    font-size: var(--fs-20);
    line-height: var(--lh-20);
    letter-spacing: var(--ls-20);
    font-weight: var(--fw-medium);
    color: var(--text-color);
    margin: 0;
    flex: 1;
    /* Обрезаем длинные названия */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.company-description-section {
    text-align: left;
}
.company-description,
.company-description-placeholder {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
    letter-spacing: var(--ls-16);
    color: var(--text-color);
    margin: 0;
}
.company-description-placeholder {
    color: var(--text-muted);
}
.company-website-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    height: 44px;
    box-sizing: border-box;
}
.sidebar-divider-desktop {
    border-top: 1px solid var(--filter-divider);
    margin: 4px 0;
}
.no-jobs-message {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--surface-primary);
    border-radius: 24px;
    color: var(--text-muted);
    font-size: var(--fs-16);
    line-height: var(--lh-16);
    letter-spacing: var(--ls-16);
}
.format-remote, [class^="format-remote"], [class*=" format-remote"] {
    background-color: var(--remote-bg);
    color: var(--remote-text);
}
.format-remote-rf, [class^="format-remote-rf"], [class*=" format-remote-rf"] {
    background-color: var(--remote-rf-bg);
    color: var(--remote-rf-text);
}
.format-office, [class^="format-office"], [class*=" format-office"] {
    background-color: var(--office-bg);
    color: var(--office-text);
}
.format-hybrid, [class^="format-hybrid"], [class*=" format-hybrid"] {
    background-color: var(--hybrid-bg);
    color: var(--hybrid-text);
}
@media (max-width: 1279px) {
    .company-title-section {
        margin-bottom: 16px;
    }
    .company-page-title {
        font-size: var(--fs-32);
        line-height: var(--lh-32);
        letter-spacing: var(--ls-32);
    }
    .company-container {
        flex-direction: column;
        gap: 12px;
    }
    .company-content-column {
        order: 2; 
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .company-sidebar {
        order: 1; 
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        position: static;
        margin-top: 0;
    }
    .sidebar-divider-desktop {
        display: none;
    }
    .jobs-container {
        margin-top: 0;
    }
    .company-jobs-row {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .company-jobs-row .job-card {
        width: 100%;
        height: auto;
    }
    .company-jobs-row .job-card-body {
        margin-top: 0;
        padding-top: 32px;
    }
}
@media (min-width: 1280px) {
    .sidebar-divider-desktop {
        display: block;
    }
}