body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

a {
  color: #004aad;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: #d35400;
}

section ul li a {
  color: #004aad;
  text-decoration: none;
  font-weight: 500;
}

section ul li a:hover {
  text-decoration: underline;
  color: #d35400;
}

header {
  background: #0d1b4c;
  color: white;
  padding: 2rem;
  text-align: center;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
}

header p {
  font-size: 1.1rem;
  font-style: italic;
}

section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: left;
}

h2 {
  color: #000000;
  border-left: 5px solid #0d1b4c;
  padding-left: 10px;
  margin-top: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-style: normal;
}

.highlight-box {
  background: #f0f4ff;
  border-left: 5px solid #0d1b4c;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  font-weight: 600;
  color: #000000;
}

.diagram {
  text-align: center;
  margin: 2rem auto;
}

.diagram img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.diagram figcaption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #000000;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.diagram.overview img { width: min(550px, 100%); }
.diagram.pipeline img { width: min(375px, 100%); }
.diagram.fault img    { width: min(600px, 100%); }
.diagram.scale img    { width: min(700px, 100%); }
.diagram.imputation img { width: min(800px, 100%); }
.diagram.zetson img     { width: min(800px, 100%); }

.paper-info {
  background: #f9f9fc;
  border: 1px solid #ddd;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  max-width: 1000px;
  margin: 2rem auto;
  font-size: 1rem;
  color: #000000;
}

.paper-info a {
  color: #0d1b4c;
  font-weight: 600;
}

.paper-info button {
  background: #0d1b4c;
  color: #fff;
  border: none;
  padding: 6px 14px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.paper-info button:hover {
  background: #142a73;
}

#bibtex {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-family: 'Roboto Mono', monospace;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  line-height: 1.4;
  color: #000000;
}

.case-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  font-family: 'Raleway', sans-serif;
  font-style: normal;
}

.case-table th, .case-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: center;
}

.case-table th {
  background-color: #f0f4ff;
  font-weight: bold;
  text-align: center;
}

footer {
  background: #0d1b4c;
  color: white;
  text-align: center;
  padding: 1.8rem 0;
  margin-top: 3rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

footer .authors {
  color: white;
}

footer .authors p {
  color: white;
}

footer a,
footer .authors a {
  color: white !important;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover,
footer .authors a:hover {
  color: #ffd966 !important;
  text-decoration: underline;
}
