/* =========================================================
   RageBait – Vidéos (lecture directe)
   (page-videos-watch.php)
   ========================================================= */

.rbv-page{
  max-width: 1200px;
  margin: 26px auto 70px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------- HERO ---------------- */
.rbv-hero{
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:22px;
  box-shadow:0 18px 55px rgba(0,0,0,.10);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.rbv-hero::before{
  content:"";
  position:absolute;
  inset:-160px -160px auto auto;
  width:360px;
  height:360px;
  background: radial-gradient(circle, rgba(255,77,77,0.16), rgba(255,77,77,0) 70%);
  pointer-events:none;
  opacity:.9;
}
.rbv-hero__inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:18px;
  align-items:stretch;
}
@media(max-width: 900px){
  .rbv-hero__inner{ grid-template-columns:1fr; }
}

.rbv-hero__chips{ display:flex; gap:8px; flex-wrap:wrap; }
.rbv-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:.78rem;
  background: rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.08);
  color:#111;
}
.rbv-chip--hot{
  background: rgba(214,40,40,.10);
  border-color: rgba(214,40,40,.18);
}

.rbv-hero__title{
  margin:12px 0 0;
  font-weight:950;
  letter-spacing:-.6px;
  line-height:1.05;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}
.rbv-hero__lead{
  margin:12px 0 0;
  max-width: 740px;
  color:#333;
  line-height:1.6;
  font-size:1.05rem;
}
.rbv-hero__meta{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:#444;
  font-weight:850;
}
.rbv-dot{ opacity:.6; }

.rbv-heroCard{
  background: rgba(0,0,0,.02);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:16px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.rbv-heroCard__title{
  font-weight:950;
  letter-spacing:-.3px;
}
.rbv-heroCard__text{ margin-top:8px; color:#444; line-height:1.6; }
.rbv-heroCard__ctaRow{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }

/* ---------------- SECTION ---------------- */
.rbv-section{ margin-top:18px; }
.rbv-section__head{
  margin: 0 0 12px;
  position:relative;
  padding-bottom: 14px;
}
.rbv-section__head::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:100%; height:1px;
  background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.05), rgba(0,0,0,0));
}
.rbv-section__title{
  margin:0;
  font-weight:950;
  letter-spacing:-.4px;
}
.rbv-section__sub{
  margin:10px 0 0;
  max-width: 740px;
  color:#444;
  line-height:1.6;
}

/* ---------------- GRID ---------------- */
.rbv-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media(max-width: 980px){ .rbv-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media(max-width: 620px){ .rbv-grid{ grid-template-columns: 1fr; } }

.rbv-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.rbv-card:hover{
  transform: translateY(-2px);
  border-color: rgba(214,40,40,.18);
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}

/* body */
.rbv-body{ padding:14px 14px 16px; }
.rbv-title{
  margin:0;
  font-weight:950;
  letter-spacing:-.3px;
  line-height:1.15;
  font-size:1.05rem;
}
.rbv-title a{ text-decoration:none !important; color:#111; }
.rbv-excerpt{
  margin:10px 0 0;
  color:#333;
  line-height:1.6;
}
.rbv-meta{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:#555;
  font-weight:800;
  font-size:.92rem;
}
.rbv-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* empty */
.rbv-empty{
  margin-top:12px;
  padding:14px 16px;
  background:#fffafa;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  font-weight:800;
  color:#333;
}

/* =========================================================
   PLAYER (NOUVEAU) – Vidéos directement visibles
   ========================================================= */

.rbv-player{
  margin: 10px 0;
  width:100%;
  border-radius:14px;
  overflow:hidden;
  background:#111;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

/* MP4 */
.rbv-player video{
  display:block;
  width:100%;
  height:auto;
}

/* YouTube/Vimeo iframe */
.rbv-player iframe{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  height:auto;
  border:0;
}

/* TikTok embed : éviter que ça déborde et garder clean */
.rbv-player .tiktok-embed{
  margin: 0 auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.rbv-player .tiktok-embed > section{
  max-width: 100% !important;
}

/* Petit confort sur mobile */
@media (max-width: 620px){
  .rbv-player{
    border-radius: 16px;
  }
}

/* =========================================================
   PAGINATION
   ========================================================= */

.rbv-pagination{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}
.rbv-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 44px;
  height: 42px;
  padding: 0 12px;
  margin: 0 4px;
  border-radius: 12px;

  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  font-weight:950;
  text-decoration:none !important;
  color:#111;
}
.rbv-pagination .page-numbers:hover{
  border-color: rgba(214,40,40,.22);
  background: rgba(214,40,40,.06);
}
.rbv-pagination .page-numbers.current{
  background: rgba(214,40,40,.16);
  border-color: rgba(214,40,40,.28);
}
.rbv-pagination .page-numbers.dots{
  box-shadow:none;
  background: transparent;
  border: 0;
  min-width:auto;
}

/* =========================================================
   (Optionnel) TAG bouton (si tu en gardes)
   ========================================================= */

.rbv-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  font-weight:950;
  font-size:.82rem;
  text-decoration:none !important;
  background: rgba(214,40,40,.10);
  border:1px solid rgba(214,40,40,.28);
  color:#b31212;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.rbv-tag:hover{
  transform: translateY(-1px);
  background: rgba(214,40,40,.16);
  border-color: rgba(214,40,40,.42);
}
