/* Shared styles for /modules/XX-* pages */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'General Sans', 'Helvetica Neue', sans-serif; color: #3a3835; font-size: 16px; line-height: 1.75; background: #F8F7F4; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .logo { font-family: 'Erode', 'Georgia', serif; color: #252420; }
a { color: #5A8A6A; }
p { margin-bottom: 16px; }

header { position: fixed; top: 0; width: 100%; background: white; z-index: 1000; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.nav-inner { max-width: 1120px; width: 92%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { font-size: 18px; font-weight: 500; text-decoration: none; display: flex; align-items: center; }
.logo span { color: #5A8A6A; margin-left: 4px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: #555; text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color 0.2s; }
nav a:hover, nav a.active { color: #5A8A6A; }
.nav-cta { background: #5A8A6A; color: white !important; padding: 9px 22px; border-radius: 9999px; font-weight: 600; }

.btn { display: inline-block; background: #5A8A6A; color: white; padding: 14px 36px; border-radius: 9999px; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.3s; }
.btn:hover { background: #497056; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #5A8A6A; border: 2px solid #5A8A6A; }
.btn-outline:hover { background: #5A8A6A; color: white; }

.module-header { padding: 130px 0 32px; max-width: 800px; width: 92%; margin: 0 auto; text-align: center; }
.module-header .breadcrumb { font-size: 12px; color: #888; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.module-header .breadcrumb a { color: #5A8A6A; text-decoration: none; }
.module-header .wk-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #C4836A; font-weight: 600; margin-bottom: 12px; }
.module-header h1 { font-size: 42px; font-weight: 400; line-height: 1.15; margin-bottom: 16px; }
.module-header .lede { font-size: 17px; color: #777; line-height: 1.6; }
.module-meta { display: flex; justify-content: center; gap: 32px; margin-top: 28px; flex-wrap: wrap; font-size: 12px; color: #999; letter-spacing: 0.06em; text-transform: uppercase; }
.module-meta span strong { color: #5A8A6A; font-weight: 700; }

.tier-badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; background: #EFF2EE; color: #5A8A6A; margin-bottom: 20px; }

.content { max-width: 720px; width: 92%; margin: 32px auto; background: white; padding: 56px 48px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.content h2 { font-size: 26px; font-weight: 500; margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 1px solid #e8e6e2; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 20px; font-weight: 500; margin: 28px 0 12px; color: #252420; }
.content p { font-size: 16px; line-height: 1.8; color: #3a3835; margin-bottom: 16px; }
.content ul, .content ol { margin: 0 0 16px 24px; }
.content li { margin-bottom: 8px; line-height: 1.75; }
.content strong { color: #252420; }
.content blockquote { border-left: 3px solid #5A8A6A; padding: 12px 20px; background: #F8F7F4; margin: 20px 0; font-style: italic; color: #555; border-radius: 0 6px 6px 0; }

.learning-objectives { background: #EFF2EE; padding: 24px 28px; border-radius: 10px; margin: 24px 0 32px; border-left: 4px solid #5A8A6A; }
.learning-objectives h3 { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #5A8A6A; margin: 0 0 12px; font-family: 'General Sans', sans-serif; font-weight: 700; }
.learning-objectives ol { margin: 0 0 0 20px; }
.learning-objectives li { margin-bottom: 8px; font-size: 14.5px; line-height: 1.6; }

.readings-box { background: #FCFBF9; padding: 20px 24px; border-radius: 10px; margin: 16px 0; border: 1px solid #e8e6e2; }
.readings-box h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #C4836A; margin: 0 0 10px; font-family: 'General Sans', sans-serif; font-weight: 700; }
.readings-box ul { margin: 0 0 0 20px; list-style: none; padding-left: 0; }
.readings-box li { margin-bottom: 6px; font-size: 14.5px; padding-left: 20px; position: relative; }
.readings-box li::before { content: "→"; position: absolute; left: 0; color: #5A8A6A; font-weight: 700; }

.exercise-box { background: #F5EFE9; padding: 24px 28px; border-radius: 10px; margin: 24px 0; border-left: 4px solid #C4836A; }
.exercise-box h3 { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #C4836A; margin: 0 0 12px; font-family: 'General Sans', sans-serif; font-weight: 700; }
.exercise-box p { font-size: 15px; line-height: 1.7; color: #3a3835; }

.selfcheck { background: #252420; color: white; padding: 32px; border-radius: 10px; margin: 32px 0; }
.selfcheck h3 { color: white; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; font-family: 'General Sans', sans-serif; font-weight: 600; }
.selfcheck ol { margin-left: 20px; }
.selfcheck li { margin-bottom: 10px; font-size: 15px; line-height: 1.6; color: #e0e0e0; }

.citations { margin: 32px 0; padding: 24px 28px; background: #F8F7F4; border-radius: 10px; border-left: 3px solid #252420; font-size: 14px; line-height: 1.7; }
.citations h3 { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #252420; margin: 0 0 12px; font-family: 'General Sans', sans-serif; font-weight: 700; }
.citations ol { margin: 0 0 0 20px; color: #555; }
.citations li { margin-bottom: 8px; }
.citations em { color: #252420; }

.module-nav { display: flex; justify-content: space-between; gap: 16px; margin: 48px 0 32px; flex-wrap: wrap; }
.module-nav a { flex: 1; min-width: 240px; padding: 20px 24px; background: white; border: 1px solid #e8e6e2; border-radius: 10px; text-decoration: none; color: inherit; transition: all 0.2s; }
.module-nav a:hover { border-color: #5A8A6A; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.module-nav .direction { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.module-nav .title { font-family: 'Erode', serif; font-size: 16px; color: #252420; font-weight: 500; }
.module-nav a.next { text-align: right; }

.next-cta { background: linear-gradient(135deg, #5A8A6A 0%, #497056 100%); color: white; padding: 40px; border-radius: 12px; text-align: center; margin: 32px 0; }
.next-cta h3 { color: white; font-size: 22px; margin-bottom: 12px; font-weight: 500; }
.next-cta p { color: rgba(255,255,255,0.9); margin-bottom: 20px; font-size: 15px; }
.next-cta .btn-white { background: white; color: #252420; padding: 14px 36px; border-radius: 9999px; text-decoration: none; font-weight: 700; display: inline-block; }

.contact { background: #333; color: white; padding: 48px 0; margin-top: 64px; }
.contact-inner { max-width: 1080px; width: 92%; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.contact-col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #5A8A6A; margin-bottom: 8px; }
.contact-col p { color: #bbb; font-size: 13px; line-height: 1.7; }
.contact-col a { color: #5A8A6A; text-decoration: none; }
footer { background: #2b2b2b; color: #777; text-align: center; padding: 20px; font-size: 12px; }
footer a { color: #5A8A6A; text-decoration: none; }

@media (max-width: 768px) {
    nav { display: none; }
    .module-header h1 { font-size: 30px; }
    .content { padding: 32px 24px; }
    .module-nav a { min-width: unset; width: 100%; }
}
