header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
    padding: 25px 50px 25px 50px;
}

#main {
    font-size: 14px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}


#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
    font-weight: 600;
    margin: 5px 0;
}

a {
    color: #17a2b8;
}

.list-group-item p {
    margin: 5px 0 5px 0;
}

.card {
    margin-bottom: 10px;
}

.list-group {
    margin-bottom: 10px;
}

.card-header {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 1.10rem;
    background: #797d891f;
}

.badge {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

code,
pre {
    background: #eee;
    padding: 1px 3px;
}

.table td,
.table th {
    padding: .42em;
}

.table th {
    font-size: 14px;
}


.table {
    margin-top: 8px;
}

.far,
.fas {
    font-size: 18px;
}

.affiliation {
    font-style: italic;
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
    font-weight: 300;
    font-size: .75rem;
}

.paperlink {
    font-size: .85em;
}

.crossed {
    position: relative;
    padding: .1rem;
    overflow: hidden;
}

.crossed:before,
.crossed:after {
    position: absolute;
    content: '';
    background: #dc3545 !important;
    display: block;
    width: 20%;
    height: 2px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 1px;
}

.crossed:after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.supfact {
    color: #28a745
}

span.line {
    display: inline-block;
}

.data-paragraph,
.data-question,
.data-answer {
    margin-bottom: 8px;
    transition: height .2s;
}

.data-paragraph .paragraph-title {
    color: #888888;
}

.data-paragraph .supfact {
    background: #bbffcc;
    border-radius: 3px;
    color: inherit;
    transition: background-color .2s;
}

.data-paragraph .hide {
    background: none !important;
}

#paper-title {
    color: #ffffff;
    font-weight: bold;
}

#logo-img {
    display: inline;
    max-height: 200px;
    cursor: pointer;
    transition: all 0.6s;
}

#logo-img:hover {
    transform: scale(1.4);
}

#caption {
    font-size: 20px;
    font-family: Helvetica, sans-serif;
    color: #eae8e8;
    font-weight: 300;
}

#introduction {
    font-size: 15px;
    font-family: sans-serif;
}

#pape {
    background-color: #34314c;
    border-color: #34314c;
}

.column-img {
    max-width: 100%;
}

#illustration {
    font-family: Arial, Helvetica, sans-serif;
}

.dataset-btn {
    background-color: #1F7872;
    min-width: 50% !important;
}


#citation {
    font-size: 0.75em;
    overflow: auto;
    border: 1px solid #777676;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 6px;
}

.flex-box {

    display: flex;

    justify-content: space-evenly;
    align-items: center;

    height: 100%;
    padding: 15px;
}

.flex-box>div {
    border-radius: 5px;
    padding: 8px;
}

#header-color {
    background: linear-gradient(160deg, #0d427b, #20c997);
}

#button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Increased from 10px for more margin */
    margin-top: 10px;
}

.button-row {
    width: 80%;
    margin: 0 auto;
    padding: 5px;
}

.btn-a {
    color: #fff;
    font-weight: 400;
    width: 100%;
    text-transform: none;
    background-color: #34314c;
}


.btn-b {
    color: #fff;
    font-weight: 400;
    width: 100%;
    text-transform: none;
    background-color: #1F7872;
    border-radius: 50px;
}

.btn-d {
    color: #fff;
    font-weight: bold;
    width: 100%;
    text-transform: none;
    background-color: rgb(23, 70, 212);
    /* Changed to royalblue */
    border-color: royalblue;
    /* Changed to royalblue */
    border-radius: 15px;
    /* Increased for a rounder curve */
    padding: 10px 15px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.btn-d:hover {
    background-color: forestgreen;
    /* Changed hover color to green */
    border-color: forestgreen;
    /* Changed hover border to green */
    color: #fff;
}

.btn-e {
    color: #fff;
    font-weight: 400;
    width: 100%;
    text-transform: none;
    background-color: #207872;
    border-radius: 50px;
}

.btn-e:hover {
    background-color: #E82561;
    color: #fff;
    font-weight: bold;
    /* Change the background color when the cursor is over the button */
}

#button-row-b {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button-b {
    width: calc(50% - 5px);
}

.btn-round {
    width: calc(50% - 5px);
    height: calc(50% - 5px);
    /* Add height property with the same value as width */
    transition: background-color 0.3s;
    /* Add a smooth transition effect */
}


.btn-b:hover {
    background-color: #CD6688;
    /* Change the background color when the cursor is over the button */
}

.btn {
    padding: 8px;
}


[data-tooltip]:hover::after {
    font-variant-caps: normal;
    content: attr(data-tooltip);
    /* display: block; */
    position: absolute;
    border: 1px solid black;
    background: #eee;
    padding: .25em;
    border-radius: 2px;
}

.table-wrapper {
    display: block;
    max-width: 100%;
    padding: 0.5rem;

}

#rag-leaderboard,
#ves-table {
    width: 100%;
    max-width: 100%;
    /* remove fit-content */
    margin: 0 auto;
    display: table;
    /* restore default table behavior */
    table-layout: auto;
    overflow-x: auto;
    border-radius: 4px;
    position: relative;
}

/* Optional: make table responsive */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

#rag-leaderboard {
    counter-reset: tableCounterEX;
}

#rag-leaderboard>tbody>tr:nth-child(4)>.counter-cell::before {
    content: "🏆" counter(tableCounterEX);
    counter-increment: tableCounterEX;
}

#rag-leaderboard>tbody>tr:nth-child(5)>.counter-cell::before {
    content: "🥈" counter(tableCounterEX);
    counter-increment: tableCounterEX;
}

#rag-leaderboard>tbody>tr:nth-child(6)>.counter-cell::before {
    content: "🥉" counter(tableCounterEX);
    counter-increment: tableCounterEX;
}

#rag-leaderboard>tbody>tr>.counter-cell::before {
    content: counter(tableCounterEX);
    counter-increment: tableCounterEX;
}

#ves-table {
    counter-reset: tableCounterVES;
}

#ves-table>tbody>tr:nth-child(1)>.counter-cell::before {
    content: "🏆" counter(tableCounterVES);
    counter-increment: tableCounterVES;
}

#ves-table>tbody>tr:nth-child(2)>.counter-cell::before {
    content: "🥈" counter(tableCounterVES);
    counter-increment: tableCounterVES;
}

#ves-table>tbody>tr:nth-child(3)>.counter-cell::before {
    content: "🥉" counter(tableCounterVES);
    counter-increment: tableCounterVES;
}

#ves-table>tbody>tr>.counter-cell::before {
    content: counter(tableCounterVES);
    counter-increment: tableCounterVES;
}

.counter-cell .badge {
    display: block;
}

.date-cell .badge {
    display: block;
}

/* 自定义 container 的最大宽度 */

@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}

.scroll-container {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow-y: scroll;
}

/* Hide the scrollbar by default */
.scroll-container::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}

/* Set the scrollbar thumb color */
.scroll-container::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 5px;
}

/* Show the scrollbar when the mouse is hovering over the scroll container */
.scroll-container:hover::-webkit-scrollbar {
    width: 10px;
}

.scroll-container:hover::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

figure .img-fluid {
    max-width: 45%;
    margin: 20px auto 5px;
    /* Keeps 20px top margin, but reduces bottom margin to 5px */
    display: block;
}

figcaption {
    text-align: center !important;
    margin-top: -200px;
}

#leaderboard-header {
    font-size: 1.5rem;
    /* Makes the font bigger */
    font-weight: bold;
    /* Makes the font bold */
}