/* ============================================
   POSTS.CSS - Styles specific to posts.html
   ============================================ */

/* Override max-width for posts page */
:root {
  --max: 800px;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 60px 0 40px;
}
.page-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.page-title svg {
  color: var(--accent);
  width: 48px;
  height: 48px;
}
.page-subtitle {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}
.page-subtitle a {
  color: #1DA1F2;
  font-weight: 700;
}

/* Posts page specific curated post styling */
.curated-posts {
  margin-bottom: 32px;
}

.curated-post {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.curated-post::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: var(--transition);
}
.curated-post:hover {
  border-color: rgba(124,92,255,.3);
}
.curated-post:hover::before { opacity: 1; }

.curated-post-header {
  margin-bottom: 12px;
}
.curated-post-title {
  font-size: 17px;
  line-height: 1.4;
}
.curated-post-date {
  padding: 4px 10px;
  background: rgba(124,92,255,.1);
  border-radius: 8px;
}
.curated-post-snippet {
  font-size: 15px;
  line-height: 1.7;
}

/* Section Divider */
.section-divider {
  text-align: center;
  margin: 40px 0;
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}
.section-divider span {
  background: var(--bg);
  padding: 0 20px;
  position: relative;
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}

/* Live Feed Toggle */
.live-feed-toggle {
  text-align: center;
  margin: 32px 0;
}
.live-feed-toggle p {
  color: var(--faint);
  font-size: 14px;
  margin-bottom: 16px;
}

/* Live Feed Container - posts page specific */
.live-feed-container {
  margin-top: 24px;
}
.live-feed-content {
  min-height: 200px;
}
.live-feed-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px;
  color: var(--muted);
  font-weight: 600;
}
.live-feed-loading .loading-spinner {
  border-top-color: #1DA1F2;
}

/* Footer - posts page specific */
.footer {
  margin-top: 60px;
  padding: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--faint);
  font-size: 14px;
}
.footer a {
  color: var(--muted);
  font-weight: 600;
}
.footer a:hover {
  color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .page-title { font-size: 32px; }
  .page-title svg { width: 32px; height: 32px; }
  .curated-post-header { flex-direction: column; gap: 8px; }
}
