/* Flat, backdated classic academic styling */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.9;
  font-size: 18px;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 50px;
  background-color: #ffffff;
}

/* Typography */
h1 {
  font-size: 2.3em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.2;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.7em;
  font-weight: bold;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 20px;
  line-height: 1.4;
  border-bottom: 3px solid #000000;
  padding-bottom: 10px;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 1.4em;
  font-weight: bold;
  color: #000000;
  margin-top: 35px;
  margin-bottom: 15px;
  font-family: 'Times New Roman', Times, serif;
}

p {
  margin-bottom: 18px;
  color: #000000;
  text-align: justify;
  text-justify: inter-word;
}

a {
  color: #0000ff;
  text-decoration: underline;
}

a:hover {
  color: #000088;
  text-decoration: underline;
}

a:visited {
  color: #800080;
}

/* Header section */
header {
  margin-bottom: 55px;
  padding-bottom: 30px;
  border-bottom: 3px solid #000000;
}

.name {
  font-size: 2.7em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 12px;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 1.5px;
}

.role {
  font-size: 1.2em;
  color: #444444;
  font-weight: normal;
  font-style: italic;
}

/* Section styling */
section {
  margin-bottom: 50px;
}

/* Research interests */
.interests ul {
  list-style: none;
  padding-left: 0;
}

.interests li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  text-indent: -20px;
}

.interests li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #000000;
  font-size: 1.3em;
  font-weight: bold;
}

/* Publications */
.publications ul {
  list-style: none;
  padding-left: 0;
}

.publications li {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid #cccccc;
}

.publications li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.publication-title {
  font-weight: bold;
  color: #000000;
  margin-bottom: 8px;
  display: block;
  font-size: 1.1em;
}

.publication-authors {
  color: #444444;
  margin-bottom: 8px;
  font-style: italic;
}

.publication-meta {
  color: #666666;
  font-size: 0.95em;
}

/* Paper page specific styles */
.paper-header {
  margin-bottom: 40px;
  padding-bottom: 35px;
  border-bottom: 3px solid #000000;
}

.paper-title {
  font-size: 2.3em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.3;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 1px;
}

.paper-author {
  font-size: 1.2em;
  color: #444444;
  margin-bottom: 30px;
  font-style: italic;
}

.abstract {
  background-color: #f5f5f5;
  border-left: 4px solid #000000;
  padding: 25px;
  margin: 40px 0;
}

.abstract h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.publication-info {
  background-color: #f5f5f5;
  padding: 25px;
  margin: 40px 0;
}

.publication-info p {
  margin-bottom: 15px;
  text-align: left;
}

.publication-info p:last-child {
  margin-bottom: 0;
}

/* Download button */
.download-section {
  margin: 40px 0;
  padding: 30px;
  background-color: #f5f5f5;
  text-align: center;
}

.download-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #000000;
  color: #ffffff;
  font-weight: bold;
  border: 2px solid #000000;
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.1em;
}

.download-button:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
  text-decoration: none;
}

.download-button:visited {
  color: #ffffff;
}

/* Citation section */
.citation {
  background-color: #f5f5f5;
  padding: 28px;
  margin: 40px 0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.95em;
  line-height: 2.0;
  color: #000000;
  text-align: justify;
  text-justify: inter-word;
}

.citation h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.back-link {
  display: inline-block;
  margin-top: 50px;
  color: #0000ff;
  font-size: 0.95em;
  text-decoration: underline;
  padding: 5px 0;
}

.back-link:hover {
  color: #000088;
  text-decoration: underline;
}

/* Contact section */
.contact ul {
  list-style: none;
  padding-left: 0;
}

.contact li {
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .container {
    padding: 30px 20px;
  }

  .name {
    font-size: 2.2em;
  }

  .paper-title {
    font-size: 2em;
  }

  h1 {
    font-size: 2em;
  }
  
  h2 {
    font-size: 1.5em;
  }
}
