:root {
    --rcac-red: #cc0000;
    --rcac-black: #080808;
    --rcac-line: #2f2f2f;
    --rcac-headline: "Headline", "Arial Narrow", Impact, sans-serif;
    --rcac-ui: Arial, Helvetica, sans-serif;
}

.rcac-spotlight,
.rcac-explore {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 40px 0;
    clear: both;
    font-family: var(--rcac-ui);
}

.rcac-spotlight *,
.rcac-explore * {
    box-sizing: border-box;
}

/* In-story artist dossier. Built for RC's actual article column. */
.rcac-spotlight {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    background: var(--rcac-black);
    color: #fff;
    border-top: 6px solid var(--rcac-red);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .18);
}

.rcac-spotlight__image {
    grid-column: 1;
    grid-row: 1;
}

.rcac-spotlight__body {
    grid-column: 1;
    grid-row: 2;
}

.rcac-spotlight__image {
    position: relative;
    min-height: 0;
    aspect-ratio: 11 / 7;
    background: #181818;
}

.rcac-spotlight__image > a {
    position: absolute;
    inset: 0;
    display: block;
}

.rcac-spotlight__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.rcac-spotlight__image-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, transparent 28%),
        linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .22) 35%, transparent 62%);
}

.rcac-spotlight__image-copy {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 23px 25px 22px;
    pointer-events: none;
}

.rcac-spotlight__image-copy h2 a {
    pointer-events: auto;
}

.rcac-spotlight__monogram {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #303030;
    font-family: var(--rcac-headline);
    font-size: 150px;
    font-weight: 1000;
}

.rcac-spotlight__body {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 20px 14px;
    border-top: 1px solid #2e2e2e;
}

.rcac-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #fff;
    font-family: var(--rcac-ui);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .17em;
    line-height: 1;
    text-transform: uppercase;
}

.rcac-eyebrow::before {
    content: "";
    width: 32px;
    height: 4px;
    background: var(--rcac-red);
}

.rcac-eyebrow b {
    display: none;
}

.rcac-spotlight h2 {
    margin: 0 !important;
    font-family: var(--rcac-headline) !important;
    font-size: clamp(50px, 11vw, 82px) !important;
    font-weight: 1000 !important;
    line-height: .86 !important;
    letter-spacing: -.035em !important;
    text-transform: none;
}

.rcac-spotlight h2 a {
    color: #fff !important;
    text-decoration: none !important;
}

.rcac-spotlight__identity {
    margin-top: 13px;
    color: #ddd;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.rcac-spotlight__description {
    display: none;
    overflow: hidden;
    max-width: 560px;
    margin: 12px 0 0 !important;
    color: #ddd !important;
    font-family: var(--rcac-ui) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rcac-stats {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.rcac-stats span {
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 9px 15px 9px 0;
    margin-right: 15px;
    color: #bbb;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
}

.rcac-stats strong {
    color: #fff;
    font-family: var(--rcac-headline);
    font-size: 20px;
    letter-spacing: 0;
}

.rcac-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0;
}

.rcac-button {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .42);
    color: #fff !important;
    font-family: var(--rcac-ui);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
}

.rcac-button:hover {
    border-color: #fff;
    color: #fff !important;
}

.rcac-button--primary {
    gap: 13px;
    padding-right: 14px;
    background: var(--rcac-red);
    border-color: var(--rcac-red);
}

/* The RCTV feature is a deliberate second beat, not a tiny floating coupon. */
.rcac-video {
    position: relative;
    z-index: 3;
    display: grid;
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 122px;
    background: #fff;
    color: #111 !important;
    text-decoration: none !important;
    border-top: 1px solid #222;
}

.rcac-video__media {
    position: relative;
    overflow: hidden;
    min-height: 122px;
    background: #222;
}

.rcac-video__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rcac-video__media i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    padding-left: 3px;
    transform: translate(-50%, -50%);
    background: var(--rcac-red);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-style: normal;
}

.rcac-video__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 16px 20px;
}

.rcac-video__copy small {
    color: var(--rcac-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.rcac-video__copy strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    color: #111;
    font-family: var(--rcac-headline);
    font-size: 21px;
    font-weight: 1000;
    line-height: 1.05;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rcac-video__copy b {
    margin-top: 8px;
    color: #555;
    font-size: 9px;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
}

/* Quiet end-of-story related-artist strip. */
.rcac-explore {
    padding-top: 15px;
    background: #fff;
    color: #111;
    border-top: 3px solid var(--rcac-red);
}

.rcac-also {
    padding: 0;
    background: #fff;
}

.rcac-also > span {
    display: block;
    margin-bottom: 11px;
    color: #333;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

.rcac-also > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.rcac-also a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 0;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
}

.rcac-also img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

.rcac-also__placeholder {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #222, #5e0000);
}

.rcac-also strong {
    font-family: var(--rcac-ui);
    font-size: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .rcac-spotlight,
    .rcac-explore {
        margin: 30px 0;
    }

    .rcac-spotlight__image {
        min-height: 0;
        aspect-ratio: 11 / 7;
    }

    .rcac-spotlight__body {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 11px;
        padding: 13px 15px 15px;
    }

    .rcac-spotlight__image-copy {
        padding: 16px 17px 15px;
    }

    .rcac-spotlight h2 {
        font-size: clamp(38px, 12vw, 48px) !important;
        line-height: .9 !important;
    }

    .rcac-spotlight__description {
        display: none;
    }

    .rcac-stats {
        width: 100%;
    }

    .rcac-stats span {
        flex: 1 1 auto;
        padding-right: 7px;
        margin-right: 7px;
    }

    .rcac-video {
        grid-template-columns: 43% minmax(0, 1fr);
        min-height: 108px;
    }

    .rcac-video__media {
        min-height: 108px;
    }

    .rcac-video__copy {
        padding: 12px;
    }

    .rcac-video__copy strong {
        font-size: 17px;
    }

    .rcac-also > div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* v0.1.22 — mobile "Also in this story" landscape rows */
    .rcac-also a {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 54px;
        gap: 12px;
        padding: 0 14px 0 0;
        box-shadow: inset 0 -2px 0 var(--rcac-red);
    }

    .rcac-also img,
    .rcac-also__placeholder {
        width: 96px;
        height: 54px;
    }

    .rcac-also img {
        object-fit: cover;
        object-position: center;
    }

    .rcac-also strong {
        font-family: var(--rcac-headline);
        font-size: 15px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
    }
}

/* v0.1.12 — Save to My RC sits directly beneath the artist name. */
.rcac-spotlight__image-copy .rc-artist-embed-save {
    appearance: none;
    -webkit-appearance: none;
    min-height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: var(--meta-family, var(--rcac-ui)) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: auto !important;
    white-space: nowrap !important;
    cursor: pointer;
    pointer-events: auto !important;
    text-decoration: none !important;
}
.rcac-spotlight__image-copy .rc-artist-embed-save .rc-artist-follow-icon {
    color: #cc0000 !important;
    font: inherit !important;
    font-weight: 900 !important;
}
.rcac-spotlight__image-copy .rc-artist-embed-save:hover,
.rcac-spotlight__image-copy .rc-artist-embed-save:focus-visible,
.rcac-spotlight__image-copy .rc-artist-embed-save.is-following {
    color: #cc0000 !important;
    background: transparent !important;
    transform: none !important;
}


/* v0.1.13 — keep artist name anchored at hero bottom with Save directly beneath. */
.rcac-spotlight__hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    pointer-events: none;
}
.rcac-spotlight__hero-bottom h2 {
    width: 100%;
}
.rcac-spotlight__hero-bottom h2 a,
.rcac-spotlight__hero-bottom .rc-artist-embed-save {
    pointer-events: auto;
}
.rcac-spotlight__hero-bottom .rc-artist-embed-save {
    margin-top: 8px !important;
}


/* v0.1.14 — primary Artist + Profile cards can coexist. Profiles use RC purple. */
.rcac-primary-stack {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    margin: 40px 0;
    clear: both;
}
.rcac-primary-stack > .rcac-spotlight {
    margin: 0;
}
.rcac-spotlight--profile {
    --rcac-red: #8B00CC;
}
.rcac-spotlight--profile .rcac-spotlight__body {
    border-top-color: #2e2e2e;
}
.rcac-profile-spotlight__identity {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    color: #aaa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.15;
    text-transform: uppercase;
}
.rcac-profile-spotlight__identity strong {
    color: #fff;
    font-family: var(--rcac-headline);
    font-size: 20px;
    letter-spacing: .02em;
}
.rcac-spotlight--profile .rcac-button--primary {
    background: #8B00CC;
    border-color: #8B00CC;
}
.rcac-spotlight--profile .rcac-button--primary:hover {
    background: #7200a8;
    border-color: #7200a8;
}
@media (max-width: 600px) {
    .rcac-primary-stack {
        gap: 14px;
        margin: 30px 0;
    }
    .rcac-primary-stack > .rcac-spotlight {
        margin: 0;
    }
}


/* v0.1.15 — less database-y profile copy + Save to My RC. */
.rcac-profile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.rcac-spotlight--profile .rcac-profile-save {
    background: transparent;
    border-color: #444;
    color: #fff;
}
.rcac-spotlight--profile .rcac-profile-save:hover,
.rcac-spotlight--profile .rcac-profile-save.is-saved {
    background: #151515;
    border-color: #8B00CC;
    color: #fff;
}
.rcac-profile-save__icon {
    margin-right: 5px;
    line-height: 1;
}
@media (max-width: 600px) {
    .rcac-profile-spotlight__body {
        align-items: flex-start;
        gap: 12px;
    }
    .rcac-profile-actions {
        width: 100%;
        justify-content: flex-start;
    }
}


/* v0.1.16 — Profile Save mirrors the Artist card; purple accent, single bottom CTA. */
.rcac-spotlight--profile .rcac-spotlight__image-copy .rcac-profile-hero-save .rc-artist-follow-icon {
    color: #8B00CC !important;
}
.rcac-spotlight--profile .rcac-spotlight__image-copy .rcac-profile-hero-save:hover,
.rcac-spotlight--profile .rcac-spotlight__image-copy .rcac-profile-hero-save:focus-visible,
.rcac-spotlight--profile .rcac-spotlight__image-copy .rcac-profile-hero-save.is-following {
    color: #8B00CC !important;
    background: transparent !important;
}
.rcac-spotlight--profile .rcac-profile-actions {
    justify-content: flex-end;
}

/* Profile save uses AJAX but visually mirrors the Artist save control. */
button.rcac-profile-hero-save{font:inherit;cursor:pointer;border:0;background:transparent;padding:0;text-align:left}
button.rcac-profile-hero-save:disabled{cursor:wait;opacity:.7}


/* v0.1.19 — mobile profile spotlight polish. */
@media (max-width: 600px) {
    .rcac-spotlight--profile h2 {
        font-size: clamp(38px, 12vw, 48px) !important;
        line-height: .9 !important;
    }

    .rcac-spotlight--profile .rcac-profile-spotlight__body {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .rcac-spotlight--profile .rcac-profile-spotlight__identity {
        flex: 1 1 auto;
        min-width: 0;
    }

    .rcac-spotlight--profile .rcac-profile-actions {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .rcac-spotlight--profile .rcac-button--primary {
        white-space: nowrap;
    }
}


/* v0.1.23 — force true landscape thumbnails on mobile. */
@media (max-width: 600px) {
    .rcac-explore .rcac-also a {
        display: flex !important;
        align-items: center !important;
        min-height: 62px !important;
        padding: 0 14px 0 0 !important;
        gap: 12px !important;
    }

    .rcac-explore .rcac-also a > img,
    .rcac-explore .rcac-also a > .rcac-also__placeholder {
        display: block !important;
        flex: 0 0 110px !important;
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;
        height: 62px !important;
        min-height: 62px !important;
        max-height: 62px !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .rcac-explore .rcac-also a > strong {
        flex: 1 1 auto;
        min-width: 0;
    }
}
