/* ============================================================
   BASE STYLES & TYPOGRAPHY
   ============================================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Container - centered single column */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Responsive container adjustment */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px 40px;
    }
}

/* ============================================================
   HEADER & TITLE SECTION
   ============================================================ */

header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.venue {
    font-size: 1.35rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

/* Authors */
.authors {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.authors span {
    margin: 0 8px;
}

.authors sup {
    font-size: 0.8em;
}

/* Affiliations */
.affiliations {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

.affiliations p {
    margin: 10px 0;
    text-align: center;
}

.author-notes {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    margin-top: 30px;
}

.author-notes p {
    margin: 0px 0;
    text-align: center;
}

/* Logos */
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Mobile adjustments for header */
@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .venue {
        font-size: 1.15rem;
    }
    
    .authors {
        font-size: 1rem;
    }
    
    .authors span {
        display: inline-block;
        margin: 5px 5px;
    }
    
    .logos {
        gap: 20px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    
    .logos img {
        height: 40px;
    }
}

/* ============================================================
   TEASER & SECTIONS
   ============================================================ */

.teaser {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    text-align: center;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

/* ============================================================
   LINKS & RESOURCES
   ============================================================ */

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

.links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    /* justify-content: center; */
}

.links li {
    font-size: 1.05rem;
}

.links a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.links a:hover {
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .links ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .links a {
        display: block;
        text-align: center;
    }
}

/* ============================================================
   CITATION & CODE BLOCKS
   ============================================================ */

.citation-text {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #0066cc;
    font-size: 0.95rem;
    line-height: 1.6;
}

pre {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 1.25em 1.5em;
    overflow-x: auto;
    margin: 15px 0;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {
    pre {
        padding: 1em;
    }

    pre code {
        font-size: 0.8rem;
    }
}

/* ============================================================
   FIGURE SECTIONS - KEY RESPONSIVE LAYOUT
   ============================================================
   
   Use .figure-section for any section containing figures.
   Use .figure for individual images with captions.
   Use .figure-grid for side-by-side layouts (auto-responsive).
   ============================================================ */

.figure-section {
    margin-bottom: 60px;
}

/* Single figure wrapper */
.figure {
    margin: 25px 0;
    text-align: center;
}

.figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.caption {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
    line-height: 1.6;
    padding: 0 10px;
}

.caption strong {
    color: #333;
}

/* ============================================================
   FIGURE GRID - For side-by-side images
   Automatically responsive: side-by-side on desktop, stacked on mobile
   ============================================================ */

.figure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* For 2-column layouts, use this instead: */
/* .figure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
} */

/* Mobile: stack all grid items */
@media (max-width: 768px) {
    .figure-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ============================================================
   RELATED LINKS & LISTS
   ============================================================ */

.related-links {
    list-style: none;
    padding-left: 0;
}

.related-links li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.related-links li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0066cc;
}

ul:not(.links ul):not(.related-links):not(.news-list) {
    margin-left: 25px;
    margin-bottom: 15px;
}

ul:not(.links ul):not(.related-links):not(.news-list) li {
    margin-bottom: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.9rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Center text in any section */
.text-center {
    text-align: center;
}

/* Add extra spacing */
.spacing-large {
    margin-bottom: 80px;
}

/* Highlight box for important notes */
.highlight-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Zoomable image styling */
/* img.zoomable {
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

img.zoomable:hover {
    opacity: 0.95;
}

.zoom-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
} */

/* Remove zoom-hint on mobile if you want */
/* @media (max-width: 768px) {
    .zoom-hint {
        display: none;
    }
} */

.breadcrumb {
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Add scroll margin to prevent header overlap */
#availability-notice {
    scroll-margin-top: 20px;
}

.tldr-label {
    font-weight: 700;
    font-style: normal;
}

/* ============================================================
   NEWS
   ============================================================ */

.news-list {
list-style: none;
padding-left: 0;
}

.news-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.news-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0066cc;  /* Match your link color */
}

.news-list strong {
    color: #2c3e50;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* ============================================================
   CUSTOMIZATION TIPS
   ============================================================
   
   1. Change primary color: Search and replace #0066cc with your color
   2. Adjust max-width: Change .container max-width (900px)
   3. Modify font: Change the font-family in body
   4. Spacing: Adjust section margin-bottom values
   5. Mobile breakpoint: Change @media (max-width: 768px) value
   
   ============================================================ */
