/* Editorial pages share the public site's typography and indigo accent. */
.story-skip {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: 1rem;
  transform: translateY(-160%);
  background: #fff;
  color: var(--primary);
  padding: .7rem 1rem;
  border-radius: .4rem;
}
.story-skip:focus { transform: none; }
.story-skip:focus-visible,
:is(.blog-story, .module-prestashop-article) :focus-visible {
  outline: 3px solid #4236aa;
  outline-offset: 3px;
}
.blog-article-content[id],
.blog-article-content [id] { scroll-margin-top: 6rem; }

.blog-story .blog-hero-article {
  padding: clamp(1.25rem, 3.5vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4.5vw, 4rem);
  border-bottom: 1px solid #e2dfed;
  background: #f8f7fb;
}
.blog-story .hero-content,
.blog-story .blog-article-layout { max-width: 70rem; }
.blog-story .blog-breadcrumb {
  min-height: 44px;
  margin-bottom: clamp(.5rem, 1.4vw, 1.25rem);
  gap: .5rem;
  color: #514a73;
}
.blog-story .blog-meta {
  color: #524f60;
  font-size: .84rem;
  gap: .35rem .75rem;
  margin-bottom: 1rem;
}
.blog-story .blog-tag {
  background: none;
  padding: 0 .75rem 0 0;
  color: var(--primary);
  border-right: 1px solid #c8c3d8;
  border-radius: 0;
  font-weight: 700;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.blog-story .blog-meta > span:last-child::before { content: "·" / ""; margin-right: .75rem; }
.blog-story .hero-title {
  max-width: 27ch;
  color: #211c36;
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.blog-story .hero-description {
  max-width: 65ch;
  color: #514f5f;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  margin: 0;
}
.blog-story .blog-hero-actions { margin: 1.25rem 0 0; }
.blog-story .blog-hero-actions a { white-space: normal; text-align: center; }
.blog-story .blog-article {
  padding: clamp(1.25rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem) 4rem;
}
.blog-story .blog-article-layout { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
.blog-story .blog-article-content {
  color: #332f40;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.72;
  overflow-wrap: break-word;
}
.blog-story .blog-article-content > :first-child { margin-top: 0; }
.blog-story .blog-article-content > h2, .blog-story .blog-faq > h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.22;
  letter-spacing: -.025em;
  color: #211c36;
  text-wrap: balance;
}
.blog-story .blog-article-content > h2 { margin-top: 2.6rem; }
.story-client { display: flex; align-items: center; gap: .65rem; }
.story-client img { flex: none; }
.blog-story .blog-table { min-width: min(36rem, 100%); }
.blog-story .blog-table-wrap:has(th:nth-child(3)) .blog-table { min-width: 34rem; }
.blog-story .blog-table td { color: #42404e; }
.blog-story .blog-table th { background: #f5f4fa; }
.blog-story .blog-article-aside { position: static; min-width: 0; align-self: start; }
.blog-story .blog-article-aside:empty { display: none; }
.story-toc {
  color: #292438;
  background: #fff;
  border-radius: .65rem;
  border: 1px solid #d9d6e3;
}
.story-toc summary, .story-toc h2 {
  font-size: 1rem;
  font-weight: 700;
  padding: .85rem 1.15rem;
}
.story-toc summary { cursor: pointer; min-height: 48px; }
.story-toc summary::marker { color: var(--primary); }
.story-section-links { list-style: none; padding: 0 1.15rem .8rem; }
.story-section-links li { border-top: 1px solid #ebe9f0; }
.story-section-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 0;
  font-size: .9rem;
  line-height: 1.45;
  color: #48415f;
  overflow-wrap: anywhere;
}
.story-section-links a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: .2em; }
.story-toc-desktop { display: none; }
.story-example {
  width: 100%;
  max-width: 27rem;
  justify-self: start;
  background: #fff;
  color: #29223d;
  border: 1px solid #d9d4e5;
  border-radius: .9rem;
  box-shadow: 0 .6rem 2rem -.95rem #31225a35;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.story-offer {
  display: grid;
  grid-template-columns: minmax(5rem, 36%) 1fr;
  align-items: center;
}
.story-offer img { grid-row: 1; grid-column: 1; width: 100%; height: 100%; min-height: 8rem; max-height: 10rem; object-fit: cover; }
.story-offer figcaption { grid-row: 1; grid-column: 2; display: grid; gap: .3rem; padding: 1rem; line-height: 1.4; }
.story-example-kind { font-size: .77rem; color: var(--primary); font-weight: 600; }
.story-offer figcaption strong { font-size: clamp(1.12rem, 2vw, 1.45rem); letter-spacing: -.02em; }
.story-offer figcaption > span:last-child, .story-example dt { font-size: .84rem; color: #575163; }
.story-offer dl { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e2dfeb; }
.story-offer dl > div { display: flex; flex-direction: column; padding: .85rem 1rem; }
.story-offer dt { flex: 1; }
.story-offer dl > div + div { background: #f5f3fc; border-left: 1px solid #e2dfeb; }
.story-offer dd { margin-top: .2rem; font-size: 1.55rem; font-weight: 700; }
.story-offer dl > div:last-child dd { color: var(--primary); }
.story-discounts { padding: clamp(1.1rem, 2vw, 1.65rem); }
.story-discounts figcaption { font-size: 1.2rem; font-weight: 700; }
.story-discounts dl > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; margin-top: .8rem; gap: .2rem; }
.story-discounts dd { font-weight: 700; }
.story-discounts dl > div::after {
  content: "";
  grid-column: 1/-1;
  border-radius: .25rem;
  height: .55rem;
  background: linear-gradient(to right, var(--bar, #8279b1) var(--price-width), #eeeaf5 var(--price-width));
}
.story-discounts dl > div:last-child { --bar: var(--primary); }
@media (min-width: 56rem) {
  .blog-story .blog-article-layout { grid-template-columns: minmax(0, 47rem) minmax(15rem, 18.5rem); justify-content: space-between; column-gap: clamp(2.5rem, 6vw, 6rem); }
  .story-toc-mobile, .blog-story .blog-inline-cta { display: none; }
  .story-toc-desktop { display: block; }
  .blog-story .has-visual .hero-content { grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr); gap: clamp(2rem, 4vw, 4rem); }
  .story-example { justify-self: end; }
}
@media (max-width: 55.99rem) {
  .blog-story .blog-article-content, .blog-story .blog-article-aside,
  .story-toc-mobile { width: 100%; max-width: 46rem; margin-inline: auto; }
  .blog-story .blog-article-aside:not(:has(.blog-aside-card)) { display: none; }
}
