/* ============================================
   Callia — Blog
   Minimal. Dark. Clean.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---- Nav (reused) ---- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.nav-logo svg { width: 28px; height: 28px; }
.nav-logo span { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover { color: rgba(255, 255, 255, 0.8); }

.nav-cta {
  padding: 8px 20px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.nav-cta:hover { opacity: 0.88; }

/* ---- Blog layout ---- */

.blog-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

/* ---- Blog listing ---- */

.blog-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2rem;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.blog-card-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.5rem;
}

.blog-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.blog-card-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* ---- Article ---- */

.article-back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.article-back:hover { color: rgba(255, 255, 255, 0.7); }

.article-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
}

.article h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.article-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.article-content p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article-content strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.article-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.8;
}

.article-video {
  max-width: 380px;
  margin: 2rem auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  aspect-ratio: 9 / 16;
}

.article-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: 1rem !important;
}

.article-cta .btn {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.article-cta .btn:hover { opacity: 0.88; }

/* ---- Footer ---- */

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.15);
}

.footer a {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.footer a:hover { color: rgba(255, 255, 255, 0.5); }

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .blog-header h1 { font-size: 1.7rem; }
  .article h1 { font-size: 1.5rem; }
  .blog-card { padding: 1.5rem; }
}
