/* ==========================================================================
   VeeiQ Journal Design System (v2.5)
   Standardized Tech Insider Architecture:
   - Split Magazine Hero with 16:9 Media on Top and Solid Content Below (Zero Text Clashing)
   - 2-Column Editorial Stream + Sticky Sidebar Widgets (.j-layout)
   - Zero Heading Underlines & Restrained Luxury Gold Accents
   - Fully Responsive with Zero Text Overflow or Mobile Bleed
   ========================================================================== */

:root {
  --ti-bg: #0B0B0B;
  --ti-surface: #121212;
  --ti-surface-2: #181818;
  --ti-surface-3: #222222;
  --ti-border: rgba(255, 255, 255, 0.08);
  --ti-border-subtle: rgba(255, 255, 255, 0.05);
  --ti-border-hover: rgba(212, 175, 55, 0.4);
  --ti-accent: #D4AF37;
  --ti-accent-hover: #E5C158;
  --ti-accent-glow: rgba(212, 175, 55, 0.15);
  --ti-text: #D4D4D8;
  --ti-text-muted: #94A3B8;
  --ti-text-dim: #71717A;
  --ti-radius-sm: 6px;
  --ti-radius-md: 10px;
  --ti-radius-lg: 14px;
  --ti-max-width: 1240px;
  --ti-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
  overflow-x: hidden;
  background: var(--ti-bg);
  color: var(--ti-text);
  font-family: var(--ti-font);
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.ti-container {
  max-width: var(--ti-max-width, 1240px);
  margin-inline: auto;
  padding: 40px clamp(20px, 4.5vw, 64px) 80px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .ti-container {
    padding: 24px 16px 60px;
  }
}

/* --------------------------------------------------------------------------
   Breadcrumbs (Tech Insider .ti-crumbs)
   -------------------------------------------------------------------------- */
.ti-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ti-text-muted);
  margin-bottom: 24px;
}

.ti-crumbs a {
  color: var(--ti-text-muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.ti-crumbs a:hover {
  color: #FFFFFF;
}

.ti-crumbs span.sep {
  color: rgba(255, 255, 255, 0.25);
}

.ti-crumbs span.current {
  color: var(--ti-accent-hover);
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.ti-header {
  margin-bottom: 36px;
}

.ti-page-title {
  max-width: 100% !important;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 850;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  border: none !important;
  padding: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.ti-page-desc {
  max-width: 680px !important;
  font-size: 16px;
  color: var(--ti-text-muted);
  line-height: 1.6;
  margin: 0;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* --------------------------------------------------------------------------
   Category Badges (Tech Insider .ti-badge)
   -------------------------------------------------------------------------- */
.ti-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--ti-accent-hover);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  width: fit-content;
}

.ti-badge--sm {
  font-size: 9px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   SPLIT MAGAZINE HERO (Zero Text Overlay: Media on top, Content below)
   -------------------------------------------------------------------------- */
.j-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .j-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Main Lead Story Card */
.j-hero-main {
  display: flex;
  flex-direction: column;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg, 14px);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.j-hero-main:hover {
  transform: translateY(-3px);
  border-color: var(--ti-border-hover);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6), 0 0 24px var(--ti-accent-glow);
}

.j-hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.j-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.j-hero-main:hover .j-hero-media img {
  transform: scale(1.03);
}

.j-hero-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--ti-surface);
}

.j-hero-title {
  max-width: 100% !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 850;
  color: #FFFFFF !important;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.015em;
  border: none !important;
  padding: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  transition: color 180ms ease;
}

.j-hero-main:hover .j-hero-title {
  color: var(--ti-accent-hover) !important;
}

.j-hero-excerpt {
  max-width: 100% !important;
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.j-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  margin-top: 4px;
}

/* 2 Stacked Side Stories */
.j-hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.j-hero-side-card {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 16px;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-md, 12px);
  text-decoration: none !important;
  align-items: flex-start;
  flex: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 220ms ease, border-color 220ms ease;
}

.j-hero-side-card:hover {
  transform: translateY(-2px);
  border-color: var(--ti-border-hover);
}

.j-hero-side-thumb {
  width: 140px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0A0A0A;
}

.j-hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.j-hero-side-card:hover .j-hero-side-thumb img {
  transform: scale(1.05);
}

.j-hero-side-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.j-hero-side-title {
  max-width: 100% !important;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  border: none !important;
  padding: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  transition: color 180ms ease;
}

.j-hero-side-card:hover .j-hero-side-title {
  color: var(--ti-accent-hover) !important;
}

@media (max-width: 640px) {
  .j-hero-side-card {
    flex-direction: column;
  }
  .j-hero-side-thumb {
    width: 100%;
    height: 160px;
  }
}

/* --------------------------------------------------------------------------
   Category Filter Bar
   -------------------------------------------------------------------------- */
.ti-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 36px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ti-filter-bar::-webkit-scrollbar {
  display: none;
}

.ti-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: 9999px;
  color: var(--ti-text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms ease;
}

.ti-filter-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--ti-surface-2);
}

.ti-filter-btn.is-active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--ti-accent-hover);
}

/* --------------------------------------------------------------------------
   2-COLUMN MAIN STREAM + STICKY SIDEBAR LAYOUT (.j-layout)
   -------------------------------------------------------------------------- */
.j-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .j-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.j-stream {
  min-width: 0;
}

.j-stream-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Editorial Stream Card (.j-stream-card) */
.j-stream-card {
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg, 14px);
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.j-stream-card:hover {
  transform: translateY(-3px);
  border-color: var(--ti-border-hover);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--ti-accent-glow);
}

.j-stream-card__link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.j-stream-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.j-stream-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.j-stream-card:hover .j-stream-card__media img {
  transform: scale(1.03);
}

.j-stream-card__body {
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ti-surface);
}

.j-stream-card__title {
  max-width: 100% !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF !important;
  margin: 2px 0 4px;
  border: none !important;
  padding: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  transition: color 180ms ease;
}

.j-stream-card:hover .j-stream-card__title {
  color: var(--ti-accent-hover) !important;
}

.j-stream-card__excerpt {
  max-width: 100% !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ti-text-muted);
  margin: 0;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.j-stream-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ti-text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   STICKY SIDEBAR COMPONENTS (Tech Insider Style Widgets)
   -------------------------------------------------------------------------- */
.j-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 80px;
  width: 340px;
  max-width: 100%;
}

.j-widget {
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-md, 12px);
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.j-widget-heading {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ti-accent-hover);
  border-left: 3px solid var(--ti-accent);
  padding-left: 10px;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
}

/* Trending List Widget */
.j-trending-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.j-trending-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease;
}

.j-trending-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.j-trending-item:hover {
  transform: translateX(3px);
}

.j-trending-rank {
  font-size: 1.1rem;
  font-weight: 800;
  color: #52525B;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.j-trending-thumb {
  width: 56px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0B0B0B;
}

.j-trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.j-trending-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.j-trending-title {
  font-size: 0.82rem;
  font-weight: 650;
  color: #E4E4E7 !important;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  transition: color 180ms ease;
}

.j-trending-item:hover .j-trending-title {
  color: var(--ti-accent-hover) !important;
}

.j-trending-meta {
  font-size: 0.7rem;
  color: var(--ti-text-dim);
  font-weight: 500;
}

/* VeeiQ Flagship Ecosystem Widget */
.j-ecosystem-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.j-ecosystem-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--ti-radius-sm, 6px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none !important;
  transition: all 180ms ease;
}

.j-ecosystem-item:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(3px);
}

.j-ecosystem-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.j-ecosystem-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.j-ecosystem-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.j-ecosystem-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.2;
}

.j-ecosystem-tag {
  font-size: 0.68rem;
  color: var(--ti-accent);
  font-weight: 600;
  margin-top: 2px;
}

/* Topics Cloud Widget */
.j-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.j-topic-pill {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.76rem;
  color: var(--ti-text-muted);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 160ms ease;
  font-family: inherit;
}

.j-topic-pill:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--ti-accent-hover);
  background: rgba(212, 175, 55, 0.08);
}


/* --------------------------------------------------------------------------
   ORGANIZATIONAL-GRADE ENHANCEMENTS (v2.6)
   - Header Search & Live Utility Bar
   - Typographic Uppercase Eyebrows (.ti-eyebrow)
   - 3-Column Spotlight Grid (.j-spotlight-*)
   - High-Density Horizontal Stream Cards (.j-stream-card--horizontal)
   - Sovereign Reader RSS Widget
   -------------------------------------------------------------------------- */

/* Header Top with Integrated Live Search */
.ti-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.j-search-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.j-search-box {
  display: flex;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ti-border);
  border-radius: 9999px;
  padding: 6px 16px;
  transition: all 200ms ease;
}

.j-search-box:focus-within {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
}

.j-search-icon {
  color: var(--ti-text-dim);
  margin-right: 10px;
  flex-shrink: 0;
  transition: color 180ms ease;
}

.j-search-box:focus-within .j-search-icon {
  color: var(--ti-accent-hover);
}

#j-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 13.5px;
  font-family: inherit;
  padding: 6px 0;
}

#j-search-input::placeholder {
  color: var(--ti-text-dim);
  font-size: 13px;
}

.j-search-clear {
  background: none;
  border: none;
  color: var(--ti-text-dim);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.j-search-clear:hover {
  color: #FFFFFF;
}

.j-search-status {
  font-size: 12px;
  color: var(--ti-accent-hover);
  font-weight: 600;
  min-height: 16px;
  padding-left: 12px;
}

/* Typographical Eyebrow (Replaces Heavy Badges) */
.ti-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ti-accent-hover);
  line-height: 1.2;
}

.ti-eyebrow .eyebrow-cat {
  color: var(--ti-accent-hover);
}

.ti-eyebrow .eyebrow-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
}

.ti-eyebrow .eyebrow-date {
  color: var(--ti-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   SPOTLIGHT SECTION (Tier 2: 3-Across Feature Grid)
   -------------------------------------------------------------------------- */
.j-spotlight-section {
  margin-bottom: 48px;
}

.j-spotlight-heading {
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ti-accent-hover);
  border-left: 3px solid var(--ti-accent);
  padding-left: 10px;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
}

.j-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .j-spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .j-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.j-spotlight-card {
  display: flex;
  flex-direction: column;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-md, 12px);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.j-spotlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--ti-border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 16px var(--ti-accent-glow);
}

.j-spotlight-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.j-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.j-spotlight-card:hover .j-spotlight-media img {
  transform: scale(1.04);
}

.j-spotlight-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.j-spotlight-title {
  font-size: 1.08rem;
  font-weight: 750;
  color: #FFFFFF !important;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 180ms ease;
}

.j-spotlight-card:hover .j-spotlight-title {
  color: var(--ti-accent-hover) !important;
}

.j-spotlight-excerpt {
  font-size: 13.5px;
  color: var(--ti-text-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.j-spotlight-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ti-text-dim);
  font-weight: 600;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   STREAM SECTION (Tier 3: Compact Horizontal Editorial Cards)
   -------------------------------------------------------------------------- */
.j-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.j-stream-heading {
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ti-accent-hover);
  border-left: 3px solid var(--ti-accent);
  padding-left: 10px;
  margin: 0;
}

.j-stream-count {
  font-size: 12px;
  color: var(--ti-text-dim);
  font-weight: 600;
}

/* Horizontal Stream Card (Apple / Stripe / BBC standard) */
.j-stream-card--horizontal {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 18px;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-md, 12px);
  text-decoration: none !important;
  align-items: stretch;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.j-stream-card--horizontal:hover {
  transform: translateY(-2px);
  border-color: var(--ti-border-hover);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 16px var(--ti-accent-glow);
}

.j-stream-card__thumb {
  width: 210px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.j-stream-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.j-stream-card--horizontal:hover .j-stream-card__thumb img {
  transform: scale(1.04);
}

.j-stream-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.j-stream-card__title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #FFFFFF !important;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  transition: color 180ms ease;
}

.j-stream-card--horizontal:hover .j-stream-card__title {
  color: var(--ti-accent-hover) !important;
}

.j-stream-card__excerpt {
  font-size: 13.5px;
  color: var(--ti-text-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.j-stream-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ti-text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

@media (max-width: 680px) {
  .j-stream-card--horizontal {
    flex-direction: column;
    padding: 14px;
    gap: 14px;
  }
  .j-stream-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* Empty State */
.j-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--ti-surface);
  border: 1px dashed var(--ti-border);
  border-radius: var(--ti-radius-md, 12px);
  margin: 20px 0;
}

.j-empty-state h3 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.j-empty-state p {
  font-size: 14px;
  color: var(--ti-text-muted);
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.j-reset-btn {
  background: var(--ti-accent);
  color: #000000;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 180ms ease;
}

.j-reset-btn:hover {
  background: var(--ti-accent-hover);
}

/* Sovereign Reader Widget */
.j-sovereign-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--ti-radius-md, 12px);
  padding: 20px;
}

.j-sovereign-card h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ti-accent-hover);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.j-sovereign-card p {
  font-size: 12.5px;
  color: var(--ti-text-muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.j-rss-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  background: var(--ti-accent);
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 180ms ease;
}

.j-rss-pill:hover {
  background: var(--ti-accent-hover);
  transform: translateY(-1px);
}
