body {
    font-family: 'Noto 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;
}

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

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

.publication-title {
}

.publication-banner {
}

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

.publication-header .hero-body {
}

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

.publication-authors {
    font-family: 'Google 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;
}

.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;
    padding: 20px;
    font-size: 0;
}

.results-carousel video {
    margin: 0;
}

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

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

/* Section wrapper */
.results-section {
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Hover lift */
.results-section:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Very light background colors with opacity */
.mesh-section {
    background-color: rgba(150, 150, 150, 0.1);
}

.gsplat-section {
    background-color: rgba(150, 150, 150, 0.1);
}

/* Section title with full-width gradient band */
.results-section .title {
    position: relative;
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.results-section .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, #1d72aa 0%, rgb(240, 240, 240) 100%);
}

/* Video cards */
.video-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.video-card video {
    width: 100%;
    border-radius: 6px;
}

.video-caption {
    font-size: 0.85rem;
    color: #555;
    margin-top: 6px;
    text-align: center;
}

/* Modal and navigation */

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Container for media + description */
#modalMediaContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 80vh;
    gap: 12px; /* space between media and description */
}

#modalMedia {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 80vh;
    position: relative;
}

.modal-video,
.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    display: block;
}

#videoDescription {
    text-align: center;
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 95%;
    background-color: rgba(100, 100, 100, 0.6);
    padding: 0.5em 1em;
    border-radius: 6px;
    display: inline-block;
}

/* Navigation arrows */
.modal-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    user-select: none;
    transition: background-color 0.2s ease;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.modal-nav-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-nav-button.left {
    left: 8px;
}

.modal-nav-button.right {
    right: 8px;
}

.media-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.media-indicators .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #888; /* Light gray dot for inactive */
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.media-indicators .dot.active {
    background-color: #ffffff; /* White for the active dot */
    transform: scale(1.2);
}

