/* BF_PROMOS_V39: single scoped marketing component for homepage + SEO showcase. */
.bf39{--bf39-bg:#f5f9ff;--bf39-panel:#fff;--bf39-title:#0f2b4d;--bf39-body:#456078;--bf39-border:#d7e6f5;--bf39-link:#075fb1;color:var(--bf39-title);font-family:inherit;background:transparent;padding:clamp(30px,5vw,72px) 16px;box-sizing:border-box;isolation:isolate}
.bf39 *{box-sizing:border-box}
.bf39-inner{max-width:1200px;margin:0 auto}
.bf39-heading{text-align:center;margin:0 auto clamp(22px,3.4vw,36px);max-width:840px}
.bf39-kicker{display:inline-block;color:#126caa;font-weight:750;letter-spacing:.035em;font-size:clamp(12px,1.1vw,15px);margin-bottom:8px}
.bf39-heading h2{margin:0;color:var(--bf39-title);font-weight:800;font-size:clamp(26px,3.2vw,42px);line-height:1.22;letter-spacing:-.025em;text-wrap:balance}
.bf39-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(15px,2.1vw,24px)}
.bf39-card{min-width:0;border:1px solid var(--bf39-border);border-radius:22px;background:var(--bf39-panel);box-shadow:0 10px 34px rgba(20,58,106,.075);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.bf39-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(20,58,106,.12)}
.bf39-media{width:100%;aspect-ratio:1672 / 941;overflow:hidden;background:#e8f4ff}
.bf39-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.bf39-copy{padding:clamp(18px,2.3vw,26px);min-width:0}
.bf39-copy h3{margin:0 0 11px;color:var(--bf39-title);font-weight:750;font-size:clamp(18px,1.7vw,23px);line-height:1.27}
.bf39-copy p{margin:0 0 17px;color:var(--bf39-body);font-size:clamp(14px,1.13vw,16px);line-height:1.65}
.bf39-link{display:inline-flex;align-items:center;gap:6px;color:var(--bf39-link)!important;font-size:15px;line-height:1.45;font-weight:750;text-decoration:none!important;min-height:36px}
.bf39-link:hover,.bf39-link:focus-visible{text-decoration:underline!important;text-underline-offset:4px}
.bf39-link:focus-visible{outline:3px solid #5ebcf6;outline-offset:4px;border-radius:4px}
#bf-promos-v39-home.bf39--home{padding-top:clamp(12px,2vw,22px)}
.bf39--seo{background:transparent;padding:clamp(25px,4vw,56px) 16px}
.bf39--seo .bf39-grid{grid-template-columns:minmax(0,1fr);gap:24px}
.bf39--seo .bf39-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;min-height:275px}
.bf39--seo .bf39-card:nth-child(even) .bf39-media{order:2}
.bf39--seo .bf39-media{height:100%;aspect-ratio:auto;min-height:275px}
.bf39--seo .bf39-copy{padding:clamp(24px,4vw,54px)}
html[data-theme="dark"] .bf39,html.dark .bf39,body[data-theme="dark"] .bf39,body.dark .bf39,.theme-dark .bf39,.dark-mode .bf39{--bf39-bg:#0d1c32;--bf39-panel:#14243c;--bf39-title:#eef7ff;--bf39-body:#c0d5ed;--bf39-border:#28435f;--bf39-link:#8dcaff}
html[data-theme="dark"] .bf39,html.dark .bf39,body[data-theme="dark"] .bf39,body.dark .bf39,.theme-dark .bf39,.dark-mode .bf39{background:linear-gradient(155deg,#0c1c31,#112741)}
@media(max-width:820px){.bf39-grid{grid-template-columns:1fr}.bf39-card{max-width:620px;margin-inline:auto;width:100%}.bf39--seo .bf39-card{grid-template-columns:minmax(0,1fr)}.bf39--seo .bf39-card:nth-child(even) .bf39-media{order:0}.bf39--seo .bf39-media{height:auto;min-height:0;aspect-ratio:1672 / 941}.bf39--seo .bf39-copy{padding:20px}}
@media(prefers-reduced-motion:reduce){.bf39-card{transition:none}.bf39-card:hover{transform:none}}

/* BF_PROMO_SEO_DARK_V40 — scoped only to existing SEO feature section.
   V39C base + homepage styles remain unchanged; dark variables follow the site's
   explicit appearance indicators and respect manual light selection. */
:is(html[data-theme="dark"],html[data-bf-theme="dark"],html[data-appearance="dark"],html[data-bs-theme="dark"],html[data-bfsc-theme="dark"],html[data-bf-seo-theme="dark"],html[data-bf-site-theme="dark"],html[data-color-mode="dark"],html[data-mode="dark"],html[data-theme*="midnight" i],html[data-bf-theme*="midnight" i],html.dark,html.dark-mode,html.theme-dark,html.bfsc-dark,html.bf-seo-dark,body[data-theme="dark"],body[data-bf-theme="dark"],body[data-appearance="dark"],body[data-bs-theme="dark"],body[data-bfsc-theme="dark"],body[data-bf-seo-theme="dark"],body[data-bf-site-theme="dark"],body[data-color-mode="dark"],body[data-mode="dark"],body[data-theme*="midnight" i],body[data-bf-theme*="midnight" i],body.dark,body.dark-mode,body.theme-dark,body.bfsc-dark,body.bf-seo-dark,.bfsc-theme-dark,.bf-seo-theme-dark,.bfsc-dark-mode) #bf-promos-v39-seo.bf39--seo {
 --bf39-bg:#0d1b2f;
 --bf39-panel:#15283e;
 --bf39-title:#f2f8ff;
 --bf39-body:#cfdded;
 --bf39-border:#38516c;
 --bf39-link:#8ed4ff;
 --bf39-kicker:#9ad8ff;
 --bf39-media-bg:#0e2238;
 --bf39-focus:#77cdff;
 --bf39-card-shadow:0 12px 32px rgba(0,0,0,.32);
 --bf39-image-filter:brightness(.94) saturate(.96);
 color-scheme:dark;
}
/* OS-driven mode is a fallback only if no explicit light preference is present. */
@media (prefers-color-scheme:dark) {
 html:not([data-theme="light"]):not([data-bf-theme="light"]):not([data-appearance="light"]):not([data-bs-theme="light"]):not([data-bfsc-theme="light"]):not([data-bf-seo-theme="light"]):not([data-bf-site-theme="light"]):not([data-color-mode="light"]):not([data-mode="light"]):not(.light):not(.theme-light):not(.light-mode)
 body:not([data-theme="light"]):not([data-bf-theme="light"]):not([data-appearance="light"]):not([data-bs-theme="light"]):not([data-bfsc-theme="light"]):not([data-bf-seo-theme="light"]):not([data-bf-site-theme="light"]):not([data-color-mode="light"]):not([data-mode="light"]):not(.light):not(.theme-light):not(.light-mode)
 #bf-promos-v39-seo.bf39--seo {
  --bf39-bg:#0d1b2f;
  --bf39-panel:#15283e;
  --bf39-title:#f2f8ff;
  --bf39-body:#cfdded;
  --bf39-border:#38516c;
  --bf39-link:#8ed4ff;
  --bf39-kicker:#9ad8ff;
  --bf39-media-bg:#0e2238;
  --bf39-focus:#77cdff;
  --bf39-card-shadow:0 12px 32px rgba(0,0,0,.32);
  --bf39-image-filter:brightness(.94) saturate(.96);
  color-scheme:dark;
 }
}
/* Color and surface containment: other showcase styles must not force white cards,
   black text, or blue-on-dark low-contrast labels into this component. */
#bf-promos-v39-seo.bf39--seo {
 background:transparent!important;
 color:var(--bf39-title);
}
#bf-promos-v39-seo.bf39--seo .bf39-heading h2,
#bf-promos-v39-seo.bf39--seo .bf39-copy h3 {
 color:var(--bf39-title)!important;
}
#bf-promos-v39-seo.bf39--seo .bf39-copy p {
 color:var(--bf39-body)!important;
}
#bf-promos-v39-seo.bf39--seo .bf39-kicker {
 color:var(--bf39-kicker,#126caa)!important;
}
#bf-promos-v39-seo.bf39--seo .bf39-card {
 background:var(--bf39-panel)!important;
 border:1px solid var(--bf39-border)!important;
 color:var(--bf39-title);
 box-shadow:var(--bf39-card-shadow,0 10px 34px rgba(20,58,106,.075));
}
#bf-promos-v39-seo.bf39--seo .bf39-media {
 background:var(--bf39-media-bg,#e8f4ff);
}
#bf-promos-v39-seo.bf39--seo .bf39-link {
 color:var(--bf39-link)!important;
}
#bf-promos-v39-seo.bf39--seo .bf39-link:focus-visible {
 outline-color:var(--bf39-focus,#5ebcf6);
}
/* Dark-specific surface and image treatment without dimming light-mode artwork. */
#bf-promos-v39-seo.bf39--seo .bf39-media img {
 filter:var(--bf39-image-filter,none);
}
@media (prefers-reduced-motion:reduce) {
 #bf-promos-v39-seo.bf39--seo .bf39-card {transition:none;}
}

/* BF_HOME_CARDS_V4_SCOPED */
#bf-promos-v39-home.bf39--home {background:transparent !important;background-image:none !important;}
#bf-promos-v39-home .bf39-grid > .bf39-card:nth-child(1) .bf39-media {background:#deeffb url("/assets/bf-promos-v39/home-v4/interactive-content.webp") center / cover no-repeat !important;}
#bf-promos-v39-home .bf39-grid > .bf39-card:nth-child(2) .bf39-media {background:#deeffb url("/assets/bf-promos-v39/home-v4/interactive-presentations.webp") center / cover no-repeat !important;}
#bf-promos-v39-home .bf39-grid > .bf39-card:nth-child(3) .bf39-media {background:#deeffb url("/assets/bf-promos-v39/home-v4/video-editing.webp") center / cover no-repeat !important;}
#bf-promos-v39-home .bf39-grid > .bf39-card .bf39-media > img {opacity:0 !important;}
