.mxp-spotlight-preview {
    --spotlight-bg: #071526;
    --spotlight-panel: #0b1c30;
    --spotlight-border: rgba(144, 180, 214, .28);
    --spotlight-teal: #18c8b6;
    --spotlight-text: #f7fbff;
    --spotlight-muted: #b7c5d6;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
    overflow: hidden;
    min-height: 220px;
    border: 1px solid var(--spotlight-border);
    border-radius: 8px;
    background:
        radial-gradient(circle at 80% 10%, rgba(24, 200, 182, .16), transparent 30%),
        linear-gradient(135deg, #071526 0%, #0b1c30 58%, #06101f 100%);
    color: var(--spotlight-text);
}

.mxp-spotlight-preview::before {
    display: none;
}

.mxp-spotlight-preview__image {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    padding: 18px;
    border-left: 1px solid rgba(255, 255, 255, .09);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
        rgba(255, 255, 255, .04);
    object-fit: contain;
    opacity: 1;
}

.mxp-spotlight-preview__empty {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: 220px;
    margin: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .62);
    font-size: .82rem;
}

.mxp-spotlight-preview__body {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 220px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .32rem;
}

.mxp-spotlight-preview__label {
    color: var(--spotlight-teal);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mxp-spotlight-preview__title {
    margin: .2rem 0 .05rem;
    font-size: clamp(1.15rem, 1.55vw, 1.6rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--spotlight-text);
    display: block;
    overflow-wrap: anywhere;
}

.mxp-spotlight-preview__subtitle,
.mxp-spotlight-preview__description {
    color: var(--spotlight-muted);
    overflow-wrap: anywhere;
}

.mxp-spotlight-preview__subtitle {
    font-size: .9rem;
    line-height: 1.22;
    font-weight: 700;
    display: block;
}

.mxp-spotlight-preview__description {
    margin: .1rem 0 .45rem;
    font-size: .82rem;
    line-height: 1.26;
    display: block;
}

.mxp-spotlight-preview__meta {
    color: #d9e7f5;
    font-size: .78rem;
}

.mxp-spotlight-preview__cta {
    width: fit-content;
    max-width: 100%;
    border: 0;
    border-radius: 6px;
    padding: .5rem .85rem;
    background: linear-gradient(90deg, #13b8ad, #168b99);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mxp-spotlight-preview__badge {
    width: fit-content;
    max-width: 100%;
    margin-top: .55rem;
    border-radius: 999px;
    padding: .2rem .55rem;
    background: rgba(24, 200, 182, .14);
    color: #72f4e8;
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 700;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

@media (max-width: 767.98px) {
    .mxp-spotlight-preview {
        grid-template-columns: 1fr;
    }

    .mxp-spotlight-preview__image,
    .mxp-spotlight-preview__empty {
        grid-column: 1;
        grid-row: 2;
        opacity: 1;
        width: 100%;
        min-height: 160px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .09);
    }

    .mxp-spotlight-preview__empty {
        margin: 16px;
    }

    .mxp-spotlight-preview__body {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        padding: 22px;
    }
}
