/* ===================================================================
   SESSION PAPERS — CSS FINAL
   =================================================================== */

/* =========================
   Conteneur global
   ========================= */

.session-papers {
    display: flex;
    flex-direction: column;
}

/* =========================
   Un papier
   ========================= */

.paper {
    box-sizing: border-box;
}

/* =========================
   HEADER DU PAPIER
   ========================= */

.paper-header {
    margin-bottom: 6px;
}

/* Ligne index + slides */

.paper-index-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.paper-index {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #264069;
}

/* Bouton Slides */

.paper-slides {
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    background: #eef4ff;
    color: #264069;
    text-decoration: none;
    border: 1px solid #cdd9ee;
}

.paper-slides:hover {
    background: #dce7ff;
}

/* =========================
   TITRE DU PAPIER
   ========================= */

.paper-title {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.35;
}

.paper-title a {
    color: #1f3557;
    text-decoration: none;
    font-weight: 600;
}

.paper-title a:hover {
    text-decoration: underline;
}

.paper-title img {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
}

/* =========================
   AUTEURS
   ========================= */

.paper-authors {
    margin-top: 4px;
}

.paper-author {
    margin: 2px 0;
    font-size: 13px;
    line-height: 1.35;
    color: #1f2937;
}

.paper-affiliation {
    font-size: 12px;
    font-style: italic;
    color: #4b5563;
    margin-left: 4px;
}

/* ==========================================================
   ORAL — CARDS
   ========================================================== */

.session-papers.cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.session-papers.cards .paper {
    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-left: 5px solid #264069;
    border-radius: 6px;
    padding: 14px 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.session-papers.cards .paper:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
}

/* Header */

.session-papers.cards .paper-header {
    margin-bottom: 6px;
}

/* Index + slides */

.session-papers.cards .paper-index-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

/* Index */

.session-papers.cards .paper-index {
    font-size: 15px;
    font-weight: 700;
    color: #264069;
}

/* Slides */

.session-papers.cards .paper-slides {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eef4ff;
    border: 1px solid #cdd9ee;
    color: #264069;
    text-decoration: none;
}
/* ==========================================================
   POSTER — COMPACT
   ========================================================== */

.session-papers.compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-papers.compact .paper {
    padding: 6px 8px;
    border-bottom: 1px solid #e5e7eb;
    border-left: 3px solid transparent;

    transition: background-color 0.12s ease, border-left-color 0.12s ease;
}

.session-papers.compact .paper:hover {
    background-color: #f5f7fa;
    border-left-color: #264069;
}

.session-papers.compact .paper:last-child {
    border-bottom: none;
}

/* Header */

.session-papers.compact .paper-header {
    margin-bottom: 2px;
}

/* Typo plus compacte */

.session-papers.compact .paper-title {
    font-size: 14px;
}

.session-papers.compact .paper-author {
    font-size: 12.5px;
}

/* Slides plus discrets */

.session-papers.compact .paper-slides {
    font-size: 11px;
    padding: 1px 6px;
}

