.affiliate-cta {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, #e7f3ff 0%, #f0f8ff 100%);
    border: 1px solid #c8e1ff;
    border-radius: 12px;
}

.affiliate-cta__content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.affiliate-cta__logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.affiliate-cta__text {
    flex: 1;
    min-width: 0;
}

.affiliate-cta__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.affiliate-cta__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* The button is the whole point of the card, so it does not borrow the site's
   Telegram blue: on a pale blue card that reads as one more UI control. The red
   → magenta gradient is the adult theme's accent pair (porno-theme.css), which
   is the only warm colour on the page. */
.affiliate-cta__button {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff1744 0%, #8b1874 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(255, 23, 68, 0.40);
    transition: box-shadow 0.2s, filter 0.2s;
    white-space: nowrap;
}

.affiliate-cta__button:hover,
.affiliate-cta__button:focus {
    color: #fff;
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(255, 23, 68, 0.52);
}

.affiliate-cta__button:visited {
    color: #fff;
}

.affiliate-cta__disclosure {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #888;
}

@media (max-width: 600px) {
    .affiliate-cta__content {
        flex-direction: column;
        text-align: center;
    }

    .affiliate-cta__button {
        width: 100%;
        text-align: center;
    }
}

/* P1-2: inline CTA card placed inside a catalog listing grid (channels,
   chats, bots, stickers). Spans the full row instead of taking one of the
   float/grid columns, so it never disturbs the surrounding cards' layout. */
.affiliate-cta-listing-slot {
    list-style: none;
    float: none;
    clear: both;
    width: 100%;
}

.bots-grid .affiliate-cta-listing-slot,
.stikcers_sets .affiliate-cta-listing-slot {
    grid-column: 1 / -1;
}
