/**
 * Blog / AdTrust — fond dark conservé, cards blanches, texte lisible
 */

/* ── Hero : texte lisible sur fond dark ───────────────────── */
body.bts-blog-page .blog-hero__title {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(1,20,46,0.45) !important;
}

body.bts-blog-page .blog-hero__kicker {
  color: rgba(236, 243, 249, 0.85) !important;
}

body.bts-blog-page .blog-hero__subscribe {
  color: #4db2ff !important;
}

body.bts-blog-page .blog-latest__title {
  color: #ffffff !important;
}

body.bts-blog-page .blog-latest__intro {
  color: rgba(236, 243, 249, 0.85) !important;
}

/* ── Cards blanches ────────────────────────────────────────── */
body.bts-blog-page .blog-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d9e2ec;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
  overflow: hidden;
}

body.bts-blog-page .blog-card:hover {
  box-shadow: 0 8px 28px rgba(16, 42, 67, 0.12);
  border-color: #0c83df;
  transform: translateY(-3px);
}

body.bts-blog-page .blog-card__title {
  color: #102a43 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
}

body.bts-blog-page .blog-card__title a { color: #102a43 !important; }
body.bts-blog-page .blog-card__title a:hover { color: #0c83df !important; }
body.bts-blog-page .blog-card__excerpt { color: #486581 !important; }
body.bts-blog-page .blog-card__meta { color: #627d98 !important; }

body.bts-blog-page .blog-card__cat {
  color: #0c83df !important;
  border-image: none !important;
  border: 1px solid #b3d4f0 !important;
  border-radius: 999px !important;
  background: #e8f4fd !important;
}

body.bts-blog-page .blog-card__more { color: #0c83df !important; }
body.bts-blog-page .blog-card__more:hover { color: #0868b3 !important; }
body.bts-blog-page .blog-card__img--placeholder {
  background: linear-gradient(135deg, #d9e8f5 0%, #e8f0f8 100%) !important;
}

/* ── Pagination ────────────────────────────────────────────── */
body.bts-blog-page .blog-pagination-wrap .page-numbers a,
body.bts-blog-page .blog-pagination-wrap .page-numbers span { color: #ffffff !important; }
body.bts-blog-page .blog-pagination-wrap .page-numbers .current { color: #0c83df !important; border-color: #0c83df !important; }

/* ── Single article ────────────────────────────────────────── */
body.bts-blog-single .blog-single__title { color: #ffffff !important; }
body.bts-blog-single .blog-single__meta { color: rgba(236, 243, 249, 0.65) !important; }
body.bts-blog-single .blog-single__content { color: rgba(236, 243, 249, 0.9) !important; }
body.bts-blog-single .blog-single__content h2,
body.bts-blog-single .blog-single__content h3,
body.bts-blog-single .blog-single__content h4 { color: #ffffff !important; }
body.bts-blog-single .blog-single__content p { color: rgba(236, 243, 249, 0.85) !important; line-height: 1.8 !important; }
body.bts-blog-single .blog-single__content a { color: #4db2ff !important; }
body.bts-blog-single .blog-single__content strong { color: #ffffff !important; }
body.bts-blog-single .blog-single__content blockquote { background: rgba(12,131,223,0.12) !important; border-left-color: #0c83df !important; color: rgba(236,243,249,0.8) !important; }

/* ── Related cards blanches ────────────────────────────────── */
body.bts-blog-single .blog-single__related-grid .blog-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
}
body.bts-blog-page .site-header__cta {
  background: linear-gradient(180deg, rgba(236,243,249,0.98) 0%, rgba(224,233,242,0.96) 100%) !important;
  color: #050e1a !important;
  border-color: rgba(236,243,249,0.42) !important;
}

/* ========================================================================== */
/* AdTrust HUB — hero éditorial, topic pills, featured                        */
/* ========================================================================== */

/* --- Hero éditorial --- */
.adtrust-hero {
  padding: 130px 0 80px;
  text-align: left;
}
@media (max-width: 768px) {
  .adtrust-hero {
    padding: clamp(64px, 14vw, 110px) 0 clamp(40px, 8vw, 70px);
  }
}
.adtrust-hero__brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue, #0c83df);
  margin: 0 0 18px;
}
.adtrust-hero__brand-by {
  color: rgba(7, 22, 40, 0.55);
  font-weight: 600;
}
.adtrust-hero__signature {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  color: #071628;
  margin: 0 0 28px;
  max-width: 18ch;
}
@media (max-width: 600px) {
  .adtrust-hero__signature {
    font-size: clamp(32px, 8vw, 44px);
  }
}
.adtrust-hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(7, 22, 40, 0.72);
  max-width: 100%;
  white-space: normal;
  margin: 24px 0 40px;
}
@media (min-width: 980px) {
  .adtrust-hero__sub {
    white-space: nowrap;
  }
}
.adtrust-hero__subscribe {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue, #0c83df);
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 131, 223, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.adtrust-hero__subscribe:hover,
.adtrust-hero__subscribe:focus-visible {
  border-color: var(--blue, #0c83df);
}

/* --- Topic pills (non cliquables en V1) --- */
.adtrust-topics {
  padding: clamp(16px, 2.5vw, 32px) 0 clamp(48px, 6vw, 80px);
}
.adtrust-topics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .adtrust-topics__list {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 12px 12px;
    justify-content: start;
  }
}
.adtrust-topics__item {
  margin: 0;
  padding: 0;
}
.adtrust-topics__pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(7, 22, 40, 0.78);
  background: #ffffff;
  border: 1px solid rgba(12, 131, 223, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}

/* --- Featured (Editor's pick) --- */
.adtrust-featured {
  padding: clamp(24px, 3vw, 40px) 0;
}
.adtrust-featured__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid rgba(12, 131, 223, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(7, 22, 40, 0.06);
}
@media (min-width: 860px) {
  .adtrust-featured__card {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
}
.adtrust-featured__media {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.adtrust-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.adtrust-featured__img--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, #e3edf6, #d2e2f1);
}
.adtrust-featured__body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adtrust-featured__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #0c83df);
}
.adtrust-featured__cat {
  font-size: 13px;
  font-weight: 600;
  color: rgba(7, 22, 40, 0.6);
}
.adtrust-featured__title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.18;
  font-weight: 800;
  margin: 0;
}
.adtrust-featured__title a {
  color: #071628;
  text-decoration: none;
}
.adtrust-featured__title a:hover {
  color: var(--blue, #0c83df);
}
.adtrust-featured__meta {
  font-size: 14px;
  color: rgba(7, 22, 40, 0.55);
  margin: 0;
}
.adtrust-featured__excerpt {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(7, 22, 40, 0.78);
  margin: 0;
}
.adtrust-featured__more {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue, #0c83df);
  text-decoration: none;
}
.adtrust-featured__more:hover {
  text-decoration: underline;
}

/* --- Titres de cartes : respecter la casse réelle --- */
.blog-card__title,
.blog-card__title a {
  text-transform: none !important;
}

/* --- Pagination : flèches next/prev visibles sur fond clair (bleu) --- */
body.bts-blog-page .blog-pagination-wrap .page-numbers a.next,
body.bts-blog-page .blog-pagination-wrap .page-numbers a.prev,
body.bts-blog-page .blog-pagination-wrap .page-numbers a.next span,
body.bts-blog-page .blog-pagination-wrap .page-numbers a.prev span,
body.bts-blog-page .blog-pagination-wrap .blog-pagination__next-icon {
  color: #0c83df !important;
}
body.bts-blog-page .blog-pagination-wrap .page-numbers a.next:hover,
body.bts-blog-page .blog-pagination-wrap .page-numbers a.next:hover span,
body.bts-blog-page .blog-pagination-wrap .page-numbers a.prev:hover,
body.bts-blog-page .blog-pagination-wrap .page-numbers a.prev:hover span {
  color: #0868b3 !important;
}

/* --- Newsletter : respecter la casse réelle (pas de Majuscule À Chaque Mot) --- */
.blog-newsletter__title,
.blog-newsletter__text {
  text-transform: none !important;
}