@import url(fontawesome-all.min.css);
@import 'https://fonts.googleapis.com/css?family=Source Code Pro';
@import 'https://fonts.googleapis.com/css?family=Open Sans';
@import "myriad_pro.css";

body {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}


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

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

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

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

.dvima {
    /* TODO specific VIMA font */
    /* font-variant: small-caps; */
}


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

.teaser {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.teaser video {
    object-fit: fill;

}

#glass {
    margin-left: -10px;
}

.publication-title {
}

.publication-banner {
    max-height: parent;

}

.publication-banner video {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.publication-authors {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

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

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

.publication-authors {
}

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

.conference-authors a {
    color: hsl(0, 0%, 16%) !important;
}

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

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

.publication-banner img {
}

.publication-authors {
    /*color: #4286f4;*/
}

.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%;
}

.publication-body img {
}

.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;
}


.wrong-panel {
    background: #cc0606;
    border-radius: 10px;
}

.interpolation-panel {
    background: #f5f5f5;
    border-radius: 10px;
}

.interpolation-panel .interpolation-image {
    width: 100vh;
    background-size: cover;
    border-radius: 5px;
}

.interpolation-video-column {
}

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

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

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

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

#interpolation-image img {
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

.dropdown-item {
    white-space: pre-wrap;
}  






/* custom */


.custom-heading {
    font-weight: 800;              /* 更粗的字体 */
    color: #2a2a2a;                /* 深黑灰色（更清晰） */
    font-family: 'Open Sans', 'Segoe UI', sans-serif;  /* 可选字体，或继承 Bulma 默认 */
    letter-spacing: 0.5px;         /* 稍微拉开字符间距更稳重 */
  }



.section-title {
    font-weight: 800;
    color: #2a2a2a;                /* 深黑灰色（更清晰） */
    font-size: 2rem;
    font-family: 'Open Sans', 'Segoe UI', sans-serif; /* 可选字体，或继承 Bulma 默认 */
    letter-spacing: 0.3px;         /* 稍微拉开字符间距更稳重 */
    text-align: left !important;       /* 明确左对齐 */
    margin-bottom: 0.2rem; /* 控制标题和线之间的距离 */
}
  
.section-divider {
    border: none;
    border-top: 1px solid #ddd;  /* 细浅灰线 */
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}



.sidebar {
    position: sticky;
}

@media screen and (max-width: 1000px) {
    d-contents {
        display: none;
    }
  }
  



html {
    scroll-behavior: smooth;
}

d-contents {
    display: block;
    position: fixed;             /* 固定在页面左侧 */
    top: 150px;                   /* 与页面顶部间距 */
    left: 0;
    width: 220px;
    font-weight: 600; 
    font-size: 18px;
    height: 100vh;               /* 占满视口高度 */
    padding: 1.5em;
    /* background-color: white; */
    /* border-right: none; */
    /* box-shadow: 1px 0 3px rgba(0, 0, 0, 0.05); */
    overflow-y: auto;
    z-index: 1000;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  
    /* ✅ 删除 grid/flex 相关属性 */
    /* max-width, grid-column, grid-row, justify-self, etc. 都不需要 */
  }
  
d-contents nav {
    display: block;
}
  
d-contents nav h4 {
    margin-top: 0;
    margin-bottom: 1em;
}
  
d-contents nav div {
    color: rgba(91, 184, 73, 0.8);
    font-weight: bold;
}
  
d-contents nav a {
    color: rgba(0, 0, 0, 0.8);
    border-bottom: none;
    text-decoration: none;
}

d-contents nav a.active {
    color: #1d4ed8;
    font-weight: bold;
    /* text-decoration: underline; */
  }
  
d-contents li {
    list-style-type: none;
}
  
d-contents ul {
    padding-left: 1em;
}
  
d-contents nav ul li {
    margin-bottom: 0.25em;
}
  
d-contents nav a:hover {
    /* text-decoration: underline solid rgba(0, 0, 0, 0.6); */
    text-decoration: solid rgba(0, 0, 0, 0.6);

}
  
d-contents nav ul {
    margin-top: 0;
    margin-bottom: 6px;
}
  
d-contents nav > div {
    display: block;
    outline: none;
    margin-bottom: 0.5em;
}
  
d-contents nav > div > a {
    font-size: 13px;
    font-weight: 600;
}
  
d-contents nav > div > a:hover,
d-contents nav > ul > li > a:hover {
    text-decoration: none;
}

/* 

.reasoning-block {
    text-align: justify !important;
    font-size: 1.05em;
    line-height: 1.6;
    word-break: break-word;
}
 */


.reasoning-block {
    text-align: left;
    font-size: 1.05em;
    line-height: 1.6;
}
  
.justified-output {
    text-align: justify;
    text-justify: inter-word;
}
  
.tag-label {
    color: #888888;       /* 浅灰色 */
    font-family: monospace; 
}


.bbox-label {
    color: #ff6b81;
    font-family: monospace;
}



.zoomin-label {
    color: #6a7bff;
    font-family: monospace;
}