.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;
    }
  }
/* ═══════════════════════════════════════════════
   IRCM — Nous joindre — Cards Grid
   Structure uniquement, sans couleurs ni polices
   ═══════════════════════════════════════════════ */
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
/* ── Page ── */
.page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}
 
.section-block {
  margin-bottom: 64px;
}
.section-block:last-child { margin-bottom: 0; }
 
.divider {
  border: none;
  border-top: 1px solid #ccc;
  margin-bottom: 64px;
}
 
/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
 
/* ── Card ── */
.card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 24px 22px;
}
 
.card h3 {
  margin-bottom: 12px;
}
 
.card address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 8px;
}
 
/* ── Info lines ── */
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 6px;
}
 
.info-line svg {
  flex-shrink: 0;
  margin-top: 3px;
}
 
/* ── Person block ── */
.person {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}
 
.person + .person {
  margin-top: 8px;
  padding-top: 8px;
}
 
.person-name {
  font-weight: 600;
  margin-bottom: 2px;
}
 
.person-title {
  margin-bottom: 6px;
}
 
/* ── Notice ── */
.card-notice {
  border-left: 3px solid #999;
  padding: 10px 12px;
  margin-top: 14px;
  line-height: 1.55;
}
 
/* ── RDV banner ── */
.rdv-banner {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}
 
.rdv-text h3 { margin-bottom: 4px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-wrap { padding: 32px 16px 60px; }
  .cards-grid { grid-template-columns: 1fr; }
  .rdv-banner { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}