/* GENERAL */

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

/* NAVBAR */

.navbar {
  background-color: #111;
  padding: 22px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  color: white;
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 500;
}

.nav-right a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.95rem;
}

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

/* HERO SECTION */

.hero-container {
  display: flex;
  gap: 80px;
  max-width: 1100px;
  margin: 80px auto;
  align-items: flex-start;
}

.hero-image img {
  width: 380px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 12px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  margin-top: -15px;
}

.hero-text h2 {
  font-size: 2rem;
  margin-top: 0;
}

.hero-text h3 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.hero-text ul {
  margin-top: 10px;
}

a {
  color: #1a1a1a;
  text-decoration: underline;
}

a:hover {
  color: #000;
}

.hero-text p {
  margin-bottom: 20px;
}


/* RESEARCH PAGE */

.research-container {
  max-width: 850px;
  margin: 100px auto;
  padding: 0 20px;
}

.research-section {
  margin-bottom: 80px;
}

.research-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.paper-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.paper-list li {
  margin-bottom: 30px;
  padding-left: 25px;
  position: relative;
  line-height: 1.7;
}

/* pequeño marcador elegante */
.paper-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #888;
}

/* links más sutiles */
.paper-list a {
  margin-left: 8px;
  font-weight: 500;
  text-decoration: none;
  color: #003366;
}

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

/* TEACHING PAGE */

.teaching-container {
  max-width: 850px;
  margin: 100px auto;
  padding: 0 20px;
}

.teaching-container h2 {
  font-size: 1.8rem;
  margin-bottom: 50px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.teaching-item {
  display: flex;
  margin-bottom: 40px;
}

.teaching-year {
  width: 120px;
  font-weight: 600;
  color: #555;
}

.teaching-content {
  flex: 1;
  line-height: 1.7;
}

.teaching-content a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

.teaching-content a:hover {
  text-decoration: underline;
}


/* DIVIDER */

.section-divider {
  max-width: 1100px;
  margin: 80px auto 50px auto;
  border: none;
  border-top: 1px solid #ddd;
}

/* CONTACT */

.hero-text .contact-line {
  margin-top: 30px;
  margin-bottom: 5px;
}

.contact-email {
  margin-top: 0;
}

