/* Business homepage: keep these styles separate from the portal and project pages. */
.business-home .header-container {
    max-width: 1160px;
}

.business-home .hero-title-main {
    margin-bottom: .65rem;
}

.business-home .hero-title-sub {
    color: #6b6f77;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    font-weight: 500;
    line-height: 1.3;
}

.business-home .header p {
    max-width: 52rem;
    color: #60646c;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.business-home .grid-container {
    margin-bottom: 3.5rem;
}

.business-home .card {
    min-width: 0;
    min-height: 20.5rem;
    border: 1px solid #e4e5e8;
    box-shadow: 0 1px 2px rgb(0 0 0 / 3%);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.business-home .card:hover {
    border-color: #c9cbd0;
}

.business-home .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.15rem;
    border-radius: 0;
    background: transparent;
}

.business-home .card-icon img {
    display: block;
    width: 48px;
    height: 48px;
}

.business-home .card h3 {
    min-height: 3.25rem;
    margin-bottom: 1rem;
    color: #111;
    font-size: 1.3rem;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.business-home .card p {
    margin-bottom: 0;
    color: #45484e;
    line-height: 1.5;
}

.business-home .expand-icon {
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border: 1px solid #ececef;
    box-shadow: none;
}

.business-home .expand-icon i {
    color: #45484e;
}

.business-home .card.expanded {
    min-height: 0;
}

.business-home .card.expanded h3 {
    min-height: 0;
}

.integration-logos {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: max-content;
    max-width: 100%;
    margin-top: 1.1rem;
    padding: 0;
    list-style: none;
}

.integration-logos li {
    display: flex;
    align-items: center;
    min-width: 0;
}

.integration-logos li + li {
    border-left: 1px solid #e0e2e6;
    padding-left: .85rem;
}

.integration-logos img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.business-home .social a:focus-visible,
.business-home .btn-primary:focus-visible {
    outline: 2px solid #111;
    outline-offset: 5px;
}

@media (min-width: 641px) and (max-width: 1000px) {
    .business-home .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .business-home .header-container {
        padding: 0 1.25rem;
    }

    .business-home .header h1 {
        font-size: clamp(1.7rem, 8.5vw, 2.45rem);
    }

    .business-home .hero-title-sub {
        max-width: 26rem;
        margin-inline: auto;
    }

    .business-home .grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .business-home .card {
        min-height: 0;
        padding: 1.5rem;
    }

    .business-home .card-icon,
    .business-home .card-icon img {
        width: 40px;
        height: 40px;
    }

    .business-home .card h3 {
        min-height: 0;
        margin-bottom: .75rem;
    }

    .business-home .expand-icon {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }

    .business-home .grid-container {
        margin-bottom: 2.5rem;
    }
}
