@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #333;
  line-height: 1.7;
  font-size: 16px;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
}

a {
  color: #1e73be;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Fixed Left Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 20%;
  height: 100vh;
  background: #f7f7f7;
  border-right: none;
  padding: 60px 35px 30px;
  overflow-y: auto;
  font-family: 'Roboto Condensed', sans-serif;
}

.sidebar .profile-img {
  display: block;
  max-width: 100%;
  margin-bottom: 25px;
}

.sidebar nav ul {
  list-style: none;
}

.sidebar nav ul li {
  margin-bottom: 0;
}

.sidebar nav ul li a {
  display: block;
  padding: 1px 12px;
  color: #333;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  border-radius: 4px;
  transition: color 0.2s;
  cursor: pointer;
}

.sidebar nav ul li a:hover {
  color: #999;
  text-decoration: none;
  background: none;
}

.sidebar nav ul li a.active {
  color: #999;
  text-decoration: none;
  background: none;
}

/* Main Content */
.main-content {
  margin-left: calc(20% + 30px);
  padding: 40px 50px 30px;
  max-width: 900px;
}

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

h1 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 5px;
}

h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-top: 25px;
  margin-bottom: 10px;
}

h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
}

h4 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
}

hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 20px 0;
}

hr.section-divider {
  margin: 40px 0;
}

.subtitle {
  margin-bottom: 2px;
  color: #555;
}

.contact-email {
  margin-bottom: 8px;
}

.social-links a {
  margin-right: 10px;
  display: inline-block;
}

.social-links img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.social-links .cv-link {
  font-weight: 600;
  color: #111;
  vertical-align: middle;
}


/* Publication entry */
.pub-entry {
  margin-bottom: 18px;
}

.pub-entry .pub-title {
  font-weight: 700;
}

.pub-entry .pub-authors {
  font-size: 15px;
}

.pub-entry .pub-venue {
  font-size: 15px;
  font-style: italic;
}

/* Student entry */
.student-entry {
  margin-bottom: 14px;
}

/* Awards list */
.awards-list li {
  margin-bottom: 12px;
  list-style: disc;
  margin-left: 20px;
}

/* Research interests */
.interests-list {
  list-style: disc;
  margin-left: 20px;
}

.interests-list li {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
  }

  .sidebar .profile-img {
    max-width: 200px;
  }

  .main-content {
    margin-left: 0;
    padding: 40px 20px 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }
}
