/*
Theme Name: UA Journal Pro
Theme URI: https://universelactu.com
Author: Universel Actu
Description: Thème journal numérique premium multilingue FR/EN/ES/HT.
Version: 5.0.0
Requires at least: 6.2
License: GNU General Public License v2 or later
Text Domain: ua
Tags: news, newspaper, digital, magazine, multilingual, responsive
*/

/* ════════════════════════════════════════
   VARIABLES
════════════════════════════════════════ */
:root {
  --nv:   #1438A4;
  --nv2:  #0D2578;
  --nvl:  #EEF2FF;
  --rd:   #DC1F1F;
  --gd:   #C8A84B;
  --k:    #0F1728;
  --k2:   #2D3748;
  --k3:   #64748B;
  --k4:   #E2E8F0;
  --bg:   #F1F3F9;
  --w:    #fff;
  --sh:   0 2px 16px rgba(15,23,40,.07);
  --rad:  12px;
  --sf:  'Playfair Display', Georgia, serif;
  --ss:  'Inter', system-ui, sans-serif;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--ss);
  background: var(--bg);
  color: var(--k);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--ss); }

#ua-rp {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--nv), var(--rd));
  z-index: 9999; pointer-events: none; transition: width .1s linear;
}

@keyframes ua-blink { 0%,100%{opacity:1} 50%{opacity:.12} }
@keyframes ua-tick   { from{transform:translateX(100%)} to{transform:translateX(-100%)} }
@keyframes ua-fadein { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* ════════════════════════════════════════
   TOP STRIP
════════════════════════════════════════ */
.ua-ts { background: var(--nv2); padding: 6px 0; }
.ua-ts-i {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.ua-tpill {
  background: var(--rd); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 2px;
  white-space: nowrap; display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.ua-tdot { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: ua-blink 1.3s ease-in-out infinite; }
.ua-ticker { overflow: hidden; font-size: 11px; color: rgba(255,255,255,.55); white-space: nowrap; flex: 1; }
.ua-ticker-run { display: inline-block; animation: ua-tick 44s linear infinite; }
.ua-ts-meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ua-ts-time  { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.ua-ts-date  { font-size: 11px; font-weight: 500; color: #fff; }
.ua-ts-temp  { font-size: 11px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 4px; }
.ua-ts-sep   { color: rgba(255,255,255,.38); font-size: 12px; }
.ua-lsw { display: flex; gap: 2px; }
.ua-lb {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.5);
  background: none; border: 1px solid transparent;
  padding: 2px 8px; border-radius: 3px; cursor: pointer; transition: all .15s;
}
.ua-lb.on     { color: #fff; background: var(--rd); border-color: var(--rd); }
.ua-lb:hover:not(.on) { color: #fff; background: rgba(255,255,255,.12); }

/* ════════════════════════════════════════
   MASTHEAD
════════════════════════════════════════ */
.ua-mh {
  background: var(--w); border-bottom: 1px solid var(--k4);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 12px rgba(15,23,40,.06);
}
.ua-mh-i {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 14px; height: 60px;
}
.ua-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.ua-logo  { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.ua-site-name { font-family: var(--sf); font-size: 19px; font-weight: 800; color: var(--nv); letter-spacing: -.01em; line-height: 1; }
.ua-site-tag  { font-size: 8px; color: var(--k3); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.ua-mhdiv { width: 1px; height: 28px; background: var(--k4); flex-shrink: 0; }
.ua-nav { flex: 1; display: flex; align-items: center; gap: 2px; }
.ua-na {
  font-size: 12.5px; font-weight: 500; color: var(--k2);
  padding: 5px 11px; border-radius: 6px; transition: all .13s; white-space: nowrap;
}
.ua-na:hover, .ua-na.on { color: var(--nv); background: var(--nvl); }
.ua-na.on { font-weight: 600; }
.ua-mh-r { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
.ua-ibtn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--k4); background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--k3); font-size: 14px; cursor: pointer; transition: all .13s; position: relative;
}
.ua-ibtn:hover { background: var(--nvl); color: var(--nv); border-color: transparent; }
.ua-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--rd); color: #fff;
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
#ua-rbtn-h { width: auto; padding: 0 10px; gap: 5px; }
.ua-radio-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rd); display: none; flex-shrink: 0;
  animation: ua-blink 1s ease-in-out infinite;
}
.ua-radio-live-dot.on { display: inline-block; }

/* ════════════════════════════════════════
   HAMBURGER
════════════════════════════════════════ */
.ua-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--k4);
  padding: 0; cursor: pointer; border-radius: 8px;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .13s;
}
.ua-hamburger:hover { background: var(--nvl); }
.ua-hamburger span { display: block; width: 18px; height: 2px; background: var(--k2); border-radius: 2px; transition: all .25s; }
.ua-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ua-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ua-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════ */
.ua-mobile-nav {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--w); border-bottom: 3px solid var(--nv);
  box-shadow: 0 8px 32px rgba(15,23,40,.15);
  z-index: 199; padding: 10px 14px 16px;
  flex-direction: column; gap: 2px;
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.ua-mobile-nav.open { display: flex; }
.ua-mobile-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; font-size: 14px; font-weight: 500;
  color: var(--k2); border-radius: 8px; transition: all .13s;
  border-bottom: 1px solid var(--k4);
}
.ua-mobile-nav a:last-of-type { border-bottom: none; }
.ua-mobile-nav a:hover, .ua-mobile-nav a.on { background: var(--nvl); color: var(--nv); font-weight: 600; }
.ua-mobile-radio {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-top: 2px solid var(--k4);
  margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--k2);
}

/* ════════════════════════════════════════
   MEDIA BAR (radio)
════════════════════════════════════════ */
.ua-mbar { background: var(--nv2); padding: 7px 0; }
.ua-mbar-i { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
.ua-radio {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: 6px 16px;
}
.ua-radio-ic { color: #fff; font-size: 16px; flex-shrink: 0; }
.ua-radio-lbl { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ua-radio-name { font-size: 12px; font-weight: 600; color: #fff; }
.ua-radio-ctrls { display: flex; align-items: center; gap: 6px; }
.ua-rbt {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .13s;
}
.ua-rbt:hover { background: rgba(255,255,255,.25); }
.ua-rbt.pl { background: var(--rd); border-color: var(--rd); }
.ua-rvol { width: 70px; accent-color: #fff; cursor: pointer; }

/* ════════════════════════════════════════
   HERO — MODERNE
   Layout: grande image à gauche + colonne droite
════════════════════════════════════════ */
.ua-hero { max-width: 1280px; margin: 24px auto 0; padding: 0 20px; }

.ua-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  min-height: 540px;
}

/* Article principal */
.ua-hfeat {
  position: relative; border-radius: 16px;
  overflow: hidden; display: block;
  text-decoration: none; min-height: 540px;
  background: var(--k);
}
.ua-hfeat-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .65s ease;
}
.ua-hfeat:hover .ua-hfeat-img { transform: scale(1.04); }
.ua-hveil {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,8,20,.96) 0%,
    rgba(4,8,20,.6)  38%,
    rgba(4,8,20,.15) 65%,
    transparent 100%
  );
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px 26px;
}
.ua-hcat {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--rd); margin-bottom: 10px;
  display: flex; align-items: center; gap: 5px;
}
.ua-hcat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rd); animation: ua-blink 1.3s ease-in-out infinite; }
.ua-httl {
  font-family: var(--sf);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800; color: #fff;
  line-height: 1.22; margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.ua-hby { display: flex; align-items: center; gap: 12px; font-size: 11px; color: rgba(255,255,255,.52); flex-wrap: wrap; }
.ua-hby b { color: rgba(255,255,255,.88); font-weight: 500; }

/* Colonne droite — 2 cartes empilées */
.ua-hstack { display: flex; flex-direction: column; gap: 14px; }
.ua-hstack-card {
  position: relative; border-radius: 14px;
  overflow: hidden; flex: 1; display: block;
  text-decoration: none; background: var(--k);
  min-height: 254px;
}
.ua-hstack-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .5s ease;
}
.ua-hstack-card:hover .ua-hstack-img { transform: scale(1.06); }
.ua-hstack-veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,8,20,.93) 0%,
    rgba(4,8,20,.35) 55%,
    transparent 80%
  );
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 18px 16px;
}
.ua-hstack-ttl {
  font-family: var(--sf);
  font-size: clamp(.92rem, 1.2vw, 1.06rem);
  font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 6px;
}
.ua-hstack-meta { font-size: 10.5px; color: rgba(255,255,255,.52); }
.ua-hstack-meta b { color: rgba(255,255,255,.82); }
.ua-prem-badge {
  background: rgba(200,168,75,.22); color: var(--gd);
  padding: 2px 7px; border-radius: 2px; font-size: 9px; margin-left: 6px;
}

/* ════════════════════════════════════════
   FLASH BANNER
════════════════════════════════════════ */
.ua-flash { background: var(--rd); padding: 9px 0; margin-top: 20px; }
.ua-flash-i { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; }
.ua-flash-tag { background: rgba(0,0,0,.2); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; white-space: nowrap; flex-shrink: 0; }
.ua-flash-txt { font-size: 12px; font-weight: 600; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ════════════════════════════════════════
   CONTENT LAYOUT
════════════════════════════════════════ */
.ua-wrap { max-width: 1280px; margin: 28px auto 0; padding: 0 20px 64px; }
.ua-main-grid { display: grid; grid-template-columns: 1fr 280px; gap: 28px; }

.ua-sec-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ua-sec-line { width: 3px; height: 20px; background: var(--rd); border-radius: 2px; flex-shrink: 0; }
.ua-sec-lbl { font-family: var(--sf); font-size: 16px; font-weight: 700; color: var(--k); letter-spacing: -.01em; }
.ua-sec-rule { flex: 1; height: 1px; background: var(--k4); }
.ua-sec-more { font-size: 11px; font-weight: 600; color: var(--nv); cursor: pointer; white-space: nowrap; }

.ua-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ua-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }

/* Cards */
.ua-card {
  background: var(--w); border: 1px solid var(--k4);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: box-shadow .22s, transform .22s; position: relative;
  display: flex; flex-direction: column;
}
.ua-card:hover { box-shadow: 0 8px 32px rgba(15,23,40,.1); transform: translateY(-3px); }
.ua-card-iw { overflow: hidden; position: relative; flex-shrink: 0; }
.ua-card-iw img { width: 100%; height: 172px; object-fit: cover; display: block; transition: transform .45s; }
.ua-card:hover .ua-card-iw img { transform: scale(1.05); }
.ua-card-cat-pill {
  position: absolute; top: 10px; left: 10px;
  background: var(--rd); color: #fff;
  font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px; pointer-events: none;
}
.ua-fav-btn {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px; color: var(--k3); z-index: 10; transition: all .15s;
}
.ua-fav-btn:hover { color: var(--rd); background: #fff; transform: scale(1.1); }
.ua-fav-btn.saved { color: var(--rd); }
.ua-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.ua-cc { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd); margin-bottom: 5px; }
.ua-ct { font-family: var(--sf); font-size: 14px; font-weight: 700; line-height: 1.32; margin-bottom: 7px; color: var(--k); }
.ua-cx { font-size: 11.5px; line-height: 1.65; color: var(--k2); margin-bottom: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.ua-cf { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; border-top: 1px solid var(--k4); font-size: 10.5px; color: var(--k3); margin-top: auto; }
.ua-ca { color: var(--nv); font-weight: 600; }

/* Small card */
.ua-small-card { background: var(--w); border: 1px solid var(--k4); border-radius: 12px; overflow: hidden; display: flex; gap: 0; cursor: pointer; transition: all .2s; }
.ua-small-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.ua-small-card img { width: 100px; height: 80px; object-fit: cover; flex-shrink: 0; }
.ua-small-body { padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.ua-small-cat { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd); margin-bottom: 3px; }
.ua-small-title { font-family: var(--sf); font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--k); margin-bottom: 4px; }
.ua-small-meta { font-size: 10px; color: var(--k3); }

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.ua-sidebar { display: flex; flex-direction: column; gap: 18px; }
.ua-wid { background: var(--w); border: 1px solid var(--k4); border-radius: 14px; overflow: hidden; }
.ua-wid-hd { padding: 12px 16px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nv); border-bottom: 1px solid var(--k4); display: flex; align-items: center; gap: 6px; }
.ua-pop-row { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--k4); cursor: pointer; transition: background .13s; align-items: flex-start; }
.ua-pop-row:last-child { border-bottom: none; }
.ua-pop-row:hover { background: var(--nvl); }
.ua-pop-num { font-family: var(--sf); font-size: 22px; font-weight: 700; color: var(--k4); line-height: 1; min-width: 24px; flex-shrink: 0; }
.ua-pop-ttl { font-family: var(--sf); font-size: 13px; font-weight: 700; line-height: 1.33; color: var(--k); margin-bottom: 2px; }
.ua-pop-meta { font-size: 10px; color: var(--k3); }
.ua-cat-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--k4); cursor: pointer; transition: background .13s; }
.ua-cat-row:last-child { border-bottom: none; }
.ua-cat-row:hover { background: var(--nvl); }
.ua-cat-name { font-size: 13px; color: var(--k2); }
.ua-cat-num { font-size: 10px; font-weight: 600; color: var(--nv); background: var(--nvl); padding: 2px 9px; border-radius: 10px; }
.ua-nl-wid { background: var(--nv); border-color: var(--nv); }
.ua-nl-wid .ua-wid-hd { background: var(--nv2); color: #fff; border-color: rgba(255,255,255,.1); }
.ua-nl-bd { padding: 14px; }
.ua-nl-desc { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.62); margin-bottom: 11px; }
.ua-nl-inp { width: 100%; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.18); border-radius: 7px; padding: 9px 12px; color: #fff; font-size: 11.5px; outline: none; margin-bottom: 7px; transition: border-color .14s; font-family: var(--ss); }
.ua-nl-inp::placeholder { color: rgba(255,255,255,.33); }
.ua-nl-inp:focus { border-color: rgba(255,255,255,.5); }
.ua-nl-btn { width: 100%; background: var(--rd); color: #fff; font-size: 12px; font-weight: 700; padding: 10px; border: none; border-radius: 7px; cursor: pointer; transition: background .13s; }
.ua-nl-btn:hover { background: #b81818; }
.ua-pdf-btn { width: 100%; background: var(--k); color: #fff; border: none; border-radius: 7px; padding: 9px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; }

/* ════════════════════════════════════════
   MODALS
════════════════════════════════════════ */
.ua-modal { display: none; position: fixed; inset: 0; z-index: 8000; background: rgba(4,8,20,.88); align-items: center; justify-content: center; }
.ua-modal.open { display: flex; }
.ua-modal-box { background: var(--w); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.5); width: min(460px,93vw); max-height: 90vh; overflow-y: auto; }
.ua-modal-hd { background: var(--nv); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.ua-modal-title { font-family: var(--sf); font-size: 16px; font-weight: 700; color: #fff; }
.ua-modal-close { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); border: none; color: rgba(255,255,255,.7); font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .13s; }
.ua-modal-close:hover { background: var(--rd); color: #fff; }
.ua-modal-body { padding: 20px; }
.ua-tabs { display: flex; border-bottom: 2px solid var(--k4); margin-bottom: 16px; }
.ua-tab { flex: 1; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--k3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .14s; }
.ua-tab.on { color: var(--nv); border-bottom-color: var(--nv); }
.ua-tab-panel { display: none; }
.ua-tab-panel.on { display: block; }
.ua-soc-btns { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ua-soc-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border-radius: 9px; border: 1px solid var(--k4); background: var(--w); font-size: 13px; font-weight: 600; color: var(--k); cursor: pointer; transition: all .14s; }
.ua-soc-btn:hover { border-color: var(--nv); background: var(--nvl); color: var(--nv); }
.ua-soc-btn.y i { color: #6001D2; }
.ua-soc-btn.g i { color: #DB4437; }
.ua-soc-btn.a i { color: #000; }
.ua-social-divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.ua-social-divider::before,.ua-social-divider::after { content: ''; flex: 1; height: 1px; background: var(--k4); }
.ua-social-divider span { font-size: 11px; color: var(--k3); }
.ua-field { margin-bottom: 12px; }
.ua-field label { display: block; font-size: 12px; font-weight: 600; color: var(--k2); margin-bottom: 4px; }
.ua-input { width: 100%; padding: 10px 13px; border: 1px solid var(--k4); border-radius: 8px; font-size: 13px; color: var(--k); outline: none; transition: border-color .14s; }
.ua-input:focus { border-color: var(--nv); box-shadow: 0 0 0 3px rgba(20,56,164,.08); }
.ua-submit { width: 100%; background: var(--nv); color: #fff; font-size: 13px; font-weight: 700; padding: 11px; border: none; border-radius: 8px; cursor: pointer; transition: background .13s; }
.ua-submit:hover { background: var(--nv2); }

/* ════════════════════════════════════════
   ARTICLE SINGLE — typographie complète
════════════════════════════════════════ */
.ua-article-body { padding: 30px 38px 38px; }

.ua-article-meta-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.ua-article-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd); background: rgba(220,31,31,.08); padding: 4px 10px; border-radius: 4px; text-decoration: none; transition: background .13s; }
.ua-article-cat:hover { background: rgba(220,31,31,.16); }
.ua-prem-label { font-size: 11px; font-weight: 600; color: var(--gd); }
.ua-save-btn { margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--nvl); border: 1px solid rgba(20,56,164,.15); border-radius: 7px; padding: 7px 14px; font-size: 12px; font-weight: 600; color: var(--nv); cursor: pointer; transition: all .13s; }
.ua-save-btn:hover { background: var(--nv); color: #fff; }
.ua-save-btn.saved { background: rgba(220,31,31,.07); color: var(--rd); border-color: rgba(220,31,31,.2); }

.ua-article-title { font-family: var(--sf); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.18; color: var(--k); margin-bottom: 20px; letter-spacing: -.025em; }

.ua-article-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 13px 0; border-top: 2px solid var(--k4); border-bottom: 2px solid var(--k4); margin-bottom: 32px; font-size: 12.5px; color: var(--k3); }
.ua-article-author { font-weight: 700; color: var(--k); font-size: 13px; }
.ua-byline-sep { color: var(--k4); }

/* ── Corps du texte ── */
.ua-entry-content {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 1.08rem;
  line-height: 1.92;
  color: #1a2130;
  max-width: 75ch;
}
.ua-entry-content p {
  margin-top: 0;
  margin-bottom: 1.55em;
  font-size: 1.08rem;
  line-height: 1.92;
  color: #1a2130;
  text-align: justify;
  hyphens: auto;
}
.ua-entry-content > p:first-child {
  font-size: 1.18rem;
  line-height: 1.82;
  color: var(--k);
  font-weight: 400;
}
.ua-entry-content h2 { font-family: var(--sf); font-size: 1.65rem; font-weight: 800; color: var(--k); margin: 1.8em 0 .6em; line-height: 1.22; border-bottom: 2px solid var(--k4); padding-bottom: 8px; }
.ua-entry-content h3 { font-family: var(--sf); font-size: 1.32rem; font-weight: 700; color: var(--k); margin: 1.6em 0 .5em; line-height: 1.25; }
.ua-entry-content h4 { font-family: var(--sf); font-size: 1.1rem; font-weight: 700; color: var(--k); margin: 1.4em 0 .4em; }
.ua-entry-content a { color: var(--nv); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ua-entry-content a:hover { color: var(--rd); }
.ua-entry-content strong, .ua-entry-content b { font-weight: 700; color: var(--k); }
.ua-entry-content em, .ua-entry-content i { font-style: italic; }
.ua-entry-content ul, .ua-entry-content ol { padding-left: 1.7em; margin-bottom: 1.55em; }
.ua-entry-content li { margin-bottom: .55em; line-height: 1.75; }
.ua-entry-content ul > li { list-style-type: disc; }
.ua-entry-content ol > li { list-style-type: decimal; }
.ua-entry-content blockquote { border-left: 4px solid var(--nv); margin: 2em 0; padding: 16px 22px 16px 26px; background: var(--nvl); border-radius: 0 10px 10px 0; font-style: italic; font-size: 1.12rem; color: var(--nv2); }
.ua-entry-content blockquote p { margin-bottom: 0; color: var(--nv2); text-align: left; }
.ua-entry-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1.6em auto; display: block; box-shadow: 0 4px 20px rgba(15,23,40,.1); }
.ua-entry-content figure { margin: 1.6em 0; }
.ua-entry-content figcaption { font-size: .83rem; color: var(--k3); font-style: italic; text-align: center; margin-top: 7px; font-family: var(--ss); }
.ua-entry-content code { font-family: 'Courier New',monospace; background: var(--bg); border: 1px solid var(--k4); border-radius: 4px; padding: 2px 7px; font-size: .88em; }
.ua-entry-content pre { font-family: 'Courier New',monospace; background: var(--bg); border: 1px solid var(--k4); border-radius: 8px; padding: 16px 20px; overflow-x: auto; margin-bottom: 1.55em; font-size: .88em; }
.ua-entry-content hr { border: none; border-top: 2px solid var(--k4); margin: 2.2em 0; }
.ua-entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.55em; font-size: .93rem; font-family: var(--ss); border: 1px solid var(--k4); border-radius: 8px; overflow: hidden; }
.ua-entry-content th, .ua-entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--k4); border-right: 1px solid var(--k4); text-align: left; }
.ua-entry-content th { background: var(--nvl); font-weight: 700; color: var(--nv); }

/* Barre partage */
.ua-share-bar { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 2px solid var(--k4); flex-wrap: wrap; }
.ua-share-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--k3); }
.ua-share-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--nvl); border: 1px solid rgba(20,56,164,.12); display: flex; align-items: center; justify-content: center; color: var(--nv); font-size: 14px; transition: all .13s; text-decoration: none; }
.ua-share-btn:hover { background: var(--nv); color: #fff; }

/* Paywall */
.ua-paywall-preview { position: relative; overflow: hidden; max-height: 200px; font-family: Georgia,serif; font-size: 1.08rem; line-height: 1.9; color: var(--k2); mask-image: linear-gradient(to bottom,black 40%,transparent 100%); -webkit-mask-image: linear-gradient(to bottom,black 40%,transparent 100%); }
.ua-paywall-box { margin-top: 20px; padding: 30px; background: var(--nvl); border: 1px solid rgba(20,56,164,.14); border-radius: 14px; text-align: center; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.ua-ft { background: var(--nv2); color: rgba(255,255,255,.48); }
.ua-ft-main { max-width: 1280px; margin: 0 auto; padding: 40px 20px 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.ua-ft-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; margin-bottom: 12px; }
.ua-ft-name { font-family: var(--sf); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.ua-ft-desc { font-size: 11.5px; line-height: 1.72; margin-bottom: 14px; }
.ua-ft-soc { display: flex; gap: 6px; }
.ua-fsb { width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 12px; cursor: pointer; transition: all .13s; text-decoration: none; }
.ua-fsb:hover { background: var(--rd); color: #fff; border-color: var(--rd); }
.ua-ft-h { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 13px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ua-ft-l { list-style: none; }
.ua-ft-l li { margin-bottom: 8px; }
.ua-ft-l a { font-size: 11.5px; color: rgba(255,255,255,.4); transition: color .13s; cursor: pointer; }
.ua-ft-l a:hover { color: #fff; }
.ua-ft-bot { border-top: 1px solid rgba(255,255,255,.07); padding: 14px 20px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(255,255,255,.22); flex-wrap: wrap; gap: 8px; }

/* ════════════════════════════════════════
   COOKIE BANNER
════════════════════════════════════════ */
.ua-cookie {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--k);
  border-top: 3px solid var(--nv);
  padding: 18px 24px;
  display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 32px rgba(0,0,0,.35);
  animation: ua-fadein .4s ease;
  transform: translateY(0);
  transition: transform .35s ease;
}
.ua-cookie.hide { transform: translateY(110%); }
.ua-cookie-icon { font-size: 28px; flex-shrink: 0; }
.ua-cookie-txt { flex: 1; min-width: 220px; }
.ua-cookie-txt strong { font-size: 13px; font-weight: 700; color: #fff; display: block; margin-bottom: 4px; }
.ua-cookie-txt p { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.55; margin: 0; }
.ua-cookie-txt a { color: var(--nvl); text-decoration: underline; }
.ua-cookie-btns { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.ua-cookie-accept {
  background: var(--nv); color: #fff; border: none;
  padding: 10px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .13s; white-space: nowrap;
}
.ua-cookie-accept:hover { background: #1852CC; }
.ua-cookie-decline {
  background: transparent; color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.2);
  padding: 10px 18px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .13s; white-space: nowrap;
}
.ua-cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.ua-cookie-settings {
  background: transparent; color: rgba(255,255,255,.5);
  border: none; font-size: 12px; cursor: pointer;
  text-decoration: underline; white-space: nowrap;
  transition: color .13s;
}
.ua-cookie-settings:hover { color: #fff; }

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.ua-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 11px 22px; border-radius: 9px; font-size: 13px; font-weight: 600; z-index: 9999; box-shadow: 0 4px 24px rgba(0,0,0,.25); pointer-events: none; white-space: nowrap; transition: opacity .3s; }
.ua-toast-info    { background: var(--nv); color: #fff; }
.ua-toast-success { background: #15803D; color: #fff; }
.ua-toast-pdf     { background: #1e293b; color: #fff; }

/* FADE-IN */
.ua-fi { opacity: 0; transform: translateY(12px); transition: opacity .44s ease, transform .44s ease; }
.ua-vis { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1040px) {
  .ua-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .ua-hstack { flex-direction: row; gap: 10px; }
  .ua-hstack-card { min-height: 220px; }
  .ua-hfeat { min-height: 400px; }
  .ua-main-grid { grid-template-columns: 1fr; }
  .ua-ft-main { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) { .ua-hamburger { display: none !important; } }
@media (max-width: 768px) {
  .ua-hamburger { display: flex !important; }
  .ua-nav { display: none; }
  .ua-mhdiv { display: none; }
  .ua-site-tag { display: none; }
  .ua-site-name { font-size: 16px; }
  .ua-logo { width: 34px; height: 34px; }
  .ua-mh-i { height: 56px; padding: 0 12px; gap: 0; }
  .ua-mbar { display: none; }
  .ua-g3 { grid-template-columns: repeat(2, 1fr); }
  .ua-ft-main { grid-template-columns: 1fr 1fr; }
  .ua-article-body { padding: 18px 16px 24px; }
  .ua-article-title { font-size: 1.4rem; }
  .ua-entry-content { font-size: 1rem; max-width: 100%; }
  .ua-entry-content p { font-size: 1rem; text-align: left; }
  .ua-cookie { padding: 14px 16px; gap: 12px; }
}
@media (max-width: 640px) {
  .ua-tpill { display: none; }
  .ua-ticker { display: none; }
  .ua-ts-i { justify-content: center; padding: 6px 16px; }
  .ua-ts-meta { flex: 1; justify-content: center; gap: 14px; }
  .ua-ts-sep { display: inline; }
  .ua-lsw { display: none; }
}
@media (max-width: 500px) {
  .ua-g3, .ua-g4 { grid-template-columns: 1fr; }
  .ua-hero { padding: 0 10px; margin-top: 12px; }
  .ua-hfeat { min-height: 300px; border-radius: 12px; }
  .ua-hstack { flex-direction: row; gap: 8px; }
  .ua-hstack-card { min-height: 160px; border-radius: 10px; }
  .ua-httl { font-size: 1.15rem; }
  .ua-hveil { padding: 18px 14px; }
  .ua-wrap { padding: 0 10px 40px; }
  .ua-ft-main { grid-template-columns: 1fr; }
  .ua-cookie-btns { width: 100%; }
  .ua-cookie-accept, .ua-cookie-decline { flex: 1; text-align: center; }
}

/* ── FOOTER MAGAZINE + SLOGAN ── */
.ua-ft-magazine {
  font-family: var(--sf);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}
.ua-ft-slogan {
  font-family: var(--sf);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.ua-ft-name {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── MOBILE HERO — cartes bien proportionnées ── */
@media (max-width: 768px) {
  .ua-hstack {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .ua-hstack-card {
    min-height: 200px !important;
    max-height: 200px !important;
    width: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .ua-hstack-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .ua-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .ua-hfeat {
    min-height: 300px !important;
    border-radius: 12px !important;
  }
}
@media (max-width: 500px) {
  .ua-hstack-card {
    min-height: 180px !important;
    max-height: 180px !important;
  }
  .ua-hfeat { min-height: 260px !important; }
}

/* ── MEDIA BAR — radio avec texte "EN DIRECT" ── */
.ua-mbar { background: var(--nv2); padding: 8px 0; }
.ua-radio {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 10px; padding: 7px 18px;
}
.ua-radio-info { display: flex; flex-direction: column; gap: 1px; }
.ua-radio-lbl {
  font-size: 8px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); line-height: 1;
}
.ua-radio-live {
  display: flex; align-items: center; gap: 6px;
}
.ua-radio-live-badge {
  background: var(--rd); color: #fff;
  font-size: 8px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 2px;
  animation: ua-blink 1.4s ease-in-out infinite;
}
.ua-radio-name {
  font-size: 13px; font-weight: 700;
  color: #fff; white-space: nowrap;
}

/* ── SIDEBAR always visible ── */
.ua-sidebar {
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.ua-sidebar .ua-pop-row {
  text-decoration: none;
  color: inherit;
  display: flex;
}
.ua-sidebar .ua-cat-row {
  text-decoration: none;
  color: inherit;
}
/* Wid-body pour les widgets WordPress natifs */
.ua-wid-body { padding: 0; }
.ua-wid .widget { padding: 0; }
.ua-wid .widget-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--nv); padding: 11px 16px;
  border-bottom: 1px solid var(--k4);
  margin: 0;
}
/* Fix sidebar on all pages */
@media (min-width: 769px) {
  .ua-main-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
  }
}
