/* chesteve.fee.unicamp.br - classic academic homepage stylesheet.
   Deliberately minimal: no frameworks, no JS, timeless defaults. */

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0 auto;
  padding: 0 1rem 2rem;
  max-width: 60rem;
  background: #fff;
  color: #000;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.45;
}

img { max-width: 100%; height: auto; }

/* long bare URLs used as link text must wrap on narrow screens */
a { overflow-wrap: anywhere; }

h2, h3 {
  font-weight: bold;
  line-height: 1.2;
  margin: 1.2em 0 0.4em;
}
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }

section { border-top: 1px solid #999; padding-top: 0.4rem; margin-top: 1.2rem; }

ol, ul { padding-left: 2rem; }
li { margin-bottom: 0.45em; }

/* ---------- header ---------- */
.site-header .banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.site-header .banner img { flex-shrink: 0; }

.site-header .vcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.site-header .name { font-size: 1.4rem; font-weight: bold; margin: 0; }
.site-header .portrait { flex-shrink: 0; }

.profiles { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- navigation ---------- */
.site-nav {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  padding: 0.5rem 0;
  margin: 0.8rem 0 1rem;
}

/* ---------- content helpers ---------- */
.hl { color: #c00; }        /* award / new highlights (was color:red) */
.u  { text-decoration: underline; }

.citations {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.thesis-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.thesis-box ul { flex: 1 1 25rem; }

table { border-collapse: collapse; }

footer { border-top: 1px solid #999; margin-top: 2rem; text-align: center; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  body { font-size: 0.95rem; }
  .site-header .banner,
  .site-header .vcard { justify-content: center; text-align: center; }
  ol, ul { padding-left: 1.3rem; }
}
