/* Updated styles.css */
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;700&display=swap');

body {
    font-family: "Fira Mono", monospace;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #F5F5F0;
    color: #333;
}

.container {
    width: 70%;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
}

header {
    background: #F5F5F0;
    color: #333;
    text-align: center;
    padding-top: 10px;
    min-height: 70px;
}

header a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

header ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
}

header li {
    display: inline;
    padding: 0 20px;
}

main {
    padding: 20px 0;
}

/* Style des blocs de session */
.session {
    display: flex;
    align-items: flex-start; /* Alignement en haut */
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.text-content {
    flex: 1;
    max-width: 55%;
}

.session-header {
    display: flex;
    align-items: center; /* Assure l'alignement en haut avec l'image */
    gap: 10px;
}

.session-number {
    font-size: 20px;
    font-weight: 700; /* Assurer le gras */
    color: #000;
}

.session-title {
    font-size: 18px;
    font-weight: 700; /* Assurer le gras */
    color: #222;
    margin: 0;
}

.abstract-title {
    font-size: 16px;
    font-weight: 700; /* Assurer le gras */
    color: #444;
}

strong {
    font-weight: 700; /* Assurer que le texte en <strong> est bien en gras */
}

.image-content {
    flex: 1;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.image-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.image-description {
    font-size: 14px;
    color: #555;
    text-align: left;
    margin-top: 5px;
    max-width: 100%;
    align-self: flex-start;
    padding-left: 0; /* Aligné avec le bord gauche de l'image */
}

/* Bio Section Styles */
.bio-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bio-section img {
    width: 80px; /* Adjust as needed */
    height: 80px;
    border-radius: 50%;
}

.bio-text {
    font-size: 14px;
    color: #444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        width: 90%;
    }
    .session {
        flex-direction: column;
        align-items: flex-start;
    }
    .text-content, .image-content {
        max-width: 100%;
        text-align: left;
    }
    .session-header {
        justify-content: flex-start;
    }
    .image-content {
        justify-content: flex-start;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    header ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .session-number {
        font-size: 18px;
    }
    .session-title {
        font-size: 16px;
    }
    .abstract-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    .session-header {
        flex-direction: column;
        text-align: left;
    }
    .session-number {
        font-size: 16px;
    }
    .session-title {
        font-size: 14px;
    }
}
