/* Imported Infinigram styles to match headings/titles exactly.
   Source: https://infini-gram.io/assets/style.css */
@import url('https://infini-gram.io/assets/style.css');
/* Site font family */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
.site-header,
.site-title,
.site-nav .page-link,
.post-content {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/* Match infini-gram wrapper width without breaking Minima header layout */
.page-content .wrapper { max-width: 800px; margin: 0 auto; }

/* Link style to match infini-gram/minima */
a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Back button style (text-only) */
.back-btn {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 6px;
  background: #f9fafb; /* gray-50 */
  color: #111827; /* gray-900 */
  font-weight: 600;
}
.back-btn:hover { background: #f3f4f6; text-decoration: none; }

/* Author/affiliation sizing */
.authors {
  font-size: 20px;
  margin-bottom: 4px;
}
.authors a {
  font-weight: 600;
  color: #1a73e8; /* Blue link color */
  text-decoration: none;
}
.authors a:hover {
  text-decoration: underline;
}
.affiliations {
  font-size: 16px;
  line-height: 1.4;
  color: #374151; /* Gray-700 */
}

/* Subtle equal contribution note */
.equal-note { font-size: 14px; color: #4b5563; font-style: italic; margin-top: 4px; }

/* Reduce gap between site title and first nav item */
.site-header .site-nav { margin-left: 0; }
.site-header .site-nav .trigger { display: flex; align-items: center; gap: 6px; }
.site-header .site-nav .page-link { margin-left: 0; white-space: nowrap; }

/* Place nav right next to title (override Minima floats) */
.site-header .wrapper { display: flex; align-items: center; gap: 12px; }
.site-header .site-title { 
  float: none !important; 
  display: inline-block; 
  margin-right: 20px !important; 
  white-space: nowrap; 
  text-decoration: none !important;
}
.site-header .site-title:hover { text-decoration: none !important; }
.site-header .site-nav { float: none !important; display: inline-block; margin-left: 0; }

/* Hide Minima theme footer and duplicate page titles on all pages */
.site-footer,
footer.site-footer,
body .site-footer,
.wrapper .site-footer { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
.post-title, .page-title, h1.post-title, h1.page-title { display: none !important; }

