/**
 * CB Kreacje — CSS Isolation Layer
 * Loaded LAST (priority 999) to override any theme/plugin styles
 * that bleed into CB ad kreacje HTML.
 *
 * IMPORTANT: Do NOT use !important on properties that kreacje-css
 * (from B2B) already defines. The B2B CSS is the source of truth.
 * This file only resets THEME interference, not kreacje styles.
 *
 * @package ContentBridge
 * @version 1.2.0
 */

/* === Reset link styles inside kreacje === */
.cb-ad-wrapper a,
.cb-banner-kreacja-wrapper a,
.cb-feed-ad-wrapper a {
    text-decoration: none !important;
    text-decoration-thickness: initial !important;
    text-underline-offset: initial !important;
    /* color: NOT reset here — kreacje CSS handles it per element */
}

/* === Reset heading styles — only margin/font-family, NOT font-size/color === */
.cb-ad-wrapper h4,
.cb-banner-kreacja-wrapper h4,
.cb-feed-ad-wrapper h4 {
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    /* font-size and color are set by kreacje CSS (.cb-pad__name) — do NOT override */
}

/* === Reset image styles === */
.cb-ad-wrapper img,
.cb-banner-kreacja-wrapper img,
.cb-feed-ad-wrapper img {
    margin: 0 !important;
    border-radius: 0 !important;
}

/* === Reset paragraph styles === */
.cb-ad-wrapper p,
.cb-banner-kreacja-wrapper p,
.cb-feed-ad-wrapper p {
    margin: 0 !important;
}
