/* =============================================================================
VARIABLES & RESETS
============================================================================= */

#header-space {
    display: none !important;
}

.container-wrap {
    padding-top: 0 !important;
}

html:has(.top-companies-page),
body:has(.top-companies-page),
body:has(.top-companies-page) #ajax-content-wrap {
    overflow-x: clip !important;
}

body:has(.top-companies-page) {
    overflow-y: visible !important;
}

/* =============================================================================
SALIENT ROW STRUCTURE - FULL WIDTH BACKGROUNDS
============================================================================= */
body[data-col-gap="50px"] .vc_row-fluid .span_12 {
    margin: 0;
}

.top-companies-page {
    overflow: visible;
    padding-bottom: 0 !important;
}

.top-companies-page .row-bg-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -50vw;
    margin-left: calc(-50vw + var(--scroll-bar-w, 0) / 2);
    width: 100vw;
    width: calc(100vw - var(--scroll-bar-w, 0));
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.top-companies-page .row-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-companies-page .row_col_wrap_12 {
    display: flex;
    float: none;
    position: relative;
    z-index: 1;
}

.top-companies-hero .row-bg {
    background: #112B23;
}

.top-companies-promo-section {
    background: var(--color-light);
}

.top-companies-cta-footer {
    position: relative;
}

.top-companies-cta-footer .row-bg {
    background: #2e3c38;
}

.top-companies-cta-footer h2 {
    max-width: var(--max-width-50);
    margin: 0 auto 4rem !important;
    line-height: 3.5rem;
    font-size: 3rem !important;
}

/* =============================================================================
SECTION 1: HERO
============================================================================= */

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

.hero-content-wrapper {
    max-width: var(--max-width-50);
}

.top-companies-hero .row-bg-layer .row-bg::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 200%;
    height: 200%;
    background-image: url(/wp-content/uploads/2025/12/palomarr-bg-circles-category-06.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
    opacity: 0.02;
}

.top-companies-breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.top-companies-breadcrumbs a {
    color: var(--color-accent);
    text-decoration: none;
}

.top-companies-breadcrumbs a:hover {
    text-decoration: underline;
}

.top-companies-breadcrumbs .separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.top-companies-hero h1 {
    margin-bottom: 1.5rem;
}

.top-companies-hero .hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.top-companies-hero .hero-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.top-companies-hero .meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.top-companies-hero .meta-value {
    color: var(--color-accent);
}

.top-companies-hero .meta-separator {
    opacity: 0.4;
    margin: 0 0.5rem;
}
