.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 — règles fonctionnelles essentielles uniquement======================== */
.mq-outer {
  overflow: hidden;
  width: 100%;
}

.mq-outer:hover .mq-track {
  animation-play-state: paused;
}

.mq-track {
  display: flex;
  width: max-content;
  animation: mq-run var(--dur, 20s) linear infinite;
  will-change: transform;
}

.mq-set {
  display: flex;
  flex-shrink: 0;
}

@keyframes mq-run {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--shift, 50%))); }
}

/* =========================FICHE CONTACT COURTE======================== */
@media (max-width: 600px) {
    .employee-card {
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .employee-card h5 {
      margin-top: 0;
    }
  }
/* =========================NOUS JOINDRE======================== */
 :root {
  --spacing-lg: 64px;
  --spacing-md: 24px;
  --border-color: #e6e7e8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.section-block { margin-bottom: var(--spacing-lg); }

.divider {
  margin-bottom: 64px;
}
/* Grille adaptative : auto-fit fait en sorte que 2 éléments prennent 50% chacun */
.cards-grid {
  display: grid;
  /* auto-fit : les colonnes s'étirent pour remplir tout l'espace */
  /* minmax(300px, 1fr) : elles font au minimum 300px, sinon elles passent à la ligne */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 20px;
}

.card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
}

.card h3 { margin-bottom: 12px; }
.card address { line-height: 1.5; margin-bottom: 12px; }

/* Icônes et lignes d'infos */
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px; /* Aligne l'icône avec la première ligne de texte */
  color: #393C4A ;
}

/* Blocs Personne */
.person {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
 
.person + .person {
  margin-top: 8px;
  padding-top: 8px;
}
 
.person-name {
  font-weight: 600;
  margin-bottom: 2px;
}
 
.person-title {
  margin-bottom: 6px;
}

/* Notice et Bannière */
.card-notice {
  border-left: 3px solid var(--border-color);
  padding: 10px 12px;
  margin-top: 14px;
  line-height: 1.55;
}

.rdv-banner {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

/* Mobile */
@media (max-width: 768px) {
  .rdv-banner { flex-direction: column; text-align: center; }
  .cards-grid { grid-template-columns: 1fr; }
}