/* bp-core — présentation des types d'articles de blog */
.bp-hero-narrow .wp-block-post-featured-image { max-width: 42rem; margin-inline: auto; }
.bp-hero-wide .wp-block-post-featured-image { max-width: var(--bp-page-width, 1200px); margin-inline: auto; }
.bp-hero-full .wp-block-post-featured-image { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.bp-no-date .wp-block-post-date, .bp-no-author .wp-block-post-author, .bp-no-author .wp-block-post-author-name { display: none; }
.bp-share { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.bp-share a { text-decoration: underline; }
.bp-conv { margin: 2.5rem 0; padding: 1.5rem; border-radius: var(--bp-card-radius, 8px); background: color-mix(in srgb, var(--bp-scheme-1-bg, #fff) 94%, #000); }
.bp-conv--strong { border: 2px solid var(--bp-scheme-1-button, currentColor); }
.bp-conv__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; padding: 0; margin: 1rem 0 0; }
.bp-conv__name { display: block; font-weight: 600; margin-top: .4rem; }
.bp-conv__cta { display: inline-block; padding: .7rem 1.2rem; background: var(--bp-scheme-1-button, #1a1f4d); color: var(--bp-scheme-1-button-text, #fff); border-radius: var(--bp-btn-radius, 0); text-decoration: none; }
/* format BD (type « story ») */
.bp-bd { counter-reset: bp-panel; }
.bp-bd.bp-bd-numbers :is(figure, .wp-block-image)::before { counter-increment: bp-panel; content: counter(bp-panel); position: absolute; top: .4rem; left: .4rem; background: #000; color: #fff; padding: 0 .45rem; font-weight: 700; }
.bp-bd :is(figure, .wp-block-image) { position: relative; margin: 0; }
.bp-bd-frame-bold :is(figure, .wp-block-image) img { border: 4px solid #000; }
.bp-bd-frame-thin :is(figure, .wp-block-image) img { border: 1px solid #000; }
.bp-bd-gap-s { --bp-bd-gap: .5rem; } .bp-bd-gap-m { --bp-bd-gap: 1rem; } .bp-bd-gap-l { --bp-bd-gap: 2rem; }
.bp-bd--classic .wp-block-gallery, .bp-bd--manga .wp-block-gallery { display: grid; gap: var(--bp-bd-gap, 1rem); grid-template-columns: repeat(2, 1fr); }
.bp-bd--manga .wp-block-gallery { direction: rtl; }
.bp-bd--cinema :is(figure, .wp-block-image) { margin-bottom: var(--bp-bd-gap, 1rem); }

/* ---- types d'article (mêmes largeurs de colonne que papapattes.fr) ---- */
.bp-article { --bp-line: 3px; --bp-ink: var(--bp-s-ink, #1a1f4d); max-width: 780px; margin-inline: auto; line-height: 1.75; }
.bp-article--commerce { max-width: 960px; } .bp-article--story { max-width: 860px; line-height: 1.9; } .bp-article--social { max-width: 720px; }
.bp-article--news { max-width: 820px; } .bp-article--inspiration { max-width: 940px; } .bp-article.bp-bd--panels { max-width: 1120px; }
.bp-article img { max-width: 100%; height: auto; }
.bp-article--social > p:first-of-type, .bp-article--social blockquote { font-size: clamp(20px, 3.4vw, 32px); line-height: 1.25; font-weight: 700; text-align: center; margin-inline: auto; }
.bp-article h2 { margin-top: 2.2em; }
.bp-article .pp-scene { margin: 2.5rem auto; } .bp-article .pp-scene img { display: block; width: 100%; }
.bp-article .pp-scene figcaption, .bp-panel__media figcaption { font-size: 12px; font-style: italic; opacity: .7; padding: 6px 12px 0; }
.bp-article :is(.papapattes-callout, .papapattes-checklist, .papapattes-faq, .papapattes-comparison, .papapattes-sources) { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid currentColor; background: color-mix(in srgb, currentColor 5%, transparent); }
.bp-article .papapattes-cta { margin: 2rem 0; padding: 1.4rem; text-align: center; border-radius: 12px; background: color-mix(in srgb, currentColor 6%, transparent); }
.bp-article .papapattes-product-grid, .bp-article .papapattes-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.bp-article .papapattes-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.bp-article.bp-bd--panels .papapattes-gallery { display: none; }
.bp-article .pp-dialogue { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-weight: 600; line-height: 1.45; }
.bp-article .pp-picto { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 26px; line-height: 1; border-radius: 50%; background: color-mix(in srgb, currentColor 8%, transparent); }
/* ---- planche de BD ---- */
.bp-bd__intro, .bp-bd__prose { max-width: 780px; margin: 0 auto 36px; font-size: 1.08em; line-height: 1.9; min-width: 0; overflow-wrap: break-word; }
.bp-bd-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--bp-bd-gap, 24px); align-items: stretch; margin-bottom: 36px; }
.bp-bd-gap-s .bp-bd-grid { --bp-bd-gap: 12px; } .bp-bd-gap-l .bp-bd-grid { --bp-bd-gap: 40px; }
.bp-bd-frame-thin { --bp-line: 1px; } .bp-bd-frame-none { --bp-line: 0px; }
.bp-panel { position: relative; display: flex; flex-direction: column; grid-column: span 6; min-width: 0; background: #fff; border: var(--bp-line) solid var(--bp-ink); overflow: hidden; }
.bp-bd-frame-bold .bp-panel { box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.bp-panel--xl { grid-column: span 12; } .bp-panel--l { grid-column: span 8; } .bp-panel--m { grid-column: span 6; } .bp-panel--s { grid-column: span 4; }
.bp-panel__media { position: relative; margin: 0; flex: 1 1 auto; display: flex; flex-direction: column; border: 0; }
.bp-bd--panels .bp-panel__media img { display: block; width: 100%; height: 100%; flex: 1 1 auto; object-fit: cover; margin: 0; border: 0; aspect-ratio: 4/3; }
.bp-panel--xl .bp-panel__media img { aspect-ratio: 21/9; } .bp-panel--l .bp-panel__media img { aspect-ratio: 16/10; } .bp-panel--s .bp-panel__media img { aspect-ratio: 1/1; }
.bp-panel__text { padding: 16px 20px; font-size: 15px; line-height: 1.65; }
.bp-panel__text > :first-child { margin-top: 0; } .bp-panel__text > :last-child { margin-bottom: 0; }
.bp-panel__text :is(h2, h3) { margin: 0 0 8px; font-size: 19px; line-height: 1.2; }
.bp-panel--bottom .bp-panel__media + .bp-panel__text { border-top: var(--bp-line) solid var(--bp-ink); }
.bp-panel__text--top { border-bottom: var(--bp-line) solid var(--bp-ink); padding-top: 48px; }
.bp-panel__num { position: absolute; z-index: 2; top: 0; left: 0; min-width: 36px; height: 36px; padding: 0 8px; display: flex; align-items: center; justify-content: center; background: var(--bp-ink); color: #fff; font-weight: 700; font-size: 16px; }
@media (max-width: 989px) { .bp-panel--l, .bp-panel--m { grid-column: span 12; } .bp-panel--s { grid-column: span 6; } }
@media (max-width: 749px) {
  .bp-bd-grid { grid-template-columns: minmax(0, 1fr); --bp-bd-gap: 22px; --bp-line: 2px; }
  .bp-panel, .bp-panel--s { grid-column: 1 / -1; width: 100%; }
  .bp-bd-grid > .bp-panel:nth-of-type(4n+2) { width: 90%; justify-self: end; } .bp-bd-grid > .bp-panel:nth-of-type(4n+4) { width: 90%; justify-self: start; }
  .bp-panel__text { padding: 12px 14px; font-size: 14px; } .bp-panel__text--top { padding-top: 42px; }
  .bp-panel__num { min-width: 30px; height: 30px; font-size: 14px; }
  .bp-panel--xl .bp-panel__media img { aspect-ratio: 16/10; } .bp-panel--s .bp-panel__media img { aspect-ratio: 1/1; }
}
/* ---- fil d'Ariane ---- */
.bp-bc { max-width: 1200px; margin: 0 auto; padding: 14px 16px 6px; }
.bp-bc .pp-breadcrumbs__list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.bp-bc .pp-breadcrumbs__item:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .55; }
.bp-bc a { text-decoration: none; opacity: .75; } .bp-bc a:hover { opacity: 1; text-decoration: underline; }
.bp-bc .pp-breadcrumbs__current { font-weight: 700; }
/* ---- menu du blog et pastilles de type ---- */
.bp-blog-menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.bp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .15); text-decoration: none; font-size: 14px; font-weight: 600; background: #fff; color: inherit; }
.bp-chip span { font-size: 12px; padding: 0 7px; border-radius: 999px; background: rgba(0, 0, 0, .08); }
.bp-chip.is-active { background: #1a1f4d; border-color: #1a1f4d; color: #fff; } .bp-chip.is-active span { background: rgba(255, 255, 255, .22); }
.bp-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: #1a1f4d; }
.bp-badge--story { background: #d4570f; } .bp-badge--guide { background: #1f8f5f; } .bp-badge--commerce { background: #2f5fd0; }
.bp-badge--news { background: #8a3fb3; } .bp-badge--inspiration { background: #c2417e; } .bp-badge--social { background: #0f8b9a; }
.pp-hs__post-img { position: relative; }
