.sl-category-hero {
    position: relative;
    min-height: var(--sl-hero-height-desktop, 420px);
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin: 0 0 32px;
}

.sl-category-hero__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.sl-category-hero__content {
    position: absolute;
    right: 32px;
    bottom: 28px;
    z-index: 2;
    text-align: right;
    color: #ffffff;
    max-width: 40%;
}

.sl-category-hero__title {
    margin: 0 0 4px;
    font-size: clamp(28px, 4vw, 58px);
    line-height: 1.05;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.sl-category-hero__weight {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.sl-category-hero__cta {
    display: inline-block;
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 14px 34px;
    font-size: clamp(26px, 2.1vw, 36px);
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.sl-category-hero.sl-category-hero--top-left .sl-category-hero__content {
    top: 28px !important;
    left: 32px !important;
    right: auto !important;
    bottom: auto !important;
    text-align: left !important;
}

.sl-category-hero.sl-category-hero--top-right .sl-category-hero__content {
    top: 28px !important;
    right: 32px !important;
    left: auto !important;
    bottom: auto !important;
    text-align: right !important;
}

.sl-category-hero.sl-category-hero--bottom-left .sl-category-hero__content {
    bottom: 28px !important;
    left: 32px !important;
    right: auto !important;
    top: auto !important;
    text-align: left !important;
}

.sl-category-hero.sl-category-hero--bottom-right .sl-category-hero__content {
    bottom: 28px !important;
    right: 32px !important;
    left: auto !important;
    top: auto !important;
    text-align: right !important;
}

.sl-category-hero.sl-category-hero--dark .sl-category-hero__title,
.sl-category-hero.sl-category-hero--dark .sl-category-hero__weight {
    color: #111111 !important;
}

.sl-category-hero.sl-category-hero--dark .sl-category-hero__cta {
    background: #111111 !important;
    color: #ffffff !important;
}

.sl-category-hero.sl-category-hero--dark .sl-category-hero__cta:hover,
.sl-category-hero.sl-category-hero--dark .sl-category-hero__cta:focus {
    background: #222222 !important;
    color: #ffffff !important;
}

.sl-category-hero.sl-category-hero--light .sl-category-hero__title,
.sl-category-hero.sl-category-hero--light .sl-category-hero__weight {
    color: #ffffff !important;
}

.sl-category-hero.sl-category-hero--light .sl-category-hero__cta {
    background: #ffffff !important;
    color: #111111 !important;
}

.sl-category-hero__cta:hover,
.sl-category-hero__cta:focus {
    background: #f5f5f5;
    color: #111;
}

@media (max-width: 900px) {
    .sl-category-hero {
        min-height: var(--sl-hero-height-mobile, 340px);
        margin: 8px 0 24px;
    }

    .sl-category-hero__content {
        right: 20px;
        bottom: 20px;
        max-width: 68%;
    }

    .sl-category-hero__cta {
        font-size: 22px;
        padding: 9px 20px;
    }

    .sl-category-hero__weight {
        font-size: clamp(22px, 5.4vw, 30px);
    }

    .sl-category-hero.sl-category-hero--top-left .sl-category-hero__content,
    .sl-category-hero.sl-category-hero--top-right .sl-category-hero__content {
        top: 14px !important;
    }
}
