/* Sidebar Styling (adapted from aysedeniz09.github.io) */
.sidebar {
  position: fixed;
  width: 220px;
  min-height: 100vh;
  background-color: #333;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.sidebar-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}

.sidebar-brand-img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-tagline {
  font-size: 0.85em;
  text-align: center;
  color: #fff;
  font-family: Georgia, serif;
  margin-top: 0;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.site-footer {
  text-align: center;
  font-size: 0.8em;
  font-style: italic;
  color: #999;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

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

.sidebar nav ul li {
  margin: 20px 0;
}

.sidebar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s;
}

.sidebar nav ul li a:hover {
  color: #ccc;
}

.contact-info {
  text-align: center;
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 0.95em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #555;
  color: white;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9em;
  transition: background 0.3s;
}

.social-links a:hover {
  background-color: #777;
}

.social-links i {
  margin-right: 6px;
}

/* Main Content */
body {
  display: flex;
  margin: 0;
  font-family: Georgia, serif;
  background-color: #f5f5f5;
  scroll-behavior: smooth;
}

.main-content {
  margin-left: 240px;
  padding: 40px;
  max-width: 900px;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

h3 {
  font-size: 1.4em;
  margin-top: 30px;
  color: #333;
}

p, li {
  font-size: 1.05em;
  line-height: 1.6;
}

section {
  margin-bottom: 70px;
}

a {
  color: navy;
}

a:hover {
  color: #0056b3;
}

.research-areas {
  list-style: disc;
  margin-left: 20px;
}

.research-areas li {
  margin-bottom: 10px;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ddd;
}

.news-date {
  font-weight: bold;
  color: #333;
}


.person-card {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  align-items: flex-start;
}

.person-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #ddd;
}

.person-info h4 {
  margin: 0 0 4px;
  font-size: 1.3em;
  color: #333;
}

.person-info h4 a {
  color: inherit;
  text-decoration: none;
}

.person-info h4 a:hover {
  text-decoration: underline;
}

.person-role {
  font-style: italic;
  color: #666;
  margin: 0 0 10px;
}

.person-info p {
  margin: 0 0 8px;
}

.people-note {
  background: #fff;
  border-left: 4px solid #333;
  padding: 15px 20px;
  border-radius: 4px;
  font-style: italic;
  color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    display: block;
  }

  .sidebar {
    position: static;
    width: auto;
    min-height: auto;
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
    max-width: 100%;
  }
}