.article-lg .article-sponsored,
.article > figure.article-thumb > .article-sponsored{
    display: table;
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px;

    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;

    border-image-source: linear-gradient(
            90deg,
            #ff004f 0%,
            #a020f0 50%,
            #008cff 100%
    );
    border-image-slice: 1;
}

.article-lg .article-sponsored strong,
.article > figure.article-thumb > .article-sponsored strong {
    font-weight: 600;
}

.article-lg .article-sponsored {
    position: relative;
    margin-bottom: 8px;
}

.custom {
    color: #000000 !important;
    display: table;
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;

    border-image-source: linear-gradient(
            90deg,
            #ff004f 0%,
            #a020f0 50%,
            #008cff 100%
    );
    border-image-slice: 1;
}

.article > figure.article-thumb:has(> .article-sponsored) {
    position: relative;
}

.article > figure.article-thumb > .article-sponsored {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    max-width: calc(100% - 24px);
    margin: 0;
}