.bs-proximite {
  --bp-ink: #142941;
  --bp-blue: #19499d;
  --bp-line: #cbd9e6;
  --bp-pale: #edf3fa;
  color: var(--bp-ink);
  min-width: 0;
  overflow-wrap: break-word;
}
.bs-proximite :is(h2, h3) { scroll-margin-top: 6rem; text-wrap: balance; }
.bs-proximite h2 { margin: 2.7rem 0 .8rem; }
.bs-proximite h3 { margin: 1.85rem 0 .55rem; }
.bs-proximite .bp-lead { font-size: 1.125rem; line-height: 1.65; }
.bs-proximite a { color: var(--bp-blue); text-underline-offset: .2em; }
.bs-proximite a:focus-visible { outline: 3px solid var(--bp-blue); outline-offset: 4px; }
.bs-proximite .bp-flow {
  margin: 2rem 0;
  padding: clamp(1rem, 4vw, 1.75rem);
  background: var(--bp-pale);
  border-radius: 14px;
}
.bs-proximite .bp-flow figcaption { font-weight: 700; font-size: 1.125rem; }
.bs-proximite .bp-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}
.bs-proximite .bp-flow li {
  position: relative;
  font-size: .94rem;
  line-height: 1.45;
}
.bs-proximite .bp-flow li > .bp-step {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: .65rem;
  border-radius: 50%;
  background: var(--bp-ink);
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bs-proximite .bp-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 2.65rem;
  right: -.55rem;
  top: 1.05rem;
  border-top: 1px solid #829bb6;
}
.bs-proximite .bp-flow li > :is(strong, span:not(.bp-step)) { display: block; }
.bs-proximite .bp-flow li span:not(.bp-step) { margin-top: .2rem; }
.bs-proximite .bp-table-wrap {
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  overflow: hidden;
}
.bs-proximite .bp-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.55;
  margin: 0;
}
.bs-proximite .bp-table caption { padding: .85rem 1rem; text-align: left; font-weight: 700; background: var(--bp-pale); }
.bs-proximite .bp-table :is(th, td) { padding: .85rem 1rem; text-align: left; vertical-align: top; }
.bs-proximite .bp-table thead { background: var(--bp-ink); color: #fff; }
.bs-proximite .bp-table thead th:first-child { width: 36%; }
.bs-proximite .bp-table tbody tr + tr { border-top: 1px solid var(--bp-line); }
.bs-proximite .bp-table tbody tr:nth-child(even) { background: #f6f8fb; }
.bs-proximite .bp-note {
  margin-top: 2.25rem;
  background: var(--bp-pale);
  padding: clamp(1rem, 4vw, 1.6rem);
  border-radius: 14px;
}
.bs-proximite .bp-note h3 { margin: 0; }
.bs-proximite .bp-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: 6px;
  background: var(--bp-ink);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.bs-proximite .bp-cta:hover { background: var(--bp-blue); }
.bs-proximite .bp-related { margin-top: 2.5rem; }
.bs-proximite .bp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}
.bs-proximite .bp-cards li { display: flex; min-width: 0; }
.bs-proximite .bp-cards a {
  display: block;
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  color: var(--bp-ink);
  text-decoration: none;
  font-size: .94rem;
  line-height: 1.5;
}
.bs-proximite .bp-cards a:hover { background: var(--bp-pale); border-color: #829bb6; }
.bs-proximite .bp-cards strong {
  display: block;
  color: var(--bp-blue);
  text-decoration: underline;
  text-underline-offset: .2em;
  margin-bottom: .3rem;
}
@media (max-width: 600px) {
  .bs-proximite .bp-flow ol { grid-template-columns: 1fr; gap: .9rem; }
  .bs-proximite .bp-flow li {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    column-gap: .8rem;
    align-items: center;
  }
  .bs-proximite .bp-flow li > .bp-step { grid-row: span 2; margin: 0; }
  .bs-proximite .bp-flow li span:not(.bp-step) { grid-column: 2; }
  .bs-proximite .bp-flow li:not(:last-child)::after { display: none; }
  .bs-proximite .bp-table :is(th, td) { padding: .6rem; font-size: .875rem; }
}

/* The article template also styles prose links and lists. */
body .bs-proximite a.bp-cta {
  color: #fff !important;
  text-decoration: none !important;
}
body .bs-proximite ul.bp-cards,
body .bs-proximite .bp-flow ol {
  padding-inline-start: 0 !important;
}
body .bs-proximite .bp-cards a {
  color: var(--bp-ink) !important;
  text-decoration: none !important;
}
