/* -----------------------------
   Global design choices
   ----------------------------- */

/* DESIGN CHOICE 1: Font family
   - serif → more traditional
   - sans-serif → more modern
*/

body {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  line-height: 1.6;
  background-color: #ffffff;
  color: #222222;
  margin: 0;
  padding: 0;
}

/* DESIGN CHOICE 2: Page width
   700–800px is typical for academic sites
*/
.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
}

/* -----------------------------
   Navigation
   ----------------------------- */

nav {
  margin-bottom: 40px;
}

nav a {
  margin-right: 18px;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

/* DESIGN CHOICE 3: Hover behavior */
nav a:hover {
  text-decoration: underline;
}

/* -----------------------------
   Headings
   ----------------------------- */

h1 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700; /* Bold headings */
  font-size: 2.2em;
  margin-bottom: 0.2em;
}

h2 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700; /* Bold headings */
  font-size: 1.3em;
  margin-top: 2em;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 4px;
}

/* -----------------------------
   Text elements
   ----------------------------- */

p {
  margin-top: 0.8em;
}

ul {
  margin-top: 0.5em;
}

li {
  margin-bottom: 0.5em;
}

/* -----------------------------
   Links
   ----------------------------- */

a {
  color: #003366;
}

a:hover {
  color: #000000;
}

/* -----------------------------
   Profile block
   ----------------------------- */

/* Profile block: photo + text */
.profile-block {
  display: flex;
  align-items: flex-start;  /* aligns photo with top of text */
  gap: 25px;                /* space between photo and text */
  margin-bottom: 40px;
}

/* Profile photo: rectangle with subtle rounding */
.profile-photo {
  width: 180px;             /* adjust for your preference */
  height: auto;
  border-radius: 8px;       /* subtle rounded corners */
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional shadow for depth */
}

/* Text container */
.profile-info h1 {
  margin-top: 0;
  font-size: 2em;
}

.profile-info p {
  margin: 0.5em 0;
  line-height: 1.5;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
  .profile-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    width: 50%;   /* smaller for mobile */
    max-width: 180px;
    margin-bottom: 15px;
  }
}
/* -----------------------------
   Footer (optional)
   ----------------------------- */

footer {
  margin-top: 60px;
  font-size: 0.9em;
  color: #666666;
}
