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

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

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

.dnerf {
    font-family: 'Castoro', serif;
    font-weight: bold;
}

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

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

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #bbbbbb;
}

.placeholder-image {
    background-color: #eeeeee;
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    border: 2px dashed #ddd;
    margin-bottom: 15px;
}

.hero-body {
    padding-bottom: 0;
}

/* Custom rounded buttons */
.button.is-rounded {
    border-radius: 290486px;
    padding-left: 1.5em;
    padding-right: 1.5em;
    font-weight: 600;
}

/* Section spacing */
section.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Carousel and GIF/image styles */
.results-carousel .item {
    margin-bottom: 20px;
}

.results-carousel img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

/* ===== Comparison Slider ===== */
.comparison-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    background: #000;
}

.comparison-slider img.slider-img-bottom,
.comparison-slider img.slider-img-top {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.comparison-slider .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-slider .slider-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.comparison-slider .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #fff;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.comparison-slider .slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.comparison-slider .slider-handle::after {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7px;
    color: #333;
    letter-spacing: 1px;
    z-index: 11;
    white-space: nowrap;
}

.comparison-label {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
}

.comparison-label span {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 10px;
    border-radius: 4px;
}