/* ==========================================================================
   [09] PÁGINA: HUB NEWS (Feed de atualizações estilo Twitter/X, posts dos usuários, imagens 16:9 e botões de curtir/comentar)
   ========================================================================== */
.dt-hub-wrapper { 
  width: 100%; 
  display: flex; 
  justify-content: center; 
  padding: 40px 20px; 
}

/* O FEED CENTRALIZADO COM FUNDO PREMIUM */
.dt-hub-feed {
  width: 100%; 
  max-width: 680px; 
  background: #161618; 
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px; 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); 
  overflow: hidden; 
  margin: 0 auto; 
}

/* Cabeçalho do Feed */
.dt-hub-topbar {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(26, 26, 30, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.dt-hub-topbar h2 { margin: 0; font-size: 20px; font-weight: 900; color: #fff; }

/* Estrutura do Post */
.dt-post-x {
  display: flex;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.dt-post-x:hover { background: rgba(255,255,255,0.02); }
.dt-post-x:last-child { border-bottom: none; }

.dt-post-x-avatar { flex-shrink: 0; }
.dt-post-x-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

.dt-post-x-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.dt-post-x-header { display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; font-size: 15px;}
.dt-post-x-header strong { color: #fff; font-weight: 800; margin-right: 6px; }
.dt-post-x-header .verified-badge { color: var(--primary); font-size: 14px; margin-right: 6px; }
.dt-post-x-header .muted { color: #71767b; font-weight: 500;}
.dt-post-x-header .dot { margin: 0 6px; }

.dt-post-x-text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.6; margin-bottom: 16px; word-wrap: break-word; }

/* Imagem Padrão X (Proporção 16:9) */
.dt-post-x-image { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 12px; }
.dt-post-x-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* Barra de Ações */
.dt-post-x-actions { display: flex; justify-content: flex-start; gap: 48px; margin-top: 8px; }
.action-btn-x { background: transparent; border: none; padding: 0; display: flex; align-items: center; gap: 8px; color: #71767b; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.action-btn-x i { font-size: 18px; padding: 8px; border-radius: 50%; transition: 0.2s; margin-left: -8px; }

.action-btn-x.reply:hover i { background: rgba(29, 155, 240, 0.1); color: #1d9bf0; }
.action-btn-x.reply:hover span { color: #1d9bf0; }
.action-btn-x.like:hover i { background: rgba(249, 24, 128, 0.1); color: #f91880; }
.action-btn-x.like:hover span { color: #f91880; }

/* MOBILE */
@media (max-width: 768px) {
  .dt-hub-wrapper { padding: 10px 0; }
  .dt-hub-feed { border-radius: 0; border-left: none; border-right: none; box-shadow: none; background: transparent;} 
  .dt-post-x { padding: 16px 12px; gap: 12px; }
  .dt-post-x-avatar img { width: 40px; height: 40px; }
  .dt-post-x-actions { gap: 30px; }
}