/* ================================================================
   Dr. Janette Camacho — Thought Leadership Blog
   Single-column card layout
   Consolidated April 2, 2026
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --surface: #050505;
  --card-bg: #111111;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(201,149,42,0.35);
  --accent: #c9952a;
  --accent-secondary: #a67518;
  --accent-glow: rgba(201,149,42,0.15);
  --text: #ffffff;
  --text-body: rgba(255,255,255,0.82);
  --text-muted: rgba(255,255,255,0.55);
  --text-dim: rgba(255,255,255,0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 50px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================================
   BLOG INDEX — HERO
   ================================================================ */
.blog-hero {
  text-align: center;
  padding: 5rem 4rem 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(201,149,42,0.06);
  border: 1px solid rgba(201,149,42,0.15);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.blog-hero .subtitle {
  color: var(--text-body);
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.blog-hero .credentials {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ================================================================
   MISMATCHED LETTER TITLE — Magazine cutout style
   ================================================================ */
.mismatch-title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.ml {
  display: inline-block;
  transition: transform 0.3s ease;
}

.ml:hover {
  transform: scale(1.15) !important;
}

.ml-space { width: 0.4em; }

.ml-a1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.3em; font-weight: 700; color: #c9952a; transform: rotate(-3deg); }
.ml-i1 { font-family: 'Inter', Arial, sans-serif; font-size: 1.4em; font-weight: 300; color: #e8d5a3; transform: rotate(2deg); letter-spacing: -0.02em; }
.ml-i2 { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: 0.85em; font-weight: 400; color: #d4a843; transform: rotate(-2deg) translateY(2px); }
.ml-n1 { font-family: 'Inter', Arial, sans-serif; font-size: 0.9em; font-weight: 800; color: #f0e0b8; transform: rotate(1deg); text-transform: lowercase; }
.ml-e1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.35em; font-weight: 700; color: #c9952a; transform: rotate(2deg); }
.ml-d1 { font-family: 'Courier New', monospace; font-size: 1em; font-weight: 700; color: #e8d5a3; transform: rotate(-4deg); }
.ml-u1 { font-family: 'Inter', Arial, sans-serif; font-size: 1.1em; font-weight: 300; color: #d4a843; transform: rotate(3deg) translateY(-2px); }
.ml-c1 { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: 0.95em; font-weight: 400; color: #f0e0b8; transform: rotate(-1deg); }
.ml-a2 { font-family: 'Inter', Arial, sans-serif; font-size: 0.9em; font-weight: 900; color: #c9952a; text-transform: uppercase; transform: rotate(2deg) translateY(3px); }
.ml-t1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.25em; font-weight: 400; color: #e8d5a3; transform: rotate(-3deg); }
.ml-i3 { font-family: 'Inter', Arial, sans-serif; font-size: 0.8em; font-weight: 700; color: #d4a843; transform: rotate(4deg) translateY(1px); }
.ml-o1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.2em; font-weight: 700; color: #f0e0b8; transform: rotate(-2deg); }
.ml-n2 { font-family: 'Courier New', monospace; font-size: 1.05em; font-weight: 700; color: #c9952a; transform: rotate(3deg); }

/* ================================================================
   BLOG INDEX — SINGLE-COLUMN CARD LIST
   ================================================================ */
.blog-feed {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Year dividers - hidden */
.year-divider { display: none !important; }

/* Card link wrapper */
.blog-entry-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.1rem;
}

/* Card */
.blog-entry {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-entry:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Card image - hidden by default, shown when has img */
.entry-image { display: none; }
.entry-image:has(img) { display: block !important; }
.article-hero-image { display: none !important; }

/* Entry body */
.entry-body {
  padding: 1.75rem;
}

/* Hide category badge */
.entry-category { display: none; }

/* Date */
.entry-date {
  display: block;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Title */
.entry-body h2 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: var(--text);
  transition: color 0.2s ease;
}

.entry-body h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-entry:hover h2,
.blog-entry-link:hover .entry-body h2,
.blog-entry-link:hover .entry-body h2 a {
  color: var(--accent);
}

/* Excerpt */
.entry-excerpt {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hide read-more link */
.entry-read-more { display: none; }

/* ================================================================
   ARTICLE — SINGLE POST
   ================================================================ */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.article-back:hover {
  color: var(--accent);
}

.article-meta {
  margin-bottom: 2rem;
}

.article-meta .category {
  display: inline-block;
  background: rgba(201,149,42,0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.article-meta h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.article-meta .byline {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-meta .byline .date { color: var(--text-dim); }
.article-meta .byline .reading-time { color: var(--text-dim); font-size: 0.82rem; }

/* Article body */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.article-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.article-body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

.article-body p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-body);
}

.article-body li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { font-style: italic; }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #0d0d0d;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* References */
.article-references {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.article-references h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.article-references ul { list-style: none; margin-left: 0; }
.article-references li {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

/* Author bio */
.author-bio {
  max-width: 760px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.author-bio-inner {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-bio-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(201,149,42,0.3);
}

.author-bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-bio-text h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.author-bio-text .author-title { color: var(--accent); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.75rem; }
.author-bio-text p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* CTA */
.article-cta {
  max-width: 760px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.article-cta-inner {
  background: linear-gradient(135deg, rgba(201,149,42,0.12), rgba(201,149,42,0.04));
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.article-cta-inner h3 { color: var(--accent); margin: 0 0 0.5rem; font-size: 1.3rem; }
.article-cta-inner p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #000;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-name { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-creds { color: var(--text-dim); font-size: 0.78rem; line-height: 1.6; margin-bottom: 1rem; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1rem;
}

.footer-links a { color: var(--text-muted); font-size: 0.82rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-dim); font-size: 0.75rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle { display: flex; }

  .blog-feed { padding: 0 1.5rem 4rem; }
  .entry-body { padding: 1.25rem; }
  .entry-body h2 { font-size: 1.05rem; }
  .blog-hero h1 { font-size: 2rem; }
  .blog-hero .subtitle { font-size: 1.15rem; }

  .author-bio-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .blog-hero { padding: 3rem 1rem 2rem; }
  .blog-feed { padding: 0 1.2rem 3rem; }
  .entry-body h2 { font-size: 1rem; }
  .mismatch-title { gap: 0; }
  .ml-space { width: 0.3em; }

  .article-header,
  .article-body,
  .author-bio,
  .article-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
