* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f6f8;
    color: #24292f;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: #2f6fb5;
}

.entete-forum {
    background: #ffffff;
    border-bottom: 1px solid #d8dce1;
}

.entete-forum .dedans {
    max-width: 860px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nom-forum {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-forum {
    height: 34px;
    width: auto;
    display: block;
}

.liens-entete {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.membre-connecte {
    font-weight: 600;
}

.etiquette-role {
    background: #eef3f9;
    color: #2f6fb5;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
}

.contenu-forum {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.bandeau-message {
    background: #fff8dd;
    border: 1px solid #e6d9a8;
    border-radius: 4px;
    padding: 10px 14px;
    margin: 0 0 18px;
}

.haut-liste {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

h1 {
    font-size: 22px;
    margin: 0;
}

h2 {
    font-size: 17px;
}

.bouton {
    display: inline-block;
    background: #2f6fb5;
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.bouton:hover {
    background: #275c97;
}

.retour {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 14px;
    text-decoration: none;
}

.libelle-filtres {
    font-size: 13px;
    color: #57606a;
    align-self: center;
    margin-right: 4px;
}

.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.filtre {
    background: #ffffff;
    border: 1px solid #d8dce1;
    border-radius: 3px;
    padding: 5px 11px;
    font-size: 13px;
    color: #57606a;
    text-decoration: none;
}

.filtre-actif {
    background: #2f6fb5;
    border-color: #2f6fb5;
    color: #ffffff;
}

.rien {
    background: #ffffff;
    border: 1px solid #d8dce1;
    border-radius: 4px;
    padding: 18px;
    color: #57606a;
}

.liste-sujets {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #d8dce1;
    border-radius: 4px;
}

.ligne-sujet {
    border-bottom: 1px solid #eaedf0;
}

.lien-ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    color: inherit;
    text-decoration: none;
}

.lien-ligne:hover {
    background: #f6f8fa;
}

.ligne-sujet:last-child {
    border-bottom: 0;
}

.titre-sujet {
    font-size: 16px;
    font-weight: 600;
    color: #24292f;
    text-decoration: none;
}

.lien-ligne:hover .titre-sujet {
    color: #2f6fb5;
}

.infos-sujet {
    margin: 4px 0 0;
    font-size: 13px;
    color: #57606a;
}

.etiquette-attraction {
    background: #eef3f9;
    color: #2f6fb5;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
}

.etiquette-type {
    background: #f0f1f3;
    color: #57606a;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
}

.etiquette-ferme {
    background: #fbe9e7;
    color: #b3261e;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
}

.compteur-reponses {
    text-align: center;
    min-width: 74px;
    color: #57606a;
}

.compteur-reponses strong {
    display: block;
    font-size: 18px;
    color: #24292f;
}

.compteur-reponses span {
    font-size: 12px;
}

.message {
    background: #ffffff;
    border: 1px solid #d8dce1;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 12px;
}

.message-premier {
    border-color: #c3ccd6;
}

.haut-message {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.pseudo {
    font-weight: 600;
}

.date-message {
    font-size: 13px;
    color: #57606a;
}

.etiquettes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.texte-message {
    white-space: normal;
    word-wrap: break-word;
}

.actions-message {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eaedf0;
    font-size: 13px;
}

.lien-action {
    text-decoration: none;
}

.lien-danger {
    color: #b3261e;
}

.titre-reponses {
    margin: 24px 0 12px;
}

.bloc-reponse,
.formulaire-sujet {
    background: #ffffff;
    border: 1px solid #d8dce1;
    border-radius: 4px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bloc-reponse label,
.formulaire-sujet label {
    font-weight: 600;
    font-size: 14px;
}

.bloc-reponse textarea,
.formulaire-sujet textarea,
.formulaire-sujet input,
.formulaire-sujet select {
    width: 100%;
    border: 1px solid #d8dce1;
    border-radius: 4px;
    padding: 9px 11px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.bloc-reponse .bouton,
.formulaire-sujet .bouton {
    align-self: flex-start;
    margin-top: 6px;
}

.pied-forum {
    border-top: 1px solid #d8dce1;
    background: #ffffff;
    text-align: center;
    color: #57606a;
    font-size: 13px;
    padding: 18px;
}

@media (max-width: 620px) {
    .lien-ligne {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .compteur-reponses {
        text-align: left;
        min-width: 0;
    }

    .compteur-reponses strong {
        display: inline;
    }
}
