/* ==========================================================================
   Applied Human Conduct Review (cfahc.org)
   Style Sheet: Strict Text-Only, Academic / LKML-inspired Plain Style
   No images, no gradients, no shadows, pure semantic clarity.
   ========================================================================== */

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --link-color: #0000ee;
  --visited-color: #551a8b;
  --active-color: #ee0000;
  --border-color: #cccccc;
  --muted-text: #444444;
  --code-bg: #f6f8fa;
  --box-bg: #f9f9f9;
  --font-mono: ui-monospace, "SF Mono", "DejaVu Sans Mono", "Menlo", "Consolas", monospace;
  --font-serif: "Times New Roman", Times, "Liberation Serif", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Page base */
html {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
}

body {
  margin: 0;
  padding: 16px 20px 40px 20px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Standard Links */
a {
  color: var(--link-color);
  text-decoration: underline;
}

a:visited {
  color: var(--visited-color);
}

a:active {
  color: var(--active-color);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: bold;
  color: #000000;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
}

h1 {
  font-size: 1.4em;
  border-bottom: 2px solid #000000;
  padding-bottom: 4px;
}

h2 {
  font-size: 1.2em;
  border-bottom: 1px solid #333333;
  padding-bottom: 2px;
}

h3 {
  font-size: 1.05em;
}

/* Dividers */
hr {
  border: 0;
  border-top: 1px solid #000000;
  margin: 1.2em 0;
}

hr.dotted {
  border-top: 1px dotted #888888;
}

/* Header & Site Banner */
header.site-header {
  margin-bottom: 16px;
}

.site-title {
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 0 0 2px 0;
}

.site-subtitle {
  font-size: 0.95em;
  color: var(--muted-text);
  margin: 0 0 10px 0;
}

/* Navigation bar */
nav.site-nav {
  margin: 8px 0;
  padding: 4px 0;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  font-size: 0.95em;
}

nav.site-nav span.nav-item:not(:last-child)::after {
  content: " | ";
  color: #888888;
  margin: 0 4px;
}

/* Search form */
.search-container {
  margin: 14px 0;
  padding: 8px 12px;
  border: 1px solid #999999;
  background-color: var(--box-bg);
  font-size: 0.9em;
}

.search-container form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.search-container input[type="text"] {
  font-family: var(--font-mono);
  font-size: 0.95em;
  padding: 4px 6px;
  border: 1px solid #555555;
  background-color: #ffffff;
  color: #000000;
  flex: 1;
  min-width: 200px;
}

.search-container input[type="submit"] {
  font-family: var(--font-mono);
  font-size: 0.95em;
  padding: 4px 12px;
  border: 1px solid #333333;
  background-color: #eeeeee;
  color: #000000;
  cursor: pointer;
}

.search-container input[type="submit"]:hover {
  background-color: #dddddd;
}

/* Paper metadata block */
.paper-meta {
  background-color: var(--box-bg);
  border: 1px solid #aaaaaa;
  padding: 10px 14px;
  margin: 14px 0 20px 0;
  font-size: 0.92em;
}

.meta-row {
  margin: 3px 0;
}

.meta-label {
  font-weight: bold;
  display: inline-block;
  min-width: 110px;
}

/* Paper abstract */
.abstract-box {
  border-left: 3px solid #333333;
  padding-left: 12px;
  margin: 14px 0;
  font-style: italic;
}

/* Lists and Content */
p {
  margin: 0.8em 0;
  text-align: justify;
}

ul, ol {
  margin: 0.8em 0;
  padding-left: 28px;
}

li {
  margin: 0.4em 0;
}

/* Breadcrumb / Section path */
.breadcrumb {
  font-size: 0.9em;
  color: var(--muted-text);
  margin-bottom: 12px;
}

/* Feature boxes for Homepage */
.current-issue-callout {
  border: 2px solid #000000;
  padding: 12px 16px;
  margin: 18px 0;
  background-color: #fafafa;
}

.current-issue-callout .issue-badge {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85em;
  color: #555555;
  display: block;
  margin-bottom: 4px;
}

.current-issue-callout .issue-title {
  font-size: 1.25em;
  font-weight: bold;
  margin: 0 0 8px 0;
}

/* Paper listing */
.paper-entry {
  margin: 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px dotted #cccccc;
}

.paper-entry:last-child {
  border-bottom: none;
}

.paper-entry .title {
  font-weight: bold;
  font-size: 1.05em;
}

.paper-entry .authors {
  font-size: 0.9em;
  color: var(--muted-text);
  margin: 2px 0 4px 0;
}

.paper-entry .summary {
  font-size: 0.95em;
  margin: 4px 0;
}

/* Issue Horizontal Navigation */
.issue-navigation {
  margin: 20px 0;
  padding: 8px 12px;
  background-color: var(--box-bg);
  border: 1px solid #cccccc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.95em;
}

/* Footer */
footer.site-footer {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px solid #000000;
  font-size: 0.85em;
  color: var(--muted-text);
}

.footer-nav {
  margin-bottom: 8px;
}

.footer-disclaimer-note {
  margin: 4px 0;
}
