/* AI Auto Post Generator — Affiliate Article Styles */
.aapg-affiliate-cta {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #86efac;
    border-radius: 14px;
    padding: 24px;
    margin: 36px 0;
    position: relative;
}
.aapg-cta-badge {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.aapg-cta-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.aapg-cta-img {
    flex-shrink: 0;
    width: 160px;
    text-align: center;
}
.aapg-cta-img img {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.aapg-cta-info {
    flex: 1;
    min-width: 200px;
}
.aapg-cta-title {
    font-size: 18px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 4px;
    line-height: 1.3;
}
.aapg-cta-brand {
    font-size: 13px;
    color: #166534;
    margin: 0 0 16px;
}
.aapg-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(22,163,74,.35);
    transition: transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.aapg-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22,163,74,.45);
    color: #fff !important;
}
.aapg-cta-sub {
    font-size: 11px;
    color: #4ade80;
    margin: 8px 0 0;
}
/* Related products */
.aapg-related-products {
    font-size: 13px;
    color: #475569;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #e2e8f0;
}
.aapg-related-products a {
    color: #2563eb;
    text-decoration: underline;
}
@media (max-width: 500px) {
    .aapg-cta-inner { flex-direction: column; align-items: center; text-align: center; }
    .aapg-cta-btn { width: 100%; text-align: center; }
}
