/* Global */

body {
  font-family: 'Noto Sans', sans-serif;
  background: #f5f5f7;
  color: #222;
}

/* Hero / Title card */

.hero-main {
  background: transparent;
}

.hero .hero-body {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero .container.is-max-desktop {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 2.5rem 2.5rem 2rem;
}

/* Abstract / Method / Comparison cards */

.section.hero.is-light .hero-body,
.section.hero.is-white .hero-body {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section.hero.is-light .container.is-max-desktop,
.section.hero.is-white .container.is-max-desktop,
.hero.is-small .container.is-max-desktop {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  padding: 2.5rem 2.5rem 2rem;
}

/* Footer */

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

/* Title & authors */

.publication-title {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

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

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

.author-block {
  display: inline-block;
  margin: 2px 4px;
}

.publication-venue {
  color: #555;
  font-weight: bold;
}

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

/* Teaser sections */

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

/* Video grid */

.video-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* Horizontal teaser videos */

.video-teaser-container {
  position: relative;
  width: 25%;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  background: #000;
}

.video-teaser {
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: brightness(100%);
  transition: transform 0.25s ease-out,
              filter 0.25s ease-out,
              box-shadow 0.25s ease-out;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

/* Vertical teaser videos */

.video-vertical-teaser-container {
  position: relative;
  width: 12.5%;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  background: #000;
}

.video-vertical-teaser {
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: brightness(100%);
  transition: transform 0.25s ease-out,
              filter 0.25s ease-out,
              box-shadow 0.25s ease-out;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

/* Comparison videos */

.video-comparison {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  filter: brightness(100%);
  transition: transform 0.25s ease-out,
              filter 0.25s ease-out,
              box-shadow 0.25s ease-out;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.video-comparison-cog {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  filter: brightness(100%);
  transition: transform 0.25s ease-out,
              filter 0.25s ease-out,
              box-shadow 0.25s ease-out;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

/* Hover effects */

.video-teaser-container:hover .video-teaser,
.video-vertical-teaser-container:hover .video-vertical-teaser,
td:hover .video-comparison,
td:hover .video-comparison-cog {
  transform: translateY(-4px);
  filter: brightness(105%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

/* Section caption under teaser */

.section-caption {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #333;
  clear: both;
}

/* Results carousel (保留原有样式以防后面用到) */

.results-carousel {
  overflow: hidden;
}

.custom-width {
  flex: 0 0 auto;
  width: 1250px;
}

.results-carousel .item {
  overflow: hidden;
  font-size: 24;
  width: 100%;
  align-items: center;
}

.caption-container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  width: 1150px;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}

/* Video wrapper (hover demo, 保留原逻辑) */

.video-wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
}

.video-wrapper video {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper .hover-video {
  display: none;
}

.video-wrapper .overlay-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-family: "Chalkduster";
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0;
  border-radius: 10px;
  width: 100%;
}

.video-wrapper:hover .default-video {
  display: none;
}

.video-wrapper:hover .hover-video {
  display: block;
}

.video-wrapper:hover .overlay-text {
  opacity: 1;
}

/* Hide default video controls */

.video-wrapper video::-webkit-media-controls,
.video-warpper-wide video::-webkit-media-controls,
.video-container iframe::-webkit-media-controls {
  display: none !important;
}

.video-wrapper video::-webkit-media-controls-enclosure,
.video-wrapper video::-webkit-media-controls-panel,
.video-wrapper video::-webkit-media-controls-play-button,
.video-warpper-wide video::-webkit-media-controls-enclosure,
.video-warpper-wide video::-webkit-media-controls-panel,
.video-warpper-wide video::-webkit-media-controls-play-button {
  display: none !important;
}

/* Wide video grid (如果后面有用到) */

.video-grid-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.video-warpper-wide {
  position: relative;
  width: 350px;
  height: 350px;
  overflow: hidden;
}

.video-warpper-wide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-warpper-wide .hover-video {
  display: none;
}

.caption-vid {
  display: inline-block;
}

.video-warpper-wide .overlay-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  font-family: "Chalkduster";
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
  text-align: center;
}

.video-warpper-wide:hover .default-video {
  display: none;
}

.video-warpper-wide:hover .hover-video {
  display: block;
}

.video-warpper-wide:hover .overlay-text {
  opacity: 1;
}

/* Carousel iframe container */

.carousel {
  display: flex;
  justify-content: center;
}

.video-container {
  position: relative !important;
  padding-bottom: 100% !important;
  height: 0 !important;
  overflow: hidden !important;
}

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

/* Tables */

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

td, th {
  word-wrap: break-word;
  padding: 8px;
  vertical-align: middle;
}

th {
  font-weight: 600;
  color: #444;
  border-bottom: 1px solid #e5e7eb;
}

tbody tr + tr {
  border-top: 1px solid #f0f0f0;
}

/* Titles */

.title.is-3,
.title.is-4 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}


.hero-main {
  background: #ffffff;
}

/* 去掉中间容器的卡片感（背景、圆角、阴影） */
.hero-main .container.is-max-desktop {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.video-teaser-container,
.video-vertical-teaser-container {
  border-radius: 0;
}

/* 视频本身也去掉圆角 */
.video-teaser,
.video-vertical-teaser,
.video-comparison,
.video-comparison-cog {
  border-radius: 0;
}

.prompt-block {
    margin: 16px 0 28px 0;
    padding-left: 12px;
    border-left: 4px solid #3b82f6;   /* 蓝色竖线 */
    font-size: 18px;
}

.prompt-block b {
    color: #222;
}

.references {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.4;
    color: #444;
}

.references p {
    margin: 4px 0;
}