body.theme-nexus {
  background-color: #FFFFFF;
}

.theme-nexus .site-header {
  background-color: #F8F9F9;
  border-block-start: 3px solid #F48024;
  border-block-end: 1px solid #E3E6E8;
}

.theme-nexus .button:not(.button-secondary) {
  background-color: #0A95FF;
  border-color: #0A95FF;
  color: #FFFFFF;
}

.theme-nexus :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Feed Item: Stack Overflow 3-Box Stats + Title + Tag Chips
   ========================================================================== */
.theme-nexus .community-feed {
  display: flex;
  flex-direction: column;
  border-block-start: 1px solid var(--color-border);
}

.theme-nexus .nexus-row {
  display: flex;
  align-items: flex-start;
  padding-block: 1rem;
  padding-inline: 0.5rem;
  border-block-end: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.theme-nexus .nexus-row:hover {
  background-color: #fafafb;
}

/* Stack-Style 3-Box Metrics Column */
.theme-nexus .nexus-stats-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  inline-size: 6.5rem;
  padding-inline-end: 1rem;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.theme-nexus .nexus-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
}

.theme-nexus .nexus-stat-answers {
  padding-inline: 0.35rem;
  padding-block: 0.15rem;
  border-radius: var(--radius-sm);
}

.theme-nexus .nexus-stat-answers.has-answers {
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.theme-nexus .nexus-stat-answers.has-best-answer {
  background-color: var(--color-success);
  color: #ffffff;
  border: 1px solid var(--color-success);
}

/* Row Content */
.theme-nexus .nexus-content-col {
  flex: 1 1 auto;
  min-inline-size: 0;
}

.theme-nexus .nexus-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}

.theme-nexus .nexus-title a {
  color: var(--color-secondary);
  text-decoration: none;
}

.theme-nexus .nexus-title a:hover {
  color: #005999;
}

.theme-nexus .nexus-excerpt {
  margin: 0 0 0.5rem 0;
  font-size: 0.8125rem;
  color: #3b4045;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme-nexus .nexus-row-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Stack Tag Chips */
.theme-nexus .nexus-tag-chip {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.4rem;
  padding-block: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 3px;
  background-color: #e1ecf4;
  color: #39739d;
  text-decoration: none;
}

.theme-nexus .nexus-tag-chip:hover {
  background-color: #d0e3f1;
  color: #2c5777;
}

/* Stack User Card Box */
.theme-nexus .nexus-user-card {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-inline-start: auto;
}

.theme-nexus .nexus-user-card img {
  border-radius: 2px;
}

/* ==========================================================================
   Question Detail View: Stack Layout
   ========================================================================== */
.theme-nexus .nexus-q-header {
  border-block-end: 1px solid var(--color-border);
  padding-block-end: 0.75rem;
  margin-block-end: 1rem;
}

.theme-nexus .nexus-q-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-block-start: 0.35rem;
}

.theme-nexus .nexus-post-layout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-block-end: 1.5rem;
}

.theme-nexus .nexus-vote-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  inline-size: 3rem;
  gap: 0.25rem;
}

.theme-nexus .nexus-vote-btn {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-nexus .nexus-vote-btn:hover {
  background-color: var(--color-surface-soft);
}

.theme-nexus .nexus-vote-count {
  font-size: 1.25rem;
  font-weight: 700;
  color: #6a737c;
}

.theme-nexus .nexus-check-accepted {
  font-size: 1.75rem;
  color: var(--color-success);
  line-height: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 640px) {
  .theme-nexus .nexus-row {
    flex-direction: column;
    padding-inline: 0.25rem;
  }

  .theme-nexus .nexus-stats-col {
    flex-direction: row;
    inline-size: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-inline-end: 0;
    margin-block-end: 0.5rem;
  }

  .theme-nexus .nexus-post-layout {
    flex-direction: column;
  }

  .theme-nexus .nexus-vote-rail {
    flex-direction: row;
    inline-size: 100%;
  }
}
