/* Base page styling */
body {
  font-family: "EB Garamond", "Adobe Garamond Pro", Garamond, Georgia, "Times New Roman", serif;
  max-width: 720px;
  margin: 70px auto;
  padding: 0 20px;
  line-height: 1.65;
  color: #111;
  background: #ffffff;
}

/* Main title */
h1 {
  font-size: 2.4em;
  margin-bottom: 6px;
}

/* Subtitle */
h2 {
  font-size: 1.1em;
  font-weight: normal;
  color: #555;
  margin-top: 0;
  margin-bottom: 50px;
}

/* Section headings */
h3 {
  font-size: 1.25em;
  margin-top: 50px;   /* unified spacing */
  margin-bottom: 12px;
}

/* Profile image */
img {
  display: block;
  width: 800px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 60px auto;  /* same space below as h3 margin-top */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Ensure the first h3 does not get excessive space from top */
h2 + h3 {
  margin-top: 50px;
}
/* Paragraphs */
p {
  font-size: 1.05em;
  margin-top: 0;
  margin-bottom: 18px;
}

/* Lists */
ul {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

/* Footer-like contact area refinement */
a {
  color: #111;
  text-decoration: underline;
}

a:hover {
  color: #444;
}

/* Extra spacing for Subjects list and Profile Image */
.subjects-list {
  margin-bottom: 60px; /* some space after list */
}

.profile-image {
  margin-top: 30px;    /* extra space before image */
  text-align: center;  /* ensures image stays centered */
}
