/*
 * single.css – Single Blog Post Styles
 * File location: /wp-content/themes/mystic-media/assets/css/single.css
 */

/* ── Reset & Root ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #00D4FF;
  --black: #0A0A0A;
  --bg-card: #12121A;
  --t100: #FFFFFF;
  --t80: #CCCCCC;
  --t50: #888888;
  --border: rgba(255,255,255,0.05);
  --border-cyan: rgba(0,212,255,0.15);
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--black); color: var(--t100); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* Dot grid (reused from global) */
.dot-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,212,255,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Blog hero tag */
.blog-hero__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ── Post content typography ──────────────────────────── */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin: 2rem 0 1rem;
}
.entry-content h2 { font-size: 1.5rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content p  { margin-bottom: 1.5rem; color: #ccc; line-height: 1.8; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; color: #ccc; }
.entry-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.entry-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(0,212,255,0.04);
  border-radius: 0 8px 8px 0;
  color: #aaa;
  font-style: italic;
}
.entry-content a { color: var(--cyan); text-decoration: underline; }
.entry-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-cyan);
}
.entry-content code {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 5px;
  padding: 0.15em 0.5em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875em;
  color: var(--cyan);
}
.entry-content pre {
  background: #0c0c12;
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 10px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}
.entry-content pre code { background: none; border: none; padding: 0; }
.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Footer styles (shared) */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 32px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: #555; line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #555; transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: #00D4FF; border-color: rgba(0,212,255,0.3); }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #555; transition: color 0.2s; }
.footer-col ul li a:hover { color: #00D4FF; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; margin-bottom: 14px; }
.footer-contact-item svg { width: 14px; height: 14px; stroke: #00D4FF; stroke-width: 1.5; fill: none; flex-shrink: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 12px; color: #333;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}