.search-object-detail-bloc > div {
padding: 60px 0;
}

.anchor-section {
height: 0;
width: 0;
overflow: hidden;
opacity: 0;
}
.mod-eventflash__no-events-text {
    grid-column: 1 / 4;
}
* {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-direction: row;
}

.flex-item {
  padding: 10px;
  text-align: center;
  width: 100%;
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .flex-container {
    flex-direction: column;
  }
}


/******************************* ARTICLES RECHERCHEURS **************************************************/
/* Container */
.ircm-pubmed-box {
    max-width: 850px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
}

.ircm-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    border-bottom: 2px solid #0091d1;
    padding-bottom: 10px;
}

.ircm-count {
    color: #393c4a;
    font-size: 1rem;
    font-weight: bold;
}

/* Recherche */
.ircm-search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #393c4a;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.ircm-search-input:focus {
    outline: none;
    border-color: #0091d1;
    box-shadow: 0 0 0 2px rgba(0, 145, 209, 0.2);
}

/* Onglets */
.ircm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e4e8;
}

.ircm-tab {
    padding: 6px 14px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ircm-tab:hover {
    background: #e9ecef;
    border-color: #0091d1;
    color: #0091d1;
}

.ircm-tab.active {
    background: #0091d1;
    color: white;
    border-color: #0091d1;
}

.ircm-tab-count {
    background: rgba(0,0,0,0.1);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.ircm-tab.active .ircm-tab-count {
    background: rgba(255,255,255,0.3);
}

/* Scroll */
.ircm-scroll-area {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Publication */
.ircm-pub-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e4e8;
}

.ircm-pub-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.ircm-pub-link {
    color: #0091d1;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    font-size: 15px;
    line-height: 1.3;
}

.ircm-pub-link:hover {
    text-decoration: underline;
}

/* Badges type */
.ircm-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ircm-type-journal { background-color: #e3f2fd; color: #1565c0; }
.ircm-type-review { background-color: #e8eaf6; color: #3949ab; }
.ircm-type-preprint { background-color: #fff3e0; color: #ef6c00; }
.ircm-type-conference { background-color: #f3e5f5; color: #7b1fa2; }
.ircm-type-book { background-color: #e8f5e9; color: #2e7d32; }
.ircm-type-other { background-color: #f5f5f5; color: #616161; }

/* Citation */
.ircm-citation-text {
    color: #393C4A;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 14px;
}

.ircm-citation-text strong {
    color: #0091d1;
    font-weight: 700;
}

/* Bouton copier */
.ircm-cite-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #495057;
    transition: all 0.2s;
}

.ircm-cite-btn:hover {
    background: #e9ecef;
    border-color: #0091d1;
    color: #0091d1;
}

.ircm-cite-btn.copied {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* États */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.ircm-not-found {
    color: #707372;
    font-style: italic;
    padding: 20px 0;
    text-align: center;
}

.ircm-error {
    color: #d32f2f;
    padding: 20px;
    text-align: center;
    background: #ffebee;
    border-radius: 4px;
    border: 1px solid #ef9a9a;
}

/* ============================================================
   marquee.css — Bandeau défilant infini
   - Boucle parfaitement fluide (aucun saut)
   - Pause au survol
   - Vitesse réglable via --dur
   - Fonctionne avec texte ET images
   ============================================================ */
 
/* ── Conteneur externe ── */
.mq-outer {
  overflow: hidden;
  width: 100%;
  padding: 0.6rem 0;
}
 
/* Pause au survol */
.mq-outer:hover .mq-track {
  animation-play-state: paused;
}
 
/* ── Piste défilante ── */
.mq-track {
  display: flex;
  width: max-content;         /* La piste s'étend à la largeur de son contenu */
  animation: mq-run var(--dur, 20s) linear infinite;
  will-change: transform;     /* Optimisation GPU */
}
 
/* ── Keyframe : déplace exactement d'un set via --shift (calculé en JS) ── */
@keyframes mq-run {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--shift, 50%))); }
}
 
/* ── Groupe d'items (un "set" = une série complète) ── */
.mq-set {
  display: flex;
  flex-shrink: 0;
}
 
/* ── Item texte ── */
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 1.2rem;
  margin: 0 6px;
  border-radius: 10px;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
 
/* Point coloré dans l'item texte */
.mq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
 
/* Tag/label dans l'item texte */
.mq-tag {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
 
/* ── Item image / carte ── */
.mq-img {
  width: 140px;
  height: 88px;
  border-radius: 10px;
  margin: 0 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  user-select: none;
}
 
/* ── Variante : défilement vers la droite ── */
.mq-outer.mq-reverse .mq-track {
  animation-direction: reverse;
}
 
/* ── Variante : vitesses prédéfinies ── */
.mq-outer.mq-slow   .mq-track { --dur: 40s; }
.mq-outer.mq-normal .mq-track { --dur: 20s; }
.mq-outer.mq-fast   .mq-track { --dur: 10s; }