/* Dementia Stops With Me — shared blog stylesheet
   Used by blog.html and every blog-*.html article page.
   Palette/typography match Brand Assets/STYLE_GUIDE.md exactly. */

:root {
  --gold: #FDD98E;
  --coral: #FCAE82;
  --espresso: #240000;
  --cream: #F7EBDA;
  --link: #9C4A2E;
  --link-hover: #7A3620;
  --action: #FF5A36;
  --action-hover: #C81D3F;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, 'Iowan Old Style', serif;
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.7;
  padding-top: 60px;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; display: block; }

/* Nav (same markup/classes as the rest of the site) */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(247,235,218,0.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(36,0,0,0.1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.site-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--espresso) !important;
  font-weight: 700;
  font-size: 14.5px;
  margin-right: auto;
}
.site-nav-brand:hover { color: var(--espresso) !important; }
.site-nav-logo { width: 28px; height: 28px; border-radius: 50%; }
.site-nav-links { display: flex; align-items: center; gap: 16px; }
.site-nav-link {
  background: none; border: none; cursor: pointer;
  color: var(--espresso);
  font-size: 14px; font-weight: 600;
  text-decoration: none; font-family: inherit;
  padding: 6px 2px;
}
.site-nav-link:hover { color: var(--link-hover); }
.site-nav-cta {
  display: inline-block;
  background: var(--action, #FF5A36);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.15s ease, transform 0.1s ease;
}
.site-nav-cta:hover { background: var(--action-hover, #C81D3F); color: #fff !important; transform: translateY(-1px); }
@media (max-width: 640px) {
  .site-nav-brand span { display: none; }
  .site-nav-links { gap: 10px; }
  .site-nav-cta { padding: 8px 14px; font-size: 12.5px; }
}

/* Blog index */
.blog-hero {
  background: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  padding: 48px 20px 52px;
  text-align: center;
}
.blog-hero-inner { max-width: 640px; margin: 0 auto; }
.blog-hero h1 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 12px; }
.blog-hero p { font-size: 16.5px; margin: 0; opacity: 0.9; }

main.blog-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 24px 70px;
}
.blog-card {
  background: #fff;
  border: 1px solid #ecd9c2;
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.blog-card:hover { box-shadow: 0 10px 26px rgba(36,0,0,0.08); transform: translateY(-1px); }
.blog-card .blog-date {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--link); opacity: 0.85;
  margin: 0 0 8px;
}
.blog-card h2 { font-size: 21px; margin: 0 0 10px; color: var(--espresso); }
.blog-card p.blog-teaser { font-size: 15.5px; margin: 0; opacity: 0.85; }

/* Blog article */
main.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 70px;
}
.article-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--link); opacity: 0.85;
  margin: 0 0 12px;
}
.article h1 { font-size: clamp(26px, 4.4vw, 36px); line-height: 1.3; margin: 0 0 20px; }
main.article p { font-size: 17.5px; margin: 0 0 18px; }
main.article h2 { font-size: 22px; margin: 34px 0 14px; }
main.article h3 { font-size: 18.5px; margin: 26px 0 10px; }
main.article ul, main.article ol { font-size: 17.5px; padding-left: 22px; margin: 0 0 18px; }
main.article li { margin-bottom: 8px; }
.article-hero-img {
  width: 100%;
  border-radius: 18px;
  margin: 4px 0 30px;
  box-shadow: 0 10px 30px rgba(36,0,0,0.08);
}
.article-callout {
  background: #fff;
  border: 1px solid #ecd9c2;
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 16px;
}
.article-callout strong { display: block; margin-bottom: 4px; }
.article-cta {
  background: #fff;
  border: 1px solid #ecd9c2;
  border-radius: 18px;
  padding: 30px 28px;
  text-align: center;
  margin: 44px 0 8px;
  box-shadow: 0 10px 30px rgba(36,0,0,0.06);
}
.article-cta h3 { margin: 0 0 10px; font-size: 20px; }
.article-cta p { font-size: 15.5px; opacity: 0.85; margin: 0 0 18px; }
.article-cta a.cta {
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  background: var(--action);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.article-cta a.cta:hover { background: var(--action-hover); transform: translateY(-1px); }
.article-disclaimer {
  font-family: -apple-system, sans-serif;
  font-size: 13px; opacity: 0.7; margin-top: 40px;
}
.article-back {
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 24px;
}

/* Footer (shared across the site) */
.site-footer {
  background: #fff;
  border-top: 1px solid #ecd9c2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 40px;
}
.site-footer-inner {
  max-width: 900px; margin: 0 auto;
  padding: 40px 24px 48px;
  display: grid; gap: 32px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
}
@media (max-width: 640px) {
  .site-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer-brand { order: -1; }
}
.site-footer-col a {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--espresso); text-decoration: none; margin-bottom: 10px;
}
.site-footer-col a:hover { color: var(--link-hover); }
.site-footer-heading {
  font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--link); margin: 0 0 14px;
}
.site-footer-logo { width: 32px; height: 32px; border-radius: 50%; margin-bottom: 10px; }
.site-footer-name { font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.site-footer-disclaimer { font-size: 12px; opacity: 0.7; margin: 0 0 14px; line-height: 1.5; }
.site-footer-copyright { font-size: 12px; opacity: 0.6; margin: 0; }
