/* Homepage v2. Loaded after the legacy theme to provide one predictable layout. */
body.public-blog-home:not(.is-blog-route) {
  --home-ink: #12213a;
  --home-muted: #536176;
  --home-blue: #0756a6;
  --home-red: #c9253d;
  --home-yellow: #ffd84d;
  background: #f5f7fa;
  color: var(--home-ink);
}

body.public-blog-home:not(.is-blog-route) .public-page {
  gap: 0;
  padding-top: 0;
}

body.public-blog-home:not(.is-blog-route) .bdf-home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: center;
  min-height: min(700px, calc(100vh - 140px));
  overflow: hidden;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 6vw, 92px);
  color: var(--home-ink);
  background: #f7f5ef;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.public-blog-home:not(.is-blog-route) .bdf-home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 38%;
  height: 8px;
  background: var(--home-red);
}

body.public-blog-home:not(.is-blog-route) .bdf-home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #0756a6 0 33.33%, #fff 33.33% 66.66%, #c9253d 66.66%);
}

.bdf-home-hero__content { width: min(650px, 100%); }

.bdf-home-hero__eyebrow,
.bdf-home-path__label {
  margin: 0;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bdf-home-hero__eyebrow { color: var(--home-blue); }

body.public-blog-home:not(.is-blog-route) .bdf-home-hero h1 {
  margin: 10px 0 0;
  color: var(--home-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(3.1rem, 5vw, 5.8rem);
  line-height: .94;
  letter-spacing: 0;
}

.bdf-home-hero__headline {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--home-red);
  font-size: clamp(1.55rem, 2.1vw, 2.4rem);
  font-weight: 900;
  line-height: 1.08;
}

.bdf-home-hero__lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.bdf-home-hero__actions,
.bdf-home-auth__facts,
.bdf-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bdf-home-hero__actions { margin-top: 28px; }

.bdf-home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.bdf-home-action--primary {
  color: #fff;
  background: var(--home-red);
  box-shadow: 0 12px 28px rgba(201, 37, 61, .24);
}

.bdf-home-action--secondary {
  color: var(--home-ink);
  border-color: #b9c2cd;
  background: transparent;
}

.bdf-home-action--light {
  color: var(--home-ink);
  background: #fff;
}

.bdf-home-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  border-top: 1px solid #cfd4da;
}

.bdf-home-hero__metrics div { padding: 16px 16px 0 0; }
.bdf-home-hero__metrics div + div { padding-left: 16px; border-left: 1px solid #cfd4da; }
.bdf-home-hero__metrics dt { color: var(--home-ink); font-size: 1.12rem; font-weight: 950; }
.bdf-home-hero__metrics dd { margin: 4px 0 0; color: var(--home-muted); font-size: .78rem; line-height: 1.35; }

.bdf-product-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cdd3db;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 32px 70px rgba(18, 33, 58, .16);
  transform: rotate(1deg);
}

.bdf-product-preview__bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 11px 16px;
  border-bottom: 1px solid #e0e4e9;
  background: #fff;
}

.bdf-product-preview__brand { color: var(--home-blue); font-weight: 950; }
.bdf-product-preview__brand b { color: var(--home-red); }
.bdf-product-preview__level { padding: 5px 8px; border: 1px solid #b8cce2; border-radius: 4px; color: var(--home-blue); font-size: .72rem; font-weight: 950; }
.bdf-product-preview__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--home-ink); font-size: .7rem; font-weight: 900; }

.bdf-product-preview__body { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 450px; }
.bdf-product-preview__nav { display: grid; align-content: start; gap: 7px; padding: 22px 14px; color: #6a7483; background: #f3f5f7; font-size: .74rem; }
.bdf-product-preview__nav strong { padding: 9px 10px; border-left: 3px solid var(--home-red); color: var(--home-ink); background: #fff; }
.bdf-product-preview__nav span { padding: 8px 10px; }
.bdf-product-preview__main { min-width: 0; padding: clamp(22px, 3vw, 36px); background: #fafbfc; }
.bdf-product-preview__hello { margin: 0; color: var(--home-blue); font-size: .76rem; font-weight: 900; }
.bdf-product-preview__main > h2 { margin: 6px 0 20px; color: var(--home-ink); font-size: clamp(1.4rem, 2.2vw, 2rem); }
.bdf-product-preview__session { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px; border-left: 5px solid var(--home-red); background: #fff0dc; }
.bdf-product-preview__tag { color: #8c3a16; font-size: .68rem; font-weight: 950; text-transform: uppercase; }
.bdf-product-preview__session h3 { margin: 6px 0 0; color: var(--home-ink); font-size: 1.15rem; }
.bdf-product-preview__session p { margin: 5px 0 0; color: #685f58; font-size: .76rem; }
.bdf-product-preview__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--home-red); }
.bdf-product-preview__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.bdf-product-preview__stats article { min-width: 0; padding: 14px 12px; border: 1px solid #e0e4e9; background: #fff; }
.bdf-product-preview__stats span { display: block; overflow: hidden; color: #6a7483; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.bdf-product-preview__stats strong { display: block; margin-top: 6px; color: var(--home-ink); font-size: 1.05rem; }
.bdf-product-preview__stats i { display: block; height: 5px; margin-top: 9px; overflow: hidden; background: #e6e9ed; }
.bdf-product-preview__stats i::before { content: ""; display: block; width: var(--value); height: 100%; background: var(--home-blue); }
.bdf-product-preview__modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.bdf-product-preview__modules span { padding: 11px 12px; border-bottom: 2px solid #d5dbe2; color: #34435a; background: #fff; font-size: .72rem; font-weight: 850; }

body.public-blog-home:not(.is-blog-route) .bdf-home-auth {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  background: #fff;
  border-bottom: 1px solid #dde3eb;
}

.bdf-home-auth__intro h2,
.bdf-home-section-head h2,
.bdf-home-france h2 {
  margin: 7px 0 0;
  color: var(--home-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.bdf-home-auth__intro > p:not(.bdf-section-eyebrow),
.bdf-home-section-head > p,
.bdf-home-france__copy > p:not(.bdf-section-eyebrow) {
  margin: 16px 0 0;
  color: var(--home-muted);
  line-height: 1.65;
}

.bdf-home-auth__facts { margin-top: 20px; }

.bdf-home-auth__facts span {
  padding: 7px 10px;
  border-left: 3px solid var(--home-blue);
  background: #f3f7fc;
  color: #263b59;
  font-size: .86rem;
  font-weight: 850;
}

body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 18px 44px rgba(18, 33, 58, .08);
}

body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form .bdf-hero-login-head {
  display: grid;
  justify-content: start;
  gap: 3px;
}

body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form .bdf-hero-login-head strong {
  font-size: 1.18rem;
}

body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form .auth-mode-toggle button,
body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form input,
body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form .link-button {
  border-radius: 5px;
}

body.public-blog-home:not(.is-blog-route) #front-widgets:empty {
  display: none;
}

body.public-blog-home:not(.is-blog-route) .bdf-latest-section,
body.public-blog-home:not(.is-blog-route) .bdf-home-path,
body.public-blog-home:not(.is-blog-route) .bdf-home-exercise,
body.public-blog-home:not(.is-blog-route) .bdf-home-capabilities,
body.public-blog-home:not(.is-blog-route) .bdf-home-ecosystem,
body.public-blog-home:not(.is-blog-route) .bdf-home-modules,
body.public-blog-home:not(.is-blog-route) .bdf-home-learning-cycle,
body.public-blog-home:not(.is-blog-route) .bdf-home-srs {
  padding-block: clamp(56px, 7vw, 96px);
}

body.public-blog-home:not(.is-blog-route) .bdf-latest-section {
  background: #f5f7fa;
}

.bdf-home-section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.bdf-home-path__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cfd7e2;
  border-bottom: 1px solid #cfd7e2;
}

.bdf-home-path__item {
  position: relative;
  min-width: 0;
  padding: 34px clamp(22px, 3vw, 40px) 38px;
  background: #fff;
}

.bdf-home-path__item + .bdf-home-path__item { border-left: 1px solid #cfd7e2; }

.bdf-home-path__number {
  display: block;
  color: var(--home-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.bdf-home-path__label { margin-top: 16px; color: var(--home-blue); }

.bdf-home-path__item h3 {
  margin: 8px 0 0;
  color: var(--home-ink);
  font-size: 1.55rem;
}

.bdf-home-path__item > p:not(.bdf-home-path__label) {
  min-height: 76px;
  margin: 12px 0 20px;
  color: var(--home-muted);
  line-height: 1.55;
}

.bdf-home-path__item a {
  color: var(--home-blue);
  font-weight: 900;
  text-underline-offset: 4px;
}

.bdf-home-exercise { background: #10233f; color: #fff; }
.bdf-home-exercise .bdf-section-eyebrow { color: #8fc5ff; }
.bdf-home-exercise .bdf-home-section-head h2,
.bdf-home-exercise .bdf-home-section-head > p { color: #fff; }
.bdf-home-exercise .bdf-home-section-head > p { opacity: .78; }

.bdf-exercise-demo {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 230px;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: #f7f8fa;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .24);
}

.bdf-exercise-demo__rail { display: grid; align-content: center; justify-items: center; gap: 14px; padding: 18px 8px; background: #e8ecf1; }
.bdf-exercise-demo__rail span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #bec7d2; border-radius: 50%; color: #778293; font-size: .7rem; font-weight: 900; }
.bdf-exercise-demo__rail .is-done { border-color: var(--home-blue); color: #fff; background: var(--home-blue); }
.bdf-exercise-demo__rail .is-current { border: 3px solid #f0a5b0; color: #fff; background: var(--home-red); }
.bdf-exercise-demo__work { min-width: 0; padding: clamp(28px, 5vw, 68px); color: var(--home-ink); background: #fff; }
.bdf-exercise-demo__topline { display: flex; justify-content: space-between; gap: 16px; color: #697587; font-size: .76rem; font-weight: 850; }
.bdf-exercise-demo__progress { height: 7px; margin-top: 12px; overflow: hidden; background: #e5e8ec; }
.bdf-exercise-demo__progress i { display: block; width: 33.33%; height: 100%; background: var(--home-blue); }
.bdf-exercise-demo__instruction { margin: 34px 0 0; color: var(--home-blue); font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.bdf-exercise-demo__work > h3 { margin: 10px 0 24px; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.bdf-exercise-demo__answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bdf-exercise-demo__answers button { position: relative; min-height: 58px; padding: 13px 18px; border: 1px solid #cbd2db; border-radius: 5px; color: #26354b; background: #f8fafc; font: inherit; font-weight: 850; text-align: left; }
.bdf-exercise-demo__answers button.is-correct { border: 2px solid #218653; color: #155d3a; background: #eaf8f0; }
.bdf-exercise-demo__answers button span { float: right; font-size: .7rem; text-transform: uppercase; }
.bdf-exercise-demo__explanation { margin-top: 20px; padding: 18px 20px; border-left: 4px solid #218653; background: #f0f8f3; }
.bdf-exercise-demo__explanation strong { color: #155d3a; }
.bdf-exercise-demo__explanation p { margin: 7px 0; color: #3e4c5f; line-height: 1.55; }
.bdf-exercise-demo__explanation span { color: #657184; font-size: .76rem; font-weight: 800; }
.bdf-exercise-demo__context { padding: 32px 20px; color: #dce5f0; background: #1b3558; }
.bdf-exercise-demo__context > p { margin: 0 0 18px; color: #9dc9f8; font-size: .74rem; font-weight: 950; text-transform: uppercase; }
.bdf-exercise-demo__context dl { margin: 0; }
.bdf-exercise-demo__context dl div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.bdf-exercise-demo__context dt { color: #aebbc9; font-size: .72rem; }
.bdf-exercise-demo__context dd { margin: 4px 0 0; color: #fff; font-weight: 900; }

.bdf-home-capabilities { background: #fff; }

.bdf-home-capabilities__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d7dee8;
}

.bdf-home-capabilities__list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 18px;
  border-bottom: 1px solid #d7dee8;
}

.bdf-home-capabilities__list article:nth-child(odd) { border-right: 1px solid #d7dee8; }
.bdf-home-capabilities__list article > span { color: var(--home-red); font-weight: 950; }
.bdf-home-capabilities__list h3 { margin: 0; color: var(--home-ink); font-size: 1.1rem; }
.bdf-home-capabilities__list p { margin: 7px 0 0; color: var(--home-muted); line-height: 1.5; }

.bdf-home-ecosystem { background: #f7f5ef; }
.bdf-ecosystem-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.bdf-ecosystem-map__sources,
.bdf-ecosystem-map__outputs { display: grid; gap: 10px; }
.bdf-ecosystem-map article { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; padding: 18px; border: 1px solid #d6dce3; background: #fff; }
.bdf-ecosystem-map article > span { grid-row: 1 / 3; color: var(--home-blue); font-weight: 950; }
.bdf-ecosystem-map article strong { color: var(--home-ink); }
.bdf-ecosystem-map article p { margin: 4px 0 0; color: var(--home-muted); font-size: .84rem; }
.bdf-ecosystem-map__sources article::after,
.bdf-ecosystem-map__outputs article::before { content: ""; position: absolute; top: 50%; width: 18px; height: 1px; background: #9ea9b8; }
.bdf-ecosystem-map__sources article::after { right: -19px; }
.bdf-ecosystem-map__outputs article::before { left: -19px; }
.bdf-ecosystem-map__core { display: grid; align-content: center; padding: 34px 26px; color: #fff; background: var(--home-blue); text-align: center; }
.bdf-ecosystem-map__core > span { color: #d6eaff; font-size: .76rem; font-weight: 950; text-transform: uppercase; }
.bdf-ecosystem-map__core > strong { margin-top: 10px; font-size: 1.35rem; line-height: 1.25; }
.bdf-ecosystem-map__core dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; border-top: 1px solid rgba(255,255,255,.3); }
.bdf-ecosystem-map__core dl div { padding-top: 14px; }
.bdf-ecosystem-map__core dt { color: #c5dcf4; font-size: .67rem; }
.bdf-ecosystem-map__core dd { margin: 5px 0 0; font-weight: 950; }

.bdf-home-modules { background: #edf2f7; }

.bdf-home-modules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bdf-home-modules__grid article {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #d2dbe6;
  border-radius: 8px;
  background: #fff;
}

.bdf-home-modules__grid h3 { margin: 8px 0 0; color: var(--home-ink); font-size: 1.4rem; }
.bdf-home-modules__grid article > p:not(.bdf-home-path__label) { color: var(--home-muted); line-height: 1.55; }
.bdf-home-modules__grid ul { margin: 16px 0 0; padding-left: 20px; color: #33445c; line-height: 1.65; }

.bdf-home-learning-cycle {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr);
  gap: clamp(36px, 7vw, 100px);
  background: #fff;
}

.bdf-home-learning-cycle__intro h2 {
  margin: 7px 0 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.04;
}

.bdf-home-learning-cycle__intro > p:not(.bdf-section-eyebrow) { color: var(--home-muted); line-height: 1.65; }
.bdf-method-pillars { display: grid; gap: 0; margin: 24px 0 0; padding: 0; border-top: 1px solid #d7dee8; list-style: none; }
.bdf-method-pillars li { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px solid #d7dee8; }
.bdf-method-pillars strong { color: var(--home-ink); font-size: .9rem; }
.bdf-method-pillars span { color: var(--home-muted); font-size: .8rem; line-height: 1.4; }
.bdf-home-learning-cycle__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d7dee8; }
.bdf-home-learning-cycle__steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid #d7dee8; }
.bdf-home-learning-cycle__steps span { color: var(--home-blue); font-weight: 950; }
.bdf-home-learning-cycle__steps strong { color: var(--home-ink); }
.bdf-home-learning-cycle__steps p { margin: 4px 0 0; color: var(--home-muted); line-height: 1.45; }

.bdf-home-srs { background: #fff7d8; }
.bdf-home-srs__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d8c36a; border-bottom: 1px solid #d8c36a; }
.bdf-home-srs__flow article { padding: 26px 20px; }
.bdf-home-srs__flow article + article { border-left: 1px solid #d8c36a; }
.bdf-home-srs__flow span { display: block; color: #9b2440; font-size: 1.8rem; font-weight: 950; }
.bdf-home-srs__flow strong { display: block; margin-top: 9px; color: var(--home-ink); }
.bdf-home-srs__flow p { margin: 8px 0 0; color: #5f593f; line-height: 1.5; }

body.public-blog-home:not(.is-blog-route) .bdf-home-france {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .7fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px);
  color: #fff;
  background: #0d315d;
}

body.public-blog-home:not(.is-blog-route) .bdf-home-france h2,
body.public-blog-home:not(.is-blog-route) .bdf-home-france__copy > p:not(.bdf-section-eyebrow) {
  color: #fff;
}

.bdf-home-france__copy .bdf-home-action { margin-top: 24px; }

.bdf-home-france__topics {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.bdf-home-france__topics div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.bdf-home-france__topics dt { font-weight: 900; }
.bdf-home-france__topics dd { margin: 0; color: rgba(255, 255, 255, .75); }

body.public-blog-home:not(.is-blog-route) .bdf-latest-grid {
  gap: 16px;
}

body.public-blog-home:not(.is-blog-route) .bdf-article-card {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 33, 58, .07);
}

body.public-blog-home:not(.is-blog-route) .bdf-article-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 980px) {
  body.public-blog-home:not(.is-blog-route) .bdf-home-hero,
  body.public-blog-home:not(.is-blog-route) .bdf-home-auth,
  .bdf-home-section-head,
  body.public-blog-home:not(.is-blog-route) .bdf-home-france,
  .bdf-home-learning-cycle {
    grid-template-columns: 1fr;
  }

  body.public-blog-home:not(.is-blog-route) .bdf-home-auth {
    gap: 28px;
  }

  body.public-blog-home:not(.is-blog-route) .bdf-home-hero {
    min-height: 0;
    padding-block: 64px;
  }

  .bdf-product-preview { width: min(720px, 100%); transform: none; }
  .bdf-exercise-demo { grid-template-columns: 50px minmax(0, 1fr); }
  .bdf-exercise-demo__context { display: none; }
  .bdf-ecosystem-map { grid-template-columns: 1fr; }
  .bdf-ecosystem-map__sources article::after,
  .bdf-ecosystem-map__outputs article::before { display: none; }

  .bdf-home-path__grid { grid-template-columns: 1fr; }
  .bdf-home-path__item + .bdf-home-path__item {
    border-top: 1px solid #cfd7e2;
    border-left: 0;
  }
  .bdf-home-path__item > p:not(.bdf-home-path__label) { min-height: 0; }
  .bdf-home-srs__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bdf-home-srs__flow article:nth-child(3) { border-left: 0; border-top: 1px solid #d8c36a; }
  .bdf-home-srs__flow article:nth-child(4) { border-top: 1px solid #d8c36a; }
}

@media (max-width: 680px) {
  body.public-blog-home:not(.is-blog-route) .bdf-home-hero {
    min-height: 0;
    padding: 48px 18px;
  }

  body.public-blog-home:not(.is-blog-route) .bdf-home-hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .bdf-home-hero__headline { font-size: 1.3rem; }
  .bdf-home-hero__lead { font-size: .98rem; }
  .bdf-home-hero__actions { display: grid; }
  .bdf-home-action { width: 100%; }
  .bdf-home-hero__metrics { grid-template-columns: 1fr; }
  .bdf-home-hero__metrics div { padding: 12px 0; }
  .bdf-home-hero__metrics div + div { padding-left: 0; border-top: 1px solid #cfd4da; border-left: 0; }
  .bdf-product-preview__body { grid-template-columns: 1fr; min-height: 0; }
  .bdf-product-preview__nav { display: none; }
  .bdf-product-preview__main { padding: 18px 14px; }
  .bdf-product-preview__stats { grid-template-columns: 1fr; }
  .bdf-exercise-demo { grid-template-columns: 1fr; min-height: 0; }
  .bdf-exercise-demo__rail { grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px; }
  .bdf-exercise-demo__rail span { width: 26px; height: 26px; }
  .bdf-exercise-demo__work { padding: 24px 16px; }
  .bdf-exercise-demo__answers { grid-template-columns: 1fr; }
  .bdf-exercise-demo__topline { display: grid; gap: 4px; }
  .bdf-ecosystem-map__core { padding: 28px 18px; }

  body.public-blog-home:not(.is-blog-route) .bdf-home-auth,
  body.public-blog-home:not(.is-blog-route) .bdf-home-france {
    padding: 34px 18px;
  }

  body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form { padding: 18px; }
  body.public-blog-home:not(.is-blog-route) .bdf-home-auth__form .bdf-hero-login-form { grid-template-columns: 1fr; }
  .bdf-captcha-row { grid-template-columns: 1fr; }
  .bdf-login-actions { display: grid; }
  .bdf-login-actions .link-button { width: 100%; }

  body.public-blog-home:not(.is-blog-route) .bdf-latest-section,
  body.public-blog-home:not(.is-blog-route) .bdf-home-path { padding-block: 48px; }
  .bdf-home-section-head { gap: 16px; }
  .bdf-home-path__item { padding: 28px 20px 30px; }
  .bdf-home-france__topics div { grid-template-columns: 1fr; gap: 4px; }
  .bdf-home-capabilities__list,
  .bdf-home-modules__grid,
  .bdf-home-srs__flow { grid-template-columns: 1fr; }
  .bdf-home-capabilities__list article:nth-child(odd) { border-right: 0; }
  .bdf-home-srs__flow article + article,
  .bdf-home-srs__flow article:nth-child(3),
  .bdf-home-srs__flow article:nth-child(4) { border-top: 1px solid #d8c36a; border-left: 0; }
}

/* Consent remains visible without blocking the homepage or mobile navigation. */
body.public-blog-home:not(.is-blog-route).has-ads-consent-banner {
  overflow: auto !important;
}

body.public-blog-home:not(.is-blog-route) .ads-consent-banner {
  align-items: end;
  justify-content: center;
  padding: 12px;
  pointer-events: none;
}

body.public-blog-home:not(.is-blog-route) .ads-consent-banner__backdrop { display: none; }

body.public-blog-home:not(.is-blog-route) .ads-consent-banner__panel {
  width: min(760px, calc(100vw - 24px));
  max-height: min(430px, calc(100vh - 24px));
  overflow: auto;
  pointer-events: auto;
  box-shadow: 0 18px 54px rgba(18, 33, 58, .24);
}

body.public-blog-home:not(.is-blog-route).has-ads-consent-banner .public-page,
body.public-blog-home:not(.is-blog-route).has-ads-consent-banner #auth-gate {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

/* Blog categories use one shared layout in production and in the static preview. */
.home-blog-sections {
  display: grid;
  gap: 34px;
  margin-top: 0;
  padding-block: clamp(54px, 7vw, 92px);
  border-top: 1px solid #d9e0e8;
  background: #f5f7fa;
}

.home-blog-sections > .bdf-section-head {
  display: grid;
  grid-template-columns: minmax(150px, .36fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-blog-sections > .bdf-section-head h2 { margin: 0 0 8px; }
.home-blog-sections > .bdf-section-head p:not(.bdf-section-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--home-muted, #536176);
  line-height: 1.6;
}

.home-blog-menu-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.home-blog-menu-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c7d0dc;
  border-radius: 4px;
  color: #20324b;
  background: #fff;
  font-weight: 850;
  text-decoration: none;
}

.home-blog-menu-strip a:hover,
.home-blog-menu-strip a:focus-visible { border-color: #0756a6; color: #0756a6; }
.home-blog-menu-strip a:first-child { border-color: #0756a6; color: #fff; background: #0756a6; }

.home-blog-category-section {
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-blog-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #12213a;
}

.home-blog-category-head h3 { margin: 0; color: #12213a; font-size: clamp(1.35rem, 2vw, 1.9rem); }
.home-blog-category-head p { margin: 5px 0 0; color: #647084; line-height: 1.5; }
.home-blog-category-head > a { flex: 0 0 auto; color: #0756a6; font-weight: 900; text-decoration: none; }

.home-blog-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-blog-category-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d1d9e3;
  border-radius: 5px;
  background: #fff;
}

.home-blog-category-card > a {
  display: grid;
  grid-template-rows: 172px minmax(0, 1fr);
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-blog-category-card img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
  background: #e9eef4;
}

.home-blog-category-card div { display: grid; align-content: start; gap: 7px; min-width: 0; padding: 18px; }
.home-blog-category-card small { color: #0756a6; font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.home-blog-category-card h4 { margin: 0; color: #12213a; font-size: 1.08rem; line-height: 1.3; }
.home-blog-category-card p { margin: 0; color: #647084; line-height: 1.5; }

@media (max-width: 980px) {
  .home-blog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .home-blog-sections > .bdf-section-head { grid-template-columns: 1fr; gap: 12px; }
  .home-blog-menu-strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .home-blog-menu-strip a { flex: 0 0 auto; }
  .home-blog-category-head { display: grid; align-items: start; }
  .home-blog-category-grid { grid-template-columns: 1fr; }
  .home-blog-category-card > a { grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: minmax(118px, auto); }
  .home-blog-category-card img { width: 108px; height: 100%; min-height: 118px; }
  .home-blog-category-card div { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .bdf-home-action { transition: none; }
}
