/* Shared components used across index.html, program.html, cfp.html */

/* Site title (replaces NeurIPS logo image in header) */
.site-title {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 1.6em;
    color: var(--color-body);
}

/* Hero banner (home page) */
.hero {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 32px 24px;
    margin: 1.5em 0 2em;
    text-align: center;
}
.hero h1 {
    margin: 0 0 0.4em;
}
.hero .tagline {
    font-size: 1.15em;
    margin: 0 0 0.75em;
}
.hero .facts {
    color: #1e40af;
    font-weight: 600;
    margin: 0;
}

/* Important Dates box */
.dates-box {
    background: #f0f7ff;
    border: 2px solid #2563eb;
    border-radius: 8px;
    padding: 24px;
    margin: 32px auto;
    max-width: 700px;
}
.dates-box h3 {
    margin-top: 0;
    color: #1e40af;
}
.dates-box table {
    width: 100%;
    margin: 16px 0;
}
.dates-box table td {
    padding: 8px 0;
}
.dates-box table td:first-child {
    font-weight: 600;
    width: 50%;
}
.dates-box .note {
    font-size: 0.9em;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

/* Submission track callouts (Call for Papers) */
.track {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 24px 0;
    border-radius: 4px;
}
.track h3 {
    margin-top: 0;
    color: #1e40af;
}

/* Schedule table (Program) */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.schedule-table thead {
    background: #f1f5f9;
}
.schedule-table th,
.schedule-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.schedule-table th {
    font-weight: 600;
    color: #1e293b;
}
.schedule-table tbody tr:hover {
    background: #f8fafc;
}
.schedule-table td:first-child {
    font-weight: 600;
    color: #2563eb;
    white-space: nowrap;
}
.schedule-table tr.special-event {
    background: #fef3c7;
}
.schedule-table tr.special-event:hover {
    background: #fde68a;
}

/* Person grid (speakers / organizers / advisors) */
.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.person-card {
    text-align: center;
    padding: 16px;
}
.person-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}
.person-card a:hover {
    transform: translateY(-4px);
}
.person-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    cursor: pointer;
}
.person-card p {
    margin: 8px 0;
}
.person-card .name {
    font-weight: 600;
    font-size: 1.1em;
}
.person-card .affiliation {
    color: #64748b;
    font-size: 0.9em;
}

.note {
    font-style: italic;
    color: #64748b;
    font-size: 0.95em;
}

/* Sponsors */
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin: 24px 0;
}
.sponsor-logos img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}
.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    color: #1e40af;
}
.faq-item p {
    margin: 8px 0 0;
}

/* Reviewer sign-up callout */
.callout {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Footer social icons */
footer .social {
    display: flex;
    gap: 12px;
    align-items: center;
}
footer .social img {
    width: 24px;
    height: 24px;
}
