/* ===== Base & Typography ===== */
body {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  color: #2c3e50;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.title {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  color: #1a1a2e;
}

/* ===== Hero Header ===== */
.hero-header {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f4f8 50%, #f8f9ff 100%);
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 800;
  font-size: 2.2rem !important;
  line-height: 1.35;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}

/* ===== Link Buttons ===== */
.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
}

.link-block a {
  margin: 0;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-block a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 85, 233, 0.2);
}

/* ===== Section Titles ===== */
.title.is-3 {
  font-weight: 800;
  font-size: 2.0rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.title.is-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #0055E9, #00BCFF);
  border-radius: 2px;
}

.has-text-centered .title.is-3::after {
  left: 50%;
  transform: translateX(-50%);
}

.title.is-4 {
  font-weight: 600;
  font-size: 1.35rem;
  color: #333;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
}

/* ===== Alternating Section Backgrounds ===== */
.section-light {
  background-color: #f8f9fc;
}

/* ===== Feature Cards ===== */
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef1f6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 85, 233, 0.1);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.feature-card h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
}

/* ===== Showcase Cards ===== */
.showcase-item {
  margin-bottom: 2.2rem;
}

.showcase-item .title.is-4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  padding-left: 0.2rem;
}

/* ===== Content Images ===== */
.content-image {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.content-image:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}

/* ===== Image Caption ===== */
.image-caption {
  font-size: 0.88rem;
  color: #777;
  margin-top: 0.6rem;
  font-style: italic;
}

/* ===== Abstract / Teaser ===== */
.abstract-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  max-width: 820px;
  margin: 0 auto;
}

.teaser-section {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

/* ===== BibTeX ===== */
.bibtex-box pre {
  background: #f5f7fa;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  font-family: 'Menlo', 'Consolas', 'Monaco', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  color: #2c3e50;
}

.bibtex-box pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
}

/* ===== Footer ===== */
.footer {
  background-color: #f8f9fc;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid #eaedf2;
}

.footer p {
  font-size: 0.9rem;
  color: #777;
}

.footer a {
  color: #0055E9;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== Publication Venue & Awards (keep) ===== */
.publication-venue {
  color: #555;
  font-weight: bold;
}

.publication-awards {
  color: #ff3860;
  width: fit-content;
  font-weight: bolder;
}

/* ===== Publication Video (keep) ===== */
.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px !important;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Carousel (keep) ===== */
.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

/* ===== Interpolation (keep) ===== */
.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}

#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* ===== Magnifier (keep) ===== */
* { box-sizing: border-box; }

.img-magnifier-container {
  position: relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 0%;
  cursor: none;
  width: 200px;
  height: 200px;
}

.img-magnifier-glass_init {
  position: absolute;
  border: 0px solid #000;
  border-radius: 50%;
  cursor: none;
  width: 0px;
  height: 0px;
}

/* ===== Video Table (keep) ===== */
.video-table td, .video-table th {
  padding: 2px 4px;
  font-weight: normal;
}

.first-col {
  width: 7%;
  vertical-align: middle;
}

.other-col {
  width: 31%;
}

/* ===== Small Caps ===== */
.dnerf {
  font-variant: small-caps;
}

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

  .feature-card {
    margin-bottom: 1rem;
  }

  .title.is-3 {
    font-size: 1.6rem;
  }
}
