body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
}

.container {
  max-width: 1000px; /* Increase from 820px to widen the content area */
  margin: 30px auto;
  padding: 20px 15px; /* Second value is left/right inner padding */
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
  
}

/* Header & Navigation */
header {
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 12px;
  margin-bottom: 25px;
}

header h1 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  color: #111;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

nav a {
  text-decoration: none;
  color: #0056b3;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  color: #000;
  font-weight: bold;
}

/* Content Layout */
.intro-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.profile-pic {
  width: 200px;
  height: auto
  border-radius: 4px;
  border: 1px solid #ddd;
  object-fit: cover;
  margin-top: 35px; /* Adjust this value to push it further down */
}

/* Text & Headings */
h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
  margin-top: 25px;
  font-size: 1.3rem;
  color: #333;
}

a {
  color: #0066cc;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

footer {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* Responsive for mobile screens */
@media (max-width: 600px) {
  .intro-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Research / Preprint List */
.paper-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.paper-item:last-child {
  border-bottom: none;
}

/* Thumbnail preview */
.paper-img {
  width: 170px;
  max-width: 100%;
  height: 110px;
  object-fit: cover;
  box-shadow: none;     /* Removes any drop shadow */
  border-radius: 0;     /* (Optional) Removes rounded corners if you want square edges */
  flex-shrink: 0;
}
  
  flex-shrink: 0; /* Prevents image from shrinking */
}

/* Text and details */
.paper-details {
  flex: 1;
}

.paper-title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.paper-authors {
  color: #333;
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.paper-venue {
  color: #555;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.paper-desc {
  margin: 8px 0 10px 0;
  font-size: 0.93rem;
  color: #444;
  line-height: 1.5;
}

.paper-links {
  font-size: 0.9rem;
}

.paper-links a {
  margin-right: 4px;
}

/* Stack vertically on smaller mobile screens */
@media (max-width: 650px) {
  .paper-item {
    flex-direction: column;
  }

/* Larger Thumbnail preview */
.paper-img {
  width: 10px;       /* Increased from 170px */
  max-width: 100%;
  height: auto;      /* Increased from 110px to keep roughly a 16:10 ratio */
  border: none;         /* Removes the gray outline */
  box-shadow: none;     /* Removes any drop shadow */
  border-radius: 0;     /* (Optional) Removes rounded corners if you want square edges */
  flex-shrink: 0;
}
}

/* Notes Page Styling */
.notes-list {
  padding-left: 20px;
  margin-top: 20px;
}

.notes-list li {
  margin-bottom: 20px;
  line-height: 1.5;
}

.notes-list a {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.notes-list a:hover {
  text-decoration: underline;
}

.note-desc {
  margin: 5px 0 0 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}
