/* ==========================================================================
   SANTEWATCH - MASTER CSS V9 (FINAL AVEC COULEURS PARTOUT)
   ========================================================================== */

/* --- 1. VARIABLES & CONFIGURATION --- */
:root {
  --brand: #0B3A82;       /* Bleu Institutionnel */
  --brand-2: #1F6FE5;     /* Bleu Vif (CTA) */
  --accent: #17A2A5;      /* Vert-bleu */
  --ink: #111111;         /* Texte Noir */
  --muted: #6B7280;       /* Texte Gris */
  --rule: #E5E7EB;        /* Lignes */
  --panel: #F7F9FC;       /* Fonds */

  /* Couleurs Familles */
  --hp-pol: #0070c9;      /* Politique (Bleu) */
  --hp-reg: #d32f2f;      /* Réglementaire (Rouge) */
  --hp-med: #00897b;      /* Médiatique (Sarcelle) */
  --hp-inn: #7c4dff;      /* Innovation (Violet) */
  --hp-adm: #0B3A82;      /* Administration (Bleu Brand) */
  --hp-sci: #10B981;      /* Sciences (Vert) */
  --hp-adv: #F59E0B;      /* Plaidoyer (Orange) */

  /* Typographie */
  --hp-serif: "Georgia", "Times New Roman", serif;
  --hp-sans: system-ui, -apple-system, sans-serif;
}

/* Reset Images & Liens */
img { max-width: 100%; height: auto; }
a { color: var(--brand-2); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; }


/* ==========================================================================
   2. NAVIGATION & HEADER (Intact)
   ========================================================================== */
.hp-header { background: #fff; border-bottom: 1px solid #E7ECF3; }
.hp-header.et_pb_sticky { box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.hp-header .et_pb_section { padding: 8px 0 !important; }

.hp-header .et-menu li a { font-weight: 700; color: #0B1526; padding: 12px 10px; border-radius: 8px; }
.hp-header .et-menu li a:hover { background: #F2F6FF; color: #1F6FE5; }
.hp-header .et_pb_menu .et_pb_menu__menu { justify-content: center; }
.hp-header .et_pb_menu .et_pb_menu__menu > nav > ul { gap: 8px; }

.current-menu-item > a, .current_page_parent > a { background: #EEF4FF; color: #1F6FE5; }

.hp-header .et_pb_button, .hp-header a.menu-cta, .menu-item-account a {
  background: var(--brand-2) !important; color: #fff !important; border: none; 
  border-radius: 10px; padding: 10px 14px; font-weight: 800;
}

.hp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hp-logo { height: 44px; width: auto; display: block; }
.hp-name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: #0B3A82; }
.hp-brand:hover .hp-name { color: #1F6FE5; }

.nav li ul { border: 1px solid #E7ECF3; border-radius: 12px; overflow: hidden; }
.nav li ul a { padding: 10px 14px; font-weight: 600; }
.nav li ul a:hover { background: #F8FAFD; color: #1F6FE5; }

@media (max-width: 980px) {
  .hp-header .et_pb_menu__wrap { display: flex; align-items: center; justify-content: space-between; }
  .hp-header .et_pb_menu__menu { display: none; }
  .hp-header .et_mobile_nav_menu { display: flex; }
  .mobile_menu_bar:before { font-size: 28px; }
  .et_mobile_menu { border: 1px solid #E7ECF3; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.08); margin-top: 8px; }
  .et_mobile_menu li a { padding: 14px 16px; font-weight: 700; }
  .hp-name { display: none; }
  .hp-logo { height: 32px; }
}


/* ==========================================================================
   3. GRILLE DES 6 AXES (Style Original - Icones 120px)
   ========================================================================== */
.hp-axes {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px; margin-top: 18px; align-items: stretch;
}
@media (max-width: 980px) { .hp-axes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hp-axes { grid-template-columns: repeat(2, 1fr); } }

.hp-axis__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border: 1px solid var(--rule); border-radius: 16px; background: #fff; text-align: center;
  text-decoration: none; color: var(--brand);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  height: 100%;
}
.hp-axis__link:hover {
  transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.06); border-color: #d1d5db;
}
.hp-icon svg { width: 120px !important; height: 120px !important; display: block; margin: 0 auto 12px; color: currentColor; }
.hp-axis span { font-size: 18px; font-weight: 700; color: var(--ink); }

.is-politique .hp-axis__link       { color: #0EA5E9; }
.is-regulation .hp-axis__link      { color: #EF4444; }
.is-innovation-ia .hp-axis__link   { color: #6D28D9; }
.is-sciences .hp-axis__link        { color: #00897B; }
.is-plaidoyer .hp-axis__link       { color: #F59E0B; }
.is-administration .hp-axis__link  { color: #0B3A82; }


/* ==========================================================================
   4. HOME — DERNIÈRES ACTUALITÉS (Structure & CTA Originaux)
   ========================================================================== */
.hp-swiper { width: 100% !important; overflow: hidden; padding-bottom: 20px; }
.hp-swiper .swiper-wrapper { align-items: stretch; }
.hp-latest-wrap { margin-top: 8px; }

/* Grille 3 colonnes */
.hp-grid3 {
  display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);
  gap: 24px; align-items: stretch;
}
@media (max-width: 980px) { .hp-grid3 { grid-template-columns: 1fr; } }

.hp-grid3 > div:nth-child(1) {
  display: grid !important; grid-template-rows: 1fr 1fr !important; gap: 18px !important; height: 100% !important;
}
.hp-grid3 > div:nth-child(1) .hp-card--big { grid-row: 1 / span 2 !important; }

.hp-grid3 > div:nth-child(2), .hp-grid3 > div:nth-child(3) {
  display: grid !important; grid-template-rows: 1fr 1fr !important; gap: 18px !important; height: 100% !important;
}

/* Cartes */
.hp-latest-wrap .hp-card { display: flex; flex-direction: column; height: 100%; background: transparent; border: none; padding: 0; }
.hp-latest-wrap .hp-card__inner { display: flex; flex-direction: column; height: 100%; padding: 14px 0 16px 0; }
.hp-latest-wrap .hp-card .hp-btn { display: none; }

.hp-card--big { padding: 0; overflow: hidden; border-radius: 12px; }
.hp-card--big > a { position: relative; display: block; width: 100%; padding-top: 66.6667%; }
.hp-card--big > a > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }

.hp-card--sm { padding: 0; overflow: hidden; border-radius: 12px; }
.hp-card--sm .hp-card__thumb { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.hp-card--sm .hp-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typo */
.hp-latest-wrap .hp-card--sm .hp-title {
  font-family: Merriweather, Georgia, serif; font-weight: 900;
  line-height: 1.25; margin: 4px 0 6px; font-size: 1.02rem; color: var(--ink);
}
.hp-latest-wrap .hp-card--big .hp-title {
  font-family: Merriweather, Georgia, serif; font-weight: 900;
  line-height: 1.25; margin: 2px 0 6px; font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--ink);
}
.hp-latest-wrap .hp-card--textonly .hp-title { font-family: Merriweather, Georgia, serif; font-weight: 900; margin-top: 0; }

.hp-latest-wrap .hp-excerpt {
  color: #2B3440; line-height: 1.45; font-size: 0.98rem; 
  text-align: justify;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.hp-latest-wrap .hp-card--sm .hp-excerpt { -webkit-line-clamp: 3; }
.hp-latest-wrap .hp-card--big .hp-excerpt { -webkit-line-clamp: 4; }

/* --- AJOUT : BADGES COLORÉS DANS LE SWIPER --- */
.hp-latest-wrap .hp-meta { 
    font-size: 0.8rem; margin: 0 0 8px; text-transform: uppercase; 
}

.hp-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  padding: 0; margin-right: 6px; letter-spacing: .01em;
  background: none; border: none; color: var(--ink);
}
/* Point couleur */
.hp-badge::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 4px; background: currentColor;
}

/* Application des Couleurs aux Badges (Swiper) */
.hp-badge--politique        { color: var(--hp-pol) !important; }
.hp-badge--regulation,
.hp-badge--reglementaire    { color: var(--hp-reg) !important; }
.hp-badge--innovation-ia,
.hp-badge--innovation       { color: var(--hp-inn) !important; }
.hp-badge--sciences, 
.hp-badge--medical          { color: var(--hp-sci) !important; }
.hp-badge--administration   { color: var(--hp-adm) !important; }
.hp-badge--plaidoyer        { color: var(--hp-adv) !important; }
.hp-badge--mediatiques      { color: var(--hp-med) !important; }


/* CTA / FLÈCHES */
.hp-arrows { display: flex; gap: 10px; margin: 0 0 10px; justify-content: flex-end; }
.hp-arrow {
  appearance: none; border: none; cursor: pointer;
  background: #0B3A82; color: #fff; border-radius: 10px;
  padding: 0.5rem 0.65rem; font-weight: 800; line-height: 1;
  box-shadow: 0 1px 0 rgba(16,24,40,.06);
}
.hp-arrow:hover { filter: brightness(0.94); color: #fff; }

.hp-cta-row { margin-top: 14px; display: flex; gap: 10px; justify-content: flex-start; }
.hp-cta-row .hp-arrow { position: relative; top: 2px; padding: 0.6rem 1rem; font-size: 0.95rem; }

/* Bouton Ghost */
.hp-arrow.hp-ghost {
    background: #fff; color: #0B3A82; border: 1px solid #0B3A82;
}
.hp-arrow.hp-ghost:hover {
    background: #f0f7ff; color: #0B3A82;
}


/* ==========================================================================
   5. RADARS & DIGEST (STYLE NYT ÉPURÉ)
   ========================================================================== */
.hp-radar {
    display: flex; flex-direction: column; margin: 30px 0;
    font-family: var(--hp-sans); border-top: 2px solid #000;
}

.hp-radar-item, .hp-radar__item, .hp_digest_item {
    position: relative; padding: 16px 0; border-bottom: 1px solid var(--rule);
    display: flex; flex-direction: column; gap: 4px;
    background: transparent !important; 
    border-left: none !important; border-right: none !important; border-top: none !important;
    border-radius: 0 !important; box-shadow: none !important; margin: 0 !important;
}
.hp-radar-item::before, .hp-radar__item::before, .hp_digest_item::before { display: none !important; }
.hp-radar-item:hover { background: #fcfcfc !important; }

/* Méta */
.hp-radar-meta, .hp_digest_meta {
    font-size: 0.75rem; font-weight: 700; color: var(--muted);
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    line-height: 1; margin-bottom: 4px; order: -1; 
}
.hp-favicon { width: 16px; height: 16px; margin-right: 5px; vertical-align: text-bottom; border-radius: 2px; }
.hp-date { opacity: 0.8; font-weight: 400; }
.hp-score { margin-left: auto; font-size: 0.7rem; background: #f0fdf4; color: #166534; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* Titres colorés selon famille */
.hp-radar-title, .hp-radar-item h4, .hp_digest_link {
    margin: 2px 0 4px 0; font-family: var(--hp-serif); font-size: 1.15rem; 
    font-weight: 700; line-height: 1.35; color: var(--ink); text-decoration: none !important;
}
.hp-radar-title a { text-decoration: none; color: inherit; transition: color 0.2s; }

.hp--politique h4 a     { color: var(--hp-pol); }
.hp--reglementaire h4 a { color: var(--hp-reg); }
.hp--mediatiques h4 a   { color: var(--hp-med); }
.hp--innovation h4 a    { color: var(--hp-inn); }

/* Résumé */
.hp-radar-sum, .hp-excerpt {
    font-family: var(--hp-sans); font-size: 0.95rem; color: #444;
    line-height: 1.5; margin: 4px 0 0 0; max-width: 95%;
}

/* Pilules (Digest uniquement) */
.hp-pill, .hp_tag { display: none; }
.hp-radar.hp-digest .hp-pill, .hp-radar--cols-4 .hp-pill, .hp-digest .hp_tag { 
    display: inline-block !important; text-transform: uppercase; letter-spacing: 0.05em; 
    font-size: 0.7rem; color: #000; position: relative; padding-left: 12px;
}
.hp-pill::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%;
}
.hp--politique .hp-pill::before, .hp_tag--politique::before { background: var(--hp-pol); }
.hp--reglementaire .hp-pill::before, .hp_tag--reglementaire::before { background: var(--hp-reg); }
.hp--mediatiques .hp-pill::before, .hp_tag--mediatiques::before { background: var(--hp-med); }
.hp--innovation .hp-pill::before, .hp_tag--innovation::before { background: var(--hp-inn); }

/* Digest Compact */
.hp-radar.hp-digest .hp-radar-item { padding: 10px 0; border-bottom: 1px dotted var(--rule); }
.hp-radar.hp-digest .hp-radar-title { font-size: 1rem; }
.hp-radar.hp-digest .hp-radar-sum, .hp-radar.hp-digest .hp-excerpt { display: none !important; }


/* ==========================================================================
   6. BAROMÈTRES (Conservé)
   ========================================================================== */
.sw-baro-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
@media (min-width:900px){ .sw-baro-grid{ grid-template-columns:1fr 1fr } }
.sw-baro-card{ background:#fff; border:1px solid #E5E7EB; border-radius:16px; padding:18px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.sw-baro-card h3{ margin:0 0 10px; font-size:1.1rem; line-height:1.3 }

.hp-baro-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:1.25rem; margin-top:1.5rem; }
.hp-baro-card {
  flex:0 1 240px; max-width:260px; min-width:200px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  background:var(--panel); border-radius:1.1rem; border:2px solid transparent;
  padding:1.25rem 1rem; box-shadow:0 4px 12px rgba(0,0,0,.06); transition:all .25s ease;
}
.hp-baro-card:hover { transform:translateY(-3px); border-color: var(--brand-2); }
.hp-baro-icon svg { width: 64px; height: 64px; margin-bottom: 10px; display: block; }
.hp-baro-title { font-weight: 700; font-size: 1.1rem; }

.sw-baro { --gap:.5rem; --b:#e5e7eb; --muted:#6b7280; margin: 30px 0; }
.sw-baro__meta { color:var(--muted); font-size:.9rem; margin:.25rem 0 1rem; }
.sw-baro__wrap { display:grid; gap:24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 980px){ .sw-baro__wrap{grid-template-columns:1fr} }

.sw-baro__list { margin:0; padding-left:0; list-style:none; display:grid; gap:8px; }
.sw-baro__row { display:flex; justify-content:space-between; gap:12px; border-bottom:1px dotted #eee; padding-bottom:4px; }
.sw-baro__actor { font-weight:600; color: var(--ink); }
.sw-baro__nums { color:var(--muted); font-variant-numeric: tabular-nums; }
.sw-baro__chart { display:grid; gap:8px; align-content:start; }
.sw-baro__bar { display:grid; gap:2px; }
.sw-baro__barfill { height:8px; background:var(--brand-2); border-radius:4px; opacity: 0.8; }
.sw-baro__barlabel { display:flex; justify-content:space-between; font-size:.85rem; margin-top: 2px; }

/* ==========================================================================
   BARO WEEKLY PREMIUM (V2)
   ========================================================================== */

.hp-baro-wrapper{
  margin:40px 0;
  padding:28px;
  background:#fff;
  border:1px solid var(--rule);
  border-radius:18px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}

/* ===== INTRO ===== */
.hp-baro-intro{
  margin: 0 0 18px;
  color: #2B3440;
}

.hp-baro-page-title{
  font-family: var(--hp-serif);
  font-weight: 900;
  font-size: 1.85rem;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -.01em;
}

.hp-baro-window{
  font-family: var(--hp-sans);
  font-weight: 700;
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.hp-baro-lead{
  margin: 0 0 10px;
  line-height: 1.7;
  font-size: 1.02rem;
}

.hp-baro-howto{
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed #dbe3f3;
  background: #f7fbff;
  border-radius: 14px;
  color: #1f2937;
}

.hp-baro-howto p{
  margin: 0;
  line-height: 1.65;
  font-size: .95rem;
}

/* ===== HERO ===== */
.hp-baro-hero{
  display:flex;
  gap:30px;
  align-items:stretch;
  flex-wrap:wrap;
  margin-bottom:26px;
  padding:18px 0 22px;
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
}

.hp-baro-indice{
  background:var(--panel);
  border-radius:18px;
  padding:22px 26px;
  text-align:center;
  min-width:220px;
  border:1px solid #e6edf7;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.hp-baro-indice-title{
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hp-baro-indice-value{
  font-size:3rem;
  font-weight:950;
  color:var(--brand);
  line-height:1;
}

.hp-baro-indice-label{
  margin-top:8px;
  font-weight:800;
  font-size:.95rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
}

.hp-baro-meta{
  flex:1;
  font-size:.98rem;
  line-height:1.65;
  min-width: 280px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 6px;
}

.hp-baro-meta strong{ color:var(--ink); }

.hp-baro-hint{
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  margin-left: .35rem;
}

.hp-baro-evolution{
  margin-top:6px;
  font-weight:800;
}

.hp-baro-definition{
  margin-top:10px;
  font-size:.85rem;
  color:var(--muted);
}

/* ===== SECTIONS ===== */
.hp-baro-section{
  margin-top:26px;
}

.hp-baro-section h3{
  font-family: var(--hp-serif);
  font-size:1.25rem;
  margin-bottom:10px;
  border-left:4px solid var(--brand);
  padding-left:10px;
  color: var(--ink);
}

.hp-baro-sub{
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* ===== CATEGORIES ===== */
.hp-baro-categories{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px 18px;
}

.hp-baro-categories li{
  font-weight:700;
  padding:10px 12px;
  border:1px solid #f0f0f0;
  border-radius:12px;
  background:#fafafa;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.hp-baro-categories li strong{
  font-variant-numeric: tabular-nums;
}

/* ===== WEAK SIGNALS (cards) ===== */
.hp-baro-weak{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.hp-baro-weak li{
  padding:12px 14px;
  border:1px solid #f0f0f0;
  border-radius:14px;
  background:#fafafa;
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.hp-baro-weak li a{
  font-weight: 800;
  color: var(--ink);
}

.hp-baro-weak li a:hover{
  color: var(--brand-2);
  text-decoration: none;
}

.hp-baro-weak strong{
  color:var(--brand-2);
  margin-right:0;
  font-variant-numeric: tabular-nums;
  background: #eef4ff;
  border: 1px solid #dbe7ff;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .82rem;
  line-height: 1.6;
  flex: 0 0 auto;
}

.hp-baro-source{
  color:var(--muted);
  font-size:.82rem;
  margin-left:6px;
  font-weight: 700;
}

.hp-baro-empty{
  padding:14px;
  background:var(--panel);
  border-radius:12px;
  color:var(--muted);
  font-style:italic;
  border: 1px solid #e6edf7;
}

/* ===== TOP LISTS (actors / amplified / scores / hospitals) ===== */
.hp-baro-actors,
.hp-baro-amplified,
.hp-baro-topscores,
.hp-baro-hospitals{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

/* Actor rows */
.hp-baro-actors li,
.hp-baro-hospitals li{
  padding:12px 14px;
  border:1px solid #f0f0f0;
  border-radius:14px;
  background:#fafafa;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.hp-baro-actor-name,
.hp-baro-hosp-name{
  font-weight: 900;
  color: var(--ink);
}

.hp-baro-actor-count,
.hp-baro-hosp-count{
  font-weight: 800;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Amplified topics */
.hp-baro-amplified li{
  padding:12px 14px;
  border:1px solid #f0f0f0;
  border-radius:14px;
  background:#fafafa;
}

.hp-baro-amplified-title{
  font-weight: 900;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
}

.hp-baro-amplified-meta{
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}

/* Top scores list */
.hp-baro-topscores li{
  padding:12px 14px;
  border:1px solid #f0f0f0;
  border-radius:14px;
  background:#fafafa;
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.hp-baro-score{
  font-variant-numeric: tabular-nums;
  font-size:.82rem;
  padding:.15rem .55rem;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-weight:900;
  line-height: 1.5;
  flex: 0 0 auto;
}

.hp-baro-topscores a{
  font-weight: 900;
  color: var(--ink);
}

.hp-baro-topscores a:hover{
  color: var(--brand-2);
  text-decoration: none;
}

/* ===== DECRYPTAGE ===== */
.hp-baro-decrypt{
  margin-top:30px;
  padding:18px 22px;
  background:#f9fafc;
  border-radius:14px;
  border-left:5px solid var(--brand-2);
}

.hp-baro-decrypt p{
  margin:0 0 8px;
  font-size:.98rem;
  line-height:1.65;
  color: #1f2937;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hp-baro-wrapper{ padding: 18px; }
  .hp-baro-hero{ padding: 14px 0 18px; gap: 16px; }
  .hp-baro-indice{ width: 100%; min-width: 0; }
  .hp-baro-meta{ width: 100%; min-width: 0; }
}

/* ==========================================================================
   7. PAGES STANDARDS (RESTAURÉ V5)
   ========================================================================== */
.hp-article { max-width: 780px; margin: 0 auto; padding: 40px 20px; font-family: Georgia, serif; line-height: 1.6; color: #111; }
.hp-article__header { text-align: center; margin-bottom: 30px; }
.hp-article__title { font-family: Merriweather, Georgia, serif; font-size: 2.2rem; line-height: 1.2; margin-bottom: 10px; }
.hp-article__chapo { font-size: 1.25rem; color: #374151; max-width: 640px; margin: 0 auto 25px; }
.hp-article__meta { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.9rem; color: #555; }
.hp-article__media { margin: 40px 0; text-align: center; }
.hp-article__media img { width: 100%; height: auto; border-radius: 10px; }
.hp-article__media figcaption { font-size: 0.85rem; color: #666; margin-top: 6px; }
.hp-article__content p { margin-bottom: 1.2em; font-size: 1.05rem; }
.hp-article__content h2 { font-family: Merriweather, Georgia, serif; font-size: 1.4rem; margin: 1.8em 0 0.8em; }
.hp-article__content a { color: var(--brand-2); text-decoration: none; }
.hp-article__content a:hover { text-decoration: underline; }
.hp-article--politique h1 { color: #0EA5E9; }

.hp-archive { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.hp-archive__head { text-align: left; margin-bottom: 18px; }
.hp-archive__title { font-family: Merriweather, Georgia, serif; font-size: 2rem; font-weight: 800; margin: 0 0 6px; }
.hp-archive__desc { color: var(--muted); max-width: 760px; }
.hp-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media(max-width:980px){ .hp-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:560px){ .hp-archive__grid { grid-template-columns: 1fr; } }
.hp-card__thumb img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }

#footer-bottom a, .et_pb_footer_inner a { color: #fff !important; text-decoration: underline; }

.hp-btn-icon { 
    display: inline-flex; align-items: center; justify-content: center; 
    width: 38px; height: 38px; border-radius: 50%; 
    background: var(--panel); border: 1px solid #ddd; 
    color: #666; transition: .2s; margin-left: 8px; cursor: pointer;
}
.hp-btn-icon:hover { 
    background: var(--brand-2); color: #fff; border-color: var(--brand-2); 
}
.hp-btn-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================
   ALERTES ROUGES
   ========================= */

.hp-alert-red__badge,
.hp-alert-red__flag{
  display:inline-block;
  padding:.12rem .45rem;
  border-radius:999px;
  font-weight:700;
  font-size:.75rem;
  line-height:1.2;
  background:#b00020;
  color:#fff;
}

.hp-alert-red__flag{ margin-left:.35rem; }

.hp-alert-red__score{
  font-weight:800;
}

/* =========================
   BREAKING NEWS (premium bar)
   ========================= */
.hp-breaking{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  margin:18px 0 22px;
  border:1px solid var(--rule);
  border-left:6px solid #b00020;
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.hp-breaking__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.85rem;
  color:#111;
  white-space:nowrap;
}

.hp-breaking__dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#b00020;
  box-shadow:0 0 0 0 rgba(176,0,32,.45);
  animation: hpPulse 1.6s infinite;
}

@keyframes hpPulse{
  0%{ box-shadow:0 0 0 0 rgba(176,0,32,.45); }
  70%{ box-shadow:0 0 0 10px rgba(176,0,32,0); }
  100%{ box-shadow:0 0 0 0 rgba(176,0,32,0); }
}

.hp-breaking__items{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
}

.hp-breaking__link{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid #f1f5f9;
  border-radius:999px;
  background:#fbfbfb;
  color:#111;
  font-weight:700;
  max-width:100%;
}

.hp-breaking__link:hover{
  background:#fff;
  border-color:#e5e7eb;
  text-decoration:none;
}

.hp-breaking__score{
  font-variant-numeric: tabular-nums;
  font-size:.78rem;
  padding:.1rem .45rem;
  border-radius:999px;
  background:#b00020;
  color:#fff;
  font-weight:800;
}

.hp-breaking__src{
  font-size:.78rem;
  color:var(--muted);
  font-weight:700;
}

.hp-breaking__text{
  font-size:.9rem;
  font-weight:800;
  color:#111;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:70ch;
}

@media (max-width: 980px){
  .hp-breaking{
    flex-direction:column;
    align-items:flex-start;
  }
  .hp-breaking__text{ max-width:100%; white-space:normal; }
}
