/* ==========================================================================
   Single Company Page
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.company-header-wrap {
    background: #ffffff;
    border-bottom: 1px solid var(--glints-border);
}

.company-header-content {
    display: flex;
    gap: 18px;
    padding: 30px 0;
}

.company-logo-main {
    width: 140px;
    height: 140px;
    min-width: 140px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 140px;
}

.company-logo-main img {
    width: 100%;
    height: 100%;
    height: auto;
    object-fit: contain;
}

.company-logo-main-placeholder {
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    color: #8b8b8b;
}

.company-header-main {
    min-width: 0;
    flex: 1;
}

.company-header-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--glints-fs-xl);
    line-height: 1.25;
    font-weight: var(--glints-fw-bold);
}

.company-header-verified {
    color: #09a559;
    display: inline-flex;
}

.company-header-tagline {
    margin: 20px 0px;
    color: #2d2d2d;
    font-size: var(--glints-fs-md);
    line-height: 1.45;
    max-width: 940px;
}

.company-header-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 36px;
    max-width: 900px;
}

.company-header-meta-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-header-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f2f2f;
    font-size: var(--glints-fs-md);
    line-height: 1.35;
}

.single-company-content {
    background: #ffffff;
}

.company-anchor-nav {
    background: #ffffff;
    border-radius: 2px;
    margin: 0;
}
.company-anchor-nav :active{
    border-bottom: 2px solid var(--glints-primary);
}

.company-nav-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.company-nav-tabs .nav-item {
    font-size: var(--glints-fs-base);
}
.nav-tabs .nav-link{
    border: 2px !important;
}

.company-nav-tabs::-webkit-scrollbar {
    display: none;
}

.company-anchor-link {
    display: inline-flex;
    align-items: center;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #5f6368;
    font-weight: var(--glints-fw-medium);
    font-size: var(--glints-fs-md);
    min-height: auto;
    padding: 13px 10px 11px;
    margin-bottom: 0;
    transition: all .2s ease;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.company-anchor-link:hover,
.company-anchor-link:focus {
    color: #2f2f2f;
    border-bottom-color: rgba(1, 126, 183, 0.35);
    background: transparent;
}

.company-anchor-link.active {
    color: #1f1f1f;
    border-bottom: 3px solid var(--glints-primary);
    font-weight: var(--glints-fw-semibold);
    background: transparent;
}

.company-section {
    background: #ffffff;
    border: 0;
    border-radius: 8px;
    margin-bottom: 23px;
    scroll-margin-top: 70px;
}

.company-section-description,
.company-section-contact {
    border: 1px solid var(--glints-border);
    border-radius: 8px;
    overflow: hidden;
}

.company-panel-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--glints-border);
    background: #fff;
}

.company-panel-body {
    padding: 16px 20px 18px;
    background: #fff;
}

.company-section .fs-5 {
    font-size: var(--glints-fs-xl) !important;
}

.company-content {
    color: var(--glints-text);
    font-size: var(--glints-fs-md);
    line-height: 1.7;
}

.company-content p {
    font-size: var(--glints-fs-md);
}

.company-content h1 {
    font-size: var(--glints-fs-3xl);
}

.company-content h2 {
    font-size: var(--glints-fs-2xl);
}

.company-content h3 {
    font-size: var(--glints-fs-xl);
}

.company-content p:last-child {
    margin-bottom: 0;
}

.company-description-label {
    margin: 0 0 12px;
    font-size: var(--glints-fs-md);
    font-weight: var(--glints-fw-semibold);
    color: var(--glints-dark);
}

.company-contact-list a {
    font-size: var(--glints-fs-base);
}

.company-contact-label {
    margin: 0 0 10px;
    font-size: var(--glints-fs-md);
    font-weight: var(--glints-fw-semibold);
    color: var(--glints-dark);
}

.company-contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--glints-primary);
    font-weight: var(--glints-fw-semibold);
}

.company-contact-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.company-contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--glints-primary);
    font-size: var(--glints-fs-base);
}

.company-contact-social-link:hover {
    color: var(--glints-primary-dark);
}

.company-section-jobs .lowongan-jobs-grid > [class*="col-"] {
    display: flex;
}

.company-section-jobs {
    border: 1px solid var(--glints-border);
    border-radius: 8px;
    overflow: hidden;
}

.company-section-jobs .company-section-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--glints-border);
    margin-bottom: 0 !important;
    background: #fff;
}

.company-section-jobs-body {
    padding: 14px 20px 18px;
    background: #fff;
}

@media (max-width: 767.98px) {
    .company-header-content {
        gap: 12px;
        padding: 16px 0;
    }

    .company-logo-main {
        width: 68px;
        height: 68px;
        min-width: 68px;
        max-width: 68px;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        flex: 0 0 68px;
    }
    .company-logo-main img{
        max-width: 68px;
        height: auto;
        max-width: 68px !important;
    }

    .company-header-title {
        font-size: var(--glints-fs-lg);
        margin: 20px 0px;
    }

    .company-header-tagline {
        margin: 30px 0 15px 0;
        font-size: var(--glints-fs-md);
        line-height: 1.45;
        margin-left: -80px;
        width: calc(100% + 80px);
    }

    .company-header-meta-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-left: -80px;
        width: calc(100% + 80px);
    }

    .company-header-meta-col {
        gap: 8px;
    }

    .company-header-meta-item {
        font-size: var(--glints-fs-md);
    }

    .company-anchor-link {
        padding: 10px 8px;
        font-size: var(--glints-fs-md);
    }

    .company-section {
        margin-bottom: 16px;
        scroll-margin-top: 62px;
    }

    .company-panel-head {
        padding: 12px 14px;
    }

    .company-panel-body {
        padding: 12px 14px 14px;
    }

    .company-section .fs-5 {
        font-size: var(--glints-fs-lg) !important;
    }

    .company-section-jobs {
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .company-section-jobs .company-section-head {
        padding: 0 0 10px;
        border-bottom: 0;
    }

    .company-section-jobs-body {
        padding: 0;
        background: transparent;
    }
}
