.md-header,
.md-tabs,
.md-sidebar,
.md-footer,
.md-search,
.md-announce {
  display: none !important;
}

.md-main {
  background: #ffffff;
}

.md-main__inner {
  margin: 0 auto !important;
  max-width: 980px !important;
}

.md-content {
  margin: 0 !important;
}

.md-content__inner {
  margin: 0 !important;
  padding: 0 1.5rem 3rem 1.5rem !important;
}

.md-content__inner::before {
  display: none;
}

.academic-page {
  max-width: 900px;
  margin: 3rem auto;
  font-size: 18px;
  line-height: 1.75;
  color: #1f2937;
}

.profile-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.profile-photo img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-main h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 0.6rem 0;
}

.profile-title {
  font-size: 1.2rem;
  color: #374151;
  margin: 0 0 1rem 0;
}

.profile-links a {
  color: #2563eb;
  text-decoration: none;
  margin-right: 1.4rem;
  font-weight: 500;
}

.profile-links a:hover {
  text-decoration: underline;
}

.academic-page hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0 2.5rem 0;
}

.academic-page h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111111;
  margin-top: 2.8rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid #111111;
}

.research-list {
  list-style: none;
  padding-left: 0;
}

.research-list li {
  margin-bottom: 1rem;
  padding-left: 1.7rem;
  position: relative;
}

.research-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}

/* Research / Professional Experience timeline */
.timeline {
  margin-top: 1.8rem;
  margin-bottom: 3.2rem;
}

.timeline-item {
  position: relative;
  padding-left: 2.7rem;
  padding-bottom: 3rem;
  border-left: 3px solid #e5e7eb;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -0.5rem;
  top: 0.55rem;
  width: 0.9rem;
  height: 0.9rem;
  background: #2563eb;
  border-radius: 50%;
  z-index: 2;
}

.timeline-content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.4rem 0;
  color: #111111;
}

.timeline-org {
  color: #2563eb !important;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.25rem 0;
}

.timeline-date {
  color: #6b7280 !important;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.25rem 0 0.9rem 0;
}

.timeline-content p {
  margin: 0.35rem 0;
  color: #374151;
}

a {
  color: #2563eb;
}

/* Footer */
.footer-line {
  border: none !important;
  border-top: 1px solid #e5e7eb !important;
  margin: 3rem auto 2rem auto !important;
  width: 100% !important;
}

.site-footer {
  text-align: center !important;
  color: #6b7280 !important;
  font-size: 1.05rem !important;
  margin: 2rem auto 3rem auto !important;
  width: 100% !important;
}

.site-footer p {
  text-align: center !important;
  margin: 0.4rem auto !important;
}

@media screen and (max-width: 768px) {
  .academic-page {
    margin: 2rem auto;
    font-size: 16px;
  }

  .profile-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .profile-photo img {
    width: 170px;
    height: 170px;
  }

  .profile-main h1 {
    font-size: 2rem;
  }

  .profile-links a {
    display: inline-block;
    margin: 0.3rem 0.6rem;
  }
}

/* Reduce academic profile font sizes */
.academic-page {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.profile-main h1 {
  font-size: 2.35rem !important;
}

.profile-title {
  font-size: 1.05rem !important;
}

.academic-page h2 {
  font-size: 1.45rem !important;
}

.academic-page h3 {
  font-size: 1.15rem !important;
}

.profile-links a {
  font-size: 1rem !important;
}

.profile-photo img {
  width: 185px !important;
  height: 185px !important;
}

.text-link {
  color: #2563eb;
  font-weight: 500;
}

.academic-page p a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.academic-page p a:hover {
  text-decoration: underline;
}

.text-link {
  color: #2563eb;
  font-weight: 500;
}

.academic-page p a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.academic-page p a:hover {
  text-decoration: underline;
}

.text-link {
  color: #2563eb;
  font-weight: 500;
}

.academic-page p a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.academic-page p a:hover {
  text-decoration: underline;
}

.text-link {
  color: #2563eb !important;
  font-weight: 500;
}

/* Links: no underline normally, underline only on hover */
.academic-page a {
  color: #2563eb !important;
  text-decoration: none !important;
  font-weight: 500;
}

.academic-page a:hover {
  text-decoration: underline !important;
}

/* Real academic links: blue normally, underline only on hover */
.academic-link {
  color: #2563eb !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.academic-link:hover {
  text-decoration: underline !important;
}
