/* Tina Marie's Recovery Home — Blog Stylesheet
   Inherits design tokens from main site. Article-focused layout. */

:root {
  --red-primary: #8B1A1A;
  --red-dark: #5C1010;
  --red-light: #B22222;
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --cream: #F5F0EB;
  --warm-gray: #6B5B4F;
  --dark: #1A1A1A;
  --text-primary: #2D2420;
  --text-secondary: #5A4E45;
  --gold-accent: #C9A96E;
  --shadow-soft: 0 4px 20px rgba(139,26,26,0.08);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text-primary); background: var(--white); line-height: 1.7; overflow-x: hidden; }

/* NAV (mirrors main site) */
nav { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(139,26,26,0.1); padding: 12px 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--red-primary); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-primary); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--red-primary); }
.nav-cta { background: var(--red-primary); color: var(--white) !important; padding: 10px 22px; border-radius: 4px; transition: background 0.3s, transform 0.2s !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); }

/* BLOG HEADER (top of post / index page) */
.blog-header { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 100%); color: var(--white); padding: 130px 30px 70px; text-align: center; }
.blog-header .breadcrumb { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.blog-header .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.blog-header .breadcrumb a:hover { color: var(--white); }
.blog-header h1 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; line-height: 1.2; max-width: 900px; margin: 0 auto 22px; color: var(--white); }
.blog-header .meta { font-size: 14px; color: rgba(255,255,255,0.8); }
.blog-header .meta a { color: var(--gold-accent); text-decoration: none; font-weight: 600; }

/* ARTICLE BODY */
article { max-width: 760px; margin: 0 auto; padding: 70px 30px 60px; }
article .lede { font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; line-height: 1.6; color: var(--text-primary); margin-bottom: 36px; padding-left: 22px; border-left: 3px solid var(--gold-accent); }
article p { font-size: 17px; line-height: 1.85; color: var(--text-primary); margin-bottom: 22px; }
article h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--text-primary); margin: 48px 0 18px; line-height: 1.3; }
article h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--text-primary); margin: 32px 0 14px; line-height: 1.3; }
article ul, article ol { margin: 0 0 22px 28px; }
article li { font-size: 17px; line-height: 1.8; color: var(--text-primary); margin-bottom: 10px; }
article a { color: var(--red-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
article a:hover { color: var(--red-dark); }
article strong { color: var(--text-primary); font-weight: 700; }
article blockquote { border-left: 4px solid var(--red-primary); background: var(--cream); padding: 22px 26px; margin: 32px 0; border-radius: 0 6px 6px 0; }
article blockquote p { font-family: 'Playfair Display', serif; font-size: 18px; font-style: italic; color: var(--text-primary); margin-bottom: 8px; }
article blockquote cite { display: block; font-size: 13px; color: var(--text-secondary); font-style: normal; letter-spacing: 0.5px; }
article .testimonial-disclosure { font-size: 13px; color: var(--text-secondary); font-style: italic; margin-top: -14px; margin-bottom: 28px; padding: 8px 14px; background: var(--off-white); border-radius: 4px; }
article hr { border: none; border-top: 1px solid rgba(139,26,26,0.15); margin: 48px 0; }
article .key-takeaway { background: var(--cream); border-left: 4px solid var(--gold-accent); padding: 22px 26px; margin: 32px 0; border-radius: 0 6px 6px 0; }
article .key-takeaway h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--red-primary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1.5px; }

/* IN-POST FAQ */
.post-faq { max-width: 760px; margin: 0 auto; padding: 0 30px 50px; }
.post-faq h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }
.faq-item { background: var(--off-white); border: 1px solid rgba(139,26,26,0.08); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--text-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Lato', sans-serif; font-size: 26px; font-weight: 300; color: var(--red-primary); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; font-size: 16px; line-height: 1.8; color: var(--text-secondary); }

/* AUTHOR BOX */
.author-box { max-width: 760px; margin: 50px auto; padding: 28px; background: var(--cream); border-radius: 10px; display: flex; gap: 22px; align-items: flex-start; }
.author-box .author-photo { width: 88px; height: 88px; border-radius: 50%; background: var(--red-primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; flex-shrink: 0; }
.author-box .author-info h4 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--text-primary); margin-bottom: 6px; }
.author-box .author-info .role { font-size: 13px; color: var(--red-primary); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.author-box .author-info p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }

/* CTA BLOCK */
.post-cta { max-width: 760px; margin: 50px auto 0; padding: 40px 32px; background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 100%); color: var(--white); border-radius: 10px; text-align: center; }
.post-cta h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 12px; }
.post-cta p { font-size: 16px; color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.post-cta .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.post-cta .btn-white { display: inline-block; background: var(--white); color: var(--red-primary); padding: 14px 30px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: transform 0.2s; }
.post-cta .btn-white:hover { transform: translateY(-2px); }
.post-cta .btn-outline { display: inline-block; color: var(--white); padding: 14px 30px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; transition: all 0.2s; }
.post-cta .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* RELATED POSTS */
.related { max-width: 1100px; margin: 70px auto 0; padding: 0 30px; }
.related h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--text-primary); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { background: var(--off-white); padding: 26px; border-radius: 8px; border: 1px solid rgba(139,26,26,0.06); border-top: 3px solid var(--red-primary); transition: all 0.3s; }
.related-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.related-card .tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-primary); margin-bottom: 12px; }
.related-card h4 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--text-primary); margin-bottom: 10px; line-height: 1.3; }
.related-card h4 a { color: var(--text-primary); text-decoration: none; }
.related-card h4 a:hover { color: var(--red-primary); }
.related-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* BLOG INDEX */
.blog-list { max-width: 1100px; margin: 60px auto; padding: 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--off-white); padding: 32px 28px; border-radius: 10px; border: 1px solid rgba(139,26,26,0.06); border-top: 3px solid var(--red-primary); transition: all 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.blog-card .tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-primary); margin-bottom: 14px; padding: 4px 10px; background: rgba(139,26,26,0.08); border-radius: 3px; align-self: flex-start; }
.blog-card h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text-primary); margin-bottom: 12px; line-height: 1.3; }
.blog-card h2 a { color: var(--text-primary); text-decoration: none; }
.blog-card h2 a:hover { color: var(--red-primary); }
.blog-card .excerpt { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; flex-grow: 1; }
.blog-card .read-more { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-primary); text-decoration: none; }
.blog-card .read-more:hover { color: var(--red-dark); }

/* FOOTER (mirrors main site) */
footer { background: var(--dark); color: rgba(255,255,255,0.6); text-align: center; padding: 40px 30px; font-size: 13px; margin-top: 80px; }
footer .footer-text { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--white); font-weight: 700; margin-bottom: 12px; }
footer p { margin-bottom: 6px; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 968px) {
  .blog-header h1 { font-size: 32px; }
  .blog-header { padding: 110px 20px 50px; }
  article { padding: 50px 24px 40px; }
  article p, article li { font-size: 16px; }
  article h2 { font-size: 26px; }
  .blog-list { grid-template-columns: 1fr; padding: 0 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.show { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; gap: 16px; box-shadow: var(--shadow-medium); }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}
