/* ===== General ===== */
body {
  font-family: 'Roboto', 'Arial', sans-serif;
  color: #2d2d2d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Hero / Title ===== */
.hero .hero-body {
  padding-bottom: 0.75rem;
  padding-top: 2.5rem;
}

.publication-title {
  font-family: 'Noto Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 3rem !important;
  line-height: 1.25;
  margin-top: 0.6rem;
  margin-bottom: 1rem !important;
  letter-spacing: -0.01em;
  color: #363636;
}

.publication-logo {
  margin-bottom: 0.6rem;
}

.publication-logo img {
  height: 90px !important;
}

.publication-authors {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 2;
  color: #333;
  letter-spacing: 0.01em;
}

.publication-authors .author-block {
  display: inline-block;
  margin: 0 0.15rem;
}


.publication-affiliations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  margin-top: 0.3rem;
  margin-bottom: 0.2rem;
}

.publication-affiliations span {
  font-weight: 500;
}


.publication-note {
  font-size: 1rem;
  color: #555;
  margin-top: 0.4rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.publication-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.publication-links .button {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
}

.disabled-link {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

/* ===== Teaser ===== */
.hero.teaser {
  padding-top: 0;
}

.hero.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.hero.teaser .subtitle {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #666;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Sections ===== */
.section {
  padding: 2.5rem 1.5rem;
}

.section .title.is-3 {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.section .title.is-4 {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.25rem;
  color: #2d2d2d;
}

.content p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #444;
}

/* ===== Tool Cards ===== */
.tool-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 1.1rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tool-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.tool-card .tool-icon {
  font-size: 1.5rem;
  color: #1565c0;
  margin-bottom: 0.4rem;
}

.tool-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: #333;
}

.tool-card p {
  font-size: 0.78rem;
  color: #777;
  margin: 0;
  line-height: 1.4;
}

/* ===== Level Cards ===== */
.level-card {
  border-radius: 10px;
  padding: 1.1rem;
  height: 100%;
}

.level-card h4 {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.level-card .level-count {
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.level-card ul {
  font-size: 0.82rem;
  margin-left: 1rem;
  margin-top: 0;
  color: #555;
}

.level-card ul li {
  margin-bottom: 0.1rem;
}

.level-1 {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
}

.level-1 h4 { color: #1b5e20; }
.level-1 .level-count { color: #2e7d32; }

.level-2 {
  background: #e3f2fd;
  border-left: 4px solid #1565c0;
}

.level-2 h4 { color: #0d47a1; }
.level-2 .level-count { color: #1565c0; }

.level-3 {
  background: #fff3e0;
  border-left: 4px solid #e65100;
}

.level-3 h4 { color: #bf360c; }
.level-3 .level-count { color: #e65100; }

/* ===== Tables ===== */
.table {
  font-size: 0.85rem;
}

.results-table thead {
  background: #f5f5f5;
}

.results-table th, .results-table td {
  text-align: center;
  vertical-align: middle;
  padding: 0.3em 0.4em;
  white-space: nowrap;
}

.results-table th:first-child,
.results-table td:first-child {
  text-align: left;
}

.results-table td:nth-child(2) {
  text-align: left;
}

/* ===== Finding Cards ===== */
.finding-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 1.1rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.finding-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.finding-card .finding-icon {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.finding-card h4 {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #2d2d2d;
}

.finding-card p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
}

/* ===== Case Studies ===== */
.case-study {
  background: #fafafa;
  border-left: 4px solid #1565c0;
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.case-study .title.is-4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.case-study p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

/* ===== BibTeX ===== */
#BibTeX .title {
  font-family: 'Roboto', 'Arial', sans-serif;
}

#BibTeX pre {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 1.1rem;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  overflow-x: auto;
}

/* ===== Footer ===== */
.footer {
  padding: 1.75rem 1.5rem;
  background-color: #f5f5f5;
}

.footer p {
  font-size: 0.8rem;
  color: #888;
}

.footer a {
  color: #1565c0;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 1.4rem !important;
  }

  .hero.teaser .subtitle {
    font-size: 0.82rem;
  }

  .level-card ul {
    font-size: 0.75rem;
  }

  .table-container {
    overflow-x: auto;
  }
}
