/* ChristianShepherd.com - Minimal Bible Study Reference Site */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: Georgia, 'Times New Roman', 'Palatino Linotype', serif; line-height: 1.7; color: #1a1a1a; background-color: #fffef9; -webkit-font-smoothing: antialiased; }
a { color: #2c5282; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
a:hover { border-bottom-color: #2c5282; }
.site-wrapper { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.site-header { padding: 32px 0 24px; border-bottom: 1px solid #e2dcd3; margin-bottom: 32px; }
.site-header .site-wrapper { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.site-logo { font-size: 1.5rem; font-weight: bold; color: #1a1a1a; letter-spacing: -0.02em; border-bottom: none; }
.site-nav { display: flex; gap: 20px; font-size: 0.85rem; }
.site-nav a { color: #5a5a5a; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.75rem; border-bottom: none; }
.site-nav a:hover { color: #1a1a1a; border-bottom: 1px solid #1a1a1a; }
.site-nav a.active { color: #1a1a1a; border-bottom: 2px solid #2c5282; }
.search-box { margin-bottom: 32px; }
.search-box input { width: 100%; padding: 12px 16px; font-size: 1rem; font-family: Georgia, serif; border: 1px solid #d4cfc6; background: #fff; color: #1a1a1a; outline: none; transition: border-color 0.2s; }
.search-box input::placeholder { color: #999; }
.search-box input:focus { border-color: #2c5282; }
.scripture-ref { color: #2c5282; font-weight: bold; border-bottom: none; cursor: default; }
.scripture { margin: 24px 0; padding: 20px 24px; background: #f7f5f0; border-left: 3px solid #2c5282; font-style: italic; color: #2d2d2d; }
.scripture .reference { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; color: #5a5a5a; }
h1, h2, h3, h4 { font-family: Georgia, serif; color: #1a1a1a; line-height: 1.3; font-weight: normal; }
h1 { font-size: 2.2rem; margin-bottom: 8px; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #e2dcd3; }
h3 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; color: #2c5282; }
h4 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 8px; font-weight: bold; }
.content p { margin-bottom: 1.2em; }
.content ul { margin: 16px 0 24px 24px; }
.content li { margin-bottom: 0.6em; padding-left: 4px; }
.content li::marker { color: #2c5282; }
.study-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #e2dcd3; }
.study-header .study-category { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #2c5282; margin-bottom: 12px; display: block; }
.study-header h1 { font-size: 2rem; margin-bottom: 12px; }
.study-header .study-meta { font-size: 0.9rem; color: #5a5a5a; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.study-header .study-meta span { margin-right: 16px; }
.study-header .big-idea { margin-top: 20px; font-size: 1.05rem; color: #2c5282; font-style: italic; line-height: 1.6; }
/* Per-page search */
.pg-search { margin: 24px 0 32px; padding: 16px; background: #f7f5f0; border-radius: 4px; }
.pg-search input { width: 100%; padding: 10px 14px; font-size: 1rem; font-family: Georgia, serif; border: 1px solid #d4cfc6; background: #fff; color: #1a1a1a; outline: none; transition: border-color 0.2s; }
.pg-search input::placeholder { color: #999; }
.pg-search input:focus { border-color: #2c5282; }
.pg-search .pg-search-row { display: flex; gap: 8px; align-items: center; }
.pg-search .pg-search-row input { flex: 1; }
.pg-search .pg-search-clear { padding: 10px 16px; background: #e2dcd3; border: 1px solid #d4cfc6; color: #5a5a5a; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.85rem; cursor: pointer; border-radius: 2px; white-space: nowrap; }
.pg-search .pg-search-clear:hover { background: #d4cfc6; }
.pg-search .pg-search-status { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.85rem; color: #5a5a5a; margin-top: 6px; }
.search-wrapper mark { background: #fff3a8; padding: 1px 2px; border-radius: 2px; }
.study-nav { margin: 40px 0; padding: 20px 0; border-top: 1px solid #e2dcd3; border-bottom: 1px solid #e2dcd3; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.study-nav a { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #5a5a5a; border-bottom: none; }
.study-nav a:hover { color: #2c5282; border-bottom: 1px solid #2c5282; }
.study-list { list-style: none; margin: 0; padding: 0; }
.study-list li { padding: 20px 0; border-bottom: 1px solid #eae5db; }
.study-list li:last-child { border-bottom: none; }
.study-list .study-title { font-size: 1.2rem; font-weight: bold; display: block; margin-bottom: 4px; color: #1a1a1a; border-bottom: none; }
.study-list .study-title:hover { border-bottom: 1px solid #2c5282; }
.study-list .study-text { font-size: 0.85rem; color: #2c5282; margin-bottom: 6px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.study-list .study-preview { font-size: 0.95rem; color: #5a5a5a; line-height: 1.5; }
.site-footer { margin-top: 64px; padding: 32px 0; border-top: 1px solid #e2dcd3; text-align: center; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.75rem; color: #999; }
.site-footer a { color: #5a5a5a; border-bottom: none; }
.site-footer a:hover { color: #2c5282; }
@media print { .site-header, .site-nav, .study-nav, .site-footer, .search-box { display: none; } body { background: white; color: black; } .site-wrapper { max-width: 100%; padding: 0; } .scripture { background: none; border-left: 2px solid #000; } }
@media (max-width: 600px) { html { font-size: 16px; } .site-header .site-wrapper { flex-direction: column; gap: 8px; } .study-nav { flex-direction: column; gap: 8px; } h1 { font-size: 1.8rem; } h2 { font-size: 1.35rem; } }
/* Dark mode removed -- site is light mode only for readability */

/* Ensure light mode always applies */
html { background-color: #fffef9 !important; }
body { background-color: #fffef9 !important; color: #1a1a1a !important; }
h1, h2, h3, h4 { color: #1a1a1a !important; }
a { color: #2c5282 !important; }
.scripture { background: #f7f5f0 !important; color: #2d2d2d !important; }
.study-header .study-meta { color: #5a5a5a !important; }
.study-list .study-preview { color: #5a5a5a !important; }
.site-footer { color: #999 !important; }
.site-footer a { color: #5a5a5a !important; }
.search-box input { background: #fff !important; color: #1a1a1a !important; border-color: #d4cfc6 !important; }
.site-header { border-bottom-color: #e2dcd3 !important; }
.site-footer { border-top-color: #e2dcd3 !important; }
.study-list li { border-bottom-color: #eae5db !important; }
h2 { border-bottom-color: #e2dcd3 !important; }
.study-nav { border-top-color: #e2dcd3 !important; border-bottom-color: #e2dcd3 !important; }
.study-header { border-bottom-color: #e2dcd3 !important; }
.study-header .big-idea { color: #2c5282 !important; }
.study-list .study-text { color: #2c5282 !important; }
.study-header .study-category { color: #2c5282 !important; }
.site-nav a { color: #5a5a5a !important; }
.scripture .reference { color: #5a5a5a !important; }
.search-box input::placeholder { color: #999 !important; }
