/* =========================================================
   redesign.css — modern editorial overlay
   Sits AFTER style.css — overrides visual only
   ========================================================= */

/* ── Updated palette accents ── */
:root {
  --card-bg:     #101010;
  --card-border: #1e1e1e;
  --card-hover:  #141414;
  --pill-bg:     rgba(255,255,255,.04);
  --pill-border: #252525;
}

/* =========================================================
   MARQUEE — skinnier, more refined
   ========================================================= */
.marquee-band {
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: 5px;
  border-bottom-color: #1a1a1a;
  opacity: .6;
}

/* =========================================================
   HEADER — editorial, more impact
   ========================================================= */
.site-header {
  padding: 48px 20px 28px;
  background: transparent;
  border-bottom: 1px solid #191919;
  position: relative;
  overflow: hidden;
}

/* Very subtle radial glow behind title */
.site-header::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(255,255,255,.025) 0%, transparent 70%);
  pointer-events: none;
}

.site-title {
  font-size: clamp(38px, 6vw, 80px);
  letter-spacing: -1px;
  font-weight: 400;
  text-shadow: none;
  color: #ddd;
}

.ornament {
  color: #282828;
  letter-spacing: 14px;
  margin: 10px 0 6px;
  font-size: 12px;
}

.tagline {
  font-size: 11px;
  letter-spacing: 5px;
  color: #3a3a3a;
  margin-top: 2px;
}

/* =========================================================
   NAV — refined pill-style active indicator
   ========================================================= */
.main-nav {
  background: #0c0c0c;
  border-bottom: 1px solid #191919;
  gap: 0;
  padding: 0 4px;
}

.nav-link {
  font-size: 11px;
  letter-spacing: 3px;
  color: #3a3a3a;
  padding: 12px 18px;
  border-right: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  position: relative;
}

.nav-link:hover {
  color: #aaa;
  background: transparent;
}

.nav-link.active {
  color: #d0d0d0;
  border-bottom: 2px solid #505050;
}

.nav-link.admin-link {
  font-size: 13px;
  opacity: .25;
  padding: 12px 14px;
}
.nav-link.admin-link:hover { opacity: .7; }

.nav-spacer { flex: 1; }

/* =========================================================
   LAYOUT — more breathing room
   ========================================================= */
.layout {
  grid-template-columns: 1fr 220px;
  gap: 0;
  max-width: 1080px;
  padding: 28px 20px;
}
.main-col { padding-right: 28px; }

/* =========================================================
   BLOG POST CARDS — full editorial redesign
   ========================================================= */
#threadList { display: flex; flex-direction: column; gap: 2px; }

.thread-row {
  display: block;          /* override the grid */
  border: 1px solid var(--card-border);
  border-radius: 0;
  background: var(--card-bg);
  padding: 0;
  position: relative;
  transition: background .15s, border-color .2s;
  overflow: hidden;
  animation: fadeUp .2s ease both;
}
.thread-row:nth-child(even) { background: var(--card-bg); }
.thread-row:first-child { border-top: 1px solid var(--card-border); }
.thread-row:hover {
  background: var(--card-hover);
  border-color: #2e2e2e;
}

/* Hide the avatar cell — it's a personal blog, we know who wrote it */
.thread-avatar-cell { display: none; }

/* Remove the old ::before top line */
.thread-row::before { display: none; }

/* The card inner content */
.thread-info {
  padding: 22px 24px 18px;
  display: block;
  position: relative;
  z-index: 1;
}

/* Title — big, serif, dominant */
.thread-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  color: #999;
  letter-spacing: -.2px;
  line-height: 1.25;
  white-space: normal;          /* allow wrapping */
  overflow: visible;
  text-overflow: clip;
  display: block;
  margin-bottom: 10px;
  transition: color .15s;
  font-style: normal;
}
.thread-row:hover .thread-title { color: #e0e0e0; }

/* Excerpt — 2 visible lines */
.thread-excerpt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  color: #383838;
  line-height: 1.7;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 14px;
  letter-spacing: .3px;
  transition: color .15s;
}
.thread-row:hover .thread-excerpt { color: #505050; }

/* Meta row — tags left, date right */
.thread-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

/* Tags — pill style */
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #363636;
  background: transparent;
  border: 1px solid #242424;
  padding: 2px 9px;
  letter-spacing: 1.5px;
  border-radius: 20px;
  transition: color .12s, border-color .12s;
}
.tag:hover, button.tag:hover {
  color: #aaa !important;
  border-color: #444 !important;
  background: transparent !important;
}

/* Mood chip */
.mood-chip {
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 1.5px;
}

/* Date — positioned bottom-right of card */
.thread-date-cell {
  position: absolute;
  bottom: 20px; right: 22px;
  border-left: none;
  padding: 0;
  min-width: unset;
}
.thread-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #2e2e2e;
  letter-spacing: 1.5px;
  transition: color .15s;
}
.thread-row:hover .thread-date { color: #505050; }

/* Accent left border on hover */
.thread-row::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: #333;
  transition: width .2s;
}
.thread-row:hover::after { width: 2px; }

/* =========================================================
   FILTER BAR — cleaner
   ========================================================= */
.filter-bar {
  border: 1px solid var(--card-border);
  border-bottom: none;
  background: #0d0d0d;
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 2px;
}

/* =========================================================
   LOAD MORE
   ========================================================= */
.load-more-row {
  border: 1px solid var(--card-border);
  border-top: none;
  background: transparent;
  padding: 14px;
}
.btn-loadmore {
  font-size: 10px;
  letter-spacing: 3px;
  color: #333;
  border-color: #1e1e1e;
  padding: 7px 28px;
  border-radius: 0;
  transition: color .15s, border-color .15s, transform .12s;
}
.btn-loadmore:hover { color: #aaa !important; border-color: #444 !important; }

/* =========================================================
   LOADING / EMPTY STATE
   ========================================================= */
.loading-state, .empty-state {
  border-color: var(--card-border);
  background: transparent;
  padding: 80px 20px;
}
.loading-glyph { color: #2a2a2a; font-size: 32px; }
.loading-state p, .empty-state p {
  font-size: 11px; letter-spacing: 3px; color: #333;
}

/* =========================================================
   SIDEBAR — editorial, airy
   ========================================================= */
.panel {
  background: transparent;
  border: 1px solid #181818;
  margin-bottom: 8px;
}
.panel-accent {
  border-color: #1e1e1e;
  box-shadow: none;
}
.panel-head {
  background: transparent;
  border-bottom: 1px solid #181818;
  padding: 8px 12px;
  font-size: 9px;
  letter-spacing: 4px;
  color: #333;
  text-transform: uppercase;
}
.panel-body { padding: 10px 12px; }

/* Sidebar name card */
#sidebarNameCard .panel-body {
  padding: 12px;
}

/* Links list — more minimal */
.links-list a {
  font-size: 11px;
  letter-spacing: .5px;
  color: #383838;
  padding: 5px 0;
}
.links-list a::before { color: #282828; }
.links-list a:hover { color: #aaa; padding-left: 5px; }
.links-list li { border-bottom-color: #181818; }

/* Tags cloud */
.tags-cloud .tag { border-radius: 20px; }

/* Currently list */
.currently-list {
  list-style: none;
}
.currently-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #404040;
  padding: 4px 0;
  border-bottom: 1px solid #181818;
  letter-spacing: .5px;
  line-height: 1.5;
}
.currently-list li:last-child { border-bottom: none; }

/* Pride flag */
.pride-flag { border-color: #1e1e1e; height: 16px; }
.pride-caption { font-size: 10px; color: #363636; letter-spacing: 3px; margin-top: 6px; }

/* =========================================================
   GUEST BANNER — cleaner
   ========================================================= */
.guest-banner {
  background: #0d0d0d;
  border-bottom: 1px solid #1a1a1a;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #404040;
  letter-spacing: 1px;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guest-banner-icon { font-size: 12px; }
.guest-sign-link { color: #606060; text-decoration: underline; text-decoration-color: #2e2e2e; }
.guest-sign-link:hover { color: #aaa; }
.guest-banner-close {
  margin-left: auto;
  background: none; border: none;
  color: #333; cursor: pointer;
  font-size: 11px;
  transition: color .12s;
}
.guest-banner-close:hover { color: #888; }

/* =========================================================
   FOOTER — minimal
   ========================================================= */
.site-footer {
  border-top: 1px solid #191919;
  background: transparent;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #2a2a2a;
  text-align: center;
  letter-spacing: 3px;
}
.footer-sub { color: #222; font-size: 10px; margin-top: 5px; letter-spacing: 2px; }

/* =========================================================
   CUSTOM CURSOR — keep as is, just ensure z-index
   ========================================================= */
#custom-cursor { z-index: 99999; }

/* =========================================================
   POST-AUTHOR inline avatar in name card
   ========================================================= */
.post-author-name {
  font-size: 13px;
  letter-spacing: 2px;
}

/* =========================================================
   SCROLLBAR — more subtle
   ========================================================= */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #383838; }

/* =========================================================
   SELECTION
   ========================================================= */
::selection { background: #252525; color: #e0e0e0; }

