.sp-hero-block {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 20px;
    box-sizing: border-box;
    color: #fff;
    font-family: "Open Sans", sans-serif;
}

.sp-hero-block__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

@media (min-width: 768px) {
    .sp-hero-block {
        padding: 24px 28px;
    }

    .sp-hero-block__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        /* min-height: 220px; */
    }
}

.sp-hero-block__content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.sp-hero-block__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
}

.sp-hero-block__breadcrumb-link,
.sp-hero-block__breadcrumb-text,
.sp-hero-block__breadcrumb-current {
    color: rgb(255 255 255 / 55%);
    text-decoration: none;
}

.sp-hero-block__breadcrumb-link:hover {
    color: rgb(255 255 255 / 85%);
    text-decoration: none;
}

.sp-hero-block__breadcrumb-current {
    color: rgb(255 255 255 / 75%);
}

.sp-hero-block__breadcrumb-sep {
    color: rgb(255 255 255 / 35%);
    user-select: none;
}

.sp-hero-block__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 10px;
    margin: 0 0 10px;
}

.sp-hero-block__icon {
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.sp-hero-block__headline {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.sp-hero-block__description {
    margin: 0 0 18px;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.55;
    color: rgb(255 255 255 / 72%);
}

.sp-hero-block__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-hero-block__tag {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.sp-hero-block__tag-text {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--sp-hero-tag-color, #fff);
    border-radius: 999px;
    background: rgb(0 0 0 / 12%);
    color: var(--sp-hero-tag-color, #fff);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.sp-hero-block__creative {
    position: relative;
    z-index: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    pointer-events: none;
}

.sp-hero-block__creative-img {
    display: block;
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 768px) {
    .sp-hero-block__creative {
        align-self: stretch;
        justify-content: flex-end;
        max-width: 42%;
        margin: -16px -8px -16px 0;
    }

    .sp-hero-block__creative-img {
        max-height: none;
        height: 100%;
        min-height: 180px;
        max-width: 100%;
        object-position: right center;
    }
}

@media (max-width: 767px) {
    .sp-hero-block {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .sp-hero-block__description {
        margin-bottom: 14px;
    }

    .sp-hero-block__creative {
        max-width: 280px;
    }

    .sp-hero-block__creative-img {
        max-height: 160px;
    }
}

.sp-hero-block.has-creative-bg {
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    
    @media (min-width: 768px) {
        background-position: right center;
    }

    @media (min-width: 1366px) {
        background-position: center center;
    }
}