/* =============================================
   YASMIN FOR HERNDON - BLOG
   Shared stylesheet for /blog/ and all posts.
   Reuses the main site's tokens for a consistent look.
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-primary: #7C5CBF;
  --blue-dark:    #3D2B69;
  --blue-light:   #EDE8F5;
  --red:          #B56576;
  --charcoal:     #2D2438;
  --white:        #FFFFFF;
  --off-white:    #F5F2FA;
  --text:         #1A1225;
  --text-muted:   #6B5980;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --max:          760px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- NAV (identical to main site) ---------- */
.nav { background: var(--blue-dark); position: sticky; top: 0; z-index: 200; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; max-width: 1040px; margin: 0 auto; height: 62px; gap: 1rem;
}
.nav-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--white); letter-spacing: 0.04em; line-height: 1; text-transform: uppercase;
  white-space: nowrap; display: flex; align-items: center; gap: 0.6rem;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand em {
  font-style: italic; font-weight: 700; font-size: 0.9rem; color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em; text-transform: none; display: inline-block; margin: 0 0.2rem;
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 0; }
.nav-links a {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.78);
  padding: 0 0.9rem; height: 62px; line-height: 62px;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); text-decoration: none; }
.nav-links .nav-volunteer a {
  background: var(--red); color: var(--white); height: auto; line-height: 1;
  padding: 0.55rem 1.1rem; border-radius: 2px; margin-left: 0.5rem;
}
.nav-links .nav-volunteer a:hover { background: #8f3f52; }
.nav-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 62px; padding: 0; }
.nav-social svg { width: 20px; height: 20px; fill: currentColor; }
.nav-social + .nav-volunteer a { margin-left: 0.5rem; }
@media (max-width: 520px) {
  .nav-links li:not(.nav-volunteer):not(.nav-social) { display: none; }
  .nav-inner { padding: 0 1rem; }
  .nav-social a { width: 32px; }
}

/* ---------- SHARED HEADINGS ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-primary);
}

/* ---------- BLOG INDEX ---------- */
.blog-head { background: var(--blue-primary); color: var(--white); text-align: center; padding: 4rem 0 3.5rem; }
.blog-head .eyebrow { color: rgba(255,255,255,0.7); }
.blog-head h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 0.95; margin: 0.5rem 0 0.6rem;
}
.blog-head p { color: rgba(255,255,255,0.8); max-width: 460px; margin: 0 auto; }

.post-list { padding: 3.5rem 0 4rem; display: grid; gap: 2.5rem; }
.post-card { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center; }
.post-card:hover { text-decoration: none; }
.post-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; width: 100%; }
.post-card .meta { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.post-card h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.5rem; line-height: 1.1; color: var(--blue-dark); margin: 0.35rem 0 0.5rem;
}
.post-card:hover h2 { color: var(--blue-primary); }
.post-card p { color: var(--text-muted); font-size: 0.98rem; }
@media (max-width: 560px) { .post-card { grid-template-columns: 1fr; gap: 0.9rem; } }

/* ---------- ARTICLE ---------- */
.post { padding: 3rem 0 1rem; }
.post-header { text-align: center; margin-bottom: 2.5rem; }
.post-header .meta { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); }
.post-header h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.0; color: var(--blue-dark);
  margin: 0.7rem 0 0.8rem; letter-spacing: -0.01em;
}
.post-header .dek { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin: 0 auto; }
.post-cover { margin: 0 0 2.5rem; }
.post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.post-cover figcaption { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 0.6rem; }

/* Instagram (or other) embed - centered, capped at the embed's native width */
.post-embed { display: flex; justify-content: center; margin: 0 0 2.5rem; }
.post-embed .instagram-media { margin: 0 auto !important; }

.post-body { font-size: 1.12rem; }
.post-body > * + * { margin-top: 1.4rem; }
.post-body h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--blue-dark); margin-top: 2.4rem; }
.post-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--blue-dark); margin-top: 2rem; }
.post-body img { border-radius: 10px; margin: 2rem 0; }
.post-body blockquote { border-left: 4px solid var(--blue-primary); padding-left: 1.25rem; color: var(--text-muted); font-style: italic; }
.post-body hr { border: none; border-top: 1px solid var(--blue-light); margin: 2.2rem 0; }
.post-body ul, .post-body ol { padding-left: 1.4rem; }
.post-body li + li { margin-top: 0.5rem; }

.post-footer { border-top: 1px solid var(--blue-light); margin-top: 3rem; padding-top: 2rem; text-align: center; }
.post-footer .btn {
  display: inline-block; background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.85rem 2.2rem; border-radius: 2px; margin-top: 0.5rem;
}
.post-footer .btn:hover { background: #8f3f52; text-decoration: none; }
.back-link { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--text-muted); margin-top: 2rem; }

/* ---------- FOOTER (matches main site) ---------- */
.footer { background: var(--charcoal); padding: 2rem 0; text-align: center; margin-top: 3.5rem; }
.footer-links { list-style: none; display: flex; gap: 0; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); padding: 0.4rem 0.85rem; transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); max-width: 640px; margin: 0 auto; }
