body {
  font-family: "Noto Sans", sans-serif;
  color: #17233b;
  background: #ffffff;
}

a {
  color: #1f6fb5;
}

a:hover {
  color: #0e4e86;
  text-decoration: underline;
}

.publication-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98)),
    linear-gradient(110deg, rgba(234, 89, 43, 0.12), rgba(19, 120, 127, 0.10), rgba(33, 98, 170, 0.10));
  border-bottom: 1px solid #e2e8f0;
}

.title.is-1.publication-title {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-size: 3rem;
  line-height: 1.08;
  color: #13284f;
  overflow-wrap: anywhere;
}

.publication-authors {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  color: #253452;
  margin-top: 0.25rem;
}

.publication-authors a {
  color: #1f6fb5 !important;
}

.author-block {
  display: inline-block;
  margin: 0 0.08rem;
}

.equal-note {
  margin-top: 0.35rem;
  color: #65738a;
  font-size: 0.96rem;
}

.venue-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #f0b99d;
  border-radius: 8px;
  background: #fff5ef;
  color: #b5481f;
  font-weight: 700;
}

.publication-links {
  margin-top: 1.15rem;
}

.link-block {
  display: inline-block;
  margin: 0.2rem 0.1rem;
}

.link-block .button {
  border-radius: 8px;
  background: #14223d;
  border-color: #14223d;
}

.link-block .button:hover {
  background: #24385f;
  border-color: #24385f;
  text-decoration: none;
}

.teaser .hero-body {
  padding-top: 1.6rem;
  padding-bottom: 2rem;
}

.teaser-image,
.figure-image {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.teaser-image {
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #ffffff;
}

.teaser .subtitle {
  margin-top: 1rem;
  color: #36445f;
  line-height: 1.35;
}

.section {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.section-band {
  background: #f7fafc;
  border-top: 1px solid #e6ecf2;
  border-bottom: 1px solid #e6ecf2;
}

.content p {
  line-height: 1.72;
}

.title {
  color: #13284f;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.contrast-item,
.regime-card {
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(17, 31, 58, 0.05);
}

.contrast-item {
  border-left: 5px solid #3a7ca5;
}

.contrast-item.accent {
  border-left-color: #d95c24;
}

.contrast-kicker {
  color: #65738a;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contrast-item h3,
.regime-card h3 {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  margin: 0.2rem 0 0.35rem;
  font-size: 1.25rem;
  color: #17233b;
}

.contrast-item p,
.regime-card p {
  margin-bottom: 0;
  color: #43506a;
  line-height: 1.5;
}

.medium-figure {
  max-width: 840px;
}

.rollout-figure {
  max-width: 900px;
}

.poster-image {
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #ffffff;
}

.regime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: left;
}

.regime-card.strong {
  border-top: 5px solid #df6a36;
}

.regime-card.middle {
  border-top: 5px solid #3a7ca5;
}

.regime-card.weak {
  border-top: 5px solid #2b9a66;
}

.regime-result {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e5ecf3;
  color: #162a4e;
  font-weight: 700;
}

pre {
  border-radius: 8px;
  background: #111827;
  color: #f8fafc;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer {
  background: #eef3f8;
  color: #43506a;
}

@media screen and (max-width: 768px) {
  .title.is-1.publication-title {
    font-size: 1.7rem;
    line-height: 1.12;
  }

  .content.has-text-justified {
    text-align: left !important;
  }

  .section {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .contrast-grid,
  .regime-grid {
    grid-template-columns: 1fr;
  }

  .link-block .button {
    min-width: 8.5rem;
  }
}
