/* =============================================================================
   PAGE « BLOG » — Bandeau image complet + titre en dessous
   Harmonisé avec contact-guide / realestate-guide
   ============================================================================= */

.blog-page .blog-hero .travel-hero-inner {
  display: flex;
  flex-direction: column;
}

/* Bandeau : image entière visible (non rognée) */
.blog-page .blog-hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  background: linear-gradient(160deg, #0a2463 0%, #1a3a6e 45%, #2d1b3d 100%);
  border-bottom: none;
  overflow: hidden;
}

.blog-page .blog-hero-banner img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
  animation: blogHeroImgIn 0.9s ease-out both;
}

@keyframes blogHeroImgIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.blog-page .blog-hero-banner::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #002395 0%, #ffffff 50%, #ed2939 100%);
}

/* Zone titre — sous le bandeau (fond sombre → texte clair) */
.blog-page .blog-hero .travel-hero-text {
  padding: 2rem 2.5rem 2.25rem;
  text-align: center;
  animation: blogHeroTextIn 0.85s ease-out 0.15s both;
}

@keyframes blogHeroTextIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-page .blog-hero .travel-hero-text .eyebrow {
  letter-spacing: 0.14em;
  color: #f4d58a;
}

.blog-page .blog-hero .travel-hero-text h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #f1f5f9;
}

.blog-page .blog-hero .travel-hero-text .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #e2e8f0;
}

.blog-page .blog-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.blog-page .blog-hero-badges .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

/* Statistiques — fond clair → texte sombre */
.blog-page .blog-stat {
  background: linear-gradient(145deg, #fdfbf8 0%, #ffffff 100%);
  border: 1px solid rgba(44, 95, 78, 0.2);
}

.blog-page .blog-stat .num {
  color: #2c5f4e;
}

.blog-page .blog-stat .label {
  color: #3d3834;
}

/* Filtres — inactif clair, actif sombre */
.blog-page .blog-filter-btn {
  background: linear-gradient(145deg, #fdfbf8 0%, #ffffff 100%);
  border-color: rgba(44, 95, 78, 0.22);
  color: #3d3834;
}

.blog-page .blog-filter-btn:hover {
  border-color: #2c5f4e;
  color: #14110e;
}

.blog-page .blog-filter-btn.active {
  background: linear-gradient(135deg, #2c5f4e 0%, #0b1020 100%);
  color: #f1f5f9;
  border-color: transparent;
}

/* Sommaire — fond clair */
.blog-page .toc {
  background: linear-gradient(145deg, #fdfbf8 0%, #ffffff 100%);
  border: 1px solid rgba(44, 95, 78, 0.2);
}

.blog-page .toc-head h2 {
  color: #2c5f4e;
}

.blog-page .toc-toggle {
  background: rgba(44, 95, 78, 0.08);
  border-color: rgba(44, 95, 78, 0.22);
  color: #14110e;
}

.blog-page .toc-links a {
  background: rgba(44, 95, 78, 0.08);
  border: 1px solid rgba(44, 95, 78, 0.15);
  color: #3d3834;
}

.blog-page .toc-links a:hover,
.blog-page .toc-links a:focus-visible {
  background: rgba(44, 95, 78, 0.14);
  color: #14110e;
  border-color: rgba(44, 95, 78, 0.28);
}

/* Cartes index — fond clair */
.blog-page .blog-card {
  background: linear-gradient(145deg, #fdfbf8 0%, #ffffff 100%);
  border: 1px solid rgba(44, 95, 78, 0.2);
}

.blog-page .blog-card:hover {
  border-color: rgba(44, 95, 78, 0.35);
  box-shadow: 0 12px 32px rgba(44, 95, 78, 0.12);
}

.blog-page .blog-card .bc-date {
  color: #b8703a;
}

.blog-page .blog-card h3 {
  color: #14110e;
}

.blog-page .blog-card p {
  color: #3d3834;
}

.blog-page .blog-card .bc-read {
  color: #2c5f4e;
}

/* Tags sur fond clair */
.blog-page .bc-tag.diplomatie {
  background: rgba(0, 85, 164, 0.12);
  color: #0a4080;
}

.blog-page .bc-tag.defense {
  background: rgba(178, 34, 52, 0.12);
  color: #8b1a2b;
}

.blog-page .bc-tag.economie {
  background: rgba(184, 112, 58, 0.15);
  color: #7a4a1e;
}

.blog-page .bc-tag.immigration {
  background: rgba(44, 95, 78, 0.14);
  color: #1a3d32;
}

.blog-page .bc-tag.tech {
  background: rgba(88, 28, 135, 0.12);
  color: #5b21b6;
}

.blog-page .bc-tag.culture {
  background: rgba(194, 65, 12, 0.12);
  color: #9a3412;
}

/* Articles complets — fond clair */
.blog-page .blog-post {
  background: linear-gradient(145deg, #fdfbf8 0%, #ffffff 100%);
  border: 1px solid rgba(44, 95, 78, 0.2);
}

.blog-page .blog-post-meta time {
  color: #b8703a;
}

.blog-page .blog-post h2 {
  color: #14110e;
}

.blog-page .blog-post .lead {
  color: #3d3834;
  border-left-color: #2c5f4e;
}

.blog-page .blog-post-body p {
  color: #3d3834;
}

.blog-page .blog-post-num {
  color: rgba(44, 95, 78, 0.1);
}

.blog-page .section-head h2 {
  color: #f1f5f9;
}

@media (max-width: 768px) {
  .blog-page .blog-hero .travel-hero-text {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .blog-page .blog-hero-banner img {
    max-height: min(55vh, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page .blog-hero-banner img,
  .blog-page .blog-hero .travel-hero-text {
    animation: none;
  }
}
