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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f7f7f9;
}

a {
    color: #005fb8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1.2rem 3rem;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
}

/* Logo + Title Layout */
.header-flex {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 1.2rem;
margin-bottom: 1.5rem;
}

.header-logo {
display: block;
height: 150px; /* Adjusted automatically with media queries below */
}

.header-titles {
display: flex;
flex-direction: column;
text-align: left;
}

.header-titles h1 {
font-size: 2rem;
line-height: 1.2;
margin-bottom: 0.4rem;
}

.header-titles h2 {
font-size: 1rem;
color: #555;
font-weight: 500;
}

/* Mobile layout */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
    }
    .header-logo {
        height: 80px;
    }
    .header-titles {
        text-align: center;
    }
}


header {
    text-align: center;
    margin-bottom: 2.5rem;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

header h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 1rem;
}

.authors {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.affiliation {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1.25rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.pill-row a {
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    border: 1px solid #d0d7de;
    background: #f6f8fa;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pill-row a:hover {
    background: #e9eef5;
    text-decoration: none;
}

.pill-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    margin-bottom: 0.75rem;
    text-align: center;
}

.teaser {
    margin-bottom: 2rem;
}

.teaser img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    border: 1px solid #e3e3e3;
}

.teaser-caption {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 0.4rem;
}

section {
    margin-bottom: 2rem;
}

section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 0.4rem;
    margin-bottom: 0.9rem;
}

p {
    margin-bottom: 0.75rem;
    font-size: 0.97rem;
}

.inline-code {
    font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
    background: #f6f8fa;
    border-radius: 4px;
    padding: 0.1rem 0.3rem;
    font-size: 0.9em;
}

.columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.4rem;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.result-table th,
.result-table td {
    border: 1px solid #e1e4e8;
    padding: 0.4rem 0.55rem;
    text-align: left;
}

.result-table th {
    background: #f6f8fa;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: #e6f4ea;
    color: #1e7c3b;
    font-size: 0.75rem;
    font-weight: 600;
}

pre {
    background: #0b1020;
    color: #f5f5f5;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.5;
}

code {
    font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

footer {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 0.75rem;
}

@media (max-width: 768px) {
    .columns {
    grid-template-columns: 1fr;
    }

    header h1 {
    font-size: 1.6rem;
    }

    .page {
    padding: 1.5rem 1rem 2.5rem;
    margin-top: 1rem;
    }
}

/* News Updates Section */
/* News Section (Improved Layout) */
.news-section {
    margin-top: 2rem;
  }
  
  .news-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.2rem;
  }
  
  .news-item {
    margin-bottom: 1.4rem;
    padding-left: 1rem;
    border-left: 3px solid #d0d7de;
  }
  
  .news-date {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.15rem;
  }
  
  .news-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.3rem;
  }
  
  .news-desc {
    display: block;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
  }

  
/* Key capabilities section */
.key-capabilities {
    margin-top: 2rem;
  }
  
  .capability-list {
    list-style: disc;
    padding-left: 1.4rem;
    margin-top: 0.8rem;
  }
  
  .capability-item {
    margin-bottom: 0.6rem;
    font-size: 0.96rem;
    line-height: 1.5;
  }
  
  .capability-title {
    font-weight: 700;
  }

/* Author block with numbered labels */
.authors-with-affiliations {
    margin-bottom: 1.6rem;
    text-align: center;
  }
  
  .author-line {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.4rem;
  }
  
  .author-line .author {
    white-space: nowrap;
  }
  
  .affiliation-line {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
  }
  
  .affiliation-line span {
    white-space: nowrap;
  }
  