/* tourelab.fr : bloc publications [toure_publications] */
.tp-wrap {
  --tp-accent: #2b8ec4;
  --tp-accent-soft: #e6f4fb;
  --tp-text: #23303a;
  --tp-muted: #5f6b75;
  --tp-line: #dfe7ec;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 40px;
  color: var(--tp-text);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.tp-toolbar {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--tp-line);
  margin-bottom: 8px;
}
.tp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--tp-line);
  border-radius: 999px;
  padding: 10px 18px;
  background: #fff;
  color: var(--tp-muted);
  transition: border-color .15s, box-shadow .15s;
}
.tp-search:focus-within {
  border-color: var(--tp-accent);
  box-shadow: 0 0 0 3px rgba(43, 142, 196, .15);
}
.tp-search input {
  flex: 1;
  border: 0 !important;
  outline: 0;
  padding: 0 !important;
  font-size: 16px;
  background: transparent !important;
  color: var(--tp-text);
  box-shadow: none !important;
}
.tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.tp-wrap .tp-chip {
  border: 1px solid var(--tp-line);
  background: #fff;
  color: var(--tp-muted);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
  transition: all .15s;
}
.tp-wrap .tp-chip:hover { border-color: var(--tp-accent); color: var(--tp-accent); background: #fff; }
.tp-wrap .tp-chip.is-active { background: var(--tp-accent); border-color: var(--tp-accent); color: #fff; }
.tp-count { margin: 10px 0 0; font-size: 13px; color: var(--tp-muted); }
.tp-year-title {
  font-size: 22px !important;
  font-weight: 300;
  color: var(--tp-accent) !important;
  margin: 28px 0 4px !important;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--tp-accent-soft);
}
.tp-items { list-style: none; margin: 0 !important; padding: 0 !important; }
.tp-item {
  padding: 14px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  transition: background .15s;
}
.tp-item:hover { background: #f6fafc; }
.tp-wrap .tp-title {
  font-size: 16.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
  color: var(--tp-text) !important;
  text-transform: none !important;
}
.tp-title a { color: inherit !important; text-decoration: none; }
.tp-title a:hover { color: var(--tp-accent) !important; text-decoration: underline; }
.tp-authors { margin: 0 0 2px !important; font-size: 14px; line-height: 1.5; color: var(--tp-muted); }
.tp-author:not(:last-of-type)::after { content: ", "; font-weight: 400; }
.tp-member strong { color: var(--tp-text); font-weight: 700; }
.tp-authors:not(.is-expanded) .tp-extra { display: none; }
.tp-authors:not(.is-expanded) .tp-extra + .tp-author:not(.tp-extra)::before { content: "… "; }
.tp-wrap .tp-more-authors {
  border: 0;
  background: none;
  padding: 0;
  color: var(--tp-accent);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}
.tp-meta { margin: 0 !important; font-size: 14px; color: var(--tp-muted); }
.tp-journal { color: var(--tp-text); }
.tp-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tp-wrap .tp-btn {
  display: inline-block;
  border: 1px solid var(--tp-line);
  background: #fff;
  color: var(--tp-accent) !important;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: all .15s;
}
.tp-wrap .tp-btn:hover { background: var(--tp-accent-soft); border-color: var(--tp-accent); }
.tp-wrap .tp-btn-oa { color: #2e7d32 !important; }
.tp-wrap .tp-abs-toggle[aria-expanded="true"] { background: var(--tp-accent-soft); }
.tp-abstract {
  margin-top: 10px;
  padding: 12px 16px;
  border-left: 3px solid var(--tp-accent);
  background: #f6fafc;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tp-text);
}
.tp-abstract p:last-child { margin-bottom: 0; }
.tp-empty { text-align: center; color: var(--tp-muted); padding: 30px 0; }
.tp-wrap [hidden] { display: none !important; }
@media (max-width: 767px) {
  .tp-wrap .tp-title { font-size: 15.5px !important; }
}
.tp-show-all-wrap { text-align: center; margin-top: 18px; }
.tp-wrap .tp-show-all {
  border: 1px solid var(--tp-accent);
  background: #fff;
  color: var(--tp-accent);
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 15px;
  cursor: pointer;
  transition: all .15s;
}
.tp-wrap .tp-show-all:hover { background: var(--tp-accent); color: #fff; }

/* ---------- Retouches UX globales (page d'accueil + page de test) ---------- */
:is(body.home, body.page-id-2910) { scroll-behavior: smooth; }
html:has(body.home) { scroll-behavior: smooth; scroll-padding-top: 60px; }

/* Bandes bleues Publications / News / Funding : assez hautes pour que le titre
   glisse dedans (parallaxe Elementor) sans déborder sur le contenu */
:is(body.home, body.page-id-2910) :is(.elementor-element-69d18c8, .elementor-element-2f966fc8, .elementor-element-7a0f212b) {
  min-height: 260px;
  overflow: hidden;
}
:is(body.home, body.page-id-2910) :is(.elementor-element-69d18c8, .elementor-element-2f966fc8, .elementor-element-7a0f212b) > .elementor-container {
  min-height: 260px;
  align-items: flex-start;
}
/* Même style que le bandeau "Research Topics" */
:is(body.home, body.page-id-2910) :is(.elementor-element-3b076928, .elementor-element-1aee1e31, .elementor-element-4ba580ac) > .elementor-widget-container {
  background-color: #6d6d6d !important;
  padding: 10px 10px 10px 20px !important;
  margin: 24px 30% 24px 3% !important;
}
:is(body.home, body.page-id-2910) :is(.elementor-element-3b076928, .elementor-element-1aee1e31, .elementor-element-4ba580ac) .elementor-heading-title {
  font-family: Lato, sans-serif !important;
  font-size: 50px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  color: #fdfeff !important;
  padding: 0 !important;
}
@media (max-width: 767px) {
  :is(body.home, body.page-id-2910) :is(.elementor-element-3b076928, .elementor-element-1aee1e31, .elementor-element-4ba580ac) > .elementor-widget-container { margin: 16px 16px !important; }
  :is(body.home, body.page-id-2910) :is(.elementor-element-3b076928, .elementor-element-1aee1e31, .elementor-element-4ba580ac) .elementor-heading-title { font-size: 32px !important; }
}

/* Liens et boutons : transitions douces, focus visible au clavier */
:is(body.home, body.page-id-2910) a, :is(body.home, body.page-id-2910) .elementor-button { transition: color .15s, background-color .15s, box-shadow .15s, transform .15s; }
:is(body.home, body.page-id-2910) .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
:is(body.home, body.page-id-2910) :focus-visible { outline: 2px solid #2b8ec4; outline-offset: 2px; }

/* Cartes "Research topics" : léger relief au survol */
:is(body.home, body.page-id-2910) .elementor-element-781580e5 .dce-post-item .elementor-element-4cb1d1c4 > .elementor-widget-wrap { transition: transform .2s, box-shadow .2s; }
:is(body.home, body.page-id-2910) .elementor-element-781580e5 .dce-post-item:hover .elementor-element-4cb1d1c4 > .elementor-widget-wrap { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25) !important; }
/* Glissement maison (publications.js) : on neutralise celui d'Elementor sur ces 3 titres */
:is(body.home, body.page-id-2910) :is(.elementor-element-3b076928, .elementor-element-1aee1e31, .elementor-element-4ba580ac) > .elementor-widget-container {
  transform: translate3d(0, var(--tp-slide, 0px), 0) !important;
  will-change: transform;
  transition: none !important;
}

/* ---------- Grille d'actualités [toure_news] ---------- */
.tn-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.tn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tn-wrap:not(.is-all) .tn-extra { display: none; }
.tn-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 60, 90, .08);
  transition: transform .2s, box-shadow .2s;
}
.tn-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 60, 90, .16); }
.tn-media { aspect-ratio: 16 / 10; background: #e6f4fb; overflow: hidden; }
.tn-media .tn-img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.tn-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; color: #23303a; }
.tn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tn-date, .tn-type {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.6;
}
.tn-date { background: #e6f4fb; color: #1f6f99; }
.tn-type { background: #f1f1f1; color: #555; }
.tn-type-event { background: #fdf0e3; color: #a2581a; }
.tn-type-grant { background: #e8f5e9; color: #2e7d32; }
.tn-wrap .tn-title {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  color: #23303a !important;
  text-transform: none !important;
  text-align: left !important;
}
.tn-desc, .tn-full { font-size: 14.5px; line-height: 1.6; color: #4a5660; }
.tn-desc p, .tn-full p { margin: 0 0 8px !important; }
.tn-wrap .tn-more {
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0;
  margin-top: 4px;
  color: #2b8ec4;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}
.tn-links { margin-top: auto; padding-top: 10px; display: flex; gap: 14px; }
.tn-links a { color: #2b8ec4 !important; font-size: 14px; font-weight: 500; text-decoration: none; }
.tn-links a:hover { text-decoration: underline; }
.tn-all-wrap { text-align: center; margin-top: 28px; }
.tn-wrap .tn-all {
  border: 1px solid #2b8ec4;
  background: #fff;
  color: #2b8ec4;
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 15px;
  cursor: pointer;
  transition: all .15s;
}
.tn-wrap .tn-all:hover { background: #2b8ec4; color: #fff; }
.tn-wrap [hidden] { display: none !important; }
@media (max-width: 1024px) { .tn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tn-grid { grid-template-columns: 1fr; } }

/* Bloc Jobs : ne rien afficher quand il n'y a pas d'offre */
.elementor-element-8244bfb:not(:has(.dce-post-item)) { display: none; }
.tn-wrap.is-all .tn-all-wrap { display: none; }

/* Actualités plus anciennes : liste compacte avec miniatures */
.tn-wrap .tn-list-title {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #23303a !important;
  margin: 36px 0 12px !important;
  text-transform: none !important;
}
.tn-list { display: flex; flex-direction: column; gap: 12px; }
.tn-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 1px 6px rgba(20, 60, 90, .07);
  transition: box-shadow .2s;
}
.tn-row:hover { box-shadow: 0 6px 16px rgba(20, 60, 90, .14); }
.tn-wrap .tn-row.tn-extra { display: none; }
.tn-row .tn-media {
  flex: 0 0 140px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.tn-row .tn-body { padding: 0; }
.tn-row .tn-tags { margin-bottom: 4px; }
.tn-wrap .tn-row .tn-title { font-size: 16px !important; margin-bottom: 4px !important; }
.tn-row .tn-desc { font-size: 14px; }
.tn-row:not(.is-open) .tn-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tn-row .tn-desc p { margin: 0 !important; }
.tn-row .tn-links { padding-top: 6px; }
@media (max-width: 640px) {
  .tn-row .tn-media { flex-basis: 96px; }
}
.tn-desc b, .tn-desc strong, .tn-full b, .tn-full strong { font-weight: 500; }
.tn-wrap .tn-list { gap: 0; }
.tn-wrap .tn-list > .tn-row { margin: 0 0 12px !important; }

/* ---------- Pages de thème de recherche [toure_science] ---------- */
.ts-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 60px;
  color: #23303a;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.ts-back { display: inline-block; color: #2b8ec4 !important; font-size: 14px; text-decoration: none; margin-bottom: 20px; }
.ts-back:hover { text-decoration: underline; }
.ts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #e6f4fb, #f6fbfe);
  border-radius: 16px;
  padding: 36px;
}
.ts-kicker { margin: 0 0 6px !important; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #2b8ec4; font-weight: 500; }
.ts-wrap .ts-title {
  font-family: Lato, sans-serif !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  margin: 0 0 10px !important;
  color: #23303a !important;
  text-transform: none !important;
}
.ts-lead { margin: 0 0 14px !important; font-size: 15px; color: #5f6b75; }
.ts-intro, .ts-intro p { font-size: 18px; line-height: 1.55; color: #3a4750; margin: 0 !important; }
.ts-hero-img { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(20, 60, 90, .12); }
.ts-hero-img .ts-img { display: block; width: 100% !important; height: auto !important; max-height: 360px; object-fit: contain; }
.ts-section { margin-top: 44px; }
.ts-wrap .ts-h2 {
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #23303a !important;
  margin: 0 0 16px !important;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6f4fb;
  text-transform: none !important;
}
.ts-desc { max-width: 780px; font-size: 16.5px; line-height: 1.75; color: #3a4750; }
.ts-desc p { margin: 0 0 16px !important; }
.ts-desc em { color: #23303a; }
.ts-people { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ts-person { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e3ebf0; border-radius: 12px; padding: 10px 14px; }
.ts-person.is-alumni { opacity: .75; }
.ts-wrap .ts-avatar { width: 52px !important; height: 52px !important; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }
.ts-initials { display: inline-flex; align-items: center; justify-content: center; background: #e6f4fb; color: #1f6f99; font-weight: 500; }
.ts-person-text { display: flex; flex-direction: column; line-height: 1.3; }
.ts-name { font-weight: 500; color: #23303a; }
.ts-role { font-size: 13px; color: #5f6b75; }
.ts-wrap .tp-lite { padding: 0; max-width: none; }
.ts-others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ts-other { display: flex; align-items: center; gap: 14px; padding: 10px; background: #fff; border: 1px solid #e3ebf0; border-radius: 12px; color: #23303a !important; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.ts-other:hover { box-shadow: 0 8px 20px rgba(20, 60, 90, .12); transform: translateY(-2px); }
.ts-other img { width: 72px !important; height: 72px !important; object-fit: cover; border-radius: 8px; flex: 0 0 72px; }
.ts-other span { font-size: 14.5px; font-weight: 500; }
@media (max-width: 800px) {
  .ts-hero { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .ts-intro, .ts-intro p { font-size: 16px; }
}
.ts-other span small { display: block; font-weight: 400; font-size: 13px; color: #5f6b75; margin-top: 2px; }
.ts-desc { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* Écran large : About (3/4) et Team (1/4) côte à côte */
@media (min-width: 1000px) {
  .ts-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .ts-split .ts-desc { max-width: none; }
  .ts-split .ts-team .ts-people { grid-template-columns: 1fr; }
  .ts-split .ts-team { position: sticky; top: 80px; }
}
