
/* ================================================================
   DOWN THE RABBIT HOLE SECTION
   Scoped to .dxtv-rh-* — zero impact on existing styles
   ================================================================ */

/* ── Section wrapper ── */
.dxtv-rh-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(157,78,221,0.04) 30%,
    rgba(157,78,221,0.02) 70%,
    transparent 100%);
  border-top: 1px solid rgba(157,78,221,0.12);
  border-bottom: 1px solid rgba(157,78,221,0.12);
  position: relative;
  overflow: hidden;
}
.dxtv-rh-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(157,78,221,0.06), transparent 60%);
  pointer-events: none;
}

/* ── Header ── */
.dxtv-rh-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.dxtv-rh-header__left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.dxtv-rh-header__icon { font-size: 1.15rem; }
.dxtv-rh-header__title {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.75rem;
  color: #9d4edd;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}
.dxtv-rh-header__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(157,78,221,0.4), transparent);
}
.dxtv-rh-header__all {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.6rem;
  color: rgba(157,78,221,0.55);
  letter-spacing: 0.1em;
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s;
}
.dxtv-rh-header__all:hover { color: #9d4edd; }

/* ── Big Post 2 Grid ── */
.dxtv-rh-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
}

/* ── HERO card ── */
.dxtv-rh-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transition: box-shadow 0.4s ease;
  background: #0a0818;
}
.dxtv-rh-hero:hover {
  box-shadow: 0 0 60px var(--rh-accent, #9d4edd)33, 0 20px 60px rgba(0,0,0,0.6);
}

.dxtv-rh-hero__img-wrap {
  position: absolute;
  inset: 0;
}
.dxtv-rh-hero__img-wrap--no-img {
  background: radial-gradient(ellipse at 40% 40%, rgba(157,78,221,0.2), #050510 70%);
}
.dxtv-rh-hero__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.dxtv-rh-hero:hover .dxtv-rh-hero__img { transform: scale(1.04); }

.dxtv-rh-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(3,2,12,0.97) 0%,
    rgba(3,2,12,0.52) 45%,
    rgba(3,2,12,0.08) 100%);
}
.dxtv-rh-hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, var(--rh-accent, #9d4edd)18, transparent 60%);
}
.dxtv-rh-hero__top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--rh-accent, #9d4edd), transparent);
}

.dxtv-rh-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 2rem 1.75rem;
  z-index: 2;
}

.dxtv-rh-hero__meta {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.85rem;
}
.dxtv-rh-cat-badge {
  font-family: var(--font-mono, monospace); font-size: 0.58rem;
  color: var(--rh-accent, #9d4edd); letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--rh-accent, #9d4edd) 35%, transparent);
  border-radius: 999px; padding: 0.2rem 0.75rem;
  background: var(--rh-soft, rgba(157,78,221,0.15));
}
.dxtv-rh-hero__read {
  font-family: var(--font-mono, monospace); font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
}
.dxtv-rh-hero__title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 900;
  color: #fff; line-height: 1.1; margin: 0 0 0.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.dxtv-rh-hero__subtitle {
  font-family: var(--font-serif, Georgia, serif); font-style: italic;
  font-size: clamp(0.88rem,1.4vw,1rem); color: var(--rh-accent,#9d4edd);
  margin: 0 0 0.75rem; line-height: 1.3;
}
.dxtv-rh-hero__excerpt {
  font-family: var(--font-serif, Georgia, serif); font-size: 0.85rem;
  color: rgba(220,210,255,0.7); line-height: 1.6; margin: 0 0 1.1rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.dxtv-rh-hero__footer {
  display: flex; align-items: center; justify-content: space-between;
}
.dxtv-rh-hero__curator {
  font-family: var(--font-mono, monospace); font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
}
.dxtv-rh-hero__date {
  font-family: var(--font-mono, monospace); font-size: 0.58rem;
  color: rgba(255,255,255,0.25);
}

.dxtv-rh-hero__hover-cta {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 3;
}
.dxtv-rh-hero:hover .dxtv-rh-hero__hover-cta { opacity: 1; }
.dxtv-rh-hero__hover-cta span {
  background: rgba(3,2,12,0.75);
  border: 1px solid color-mix(in srgb, var(--rh-accent,#9d4edd) 55%, transparent);
  border-radius: 999px; padding: 0.65rem 1.75rem;
  font-family: var(--font-mono, monospace); font-size: 0.7rem;
  color: var(--rh-accent,#9d4edd); letter-spacing: 0.15em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 30px color-mix(in srgb, var(--rh-accent,#9d4edd) 27%, transparent);
}

/* ── Stack ── */
.dxtv-rh-stack {
  display: flex; flex-direction: column; gap: 0.55rem;
}
.dxtv-rh-stack__label {
  font-family: var(--font-mono, monospace); font-size: 0.55rem;
  color: rgba(255,255,255,0.22); letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0.1rem;
}

/* ── Stack card ── */
.dxtv-rh-card {
  display: flex; gap: 0.85rem; cursor: pointer; padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: all 0.25s ease;
  position: relative;
}
.dxtv-rh-card:hover {
  border-color: color-mix(in srgb, var(--rh-accent,#9d4edd) 27%, transparent);
  background: var(--rh-soft, rgba(157,78,221,0.12));
}
.dxtv-rh-card__thumb {
  flex-shrink: 0; width: 72px; height: 72px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rh-accent,#9d4edd) 20%, transparent);
}
.dxtv-rh-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.dxtv-rh-card:hover .dxtv-rh-card__thumb img { transform: scale(1.08); }
.dxtv-rh-card__thumb--no-img {
  background: radial-gradient(ellipse at center, rgba(157,78,221,0.2), #050510);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.dxtv-rh-card__body { flex: 1; min-width: 0; }
.dxtv-rh-card__cat {
  font-family: var(--font-mono, monospace); font-size: 0.55rem;
  color: var(--rh-accent,#9d4edd); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.dxtv-rh-card__title {
  font-family: var(--font-serif, Georgia, serif); font-size: 0.85rem;
  font-weight: 700; color: #fff; line-height: 1.3; margin: 0 0 0.35rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.dxtv-rh-card__meta {
  font-family: var(--font-mono, monospace); font-size: 0.52rem;
  color: rgba(255,255,255,0.28); display: flex; gap: 0.4rem;
}

/* ─────────────────────────────────────────────────────────────
   LIGHTBOX
   ───────────────────────────────────────────────────────────── */
.dxtv-rh-lightbox {
  position: fixed; inset: 0; z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.dxtv-rh-lightbox[hidden] { display: none !important; }

.dxtv-rh-lb__backdrop {
  position: absolute; inset: 0;
  background: rgba(2,1,10,0.9);
  backdrop-filter: blur(22px) saturate(0.55);
  animation: rhLbFadeIn 0.3s ease;
}

.dxtv-rh-lb__shell {
  position: relative; z-index: 1;
  width: min(920px,100%); max-height: 90vh;
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  animation: rhLbSlideUp 0.45s cubic-bezier(0,0,0.2,1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.85);
}

/* Image zone */
.dxtv-rh-lb__img-zone {
  position: relative; height: min(50vh,420px);
  flex-shrink: 0; overflow: hidden;
}
.dxtv-rh-lb__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: rhImgZoom 9s ease forwards;
}
.dxtv-rh-lb__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(2,1,10,0.1) 0%, rgba(2,1,10,0.05) 25%,
    rgba(2,1,10,0.72) 65%, rgba(2,1,10,1) 100%);
}
.dxtv-rh-lb__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 35%, var(--rh-glow, rgba(157,78,221,0.28)), transparent 55%);
}
.dxtv-rh-lb__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.dxtv-rh-lb__top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.dxtv-rh-lb__progress-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(255,255,255,0.06);
}
.dxtv-rh-lb__progress {
  height: 100%; width: 0%;
  transition: width 0.1s linear;
}

.dxtv-rh-lb__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(2,1,10,0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; z-index: 10;
  animation: rhCloseGlow 3s ease-in-out infinite;
}
.dxtv-rh-lb__close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }

.dxtv-rh-lb__badges {
  position: absolute; top: 1.25rem; left: 1.25rem;
  display: flex; gap: 0.5rem; z-index: 10;
}
.dxtv-rh-lb__cat-badge {
  backdrop-filter: blur(10px);
  border-radius: 999px; padding: 0.25rem 0.9rem;
  font-family: var(--font-mono, monospace); font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.dxtv-rh-lb__read-badge {
  background: rgba(2,1,10,0.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-family: var(--font-mono, monospace); font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
}

.dxtv-rh-lb__title-block {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 2.5rem 1.5rem;
  animation: rhTitleIn 0.6s 0.2s both ease;
}
.dxtv-rh-lb__title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.7rem,3.8vw,2.7rem); font-weight: 900;
  color: #fff; line-height: 1.06; margin: 0 0 0.4rem;
  letter-spacing: -0.025em;
}
.dxtv-rh-lb__sub {
  font-family: var(--font-serif, Georgia, serif); font-style: italic;
  font-size: clamp(1rem,2vw,1.25rem); line-height: 1.3; margin: 0;
}

/* Body */
.dxtv-rh-lb__body {
  flex: 1; overflow-y: auto; background: #06040f;
  scrollbar-width: thin;
}

.dxtv-rh-lb__byline {
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.dxtv-rh-lb__byline-author { display: flex; align-items: center; gap: 0.6rem; }
.dxtv-rh-lb__byline-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
  flex-shrink: 0;
}
.dxtv-rh-lb__byline-label {
  font-family: var(--font-mono, monospace); font-size: 0.55rem;
  color: rgba(255,255,255,0.32); letter-spacing: 0.12em; text-transform: uppercase;
}
.dxtv-rh-lb__byline-name {
  font-family: var(--font-serif, Georgia, serif); font-size: 0.85rem;
  font-weight: 700; color: #fff;
}
.dxtv-rh-lb__byline-curator {
  font-family: var(--font-mono, monospace); font-size: 0.75rem; letter-spacing: 0.08em;
}
.dxtv-rh-lb__byline-sep { width: 1px; height: 28px; background: rgba(255,255,255,0.08); }
.dxtv-rh-lb__byline-date {
  margin-left: auto; font-family: var(--font-mono, monospace);
  font-size: 0.58rem; color: rgba(255,255,255,0.25);
}

.dxtv-rh-lb__content { padding: 2rem 2.5rem; }
.dxtv-rh-lb__content p {
  font-family: var(--font-serif, Georgia, serif); font-size: 0.98rem;
  line-height: 1.9; color: rgba(225,215,252,0.82); margin: 0 0 1.4rem;
}
.dxtv-rh-lb__content .rh-lede {
  font-style: italic; font-weight: 600; font-size: 1.05rem;
  color: rgba(240,235,255,0.88); line-height: 1.78;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.dxtv-rh-lb__content .rh-dropcap::first-letter {
  float: left; font-family: var(--font-serif, Georgia, serif);
  font-size: 4.5rem; font-weight: 900; line-height: 0.76;
  margin-right: 0.1em; margin-top: 0.06em;
}
.dxtv-rh-lb__content .rh-pull {
  margin: 2rem 0; padding: 1.5rem 2rem;
  border-left: 3px solid;
  border-radius: 0 10px 10px 0; position: relative; overflow: hidden;
}
.dxtv-rh-lb__content .rh-pull::before {
  content: '"'; position: absolute; top: -0.6rem; left: 0.75rem;
  font-family: var(--font-serif, Georgia, serif); font-size: 5.5rem;
  line-height: 1; opacity: 0.1; font-weight: 900; pointer-events: none;
}
.dxtv-rh-lb__content .rh-pull p {
  font-style: italic; font-weight: 700; font-size: 1.08rem;
  color: #fff; line-height: 1.5; margin: 0; position: relative; z-index: 1;
}
.dxtv-rh-lb__content .rh-pull-attr {
  font-family: var(--font-mono, monospace); font-size: 0.62rem;
  letter-spacing: 0.12em; margin-top: 0.65rem; position: relative; z-index: 1; display: block;
}

.dxtv-rh-lb__share {
  padding: 1.25rem 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
}
.dxtv-rh-lb__share-label {
  font-family: var(--font-mono, monospace); font-size: 0.6rem;
  color: rgba(255,255,255,0.28); letter-spacing: 0.15em; text-transform: uppercase;
  margin-right: 0.25rem;
}
.dxtv-rh-lb__share-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 0.4rem 0.85rem;
  font-family: var(--font-mono, monospace); font-size: 0.6rem;
  color: rgba(255,255,255,0.55); cursor: pointer; transition: all 0.2s;
}
.dxtv-rh-lb__share-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.dxtv-rh-lb__pct {
  margin-left: auto; font-family: var(--font-mono, monospace);
  font-size: 0.58rem; color: rgba(255,255,255,0.22);
}

/* ── Animations ── */
@keyframes rhLbFadeIn  { from{opacity:0} to{opacity:1} }
@keyframes rhLbSlideUp { from{opacity:0;transform:translateY(40px) scale(0.97)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes rhImgZoom   { from{transform:scale(1.08)} to{transform:scale(1)} }
@keyframes rhTitleIn   { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes rhCloseGlow { 0%,100%{box-shadow:0 0 0 transparent} 50%{box-shadow:0 0 22px rgba(255,255,255,0.18)} }

/* ── Responsive ── */
@media (max-width: 820px) {
  .dxtv-rh-grid { grid-template-columns: 1fr; }
  .dxtv-rh-hero { aspect-ratio: 4/3; }
  .dxtv-rh-lb__title-block { padding: 2rem 1.5rem 1.25rem; }
  .dxtv-rh-lb__content, .dxtv-rh-lb__byline, .dxtv-rh-lb__share { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 500px) {
  .dxtv-rh-hero { aspect-ratio: unset; min-height: 320px; }
}

/* ═══════════════════════════════════════════════
   HOVER EFFECTS — per-post via data-rh-effect
   ═══════════════════════════════════════════════ */
.dxtv-rh-hero__img-wrap,
.dxtv-rh-card__thumb { overflow: hidden; position: relative; }

/* zoom (default) */
.dxtv-rh-effect--zoom img { transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.dxtv-rh-effect--zoom:hover img { transform: scale(1.08); }

/* parallax drift */
.dxtv-rh-effect--parallax img { transition: transform 0.4s ease-out; will-change: transform; }
.dxtv-rh-effect--parallax:hover img { transform: scale(1.06) translate(1.5%, 1%); }

/* glitch flicker */
.dxtv-rh-effect--glitch img { transition: filter 0.1s; }
.dxtv-rh-effect--glitch:hover img { animation: rhGlitchHover 0.4s steps(1) forwards; }
@keyframes rhGlitchHover {
  0%   { filter: none; transform: none; }
  15%  { filter: hue-rotate(90deg) saturate(2); transform: translate(-3px, 1px); }
  30%  { filter: invert(0.15) hue-rotate(180deg); transform: translate(3px, -1px); }
  45%  { filter: brightness(1.4) saturate(0.3); transform: translate(-2px, 2px); }
  60%  { filter: hue-rotate(270deg); transform: translate(2px, 0); }
  75%  { filter: none; transform: translate(-1px, 1px); }
  100% { filter: none; transform: none; }
}

/* 3D tilt */
.dxtv-rh-effect--tilt { transform-style: preserve-3d; transition: transform 0.3s ease; }
.dxtv-rh-effect--tilt:hover { transform: perspective(600px) rotateX(-4deg) rotateY(4deg) scale(1.02); }

/* none */
.dxtv-rh-effect--none img { transition: none; }

/* ── Overlay text label on image ── */
.dxtv-rh-hero__img-label,
.dxtv-rh-card__thumb-label {
  position: absolute; bottom: 0.6rem; left: 0.75rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85); text-transform: uppercase;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem; border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none; z-index: 4;
}
