/* ===========================
   General page styling
=========================== */

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #fcfcfa;
  line-height: 1.7;
}


/* ===========================
   Hero section
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap');

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 75vh;
}


.hero-text {
  max-width: 700px;
}


.hero-name {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 0 !important;
}
.hero-affiliation {
  font-size: 1.15rem;
  color: #444;
  margin-top: 0.1rem;
  margin-bottom: 0.7rem;
}

.hero-keywords {
  font-size: 0.9rem;
  color: #777;
  letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
}

.hero-buttons {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .hero-keywords {
    white-space: normal;
  }
}


.hero-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.research-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  display: block;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 3rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.about-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  display: block;
}

.about-text {
  padding-left: 0;
}

.about-page h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.research-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.research-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.research-figure {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.research-paper-link {
  font-weight: 500;
  text-decoration: none;
}

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

.research-page h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}

/* ===========================
Publications
=========================== */

.publications-page h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.08em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}   

.publications-photo img {
  width: 100%;
  max-width: 750px;
  height: 400px;
  object-fit: cover;
  object-position: center 17%;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

/* ===========================
ALAN page  
=========================== */

.alan-page h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}
 
.alan-page a {
  font-weight: 500;
  text-decoration: none;
}

.alan-page a:hover {
  text-decoration: underline;
}   


/* ===========================
CV
=========================== */

.cv-download {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-decoration: none;
}

.cv-download:hover {
  text-decoration: underline;
}  