.tdm-lt-linha {
    --tdm-lt-accent: #f9b725;
    --tdm-lt-linha-cor: #e2e2e2;
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 0;
}

.tdm-lt-vazio {
    color: #666;
    text-align: center;
}

/* linha vertical central */
.tdm-lt-linha::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 3px;
    background: var(--tdm-lt-linha-cor);
}

.tdm-lt-item {
    position: relative;
    padding-left: 56px;
    margin-bottom: 44px;
}

.tdm-lt-item:last-child {
    margin-bottom: 0;
}

.tdm-lt-marcador {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tdm-lt-accent);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--tdm-lt-accent);
}

.tdm-lt-periodo {
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    color: #1a1a1a;
    border-bottom: 3px solid var(--tdm-lt-accent);
    padding-bottom: 4px;
}

.tdm-lt-grupo-titulo {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tdm-lt-accent-texto, #b5860a);
    margin: 0 0 14px;
}

.tdm-lt-grupo-titulo:not(:first-child) {
    margin-top: 32px;
}

.tdm-lt-membros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    max-width: 760px;
}

.tdm-lt-membro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tdm-lt-membro-foto-wrap {
    width: 100%;
    max-width: 238px;
    aspect-ratio: 238 / 250;
    overflow: hidden;
    background: #eee;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}

.tdm-lt-membro-foto-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tdm-lt-membro-placeholder {
    display: none;
}

.tdm-lt-sem-foto {
    justify-content: center;
    padding: 10px 6px;
    align-self: center;
}

.tdm-lt-membro-nome {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: #1a1a1a;
}

.tdm-lt-membro-cargo {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--tdm-lt-accent-texto, #b5860a);
    margin-top: 4px;
    line-height: 1.3;
}

/* Telas menores: 2 colunas, depois 1 */
@media (max-width: 700px) {
    .tdm-lt-membros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .tdm-lt-membros-grid {
        grid-template-columns: 1fr;
        max-width: 220px;
    }
}

/* Em telas maiores, só dá mais respiro — mantém a linha à esquerda
   em vez de alternar lados, porque o número de membros varia muito
   de uma gestão pra outra e alternar quebraria o alinhamento. */
@media (min-width: 700px) {
    .tdm-lt-linha {
        padding: 20px 0 20px 12px;
    }

    .tdm-lt-item {
        padding-left: 64px;
    }

    .tdm-lt-marcador {
        left: 12px;
        width: 20px;
        height: 20px;
    }
}
