
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 350;
    font-size: 18px;
    line-height: 1.5;
    background-color: white;
    color: #333;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 100px; /* To prevent content from being hidden behind the footer */
}

a {
    color: #0086e6;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
    padding: 0;
    margin: 0;
    font-weight: 700;
}

h1 {
    font-size: 4em;
}

@media screen and (max-width: 1280px) {
    h1 {
        font-size: 3em;
    }
}

h1.title {
    padding-top: 20px;
    padding-bottom: 10px;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
    text-align: center;
}

h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 0.5em;
}
h5 {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.subtitle {
    font-size: 2em;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 350;
}

.subtitle img {
    width: 100%;
}

ul {
    padding-inline-start: 30px;
}

@media screen and (max-width: 921px) {
    ul {
        padding-inline-start: 20px;
    }
}

.navbar {
    background: #121022;
}
.nav-link,
.navbar-brand {
    color: #eee;
    cursor: pointer;
}

.nav-link {
    margin: 0 1ex !important;
}

.nav-link:hover {
    color: #eee;
    background-color: #222146;
    border-radius: 5px;
}

.nav .active,
.collapsible:hover {
    background-color: #353d5d;
    border-radius: 5px;
}

.navbar-collapse {
    justify-content: center;
}
.nav-label {
    color: #000;
    padding-left: 0.5rem;
}
.caret {
    color: #000;
}

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999999;
}

@media (min-width: 921px) {
    .navbar-expand-custom {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-custom .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-custom .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-custom .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-custom > .container {
        flex-wrap: nowrap;
    }
    .navbar-expand-custom .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-custom .navbar-toggler {
        display: none;
    }
}

.title-container {
    width: 100%;
    margin: auto;
    padding: 40px 20px;
    background: rgb(223, 223, 223);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 55px;
    text-align: center;
}

.footer-banner {
    width: 100vw;
    /* min-height: 13vw; */
    margin: auto;
    background-size: cover;
    background-color: #ffffff;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -100px;
}

.speakers,
.organizers {
    text-align: center;
    padding-bottom: -20px;
}

.top {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: auto;
}

.bottom {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-top: auto;
}

.person {
    padding-bottom: 50px;
    flex: 1 0 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: auto;
}

.grid {
    padding: 30px;
    margin-bottom: -100px;
}

.person img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.grid .row {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.container {
    margin: auto;
    max-width: 1000px;
    padding: 40px 20px;
}

div.columns {
    display: flex;
    flex-direction: row;
}

div.columns > div {
    margin-right: auto;
    flex: 0 1 auto;
}

div.columns > .fifth {
    flex-basis: 16%;
}

div.columns > .quarter {
    flex-basis: 20%;
}

div.columns > .third {
    flex-basis: 30%;
}

div.columns > .medium {
    flex-basis: 35%;
}

div.columns > .half {
    flex-basis: 45%;
}

div.columns > .wide {
    flex-basis: 60%;
}

div.columns > .full {
    flex-basis: 90%;
}

.grow {
    flex-grow: 1;
}

div.vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div.margin {
    margin: 0 5%;
    width: 90%;
}

section > .sectitle {
    text-align: center;
    margin-bottom: 50px;
}

section + section {
    border-top: 2px solid #eee;
    margin-top: 80px;
    padding-top: 100px;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: justify;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

table {
    border-spacing: 0;
}

td,
th {
    border: 1px solid #ddd;
    padding: 10px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th {
    text-align: left;
}

.foot {
    font-size: small;
    margin: 0 auto;
    text-align: center;
}

.foot > * {
    display: inline-block;
    background: #e1e1e1;
    padding: 5pt 2em;
    color: rgb(0, 0, 0);
}

.inline {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.dropdown {
    padding-right: 15px;
    line-height: 1.5em;
    vertical-align: text-bottom;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0px;
}

ul.dropdown-menu li {
    display: inline;
    float: left;
    width: 100%;
    background: white;
    text-decoration-color: #000;
    line-height: 2em;
    font-size: 17px;
    padding-left: 10px;
    padding-right: 8px;
}

ul.dropdown-menu li a {
    padding-top: 15px;
    padding-bottom: 15px;
}

.dropdown {
    line-height: 1.5em;
    vertical-align: text-bottom;
    padding: 8px;
    margin-right: 18px;
}
.navbar .nav li.dropdown > .dropdown-toggle .caret {
    border-bottom-color: #ffffff;
    border-top-color: #ffffff;
}

@media screen and (max-width: 600px) {
    h1 {
        font-weight: 400;
        font-size: 2em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1em;
    }
    .subtitle {
        font-size: 1.1em;
    }
    .navbar {
        font-size: 1em;
    }
    .schedule-table tr {
        display: table;
        width: 100%;
    }
    .schedule-table td {
        width: 100%;
        display: table-row;
        text-align: center;
        margin: 0 auto;
    }
    table {
        border-spacing: 5px;
        border-collapse: separate;
        text-align: left;
    }
}

.badge-video {
    background-color: #fff;
    color: #000000;
    border: 1px solid #000000;
}

.center {
    margin: 20px auto;
    align-items: center;
    text-align: center;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.centered > div {
    margin: 30px auto;
    align-items: center;
    text-align: center;
    width: 100%;
}

.organizer a {
    font-weight: 350;
}

.person:hover a,
a:hover {
    color: #af6125;
    text-decoration: none;
}

.organizer {
    padding-top: 2ex;
    padding-bottom: 4ex;
    text-align: center;
}

.organizer img {
    margin: auto;
    margin-bottom: 1em;
}

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: solid;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.content {
    padding: 5px 18px;
    display: none;
    overflow: hidden;
}

.triangle-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid rgb(255, 255, 255);
    float: right;
}

.triangle-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid rgb(255, 255, 255);
    float: right;
}

.conference {
    color: #79278a;
    margin-top: 10px;
    font-size: 2em;
    font-weight: 350;
}

.conference + div {
    margin-top: 40px;
}

.title {
    margin-top: 4ex;
    width: 80%;
    margin: auto;
    color: #000000;
    font-weight: 700;
}

.margin {
    width: 70%;
    margin: auto;
}

b {
    font-weight: 700;
}

.schedule-table {
    width: 90%; /* Make table wider */
    margin: 30px auto; /* Adjust margin */
    border-collapse: collapse; /* Ensure borders are neat */
    font-size: 0.95em; /* Slightly smaller font for more content */
}

.schedule-table thead tr {
    background-color: #e9e9e9;
    color: #333;
    text-align: left;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 15px; /* More padding */
    border: 1px solid #ddd; /* Light border for cells */
    text-align: left; /* Align text to the left */
}

.schedule-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9; /* Zebra striping for rows */
}

.schedule-table tbody tr:hover {
    background-color: #f1f1f1; /* Highlight row on hover */
}

.schedule-table h4 {
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff; /* A blue color for event titles */
    margin-top: 0;
    margin-bottom: 5px;
}

.schedule-table p {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 0;
    color: #666; /* Lighter font color for details */
}

.schedule-table p em {
    font-style: italic;
    color: #555;
}

.schedule-table td + td {
    padding-left: 20px;
}

.schedule-table td b {
    font-weight: bold;
}

.schedule-table > thead > tr {
    text-align: left;
}

.schedule-table th.w-10 {
    width: 10%;
}

.schedule-table th.w-20 {
    width: 20%;
}

.schedule-table th.w-30 {
    width: 30%;
}

.schedule-table th.w-40 {
    width: 40%;
}

.schedule-table th.w-50 {
    width: 50%;
}

.schedule-table th.w-60 {
    width: 60%;
}

.schedule-table th.w-70 {
    width: 70%;
}

.schedule-table th.w-80 {
    width: 80%;
}

.schedule-table th.w-90 {
    width: 90%;
}

.schedule-table th.w-100 {
    width: 100%;
}

.schedule-table > tbody > tr > td,
.schedule-table > tbody > tr > th,
.schedule-table > tfoot > tr > td,
.schedule-table > tfoot > tr > th,
.schedule-table > thead > tr > td,
.schedule-table > thead > tr > th {
    border: none;
}

/* Important Dates Section Styles */
.important-dates-list {
    max-width: 600px; /* Or your preferred max width */
    margin: 20px auto;
    padding: 0;
    list-style: none;
}

.date-item {
    background-color: #f9f9f9; /* Light background for items */
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 10px; /* Space between items */
    display: flex;
    justify-content: space-between; /* Puts event and date on opposite ends */
    align-items: center;
    border-radius: 5px; /* Slightly rounded corners */
}

.date-item:nth-child(odd) {
    background-color: #fff; /* Alternate background for visual separation */
}

.date-event {
    font-size: 1em;
    color: #333;
    font-weight: normal;
}

.date-value {
    font-size: 1em;
    color: #000;
    font-weight: bold;
}

.date-value .date-note {
    font-weight: normal;
    color: #555;
}

/* Responsive adjustments if needed */
@media screen and (max-width: 600px) {
    .date-item {
        flex-direction: column; /* Stack event and date on smaller screens */
        align-items: flex-start;
    }

    .date-value {
        margin-top: 5px; /* Add some space when stacked */
    }
}

/* Contributed Work Section Styles */
#call .section-intro {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1em;
    color: #555;
}

.call {
    display: grid;
    grid: auto / repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.contrib-category {
    padding: 20px;
    margin: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    height: 100%;
}

.contrib-category:last-child {
    margin-bottom: 0;
}

.category-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600; /* Bolder than default h3 if needed */
}

/* Specific colors for titles, similar to original inline styles but can be themed */
.dataset-title {
    color: #007bff; /* Bootstrap primary blue, or your theme's primary color */
}

.method-title {
    color: #6f42c1; /* Bootstrap purple, or another theme color */
}

.problem-title {
    color: #fd7e14; /* Bootstrap orange, or another theme color */
}

.category-description {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.category-subtitle {
    display: block; /* Make it a block to have margin-bottom */
    font-weight: bold;
    font-size: 1em;
    color: #222;
    margin-top: 20px;
    margin-bottom: 10px;
}

.category-note {
    display: block; /* Make it a block to have margin-bottom */
    font-style: italic;
    font-size: 1em;
    font-weight: 400;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.category-list {
    list-style: disc;
    margin-left: 20px; /* Indent list items */
    padding-left: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}

.category-list li {
    margin-bottom: 8px;
}

blockquote {
    background-color: #f8f9fa; /* A light grey, common for blockquotes */
    border-left: 5px solid #007bff; /* A distinct blue, adjust as needed */
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    font-style: italic;
}

blockquote p {
    margin-bottom: 0; /* Remove default paragraph margin inside blockquote if needed */
}

.datasets-image {
    width: 110%;
    max-width: 1200px;
    display: block;
    margin: 0 auto;
}

#faq .card {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

#faq .card-header {
    background: #fff;
}

#faq .btn.btn-link {
    text-decoration: none;
    font-weight: 600;
    color: inherit;
    padding-left: 0;
    padding-right: 0;
}

#faq .card-body {
    padding-top: 0.75rem;
}

.oral-talks {
    font-size: 0.9em;
    /* slightly smaller */
    color: #555;
    /* softer gray text */
    margin-bottom: 0;
    /* tighter spacing if you like */
}

/* Grid layout: up to 3 cards per row, responsive */
/* Exactly 3 cards per row on desktop */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* 2 per row on medium screens */
@media (max-width: 992px) {
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 per row on small screens */
@media (max-width: 576px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
}

/* Card styling */
.tutorial-card {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e6ec;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tutorial-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.tutorial-card .post-title {
    text-decoration: none;
    color: #222;
}

.tutorial-card .post-title:hover {
    text-decoration: underline;
}

.tutorial-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.75rem;
}

.tutorial-card .post-meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: auto;
    /* pins meta to bottom of card */
}

.tutorial-authors {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.35rem;
}

.sponsor .centered {
    display: flex;
    flex-direction: row;
    /* horizontal */
    justify-content: center;
    /* center as a group */
    align-items: center;
    gap: 2rem;
    /* space between logos */
    flex-wrap: wrap;
    /* let them wrap on tiny screens */
}

.sponsor-logo {
    height: 130px;
    /* increase this to make EVERYTHING bigger */
    width: auto;
}

.sponsor-logo-simons {
    height: 95px;
    /* smaller than 130px; tweak until it feels right */
}

.margin.sponsor {
    width: 95%;
    margin: 0 auto;
}

.sponsor .centered {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}