/* section-new-companies — Figma node 998:41732 */

.section-new-companies {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: clip;
}

/* ---- Page Header ---- */
.new-companies-header {
    background: var(--skin-bg-page);
    padding: 80px;
}

.new-companies-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.new-companies-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: var(--skin-font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--skin-text-muted);
}

.new-companies-breadcrumb__item {
    color: var(--skin-text-muted);
    text-decoration: none;
}

.new-companies-breadcrumb__item:hover {
    text-decoration: underline;
}

.new-companies-breadcrumb__item--current {
    font-weight: 600;
    color: var(--skin-dark-900);
}

.new-companies-breadcrumb__sep {
    margin: 0 8px;
    color: var(--skin-text-muted);
}

.new-companies-header__title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: var(--skin-dark-900);
    text-align: left;
    max-width: 1152px;
    margin: 0;
}

.new-companies-header__subtitle {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 29px;
    color: var(--skin-text-muted);
    text-align: left;
    max-width: 1152px;
    margin: 0;
}

/* ---- Main Content ---- */
.new-companies-main {
    background: var(--skin-bg-page);
    padding: 80px;
}

.new-companies-main__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.new-companies-card {
    background: var(--skin-bg-surface);
    border-radius: 16px;
    box-shadow: 0px 1px 4px 1px rgba(10, 13, 18, 0.1), 0px 1px 7px 0px rgba(10, 13, 18, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.new-companies-card__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.new-companies-card__title {
    font-family: var(--skin-font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    color: var(--skin-dark-900);
    margin: 0;
    max-width: 816px;
}

/* ---- Filters ---- */
.new-companies-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.new-companies-filters__search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--skin-bg-surface);
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    padding: 10px 14px;
    width: 320px;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    color: #717680;
}

.new-companies-filters__search svg {
    flex-shrink: 0;
    color: #717680;
}

.new-companies-filters__input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--skin-font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--skin-dark-900);
    width: 100%;
}

.new-companies-filters__input::placeholder {
    color: #717680;
}

.new-companies-filters__dropdowns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.new-companies-filters__dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--skin-bg-surface);
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--skin-font-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #414651;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    transition: background 0.15s;
}

.new-companies-filters__dropdown-btn:hover {
    background: var(--skin-bg-page);
}

/* ---- Table ---- */
.new-companies-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.new-companies-table {
    width: 100%;
    border-collapse: collapse;
}

.new-companies-table__th {
    font-family: var(--skin-font-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: var(--skin-dark-900);
    text-align: left;
    padding: 8px 24px;
    border-bottom: 2px solid var(--skin-border-default);
    white-space: nowrap;
    height: 60px;
}

.new-companies-table__row {
    border-bottom: 1px solid var(--skin-border-subtle);
}

.new-companies-table__row:last-child {
    border-bottom: none;
}

.new-companies-table__td {
    font-family: var(--skin-font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--skin-dark-900);
    padding: 8px 24px;
    vertical-align: middle;
    height: auto;
}

.new-companies-table__link {
    color: var(--skin-brand-navy);
    text-decoration: none;
    font-weight: 500;
}

.new-companies-table__link:hover {
    text-decoration: underline;
}

/* ---- Pagination ---- */
.new-companies-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 12px 24px 16px;
}

.new-companies-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--skin-bg-surface);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #414651;
    transition: background 0.15s;
}

.new-companies-pagination__btn:hover {
    background: var(--skin-bg-page);
}

.new-companies-pagination__pages {
    display: flex;
    align-items: center;
    gap: 2px;
}

.new-companies-pagination__page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: var(--skin-font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--skin-text-muted);
    cursor: pointer;
    transition: background 0.15s;
}

.new-companies-pagination__page:hover {
    background: var(--skin-bg-page);
}

.new-companies-pagination__page.is-active {
    background: var(--skin-darkblue-50);
    color: var(--skin-dark-900);
    font-weight: 500;
}

.new-companies-pagination__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: var(--skin-font-primary);
    font-size: 14px;
    color: var(--skin-text-muted);
}

/* ---- Communities ---- */
.new-companies-communities {
    background: var(--skin-bg-page);
    padding: 96px 80px;
}

.new-companies-communities__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.new-companies-communities__title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: var(--skin-dark-900);
    margin: 0;
    text-align: center;
}

.new-companies-communities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.new-companies-community__name {
    font-family: var(--skin-font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: var(--skin-dark-900);
    margin: 0 0 12px 0;
}

.new-companies-community__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.new-companies-community__link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--skin-font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--skin-brand-navy);
    text-decoration: none;
    transition: color 0.15s;
}

.new-companies-community__link:hover {
    color: var(--skin-dark-900);
    text-decoration: underline;
}

.new-companies-community__link svg {
    flex-shrink: 0;
    color: var(--skin-brand-navy);
}

/* ---- Explore Categories ---- */
.new-companies-explore {
    background: var(--skin-bg-page);
    padding: 96px 0;
}

.new-companies-explore__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.new-companies-explore__title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: var(--skin-dark-900);
    margin: 0;
    text-align: center;
    max-width: 1152px;
}

.new-companies-explore__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

.new-companies-explore__row {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.new-companies-explore__row--center {
    justify-content: center;
}

.new-companies-explore__row--center .new-companies-explore-card {
    max-width: calc(33.333% - 16px);
}

.new-companies-explore-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--skin-bg-surface);
    border-radius: 16px;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    flex: 1;
    min-height: 140px;
    gap: 12px;
    text-decoration: none;
    transition: box-shadow 0.15s;
}

.new-companies-explore-card:hover {
    box-shadow: 0px 4px 12px 0px rgba(10, 13, 18, 0.12);
}

.new-companies-explore-card__top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.new-companies-explore-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--skin-tag-blue-bg);
    border-radius: 12px;
    flex-shrink: 0;
    color: var(--skin-brand-navy);
}

.new-companies-explore-card__title {
    font-family: var(--skin-font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    color: var(--skin-brand-navy);
    margin: 0;
}

.new-companies-explore-card__desc {
    font-family: var(--skin-font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: var(--skin-text-muted);
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .new-companies-header,
    .new-companies-main,
    .new-companies-communities,
    .new-companies-explore__inner {
        padding: 60px 40px;
    }

    .new-companies-communities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .new-companies-explore__row {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .new-companies-header,
    .new-companies-main {
        padding: 40px 16px;
    }

    .new-companies-communities {
        padding: 40px 16px;
    }

    .new-companies-explore__inner {
        padding: 40px 16px;
    }

    .new-companies-header__title {
        font-size: 28px;
        line-height: 36px;
    }

    .new-companies-header__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .new-companies-communities__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .new-companies-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .new-companies-filters__search {
        width: 100%;
    }

    .new-companies-explore__row {
        flex-direction: column;
    }
}
