.axl-cats {
    --g: #5ede2b;
    width: 67.7vw;
    margin: 60px auto 0;
    font-family: Walsheim, Helvetica, Arial, sans-serif;
}

.axl-cat {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 24.9%;
    border: 2px solid var(--g);
    border-radius: 40px;
    background: #000;
}

.axl-cat:last-child {
    margin-bottom: 0;
}

.axl-cat__title,
.axl-cat__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: -2px -2px 0;
    border: 2px solid var(--g);
    border-radius: 999px;
    background: #000;
    color: var(--g);
    font-weight: 400;
    text-align: center;
}

.axl-cat__title {
    min-height: 64px;
    padding: 8px 24px;
    font-size: 26px;
    line-height: 1.15;
}

.axl-cat__items {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 34px 0 0;
}

.axl-cat__item {
    display: block;
    color: var(--g);
    text-decoration: none;
}

.axl-cat__media {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 260px;
    padding: 0 20px 26px;
    overflow: visible;
}

.axl-cat__media picture {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.axl-cat__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.axl-cat__media img {
    transform: scale(1);
    transform-origin: 50% 100%;
    transition: transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.axl-cat__item:hover img,
.axl-cat__item:focus-visible img {
    transform: scale(1.05);
}

.axl-cat__btn {
    min-height: 60px;
    margin: 0 -2px;
    padding: 6px 20px;
    font-size: 19px;
    line-height: 1.1;
}

.axl-cat__item:last-child .axl-cat__btn {
    margin-bottom: -2px;
}

@media (min-width: 601px) and (max-width: 1024px) {
    .axl-cats { width: 86vw; }
    .axl-cat { margin-bottom: 80px; }
    .axl-cat__items {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        padding-top: 30px;
    }
    .axl-cat__item {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: calc(100% / var(--n));
    }
    .axl-cat[style*="--n:4"] .axl-cat__item { width: 50%; }
    .axl-cat__media { height: 240px; padding: 0 14px 22px; }
    .axl-cat__btn { margin: 0; }
    .axl-cat__item .axl-cat__btn { margin-bottom: -2px; }
    .axl-cat[style*="--n:4"] .axl-cat__item:nth-child(-n+2) .axl-cat__btn { margin-bottom: 26px; }
}

@media (max-width: 600px) {
    .axl-cats { width: 88vw; margin: 40px 0 0 6vw; }
    .axl-cat { margin-bottom: 70px; border-radius: 32px; }
    .axl-cat__title { font-size: 22px; min-height: 56px; }
    .axl-cat__btn { font-size: 17px; min-height: 54px; }
    .axl-cat__media { height: 230px; }
}

@media (min-width: 1025px) {
    .axl-cat {
        container-type: inline-size;
        aspect-ratio: 1300 / 791;
        border-radius: calc(40 / 1300 * 67.7vw);
    }

    .axl-cat__title {
        --k: calc(100cqw / 1300);
        position: absolute;
        left: -2px;
        right: -2px;
        top: -2px;
        height: calc(80 * var(--k));
        min-height: 0;
        margin: 0;
        padding: 0;
        font-size: calc(43 * var(--k));
        line-height: 1;
    }

    .axl-cat__items {
        --k: calc(100cqw / 1300);
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
    }

    .axl-cat__item {
        display: inline;
    }

    .axl-cat__media {
        position: absolute;
        left: calc(var(--x) * var(--k) - 2px);
        top: calc(var(--y) * var(--k) - 2px);
        width: calc(var(--w) * var(--k));
        height: auto;
        padding: 0;
    }

    .axl-cat__media picture {
        display: block;
        height: auto;
    }

    .axl-cat__media img {
        width: 100%;
        max-width: none;
        max-height: none;
    }

    .axl-cat__btn {
        position: absolute;
        bottom: -2px;
        left: calc(var(--i) * (100% + 4px) / var(--n) - 2px);
        width: calc((100% + 4px) / var(--n));
        height: calc(80 * var(--k));
        min-height: 0;
        margin: 0;
        padding: 0;
        font-size: calc(30 * var(--k));
        line-height: calc(31 * var(--k));
    }

    .axl-cat__item:last-child .axl-cat__btn { margin: 0; }
}

section.section-hero img.hero_vid {
    display: block !important;
}
