/* law-help.org article pages - matches the root pages (rebuilt 2026-08-26) */
:root {
    --color-navy: #1a2744; --color-navy-dark: #0f1829; --color-gold: #c9a55c; --color-gold-light: #e4c888; --color-gold-dark: #9c7c3a;
    --color-cream: #f8f6f1; --color-white: #ffffff; --color-text: #2d3748; --color-text-light: #64748b;
    --font-display: 'Cormorant Garamond', Georgia, serif; --font-body: 'Source Sans 3', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.6; background: var(--color-cream); }

/* Navigation (identical to the root pages) */
.nav { background: var(--color-navy); padding: 1rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--color-white); text-decoration: none; letter-spacing: 0.02em; }
.nav-logo span { color: var(--color-gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--color-white); text-decoration: none; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase; transition: color 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-gold); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--color-gold-light); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 25px; height: 2px; background: var(--color-white); margin: 6px 0; transition: 0.3s; }
.nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-navy); padding: 1rem 2rem 1.5rem; gap: 1rem; box-shadow: 0 8px 20px rgba(0,0,0,0.25); z-index: 99; }
.nav-links.open a { display: block; padding: 0.35rem 0; }

/* Article */
.article-wrap { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; }
.article-content h1 { font-family: var(--font-display); color: var(--color-navy); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.2; font-weight: 600; margin-bottom: 0.75rem; }
.article-meta { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 2rem; border-bottom: 1px solid #e2e0d8; padding-bottom: 1.5rem; }
.article-content h2 { font-family: var(--font-display); color: var(--color-navy); font-size: 1.65rem; font-weight: 600; margin: 2.5rem 0 1rem; }
.article-content p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.article-content ul, .article-content ol { margin: 0 0 1.2rem 1.5rem; }
.article-content li { margin-bottom: 0.6rem; font-size: 1.05rem; }
.article-content a { color: var(--color-gold-dark); }
.article-content strong { color: var(--color-navy); }
.article-content blockquote { border-left: 4px solid var(--color-gold); background: var(--color-white); margin: 1.2rem 0; padding: 0.8rem 1.2rem; color: var(--color-text-light); font-style: italic; }

/* Consultation CTA */
.consult-cta { background: var(--color-navy); color: var(--color-white); padding: 2rem; border-radius: 8px; margin-top: 3rem; }
.consult-cta h3 { font-family: var(--font-display); color: var(--color-gold-light); font-size: 1.6rem; margin-bottom: 0.5rem; }
.consult-cta p { margin-bottom: 1rem; color: rgba(255,255,255,0.85); }
.consult-options { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.consult-options div { background: rgba(255,255,255,0.08); padding: 0.75rem 1.25rem; border-radius: 6px; display: flex; gap: 1rem; align-items: baseline; }
.consult-options span { color: var(--color-gold); font-weight: 600; font-size: 1.2rem; }
.consult-btn { display: inline-block; background: var(--color-gold); color: var(--color-navy-dark); padding: 0.85rem 1.75rem; border-radius: 4px; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; }
.consult-btn:hover { background: var(--color-gold-light); }
.consult-cta .contact-line { margin: 1rem 0 0; font-size: 0.95rem; }
.consult-cta .contact-line a { color: var(--color-gold-light); }

/* Related articles */
.related { margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--color-white); border: 1px solid #e2e0d8; border-left: 4px solid var(--color-gold); border-radius: 6px; }
.related h3 { font-family: var(--font-display); color: var(--color-navy); font-size: 1.3rem; margin-bottom: 0.75rem; }
.related ul { list-style: none; }
.related li { margin-bottom: 0.5rem; }
.related a { color: var(--color-navy); text-decoration: none; font-weight: 500; }
.related a:hover { color: var(--color-gold-dark); text-decoration: underline; }
.back-link { display: inline-block; margin-top: 1.5rem; color: var(--color-gold-dark); text-decoration: none; font-weight: 600; }

/* Article index */
.blog-intro { color: var(--color-text-light); font-size: 1.05rem; margin-bottom: 1.5rem; }
.topic-nav { margin: 0 0 2rem; font-size: 0.9rem; }
.topic-nav a { color: var(--color-navy); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-right: 1.25rem; white-space: nowrap; }
.topic-nav a:hover { color: var(--color-gold-dark); }
.blog-section-title { font-family: var(--font-display); color: var(--color-navy); font-size: 1.7rem; font-weight: 600; margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-gold); scroll-margin-top: 6rem; }
.post-card { display: block; text-decoration: none; background: var(--color-white); border: 1px solid #e2e0d8; border-left: 4px solid var(--color-gold); border-radius: 6px; padding: 1.6rem 2rem; margin-bottom: 1.25rem; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.post-card:hover { box-shadow: 0 8px 24px rgba(26,39,68,0.12); transform: translateY(-2px); }
.post-card h2 { font-family: var(--font-display); color: var(--color-navy); font-size: 1.45rem; font-weight: 600; margin-bottom: 0.4rem; }
.post-card p { color: var(--color-text); margin-bottom: 0.6rem; }
.post-card .read-more { color: var(--color-gold-dark); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.85rem; }

/* Footer (root style) */
.footer { background: var(--color-navy-dark); color: var(--color-white); padding: 3rem 2rem 1.5rem; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-gold); }
.footer-about p { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 0.95rem; }
.footer-links h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: var(--color-white); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.state-bar-link { color: var(--color-gold); text-decoration: none; }
.state-bar-link:hover { text-decoration: underline; }

/* Disclaimer (root style) */
.disclaimer { background: var(--color-navy); padding: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.disclaimer-content { max-width: 1200px; margin: 0 auto; color: rgba(255,255,255,0.6); font-size: 0.8rem; line-height: 1.7; }
.disclaimer-content p { margin-bottom: 0.75rem; }
.disclaimer-content strong { color: rgba(255,255,255,0.8); }

/* Floating call button (mobile) */
.call-float { display: none; position: fixed; bottom: 1.25rem; right: 1.25rem; width: 56px; height: 56px; border-radius: 50%; background: var(--color-gold); color: var(--color-navy-dark); align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.3); z-index: 90; }
.call-float svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .call-float { display: flex; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .article-wrap { padding: 2.5rem 1.25rem; }
}
