/* ================================
   GLOBAL THEME
=================================== */

:root {
  --bg: #0a0a0d;
  --panel: #131317;
  --text: #f4f4f4;
  --muted: #a3a3ad;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #7f5dff;
  --tag-bg: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --max-width: 760px;
  --side-padding: 32px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* ================================
   HEADER NAVIGATION
=================================== */

.header {
  display: flex;
  justify-content: flex-end;
  padding: 20px var(--side-padding);
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--text);
}

/* ================================
   PAGE STRUCTURE
=================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.site-title {
  text-align: center;
  font-size: 46px;
  margin-top: 20px;
  margin-bottom: 50px;
  font-weight: 600;
}

/* ================================
   POST LISTING
=================================== */

.section-heading {
  font-size: 22px;
  margin-bottom: 16px;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* === Post Card === */

.post-card {
  display: block;
  text-decoration: none;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: transform 0.15s ease, background 0.15s ease;
}

.post-card:hover {
  background: #191921;
  transform: translateY(-2px);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.date {
  font-size: 14px;
  color: var(--muted);
}

.tag {
  padding: 4px 10px;
  font-size: 12px;
  background: var(--tag-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.post-title {
  font-size: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text);
  margin: 6px 0 10px;
}

.post-desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.read-more {
  font-size: 14px;
  color: var(--accent);
  opacity: 0.9;
}

.read-more:hover {
  opacity: 1;
  text-decoration: underline;
}

.empty {
  color: var(--muted);
  margin-top: 20px;
}

/* ================================
   ABOUT + LINKS PAGE STYLES
=================================== */

.page-title {
  font-size: 36px;
  margin-bottom: 20px;
}

/* GENERAL link-list structure (non-conflicting) */
.link-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.link-list li {
  margin: 14px 0;
}

/* ================================
   LINKS PAGE — FINAL FIX
=================================== */

.links-container {
  text-align: center;
  margin-top: 60px;
}

/* FORCE light blue links ONLY on links.html */
.links-container .link-list a {
  color: #79b7ff !important;
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.links-container .link-list a:hover {
  opacity: 0.75;
}

/* ================================
   POST PAGE SUPPORT
=================================== */

.media-block,
.media-dual {
  /* These remain in each post's internal <style> */
}

.about-container {
    text-align: center;
    max-width: 700px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
}

.about-container p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

