/* OP3DSG project page — nerfies-style custom styles */

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #363636;
}

/* ---------- Hero / title ---------- */
.publication-title {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem !important;
}

.publication-authors {
  margin-bottom: 0.4rem;
}

.publication-authors .author-block {
  margin: 0 0.35rem;
  white-space: nowrap;
}

.publication-authors a {
  color: #3273dc;
  text-decoration: none;
}
.publication-authors a:hover { text-decoration: underline; }

/* Highlight your own name */
.author-me {
  font-weight: 600;
}

.publication-venue {
  margin-top: 0.75rem;
  color: #4a4a4a;
  font-weight: 500;
}

/* ---------- Link buttons ---------- */
.publication-links {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.publication-links .button {
  background-color: #363636;
  color: #fff;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.publication-links .button:hover {
  background-color: #000;
  transform: translateY(-2px);
}

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

.teaser-media {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.teaser .subtitle {
  max-width: 760px;          /* 너비 제한 → 줄바꿈을 읽기 좋은 길이로 */
  margin: 1.5rem auto 0;     /* 가운데 정렬된 깔끔한 블록 */
  color: #4a4a4a;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;          /* 줄 간격 여유 있게 */
}

/* 캡션 안의 강조 용어 살짝 돋보이게 */
.teaser .subtitle b {
  color: #363636;
  font-weight: 600;
}

/* ---------- Section bands (번갈아 까는 가로 배경 띠) ---------- */
.band {
  background-color: #f5f5f5; 
}

/* ---------- Figures ---------- */
.method-media {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 8px;
}

.content.has-text-justified p { line-height: 1.7; }

/* ---------- Video ---------- */
.publication-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}
.publication-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ---------- BibTeX ---------- */
.bibtex-box {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}
.bibtex-box pre {
  background: transparent;
  padding: 0;
  margin: 0;
}
.bibtex-box code {
  background: transparent;
  color: #363636;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9rem;
}
.copy-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 2.5rem 1.5rem;
  background-color: #fafafa;
}
.footer a { color: #3273dc; }

/* ---------- Mobile ---------- */
@media screen and (max-width: 768px) {
  .publication-authors .author-block { white-space: normal; }
}
