/* Article promotions: inherit the site's light/dark palette. */
.contextual-promotion {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 12px;
    background: var(--bg-card, #fff);
    color: var(--text-primary, #1f2937);
    text-align: left;
    overflow-wrap: anywhere;
}
.contextual-promotion .cta-promo-title {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}
.contextual-promotion .cta-promo-desc {
    margin: 0 0 1rem;
    color: var(--text-secondary, #4b5563);
    font-size: 0.95rem;
    line-height: 1.7;
}
.contextual-promotion > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--primary-color, #007aff);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}
.contextual-promotion .cta-promo-disclosure {
    margin: 1rem 0 0;
    color: var(--text-secondary, #4b5563);
    font-size: 0.8rem;
    line-height: 1.6;
}
.contextual-promotion .cta-promo-disclosure a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contextual-promotion a:focus-visible {
    outline: 2px solid var(--primary-color, #007aff);
    outline-offset: 4px;
}

.contextual-promotion > a.iproyal-banner {
    display: block;
    min-height: 0;
    margin: 0 0 1rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.iproyal-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
@media (max-width: 767px) {
    .contextual-promotion > a.iproyal-banner {
        display: none;
    }
}
