/* =========================================================
   RageBait Video Hub (page-video-hub.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);
}

/* thumb */
.rbv-thumb{
  display:block;
  position:relative;
  overflow:hidden;
  background:#111;
}
.rbv-thumb__img{
  width:100%;
  height:210px;
  display:block;
  object-fit:cover;
}
@media(max-width: 720px){
  .rbv-thumb__img{ height:200px; }
}
.rbv-thumb__ph{
  display:block;
  width:100%;
  height:210px;
  background: linear-gradient(135deg, rgba(214,40,40,.14), rgba(0,0,0,.06));
}

/* play overlay */
.rbv-play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
}
.rbv-play::before{
  content:"";
  width:56px; height:56px;
  border-radius:999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.rbv-play::after{
  content:"";
  position:absolute;
  width:0; height:0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  transform: translateX(2px);
}

/* badges on thumb */
.rbv-badges{
  position:absolute;
  left:10px;
  bottom:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  pointer-events:none;
}
.rbv-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:950;
  font-size:.76rem;
  color:#fff;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}
.rbv-badge--hot{
  background: rgba(214,40,40,.65);
  border-color: rgba(255,255,255,.22);
}
.rbv-badge--video{
  background: rgba(0,0,0,.55);
}

/* 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;
}

/* =========================================================
   FILTRE TAGS (chips)
   ========================================================= */

.rbv-filterBar{
  margin-top: 14px;
}
.rbv-filterBar__inner{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding: 12px 14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.rbv-filterBar__title{
  font-weight:950;
  color:#111;
  letter-spacing:-.2px;
}

.rbv-filterChips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.rbv-filterChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  border-radius:999px;
  font-weight:950;
  font-size:.82rem;
  text-decoration:none !important;

  background: rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.08);
  color:#111;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.rbv-filterChip:hover{
  transform: translateY(-1px);
  border-color: rgba(214,40,40,.20);
  background: rgba(214,40,40,.08);
}
.rbv-filterChip.is-active{
  background: rgba(214,40,40,.14);
  border-color: rgba(214,40,40,.25);
}

/* Filtre actif sous le hero */
.rbv-hero__activeFilter{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  font-weight:900;
  color:#333;
}
.rbv-clear{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  text-decoration:none !important;
  background: rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.08);
  color:#111;
}

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

.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;
}

/* =========================================================
   TAG à la place du bouton Partager
   ========================================================= */

.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);
}

/* =========================================================
   BLOC SEO + VIRAL (sous la grille)
   ========================================================= */

.rbv-seoBlock{
  margin-top: 36px;
}

.rbv-seoBlock__inner{
  #max-width: 980px;
  margin: 0 auto;

  padding: 26px 28px;
  background: #fff;

  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 48px rgba(0,0,0,.06);
}

.rbv-seoBlock__title{
  font-size: 1.45rem;
  font-weight: 950;
  margin-bottom: 14px;
  color: #111;
  letter-spacing: -.3px;
}

.rbv-seoBlock p{
  font-size: .98rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 12px;
}

.rbv-seoBlock strong{
  font-weight: 900;
}

.rbv-seoBlock__cta{
  margin-top: 16px;
  font-weight: 900;
  color: #b31212;
}

/* Responsive */
@media (max-width: 900px){
  .rbv-seoBlock__inner{
    padding: 20px 18px;
    border-radius: 16px;
  }
  .rbv-seoBlock__title{
    font-size: 1.3rem;
  }
}
