/* Timeline Container */
.vz-timeline {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

/* Jahr-Block */
.vz-year-block {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
}

/* Linke Spalte mit Linie */
.vz-year-column {
    position: relative;
}

/* Durchgehende Linie */
.vz-year-column::after {
    content: "";
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: calc(100% - 10px);
    background-color: #ccc;
}

/* Jahr-Kästchen */
.vz-year {
    padding: 10px 6px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    background-color: var(--TGT_hellblau);
    word-break: break-word;
    font-size: clamp(0.75rem, 1.1vw, 1rem);
}

/* Posts */
.vz-posts {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.vz-post {
    display: block;
    padding: 15px;
    background: #f9f9f9;
    color: var(--TGT_dunkelblau);
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vz-post:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vz-post h3 {
    margin: 0 0 0.3em;
}

.vz-post p {
    margin: 0;
}


/* Mobile Ansicht */
@media (max-width: 768px) {
    .vz-year-block {
        grid-template-columns: 1fr;
    }
    .vz-year-column::after {
        display: none;
    }
    .vz-year {
        width: fit-content;
        margin-bottom: 10px;
    }
}
