/* ============================================================
   Timeline CNCT v1.3 — Styles frontend
   Auteur : web-studios
   ============================================================ */

.tcnct-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.tcnct-track {
    display: flex;
    flex-direction: column;
}

/* ── Entrée ── */
.tcnct-item {
    display: flex;
    align-items: stretch; /* les deux colonnes s'étirent à la même hauteur */
}

.tcnct-item + .tcnct-item {
    margin-top: 32px;
}

/* ── Colonne gauche : badge + connecteur ── */
.tcnct-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* ── Badge date ── */
.tcnct-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1d6e6e;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    min-width: 60px;
    padding: 5px 12px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.3;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ── Gutter (espace autour du trait) ── */
.tcnct-gutter {
    flex: 1;              /* prend tout l'espace vertical restant */
    display: flex;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    min-height: 8px;
    width: 100%;
}

/* ── Trait vertical ── */
.tcnct-line {
    width: 2px;
    background-color: #cc0000;
    flex: 1;              /* s'étire sur toute la hauteur du gutter */
    min-height: 8px;
}

/* ── Contenu texte ── */
.tcnct-content {
    flex: 1;
    min-width: 0;
    padding-left: 20px;
    padding-top: 2px;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tcnct-content p {
    margin: 0 0 0.6em;
    line-height: 1.65;
}

.tcnct-content p:last-child {
    margin-bottom: 0;
}

.tcnct-content strong {
    font-weight: 700;
}
