.voleska-category-bento {
    --voleska-bento-ink: #263f53;
    --voleska-bento-muted: #536674;
    --voleska-bento-accent: #3cb8df;
    --voleska-bento-surface: #f6f8f9;
    width: 100%;
    padding: 34px 0 64px;
    background: #fff;
    color: var(--voleska-bento-ink);
}

.voleska-category-bento,
.voleska-category-bento * {
    box-sizing: border-box;
}

.voleska-category-bento__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid rgba(38, 63, 83, 0.045);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(248, 250, 251, 0.98),
            rgba(255, 255, 255, 0.98)
        );
    box-shadow:
        0 22px 70px rgba(38, 63, 83, 0.055),
        inset 0 1px rgba(255, 255, 255, 0.8);
}

.voleska-category-bento__header {
    margin-bottom: 28px;
}

.voleska-category-bento__eyebrow {
    margin: 0 0 8px;
    color: var(--voleska-bento-accent);
    font-family:
        var(--e-global-typography-accent-font-family, Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.voleska-category-bento__title {
    margin: 0;
    color: var(--voleska-bento-ink);
    font-family:
        var(
            --e-global-typography-primary-font-family,
            Georgia,
            "Times New Roman",
            serif
        );
    font-size: clamp(38px, 3.4vw, 54px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.voleska-category-bento__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.65fr)
        minmax(0, 0.95fr);
    grid-template-rows: repeat(2, minmax(0, 270px));
    grid-template-areas:
        "left top right"
        "left bottom right";
    gap: 18px;
}

.voleska-category-bento__card {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(38, 63, 83, 0.055);
    border-radius: 16px;
    background: var(--voleska-bento-surface);
    color: var(--voleska-bento-ink);
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 10px 28px rgba(38, 63, 83, 0.035);
    transition:
        translate 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.voleska-category-bento__card--left {
    grid-area: left;
}

.voleska-category-bento__card--top {
    grid-area: top;
}

.voleska-category-bento__card--bottom {
    grid-area: bottom;
}

.voleska-category-bento__card--right {
    grid-area: right;
}

.voleska-category-bento__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
}

.voleska-category-bento__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1);
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 300ms ease;
}

.voleska-category-bento__card--top
.voleska-category-bento__image,
.voleska-category-bento__card--bottom
.voleska-category-bento__image {
    object-position: 62% 50%;
}

.voleska-category-bento__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02) 15%,
            rgba(255, 255, 255, 0.2) 48%,
            rgba(247, 249, 250, 0.94) 100%
        );
    transition: opacity 260ms ease;
}

.voleska-category-bento__card--top
.voleska-category-bento__shade,
.voleska-category-bento__card--bottom
.voleska-category-bento__shade {
    background:
        linear-gradient(
            90deg,
            rgba(247, 249, 250, 0.96) 0%,
            rgba(247, 249, 250, 0.76) 35%,
            rgba(247, 249, 250, 0.03) 76%
        );
}

.voleska-category-bento__content {
    position: absolute;
    inset: auto 24px 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.voleska-category-bento__card--top
.voleska-category-bento__content,
.voleska-category-bento__card--bottom
.voleska-category-bento__content {
    inset: 0 auto 0 28px;
    width: min(42%, 240px);
    align-items: center;
}

.voleska-category-bento__copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.voleska-category-bento__name {
    display: block;
    color: var(--voleska-bento-ink);
    font-family:
        var(
            --e-global-typography-primary-font-family,
            Georgia,
            "Times New Roman",
            serif
        );
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.voleska-category-bento__card--top
.voleska-category-bento__name,
.voleska-category-bento__card--bottom
.voleska-category-bento__name {
    font-size: clamp(24px, 1.8vw, 30px);
}

.voleska-category-bento__count {
    display: block;
    color: var(--voleska-bento-muted);
    font-family:
        var(--e-global-typography-text-font-family, Arial, sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.voleska-category-bento__arrow {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--voleska-bento-accent);
    color: #fff;
    box-shadow: 0 9px 22px rgba(60, 184, 223, 0.26);
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 260ms ease,
        box-shadow 260ms ease;
}

.voleska-category-bento__arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.voleska-category-bento__card:hover {
    border-color: rgba(60, 184, 223, 0.24);
    translate: 0 -4px;
    box-shadow: 0 24px 48px rgba(38, 63, 83, 0.13);
}

.voleska-category-bento__card:hover
.voleska-category-bento__image {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.voleska-category-bento__card:hover
.voleska-category-bento__arrow {
    transform: translateX(4px);
    background: #2caed7;
    box-shadow: 0 12px 28px rgba(60, 184, 223, 0.34);
}

.voleska-category-bento__card:focus-visible {
    outline: 3px solid var(--voleska-bento-accent);
    outline-offset: 4px;
}

/* Progressive enhancement: content stays visible if JavaScript fails. */
.voleska-category-bento.is-reveal-ready
.voleska-category-bento__header,
.voleska-category-bento.is-reveal-ready
.voleska-category-bento__card {
    opacity: 0;
    translate: 0 24px;
    transition:
        opacity 740ms cubic-bezier(0.22, 1, 0.36, 1),
        translate 740ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        border-color 260ms ease;
    transition-delay:
        var(--voleska-category-reveal-delay, 0ms);
}

.voleska-category-bento.is-reveal-ready
.voleska-category-bento__card
.voleska-category-bento__image {
    transform: scale(1.025);
}

.voleska-category-bento.is-revealed
.voleska-category-bento__header,
.voleska-category-bento.is-revealed
.voleska-category-bento__card {
    opacity: 1;
    translate: none;
}

.voleska-category-bento.is-revealed
.voleska-category-bento__card
.voleska-category-bento__image {
    transform: scale(1);
}

@media (max-width: 1024px) {
    .voleska-category-bento__inner {
        padding: 30px;
    }

    .voleska-category-bento__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(280px, 34vw));
        grid-template-areas:
            "left top"
            "bottom right";
    }

    .voleska-category-bento__card--top
    .voleska-category-bento__content,
    .voleska-category-bento__card--bottom
    .voleska-category-bento__content {
        inset: auto 22px 22px;
        width: auto;
        align-items: flex-end;
    }

    .voleska-category-bento__card--top
    .voleska-category-bento__shade,
    .voleska-category-bento__card--bottom
    .voleska-category-bento__shade {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.02) 15%,
                rgba(255, 255, 255, 0.2) 48%,
                rgba(247, 249, 250, 0.94) 100%
            );
    }
}

@media (max-width: 767px) {
    .voleska-category-bento {
        padding: 20px 0 44px;
    }

    .voleska-category-bento__inner {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .voleska-category-bento__header {
        margin-bottom: 20px;
        padding: 0 6px;
    }

    .voleska-category-bento__eyebrow {
        font-size: 11px;
    }

    .voleska-category-bento__title {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .voleska-category-bento__grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas:
            "left"
            "top"
            "bottom"
            "right";
        gap: 12px;
    }

    .voleska-category-bento__card {
        min-height: 300px;
        border-radius: 13px;
    }

    .voleska-category-bento__card--top,
    .voleska-category-bento__card--bottom {
        min-height: 240px;
    }

    .voleska-category-bento__content,
    .voleska-category-bento__card--top
    .voleska-category-bento__content,
    .voleska-category-bento__card--bottom
    .voleska-category-bento__content {
        inset: auto 18px 18px;
        width: auto;
        align-items: flex-end;
    }

    .voleska-category-bento__name,
    .voleska-category-bento__card--top
    .voleska-category-bento__name,
    .voleska-category-bento__card--bottom
    .voleska-category-bento__name {
        font-size: 27px;
    }

    .voleska-category-bento__arrow {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .voleska-category-bento *,
    .voleska-category-bento *::before,
    .voleska-category-bento *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .voleska-category-bento.is-reveal-ready
    .voleska-category-bento__header,
    .voleska-category-bento.is-reveal-ready
    .voleska-category-bento__card {
        opacity: 1;
        translate: none;
    }
}
