/* =============================================================================
SECTION 5: PROMO SECTION
============================================================================= */

.top-companies-promo-section {
    margin: 3rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
}

.top-companies-page .insights-promo-section {
    overflow: visible;
}

.top-companies-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.top-companies-promo-card {
    display: flex;
    flex-direction: column;
    padding: 3rem 4rem 4rem;
    background: var(--color-light-2);
    border-radius: var(--border-radius-p-2);
}

.top-companies-promo-card .promo-card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.top-companies-promo-card .promo-card-content h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
}

.top-companies-promo-card .promo-card-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
}

.top-companies-promo-card .promo-card-cta {
    align-self: flex-start;
    text-decoration: none;
    width: auto !important;
    min-width: 18rem;
}

/* =============================================================================
SECTION 6: CTA FOOTER
============================================================================= */

.top-companies-cta-footer {
    padding: 5rem 0;
    color: var(--text-white);
}

.cta-content {
    text-align: center;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cta-buttons > * {
    max-width: 22rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.7;
}

.before-footer {
    background: var(--bg-dark) !important;
}

/* =============================================================================
RESPONSIVE
============================================================================= */

@media (max-width: 640px) {

    .context-list-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .top-companies-industry-context {
        position: static;
        order: 1;
    }

    .top-companies-quick-list {
        order: 2;
    }

}

@media (max-width: 640px) {
    .top-companies-hero {
        padding: 6rem 0 3rem;
    }

    .top-companies-hero h1 {
        font-size: 2rem;
    }

    .top-companies-context-list-wrapper > .container,
    .context-list-inner,
    .top-companies-industry-context,
    .top-companies-quick-list {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .quick-list-item {
        flex-wrap: wrap;
    }

    .quick-list-item .badges {
        width: 100%;
        margin-top: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .button-primary-green,
    .cta-buttons .button-secondary-outline-green {
        width: 100%;
    }

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

    .top-companies-promo-card {
        padding: 2rem;
    }

    .top-companies-promo-card .promo-card-content h3 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    .top-companies-cards .section-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .top-companies-cards .section-header-right {
        width: 100%;
    }

    .top-companies-cards .section-header-right .nectar-button {
        width: 100% !important;
        margin-bottom: 4rem !important;
        height: 50px !important;
    }

    #supplier-card .card-badges,
    #supplier-card .splide {
        display: none;
        margin: 0 !important;
        padding: 0 !important;
    }

    .content-card .card-name {
        display: block;
        margin: -4rem 0 0rem 5rem !important;
    }

    .supplier-card,
    .supplier-sections,
    .supplier-card-container > .wpb_row:not(.supplier-card) {
        margin: 0 !important;
    }

    .supplier-cards-col {
        margin: 0 -1rem;
        gap: 2rem;
    }

}

@media (max-width: 640px) {
    .quick-list-item .scores {
        min-width: auto;
    }
}

/* =============================================================================
   QUICK LIST SOURCE BUTTONS
============================================================================= */

.quick-list-source-button {
    font-size: 0.7rem;
    color: var(--color-green-faded);
    background: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 2px 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.quick-list-source-button .source-count {
    margin-left: 2px;
}

.quick-list-item:hover .quick-list-source-button {
    opacity: 1;
}

.quick-list-source-button:hover {
    opacity: 1;
}

.supplier-card-container-0>.supplier-card>.col>.col>.vc_column-inner>.wpb_wrapper>.img-with-aniamtion-wrap:before,
.supplier-card-container-1>.supplier-card>.col>.col>.vc_column-inner>.wpb_wrapper>.img-with-aniamtion-wrap:before,
.supplier-card-container-2>.supplier-card>.col>.col>.vc_column-inner>.wpb_wrapper>.img-with-aniamtion-wrap:before {
    display: none !important;
}
