/* Page layout */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Times New Roman", Times, serif;
  position: relative;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.page-header h1 {
  font-size: 3em;
  margin: 0;
  color: #222;
}

.page-header .email {
  font-size: 1.1em;
  color: #555;
  margin-top: 8px;
}

.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.intro-text {
  flex: 1;
  min-width: 250px;
}

.intro-image {
  flex: 1;
  min-width: 200px;
}

.intro-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

h2 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #444;
}

/* Papers list */
.papers-list {
  list-style-type: disc;
  padding-left: 20px;
}

.papers-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}


/* FLEXBOX layout for intro section */
.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

/* Text on the left */
.intro-text {
  flex: 1;
  min-width: 250px;
}

/* Image on the right */
.intro-image {
  flex: 1;
  min-width: 200px;
  text-align: right;
}

/* Make the image responsive */
.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

body {
    font-family: "Times New Roman", Times, serif;
}

.paper {
  margin-bottom: 30px;
  font-family: "Times New Roman", Times, serif;
}

.paper-link {
  margin-left: 8px;
  font-size: 1rem;
  color: grey;
  text-decoration: none;
}

.paper-link:hover {
  text-decoration: underline;
}

.abstract-toggle {
  font-size: 1rem;
  cursor: pointer;
  background: none;
  font-family: "Times New Roman", Times, serif;
  border: none;
  color: grey;
  padding: 0;
  font-weight: none;
  text-decoration: none; /* ← removes underline */
}

.abstract-toggle:hover {
  color: black;
  text-decoration: none; /* ← ensures no underline on hover too */
}

.abstract {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid #ccc;
  font-style: italic;
  max-width: 700px;
}

.paper_title {
    font-size: 20px;
    font-weight: bold;
}

.top-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.nav-button {
  background: none;
  border: none;
  color: grey;
  padding: 0;
  font-family: sans-serif;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-button:hover {
  color: black;
  text-decoration: underline;
}