:root {
    --primary-color: #1e5f8a;
    --secondary-color: #0f4c6e;
    --primary-color-alt: #2d7aa5;
    --text-color: #1f2937;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --gray-100: #f4f6f8;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Exo 2', sans-serif; */
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
} */

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 4rem;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-links {
  grid-column: 2;
  display: flex;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-self: start;
}

.nav-sponsor-strip {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.nav-sponsor-logo {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-sponsor-strip .nav-sponsor-logo:nth-child(3) {
  height: 28px;
}

.nav-sponsor-strip .nav-sponsor-logo:nth-child(2) {
  height: 34px;
  margin-left: -0.35rem;
  margin-right: -0.35rem;
}

.mobile-menu-button {
  display: none;
}


.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), url("/?originalUrl=https%3A%2F%2Fvidgen-bench-eval.github.io%2Fassets%2Fdenver-hero-destinations.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 2rem;
    position: relative;
  }
  
  .hero-content {
    max-width: 1400px;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }
  
  .hero h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }
  

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-primary, .cta-secondary, .cta-third {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: inline-block;
    padding: 0.75rem 1.5rem 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.cta-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.92);
}

.cta-primary:hover {
    background-color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}


/* Section Styles */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 2rem;
}

.topic-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
}

.topic-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.workshop-awards-callout {
    margin: 0.3rem auto 0.1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #cde1f1;
    border-left: 4px solid #1e5f8a;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #f8fcff 0%, #eef6fd 100%);
}

.workshop-awards-eyebrow {
    font-weight: 800;
    color: #13496e;
    margin-bottom: 0.65rem;
    font-size: 1rem;
}

.workshop-awards-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.workshop-award-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid #d6e6f4;
    border-radius: 0.65rem;
    background: #ffffff;
    color: #1f3f5a;
    line-height: 1.25;
}

.workshop-award-name {
    font-weight: 800;
    color: #1d4869;
}

.workshop-award-join {
    color: #67829a;
    font-weight: 700;
}

.workshop-award-cash {
    color: #b87800;
    font-weight: 900;
    font-size: 1.04rem;
}

.workshop-awards-note {
    margin-top: 0.55rem;
    color: #35566f;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Organizers Grid */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.organizers-subtitle {
    margin-top: 1.8rem;
    margin-bottom: 1.2rem;
}

.challenge-organizers-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.organizer-card {
    background-color: var(--white);
    padding: 1.15rem 0.9rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 95, 138, 0.5);
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.organizer-card:hover .profile-img {
    transform: scale(1.05);
}

.organizer-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.organizer-card .profile-image {
    width: 112px;
    height: 112px;
    margin-bottom: 0.75rem;
}

.organizer-card .affiliation {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.affiliation-speaker {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.role {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 95, 138, 0.5);
}

.speaker-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.speaker-card .title {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Schedule Timeline */
.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
}

.event {
    margin-left: 1rem;
}

/* Submission Section */
.submission-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dates-list {
    list-style: none;
}

.dates-list li {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
} 


/* Schedule Timeline */
.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
}

.event {
    margin-left: 1rem;
}

/* Submission Section */
.submission-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.dates-list {
    list-style: none;
}

.dates-list li {
    margin-bottom: 1rem;
}

.submission-guidelines-list {
    padding-left: 1.2em;
    margin-left: 0;
    list-style-position: inside;
    text-indent: -1.2em;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Sponsors Section */
.sponsors-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

.sponsors-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.sponsors-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsors-img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sponsors-img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        row-gap: 0.65rem;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        width: 36px;
        height: 36px;
        border: 1px solid #c9d8e6;
        border-radius: 8px;
        background: #ffffff;
        justify-self: end;
        cursor: pointer;
    }

    .mobile-menu-button span {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-sponsor-strip {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.55rem;
        grid-column: 1;
    }

    .nav-sponsor-logo {
        height: 20px;
    }

    .nav-sponsor-strip .nav-sponsor-logo:nth-child(2) {
        height: 25px;
        margin-left: 0;
        margin-right: 0;
    }

    .nav-sponsor-strip .nav-sponsor-logo:nth-child(3) {
        height: 22px;
    }

    .nav-links {
        grid-column: 1;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
        padding: 1rem 0;
        display: none; /* Hidden by default on mobile */
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
        width: 100%;
    }

    .hero {
        padding: 6rem 1rem 4rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .topics-grid,
    .organizers-grid,
    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }

    .organizers-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Add hamburger menu styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}

/* Global Link Styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Keep specific link styles that need to be different */
.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-primary, .cta-secondary {
    text-decoration: none;
}

.cta-primary {
    color: var(--primary-color);
}

.cta-secondary {
    color: var(--white);
}

.social-link {
    color: var(--white);
}

.social-link:hover {
    color: var(--primary-color);
}

/* Go to Top Button */
#go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#go-to-top.show {
    opacity: 1;
    visibility: visible;
}

#go-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero h2 a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-caption {
    position: absolute;
    right: 2.5rem;
    bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    background: rgba(0,0,0,0.35);
    color: #fff;
    padding: 0.5em 1.2em;
    border-radius: 1.2em;
    font-size: 0.8em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hero-caption i {
    color: var(--primary-color-alt);
    font-size: 1.2em;
    margin-right: 0.4em;
}

.hero-caption a {
    color: #fff;
    transition: color 0.2s;
}

.hero-caption a:hover {
    color: var(--primary-color-alt);
}

.hero a:hover,
.hero .cta-primary:hover,
.hero .cta-secondary:hover {
    color: var(--primary-color-alt) !important;
    border-color: var(--primary-color-alt) !important;
}

.flex-bullet {
    display: flex;
    align-items: center;
    gap: 4em;
    list-style-type: disc;
    list-style-position: inside;
    position: relative;
}
.important-dates-table {
    width: 50%;
    border-collapse: collapse;
    margin: 0 auto 2em auto;
    table-layout: fixed;
}
.important-dates-table td {
    padding: 0.5em 0.8em;
    vertical-align: middle;
    border: none;
    font-size: 1em;
}
.important-dates-table td.event-col {
    width: 200px;
}
.important-dates-table td.date-col {
    width: 260px;
}
.important-dates-table td.countdown-col {
    width: 170px;
    text-align: left;
    padding-left: 0.8em;
}
.countdown-clock {
    font-size: 0.9em;
    color: var(--primary-color-alt);
    font-weight: 600;
    display: inline-block;
    text-align: left;
    white-space: nowrap;
}

.important-dates-table tr:not(:last-child) td {
    border-bottom: 1px solid #e0e0e0;
}
.important-dates-table tr:first-child td {
    border-top: 1px solid #e0e0e0;
}
.important-dates-table tr:last-child td {
    border-bottom: 1px solid #e0e0e0;
}

/* Paper List Styles */
.paper-list {
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.paper-list li {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.paper-list li:hover {
    transform: translateY(-5px);
}

.paper-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.5;
    display: block;
}

.paper-list a:hover {
    color: var(--primary-color);
}
.page-header-simple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header-simple h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header-simple p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.back-home {
    display: inline-block;
    margin: 1rem 0;
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.back-home:hover {
    opacity: 1;
}

.section-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 2rem;
}

.committee-list {
    list-style: none;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.committee-list li {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.committee-list li:hover {
    transform: translateY(-5px);
}

.committee-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    font-weight: 500;
}

.committee-list a:hover {
    color: var(--primary-color);
}

.committee-list .no-link {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* --- 1. Top Section: Info Layout (Dates & Guidelines, stacked) --- */
.submission-info-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 2rem;
}

.info-block {
    text-align: center;
}

.info-block-title {
    font-size: 1.8rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Dates Table Styling */
.dates-block .important-dates-table {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: auto;
}

#submission .important-dates-table td {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-200);
}

#submission .event-col {
    color: var(--gray-600);
    font-weight: 500;
    text-align: left;
}

#submission .date-col {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

/* Guidelines: paragraph style, centered block */
.guidelines-block .guidelines-content {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.guidelines-block .guidelines-content p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.guidelines-block .guidelines-content p:last-child {
    margin-bottom: 0;
}

.submission-action-area {
    margin-top: 1rem;
}

/* Divider */
.section-divider {
    border: 0;
    height: 1px;
    background: var(--gray-300);
    margin: 2rem 0 3rem 0;
}

/* --- 2. Bottom Section: Paper Tracks Cards --- */
.tracks-section {
    margin-top: 1rem;
}

.subsection-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--gray-800);
}

.paper-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.section-challenge .challenge-lead {
    max-width: 840px;
    margin: 0 auto 1.6rem;
    text-align: center;
    color: var(--gray-700);
}

.section-challenge .timeline-card {
    margin: 1.2rem 0 1.6rem;
}

.section-challenge .sponsor-card {
    padding-bottom: 1.4rem;
}

.section-challenge .challenge-sponsor-logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.2rem;
}

.section-challenge .challenge-sponsor-logo {
    width: min(100%, 150px);
    height: auto;
    display: block;
}

.section-sponsors .sponsor-card {
    margin: 0 auto;
    max-width: 1080px;
    padding: 0.72rem 1rem;
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.section-sponsors .sponsors-lead {
    margin: -0.2rem auto 1rem;
    text-align: center;
    color: var(--gray-700);
    font-weight: 600;
}

.section-sponsors .challenge-sponsor-logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    flex-wrap: nowrap;
}

.section-sponsors .challenge-sponsor-logo {
    width: auto;
    max-width: 100%;
    max-height: 42px;
    height: auto;
    display: block;
}

.section-sponsors .sponsor-logo-tile {
    min-height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.3rem;
    flex: 1 1 0;
    transition: none;
}

.section-sponsors .sponsor-logo-tile:hover {
    transform: none;
    box-shadow: none;
}

.section-challenge .paper-tracks-grid {
    margin-top: 1.2rem;
    grid-template-columns: minmax(0, 1fr);
}

.section-challenge .paper-track-card {
    padding: 1.3rem 1.35rem;
}

.section-challenge .challenge-track-body {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
    gap: 1.4rem;
    align-items: start;
}

.section-challenge .challenge-track-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-challenge .challenge-track-details .track-details-list {
    margin-bottom: 1.2rem;
}

.section-challenge .award-rank-list {
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.section-challenge .award-rank-list li {
    margin: 0;
    line-height: 1.4;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.58rem;
    border: 1px solid #e4cfaa;
    border-radius: 0.55rem;
    background: linear-gradient(135deg, #fff8ea 0%, #fffdf5 100%);
}

.section-challenge .award-rank-list li:last-child {
    margin-bottom: 0;
}

.section-challenge .award-rank-icon {
    font-size: 0.98rem;
    line-height: 1;
    flex: 0 0 auto;
}

.section-challenge .award-rank-title {
    color: #1d4869;
    font-weight: 800;
}

.section-challenge .award-rank-cash {
    color: #b87800;
    font-weight: 900;
    font-size: 1.16rem;
    line-height: 1;
}

.section-challenge .award-rank-note {
    color: #3e5368;
    font-weight: 700;
}

.section-challenge .challenge-inline-timeline {
    margin: 0;
    padding: 1.1rem 1.1rem 0.45rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.section-challenge .challenge-inline-timeline .card-header-simple h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
}

.section-challenge .challenge-inline-timeline .compact-dates-table td {
    padding: 0.42em 0.5em;
    font-size: 0.95rem;
}

.section-challenge .challenge-inline-timeline .compact-dates-table td.event-col {
    width: 62%;
}

.section-challenge .challenge-inline-timeline .compact-dates-table td.date-col {
    width: 38%;
    font-size: 0.93rem;
}

.section-challenge .challenge-side-column {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-self: start;
}

.section-challenge .challenge-side-sponsor {
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(30, 95, 138, 0.22);
    border-radius: 0.7rem;
    background: #f5faff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-challenge .challenge-side-sponsor .detail-label {
    min-width: auto;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

.section-challenge .challenge-side-sponsor-logo {
    max-height: 32px;
    width: auto;
    max-width: 190px;
    display: block;
}

.section-challenge .challenge-side-sponsor-logo-abaka {
    max-height: 42px;
    max-width: 270px;
}

.section-challenge .card-header-simple h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.section-challenge .card-header-simple h4 .challenge-title-link {
    color: #3f78b8;
    font-weight: 500;
    font-size: 0.94em;
}

.section-challenge .card-header-simple h4 .challenge-title-link:hover {
    color: #2f5f9d;
}

.section-challenge .track-details-list li {
    flex-direction: row;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.section-challenge .detail-label {
    min-width: auto;
    margin-right: 0.35rem;
}

.section-challenge .detail-value {
    color: var(--gray-700);
    min-width: 0;
}

.section-challenge .challenge-action-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: 0;
    padding: 0.64rem 1.2rem;
    border-radius: 0.6rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.section-challenge .challenge-action-button:hover {
    background-color: #184e77;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}

.section-challenge .challenge-action-disabled,
.section-challenge .challenge-action-disabled:hover {
    background-color: var(--gray-400);
    color: var(--white);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
    pointer-events: none;
}

.tracks-section .track-details-list li {
    align-items: flex-start;
}

.tracks-section .detail-label {
    min-width: 120px;
}

.tracks-section .detail-value {
    color: var(--gray-700);
}

.timeline-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    margin: 1.5rem 0 2rem;
}

.timeline-card .compact-dates-table {
    width: 100%;
    margin: 0;
}

.timeline-card .compact-dates-table td {
    padding: 0.4em 0.7em;
}

.timeline-card .compact-dates-table td.event-col {
    width: 55%;
}

.timeline-card .compact-dates-table td.date-col {
    width: 45%;
    text-align: right;
    color: var(--gray-600);
    font-weight: 500;
}

.timeline-card .compact-dates-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.timeline-card .compact-dates-table tr:first-child td,
.timeline-card .compact-dates-table tr:last-child td {
    border-top: none;
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.paper-track-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.paper-track-card:hover {
    transform: translateY(-5px);
}

.card-header-simple h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 1rem;
}

.track-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.track-details-list li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.05rem;
    margin-right: 0.5rem;
}

.detail-value {
    color: var(--gray-600);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .workshop-awards-row {
        grid-template-columns: 1fr;
    }

    .section-challenge .challenge-track-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-challenge .challenge-side-column {
        width: 100%;
    }

    .section-challenge .challenge-side-sponsor {
        margin-top: 0;
    }

    .section-challenge .challenge-action-button {
        align-self: center;
    }
}

@media (min-width: 1180px) {
    .section-challenge .challenge-inline-timeline .compact-dates-table td.date-col {
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .track-details-list li {
        flex-direction: row;
        align-items: baseline;
    }

    .detail-label {
        min-width: 90px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .submission-info-container {
        gap: 2rem;
    }

    .section-sponsors .sponsor-card {
        padding: 0.65rem 0.8rem;
        border-radius: 12px;
    }

    .section-sponsors .challenge-sponsor-logo-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .section-sponsors .challenge-sponsor-logo {
        max-height: 34px;
    }

    .section-sponsors .sponsor-logo-tile {
        flex: 0 1 calc(50% - 0.4rem);
        min-height: auto;
        padding: 0.2rem 0.35rem;
    }
}
