/* ============================================
   Site personnel — Style académique
   ============================================ */

:root {
  --accent: #1a3c6e;        /* bleu académique */
  --accent-light: #eaf0f7;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --bg: #fdfdfc;
  --border: #d9d9d4;
}

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

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- En-tête ---------- */
header.site-header {
  border-bottom: 3px double var(--accent);
  padding: 2.2rem 0 1.4rem;
  background: #fff;
}

header.site-header h1 {
  font-size: 1.9rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--accent);
}

header.site-header .ucl-logo {
  float: right;
  height: 70px;
  width: auto;
  margin-top: 0.2rem;
}

header.site-header .subtitle {
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 0.2rem;
}

/* ---------- Navigation (onglets) ---------- */
nav.tabs {
  background: var(--accent);
  margin-top: 1.2rem;
}

nav.tabs ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

nav.tabs a {
  display: block;
  padding: 0.7rem 1.6rem;
  color: #f2f5f9;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.15s ease;
}

nav.tabs a:hover {
  background: rgba(255, 255, 255, 0.12);
}

nav.tabs a.active {
  background: #fff;
  color: var(--accent);
  font-weight: bold;
}

/* ---------- Contenu ---------- */
main {
  padding: 2.4rem 0 3rem;
}

main h2 {
  font-size: 1.45rem;
  color: var(--accent);
  font-weight: normal;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
  margin-bottom: 1.2rem;
}

main h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin: 1.6rem 0 0.5rem;
}

main p {
  margin-bottom: 1rem;
}

/* ---------- Photo (page Home) ---------- */
.photo-frame {
  float: left;
  margin: 0.4rem 1.6rem 1rem 0;
  padding: 6px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.08);
}

.photo-frame img {
  display: block;
  width: 220px;
  height: auto;
}

.photo-frame figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding-top: 4px;
  font-style: italic;
}

/* ---------- Listes ---------- */
main ul.plain {
  list-style: none;
  margin: 0.5rem 0 1.2rem;
}

main ul.plain li {
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--border);
}

/* ---------- Publications ---------- */
.pub-list {
  list-style: none;
}

.pub-list li {
  margin-bottom: 1.1rem;
  padding-left: 1.4rem;
  text-indent: -1.4rem;
}

.pub-list .venue {
  color: var(--muted);
  font-style: italic;
}

/* ---------- Tableau (étudiants) ---------- */
table.students {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

table.students th,
table.students td {
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

table.students th {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: bold;
}

/* ---------- Pied de page ---------- */
footer.site-footer {
  border-top: 3px double var(--accent);
  padding: 1.3rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer.site-footer a {
  color: var(--accent);
}

/* ---------- Page Publications ---------- */
.pub-links p {
  margin-bottom: 1.2rem;
}

.pub-links .scholar-badge {
  width: 120px;
  border: 0;
  vertical-align: middle;
  margin-top: 0.3rem;
  margin-left: 0.6rem;
}

/* ---------- Page Bio ---------- */
.aia-logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
  margin-left: 0.5rem;
  border: 0;
}

/* ---------- Page Home : plans stratégiques ---------- */
ul.plan-list {
  list-style: none;
  margin: 0.5rem 0 1.2rem;
}

ul.plan-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--border);
  padding-left: 1.4rem;
  position: relative;
}

ul.plan-list li::before {
  content: "▸";
  color: var(--accent);
  position: absolute;
  left: 0.2rem;
  top: 0.45rem;
}

/* ---------- Home : vidéo + affiche ---------- */
.media-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.media-row .affiche-frame {
  margin: 0;
}

.media-row .affiche-frame img {
  height: 236px;   /* = hauteur du lecteur 420px × 9/16 */
  width: auto;
  display: block;
}

.media-row .video-embed {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
a {
  color: var(--accent);
}

::selection {
  background: var(--accent-light);
}

/* ---------- PhD students (cartes) ---------- */
.student-list {
  list-style: none;
  margin-top: 1.4rem;
}

.student-list li {
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.9rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.student-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.13);
}

.student-list .student-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.student-list .name {
  font-weight: bold;
  color: var(--accent);
  font-size: 1.05rem;
}

.student-list .year {
  background: var(--accent-light);
  color: var(--accent);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 0.12rem 0.6rem;
  border-radius: 10px;
  white-space: nowrap;
}

.student-list .thesis-title {
  display: block;
  margin-top: 0.25rem;
}

.student-list .codir {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  margin-top: 0.15rem;
}

@media (max-width: 640px) {
  .student-list li {
    padding: 0.75rem 0.9rem;
  }
  .student-list .student-head {
    flex-direction: column;
    gap: 0.2rem;
  }
  .ucl-logo {
    height: 50px;
  }
  .media-row {
    flex-direction: column;
  }
  .media-row .affiche-frame {
    flex: 0 0 auto;
    width: auto;
  }
  .media-row .affiche-frame img {
    height: auto;
    width: 220px;
  }
  .piccolo-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Home : bloc liens Piccolo ---------- */
.piccolo-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1rem 0;
}

.piccolo-links .piccolo-logo {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

/* ---------- Home : réalisations ---------- */
.realisations {
  margin-top: 0.6rem;
}

.realisation-item {
  padding: 1.1rem 0;
  border-bottom: 1px dotted var(--border);
}

.realisation-item:first-child {
  padding-top: 0.3rem;
}

.realisation-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.55rem;
}

.realisation-head img {
  max-width: 120px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.realisation-head h4 {
  margin: 0;
  font-size: 1.08rem;
}

.realisation-head h4 a {
  text-decoration: none;
}

.realisation-head h4 a:hover {
  text-decoration: underline;
}

.realisation-item p {
  font-size: inherit;
  margin-bottom: 0.5rem;
}

.realisation-item p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .realisation-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

