/*--- Basic style ---*/
body {
  font-family:Arial;
  margin:0;
}

/*--- Central container ---*/
.container {
  width:80%;
  margin:auto;
}

/*--- Navigation bar ---*/
.nav {
  display:flex;
  gap:20px;
  padding:15px;
}
nav {
  background:#0a192f;
}
nav a {
  color:white;
  text-decoration:none;
}

/*--- Principal area of the page ---*/
.hero {
  background:#0a192f;
  color:white;
  padding:40px;
}
.hero-content {
  display:flex;
  gap:20px;
}

/*--- Image profile ---*/
.profile-pic {
  width:150px;
  height:150px;
  border-radius:50%;
  object-fit:cover;
}

/*--- Sections ---*/
section {padding:40px 0;}

.section-title {
  background-color:#f0f0f0;
  color:#a80000;
  text-align:center;
  font-weight:bold;
  text-decoration:underline;
  padding:15px 0;
  margin:30px 0;
  font-size:1.5em;
}

/*--- Social links ---*/
.social-links {
  display:flex;
  gap:30px;
  padding-left:20px;
}

/*--- Timeline ---*/
.timeline {
  border-left:2px solid #0a192f;
  padding-left:30px;
}
.timeline-item {
  margin-bottom:25px;
  position:relative;
}
.timeline-item::before {
  content:"";
  position:absolute;
  left:-15px;
  top:5px;
  width:12px;
  height:12px;
  background:#0a192f;
  border-radius:50%;
}
.timeline-date {
  font-size:0.9em;
  color:#555;
  margin-bottom:5px;
}
.timeline-content {
  background:#f9f9f9;
  padding:10px 15px;
  border-radius:8px;
}

/*--- Grid (for research) ---*/
.grid {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:25px;
}

/*--- Card ---*/
.card {
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.card img {
  width:100%;
  height:auto;
  object-fit:cover;
}

.card h3 {
  padding:15px;
  margin:0;
}

/*--- Banner ---*/
.banner {
  width:100%;
  max-width:800px;
  height:auto;
  display:block;
  margin:20px 0;
}

/*--- Captions figure ---*/
figcaption {
  text-align:center;
  font-size:0.9em;
  color:gray;
  margin-top:0.5em;
}

/*--- Tikz ---*/
.tikz-container {
  display:flex;
  align-items:center;
  width:100%;
}

.tikz-node {
  position:relative;
  flex:1;
  overflow:hidden;
  line-height:0;
}

.tikz-node img {
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
}

.tikz-label {
  position:absolute;
  font-weight:bold;
  font-size:0.75em;
  line-height:1.2;
}

.tikz-arrow {
  flex-shrink:0;
  display:flex;
  align-items:center;
}

.tikz-label.red {
  color:red;
}
.tikz-label.blue {
  color:blue;
}
