/* Single Company Template Styles */

/* Full page color background */
.single-company,
.single-company #page,
.single-company #content {
    background: var(--color-brutalist-navy);
    min-height: 100vh;
}

/* Make hero transparent to blend with page background */
.single-company .hero-colorblock.bg-brutalist-navy {
    background: transparent !important;
}

.single-company .hero-colorblock.bg-brutalist-navy::before,
.single-company .hero-colorblock.bg-brutalist-navy::after {
    display: none !important;
}

/* Reset theme defaults */
#page.grid-container {
    max-width: unset;
}

.single-company .entry-title,
.single-company .featured-image {
    display: none;
}

/* Company Meta in Hero */
.single-company .page-hero-wrapper h1 {
    margin-bottom: 20px;
}

.company-meta-row {
    display: flex;
    gap: 32px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.company-meta-row svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    margin-top: -3px;
    stroke: rgba(255, 255, 255, 0.95);
}

.company-meta-row span {
    display: flex;
    align-items: center;
}

/* Two Column Layout with white background */
.company-content-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    background: var(--color-light-3);
}

/* Left Sidebar */
.company-sidebar {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.company-logo-wrapper {
    margin-bottom: 40px;
    padding: 20px;
    background: var(--color-light-2);
    text-align: center;
}

.company-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Map */
.company-map-container {
    margin-bottom: 32px;
    position: relative;
}

.company-map {
    width: 100%;
    height: auto;
    display: block;
}

.company-map-container::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--brand-green, #9CBF4A);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(156, 191, 74, 1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(156, 191, 74, 0.7);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow: 0 0 0 10px rgba(156, 191, 74, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(156, 191, 74, 0);
    }
}

/* CTAs */
.company-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-cta {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: var(--color-dark);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

.company-cta:hover {
    background: var(--color-dark-3);
}

.company-cta svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    stroke: white;
    fill: white;
}

.company-cta span {
    color: white;
}

/* Main Content */
.company-main-content {
    font-size: 18px;
    line-height: 1.7;
}

.company-description {
    margin-bottom: 48px;
}

.company-description p {
    margin: 0;
}

.company-services {
    margin-bottom: 48px;
}

.company-services h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 0;
}

.company-services p {
    margin-bottom: 16px;
}

.company-services ul {
    list-style: disc;
    padding-left: 24px;
    margin: 16px 0;
}

.company-services li {
    margin-bottom: 8px;
}

.company-membership {
    color: var(--color-gray-2);
    font-style: italic;
    font-size: 16px;
    margin-top: 48px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .company-meta-row {
        flex-direction: column;
        gap: 12px;
        font-size: 14px;
    }

    .company-content-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        margin: 40px auto 60px;
    }

    .company-sidebar {
        position: static;
    }

    .company-logo-wrapper {
        margin-bottom: 24px;
    }

    .company-map-container {
        margin-bottom: 24px;
    }

    .company-main-content {
        font-size: 16px;
    }
}
