:root { --bg-color-rgb: 232, 137, 68; --primary-color: #201511; --secondary-color: #e1d6c5; --text-color-muted: rgba(0,0,0,0.15); --table-header-bg: rgba(0,0,0,0.07); --link-color: #201511; }
html { scroll-behavior: smooth; }
body { padding-top: 60px; justify-content: center; align-items: center; }
.container { max-width: 810px; padding: 20px 40px; margin: 0 auto; margin-top: 4em; margin-bottom: 4em; z-index: 999; position: relative; width: 100%; box-sizing: border-box; background: #e1d6c5; border-radius: .5em; }
.breadcrumb { display: inline-block; margin-bottom: 0; font-size: 0.9em; color: var(--text-color); text-decoration: none; opacity: 0.7; transition: color 0.3s, opacity 0.3s; border-bottom: 1px solid transparent; }
.breadcrumb:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); opacity: 1; }
.top-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5em; }
.action-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background-color: var(--secondary-color); color: var(--primary-color) !important; text-decoration: none !important; border: none; border-radius: 999px; font-size: 0.8em; font-weight: bold; transition: background-color 0.3s, transform 0.3s; border-bottom: none !important; text-transform: uppercase; }
.action-button:hover { background-color: var(--primary-color); color: var(--secondary-color) !important; transform: translateY(-2px); }
#networkCanvas { display: none; }
h1 span { color: var(--primary-color) }
h1, h2, h3, h4 { font-family: 'Archivo', sans-serif; color: var(--text-color); margin: 0 }
h1 { text-align: center; } h3 { font-weight: 500 }
#back-to-top { position: fixed; bottom: 20px; right: 20px; display: none; background-color: var(--primary-color); color: var(--secondary-color) !important; width: 40px; height: 40px; text-align: center; line-height: 40px; border-radius: 50%; z-index: 1000; transition: opacity 0.3s, background-color 0.3s; text-decoration: none !important; border-bottom: none !important; }
#back-to-top:hover { background-color: var(--secondary-color); color: var(--primary-color) !important; }
#chapter-nav { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); z-index: 1001; display: flex; flex-direction: column; gap: 10px; }
#chapter-nav a { writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 5px; font-size: 0.75em; text-decoration: none; color: var(--text-color); background-color: rgba(0,0,0,0.07); border-radius: 5px; transition: all 0.3s ease; opacity: 0.6; text-transform: uppercase; letter-spacing: 1px; font-family: 'Archivo', sans-serif; }
#chapter-nav a:hover, #chapter-nav a.active { background-color: var(--primary-color); color: var(--secondary-color) !important; opacity: 1; transform: translateX(-3px) rotate(180deg); }
#mobile-chapter-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; z-index: 1002; background-color: rgba(var(--bg-color-rgb), 0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border-bottom: 1px solid var(--text-color-muted); }
#nav-toggle { display: flex; align-items: center; justify-content: center; padding: 15px; cursor: pointer; font-size: 1em; background: none; border: none; color: var(--text-color); width: 100%; font-family: 'Archivo', sans-serif; }
#nav-toggle i { margin-left: 10px; }
#nav-links-container { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out; }
#nav-links-container.open { max-height: 500px; }
#nav-links-container a { display: block; padding: 15px; text-align: center; text-decoration: none; color: var(--text-color); border-top: 1px solid var(--text-color-muted); transition: background-color 0.3s; }
#nav-links-container a.active { background-color: var(--primary-color); color: var(--secondary-color) !important; }
.essay-content h1 { font-size: 2.2em; margin-bottom: 0.2em; font-weight: 500; }
.essay-content h3.authors { text-align: center; font-size: 1.4em; font-weight: 300; color: var(--text-color); margin-bottom: 0.5em; font-style: normal; margin-top: .25em; }
.essay-content p.authors { text-align: center; font-size: 1em; color: var(--text-color); opacity: 0.7; margin-bottom: 4em; font-style: italic; }
.essay-content h2 { font-size: 1.7em; margin-top: 2.5em; margin-bottom: 1em; text-align: left; color: var(--text-color); border-bottom: 1px solid var(--text-color-muted); padding-bottom: 0.3em; font-weight: 500; }
.essay-content h3 { font-size: 1.4em; font-weight: 700; margin-top: 2em; margin-bottom: 0.8em; text-align: left; }
.essay-content h4 { font-size: 1.2em; font-weight: bold; margin-top: 1.5em; margin-bottom: 0.5em; text-align: left; font-style: italic; color: var(--text-color); }
.essay-content p, .essay-content li { font-size: 1.1rem; line-height: 1.7; text-align: left; margin-bottom: 1.2em; }
.essay-content ul { list-style-type: disc; padding-left: 2em; text-align: left; }
.essay-content a { color: var(--link-color); text-decoration: none; border-bottom: 1px dotted var(--link-color); transition: color 0.2s, border-bottom 0.2s; }
.essay-content a:hover { color: var(--primary-color); border-bottom: 1px solid var(--primary-color); }
.essay-content strong { font-weight: 700; color: var(--text-color); }
.essay-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.85em; }
.essay-content th, .essay-content td { border: 1px solid var(--text-color-muted); padding: 0.8em; text-align: left; vertical-align: top; }
.essay-content th { background-color: var(--table-header-bg); font-weight: 700; }
.references p { font-size: 0.9rem; text-indent: -2em; padding-left: 2em; }
@media (max-width: 1200px) { #chapter-nav { display: none; } #mobile-chapter-nav { display: block; } }
@media (min-width: 1201px) { body { padding-top: 0; } }
@media print { body { padding-top: 0 !important; background-color: #fff !important; } #chapter-nav, #mobile-chapter-nav, #theme-toggle, #back-to-top, #networkCanvas, .top-actions .breadcrumb, .action-button { display: none !important; } .container { max-width: 100%; margin: 0; padding: 0; } body, .essay-content h1, .essay-content h2, .essay-content h3, .essay-content h4 { color: #000 !important; } .essay-content h1 span, .essay-content strong { color: #000 !important; font-weight: bold; } .essay-content a { color: #000 !important; text-decoration: underline; border: none; } }
