.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 principal */
.ircm-pubmed-box {
    max-width: 850px;
    margin: 20px auto;
    padding: 25px;
    font-family: 'Raleway', Arial, sans-serif;
}

.ircm-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 10px;
}

.ircm-count {
    color: #393c4a;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Barre de recherche */
.ircm-search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #393c4a;
    border-radius: 0;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-family: inherit;
}

.ircm-search-input:focus {
    outline: none;
    border-color: #0091d1;
}

/* Onglets */
.ircm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e1e4e8;
    padding-bottom: 10px;
}

.ircm-tab {
    padding: 6px 14px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.ircm-tab:hover {
    background: #e9ecef;
    border-color: #0091d1;
    color: #0091d1;
}

.ircm-tab.active {
    background: #0091d1;
    color: white;
    border-color: #0091d1;
}

.ircm-tab-count {
    display: inline-block;
    margin-left: 6px;
    background: rgba(0,0,0,0.1);
    padding: 1px 6px;
    font-size: 11px;
    border-radius: 10px;
    font-weight: 700;
}

.ircm-tab.active .ircm-tab-count {
    background: rgba(255,255,255,0.25);
    color: white;
}

/* Zone de défilement */
.ircm-scroll-area {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Publication item */
.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 de type */
.ircm-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0;
    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: 5px 12px;
    border-radius: 0;
    cursor: pointer;
    font-size: 11px;
    color: #495057;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ircm-cite-btn:hover {
    background: #e9ecef;
    border-color: #0091d1;
    color: #0091d1;
}

.ircm-cite-btn.copied {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* Spinner de chargement */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Message non trouvé */
.ircm-not-found {
    color: #707372;
    font-style: italic;
    padding: 20px 0;
}

/* Message erreur */
.ircm-error {
    color: #d32f2f;
    padding: 20px 0;
}