section.ZomaCategories.business-spheres {
    display: block;
    position: relative;
    top: 0 !important;
    width: 100% !important;
    margin: 0 0 48px;
    padding: 48px 0 0;
    background: #fff;
}

.business-spheres .business-spheres-title {
    margin: 0 0 24px;
    padding: 0;
    color: #000;
    font-family: 'BPGMrgvlovaniCaps', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.business-spheres .ZomaCategoryGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.business-spheres .business-sphere-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #2b4e8e;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
    text-decoration: none;
    isolation: isolate;
}

.business-spheres .business-sphere-card img {
    display: none;
}

.business-spheres .business-sphere-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sphere-image);
    background-position: center;
    background-size: cover;
    transition: transform 0.25s ease;
}

.business-spheres .business-sphere-card[href$="/activity/000000001"] {
    --sphere-image: url('../images/sphere-1.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000002"] {
    --sphere-image: url('../images/sphere-2.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000003"] {
    --sphere-image: url('../images/sphere-3.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000004"] {
    --sphere-image: url('../images/sphere-4.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000005"] {
    --sphere-image: url('../images/sphere-5.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000006"] {
    --sphere-image: url('../images/sphere-6.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000007"] {
    --sphere-image: url('../images/sphere-7.jpg');
}

.business-spheres .business-sphere-card[href$="/activity/000000008"] {
    --sphere-image: url('../images/sphere-8.jpg');
}

.business-spheres .business-sphere-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(43 78 142 / 3%) 15%, rgb(43 78 142 / 30%) 45%, rgb(43 78 142 / 96%) 100%);
    pointer-events: none;
}

.business-spheres .business-sphere-title {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
    color: #fff;
    font-family: 'BPGMrgvlovaniCaps', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.business-spheres .business-sphere-card:hover::before {
    transform: scale(1.035);
}

.business-spheres .business-sphere-card:focus-visible {
    outline: 3px solid #244995;
    outline-offset: 4px;
}

@media (max-width: 1199px) {
    .business-spheres .ZomaCategoryGrid {
        gap: 20px;
    }

    .business-spheres .business-sphere-title {
        right: 18px;
        bottom: 18px;
        left: 18px;
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .business-spheres .ZomaCategoryGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    section.ZomaCategories.business-spheres {
        margin-bottom: 32px;
        padding-top: 28px;
    }

    .business-spheres .business-spheres-title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .business-spheres .ZomaCategoryGrid {
        gap: 14px;
    }

    .business-spheres .business-sphere-card {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    .business-spheres .business-sphere-title {
        right: 12px;
        bottom: 14px;
        left: 12px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .business-spheres .business-sphere-card::before {
        transition: none;
    }
}
