/* Simple, clean styles - easy to maintain */

/* Remove default spacing from everything */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic page setup */
body {
  /*  font-family: Arial, sans-serif;*/
  font-family: Calibri, sans-serif;
  background-color: white;
  color: #333;
  line-height: 1.6;
}

/* Black navigation bar at the top */
nav {
  background-color: #333;
  padding: 1rem 0;
  width: 100%;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 1rem 1.25rem;
  margin: 0 0.3rem;
  border-radius: 0.3rem;
  font-weight: normal;
}

nav a:hover {
  background-color: #555;
}

/* Active page highlighting */
nav a.active {
  /* background-color: #1a73e8; */
  font-weight: bold;
  color: white;
}

/* Main content area */
.content {
  max-width: 50rem;
  margin: 1rem auto;
  padding: 0 1.25rem;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.text {
  flex: 1;
}

.image img {
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 0;
  object-fit: cover;
}

/* Typography */
h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  margin-top: 2.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

p {
  margin-bottom: 0.25rem;
}

/* Links */
a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Research papers */
.paper {
  background-color: #ffffff;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

.paper h2 {
  margin-top: 0;
  color: #333;
}

.authors {
  font-style: italic;
  color: #666;
  margin-bottom: 0.5rem;
}

.abstract-label {
  font-weight: bold;
}

/* Abstract (with toggle functionality) */
.abstract {
  display: none; /* This hides the abstract by default */
}

.abstract.visible {
  display: inline; /* This shows the abstract inline with the button */
}

.abstract-toggle {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  font-size: inherit;
  font-family: inherit;
  font-weight: bold;
  padding: 0;
  margin-top: 0.25rem;
}

.abstract-toggle:hover {
  color: #0d5bb8;
}

/* Contact info */
.contact-info {
  margin-top: 1.6rem;
}

.contact-item {
  margin-bottom: 0.5rem;
}

.contact-label {
  font-weight: bold;
  color: #666;
}

/* Mobile responsiveness */
@media (max-width: 48rem) {
  .content {
    flex-direction: column;
    text-align: center;
  }
  
  .image img {
    width: 9.4rem;
    height: 9.4rem;
  }
  
  nav a {
    display: block;
    margin: 0.3rem 0.6rem;
  }
}