/* ── A DJ's Journey — Blog Stylesheet ──
   Shares Gen C design tokens with episode.css
   Fonts: Bebas Neue (display) · DM Serif Display (serif) · DM Sans (body)
*/

:root {
  --bg:       #130d08;
  --bg2:      #1c1208;
  --bg3:      #251808;
  --gold:     #c4500a;
  --gold2:    #a03d08;
  --amber:    #d4a96a;
  --cream:    #e8d8b0;
  --muted:    #8a7060;
  --faint:    #2e1e10;
  --white:    #f5ead8;
  --sans:     'DM Sans', sans-serif;
  --serif:    'DM Serif Display', serif;
  --display:  'Bebas Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(14,13,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--faint);
}
.nav-logo {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
}
.nav-logo span { color: var(--cream); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold2); text-decoration: none; }

/* ── BLOG LISTING PAGE ── */
.blog-hero {
  padding: 100px 40px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 16px;
}
.blog-hero .subtitle {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted);
  font-style: italic;
  max-width: 600px;
}

.blog-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--bg2);
  border: 1px solid var(--faint);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}
.blog-card:hover {
  border-color: var(--gold2);
  background: var(--bg3);
  text-decoration: none;
}
.blog-card-img {
  aspect-ratio: 16/10;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.blog-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.blog-card-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
  .blog-card-img {
    aspect-ratio: 16/9;
  }
}

/* ── BLOG POST PAGE ── */
.post-header {
  padding: 100px 40px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.post-breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.post-breadcrumb a { color: var(--muted); }
.post-breadcrumb a:hover { color: var(--gold); }
.post-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.post-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-bottom: 16px;
}
.post-subtitle {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 20px;
}
.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--faint);
}
.post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.post-tags .tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--faint);
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid transparent;
}
.post-tags .tag.gold {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── POST BODY ── */
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}
.post-body h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin: 48px 0 16px;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--amber);
  margin: 32px 0 12px;
}
.post-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cream);
  margin-bottom: 20px;
}
.post-body p strong { color: var(--white); }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--bg2);
  border-radius: 0 4px 4px 0;
}
.post-body blockquote p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--amber);
  margin-bottom: 0;
}
.post-body blockquote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}
.post-body ul, .post-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.post-body li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.post-body hr {
  border: none;
  border-top: 1px solid var(--faint);
  margin: 40px 0;
}

/* ── EPISODE LINK CARD ── */
.episode-link {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg2);
  border: 1px solid var(--faint);
  border-radius: 4px;
  margin: 24px 0;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.episode-link:hover {
  border-color: var(--gold2);
  text-decoration: none;
}
.episode-link-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.episode-link-info { display: flex; flex-direction: column; gap: 2px; }
.episode-link-guest {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
}
.episode-link-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── VIDEO EMBEDS ── */

/* Standard YouTube (16:9) */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin: 28px 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg2);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Short-form vertical video (9:16) — TikTok, Reels, YouTube Shorts */
.video-short {
  max-width: 340px;
  margin: 28px auto;
}
.video-short-inner {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 */
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--faint);
}
.video-short-inner iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* TikTok embed container */
.tiktok-embed-container {
  max-width: 340px;
  margin: 28px auto;
}

/* Instagram embed container */
.instagram-embed-container {
  max-width: 400px;
  margin: 28px auto;
}

/* Video grid — for showing multiple clips side by side */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.video-grid .video-short {
  margin: 0;
  max-width: 100%;
}

/* Video caption */
.video-caption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ── POST FOOTER ── */
.post-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px 60px;
}
.post-cta {
  background: var(--bg2);
  border: 1px solid var(--faint);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
}
.post-cta h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.post-cta p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.post-cta .cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.post-cta .cta-btn:hover { background: var(--gold2); }

/* ── SITE FOOTER ── */
.site-footer-unified {
  border-top: 1px solid var(--faint);
  padding: 32px 40px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.site-footer-unified a { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .blog-hero, .post-header, .post-body, .post-footer { padding-left: 20px; padding-right: 20px; }
  .blog-grid { padding-left: 20px; padding-right: 20px; }
  .post-title { font-size: 2rem; }
  .video-short { max-width: 100%; }
}
