/**
 * Typography & Text styles
 */
:root{
  --bg: #4682B4;          /* steel blue */
  --card: rgba(255,255,255,0.92);
  --text: #0b1220;
}
/* html is set to 62.5% so that all the REM measurements are based on 10px sizing. So basically 1.5rem = 15px */
html {
  font-size: 62.5%;
}
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: "Roboto", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #FFFFFF;
}

/**
 * Links
 */
a {
  font-weight: normal;
  text-decoration: none; 
  color:#EF6D3D;
}
a:focus {
  outline: thin dotted;
}

small {
  font-size: 75%;
}

/**
 * Headings
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
  text-rendering: optimizeLegibility; /*  voodoo to enable ligatures and kerning | https://developer.mozilla.org/en-US/docs/CSS/text-rendering */
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
}
h1 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h2 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h3 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h4 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h5 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }
h6 { font-size: 1.4rem; line-height: 1.6;  letter-spacing: 0; }

/**
 * Paragraphs
 */
p {
  margin: 0 auto 1.5em auto; /* bottom margin for paragraphs */
}
p + p {

}

/**
 * Quotes & Blockquotes
 */
q {
  quotes: '\00201C' '\00201D';
}
q:before {
  content: open-quote;
}
q:after {
  content: close-quote;
}

blockquote {
  /*background-color: #F8F8F8;*/
  border-left: 2px solid #AFC0D2;
  margin: 1.6em 10%;
  padding: .75em 1em;
  font-size:1.8rem;
}
blockquote p:last-child {
  margin-bottom: 0;  
}

/**
 * Layout styles
 */

/* Full size background image */
html, #container, .inner { background-color:transparent;}
/**html {
  background:url(background.jpg) center center no-repeat fixed;
  background-size:cover;
}*/
html {
  background-color: #4682B4; /* steel blue */
}
body {
  max-width:800px;
  margin:25px auto;
}
header, #content, footer { 
  background: rgba(0,0,0,.8); 
  padding:25px;
  color:#FFFFFF; 
}

header#header img {
  max-width: 120px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.8rem;
  color: #e8e8e8;
}

/* Simple layout helpers */
.grid {
  display: grid;
  grid-gap: 16px;
}
.grid.two {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0;
}

.meta {
  color: #cfd2da;
  font-size: 1.4rem;
}

ul.bullets {
  margin: 0;
  padding-left: 1.2em;
}

/* Publication list */
.pub-list {
  margin: 0 0 24px 0;
  padding-left: 1.3em;
}
.pub-list li {
  margin: 0 0 14px 0;
}
.pub-title { display:block; font-weight: 500; }
.pub-authors, .pub-venue, .pub-links { display:block; }

/* Talks */
.talk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.talk-list li {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 16px;
  margin: 0 0 14px 0;
}
.talk-title { font-weight: 500; }
.talk-meta { color: #cfd2da; }
iframe {
  max-width:100%;
}

/* Menu Links */
ul.main-menu {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  list-style: none;
}
ul.main-menu li a {
  margin-right:20px;
  font-size:2.0rem;
  border-bottom: solid transparent 3px;
  color:#cfd2da;
}
ul.main-menu li a:hover {
  color:#FFFFFF;
}
ul.main-menu li a.active {
  color:#FFFFFF;
  border-bottom-color:#EF6D3D;
}

/* Utility classes */
.hide {
  display:none;
}
.show {
  display:block;
}

/* --- Home bio / headshot --- */

.home-bio {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.headshot {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 90%;
  border: 3px solid rgba(255,255,255,0.8);
  display: block;
  margin: 0 auto 16px auto;  /* center + space below */
}


/*.headshot {
  width: 180px;         
  height: 180px;
  object-fit: cover;
  border-radius: 80%;    
  border: 3px solid rgba(255,255,255,0.8);
  flex-shrink: 0;
} */


.bio-text h1 {
  margin-top: 0;
  margin-bottom: 8px;
}

.bio-text p {
  margin: 0;
  line-height: 1.5;
}

/* Mobile-friendly */
@media (max-width: 700px) {
  .home-bio {
    flex-direction: column;
    text-align: center;
  }

  .headshot {
    width: 140px;
    height: 140px;
  }
}

.research-image {
  width: 100%;
  max-width: 420px;   /* controls visual size */
  height: auto;
  display: block;
  margin: 12px auto;
  border-radius: 10px;
}

.research-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.research-row img {
  max-width: 320px;
}

.research-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.research-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.research-row-feature {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.research-image-feature {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}




