/* WB CTA shell styles — CLS-safe banners, reduced motion */
#wbcta-mount{
	position:relative;
	z-index:2147483646;
	isolation:isolate;
}
.wbcta-overlay{position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;background:rgba(16,20,30,.45)}
.wbcta-overlay.wbcta-layout-banner_top,
.wbcta-overlay.wbcta-layout-banner_bottom{
	background:transparent;
	align-items:stretch;
	justify-content:stretch;
	pointer-events:none;
	left:0;
	right:0;
	width:100%;
	height:auto;
	max-height:none;
	z-index:2147483646;
}
.wbcta-overlay.wbcta-layout-banner_top{top:0;bottom:auto;inset:0 0 auto 0}
.wbcta-overlay.wbcta-layout-banner_bottom{bottom:0;top:auto;inset:auto 0 0 0}
/* In-flow banners when “shift content” is on — push page content instead of covering it. */
.wbcta-overlay.wbcta-shift.wbcta-layout-banner_top,
.wbcta-overlay.wbcta-shift.wbcta-layout-banner_bottom{
	position:relative;
	inset:auto;
	left:auto;
	right:auto;
	top:auto;
	bottom:auto;
	z-index:2147483646;
	width:100%;
	height:auto;
	pointer-events:auto;
}
/* Keep shifted top banners above sticky theme headers while scrolling. */
.wbcta-overlay.wbcta-shift.wbcta-layout-banner_top{
	position:sticky;
	top:0;
}
.wbcta-overlay.wbcta-layout-slide_in{padding:24px;background:rgba(16,20,30,.25)}
/* No dimmed backdrop — must follow layout backgrounds so slide_in/modal stay transparent. */
.wbcta-overlay.wbcta-no-overlay{background:transparent;pointer-events:none}
.wbcta-overlay.wbcta-no-overlay .wbcta-dialog{pointer-events:auto}

/* Position (modal + slide-in) */
.wbcta-pos-center{align-items:center;justify-content:center}
.wbcta-pos-top{align-items:flex-start;justify-content:center;padding-top:48px}
.wbcta-pos-bottom{align-items:flex-end;justify-content:center;padding-bottom:48px}
.wbcta-pos-top-left{align-items:flex-start;justify-content:flex-start}
.wbcta-pos-top-right{align-items:flex-start;justify-content:flex-end}
.wbcta-pos-bottom-left{align-items:flex-end;justify-content:flex-start}
.wbcta-pos-bottom-right{align-items:flex-end;justify-content:flex-end}

.wbcta-dialog{position:relative;background:#fff;border-radius:12px;max-width:480px;width:calc(100% - 32px);max-height:90vh;overflow:auto;box-shadow:none;padding:20px 20px 24px}
.wbcta-has-shadow .wbcta-dialog{box-shadow:0 24px 48px -12px rgba(16,20,30,.28)}

/* Size */
.wbcta-size-sm .wbcta-dialog{max-width:360px}
.wbcta-size-md .wbcta-dialog{max-width:480px}
.wbcta-size-lg .wbcta-dialog{max-width:640px}
.wbcta-layout-slide_in.wbcta-size-sm .wbcta-dialog{max-width:300px}
.wbcta-layout-slide_in.wbcta-size-md .wbcta-dialog{max-width:360px}
.wbcta-layout-slide_in.wbcta-size-lg .wbcta-dialog{max-width:420px}

.wbcta-layout-banner_top .wbcta-dialog,
.wbcta-layout-banner_bottom .wbcta-dialog{
	max-width:none;
	width:100%;
	border-radius:0;
	pointer-events:auto;
	min-height:48px;
	max-height:none;
	padding:10px 48px 10px 16px;
	display:flex;
	align-items:center;
	box-shadow:none;
	overflow:visible;
}
/* Top banner: shadow only below. Bottom banner: shadow only above. */
.wbcta-has-shadow.wbcta-layout-banner_top .wbcta-dialog{box-shadow:0 6px 16px -4px rgba(16,20,30,.22)}
.wbcta-has-shadow.wbcta-layout-banner_bottom .wbcta-dialog{box-shadow:0 -6px 16px -4px rgba(16,20,30,.22)}
.wbcta-layout-banner_top .wbcta-body,
.wbcta-layout-banner_bottom .wbcta-body{
	width:100%;
	padding-right:0;
	min-width:0;
}
.wbcta-layout-banner_top .wbcta-close,
.wbcta-layout-banner_bottom .wbcta-close{
	top:50%;
	right:10px;
	transform:translateY(-50%);
	width:32px;
	height:32px;
	font-size:20px;
}
.wbcta-close{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;border-radius:8px;color:#333}
.wbcta-close:focus-visible{outline:2px solid #4f6ef7;outline-offset:2px}
.wbcta-body{padding-right:28px}

/* Animation */
.wbcta-anim-fade:not(.wbcta-reduced) .wbcta-dialog{animation:wbcta-fade .22s ease}
.wbcta-anim-slide:not(.wbcta-reduced) .wbcta-dialog{animation:wbcta-slide-up .26s ease}
.wbcta-anim-slide.wbcta-pos-top:not(.wbcta-reduced) .wbcta-dialog,
.wbcta-anim-slide.wbcta-pos-top-left:not(.wbcta-reduced) .wbcta-dialog,
.wbcta-anim-slide.wbcta-pos-top-right:not(.wbcta-reduced) .wbcta-dialog,
.wbcta-anim-slide.wbcta-layout-banner_top:not(.wbcta-reduced) .wbcta-dialog{animation:wbcta-slide-down .26s ease}
.wbcta-anim-slide.wbcta-pos-bottom-left:not(.wbcta-reduced) .wbcta-dialog{animation:wbcta-slide-left .26s ease}
.wbcta-anim-slide.wbcta-pos-bottom-right:not(.wbcta-reduced) .wbcta-dialog,
.wbcta-anim-slide.wbcta-layout-slide_in:not(.wbcta-reduced) .wbcta-dialog{animation:wbcta-slide-right .26s ease}
.wbcta-anim-none .wbcta-dialog,
.wbcta-reduced .wbcta-dialog{animation:none!important}
@keyframes wbcta-fade{from{opacity:0}to{opacity:1}}
@keyframes wbcta-slide-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes wbcta-slide-down{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:none}}
@keyframes wbcta-slide-left{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}
@keyframes wbcta-slide-right{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.wbcta-overlay .wbcta-dialog{animation:none!important}}
.wbcta-banner-reserve-top,.wbcta-banner-reserve-bottom{display:block;width:100%;min-height:0;position:relative;z-index:2147483646}
.wbcta-banner-reserve-top:empty,.wbcta-banner-reserve-bottom:empty{min-height:56px}
body.wbcta-has-shift-bottom{padding-bottom:56px}
.wbcta-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:8px;border:1px solid transparent;font-weight:600;text-decoration:none;cursor:pointer;line-height:1.2}
.wbcta-btn--primary{background:var(--wbcta-btn-primary-bg,#4f6ef7);color:var(--wbcta-btn-primary-color,#fff)}
.wbcta-btn--secondary{background:var(--wbcta-btn-secondary-bg,#e8ebf4);color:var(--wbcta-btn-secondary-color,#1a1a1a)}
.wbcta-btn--outline{background:var(--wbcta-btn-outline-bg,transparent);color:var(--wbcta-btn-outline-color,#4f6ef7);border-color:var(--wbcta-btn-outline-border,#4f6ef7)}
.wbcta-btn--ghost{background:transparent;color:var(--wbcta-btn-ghost-color,#4f6ef7);border-color:transparent}
.wbcta-btn--danger{background:var(--wbcta-btn-danger-bg,#d64545);color:var(--wbcta-btn-danger-color,#fff)}
.wbcta-state{display:block}
.wbcta-state[hidden]{display:none!important}

/* 2.4.0: auto-inserted in-content campaigns */
.wbcta-auto-insert{margin:2em 0;clear:both}
.wbcta-download{margin:12px 0 0}
.wbcta-state:focus{outline:none}

/* 2.4.0 images: rounded by default; "edge to edge" fills the top of a popup, slide-in or coloured inline card */
.wbcta-image{margin:0 0 14px}
.wbcta-img{display:block;max-width:100%;height:auto;border-radius:10px}
.wbcta-image--bleed .wbcta-img{width:100%;border-radius:0}
.wbcta-dialog .wbcta-b.wbcta-image--bleed{margin:-20px -48px 18px -20px;width:calc(100% + 68px);max-width:none}
.wbcta-layout-banner_top .wbcta-b.wbcta-image--bleed,.wbcta-layout-banner_bottom .wbcta-b.wbcta-image--bleed{margin:0;width:auto}
.wbcta-inline .wbcta-b.wbcta-image--bleed{margin:calc(var(--wbcta-pad,0px) * -1) calc(var(--wbcta-pad,0px) * -1) 20px;width:calc(100% + var(--wbcta-pad,0px) * 2);max-width:none}
.wbcta-dialog:has(.wbcta-image--bleed) .wbcta-close{background:rgba(255,255,255,.92);border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.wbcta-inline[hidden]{display:none!important}
