@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500&family=Inter:wght@400;500&display=swap');

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

body {
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #222;
  background: #fff;
  max-width: 100%;
}

a {
  color: #7B2535;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.about-body a {
  color: #7B2535 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
.about-body a:hover {
  text-decoration: underline !important;
  text-decoration-color: #7B2535 !important;
}
.site-nav a {
  color: #888 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
.site-nav .nav-links a:hover {
  color: #7B2535 !important;
  text-decoration: none !important;
}

p { margin: 0 0 0.6em 0; line-height: 1.75; }

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  height: 60px;
  width: auto;
}
.nav-brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #111 !important;
}
.nav-brand:hover .nav-brand-name {
  color: #7B2535 !important;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
}
.site-nav .nav-links a {
  color: #888;
  text-decoration: none;
}
.site-nav .nav-links a:hover {
  color: #7B2535;
  text-decoration: none;
}

/* CONTENT WRAPPER */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px 60px;
}

/* override any lingering about-body styles */
.about-body {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}

/* HERO */
.hero {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 48px;
  margin-bottom: 40px;
}
.hero-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  flex-shrink: 0;
}
.hero-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding-top: 0;
  margin-top: 0;
}
.hero-name {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #111;
  margin-top: 0 !important;
  padding-top: 0;
  margin-bottom: 6px;
  line-height: 1.2;
}
.hero-role {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 14px;
}
.hero-role p { margin: 0; }
.hero-bio {
  font-size: 13.5px;
  color: #333;
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 520px;
}
.hero-social {
  display: flex;
  gap: 14px;
  align-items: center;
  list-style: none;
  margin-top: 16px;
}
.hero-social a {
  color: #888;
  text-decoration: none !important;
  font-size: 12px;
}
.hero-social a:hover {
  color: #7B2535;
  text-decoration: none !important;
}
.hero-social img {
  height: 32px !important;
  width: auto !important;
  vertical-align: middle;
  opacity: 1;
}
.hero-social img:hover { opacity: 1; }

/* BIBLIOGRAPHY LINKS ROW */
.bib-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 0 0;
  padding: 20px 0 24px;
  border-bottom: 0.5px solid #e0e0e0;
}
.bib-link {
  font-size: 12px;
  color: var(--color-text-secondary, #aaa) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bib-link:hover {
  color: #7B2535 !important;
  text-decoration: none !important;
}
.bib-link i { font-size: 14px; }

/* TWO-COLUMN LAYOUT */
.page-cols {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 56px;
  align-items: start;
  margin-top: 0;
  margin-bottom: 48px;
}
.col-main {}
.col-news {
  border-left: 1px solid #f0f0f0;
  padding-left: 40px;
  position: sticky;
  top: 32px;
}
.col-news .news-date {
  font-size: 11px;
  width: 64px;
}
.col-news .news-text {
  font-size: 13px;
  line-height: 1.5;
}

/* SECTIONS */
.section { margin-bottom: 36px; }

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 24px;
  display: block;
}

/* RESEARCH */
.research-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.research-item {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 24px;
}
.research-name {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  display: block;
  margin-bottom: 6px;
}
.research-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
}

/* STUDENTS CTA */
.students-cta {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  padding: 12px 16px;
  border-left: 2px solid #7B2535;
  background: #fdf8f8;
  margin-top: 24px;
  margin-bottom: 32px;
}
.students-cta a { color: #7B2535; }

/* BIO-FULL */
.bio-full {
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid #f0f0f0;
}
.bio-full p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: #444;
}
.bio-full p strong {
  display: block;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
/* NEWS */
.col-news a {
  color: #7B2535 !important;
  text-decoration: none !important;
}
.col-news a:hover {
  text-decoration: underline !important;
}
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.news-item:first-child {
  border-top: 1px solid #f0f0f0;
}
.news-date {
  font-family: monospace;
  font-size: 12px;
  color: #bbb;
  width: 72px;
  flex-shrink: 0;
}
.news-text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}
#news-toggle {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #7B2535;
  margin-top: 14px;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  letter-spacing: .04em;
}
#news-toggle:hover { text-decoration: underline; }

/* INVITED TALKS */
.col-divider {
  height: 1px;
  background: #f0f0f0;
  border: none;
  margin: 16px 0;
}
.talk-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.talk-item:first-of-type {
  border-top: 1px solid #f0f0f0;
}
.talk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.talk-title {
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}
.talk-venue {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}
.talk-upcoming {
  display: inline-block;
  font-size: 9px;
  color: #7B2535;
  border: 0.5px solid #7B2535;
  border-radius: 99px;
  padding: 1px 6px;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1.6;
}

/* FOOTER */
.site-footer,
.container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

.site-footer {
  margin-top: 48px;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .site-nav { padding: 14px 20px; flex-wrap: wrap; }
  .nav-hamburger { display: block; margin-left: auto; }
  .nav-links { display: none !important; width: 100%; padding: 8px 0 4px; }
  .nav-links.open { display: flex !important; flex-direction: column; gap: 14px; }
  .container { padding: 0 20px; }
  .page-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .col-news {
    border-left: none;
    padding-left: 0;
    position: static;
  }
  .hero-photo { max-width: 100%; }
  .hero-bio { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero { flex-direction: column; }
  .hero-photo { width: 80px; height: 96px; }
  body { font-size: 15px; }
}
