body.bts-blog-page::before,
body.bts-blog-single::before {
  background-image: none !important;
  background: #f0f4f8 !important;
  opacity: 0 !important;
  display: none !important;
}

body.bts-blog-page,
body.bts-blog-single {
  background: #f0f4f8 !important;
}
/**
 * Blog index (posts page) — Figma « Buy Try Share – Blog List » (node 47-325).
 * Scoped to body.bts-blog-page; tokens align with platform / compliance pages.
 */

/* -------------------------------------------------------------------------- */
/* Page shell                                                                 */
/* -------------------------------------------------------------------------- */

body.bts-blog-page .site-main--blog {
  position: relative;
  z-index: 0;
}

body.bts-blog-single .site-main--blog {
  padding-bottom: 0;
}

.blog-page {
  --blog-max: 1200px;
  /* Match about / compliance inner-page horizontal rhythm */
  --blog-gutter: 32px;
  --blog-section-y: clamp(48px, 8vw, 72px);
  --blog-radius: 14px;
  --blog-card-radius: 18px;
  --blog-muted: var(--muted, rgba(236, 243, 249, 0.74));
  --blog-line: rgba(12, 127, 218, 0.45);
  overflow-x: clip;
  color: var(--text, #f8fafc);
}

.blog-page h1,
.blog-page h2,
.blog-page h3 {
  margin: 0;
}

.blog-container {
  width: min(calc(100% - var(--blog-gutter) * 2), var(--blog-max));
  margin-inline: auto;
}

.blog-section {
  padding-block: var(--blog-section-y);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.blog-hero {
  position: relative;
  isolation: isolate;
  padding: 130px 0 var(--bts-page-hero-section-y);
  text-align: left;
}

@media (min-width: 981px) {
  .blog-hero {
    padding: 130px 0 var(--bts-page-hero-section-y);
  }
}

@media (max-width: 720px) {
  .blog-hero {
    padding-top: 88px;
  }

  .blog-page .blog-container {
    width: min(calc(100% - 28px), var(--blog-max));
  }

  .blog-divider {
    max-width: min(calc(100% - 28px), var(--blog-max));
  }
}

.blog-hero .blog-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--bts-page-hero-stack-gap);
}

.blog-hero__kicker {
  margin: 0;
  color: #fff;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
}

.blog-hero__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(1, 20, 46, 0.45);
}

@media (min-width: 981px) {
  .blog-hero__title {
    font-size: 40px;
    line-height: 50px;
  }
}

.blog-hero__lead {
  margin: 0 0 28px;
  max-width: min(52ch, 100%);
  text-align: left;
  font-size: var(--body-text-size, 16px);
  font-weight: var(--body-font-weight, 300);
  line-height: 1.65;
  color: var(--blog-muted);
}

.blog-hero__subscribe {
  margin-top: 0;
  color: #007BFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.blog-page .blog-hero-subscribe-row {
  width: min(calc(100% - var(--blog-gutter) * 2), var(--blog-max));
  margin-inline: auto;
  padding-block: clamp(12px, 2.5vw, 20px);
}

.blog-hero__subscribe:hover,
.blog-hero__subscribe:focus-visible {
  color: #4db2ff;
}

.blog-hero__subscribe:focus-visible {
  outline: 2px solid rgba(12, 131, 223, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
}

.blog-hero__subscribe-icon {
  display: flex;
  color: currentColor;
}

.blog-divider {
  max-width: min(calc(100% - var(--blog-gutter) * 2), var(--blog-max));
  margin: 0 auto;
  margin-block: 0;
}

/* -------------------------------------------------------------------------- */
/* Latest + grid                                                              */
/* -------------------------------------------------------------------------- */

.blog-latest__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
}

.blog-latest__intro {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }
}

.blog-empty {
  margin: 0;
  text-align: center;
  color: var(--blog-muted);
}

/* -------------------------------------------------------------------------- */
/* Cards                                                                      */
/* -------------------------------------------------------------------------- */

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 34px 90px rgba(0, 0, 0, 0.34));
  border-color: rgba(12, 127, 218, 0.65);
}

.blog-card__media {
  display: block;
  aspect-ratio: 585 / 353;
  overflow: hidden;
  background: rgba(8, 20, 40, 0.9);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__img--placeholder {
  display: block;
  background:
    linear-gradient(135deg, rgba(12, 131, 223, 0.25) 0%, rgba(17, 39, 71, 0.4) 50%, rgba(8, 20, 40, 0.95) 100%);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 22px 22px 24px;
}

.blog-card__cat {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #eaf4ff;
  border: 1px solid;
  border-image: linear-gradient(90deg, #0070c0 0%, #0e203a 50%, #0070c0 100%) 1;
}

.blog-card__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
  text-transform: capitalize;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.blog-card__title a:hover,
.blog-card__title a:focus-visible {
  color: #7ec8ff;
}

.blog-card__meta {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--blog-muted);
}

.blog-card__meta-sep {
  margin-inline: 6px;
  opacity: 0.7;
}

.blog-card__excerpt {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue, #0c83df);
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}

.blog-card__more:hover,
.blog-card__more:focus-visible {
  color: #4db2ff;
  gap: 12px;
}

.blog-card__more-icon {
  display: flex;
}

/* -------------------------------------------------------------------------- */
/* Pagination                                                                 */
/* -------------------------------------------------------------------------- */

.blog-pagination-wrap {
  display: flex;
  justify-content: center;
  max-width: min(calc(100% - var(--blog-gutter) * 2), var(--blog-max));
  margin: 0 auto clamp(40px, 8vw, 64px);
  padding: 18px 0;
  border-top: 1px solid rgba(12, 127, 218, 0.45);
  border-bottom: 1px solid rgba(12, 127, 218, 0.45);
}

.blog-pagination-wrap .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pagination-wrap .page-numbers li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination-wrap .page-numbers a,
.blog-pagination-wrap .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 31px;
  height: 31px;
  padding: 0 8px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.blog-pagination-wrap .page-numbers a:hover,
.blog-pagination-wrap .page-numbers a:focus-visible {
  color: #7ec8ff;
  border-color: rgba(12, 131, 223, 0.45);
}

.blog-pagination-wrap .page-numbers .current {
  color: var(--blue, #0c83df);
  background: transparent;
  border: 1px solid var(--blue, #0c83df);
  box-shadow: none;
  font-weight: 700;
}

.blog-pagination-wrap .page-numbers a.prev,
.blog-pagination-wrap .page-numbers a.next {
  border: 1px solid var(--blue, #0c83df);
  color: var(--blue, #0c83df);
  min-width: 57px;
  padding-inline: 12px;
}

.blog-pagination-wrap .page-numbers a.prev:hover,
.blog-pagination-wrap .page-numbers a.prev:focus-visible,
.blog-pagination-wrap .page-numbers a.next:hover,
.blog-pagination-wrap .page-numbers a.next:focus-visible {
  color: #7ec8ff;
  border-color: #7ec8ff;
  background: rgba(12, 131, 223, 0.12);
}

.blog-pagination-wrap .page-numbers .dots {
  min-width: auto;
  height: auto;
  padding-inline: 4px;
  color: var(--blog-muted);
  background: transparent;
  border: none;
}

.blog-pagination-wrap .blog-pagination__next-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: currentColor;
}

/* -------------------------------------------------------------------------- */
/* Stay informed                                                              */
/* -------------------------------------------------------------------------- */

.blog-newsletter {
  padding-block: 0;
}

.blog-newsletter__inner {
  position: relative;
  padding-block: clamp(32px, 6vw, 56px);
  background: transparent;
}

.blog-newsletter__panel {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(26px, 5vw, 40px);
  border-radius: var(--blog-radius);
  border: 0;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 38px rgba(3, 12, 26, 0.28);
}

.blog-newsletter__panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  border-radius: 0 var(--blog-radius) 0 0;
  pointer-events: none;
  z-index: 0;
  filter: none;
  background:
    radial-gradient(circle at top right, rgba(24, 161, 255, 0.95) 0, rgba(24, 161, 255, 0.8) 30%, rgba(24, 161, 255, 0) 62%) top right / 8px 8px no-repeat,
    linear-gradient(270deg, rgba(24, 161, 255, 0.9) 0%, rgba(24, 161, 255, 0.6) 38%, rgba(24, 161, 255, 0) 100%) top / 100% 1.5px no-repeat,
    linear-gradient(180deg, rgba(24, 161, 255, 0.9) 0%, rgba(24, 161, 255, 0.6) 38%, rgba(24, 161, 255, 0) 100%) right / 1.5px 100% no-repeat;
}

.blog-newsletter__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.5vw, 18px);
  max-width: min(48rem, 100%);
  text-align: left;
}

.blog-newsletter__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
  text-transform: capitalize;
}

.blog-newsletter__text {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  text-transform: capitalize;
}

.blog-newsletter__link {
  display: inline-block;
  margin: 4px 0 0;
  color: #007BFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.blog-newsletter__link:hover,
.blog-newsletter__link:focus-visible {
  color: #4da3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-newsletter__link:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.blog-newsletter__footer {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px;
}

/* -------------------------------------------------------------------------- */
/* Single post                                                                */
/* -------------------------------------------------------------------------- */

.blog-single__article {
  overflow-x: clip;
}

.blog-single__header {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(20px, 4vw, 32px);
  text-align: left;
}

.blog-single__header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: min(1200px, 100%);
  margin-inline: auto;
  text-align: left;
  width: 100%;
}

.blog-single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue, #0c83df);
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}

.blog-single__back:hover,
.blog-single__back:focus-visible {
  color: #7ec8ff;
  gap: 12px;
}

.blog-single__back-icon {
  display: flex;
  color: currentColor;
}

.blog-single__eyebrow {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #eaf4ff;
  background: rgba(12, 131, 223, 0.35);
  border: 1px solid rgba(12, 131, 223, 0.45);
}

.blog-single__title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.blog-single__meta {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--blog-muted);
}

.blog-single__meta-sep {
  margin-inline: 6px;
  opacity: 0.7;
}

.blog-single__divider {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.blog-single__media-wrap {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.blog-single__figure {
  margin: 0;
  border-radius: var(--blog-card-radius);
  overflow: hidden;
  border: 1px solid var(--blog-line);
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.28));
  background: rgba(8, 20, 40, 0.5);
}

.blog-single__image {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.blog-single__body-wrap {
  padding-bottom: clamp(48px, 8vw, 72px);
}

.blog-single__content {
  font-size: var(--body-text-size, 16px);
  font-weight: var(--body-font-weight, 300);
  line-height: 1.7;
  color: var(--text, #f8fafc);
}

.blog-single__content > *:first-child {
  margin-top: 0;
}

.blog-single__content > *:last-child {
  margin-bottom: 0;
}

/* H2 : taille corpo, pas de rupture visuelle pour les imports cassés */
.blog-single__content h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 0.5em;
  color: #fff;
}

/* H3/H4 : vrais sous-titres de section */
.blog-single__content h3,
.blog-single__content h4 {
  margin: 1.5em 0 0.65em;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.blog-single__content h3 {
  font-size: clamp(18px, 2.2vw, 22px);
}

.blog-single__content h4 {
  font-size: 16px;
}

.blog-single__content p {
  margin: 0 0 1.15em;
}

.blog-single__content a {
  color: var(--blue, #0c83df);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-single__content a:hover,
.blog-single__content a:focus-visible {
  color: #7ec8ff;
}

.blog-single__content ul,
.blog-single__content ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
}

.blog-single__content li {
  margin-bottom: 0.45em;
}

.blog-single__content blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 4px solid rgba(12, 131, 223, 0.65);
  background: rgba(12, 131, 223, 0.12);
  border-radius: 0 var(--blog-radius) var(--blog-radius) 0;
  font-style: italic;
  color: var(--blog-muted);
}

.blog-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-single__body-wrap .alignwide,
.blog-single__body-wrap .alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.blog-single__page-links {
  margin: 2em 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--blog-line);
  font-size: 15px;
  color: var(--blog-muted);
}

.blog-single__page-links-label {
  font-weight: 600;
  color: #fff;
  margin-right: 8px;
}

.blog-single__tags {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--blog-line);
}

.blog-single__tags-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.blog-single__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-single__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #eaf4ff;
  background: rgba(17, 39, 71, 0.72);
  border: 1px solid var(--blog-line);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.blog-single__tag:hover,
.blog-single__tag:focus-visible {
  border-color: rgba(12, 131, 223, 0.65);
  background: rgba(12, 131, 223, 0.2);
}

.blog-single__post-nav {
  padding: clamp(24px, 4vw, 40px) 0;
}

.blog-single__post-nav-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .blog-single__post-nav-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .blog-single__post-nav-inner--one {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .blog-single__post-nav-inner--one .blog-single__adj--next {
    margin-left: auto;
    text-align: right;
  }
}

.blog-single__adj {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.blog-single__adj:not(.blog-single__adj--empty):hover,
.blog-single__adj:not(.blog-single__adj--empty):focus-visible {
  border-color: rgba(12, 131, 223, 0.55);
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.28));
  transform: translateY(-2px);
}

.blog-single__adj--next {
  text-align: right;
}

@media (max-width: 639px) {
  .blog-single__adj--next {
    text-align: left;
  }
}

.blog-single__adj-label {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: var(--blue, #0c83df);
}

.blog-single__adj-arrow {
  font-size: 36px;
  line-height: 1;
  font-weight: 300;
  color: var(--blue, #0c83df);
}

/* -------------------------------------------------------------------------- */
/* Related posts (single)                                                     */
/* -------------------------------------------------------------------------- */

.blog-single__related {
  padding-top: 0;
  padding-bottom: clamp(24px, 4vw, 38px);
}

.blog-single__related-title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  text-transform: capitalize;
  margin-bottom: 24px !important;
}

.blog-single__related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .blog-single__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

.blog-single__related-grid .blog-card {
  border-radius: 10px;
}